:root {
    --bg: #b9c9b4;
    --ink: #14241c;
    --muted: #3f5748;
    --accent: #2a7d45;
    --accent-2: #1c6f62;
    --line: rgba(20, 36, 28, 0.16);
    --font: "Ubuntu", sans-serif;
    --shadow: 0 18px 40px rgba(20, 36, 28, 0.12);
    --surface: rgba(236, 242, 230, 0.78);
}

* { box-sizing: border-box; }

.site-body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font);
    color: var(--ink);
    background-color: var(--bg);
    background-image:
        radial-gradient(900px 420px at 12% 18%, rgba(62, 110, 72, 0.08), transparent 55%),
        radial-gradient(800px 380px at 90% 70%, rgba(40, 90, 78, 0.06), transparent 50%);
    position: relative;
}

.hero,
.features-marquee,
.showcase,
.social-promo,
.how,
.split,
.cta-band,
.blog-page,
.import-page,
.account-page,
.admin-page,
.foot-wave,
.site-foot,
.auth-card,
.ad-slot,
.page-shell {
    position: relative;
    z-index: 1;
}

.site-nav {
    position: relative;
    z-index: 40;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem clamp(1rem, 4vw, 2.5rem);
}

.site-nav-drawer {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.site-nav-drawer-links {
    display: none;
}

.site-nav-burger {
    display: none;
    width: 2.55rem;
    height: 2.55rem;
    place-items: center;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.22);
    color: var(--ink);
    cursor: pointer;
    padding: 0;
}

.site-nav-burger svg {
    width: 1.25rem;
    height: 1.25rem;
    display: block;
}

.site-nav-burger .topbar-burger-close {
    display: none;
}

.site-nav-burger.is-open .topbar-burger-open {
    display: none;
}

.site-nav-burger.is-open .topbar-burger-close {
    display: block;
}

.site-nav-over .site-nav-burger {
    color: #f7fbf8;
    background: rgba(8, 20, 15, 0.28);
    border-color: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(6px);
}

.site-nav-over {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
}

.page-shell {
    width: min(100% - 2rem, 960px);
    margin: 0 auto;
    padding: 0 0 1rem;
}

.site-brand,
.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: inherit;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
}

.site-brand span {
    display: grid;
    gap: 0.1rem;
    line-height: 1.05;
}

.site-brand strong {
    font-size: 1.2rem;
    letter-spacing: -0.02em;
}

.site-brand small {
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(238, 247, 241, 0.82);
}

.site-nav-over .site-brand {
    color: #f7fbf8;
}

.site-nav-over .btn-ghost {
    color: #f7fbf8;
    background: rgba(8, 20, 15, 0.28);
    border-color: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(6px);
}

.site-brand svg,
.brand-mark {
    width: 40px;
    height: 40px;
    color: var(--accent);
}

.site-nav-actions {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
    align-items: center;
}

.site-nav-actions .btn.is-current {
    border-color: rgba(155, 225, 93, 0.45);
}

@media (max-width: 768px) {
    .site-nav-burger {
        display: inline-grid;
        flex-shrink: 0;
    }

    .site-nav-desktop {
        display: none;
    }

    /* Match app topbar drawer (dark panel), not light landing CSS vars. */
    .site-nav-drawer {
        --drawer-ink: #eef7f1;
        --drawer-muted: #9bb5a8;
        --drawer-accent: #9be15d;
        --drawer-line: rgba(238, 247, 241, 0.1);
        --drawer-bg: #122a21;
        display: none;
        position: absolute;
        top: calc(100% - 0.2rem);
        right: clamp(1rem, 4vw, 2.5rem);
        left: auto;
        width: min(18.5rem, calc(100vw - 1.5rem));
        padding: 0.55rem;
        border-radius: 16px;
        border: 1px solid var(--drawer-line);
        background: var(--drawer-bg);
        color: var(--drawer-ink);
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
        z-index: 70;
        flex-direction: column;
        align-items: stretch;
        gap: 0.15rem;
    }

    .site-nav-drawer.is-open {
        display: grid;
    }

    .site-nav-drawer-links {
        display: grid;
        gap: 0.15rem;
    }

    .site-nav-drawer-heading {
        margin: 0.15rem 0 0.05rem;
        padding: 0.35rem 0.85rem 0.2rem;
        color: var(--drawer-muted);
        font-size: 0.78rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .site-nav-drawer-links a,
    .site-nav-drawer-links button {
        display: block;
        width: 100%;
        text-align: left;
        color: var(--drawer-ink);
        text-decoration: none;
        font: inherit;
        font-weight: 600;
        font-size: 0.95rem;
        line-height: 1.25;
        padding: 0.7rem 0.85rem;
        border: 0;
        border-radius: 10px;
        background: transparent;
        cursor: pointer;
    }

    .site-nav-drawer-links a:hover,
    .site-nav-drawer-links button:hover,
    .site-nav-drawer-links a[aria-current="page"] {
        background: rgba(155, 225, 93, 0.14);
        color: var(--drawer-accent);
    }

    .site-nav-drawer-links form {
        display: contents;
    }

    .site-nav-drawer-links .user-menu-rule {
        margin: 0.25rem 0.35rem;
        border: 0;
        border-top: 1px solid var(--drawer-line);
    }

    .site-nav-drawer-links .user-menu-label {
        margin: 0.15rem 0 0;
        padding: 0.35rem 0.85rem 0.15rem;
        color: var(--drawer-muted);
        font-size: 0.78rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.65rem 1.15rem;
    font: inherit;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--line);
    cursor: pointer;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.55);
    transition: transform 160ms ease, border-color 160ms ease;
}

.btn:hover { transform: translateY(-1px); border-color: rgba(47, 154, 85, 0.45); }

.btn-primary {
    background: linear-gradient(135deg, #3db86a, var(--accent-2));
    color: #fff;
    border-color: transparent;
}

.btn-ghost { background: rgba(255, 255, 255, 0.55); }
.btn-lg { padding: 0.85rem 1.35rem; }

.hero-scene {
    position: relative;
    min-height: min(92vh, 860px);
    display: grid;
    align-items: end;
    overflow: hidden;
    isolation: isolate;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    display: block;
    transform: scale(1.02);
    animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero-veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(8, 20, 15, 0.35) 0%, rgba(8, 20, 15, 0.2) 35%, rgba(8, 20, 15, 0.72) 72%, rgba(8, 20, 15, 0.2) 100%),
        linear-gradient(90deg, rgba(8, 20, 15, 0.55) 0%, rgba(8, 20, 15, 0.15) 55%, transparent 100%);
}

.hero-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    z-index: 2;
    height: clamp(72px, 12vw, 120px);
    color: var(--bg);
    background: transparent;
    pointer-events: none;
    animation: wave-rise 900ms ease both;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-wave path {
    fill: var(--bg);
}

@keyframes wave-rise {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
}

.hero-copy {
    position: relative;
    z-index: 3;
    width: min(100% - 2rem, 720px);
    margin: 0 auto 0 clamp(1rem, 4vw, 2.5rem);
    justify-self: start;
    padding: 7.5rem 0 4.5rem;
    animation: hero-rise 700ms ease both;
}

.hero-brand {
    margin: 0 0 0.35rem;
    font-size: clamp(2.8rem, 7vw, 4.6rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 0.95;
    color: #fff;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.hero-tagline {
    margin: 0 0 0.85rem;
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    font-weight: 500;
    letter-spacing: 0.01em;
    color: #9be15d;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.hero h1 {
    margin: 0;
    font-size: clamp(1.7rem, 3.6vw, 2.55rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    max-width: 18em;
    line-height: 1.15;
    color: #f3faf5;
}

.hero-lede {
    margin: 1rem 0 0;
    color: rgba(238, 247, 241, 0.86);
    font-size: 1.05rem;
    line-height: 1.5;
    max-width: 46ch;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.15rem;
    align-items: center;
}

.hero-product {
    margin: 1rem 0 0;
    max-width: min(100%, 34rem);
}

.hero-product img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.hero-promise {
    margin: 0.85rem 0 0;
    max-width: 42ch;
    color: #d7f5c4;
    font-weight: 600;
    line-height: 1.45;
}

.hero-promise a,
.hero-jump {
    font-weight: 700;
    text-underline-offset: 0.18em;
}

.hero-scene .hero-promise a,
.hero-scene .hero-jump {
    color: #f7fbf8;
}

.cta-band .hero-jump {
    color: var(--accent-2);
    align-self: center;
}

.split-links {
    margin: 0.85rem 0 0;
}

.split-links a,
.founder-links a {
    color: var(--accent-2);
    font-weight: 700;
    text-decoration: none;
}

.split-links a:hover,
.founder-links a:hover,
.hero-promise a:hover,
.hero-jump:hover {
    text-decoration: underline;
}

.hero-scene .btn-ghost {
    color: #f7fbf8;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    border-color: rgba(255, 255, 255, 0.55);
}

.hero-scene .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.26);
    border-color: rgba(255, 255, 255, 0.8);
}

@keyframes hero-drift {
    from { transform: scale(1.02) translate3d(0, 0, 0); }
    to { transform: scale(1.06) translate3d(-1.2%, 1%, 0); }
}

@keyframes hero-rise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}

.site-data-alert {
    margin: 1.25rem 0 0.35rem;
    padding: 0.95rem 1.15rem;
    border-radius: 14px;
    border: 1px solid rgba(15, 26, 20, 0.14);
    background:
        linear-gradient(135deg, rgba(155, 225, 93, 0.14), rgba(43, 187, 173, 0.08)),
        rgba(255, 255, 255, 0.72);
    color: #1a2a22;
    font-size: 0.98rem;
    line-height: 1.5;
    box-shadow: 0 10px 28px rgba(15, 26, 20, 0.06);
}

.site-data-alert strong {
    display: inline;
    color: #0f1a14;
    font-weight: 700;
}

.site-data-alert em {
    font-style: italic;
    font-weight: 600;
}

.features-marquee {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    padding: 1.35rem 0 1.75rem;
    border-radius: 18px;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.features-track {
    display: flex;
    width: max-content;
    animation: features-marquee 48s linear infinite;
}

.features-marquee:hover .features-track {
    animation-play-state: paused;
}

.features-set {
    display: flex;
    gap: 0.9rem;
    flex-shrink: 0;
    padding-right: 0.9rem;
}

.features-set article {
    width: min(280px, 72vw);
    flex: 0 0 auto;
    padding: 1.15rem 1.15rem 1.2rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.features-set h2 {
    margin: 0 0 0.45rem;
    font-size: 1.15rem;
}

.features-set p {
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
}

@keyframes features-marquee {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

.section-head {
    margin: 0 0 1.35rem;
    width: 100%;
    max-width: none;
}

.section-head h2 {
    margin: 0 0 0.45rem;
    font-size: clamp(1.45rem, 3vw, 1.9rem);
    letter-spacing: -0.02em;
}

.section-head > p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
    font-size: 1.02rem;
    max-width: 62ch;
}


.showcase {
    padding: 0.5rem 0 2.25rem;
}

.social-promo {
    padding: 0.25rem 0 2.5rem;
}

.social-promo-stage {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow);
    /* Crop to the top half of the feed UI (composer + first post). */
    max-height: clamp(300px, 48vw, 420px);
    background: #0b1a14;
}

.social-promo-shot {
    display: block;
    width: 100%;
    height: clamp(300px, 48vw, 420px);
    object-fit: cover;
    object-position: top center;
}

.social-promo-fade {
    position: absolute;
    inset: 0;
    pointer-events: none;
    /* Same surface as .watch-buy: white at 55% over the page background. */
    background:
        linear-gradient(
            to top,
            rgba(255, 255, 255, 0.55) 0%,
            rgba(255, 255, 255, 0.55) 22%,
            rgba(255, 255, 255, 0.28) 48%,
            rgba(255, 255, 255, 0.08) 72%,
            transparent 88%
        ),
        linear-gradient(
            to top,
            var(--bg) 0%,
            var(--bg) 22%,
            transparent 72%
        );
}

.social-promo-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem 1.25rem;
    padding: clamp(1.1rem, 3.5vw, 2rem) clamp(1.15rem, 3.5vw, 2.1rem) clamp(1.25rem, 3vw, 1.75rem);
}

.social-promo-blurb {
    margin: 0;
    flex: 1 1 16rem;
    max-width: 34rem;
    color: var(--ink);
    font-size: clamp(0.98rem, 2.1vw, 1.12rem);
    font-weight: 600;
    line-height: 1.4;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}

.social-promo-copy .btn {
    flex: 0 0 auto;
}

.shot {
    margin: 0;
    animation: shot-in 700ms ease both;
}

.shot-lead {
    margin-bottom: 1rem;
}

.shot-zoom {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    border-radius: 18px;
    overflow: hidden;
}

.shot-zoom:focus-visible {
    outline: 2px solid var(--accent-2);
    outline-offset: 3px;
}

.shot img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    background: #0b0f0e;
    transition: transform 180ms ease, border-color 180ms ease;
}

.shot-zoom:hover img {
    transform: scale(1.012);
    border-color: rgba(62, 110, 72, 0.35);
}

.shot figcaption {
    display: grid;
    gap: 0.2rem;
    margin-top: 0.75rem;
}

.shot figcaption strong {
    font-size: 1.05rem;
}

.shot figcaption span {
    color: var(--muted);
    line-height: 1.45;
    font-size: 0.95rem;
}

.shot-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.shot-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
}

.shot-grid .shot:nth-child(2) {
    animation-delay: 120ms;
}

.shot-grid .shot:nth-child(3) {
    animation-delay: 200ms;
}

.shot-grok .shot-frame {
    display: block;
    aspect-ratio: 1280 / 800;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    background: #0b0f0e;
}

.shot-grok .shot-frame img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: top center;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.watch-buy {
    display: grid;
    grid-template-columns: minmax(12rem, 16rem) minmax(0, 1fr);
    gap: 1.25rem 2rem;
    align-items: center;
    margin: 2.25rem 0 1.75rem;
    padding: 1.25rem 1.35rem;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.55);
}

.watch-buy-photo {
    margin: 0;
}

.watch-buy-photo img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 22rem;
    object-fit: contain;
}

.watch-buy-copy h2 {
    margin: 0 0 0.45rem;
    font-size: clamp(1.45rem, 3vw, 1.9rem);
    letter-spacing: -0.02em;
}

.watch-buy-copy p {
    margin: 0 0 0.75rem;
    color: var(--muted);
    line-height: 1.5;
}

.watch-buy-price {
    margin: 0 0 0.25rem;
    color: var(--ink);
    font-size: 1.35rem;
    font-weight: 700;
}

.watch-buy-note {
    font-size: 0.95rem;
}

.watch-buy .btn:disabled {
    background: rgba(15, 26, 20, 0.08);
    color: var(--muted);
    border-color: var(--line);
    cursor: not-allowed;
    opacity: 1;
    transform: none;
    pointer-events: none;
}

.showcase-watch {
    margin-top: 0.5rem;
}

.shot-grid-phones {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 52rem;
    margin: 0 auto;
    justify-items: center;
    align-items: end;
    gap: 1.25rem 1.5rem;
}

.shot-phone {
    width: 100%;
    max-width: 16rem;
}

.shot-phone img {
    width: 100%;
    height: auto;
    max-height: 28rem;
    object-fit: contain;
    object-position: top center;
    background: #0a120e;
}

.shot-watch {
    max-width: 16rem;
    align-self: end;
}

.shot-watch img {
    max-height: 28rem;
    object-fit: contain;
    object-position: top center;
    background: #0a120e;
    padding: 0;
}

.watch-gambit {
    display: grid;
    grid-template-columns: minmax(16rem, 0.9fr) minmax(0, 1.4fr);
    gap: 1.5rem 1.75rem;
    align-items: center;
}

.watch-gambit-copy h2 {
    margin: 0 0 0.45rem;
    font-size: clamp(1.45rem, 3vw, 1.9rem);
    letter-spacing: -0.02em;
}

.watch-gambit-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
    font-size: 1.02rem;
}

.watch-gambit-copy a {
    color: var(--accent-2);
    font-weight: 600;
}

.watch-marquee {
    overflow: hidden;
    width: 100%;
    min-width: 0;
    container-type: inline-size;
    container-name: watch-marquee;
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.watch-marquee-track {
    display: flex;
    width: max-content;
    animation: watch-marquee 28s linear infinite;
}

.watch-marquee:hover .watch-marquee-track {
    animation-play-state: paused;
}

/* One set = full marquee width, three equal columns. */
.watch-marquee-set {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    width: 100cqi;
    flex-shrink: 0;
    padding-right: 1rem;
    box-sizing: border-box;
    align-items: end;
}

.watch-marquee-item {
    margin: 0;
    width: 100%;
    max-width: none;
}

.watch-marquee-item .shot-zoom {
    border-radius: 18px;
    background: #0a120e;
}

.watch-marquee-item img {
    width: 100%;
    height: auto;
    max-height: min(28rem, 70cqi);
    object-fit: contain;
    object-position: top center;
    display: block;
}

@keyframes watch-marquee {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

@supports not (width: 100cqi) {
    .watch-marquee-set {
        width: 100%;
        min-width: min(100%, 56rem);
    }
}

.shot-grok figcaption a {
    color: var(--accent-2);
    font-weight: 600;
    text-decoration: none;
}

.shot-grok figcaption a:hover {
    text-decoration: underline;
}

.shot-lightbox {
    width: min(96vw, 1100px);
    max-width: 96vw;
    max-height: 92vh;
    margin: auto;
    padding: 0.85rem 0.85rem 1rem;
    border: 1px solid rgba(238, 247, 241, 0.14);
    border-radius: 18px;
    background: #0f1614;
    color: #eef7f1;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
    overflow: auto;
}

.shot-lightbox::backdrop {
    background: rgba(4, 10, 8, 0.78);
    backdrop-filter: blur(4px);
}

.shot-lightbox-bar {
    display: flex;
    justify-content: flex-end;
    margin: 0 0 0.55rem;
}

.shot-lightbox-close {
    appearance: none;
    border: 1px solid rgba(238, 247, 241, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: inherit;
    font: inherit;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    cursor: pointer;
}

.shot-lightbox-close:hover {
    border-color: rgba(155, 225, 93, 0.4);
}

.shot-lightbox img {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(92vh - 5.5rem);
    object-fit: contain;
    border-radius: 12px;
    background: #0b0f0e;
}

.shot-lightbox-caption {
    margin: 0.7rem 0 0;
    color: #9bb5a8;
    font-size: 0.92rem;
    line-height: 1.4;
}

@keyframes shot-in {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

.how {
    padding: 0.5rem 0 2rem;
}

.how-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}

.how-steps li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.95rem;
    align-items: start;
    padding: 1rem 0;
    border-top: 1px solid var(--line);
}

.how-steps li:last-child {
    border-bottom: 1px solid var(--line);
}

.how-num {
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(47, 154, 85, 0.14);
    color: var(--accent);
    font-weight: 700;
    font-size: 0.95rem;
}

.how-steps h3 {
    margin: 0 0 0.3rem;
    font-size: 1.08rem;
}

.how-steps p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1.5rem 0 1.75rem;
    border-top: 1px solid var(--line);
}

.split-body {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.5rem;
    align-items: start;
    width: 100%;
}

.split-flip .split-body {
    grid-template-columns: 0.8fr 1.2fr;
}

.split-flip .split-body > p {
    order: 2;
}

.split h2 {
    margin: 0 0 0.35rem;
    font-size: clamp(1.35rem, 2.6vw, 1.75rem);
    letter-spacing: -0.02em;
}

.split-body > p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.split-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}

.split-list li {
    padding-left: 1.1rem;
    position: relative;
    color: var(--ink);
    line-height: 1.4;
}

.section-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.15rem;
}

.split-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--accent);
}

.cta-band {
    margin: 0.5rem 0 2rem;
    padding: 1.75rem 0 0;
    border-top: 1px solid var(--line);
    text-align: left;
}

.cta-band h2 {
    margin: 0 0 0.35rem;
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    letter-spacing: -0.02em;
}

.cta-band > p {
    margin: 0;
    color: var(--muted);
    max-width: 62ch;
    line-height: 1.5;
}

.site-foot {
    --foot-bg: #1d2f25;
    --foot-ink: #e8f0ea;
    --foot-muted: rgba(232, 240, 234, 0.62);
    --foot-line: rgba(232, 240, 234, 0.14);
    margin: 1.25rem 0 0;
    padding: 0 0 2.5rem;
    color: var(--foot-muted);
    text-align: left;
    font-size: 0.9rem;
    background: transparent;
    position: relative;
    z-index: 1;
    overflow: visible;
}

.foot-wave {
    display: block;
    width: 100%;
    height: clamp(80px, 14vw, 140px);
    margin: 0;
    line-height: 0;
    pointer-events: none;
    position: relative;
    z-index: 1;
}

.foot-wave svg {
    display: block;
    width: 100%;
    height: 100%;
}

.foot-wave path {
    fill: var(--foot-bg);
}

.site-foot::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: clamp(80px, 14vw, 140px);
    bottom: 0;
    background: var(--foot-bg);
    z-index: 0;
}

.foot-runner-frame {
    display: contents;
}

.foot-runner {
    position: absolute;
    right: clamp(0.25rem, 3vw, 2.5rem);
    bottom: 0;
    width: min(180px, 28vw);
    height: auto;
    pointer-events: none;
    user-select: none;
    z-index: 3;
    background: transparent;
    opacity: 0.92;
}

@media (max-width: 720px) {
    .foot-runner {
        width: min(120px, 34vw);
        opacity: 0.75;
    }
    .foot-inner {
        padding-right: min(34vw, 140px);
    }
}

.foot-inner {
    position: relative;
    z-index: 2;
    padding-top: 0.35rem;
    padding-right: min(200px, 26vw);
}

.foot-bar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.25rem 1.5rem;
}

.foot-brand {
    display: grid;
    gap: 0.15rem;
    line-height: 1.15;
    min-width: 0;
}

.foot-brand strong {
    color: var(--foot-ink);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.foot-brand span {
    color: var(--foot-muted);
    font-size: 0.78rem;
    font-weight: 500;
}

.foot-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.15rem 0.15rem;
}

.foot-nav a,
.foot-nav button {
    color: var(--foot-ink);
    text-decoration: none;
    font: inherit;
    font-weight: 500;
    font-size: 0.9rem;
    background: none;
    border: 0;
    padding: 0.35rem 0.7rem;
    border-radius: 8px;
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease;
}

.foot-nav a:hover,
.foot-nav button:hover {
    color: #b7e88a;
    background: rgba(255, 255, 255, 0.06);
}

.foot-nav form {
    display: contents;
}

.foot-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
}

.foot-nav-account {
    gap: 0.1rem;
}

.foot-nav-account a,
.foot-nav-account button {
    color: var(--foot-muted);
    font-size: 0.86rem;
}

.foot-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    color: var(--foot-ink);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--foot-line);
    text-decoration: none;
    transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.foot-social:hover {
    color: #fff;
    background: #1877f2;
    border-color: #1877f2;
    transform: translateY(-1px);
}

.foot-social svg {
    display: block;
}

.foot-meta {
    margin-top: 1.15rem;
    padding-top: 0.95rem;
    border-top: 1px solid var(--foot-line);
}

.foot-copy {
    margin: 0;
    color: var(--foot-muted);
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
}

.site-foot p {
    margin: 0;
}

@media (max-width: 720px) {
    .foot-bar {
        grid-template-columns: 1fr auto;
        gap: 0.85rem 1rem;
    }
    .foot-nav {
        grid-column: 1 / -1;
        order: 3;
    }
}

@media (max-width: 560px) {
    .foot-bar {
        grid-template-columns: 1fr;
        align-items: start;
    }
    .foot-actions {
        justify-content: flex-start;
        width: 100%;
    }
    .foot-nav a,
    .foot-nav button {
        padding-left: 0;
        padding-right: 0.85rem;
    }
    .foot-nav a:hover,
    .foot-nav button:hover {
        background: transparent;
    }
}

/* Dark shell used by login/register/account and full pages (blog, import). */
.auth-body,
.theme-dark {
    --ink: #eef7f1;
    --muted: #9bb5a8;
    --accent: #9be15d;
    --accent-2: #2bbbad;
    --line: rgba(238, 247, 241, 0.12);
    --surface: rgba(18, 42, 33, 0.78);
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    --bg: #0f241c;
    color: var(--ink);
    background-color: var(--bg);
    background-image:
        radial-gradient(1000px 600px at 15% -10%, rgba(155, 225, 93, 0.18), transparent 55%),
        radial-gradient(900px 500px at 100% 80%, rgba(43, 187, 173, 0.14), transparent 50%),
        linear-gradient(165deg, #08140f 0%, #0f241c 50%, #0b1a14 100%);
}

.auth-body {
    display: grid;
    place-items: center;
    padding: 2rem 1rem;
}

.theme-dark {
    background-attachment: fixed;
}

.auth-card {
    width: min(100%, 420px);
    padding: 1.5rem 1.4rem 1.6rem;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(18, 42, 33, 0.78);
    box-shadow: var(--shadow);
}

.auth-card-wide {
    width: min(100%, 560px);
}

.auth-body .btn-ghost,
.theme-dark .btn-ghost {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.04);
}

.auth-body .btn-primary,
.theme-dark .btn-primary {
    color: #08140f;
}

.theme-dark .site-brand small {
    color: var(--muted);
}

.theme-dark .import-page .auth-error {
    background: rgba(255, 107, 107, 0.12);
    border: 1px solid rgba(255, 107, 107, 0.35);
    color: #ffc9c9;
}

.theme-dark .import-page .auth-success {
    background: rgba(155, 225, 93, 0.12);
    border: 1px solid rgba(155, 225, 93, 0.35);
    color: #d7f7b8;
}

.theme-dark .import-help {
    background: rgba(0, 0, 0, 0.22);
}

.theme-dark .blog-card.is-featured,
.theme-dark .import-source.is-active {
    background:
        linear-gradient(145deg, rgba(155, 225, 93, 0.12), transparent 60%),
        var(--surface);
}

.auth-brand { margin-bottom: 1rem; }
.auth-card h1 { margin: 0 0 0.35rem; font-size: 1.7rem; }
.auth-lede { margin: 0 0 1rem; color: var(--muted); }

.auth-note {
    margin: 0 0 1rem;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    border: 1px solid rgba(155, 225, 93, 0.28);
    background: rgba(155, 225, 93, 0.08);
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.auth-note strong {
    color: var(--text, #e8f0e4);
    font-weight: 700;
}

.auth-field-hint {
    display: block;
    margin-top: 0.15rem;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.35;
}

.auth-form {
    display: grid;
    gap: 0.8rem;
}

.auth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.auth-form label {
    display: grid;
    gap: 0.35rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.auth-form input {
    appearance: none;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.04);
    color: var(--ink);
    border-radius: 14px;
    padding: 0.75rem 0.9rem;
    font: inherit;
}

.auth-form input[type="checkbox"] {
    appearance: auto;
    width: auto;
    padding: 0;
}

.auth-terms {
    margin-top: 0.25rem;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.18);
    display: grid;
    gap: 0.65rem;
}

.auth-terms h2 {
    margin: 0;
    font-size: 1rem;
    color: var(--accent);
}

.auth-watch {
    border-color: rgba(43, 187, 173, 0.35);
    background: rgba(43, 187, 173, 0.08);
}

.auth-watch h2 {
    color: var(--accent-2, #2bbbad);
}

.auth-watch strong {
    color: var(--text, #e8f0e4);
    font-weight: 700;
}

.auth-terms p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.45;
}

.auth-terms a {
    color: var(--accent-2, #2bbbad);
    font-weight: 600;
}

.auth-check {
    display: flex !important;
    align-items: flex-start;
    gap: 0.65rem;
    color: var(--ink) !important;
    font-size: 0.9rem;
    cursor: pointer;
}

.auth-check a {
    color: inherit;
    text-decoration: underline;
    font-weight: 700;
}

.auth-check input {
    margin-top: 0.2rem;
}

.auth-error {
    margin: 0 0 0.85rem;
    padding: 0.7rem 0.85rem;
    border-radius: 12px;
    background: rgba(255,107,107,0.12);
    border: 1px solid rgba(255,107,107,0.35);
    color: #ffc9c9;
}

.auth-success {
    margin: 0 0 0.85rem;
    padding: 0.7rem 0.85rem;
    border-radius: 12px;
    background: rgba(155, 225, 93, 0.12);
    border: 1px solid rgba(155, 225, 93, 0.35);
    color: #d7f7b8;
}

.user-menu-site {
    position: relative;
    z-index: 50;
}

.user-menu-site .user-menu-trigger {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    position: relative;
    z-index: 1;
}

.user-menu-site .user-menu-trigger::-webkit-details-marker { display: none; }

.user-menu-site .user-menu-trigger::after {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    opacity: 0.85;
    flex-shrink: 0;
}

.user-menu-site.is-open .user-menu-trigger::after {
    transform: rotate(-135deg) translateY(-1px);
}

.user-menu-site .user-menu-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 0.35rem);
    min-width: 12rem;
    display: grid;
    gap: 0.2rem;
    padding: 0.4rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: #162621;
    box-shadow: var(--shadow);
    z-index: 60;
    pointer-events: auto;
}

.user-menu-site .user-menu-panel[hidden] {
    display: none !important;
}

.user-menu-site .user-menu-panel form {
    display: contents;
}

.user-menu-site .user-menu-panel a,
.user-menu-site .user-menu-panel button {
    display: block;
    width: 100%;
    text-align: left;
    color: #eef7f1;
    text-decoration: none;
    font: inherit;
    font-weight: 600;
    font-size: 0.92rem;
    line-height: 1.25;
    padding: 0.7rem 0.85rem;
    border: 0;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.user-menu-site .user-menu-panel a:hover,
.user-menu-site .user-menu-panel button:hover {
    background: rgba(155, 225, 93, 0.16);
    color: #9be15d;
}

.user-menu-rule {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    margin: 0.35rem 0.35rem 0.2rem;
}

.user-menu-label {
    margin: 0.15rem 0 0.1rem;
    padding: 0.35rem 0.85rem 0.15rem;
    color: rgba(238, 247, 241, 0.55);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Admin pages */
.admin-page {
    padding: 1.25rem 0 2.5rem;
    overflow-x: hidden;
}

.admin-shell {
    padding-bottom: 2rem;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.admin-hero {
    margin: 0 0 1.35rem;
    max-width: 42rem;
}

.admin-presence {
    margin: 0 0 1rem;
    padding: 0.95rem 1.15rem;
    border-radius: 16px;
    border: 1px solid rgba(155, 225, 93, 0.28);
    background:
        radial-gradient(circle at 12% 30%, rgba(155, 225, 93, 0.14), transparent 55%),
        var(--surface);
    box-shadow: var(--shadow);
}

.admin-presence-main {
    margin: 0;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
}

.admin-presence-main strong {
    font-size: 1.55rem;
    font-weight: 700;
    color: #9be15d;
    margin-right: 0.15rem;
}

.admin-presence-excl {
    display: inline-block;
    margin-left: 0.35rem;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0;
}

.admin-presence-meta {
    margin: 0.3rem 0 0;
    color: var(--muted);
    font-size: 0.85rem;
}

.admin-watch-stats {
    border-color: rgba(43, 187, 173, 0.35);
    background:
        radial-gradient(circle at 12% 30%, rgba(43, 187, 173, 0.16), transparent 55%),
        var(--surface);
}

.admin-watch-stats .admin-presence-main strong {
    color: #2bbbad;
}

.admin-hero h1 {
    margin: 0 0 0.55rem;
    font-size: clamp(1.75rem, 3.5vw, 2.35rem);
    letter-spacing: -0.02em;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
    gap: 0.75rem;
    margin: 0 0 1rem;
}

.admin-stat,
.admin-panel {
    padding: 1.05rem 1.15rem;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow);
    min-width: 0;
    max-width: 100%;
}

.admin-panel {
    overflow: hidden;
}

.admin-stat-label {
    margin: 0 0 0.35rem;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.admin-stat-value {
    margin: 0;
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.admin-stat-note {
    margin: 0.35rem 0 0;
    color: var(--muted);
    font-size: 0.8rem;
}

.admin-panel {
    margin: 0 0 1rem;
}

.admin-panel h2 {
    margin: 0 0 0.75rem;
    font-size: 1.1rem;
}

.admin-subhead {
    margin: 0.85rem 0 0.45rem;
    font-size: 0.88rem;
    color: var(--muted);
}

.admin-kv {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}

.admin-kv li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: baseline;
    padding: 0.35rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.92rem;
}

.admin-kv li:last-child {
    border-bottom: 0;
}

.admin-kv span {
    color: var(--muted);
    min-width: 0;
    word-break: break-word;
}

.admin-kv code {
    font-size: 0.85em;
    color: #d7f7b8;
}

.admin-table-wrap {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}

.admin-table {
    width: max-content;
    min-width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.admin-table th,
.admin-table td {
    text-align: left;
    padding: 0.55rem 0.65rem;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
    white-space: nowrap;
}

.admin-table tr.is-super td {
    background: rgba(155, 225, 93, 0.08);
}

.admin-table tr.is-super td:first-child {
    box-shadow: inset 3px 0 0 #9be15d;
}

.admin-table tr.is-exempt:not(.is-super) td {
    background: rgba(230, 179, 37, 0.07);
}

.admin-table tr.is-exempt:not(.is-super) td:first-child {
    box-shadow: inset 3px 0 0 #e6b325;
}

.admin-table th {
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 700;
}

.admin-identity {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-bill {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.admin-exempt-form {
    display: inline-flex;
    margin: 0;
}

.admin-bill-status {
    color: var(--muted);
    font-size: 0.8rem;
}

.admin-exempt-btn {
    padding: 0.16rem 0.55rem;
    border-radius: 999px;
    border: 1px dashed rgba(230, 179, 37, 0.55);
    background: transparent;
    color: #f0d48a;
    font: inherit;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
}

.admin-exempt-btn:hover {
    border-style: solid;
    background: rgba(230, 179, 37, 0.12);
}

.admin-exempt-btn.is-on {
    border-color: transparent;
    background: transparent;
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 0.16em;
}

.admin-exempt-btn.is-on:hover {
    color: #ffd0d0;
    background: transparent;
}

.admin-pill {
    display: inline-flex;
    align-items: center;
    flex: none;
    margin: 0;
    padding: 0.16rem 0.48rem 0.14rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    line-height: 1.2;
    text-transform: uppercase;
}

.admin-pill-super {
    color: #d7f7b8;
    background: rgba(155, 225, 93, 0.16);
    border-color: rgba(155, 225, 93, 0.5);
}

.admin-pill-exempt {
    color: #ffe7a3;
    background: rgba(230, 179, 37, 0.16);
    border-color: rgba(230, 179, 37, 0.55);
}

.admin-actions {
    white-space: nowrap;
}

.admin-inline-form {
    display: inline;
    margin: 0;
}

.admin-impersonate-btn {
    padding: 0.28rem 0.65rem;
    font-size: 0.78rem;
}

.aisle-popup {
    position: fixed;
    z-index: 85;
    left: max(0.85rem, env(safe-area-inset-left, 0px));
    bottom: max(0.85rem, env(safe-area-inset-bottom, 0px));
    width: min(22rem, calc(100vw - 1.7rem));
    padding: 0.75rem 0.85rem 0.85rem;
    border: 1px solid rgba(255, 128, 128, 0.45);
    border-radius: 16px;
    background: #3a1212;
    color: #ffd5d5;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.aisle-popup-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.45rem;
}

.aisle-popup-head strong {
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.aisle-popup-close {
    width: 1.75rem;
    height: 1.75rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: inherit;
    font: inherit;
    font-size: 1.15rem;
    line-height: 1;
    cursor: pointer;
}

.aisle-popup-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.45rem;
    max-height: 12rem;
    overflow: auto;
    font-size: 0.88rem;
}

.aisle-popup-when,
.aisle-popup-who {
    display: inline;
}

.aisle-popup-when {
    color: rgba(255, 213, 213, 0.72);
}

.aisle-popup-who {
    font-weight: 700;
}

.aisle-popup-who::before {
    content: " · ";
    font-weight: 400;
}

.aisle-popup-who::after {
    content: " · ";
    font-weight: 400;
}

.impersonation-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem 1rem;
    padding: 0.65rem 1rem;
    background: #3a2208;
    border-bottom: 1px solid rgba(255, 176, 72, 0.45);
    color: #ffe2b5;
    font-size: 0.9rem;
}

.impersonation-banner p {
    margin: 0;
}

.impersonation-banner span {
    color: rgba(255, 226, 181, 0.72);
}

.impersonation-banner-form {
    margin: 0;
}

.impersonation-banner .ghost-btn,
.impersonation-banner .btn-ghost {
    border: 1px solid rgba(255, 176, 72, 0.55);
    color: #ffe2b5;
    background: rgba(0, 0, 0, 0.18);
    border-radius: 10px;
    padding: 0.4rem 0.8rem;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.admin-more {
    margin: 0.85rem 0 0;
}

.admin-more a {
    color: var(--accent-2);
    font-weight: 600;
    text-decoration: none;
}

.admin-more a:hover {
    text-decoration: underline;
}

.theme-dark .muted,
.admin-page .muted {
    color: var(--muted);
}

@media (max-width: 560px) {
    .auth-grid { grid-template-columns: 1fr; }
}

.auth-switch {
    margin: 1rem 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.auth-switch a { color: var(--accent-2); }

.auth-switch .inline-form { display: inline; }

.auth-switch .link-btn {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    color: var(--accent-2);
    text-decoration: underline;
    cursor: pointer;
}

/* Ad slots */
.ad-slot {
    margin: 0.75rem clamp(1rem, 3vw, 2.5rem);
}

.ad-placeholder {
    min-height: 90px;
    display: grid;
    place-content: center;
    gap: 0.2rem;
    text-align: center;
    border: 1px dashed rgba(155, 225, 93, 0.35);
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.22);
    color: var(--muted);
    padding: 1rem;
}

.ad-placeholder span {
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.04em;
    font-size: 0.85rem;
}

.ad-placeholder small { font-size: 0.78rem; }

.ad-slot-sidebar .ad-placeholder { min-height: 600px; }
.ad-slot-header .ad-placeholder,
.ad-slot-footer .ad-placeholder { min-height: 90px; }

.ad-sterra {
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-layout {
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr) minmax(160px, 200px);
    grid-template-areas:
        "ring search ads"
        "ring diary ads"
        "total total ads";
}

.ad-rail {
    grid-area: ads;
}

.ad-rail .ad-slot {
    margin: 0;
    position: sticky;
    top: 1rem;
}

@media (max-width: 1100px) {
    .app-layout {
        grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
        grid-template-areas:
            "ring search"
            "ring diary"
            "total total"
            "ads ads";
    }
    .ad-rail .ad-slot { position: static; }
}

@media (max-width: 960px) {
    .watch-buy {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .watch-buy-photo {
        max-width: 16rem;
    }

    .watch-gambit {
        grid-template-columns: 1fr;
    }

    .shot-grid,
    .shot-grid-3 { grid-template-columns: 1fr; }

    .shot-grid-phones {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 22rem;
    }

    .shot-grid-phones .shot-watch {
        grid-column: 1 / -1;
        max-width: 12rem;
        justify-self: center;
    }

    .split-body,
    .split-flip .split-body { grid-template-columns: 1fr; }
    .split-flip .split-body > p { order: 0; }
    .hero-copy {
        margin-left: auto;
        margin-right: auto;
        padding-bottom: 2.5rem;
    }
    .app-layout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "ring"
            "search"
            "diary"
            "total"
            "ads";
    }
}

/* Blog */
.blog-page {
    padding: 1.5rem 0 2rem;
}

.blog-shell {
    padding-bottom: 2rem;
}

.blog-hero {
    margin: 0 0 1.75rem;
    max-width: 38rem;
}

.blog-kicker {
    margin: 0 0 0.45rem;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.blog-hero h1 {
    margin: 0 0 0.65rem;
    font-size: clamp(1.85rem, 4vw, 2.5rem);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.blog-lede {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.55;
    max-width: 34rem;
}

.blog-feeds {
    margin: 0.85rem 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.blog-feeds a {
    color: var(--text);
    font-weight: 650;
}

.blog-list {
    display: grid;
    gap: 0.85rem;
    margin-bottom: 2rem;
}

.blog-card {
    padding: 1.15rem 1.25rem;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.blog-card.is-featured {
    border-color: rgba(42, 125, 69, 0.35);
    background:
        linear-gradient(135deg, rgba(42, 125, 69, 0.08), transparent 55%),
        var(--surface);
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.45rem;
}

.blog-card-meta time {
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.blog-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: rgba(42, 125, 69, 0.14);
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.blog-card h2 {
    margin: 0 0 0.45rem;
    font-size: 1.25rem;
    letter-spacing: -0.01em;
}

.blog-excerpt {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.blog-post {
    padding: 1.5rem 0 0;
    border-top: 1px solid var(--line);
}

.blog-post + .blog-post {
    margin-top: 2.5rem;
    padding-top: 2rem;
}

.blog-post-head {
    margin: 0 0 1.25rem;
    max-width: 40rem;
}

.blog-post-head h2 {
    margin: 0;
    font-size: clamp(1.55rem, 3.2vw, 2rem);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.blog-prose {
    max-width: 40rem;
    color: var(--ink);
    font-size: 1.02rem;
    line-height: 1.7;
}

.blog-prose p {
    margin: 0 0 1.1rem;
}

.blog-prose h2,
.blog-prose h3 {
    margin: 1.6rem 0 0.65rem;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
}

.blog-prose ul {
    margin: 0 0 1.25rem;
    padding: 0 0 0 1.15rem;
}

.blog-prose li {
    margin: 0 0 0.45rem;
}

.blog-prose a {
    color: var(--accent-2);
    font-weight: 600;
}

.blog-prose pre {
    margin: 0 0 1.1rem;
    padding: 0.9rem 1rem;
    overflow: auto;
    border-radius: 14px;
    border: 1px solid rgba(238, 247, 241, 0.12);
    background: rgba(0, 0, 0, 0.28);
    color: var(--ink);
    font-size: 0.82rem;
    line-height: 1.45;
}

.blog-prose code {
    font-size: 0.92em;
}

.blog-video {
    position: relative;
    width: 100%;
    margin: 1.1rem 0 0.35rem;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(238, 247, 241, 0.12);
    background: #08140f;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.blog-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.blog-video-link {
    margin: 0 0 1rem;
    font-size: 0.92rem;
}

.blog-figure {
    margin: 0 0 1.35rem;
    padding: 1rem;
    text-align: center;
    background:
        radial-gradient(circle at 50% 40%, rgba(155, 225, 93, 0.08), transparent 55%),
        rgba(0, 0, 0, 0.18);
    border: 1px solid var(--line);
    border-radius: 18px;
}

.blog-figure img {
    display: block;
    width: min(100%, 16rem);
    height: auto;
    margin: 0 auto;
    filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.35));
}

.blog-figure-thumb .shot-zoom {
    width: min(100%, 12.5rem);
    margin: 0 auto;
}

.blog-figure-thumb img {
    width: 100%;
    margin: 0;
}

.blog-figure-wide {
    padding: 0.75rem;
    text-align: left;
}

.blog-figure-wide .shot-zoom {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.blog-figure-wide img {
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 12px;
    filter: none;
}

.blog-figure-wide figcaption {
    padding: 0 0.25rem;
}

.blog-figure-wide figcaption strong {
    display: block;
    color: var(--text);
    font-size: 0.95rem;
}

.blog-figure-wide figcaption span {
    display: block;
    margin-top: 0.2rem;
}

.blog-figure figcaption {
    margin: 0.85rem 0 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

.blog-signoff {
    margin-top: 1.5rem !important;
    color: var(--muted);
    font-weight: 600;
}

.blog-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.blog-pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 0.85rem;
    margin: 2rem 0 0.5rem;
    padding: 1rem 0 0;
    border-top: 1px solid var(--line);
}

.blog-pager-btn,
.blog-pager-num {
    appearance: none;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--ink);
    border-radius: 999px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    padding: 0.55rem 0.95rem;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.blog-pager-num {
    min-width: 2.4rem;
    padding-left: 0.7rem;
    padding-right: 0.7rem;
}

.blog-pager-btn:hover:not(:disabled),
.blog-pager-num:hover:not(.is-active) {
    border-color: rgba(155, 225, 93, 0.45);
    color: var(--accent);
}

.blog-pager-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.blog-pager-num.is-active {
    background: linear-gradient(135deg, #9be15d, #2bbbad);
    border-color: transparent;
    color: #08140f;
}

.blog-pager-nums {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.blog-pager-status {
    margin: 0;
    margin-left: auto;
    color: var(--muted);
    font-size: 0.9rem;
}

@media (max-width: 560px) {
    .blog-pager-status {
        width: 100%;
        margin-left: 0;
        order: -1;
    }
}

.blog-poll {
    margin: 0 0 1.5rem;
    padding: 1rem 1.1rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.16);
}

.blog-poll-title {
    margin: 0 0 0.75rem;
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.35;
}

.blog-poll-voted {
    margin: 0 0 0.65rem;
    color: var(--accent-2);
    font-size: 0.9rem;
    font-weight: 600;
}

.blog-poll-error {
    margin: 0 0 1.1rem;
    padding: 0.7rem 0.85rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 120, 120, 0.35);
    background: rgba(255, 80, 80, 0.1);
    color: #ffc9c9;
    font-size: 0.95rem;
}

.blog-poll-options {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}

.blog-poll-form {
    margin: 0;
}

.blog-poll-option button {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.35rem 0.75rem;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--ink);
    text-align: left;
    cursor: pointer;
    overflow: hidden;
    font: inherit;
}

.blog-poll-option button:hover {
    border-color: rgba(155, 225, 93, 0.45);
}

.blog-poll-option.is-mine button {
    border-color: rgba(155, 225, 93, 0.55);
    background: rgba(155, 225, 93, 0.08);
}

.blog-poll-label {
    position: relative;
    z-index: 1;
    font-weight: 600;
    font-size: 0.95rem;
}

.blog-poll-meta {
    position: relative;
    z-index: 1;
    color: var(--muted);
    font-size: 0.85rem;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.blog-poll-bar {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--poll-pct, 0%);
    background: linear-gradient(90deg, rgba(155, 225, 93, 0.22), rgba(155, 225, 93, 0.08));
    pointer-events: none;
    transition: width 0.25s ease;
}

.blog-poll-total {
    margin: 0.65rem 0 0;
    color: var(--muted);
    font-size: 0.85rem;
}

.blog-beta-callout {
    margin: 0 0 1.35rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(155, 225, 93, 0.4);
    background: rgba(155, 225, 93, 0.1);
    color: var(--ink);
    font-size: 1.02rem;
    line-height: 1.45;
}

.blog-beta-callout strong {
    color: #d7f7b8;
}

.blog-watch-brands {
    margin: 0 0 1.25rem;
    padding: 0 0 0 1.15rem;
}

.blog-watch-brands li {
    margin: 0 0 0.55rem;
}

.import-page,
.account-page {
    padding: 1.25rem 0 2.5rem;
}

.account-shell {
    padding-bottom: 2rem;
}

.account-panel {
    max-width: 36rem;
}

.account-delete-form {
    margin-top: 0.85rem;
}

.account-page .auth-form label.account-delete-confirm {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.55rem;
    font-weight: 500;
}

.account-page .auth-form .account-delete-confirm input {
    width: auto;
    flex: 0 0 auto;
    margin: 0.15rem 0 0;
    padding: 0;
    border-radius: 4px;
    background: transparent;
}

.btn-danger {
    background: #c44848;
    color: #fff;
    border: 0;
}

.btn-danger:hover {
    background: #a83838;
}

.account-shell > .account-panel + .account-panel,
.account-shell > .api-key-once + .account-panel,
.account-shell > .account-panel + .api-key-once {
    margin-top: 1.35rem;
}

.account-page .auth-form label {
    color: var(--ink);
    font-weight: 600;
    font-size: 0.92rem;
}

.account-page .auth-form input,
.account-page .auth-form textarea,
.account-page .auth-form select {
    width: 100%;
    margin-top: 0.35rem;
    padding: 0.7rem 0.85rem;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.22);
    color: var(--ink);
    font: inherit;
}

.account-page .auth-form textarea {
    resize: vertical;
    min-height: 5.5rem;
    line-height: 1.45;
}

.account-page .auth-form input[type="file"] {
    appearance: auto;
    padding: 0.55rem 0.65rem;
    cursor: pointer;
}

.account-page .auth-form input::placeholder,
.account-page .auth-form textarea::placeholder {
    color: rgba(238, 247, 241, 0.4);
}

.account-page .account-avatar-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.account-page .account-avatar-row .social-avatar {
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background: rgba(155, 225, 93, 0.18);
    border: 1px solid rgba(155, 225, 93, 0.28);
    color: var(--accent);
    font-weight: 700;
    font-size: 1.8rem;
    overflow: hidden;
    flex-shrink: 0;
}

.account-page .account-avatar-row .social-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.account-page .account-avatar-row label {
    flex: 1;
    min-width: 12rem;
}

.account-page .account-links {
    margin: 0.15rem 0 0.25rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.account-page .account-links a {
    color: var(--accent-2);
    font-weight: 600;
    text-decoration: none;
}

.account-page .account-links a:hover {
    text-decoration: underline;
}

.account-page .auth-error,
.account-page .auth-success {
    max-width: 36rem;
    margin: 0 0 1rem;
}

.account-page .auth-error {
    background: rgba(255, 107, 107, 0.12);
    border: 1px solid rgba(255, 107, 107, 0.35);
    color: #ffc9c9;
}

.account-page .auth-success {
    background: rgba(155, 225, 93, 0.12);
    border: 1px solid rgba(155, 225, 93, 0.35);
    color: #d7f7b8;
}

.api-keys-panel h2,
.api-key-once h2 {
    margin: 0 0 0.35rem;
    font-size: 1.2rem;
}

.api-keys-panel h3 {
    margin: 1.25rem 0 0.45rem;
    font-size: 1rem;
}

.api-key-once {
    border-color: rgba(155, 225, 93, 0.45);
    background:
        linear-gradient(145deg, rgba(155, 225, 93, 0.12), transparent 60%),
        var(--surface);
}

.api-key-secret-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
    margin-top: 0.75rem;
}

.api-key-secret {
    display: block;
    flex: 1 1 16rem;
    min-width: 0;
    padding: 0.7rem 0.85rem;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.35);
    color: #d7f7b8;
    font-size: 0.82rem;
    word-break: break-all;
}

.api-key-list {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.api-key-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.65rem;
    align-items: center;
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.18);
}

.watch-devices-panel {
    border-color: rgba(43, 187, 173, 0.3);
}

.watch-device-item {
    align-items: flex-start;
}

.watch-device-item .api-key-meta {
    word-break: break-word;
}

.api-key-item strong {
    display: block;
    margin-bottom: 0.15rem;
}

.api-key-item code {
    color: #d7f7b8;
    font-size: 0.85rem;
}

.api-key-meta {
    display: block;
    margin-top: 0.25rem;
    color: var(--muted);
    font-size: 0.8rem;
}

.api-key-empty {
    color: var(--muted);
    margin: 0 0 1rem;
}

.api-key-create {
    margin-bottom: 0.5rem;
}

.api-key-revoke {
    margin: 0;
}

.api-key-snippet {
    margin: 0.5rem 0;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.35);
    color: #d7f7b8;
    font-size: 0.82rem;
    overflow-x: auto;
    white-space: pre;
}

.api-key-grok p {
    margin: 0.35rem 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.api-key-grok code {
    color: #d7f7b8;
    font-size: 0.84em;
}

.import-shell {
    padding-bottom: 2rem;
}

.import-hero {
    margin: 0 0 1.5rem;
    max-width: 40rem;
}

.import-hero h1 {
    margin: 0 0 0.65rem;
    font-size: clamp(1.85rem, 4vw, 2.45rem);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.import-sources {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr));
    gap: 0.75rem;
    margin: 0 0 1.35rem;
}

.import-source {
    display: grid;
    gap: 0.35rem;
    padding: 1rem 1.05rem;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: inherit;
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

.import-source:hover {
    border-color: rgba(42, 125, 69, 0.4);
    transform: translateY(-1px);
}

.import-source.is-active {
    border-color: rgba(42, 125, 69, 0.55);
    background:
        linear-gradient(145deg, rgba(42, 125, 69, 0.12), transparent 60%),
        var(--surface);
}

.import-source strong {
    font-size: 1rem;
    letter-spacing: -0.01em;
}

.import-source span {
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.4;
}

.import-panel {
    padding: 1.35rem 1.4rem 1.5rem;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.import-panel-head {
    margin: 0 0 1.1rem;
}

.import-panel-head h2 {
    margin: 0 0 0.3rem;
    font-size: 1.3rem;
    letter-spacing: -0.01em;
}

.import-panel-head p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.import-form {
    display: grid;
    gap: 0.9rem;
    margin: 0 0 1.15rem;
    max-width: 28rem;
}

.import-file {
    display: grid;
    gap: 0.4rem;
    font-weight: 600;
    font-size: 0.92rem;
}

.import-file input[type="file"] {
    font: inherit;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--muted);
}

.import-help {
    margin: 0;
    padding: 1rem 1.1rem;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(20, 36, 28, 0.04);
}

.import-help h3 {
    margin: 0 0 0.55rem;
    font-size: 0.95rem;
}

.import-help ol {
    margin: 0;
    padding-left: 1.15rem;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.import-help li {
    margin: 0 0 0.4rem;
}

.import-help li:last-child {
    margin-bottom: 0;
}

.import-notes {
    margin: 0 0 1rem;
    padding-left: 1.15rem;
    color: var(--muted);
    font-size: 0.9rem;
}

#import-panel-title + p,
#export-panel-title + p {
    max-width: 40rem;
}

.import-panel + .import-panel {
    margin-top: 1.25rem;
}

.import-foot-links {
    margin: 1.35rem 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.import-foot-links a {
    color: var(--accent-2);
    font-weight: 600;
    text-decoration: none;
}

.import-foot-links a:hover {
    text-decoration: underline;
}

.import-page .auth-error,
.import-page .auth-success {
    max-width: 40rem;
    margin: 0 0 1rem;
}

.import-page .auth-error {
    background: rgba(180, 50, 50, 0.08);
    border: 1px solid rgba(180, 50, 50, 0.28);
    color: #8a2424;
}

.import-page .auth-success {
    background: rgba(42, 125, 69, 0.1);
    border: 1px solid rgba(42, 125, 69, 0.28);
    color: #1d5a32;
}

@media (prefers-reduced-motion: reduce) {
    .hero-media img,
    .hero-wave,
    .features-track,
    .watch-marquee-track,
    .shot {
        animation: none;
    }
    .features-marquee,
    .watch-marquee {
        overflow-x: auto;
        mask-image: none;
        -webkit-mask-image: none;
    }
}

/* About */
.about-page {
    padding: 1.5rem 0 2.5rem;
}

.about-shell {
    padding-bottom: 1rem;
}

.about-hero {
    margin: 0 0 1.75rem;
    max-width: 38rem;
}

.about-intro {
    display: grid;
    grid-template-columns: minmax(12rem, 18rem) minmax(0, 1fr);
    gap: 1.75rem 2rem;
    align-items: start;
}

.about-portrait {
    margin: 0;
}

.about-portrait img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center center;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: #122018;
    box-shadow: var(--shadow);
}

.about-portrait figcaption {
    margin-top: 0.75rem;
}

.about-portrait figcaption strong {
    display: block;
    font-size: 1.05rem;
}

.about-portrait figcaption span {
    color: var(--muted);
    font-size: 0.88rem;
}

.about-copy {
    max-width: 38rem;
}

.about-copy p {
    margin: 0 0 1rem;
    color: var(--ink);
    font-size: 1.05rem;
    line-height: 1.65;
}

.about-copy p:last-of-type {
    margin-bottom: 1.35rem;
}

.about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

@media (max-width: 720px) {
    .about-intro {
        grid-template-columns: 1fr;
    }

    .about-portrait {
        max-width: 18rem;
    }
}

.founder-strip {
    display: grid;
    grid-template-columns: 7.5rem minmax(0, 1fr);
    gap: 1.15rem 1.35rem;
    align-items: start;
    margin: 0.5rem 0 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}

.founder-strip img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid var(--line);
}

.founder-strip h2 {
    margin: 0 0 0.4rem;
    font-size: 1.35rem;
}

.founder-strip p {
    margin: 0 0 0.75rem;
    color: var(--ink);
    line-height: 1.55;
    max-width: 62ch;
}

.foot-compare {
    justify-content: flex-start;
    margin-top: 0.85rem;
}

.compare-page {
    padding: 1.5rem 0 2rem;
}

.compare-hero {
    max-width: 40rem;
    margin-bottom: 1.5rem;
}

.compare-hero h1 {
    margin: 0 0 0.6rem;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    letter-spacing: -0.03em;
}

.compare-lede,
.compare-table p,
.compare-faq p {
    margin: 0;
    color: var(--ink);
    line-height: 1.55;
    max-width: 62ch;
}

.compare-table,
.compare-faq {
    margin: 0 0 1.75rem;
}

.compare-table p + p {
    margin-top: 0.75rem;
}

.compare-table h2,
.compare-faq h2 {
    margin: 0 0 0.8rem;
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
}

.compare-table dl {
    margin: 0;
    display: grid;
    gap: 0.85rem;
}

.compare-table dl div {
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--line);
}

.compare-table dt {
    font-weight: 700;
}

.compare-table dd {
    margin: 0.25rem 0 0;
    color: var(--muted);
    line-height: 1.5;
}

.compare-faq article {
    margin: 0 0 1rem;
}

.compare-faq h3 {
    margin: 0 0 0.3rem;
    font-size: 1.05rem;
}

.price-anchor {
    margin-top: 1rem;
    font-weight: 700;
    color: var(--ink);
}

.member-stories,
.member-grid,
.as-seen {
    margin: 0 0 2rem;
}

.story-list,
.member-grid ul,
.as-seen ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.story-list {
    display: grid;
    gap: 1rem;
}

.story-list li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.85rem;
    align-items: start;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
}

.story-list img,
.member-grid img {
    width: 4rem;
    height: 4rem;
    object-fit: cover;
    border-radius: 999px;
}

.story-list figure {
    margin: 0;
}

.story-list figcaption span,
.as-seen time {
    display: block;
    color: var(--muted);
    font-size: 0.85rem;
}

.story-list blockquote {
    margin: 0;
    line-height: 1.5;
}

.member-grid ul,
.as-seen ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.as-seen a {
    display: grid;
    gap: 0.15rem;
    color: inherit;
    text-decoration: none;
    padding: 0.65rem 0.8rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
}

@media (max-width: 720px) {
    .founder-strip {
        grid-template-columns: 1fr;
    }

    .founder-strip img {
        width: 7.5rem;
    }

    .hero-copy {
        padding-top: 5.25rem;
        padding-bottom: 2.25rem;
    }

    .hero-product {
        max-width: 100%;
    }

    .hero-product img {
        max-height: 10.5rem;
        width: auto;
        max-width: 100%;
    }

    .story-list li {
        grid-template-columns: 1fr;
    }
}
