:root {
  --ink: #f7f4ec;
  --muted: #bebad0;
  --dim: #8e8aa5;
  --night: #16152f;
  --night-deep: #0d0c20;
  --panel: #211f45;
  --panel-soft: #292650;
  --gold: #f5c65a;
  --gold-bright: #ffdb7f;
  --line: rgba(247, 244, 236, .15);
  --max: 1160px;
  color: var(--ink);
  background: var(--night-deep);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--night-deep); line-height: 1.5; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link { position: fixed; z-index: 30; top: 10px; left: 10px; padding: 10px 14px; color: var(--night-deep); background: var(--gold); border-radius: 6px; font-weight: 800; transform: translateY(-170%); }
.skip-link:focus { transform: translateY(0); }

.site-header,
.site-footer,
.hero,
.section,
.proof-strip,
.final-cta { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }

.site-header { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 1.22rem; font-weight: 900; letter-spacing: -.04em; text-decoration: none; }
.brand-mark { width: 32px; height: 32px; display: inline-grid; place-items: center; color: var(--night-deep); background: var(--gold); border-radius: 9px 9px 12px 9px; font-family: Georgia, serif; font-size: 1.3rem; font-weight: 900; line-height: 1; }
.site-header nav,
.site-footer nav { display: flex; align-items: center; gap: 26px; }
.site-header nav a,
.site-footer nav a { color: var(--ink); font-size: .9rem; font-weight: 750; text-decoration: none; }
.site-header nav a:not(.header-cta):hover,
.site-footer nav a:hover { color: var(--gold-bright); text-decoration: underline; text-underline-offset: 5px; }
.header-cta { padding: 10px 15px; color: var(--night-deep) !important; background: var(--gold); border: 1px solid var(--gold); border-radius: 999px; }
.header-cta:hover { background: var(--gold-bright); }

.hero { min-height: 720px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(44px, 8vw, 110px); padding: 68px 0 100px; }
.eyebrow { margin: 0 0 20px; color: var(--gold); font-size: .72rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; letter-spacing: -.055em; line-height: .98; text-wrap: balance; }
h1 { max-width: 8.8ch; font-size: clamp(3.75rem, 7.1vw, 7rem); }
h2 { font-size: clamp(2.7rem, 5vw, 5rem); }
h3 { font-size: 1.42rem; }
.hero-lede { max-width: 38ch; margin: 30px 0 0; color: var(--muted); font-size: clamp(1.13rem, 1.8vw, 1.35rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 34px; }
.button { min-height: 53px; display: inline-flex; align-items: center; justify-content: center; gap: 30px; padding: 0 22px; color: var(--night-deep); background: var(--gold); border: 1px solid var(--gold); border-radius: 999px; font-weight: 850; text-align: center; text-decoration: none; }
.button:hover { color: var(--night-deep); background: var(--gold-bright); border-color: var(--gold-bright); }
.text-link { color: var(--ink); border-bottom: 1px solid currentColor; font-weight: 800; text-decoration: none; }
.text-link:hover { color: var(--gold-bright); }
.platform-note { margin: 24px 0 0; color: var(--dim); font-size: .9rem; }

.hero-art { position: relative; min-height: 570px; display: grid; place-items: center; }
.hero-glow { position: absolute; width: 78%; aspect-ratio: 1; background: radial-gradient(circle, rgba(245,198,90,.36) 0, rgba(130,96,221,.18) 36%, transparent 70%); filter: blur(8px); }
.phone-frame { position: relative; z-index: 1; width: min(86%, 324px); overflow: hidden; border: 8px solid #080817; border-radius: 42px; box-shadow: 0 28px 70px rgba(0, 0, 0, .48), 0 0 0 1px rgba(255, 255, 255, .18); transform: rotate(4deg); }
.phone-frame img { width: 100%; height: auto; }
.hero-caption { position: absolute; z-index: 2; right: -8px; bottom: 28px; max-width: 21ch; margin: 0; padding: 12px 15px; color: var(--night-deep); background: var(--gold); border-radius: 3px 12px 12px 12px; font-size: .89rem; font-weight: 800; line-height: 1.3; transform: rotate(-3deg); }

.proof-strip { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-strip p { min-height: 122px; display: flex; flex-direction: column; justify-content: center; gap: 6px; margin: 0; padding: 20px clamp(18px, 3vw, 40px); border-right: 1px solid var(--line); }
.proof-strip p:last-child { border-right: 0; }
.proof-strip strong { color: var(--gold); font-size: 1rem; }
.proof-strip span { color: var(--muted); font-size: .9rem; }

.section { padding: 118px 0; }
.section-intro { max-width: 700px; }
.section-intro > p:last-child { max-width: 55ch; margin: 28px 0 0; color: var(--muted); font-size: 1.1rem; }
.steps { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(50px, 10vw, 155px); }
.step-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.step-list li { display: grid; grid-template-columns: 82px 1fr; gap: 20px; padding: 25px 0; border-top: 1px solid var(--line); }
.step-list li:last-child { border-bottom: 1px solid var(--line); }
.step-number { color: var(--gold); font-size: .78rem; font-weight: 850; letter-spacing: .12em; }
.step-list p { max-width: 42ch; margin: 13px 0 0; color: var(--muted); }

.section--deep { width: 100%; max-width: none; padding-inline: max(20px, calc((100vw - var(--max)) / 2)); color: var(--ink); background: var(--night); }
.section--deep .section-intro { max-width: 740px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 60px; }
.feature-grid article { min-height: 278px; padding: 30px; background: var(--panel); border: 1px solid rgba(255,255,255,.09); border-radius: 20px; }
.feature-icon { width: 42px; height: 42px; display: inline-grid; place-items: center; margin-bottom: 58px; color: var(--night-deep); background: var(--gold); border-radius: 13px; font-size: 1.2rem; font-weight: 900; }
.feature-grid p { margin: 14px 0 0; color: var(--muted); }

.plans { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(45px, 8vw, 110px); }
.plans-intro { align-self: start; position: sticky; top: 28px; }
.plan-grid { display: grid; gap: 18px; }
.plan-card { padding: 31px; background: #1b1938; border: 1px solid var(--line); border-radius: 20px; }
.plan-card--pro { background: linear-gradient(145deg, #2d285a, #1d1b3d 67%); border-color: rgba(245,198,90,.52); }
.plan-label { margin: 0 0 18px; color: var(--gold); font-size: .76rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.plan-card ul { display: grid; gap: 11px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--muted); }
.plan-card li { position: relative; padding-left: 23px; }
.plan-card li::before { content: ""; position: absolute; top: .57em; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.plan-card .text-link { display: inline-block; margin-top: 28px; }
.fine-print { grid-column: 2; margin: -2px 0 0; color: var(--dim); font-size: .84rem; }

.privacy { display: grid; grid-template-columns: 1fr .86fr; gap: clamp(50px, 10vw, 150px); border-top: 1px solid var(--line); }
.privacy-copy p:not(.eyebrow) { max-width: 58ch; margin: 25px 0 0; color: var(--muted); font-size: 1.08rem; }
.privacy-copy .text-link { display: inline-block; margin-top: 28px; }
.privacy-points { display: grid; align-content: center; gap: 0; margin: 0; }
.privacy-points p { display: grid; gap: 7px; margin: 0; padding: 22px 0; border-top: 1px solid var(--line); }
.privacy-points p:last-child { border-bottom: 1px solid var(--line); }
.privacy-points strong { color: var(--gold); }
.privacy-points span { color: var(--muted); }

.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(48px, 9vw, 132px); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 22px 38px 22px 0; cursor: pointer; font-size: 1.13rem; font-weight: 800; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 3px; color: var(--gold); font-size: 1.45rem; font-weight: 500; line-height: .8; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 56ch; margin: 0; padding: 0 28px 24px 0; color: var(--muted); }

.final-cta { width: min(var(--max), calc(100% - 40px)); display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 84px; padding: clamp(34px, 6vw, 72px); color: var(--night-deep); background: var(--gold); border-radius: 28px; }
.final-cta .eyebrow { color: #534217; }
.final-cta h2 { max-width: 8ch; }
.final-cta p:not(.eyebrow) { max-width: 39ch; margin: 20px 0 0; color: #4c411f; font-size: 1.1rem; }
.button--light { flex: 0 0 auto; color: var(--ink); background: var(--night-deep); border-color: var(--night-deep); }
.button--light:hover { color: var(--ink); background: #292750; border-color: #292750; }

.site-footer { display: grid; grid-template-columns: 1fr 1.3fr; gap: 30px; padding: 0 0 44px; }
.site-footer > div > p { margin: 15px 0 0; color: var(--dim); }
.site-footer nav { justify-content: flex-end; flex-wrap: wrap; align-content: start; }
.site-footer nav [data-analytics-settings]:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.site-footer .copyright { grid-column: 1 / -1; margin: 24px 0 0; padding-top: 24px; color: var(--dim); border-top: 1px solid var(--line); font-size: .86rem; }

.consent { position: fixed; z-index: 20; left: 24px; right: 24px; bottom: 24px; max-width: 920px; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0 auto; padding: 20px; color: var(--night-deep); background: #fffdf6; border: 1px solid #d9d1b8; box-shadow: 0 20px 60px rgba(0,0,0,.45); }
.consent[hidden] { display: none; }
.consent strong { font-size: 1rem; }
.consent p { margin: 5px 0 0; color: #575165; font-size: .9rem; }
.consent #analytics-consent-status:not(:empty) { font-weight: 700; }
.consent-actions { display: flex; gap: 8px; flex: 0 0 auto; }
.consent button { min-height: 43px; padding: 0 17px; color: #fffdf6; background: var(--night-deep); border: 1px solid var(--night-deep); font: inherit; font-weight: 800; cursor: pointer; }
.consent button.secondary { color: var(--night-deep); background: transparent; }
.consent button:disabled { cursor: not-allowed; opacity: .55; }

@media (max-width: 880px) {
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 66px; }
  .hero-copy { max-width: 680px; }
  .hero-art { min-height: 500px; }
  .phone-frame { width: min(76%, 300px); }
  .proof-strip { grid-template-columns: 1fr; }
  .proof-strip p { min-height: auto; padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-strip p:last-child { border-bottom: 0; }
  .steps, .plans, .privacy, .faq { grid-template-columns: 1fr; }
  .plans-intro { position: static; }
  .fine-print { grid-column: 1; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 0; }
  .feature-icon { margin-bottom: 36px; }
}

@media (max-width: 620px) {
  .site-header,
  .site-footer,
  .hero,
  .section,
  .proof-strip,
  .final-cta { width: min(var(--max), calc(100% - 28px)); }
  .site-header { min-height: 72px; }
  .site-header nav a:not(.header-cta) { display: none; }
  .header-cta { padding: 9px 12px; font-size: .8rem !important; }
  .hero { gap: 36px; padding: 52px 0 76px; }
  h1 { font-size: clamp(3.4rem, 15vw, 5.1rem); }
  h2 { font-size: clamp(2.55rem, 12vw, 3.8rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .hero-art { min-height: 425px; }
  .phone-frame { width: min(78%, 258px); border-width: 6px; border-radius: 32px; }
  .hero-caption { right: 0; bottom: 12px; max-width: 18ch; }
  .section { padding: 82px 0; }
  .step-list li { grid-template-columns: 58px 1fr; gap: 13px; }
  .section--deep { padding-inline: 14px; }
  .feature-grid { margin-top: 44px; }
  .plan-card { padding: 25px; }
  .final-cta { align-items: flex-start; flex-direction: column; margin-bottom: 58px; padding: 34px 26px; border-radius: 20px; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: flex-start; gap: 18px; }
  .consent { left: 14px; right: 14px; bottom: 14px; align-items: stretch; flex-direction: column; }
  .consent-actions button { flex: 1; }
}

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