:root {
    --blue-deep: #163680;
    --blue-mid: #2d5bb8;
    --blue-bright: #5a8ad3;
    --ink: #111418;
    --ink-mid: #4a5260;
    --ink-soft: #6b7280;
    --paper: #ffffff;
    --paper-tint: #f7f9fc;
    --line: #e5e9f0;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 6px 24px rgba(15, 30, 65, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: var(--blue-mid); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
    line-height: 1.2;
    letter-spacing: -0.015em;
    margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }

p { margin: 0 0 1em; color: var(--ink-mid); }

em { font-style: italic; color: var(--blue-mid); }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.container.narrow {
    max-width: 720px;
}

/* === Top nav === */
.topnav {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--line);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
}

.brand img { border-radius: 7px; }

.nav-cta {
    background: var(--ink);
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none !important;
    transition: transform 0.15s ease, background 0.15s ease;
}
.nav-cta:hover {
    background: var(--blue-deep);
    transform: translateY(-1px);
}

/* === Hero === */
.hero {
    padding: 80px 24px 100px;
    background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
    text-align: center;
}

.hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

.hero-icon {
    width: 180px;
    height: 180px;
    border-radius: 40px;
    margin-bottom: 32px;
    box-shadow: 0 20px 50px rgba(22, 54, 128, 0.25);
}

.lede {
    font-size: 1.2rem;
    color: var(--ink-mid);
    max-width: 640px;
    margin: 0 auto 36px;
}

.cta-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.btn-primary {
    appearance: none;
    border: none;
    cursor: pointer;
    background: linear-gradient(180deg, var(--blue-bright) 0%, var(--blue-deep) 100%);
    color: #fff;
    font: inherit;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 16px 32px;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(22, 54, 128, 0.3);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(22, 54, 128, 0.4);
}
.btn-primary:active {
    transform: translateY(0);
}

.btn-large {
    padding: 20px 44px;
    font-size: 1.15rem;
    margin: 20px 0;
}

.cta-meta {
    font-size: 0.92rem;
    color: var(--ink-soft);
}

/* === Sections === */
section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    margin-bottom: 56px;
}

/* === Screenshots section === */
.screens {
    background: linear-gradient(180deg, #ffffff 0%, var(--paper-tint) 100%);
}

.screens-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: center;
    max-width: 980px;
    margin: 0 auto 32px;
}

.screens-item {
    margin: 0;
}

.screens-item img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(15, 30, 65, 0.18);
    background: var(--paper);
}

.screens-item figcaption {
    margin-top: 16px;
    text-align: center;
    color: var(--ink-mid);
    font-size: 0.95rem;
}

.menubar-callout {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 16px;
    padding: 18px 24px;
    border-radius: 12px;
    background: var(--paper);
    border: 1px solid var(--line);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.95rem;
    color: var(--ink-mid);
}

.callout-label {
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.callout-icon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    color: var(--ink);
}

.callout-icon img {
    vertical-align: middle;
}

.callout-arrow {
    color: var(--ink-soft);
}

@media (max-width: 720px) {
    .screens-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* === Use cases === */
.use-cases {
    background: var(--paper-tint);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.use-card {
    background: var(--paper);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow);
    text-align: center;
}

.use-emoji {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.use-card h3 {
    margin-bottom: 8px;
}

.use-card p {
    font-size: 0.95rem;
    margin: 0;
}

/* === Features === */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.feature {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.feature h3 {
    color: var(--blue-deep);
    margin-bottom: 10px;
}

.feature p {
    font-size: 0.97rem;
    margin: 0;
}

/* === How it works === */
.how {
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.steps {
    list-style: none;
    counter-reset: none;
    padding: 0;
    margin: 0;
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.steps li {
    display: grid;
    grid-template-columns: 64px 1fr;
    column-gap: 24px;
    row-gap: 6px;
    align-items: start;
}

.step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-bright), var(--blue-deep));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    flex-shrink: 0;
    grid-row: 1 / span 2;
}

.steps h3 {
    margin: 6px 0 0;
    grid-column: 2;
}

.steps p {
    margin: 0;
    grid-column: 2;
}

/* === Buy section === */
.buy {
    background: linear-gradient(180deg, var(--blue-deep) 0%, #0a2455 100%);
    color: #fff;
    text-align: center;
}

.buy h2 {
    color: #fff;
}

.buy .lede {
    color: rgba(255, 255, 255, 0.85);
}

.buy .btn-primary {
    background: #fff;
    color: var(--blue-deep);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.buy .btn-primary:hover {
    background: #f7f9fc;
}

.fine-print {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 12px;
}

/* === FAQ === */
.faq h2 {
    margin-bottom: 36px;
}

details {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
}

details summary {
    cursor: pointer;
    padding: 18px 24px;
    font-weight: 600;
    list-style: none;
    position: relative;
}

details summary::after {
    content: "+";
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ink-soft);
    font-size: 1.4rem;
    font-weight: 400;
}

details[open] summary::after {
    content: "−";
}

details summary::-webkit-details-marker {
    display: none;
}

details p {
    padding: 0 24px 20px;
    margin: 0;
    color: var(--ink-mid);
}

/* === Pricing card === */
.price-card {
    background: linear-gradient(180deg, var(--paper-tint) 0%, var(--paper) 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
    margin: 32px 0;
    box-shadow: var(--shadow);
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--blue-deep);
    line-height: 1;
    letter-spacing: -0.03em;
}

.price-sub {
    color: var(--ink-soft);
    font-size: 0.95rem;
    margin-top: 6px;
    margin-bottom: 28px;
}

.price-includes {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    text-align: left;
    display: inline-block;
}

.price-includes li {
    padding: 6px 0 6px 28px;
    position: relative;
    color: var(--ink);
}

.price-includes li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--blue-mid);
    font-weight: 700;
}

/* === Legal pages (privacy / terms / refunds / pricing) === */
.legal {
    padding: 60px 0 80px;
}

.legal h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: 6px;
}

.legal .updated {
    color: var(--ink-soft);
    font-size: 0.92rem;
    margin-bottom: 36px;
}

.legal h2 {
    font-size: 1.25rem;
    text-align: left;
    margin: 36px 0 12px;
}

.legal p {
    margin-bottom: 14px;
    color: var(--ink);
}

/* === Footer === */
footer {
    padding: 36px 0;
    border-top: 1px solid var(--line);
    background: var(--paper-tint);
    font-size: 0.9rem;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink-mid);
}

.footer-left img { border-radius: 7px; }

.footer-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-right a {
    color: var(--ink-mid);
}

.copyright {
    color: var(--ink-soft);
}

/* === Responsive === */
@media (max-width: 600px) {
    section {
        padding: 60px 0;
    }
    .hero {
        padding: 56px 20px 72px;
    }
    .hero-icon {
        width: 140px;
        height: 140px;
        border-radius: 32px;
    }
    .steps li {
        grid-template-columns: 48px 1fr;
        gap: 16px;
    }
    .step-num {
        width: 44px;
        height: 44px;
        font-size: 1.15rem;
    }
}
