:root {
    --ink: #2b1b12;
    --ink-soft: #402b1d;
    --paper: #f8f3e9;
    --white: #fffdf8;
    --text: #322217;
    --muted: #756657;
    --line: #e8ddcc;
    --teal: #e1a33e;
    --teal-dark: #a76613;
    --blue: #93621f;
    --orange: #bb682e;
    --radius: 22px;
    --shadow: 0 30px 80px rgba(3, 20, 32, .18);
    font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--text); line-height: 1.55; }
body.menu-open { overflow: hidden; }
.compatibility-notice { display: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.eyebrow { margin: 0 0 14px; color: var(--teal-dark); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.035em; line-height: 1.05; }
h1 { max-width: 760px; margin-bottom: 24px; font-size: clamp(48px, 7.6vw, 104px); color: var(--white); }
h2 { max-width: 760px; margin-bottom: 22px; font-size: clamp(36px, 5vw, 66px); }
h3 { margin-bottom: 10px; font-size: clamp(21px, 2vw, 27px); }
.lead { max-width: 620px; color: #aec0cb; font-size: clamp(18px, 2vw, 22px); }
.section-lead { max-width: 690px; color: var(--muted); font-size: 18px; }
.skip-link { position: fixed; z-index: 99; top: 10px; left: 10px; padding: 10px 14px; border-radius: 8px; background: var(--white); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { position: absolute; z-index: 20; inset: 0 0 auto; color: var(--white); }
.nav { height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 850; letter-spacing: -.04em; }
.brand-mark { width: 34px; height: 34px; border: 2px solid var(--teal); border-radius: 10px; display: grid; place-items: center; transform: rotate(45deg); }
.brand-mark::after { content: ""; width: 11px; height: 11px; border-radius: 3px; background: var(--teal); }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 700; }
.nav-links a:not(.nav-cta) { color: #c7d5dc; }
.nav-links a:hover { color: var(--white); }
.nav-cta { padding: 12px 18px; border-radius: 10px; background: var(--teal); color: var(--ink); }
.menu-button { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; background: transparent; color: white; }

.hero { min-height: 100svh; padding: 145px 0 70px; overflow: hidden; position: relative; background: var(--ink); color: var(--white); }
.hero::before { content: ""; position: absolute; width: 720px; height: 720px; right: -300px; top: -260px; border: 1px solid rgba(225,163,62,.35); border-radius: 50%; box-shadow: 0 0 0 80px rgba(225,163,62,.04), 0 0 0 180px rgba(225,163,62,.025); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: clamp(45px, 7vw, 100px); }
.hero-copy { animation: hero-in .8s both; }
.hero .eyebrow { color: #f4ca78; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 50px; padding: 0 22px; border: 1px solid transparent; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 800; transition: transform .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--teal); color: var(--ink); }
.button-primary:hover { background: #efba5b; }
.button-secondary { border-color: rgba(255,255,255,.2); color: var(--white); }
.button-secondary:hover { border-color: var(--teal); }
.button-light { background: var(--white); color: var(--ink); }
.hero-note { margin: 20px 0 0; color: #78909e; font-size: 13px; }

.product-scene { min-width: 0; animation: hero-in .8s .16s both; perspective: 1200px; }
.app-window { border: 1px solid rgba(255,255,255,.16); border-radius: 20px; overflow: hidden; background: #f4f6fa; box-shadow: var(--shadow); color: #131a26; transform: rotateY(-5deg) rotateX(2deg); transition: transform .5s ease; }
.app-window:hover { transform: rotateY(0) rotateX(0) translateY(-5px); }
.window-bar { height: 36px; padding: 0 14px; display: flex; align-items: center; gap: 6px; background: #fff; border-bottom: 1px solid #dfe4ec; }
.window-bar i { width: 7px; height: 7px; border-radius: 50%; background: #cbd5e1; }
.window-body { min-height: 450px; display: grid; grid-template-columns: 112px 1fr; }
.mock-nav { padding: 22px 12px; background: #fff; border-right: 1px solid #dfe4ec; }
.mock-brand { margin-bottom: 28px; color: var(--teal-dark); font-weight: 900; }
.mock-link { margin: 8px 0; padding: 8px; border-radius: 7px; color: #64748b; font-size: 10px; font-weight: 700; }
.mock-link.active { border-left: 3px solid var(--blue); background: #eef1f7; color: var(--blue); }
.mock-main { min-width: 0; padding: 24px; }
.mock-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.mock-top strong { font-size: 15px; }
.status-dot { padding: 5px 9px; border-radius: 99px; background: #d1fae5; color: #047857; font-size: 9px; font-weight: 800; }
.mock-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.mock-metric { padding: 13px; border: 1px solid #dfe4ec; border-radius: 10px; background: #fff; }
.mock-metric small { display: block; color: #64748b; font-size: 8px; }
.mock-metric b { font-size: 14px; }
.mock-alert { color: var(--orange); }
.mock-title { margin: 26px 0 12px; font-size: 12px; }
.sale-row { display: grid; grid-template-columns: 1fr 62px 62px; align-items: center; gap: 8px; margin: 7px 0; padding: 11px 12px; border: 1px solid #dfe4ec; border-radius: 9px; background: #fff; font-size: 9px; }
.sale-row b:last-child { text-align: right; color: var(--teal-dark); }
.mock-action { width: 100%; height: 35px; margin-top: 16px; border: 0; border-radius: 8px; background: var(--teal); color: white; font-weight: 800; font-size: 10px; }

.trust-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-grid { min-height: 96px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; }
.trust-item { padding: 10px 28px; border-right: 1px solid var(--line); }
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border: 0; }
.trust-item strong { display: block; font-size: 15px; }
.trust-item span { color: var(--muted); font-size: 13px; }

.section { padding: clamp(80px, 11vw, 150px) 0; }
.section-dark { background: var(--ink); color: var(--white); }
.section-dark .section-lead { color: #91a6b2; }
.audience-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 10vw, 140px); align-items: start; }
.audience-list { border-top: 1px solid var(--line); }
.audience-item { padding: 25px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 48px 1fr; gap: 18px; }
.audience-number { color: var(--teal-dark); font-weight: 850; }
.audience-item p { margin: 0; color: var(--muted); }

.flow-head { margin-bottom: 70px; }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); }
.flow-step { position: relative; padding: 30px 24px 10px 0; border-top: 1px solid #294050; }
.flow-step::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); }
.flow-step span { color: #f4ca78; font-size: 12px; font-weight: 800; }
.flow-step h3 { margin-top: 18px; color: var(--white); }
.flow-step p { color: #91a6b2; font-size: 14px; }

.feature-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 10vw, 140px); }
.feature-sticky { position: sticky; top: 40px; align-self: start; }
.feature-list { border-top: 1px solid var(--line); }
.feature { padding: 34px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 50px 1fr; gap: 18px; }
.feature-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #f8e8c8; color: var(--teal-dark); font-weight: 900; }
.feature p { margin-bottom: 0; color: var(--muted); }

.cta { padding: 0 0 clamp(40px, 6vw, 80px); background: var(--paper); }
.cta-panel { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 90px); border-radius: 28px; background: var(--teal); color: var(--ink); }
.cta-panel::after { content: ""; position: absolute; width: 330px; height: 330px; right: -90px; bottom: -180px; border: 55px solid rgba(255,255,255,.2); border-radius: 50%; }
.cta-panel h2 { max-width: 720px; }
.cta-panel p { max-width: 560px; font-size: 18px; }
.cta-actions { position: relative; z-index: 1; margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }

.site-footer { padding: 34px 0; background: var(--ink); color: #91a6b2; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-links { display: flex; gap: 24px; font-size: 14px; }
.footer-links a:hover { color: white; }

/* Plans */
.plans-hero { padding-bottom: 110px; min-height: auto; }
.plans-hero h1 { max-width: 900px; font-size: clamp(48px, 7vw, 90px); }
.plans-section { margin-top: -54px; position: relative; z-index: 3; padding: 0 0 110px; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan { min-width: 0; padding: 34px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--teal); box-shadow: 0 24px 60px rgba(167,102,19,.16); transform: translateY(-14px); }
.plan-tag { align-self: flex-start; margin-bottom: 28px; padding: 5px 9px; border-radius: 99px; background: #f8e8c8; color: var(--teal-dark); font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.plan-name { margin-bottom: 10px; font-size: 28px; }
.plan-for { min-height: 50px; color: var(--muted); font-size: 14px; }
.price { margin: 28px 0; padding: 22px 0; border-block: 1px solid var(--line); }
.price strong { display: block; font-size: clamp(28px, 3vw, 40px); }
.price span { color: var(--muted); font-size: 12px; }
.plan ul { margin: 0 0 34px; padding: 0; list-style: none; }
.plan li { margin: 13px 0; padding-left: 25px; position: relative; font-size: 14px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--teal-dark); font-weight: 900; }
.plan .button { margin-top: auto; border-color: var(--line); }
.plan .button-primary { border-color: transparent; }
.plans-note { margin-top: 22px; color: var(--muted); text-align: center; font-size: 13px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@keyframes hero-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

@media (max-width: 850px) {
    .shell { width: min(100% - 28px, 680px); }
    .menu-button { display: grid; place-items: center; }
    .nav-links { position: fixed; inset: 72px 14px auto; padding: 24px; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: #28191c; display: none; flex-direction: column; align-items: stretch; box-shadow: var(--shadow); }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 8px; }
    .hero { padding-top: 125px; }
    .hero-grid, .audience-layout, .feature-layout { grid-template-columns: 1fr; }
    .product-scene { width: min(100%, 570px); margin-inline: auto; }
    .app-window { transform: none; }
    .trust-grid { grid-template-columns: 1fr; padding: 16px 0; }
    .trust-item, .trust-item:first-child { padding: 12px 0; border-right: 0; border-bottom: 1px solid var(--line); }
    .trust-item:last-child { border-bottom: 0; }
    .flow { grid-template-columns: repeat(2, 1fr); gap: 34px 16px; }
    .feature-sticky { position: static; }
    .plan-grid { grid-template-columns: 1fr; }
    .plan.featured { transform: none; }
}

@media (max-width: 520px) {
    h1 { font-size: clamp(43px, 14vw, 66px); }
    .window-body { min-height: 370px; grid-template-columns: 74px 1fr; }
    .mock-nav { padding: 16px 7px; }
    .mock-link { padding: 6px 3px; font-size: 8px; }
    .mock-main { padding: 15px 10px; }
    .mock-metrics { grid-template-columns: 1fr 1fr; }
    .mock-metric:last-child { display: none; }
    .sale-row { grid-template-columns: 1fr 44px; }
    .sale-row span:nth-child(2) { display: none; }
    .flow { grid-template-columns: 1fr; }
    .footer-grid { align-items: flex-start; flex-direction: column; }
    .footer-links { flex-wrap: wrap; }
    .cta-actions, .hero-actions { flex-direction: column; }
    .button { width: 100%; }
    .plan { padding: 26px; }
}

@media (max-width: 374px) {
    body > :not(.compatibility-notice) { display: none; }
    .compatibility-notice { display: block; margin: 0; min-height: 100svh; padding: 32px 22px; background: var(--ink); color: var(--white); font-weight: 700; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}
