:root {
    color-scheme: dark;
    --brand-black: #030303;
    --brand-ink: #0b0b0d;
    --brand-graphite: #151518;
    --brand-line: rgba(255, 255, 255, 0.15);
    --brand-line-strong: rgba(255, 255, 255, 0.28);
    --brand-white: #f8f8f4;
    --brand-soft: rgba(248, 248, 244, 0.72);
    --brand-muted: rgba(248, 248, 244, 0.56);
    --brand-panel: rgba(255, 255, 255, 0.075);
    --brand-panel-strong: rgba(255, 255, 255, 0.12);
    --brand-blue-token: #9edbff;
    --radius-card: 8px;
    --radius-control: 999px;
    --shadow-elevated: 0 28px 80px rgba(0, 0, 0, 0.48);
    --font-brand: ui-rounded, "SF Pro Rounded", "SF Rounded", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-sans: var(--font-brand);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: var(--font-sans);
    color: var(--brand-white);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.045), transparent 38%),
        linear-gradient(180deg, #050505 0%, #111113 44%, #030303 100%);
    letter-spacing: 0;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 72%);
}

img,
svg {
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--brand-white);
    outline-offset: 4px;
}

.site-shell {
    position: relative;
    overflow: hidden;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 16px 20px 0;
}

.nav {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px;
    border: 1px solid var(--brand-line);
    border-radius: var(--radius-control);
    background: rgba(8, 8, 9, 0.72);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(22px);
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    font-size: 1rem;
    font-weight: 800;
}

.brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--brand-line);
    object-fit: cover;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--brand-soft);
    font-size: 0.92rem;
    font-weight: 700;
}

.nav-links a,
.footer-links a {
    border-radius: var(--radius-control);
    padding: 8px 12px;
    transition: color 180ms ease, background 180ms ease;
}

.nav-links a:hover,
.footer-links a:hover {
    color: var(--brand-white);
    background: rgba(255, 255, 255, 0.08);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid var(--brand-line-strong);
    border-radius: var(--radius-control);
    font-family: inherit;
    font-size: 0.98rem;
    font-weight: 850;
    line-height: 1;
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.button svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.button-primary {
    color: #040404;
    background: linear-gradient(180deg, #ffffff, #d9d9d6);
    box-shadow: 0 18px 48px rgba(255, 255, 255, 0.14);
}

.button-secondary {
    color: var(--brand-white);
    background: rgba(255, 255, 255, 0.08);
}

.button-outline {
    min-height: 40px;
    padding: 0 14px;
    color: var(--brand-white);
    background: rgba(255, 255, 255, 0.08);
}

.button:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.5);
}

.button-primary:hover {
    box-shadow: 0 22px 60px rgba(255, 255, 255, 0.18);
}

.main {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 42px;
    padding: 66px 0 52px;
}

.hero-copy {
    min-width: 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    padding: 8px 12px;
    border: 1px solid var(--brand-line);
    border-radius: var(--radius-control);
    color: var(--brand-soft);
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.92rem;
    font-weight: 760;
}

.eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--brand-white);
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.65);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 10px;
    font-size: 4.2rem;
    line-height: 0.98;
    font-weight: 900;
}

.hero-headline {
    margin-bottom: 18px;
    max-width: 720px;
    font-size: 2.2rem;
    line-height: 1.05;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.92);
}

.hero-subhead {
    max-width: 640px;
    margin-bottom: 28px;
    color: var(--brand-soft);
    font-size: 1.15rem;
    line-height: 1.65;
    font-weight: 650;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.hero-proof {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    max-width: 660px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.hero-proof li {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: var(--brand-soft);
    font-size: 0.95rem;
    font-weight: 720;
}

.check {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    border: 1px solid var(--brand-line-strong);
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: var(--brand-white);
}

.check svg {
    width: 12px;
    height: 12px;
}

.product-stage {
    min-width: 0;
}

.device-shell {
    position: relative;
    padding: 10px;
    border: 1px solid var(--brand-line-strong);
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05)),
        #0a0a0b;
    box-shadow: var(--shadow-elevated);
    transform: perspective(1400px) rotateX(1deg) rotateY(-2deg);
}

.device-top {
    height: 34px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
}

.device-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.44);
    background: rgba(255, 255, 255, 0.16);
}

.device-screen {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    background: #f4eddd;
}

.device-screen img {
    width: 100%;
    height: auto;
    aspect-ratio: 2946 / 2256;
    object-fit: cover;
    object-position: top left;
}

.section {
    padding: 56px 0;
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.28fr);
    gap: 24px;
    align-items: end;
    margin-bottom: 24px;
}

.section-heading h2,
.subpage-card h1 {
    margin-bottom: 12px;
    font-size: 2.35rem;
    line-height: 1.08;
    font-weight: 900;
}

.section-heading p,
.subpage-card .lead,
.privacy-section p,
.privacy-section li {
    color: var(--brand-soft);
    font-size: 1rem;
    line-height: 1.72;
    font-weight: 620;
}

.section-tag {
    justify-self: end;
    padding: 8px 12px;
    border: 1px solid var(--brand-line);
    border-radius: var(--radius-control);
    color: var(--brand-muted);
    background: rgba(255, 255, 255, 0.055);
    font-size: 0.9rem;
    font-weight: 760;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.feature-card,
.pricing-card,
.community-card,
.subpage-card,
.privacy-section {
    border: 1px solid var(--brand-line);
    border-radius: var(--radius-card);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.055));
    box-shadow: 0 18px 58px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(18px);
}

.feature-card {
    min-height: 210px;
    padding: 20px;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.36);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.065));
}

.feature-icon,
.community-icon {
    width: 42px;
    height: 42px;
    border: 1px solid var(--brand-line);
    border-radius: var(--radius-card);
    display: grid;
    place-items: center;
    color: var(--brand-white);
    background: rgba(255, 255, 255, 0.08);
}

.feature-icon svg,
.community-icon svg {
    width: 22px;
    height: 22px;
}

.feature-card h3,
.community-card h3,
.privacy-section h2 {
    margin: 18px 0 10px;
    font-size: 1.12rem;
    line-height: 1.25;
    font-weight: 880;
}

.feature-card p,
.community-card p {
    margin-bottom: 0;
    color: var(--brand-soft);
    font-size: 0.94rem;
    line-height: 1.6;
    font-weight: 620;
}

.pricing-wrap {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(320px, 0.28fr);
    gap: 18px;
    align-items: stretch;
}

.pricing-copy {
    padding: 30px;
    border: 1px solid var(--brand-line);
    border-radius: var(--radius-card);
    background: rgba(255, 255, 255, 0.045);
}

.pricing-copy h2 {
    margin-bottom: 14px;
    font-size: 2.1rem;
    line-height: 1.12;
}

.pricing-copy p {
    max-width: 720px;
    margin-bottom: 0;
    color: var(--brand-soft);
    font-size: 1rem;
    line-height: 1.72;
    font-weight: 620;
}

.pricing-card {
    padding: 28px;
}

.price-label {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 7px 10px;
    border: 1px solid var(--brand-line);
    border-radius: var(--radius-control);
    color: var(--brand-muted);
    font-size: 0.88rem;
    font-weight: 760;
}

.price {
    display: flex;
    align-items: start;
    gap: 5px;
    margin-bottom: 14px;
    font-size: 4rem;
    line-height: 0.9;
    font-weight: 900;
}

.price span {
    padding-top: 5px;
    font-size: 1.2rem;
}

.pricing-card p {
    color: var(--brand-soft);
    line-height: 1.65;
    font-weight: 620;
}

.pricing-list {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 20px 0 24px;
    list-style: none;
    color: var(--brand-soft);
    font-weight: 700;
}

.pricing-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.community-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 24px;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.community-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.36);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.065));
}

.community-card h3 {
    margin-top: 0;
}

.community-card p {
    overflow-wrap: anywhere;
}

.arrow {
    width: 20px;
    height: 20px;
    color: var(--brand-soft);
}

.subpage-main {
    width: min(980px, calc(100% - 40px));
    min-height: calc(100svh - 88px);
    margin: 0 auto;
    display: grid;
    align-items: center;
    padding: 72px 0 56px;
}

.subpage-card {
    padding: 40px;
}

.subpage-card .eyebrow {
    margin-bottom: 20px;
}

.subpage-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.knowledge-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 0;
    margin: 30px 0 0;
    list-style: none;
}

.knowledge-list li {
    border: 1px solid var(--brand-line);
    border-radius: var(--radius-card);
    padding: 16px;
    color: var(--brand-soft);
    background: rgba(255, 255, 255, 0.055);
    font-weight: 700;
    line-height: 1.45;
}

.privacy-main {
    width: min(980px, calc(100% - 40px));
    margin: 0 auto;
    padding: 72px 0 56px;
}

.privacy-hero {
    margin-bottom: 18px;
}

.privacy-hero h1 {
    font-size: 3.2rem;
    line-height: 1.02;
}

.privacy-grid {
    display: grid;
    gap: 14px;
}

.privacy-section {
    padding: 26px;
}

.privacy-section h2 {
    margin-top: 0;
}

.privacy-section p:last-child,
.privacy-section ul:last-child {
    margin-bottom: 0;
}

.privacy-section ul {
    padding-left: 20px;
}

.privacy-callout {
    border-color: rgba(255, 255, 255, 0.34);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.07));
}

.site-footer {
    padding: 28px 20px 34px;
}

.footer-inner {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 20px;
    align-items: center;
    padding: 18px;
    border: 1px solid var(--brand-line);
    border-radius: var(--radius-card);
    background: rgba(255, 255, 255, 0.055);
}

.footer-meta {
    display: grid;
    gap: 10px;
}

.copyright {
    margin: 0;
    color: var(--brand-muted);
    font-size: 0.9rem;
    font-weight: 650;
}

.footer-links,
.social-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.social-link {
    width: 42px;
    height: 42px;
    border: 1px solid var(--brand-line);
    border-radius: var(--radius-control);
    display: grid;
    place-items: center;
    color: var(--brand-white);
    background: rgba(255, 255, 255, 0.07);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.social-link:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.12);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 980px) {

    .hero,
    .pricing-wrap {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 50px;
    }

    h1 {
        font-size: 3.35rem;
    }

    .hero-headline {
        font-size: 1.9rem;
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ── Hamburger toggle (hidden on desktop) ───────────────────── */
.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--brand-line);
    border-radius: var(--radius-control);
    background: rgba(255, 255, 255, 0.07);
    cursor: pointer;
    flex-shrink: 0;
    transition: background 180ms ease, border-color 180ms ease;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--brand-line-strong);
}

.nav-toggle-bar {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--brand-white);
    transition: transform 260ms ease, opacity 260ms ease, width 260ms ease;
    transform-origin: center;
}

/* Animated X when open */
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
    width: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 760px) {
    .site-header {
        padding: 10px 12px 0;
    }

    .nav {
        flex-wrap: wrap;
        border-radius: 24px;
        align-items: center;
    }

    .brand-link {
        flex: 1 1 auto;
    }

    .nav-toggle {
        display: flex;
        order: 2;
    }

    /* Nav links: hidden by default, revealed when .is-open */
    .nav-links {
        order: 3;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        /* collapsed state */
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transition: max-height 300ms ease, opacity 260ms ease, padding 260ms ease;
        padding: 0;
    }

    .nav-links.is-open {
        max-height: 400px;
        opacity: 1;
        pointer-events: auto;
        padding-top: 6px;
        padding-bottom: 4px;
    }

    .nav-links a {
        text-align: center;
        background: rgba(255, 255, 255, 0.06);
    }

    .main,
    .subpage-main,
    .privacy-main {
        width: min(100% - 28px, 1180px);
    }

    .hero {
        gap: 28px;
        padding: 36px 0 38px;
    }

    .device-shell {
        border-radius: 22px;
        transform: none;
    }

    .device-screen {
        border-radius: 14px;
    }

    h1,
    .privacy-hero h1 {
        font-size: 2.7rem;
    }

    .hero-headline {
        font-size: 1.55rem;
    }

    .hero-subhead {
        font-size: 1rem;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-proof,
    .section-heading,
    .community-grid,
    .knowledge-list {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 44px 0;
    }

    .section-heading {
        align-items: start;
        margin-bottom: 18px;
    }

    .section-heading h2,
    .subpage-card h1 {
        font-size: 1.9rem;
    }

    .section-tag {
        justify-self: start;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: auto;
    }

    .pricing-copy,
    .pricing-card,
    .subpage-card,
    .privacy-section {
        padding: 22px;
    }

    .price {
        font-size: 3.35rem;
    }

    .community-card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .community-card .arrow {
        display: none;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .footer-links {
        flex-wrap: wrap;
    }
}

@media (max-width: 420px) {
    .button-outline {
        width: 100%;
    }

    .nav-links.is-open {
        grid-template-columns: 1fr;
    }

    h1,
    .privacy-hero h1 {
        font-size: 2.25rem;
    }

    .hero-headline {
        font-size: 1.35rem;
    }
}

/* ── Screenshot lightbox ─────────────────────────────────────── */

.screenshot-trigger {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: none;
    cursor: zoom-in;
    position: relative;
    border-radius: inherit;
    overflow: hidden;
}

.screenshot-trigger img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 320ms ease, filter 320ms ease;
}

.screenshot-zoom-hint {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    opacity: 0;
    transition: opacity 260ms ease;
    background: rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(2px);
}

.screenshot-zoom-hint svg {
    width: 48px;
    height: 48px;
    color: #fff;
    filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.6));
}

.screenshot-trigger:hover .screenshot-zoom-hint,
.screenshot-trigger:focus-visible .screenshot-zoom-hint {
    opacity: 1;
}

.screenshot-trigger:hover img {
    transform: scale(1.015);
}

.screenshot-trigger:focus-visible {
    outline: 2px solid var(--brand-white);
    outline-offset: 3px;
}

/* Lightbox overlay */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 280ms ease;
    cursor: zoom-out;
}

.lightbox-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-inner {
    position: relative;
    max-width: min(1400px, 100%);
    max-height: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.72);
    transform: scale(0.94);
    transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: default;
}

.lightbox-overlay.is-open .lightbox-inner {
    transform: scale(1);
}

.lightbox-inner img {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(100svh - 80px);
    object-fit: contain;
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9001;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(20, 20, 22, 0.82);
    color: var(--brand-white);
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.lightbox-close:hover {
    transform: scale(1.1);
    background: rgba(40, 40, 44, 0.92);
    border-color: rgba(255, 255, 255, 0.5);
}

.lightbox-close:focus-visible {
    outline: 2px solid var(--brand-white);
    outline-offset: 3px;
}

.lightbox-close svg {
    width: 20px;
    height: 20px;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
