:root,
html[data-theme="light"] {
    --bg: #f3efe6;
    --bg-alt: #eae4d8;
    --surface: #fffcf6;
    --ink: #1c1712;
    --muted: #6b6156;
    --line: rgba(28, 23, 18, 0.12);
    --accent: #c45c26;
    --accent-ink: #fff8f1;
    --accent-soft: #f3dcc8;
    --live: #c43a2a;
    --shadow: 0 18px 40px rgba(28, 23, 18, 0.08);
    --nav-bg: rgba(243, 239, 230, 0.82);
    --max: 1180px;
    --display: "Instrument Serif", Georgia, serif;
    --body: "Outfit", system-ui, sans-serif;
    --radius: 18px;
}

html[data-theme="dark"] {
    --bg: #141210;
    --bg-alt: #1c1916;
    --surface: #221e1a;
    --ink: #f4eee6;
    --muted: #b7ada2;
    --line: rgba(244, 238, 230, 0.12);
    --accent: #e08a4f;
    --accent-ink: #1c140e;
    --accent-soft: #3a2a1e;
    --live: #ef6b5a;
    --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    --nav-bg: rgba(20, 18, 16, 0.82);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

img, svg, video, canvas {
    max-width: 100%;
    height: auto;
}

body.landing {
    margin: 0;
    color: var(--ink);
    font-family: var(--body);
    background: var(--bg);
    line-height: 1.55;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }

.lp-skip {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--ink);
    color: var(--bg);
    padding: 0.6rem 1rem;
    z-index: 80;
}
.lp-skip:focus { left: 1rem; top: 1rem; }

.landing-flash { position: sticky; top: 0; z-index: 60; }
.landing-flash .alert {
    margin: 0;
    padding: 0.85rem 1.2rem;
    text-align: center;
    font-weight: 650;
}
.landing-flash .alert-success { background: #1d3a28; color: #b6f0c8; }
.landing-flash .alert-danger { background: #4a1c24; color: #ffb3c0; }
.lp-optional { opacity: .7; font-weight: 500; font-size: .85em; }

.lp-wrap {
    width: min(var(--max), calc(100% - 2rem));
    margin-inline: auto;
}

/* Nav */
.lp-nav {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem max(1rem, calc((100% - var(--max)) / 2));
    border-bottom: 1px solid transparent;
    background: transparent;
    min-width: 0;
}
.lp-nav.is-solid {
    background: var(--nav-bg);
    border-bottom-color: var(--line);
    backdrop-filter: blur(16px);
}

.lp-nav__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    min-width: 0;
    overflow: hidden;
}
.lp-nav__brand > span:not(.lp-nav__mark) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lp-nav__mark {
    display: inline-grid;
    place-items: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 8px;
    background: var(--accent);
    color: var(--accent-ink);
    font-size: 0.72rem;
    font-weight: 800;
    flex: 0 0 auto;
}

.lp-nav__links {
    display: none;
    gap: 1.25rem;
    color: var(--muted);
    font-weight: 550;
    font-size: 0.95rem;
}
.lp-nav__links a:hover { color: var(--ink); }
.lp-nav__mobile-only { display: none; }

.lp-nav__actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
    flex: 0 0 auto;
}
.lp-nav__actions .lp-btn {
    white-space: nowrap;
}

.lp-nav__desk-only,
.lp-nav__reseller { display: none; }

.lp-theme-btn {
    width: 2.35rem;
    height: 2.35rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    cursor: pointer;
    display: grid;
    place-items: center;
}
.lp-theme-btn svg { width: 1.05rem; height: 1.05rem; }
html[data-theme="light"] .lp-theme-btn__moon { display: none; }
html[data-theme="dark"] .lp-theme-btn__sun { display: none; }

.lp-burger {
    width: 2.35rem;
    height: 2.35rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    display: grid;
    place-content: center;
    gap: 6px;
    cursor: pointer;
}
.lp-burger span {
    display: block;
    width: 16px;
    height: 1.5px;
    background: var(--ink);
    transition: transform .2s ease;
}
.lp-nav.is-open .lp-burger span:first-child { transform: translateY(3.75px) rotate(40deg); }
.lp-nav.is-open .lp-burger span:last-child { transform: translateY(-3.75px) rotate(-40deg); }

@media (min-width: 900px) {
    .lp-nav__links { display: flex; }
    .lp-nav__desk-only,
    .lp-nav__reseller { display: inline-flex; }
    .lp-burger { display: none; }
}

@media (max-width: 899px) {
    .lp-nav.is-open .lp-nav__links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: var(--surface);
        border-bottom: 1px solid var(--line);
        padding: 1rem 1.2rem 1.25rem;
        box-shadow: var(--shadow);
    }
    .lp-nav__mobile-only { display: block; }
}

.lp-link { font-weight: 650; color: var(--muted); padding: 0.4rem 0.5rem; }
.lp-link:hover { color: var(--ink); }

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 2.55rem;
    padding: 0.55rem 1.05rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 650;
    cursor: pointer;
    transition: transform .15s ease, background .2s ease;
}
.lp-btn:hover { transform: translateY(-1px); }
.lp-btn:active { transform: translateY(1px); }
.lp-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.lp-btn--accent { background: var(--accent); color: var(--accent-ink); }
.lp-btn--ghost { background: transparent; border-color: var(--line); }
.lp-btn--lg { min-height: 3rem; padding-inline: 1.25rem; }
.lp-btn--block { width: 100%; }

.lp-nav .lp-nav__desk-only,
.lp-nav .lp-nav__reseller {
    display: none;
}
@media (min-width: 900px) {
    .lp-nav .lp-nav__desk-only,
    .lp-nav .lp-nav__reseller {
        display: inline-flex;
    }
}

/* Hero */
.lp-hero {
    display: grid;
    gap: 2.5rem;
    width: min(var(--max), calc(100% - 2rem));
    margin: 0 auto;
    padding: 2.4rem 0 4.5rem;
    min-height: min(88dvh, 820px);
    align-items: center;
}
.lp-hero__copy { max-width: 36rem; }
.lp-eyebrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.7rem;
    color: var(--muted);
    font-size: 0.92rem;
    margin: 0 0 1rem;
}
.lp-hero__title {
    font-family: var(--display);
    font-size: clamp(2.6rem, 8vw, 5.1rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
    font-weight: 400;
    margin: 0 0 1rem;
    text-wrap: balance;
}
.lp-hero__lead {
    font-size: 1.12rem;
    color: var(--muted);
    max-width: 34rem;
    margin: 0 0 1.5rem;
}
.lp-hero__cta { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.lp-hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 1.1rem;
    padding: 0;
    margin: 1.4rem 0 0;
    list-style: none;
    color: var(--muted);
    font-size: 0.92rem;
}
.lp-hero__facts li { position: relative; padding-left: 0.9rem; }
.lp-hero__facts li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: var(--accent);
}

.lp-live {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.72rem;
}
.lp-live__dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--live);
    box-shadow: 0 0 0 0 rgba(196, 58, 42, 0.5);
    animation: lp-pulse 1.8s ease-out infinite;
}
@keyframes lp-pulse {
    70% { box-shadow: 0 0 0 8px transparent; }
    100% { box-shadow: 0 0 0 0 transparent; }
}

.lp-deck {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 1.2rem 1.3rem 1.35rem;
    box-shadow: var(--shadow);
}
.lp-deck__bar, .lp-deck__meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--muted);
    font-size: 0.85rem;
}
.lp-deck__now {
    font-family: var(--display);
    font-size: clamp(1.5rem, 4vw, 2.1rem);
    margin: 1rem 0 1.1rem;
    line-height: 1.15;
}
.lp-deck__wave {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 72px;
    margin-bottom: 1rem;
}
.lp-deck__wave span {
    flex: 1;
    background: var(--accent);
    border-radius: 99px 99px 4px 4px;
    min-height: 18%;
    animation: lp-eq 1.1s ease-in-out infinite;
    animation-delay: calc(var(--d) * 70ms);
    opacity: 0.85;
}
@keyframes lp-eq {
    0%, 100% { transform: scaleY(0.35); }
    50% { transform: scaleY(1); }
}
.lp-deck__chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }
.lp-deck__chips span {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.28rem 0.7rem;
    font-size: 0.82rem;
}

@media (min-width: 960px) {
    .lp-hero {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 3.5rem;
        padding-top: 3.2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp-deck__wave span, .lp-live__dot { animation: none; }
}

/* Sections */
.lp-section { padding: 4.2rem 0 5rem; }
.lp-section--alt { background: var(--bg-alt); }
.lp-section__head { max-width: 38rem; margin-bottom: 2.2rem; }
.lp-section__head h2,
.lp-signup__intro h2 {
    font-family: var(--display);
    font-size: clamp(2rem, 4.5vw, 3.1rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    font-weight: 400;
    margin: 0.2rem 0 0.7rem;
    text-wrap: balance;
}
.lp-section__head p { margin: 0; color: var(--muted); }
.lp-kicker {
    margin: 0;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
}

.lp-split {
    display: grid;
    gap: 1rem;
}
.lp-split__item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.4rem 1.35rem 1.55rem;
}
.lp-split__item h3 {
    font-family: var(--display);
    font-size: 1.85rem;
    margin: 0.35rem 0 0.45rem;
    font-weight: 400;
}
.lp-split__item p { margin: 0; color: var(--muted); }
@media (min-width: 800px) {
    .lp-split { grid-template-columns: repeat(3, 1fr); }
}

.lp-modules {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 0.85rem;
}
.lp-module {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1rem 1rem 1.1rem;
    min-height: 8.5rem;
}
.lp-module__n {
    font-variant-numeric: tabular-nums;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
}
.lp-module h3 { margin: 0.35rem 0 0.35rem; font-size: 1.02rem; }
.lp-module p { margin: 0; color: var(--muted); font-size: 0.9rem; }

.lp-themes {
    display: grid;
    gap: 1rem;
}
@media (min-width: 720px) {
    .lp-themes { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
    .lp-themes { grid-template-columns: repeat(3, 1fr); }
}
.lp-theme {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    min-width: 0;
}
.lp-theme__art {
    aspect-ratio: 16 / 10;
    background: var(--bg-alt);
    overflow: hidden;
}
.lp-theme__art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.lp-theme__fallback {
    display: grid;
    place-items: center;
    height: 100%;
    font-family: var(--display);
    font-size: 1.6rem;
}
.lp-theme__meta { padding: 1rem 1.05rem 1.15rem; }
.lp-theme__meta h3 { margin: 0 0 0.3rem; font-size: 1.15rem; }
.lp-theme__meta p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.lp-theme__go {
    display: inline-block;
    margin-top: 0.7rem;
    color: var(--accent);
    font-weight: 650;
    font-size: 0.88rem;
}

.lp-domain__row {
    display: grid;
    gap: 0.8rem;
}
.lp-domain__row article {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.3rem 1.2rem;
}
.lp-domain__row article.is-accent { border-color: var(--accent); background: var(--accent-soft); }
.lp-domain__row span { color: var(--muted); font-size: 0.86rem; }
.lp-domain__row strong {
    display: block;
    margin-top: 0.35rem;
    font-size: clamp(1.15rem, 3vw, 1.55rem);
    letter-spacing: -0.03em;
    word-break: break-word;
}
.lp-domain__or {
    margin: 0;
    text-align: center;
    color: var(--muted);
    font-size: 0.85rem;
}
@media (min-width: 800px) {
    .lp-domain__row {
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }
}

.lp-plans {
    display: grid;
    gap: 1rem;
}
@media (min-width: 800px) {
    .lp-plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
}
.lp-plan {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.4rem 1.25rem 1.3rem;
}
.lp-plan.is-featured { border-color: var(--accent); box-shadow: var(--shadow); }
.lp-plan h3 { margin: 0; font-size: 1.2rem; min-height: 1.6em; }
.lp-plan__price {
    margin: 0.7rem 0 1rem;
    font-family: var(--display);
    font-size: 2.2rem;
    min-height: 2.6rem;
}
.lp-plan__price small { font-family: var(--body); font-size: 0.95rem; color: var(--muted); }
.lp-plan ul {
    margin: 0 0 1.2rem;
    padding: 0;
    list-style: none;
    color: var(--muted);
    flex: 1;
}
.lp-plan li { padding: 0.28rem 0; }
.lp-plan .lp-btn { margin-top: auto; }

.lp-signup { padding-bottom: 5.5rem; }
.lp-signup__layout {
    display: grid;
    gap: 1.8rem;
}
@media (min-width: 900px) {
    .lp-signup__layout { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
}
.lp-signup__bullets {
    margin: 1.1rem 0 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
}
.lp-signup__bullets li { padding: 0.25rem 0 0.25rem 1rem; position: relative; }
.lp-signup__bullets li::before {
    content: "–";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.lp-form {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 1.2rem;
    box-shadow: var(--shadow);
}
.lp-form__grid {
    display: grid;
    gap: 0.85rem;
}
@media (min-width: 640px) {
    .lp-form__grid { grid-template-columns: 1fr 1fr; }
}
.lp-form__row { display: grid; gap: 0.35rem; }
.lp-form label, .lp-form legend {
    font-size: 0.86rem;
    font-weight: 650;
}
.lp-form input,
.lp-form select {
    width: 100%;
    min-height: 2.7rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--bg);
    padding: 0.5rem 0.8rem;
}
.lp-form input:focus,
.lp-form select:focus {
    outline: 2px solid var(--accent);
    outline-offset: 1px;
}
.lp-form__domain {
    border: 1px dashed var(--line);
    border-radius: 14px;
    margin: 1rem 0;
    padding: 0.9rem;
}
.lp-choice-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0.5rem 0 0.8rem;
}
.lp-choice {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.45rem 0.95rem;
    cursor: pointer;
    flex: 0 0 auto;
    white-space: nowrap;
}
.lp-choice span { white-space: nowrap; }

@media (min-width: 720px) {
    .lp-choice-row { flex-wrap: nowrap; }
}
.lp-preview {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    background: var(--bg-alt);
    border-radius: 12px;
    padding: 0.75rem 0.9rem;
    word-break: break-word;
}
.lp-preview span { color: var(--muted); font-size: 0.8rem; }
.lp-form__note { margin: 0.85rem 0 0; color: var(--muted); font-size: 0.9rem; }
.lp-form__note a { text-decoration: underline; text-underline-offset: 3px; }
.lp-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.lp-empty { color: var(--muted); }

.lp-footer {
    border-top: 1px solid var(--line);
    padding: 1.6rem 0 2.2rem;
}
.lp-footer__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.4rem;
    align-items: center;
    justify-content: space-between;
    color: var(--muted);
}
.lp-footer__brand {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--ink);
}
.lp-footer__social, .lp-footer__links { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.lp-footer a:hover { color: var(--ink); }

@media (max-width: 600px) {
    .lp-deck__wave span:nth-child(n+20) { display: none; }
}

@media (max-width: 480px) {
    .lp-nav__brand > span:not(.lp-nav__mark) { max-width: 9.5rem; }
    .lp-nav__actions .lp-btn--accent { display: none; }
    .lp-hero { padding-top: 1.4rem; min-height: auto; }
    .lp-form { padding: 1rem; }
    .lp-btn--lg { width: 100%; }
    .lp-hero__cta .lp-btn--ghost { width: 100%; }
}
