:root {
    --brand-accent: #C6F000;
    --brand-accent-dark: #A9CE00;
    --brand-ink: #222222;
    --brand-surface-dark: #1C1E21;
    --brand-white: #FFFFFF;
    --gray-100: #F3F3F3;
    --gray-200: #E1E1E1;
    --gray-300: #C8C8C8;
    --gray-500: #919191;
    --gray-600: #6E6E6E;
    --font-heading: 'Montserrat', 'Segoe UI', sans-serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;
    --max-width: 1120px;
    --radius: 12px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--brand-ink);
    background: var(--brand-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin: 0 0 0.5em;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.2rem;
}

p {
    margin: 0 0 1rem;
}

a {
    color: inherit;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--brand-surface-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 1rem;
    position: relative;
}

/* Anchor links must clear the sticky header when jumping to a section. */
[id] {
    scroll-margin-top: 90px;
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.brand img {
    height: 34px;
    width: auto;
    display: block;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.site-nav a {
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-300);
}

.site-nav a:hover {
    color: var(--brand-accent);
}

.site-nav a.btn-primary {
    color: var(--brand-ink);
    padding: 0.6rem 1.15rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

.site-nav a.btn-primary:hover {
    color: var(--brand-ink);
}

/* CSS-only mobile menu: a hidden checkbox drives the panel, no JS needed. */
.nav-toggle {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

.nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    cursor: pointer;
    border-radius: 8px;
}

.nav-burger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--brand-white);
    border-radius: 2px;
}

.nav-toggle:focus-visible + .nav-burger {
    outline: 3px solid var(--brand-accent);
    outline-offset: 2px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    border-radius: var(--radius);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.12s ease, background-color 0.12s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--brand-accent);
    color: var(--brand-ink);
}

.btn-primary:hover {
    background: var(--brand-accent-dark);
}

.btn-ghost {
    border-color: var(--gray-300);
    color: var(--brand-ink);
    background: transparent;
}

.btn-ghost:hover {
    border-color: var(--brand-ink);
}

.btn-lg {
    padding: 1rem 2.1rem;
    font-size: 1.05rem;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-dark {
    background: var(--brand-surface-dark);
    color: var(--brand-white);
}

.section-muted {
    background: var(--gray-100);
}

.section-head {
    max-width: 680px;
    margin: 0 auto 3rem;
    text-align: center;
}

.section-head p {
    color: var(--gray-600);
    font-size: 1.1rem;
}

.section-dark .section-head p {
    color: var(--gray-300);
}

/* Hero */
.hero {
    padding: 5.5rem 0 4.5rem;
    background: linear-gradient(180deg, var(--gray-100) 0%, var(--brand-white) 100%);
}

.hero-inner {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.hero .eyebrow {
    display: inline-block;
    background: var(--brand-accent);
    color: var(--brand-ink);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}

.hero .lede {
    font-size: 1.2rem;
    color: var(--gray-600);
    max-width: 620px;
    margin: 0 auto 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-note {
    margin-top: 1.25rem;
    font-size: 0.9rem;
    color: var(--gray-500);
}

.hero-banner {
    margin-top: 3rem;
    text-align: center;
}

.hero-banner img {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: var(--radius);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

/* App store badges */
.store-badges {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    align-items: center;
}

.store-badges.centered {
    justify-content: center;
}

.store-badges img {
    height: 48px;
    width: auto;
    display: block;
    transition: transform 0.12s ease;
}

.store-badges a:hover img {
    transform: translateY(-2px);
}

/* Screenshot showcase */
.shots {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

.shot {
    max-width: 260px;
    text-align: center;
}

.shot img {
    width: 100%;
    height: auto;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    display: block;
}

.shot p {
    margin-top: 1rem;
    font-size: 0.95rem;
}

/* Demo videos */
.demos {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

.demo {
    max-width: 280px;
    margin: 0;
    text-align: center;
}

.demo video {
    width: 100%;
    height: auto;
    border-radius: 22px;
    background: var(--brand-surface-dark);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
    display: block;
    /* Behaves like an animated GIF - nothing to click or right-click into. */
    pointer-events: none;
}

.demo h3 {
    margin-top: 1.25rem;
    margin-bottom: 0.35rem;
    font-size: 1.05rem;
}

.demo figcaption p {
    color: var(--gray-600);
    font-size: 0.93rem;
    margin: 0;
}

/* Click-to-enlarge. Pure CSS via :target so the site stays JS-free. */
.shot-link {
    display: block;
    position: relative;
    border-radius: 22px;
}

.shot-link::after {
    content: "Tap to enlarge";
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    background: rgba(28, 30, 33, 0.85);
    color: var(--brand-white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    opacity: 0;
    transition: opacity 0.15s ease;
    pointer-events: none;
}

.shot-link:hover::after,
.shot-link:focus-visible::after {
    opacity: 1;
}

.shot-link:focus-visible {
    outline: 3px solid var(--brand-accent);
    outline-offset: 4px;
}

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(12, 13, 15, 0.92);
    padding: 2rem 1rem;
    overflow: auto;
    text-align: center;
}

.lightbox:target {
    display: block;
}

.lightbox img {
    max-width: min(92vw, 460px);
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    vertical-align: middle;
}

/* Full-bleed backdrop click target that sits behind the image. */
.lightbox-backdrop {
    position: absolute;
    inset: 0;
    cursor: zoom-out;
}

.lightbox-close {
    position: fixed;
    top: 1rem;
    right: 1.25rem;
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brand-accent);
    color: var(--brand-ink);
    font-size: 1.5rem;
    line-height: 44px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.lightbox-close:hover {
    background: var(--brand-white);
}

/* Grid + cards */
.grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
    background: var(--brand-white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1.75rem;
}

.section-dark .card {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
}

.card .icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: var(--brand-accent);
    color: var(--brand-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.card .icon svg {
    width: 24px;
    height: 24px;
    display: block;
}

.card p {
    color: var(--gray-600);
    margin: 0;
}

.section-dark .card p {
    color: var(--gray-300);
}

/* Steps */
.steps {
    counter-reset: step;
}

.steps .card::before {
    counter-increment: step;
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--brand-accent);
    color: var(--brand-ink);
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Pricing */
.price-card {
    max-width: 420px;
    margin: 0 auto;
    text-align: center;
    border: 2px solid var(--brand-accent);
}

.price {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin: 0.5rem 0;
}

.price small {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-600);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.feature-list li {
    padding: 0.5rem 0 0.5rem 1.75rem;
    position: relative;
    border-bottom: 1px solid var(--gray-200);
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--brand-accent);
}

/* Forms */
.form-card {
    max-width: 560px;
    margin: 0 auto;
}

.form-row {
    margin-bottom: 1.1rem;
}

.form-row label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
}

.form-row input,
.form-row textarea,
.form-row select {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--brand-ink);
    background: var(--brand-white);
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
    outline: 2px solid var(--brand-accent);
    outline-offset: 1px;
    border-color: var(--brand-accent-dark);
}

.form-hint {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.alert {
    padding: 0.9rem 1.1rem;
    border-radius: 8px;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.alert-error {
    background: #FDECEC;
    border: 1px solid #F5B5B5;
    color: #8A1F1F;
}

.alert-success {
    background: #EDF7E3;
    border: 1px solid #BCDF93;
    color: #33611A;
}

.req {
    color: #A9342B;
    font-weight: 700;
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Prose (legal pages) */
.prose {
    max-width: 760px;
    margin: 0 auto;
}

.prose h2 {
    margin-top: 2.5rem;
    font-size: 1.4rem;
}

.prose ul {
    padding-left: 1.25rem;
}

.prose li {
    margin-bottom: 0.5rem;
}

.updated {
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* CTA band */
.cta-band {
    text-align: center;
}

.cta-band h2 {
    margin-bottom: 1rem;
}

/* Footer */
.site-footer {
    background: var(--brand-surface-dark);
    color: var(--gray-300);
    padding: 3rem 0 2rem;
    font-size: 0.92rem;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    margin-bottom: 2rem;
}

.site-footer h4 {
    color: var(--brand-white);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer li {
    margin-bottom: 0.4rem;
}

.site-footer a {
    color: var(--gray-300);
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--brand-accent);
}

.site-footer .brand img {
    height: 30px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    color: var(--gray-500);
}

.footer-address {
    font-style: normal;
    margin-top: 0.75rem;
    line-height: 1.7;
}

.skip-link {
    position: absolute;
    left: -9999px;
    background: var(--brand-ink);
    color: var(--brand-white);
    padding: 0.75rem 1rem;
}

.skip-link:focus {
    left: 0;
    top: 0;
    z-index: 100;
}

@media (max-width: 820px) {
    .nav-burger {
        display: flex;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.5rem 0 1rem;
        background: var(--brand-surface-dark);
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 14px 24px rgba(0, 0, 0, 0.25);
    }

    .nav-toggle:checked ~ .site-nav {
        display: flex;
    }

    .site-nav a {
        padding: 0.85rem 1.5rem;
        font-size: 1rem;
    }

    .site-nav a.btn-primary {
        margin: 0.6rem 1.5rem 0;
        text-align: center;
        padding: 0.85rem 1.15rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 700px) {
    .section {
        padding: 3.5rem 0;
    }

    .brand img {
        height: 28px;
    }

    .store-badges img {
        height: 42px;
    }

    .shot {
        max-width: 220px;
    }

    .demo {
        max-width: 240px;
    }

    [id] {
        scroll-margin-top: 78px;
    }
}
