@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Fraunces:opsz,wght@9..144,600;9..144,700&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --ink: #07111f;
  --navy: #0d1c2e;
  --blue: #185b8c;
  --blue-light: #58b6e6;
  --paper: #f6f0e4;
  --paper-deep: #e7dfd0;
  --gold: #d9b86c;
  --gold-bright: #f0cf82;
  --emerald: #43c59e;
  --coral: #ed6a7c;
  --text: #f9f6ef;
  --muted: #a8b4c3;
  --line: rgba(240, 207, 130, .22);
  --display: "Fraunces", Georgia, serif;
  --body: "Manrope", sans-serif;
  --mono: "DM Mono", monospace;
  --radius: 24px;
  --shadow: 0 32px 90px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 8%, rgba(24, 91, 140, .36), transparent 29rem),
    radial-gradient(circle at 8% 36%, rgba(67, 197, 158, .1), transparent 25rem),
    var(--ink);
  font-family: var(--body);
  line-height: 1.65;
  overflow-x: clip;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: .22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 4px; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 999; padding: 12px 16px; color: var(--ink); background: var(--gold-bright); border-radius: 10px; }
.skip-link:focus { top: 16px; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 112px 0; position: relative; }
.section--paper { color: var(--ink); background: var(--paper); }
.section--paper::before, .section--paper::after { position: absolute; inset-inline: 0; height: 18px; content: ""; opacity: .3; background: repeating-linear-gradient(90deg, transparent 0 11px, var(--ink) 12px 13px); }
.section--paper::before { top: 0; }
.section--paper::after { bottom: 0; }
.eyebrow { margin: 0 0 14px; color: var(--gold-bright); font: 500 .74rem/1.2 var(--mono); letter-spacing: .15em; text-transform: uppercase; }
.section--paper .eyebrow { color: var(--blue); }
h1, h2, h3 { margin: 0; font-family: var(--display); line-height: 1.02; letter-spacing: -.035em; overflow-wrap: anywhere; min-width: 0; }
h1 { font-size: clamp(3.5rem, 8.6vw, 7.9rem); max-width: 850px; }
h2 { font-size: clamp(2.5rem, 5vw, 5rem); max-width: 790px; }
h3 { font-size: clamp(1.35rem, 2.2vw, 2rem); }
p { margin: 0; }
.lede { max-width: 680px; margin-top: 24px; color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.28rem); }
.section--paper .lede { color: rgba(7, 17, 31, .7); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); align-items: end; gap: 48px; margin-bottom: 60px; }
.section-head > p { color: var(--muted); }
.section--paper .section-head > p { color: rgba(7, 17, 31, .65); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; padding: 14px 0; transition: background .25s, border .25s; }
.site-header.scrolled { background: rgba(7, 17, 31, .84); border-bottom: 1px solid rgba(240, 207, 130, .15); backdrop-filter: blur(20px); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 52px; }
.brand { display: inline-flex; gap: 11px; align-items: center; font-weight: 700; }
.brand img { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 5px 18px rgba(0,0,0,.28); }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: .88rem; }
.nav-links a:not(.button) { color: #c8d0da; }
.nav-links a:not(.button):hover { color: var(--gold-bright); }
.menu-button { display: none; border: 0; color: var(--text); background: transparent; font: inherit; }
.button { display: inline-flex; min-height: 48px; padding: 12px 20px; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 999px; font-size: .9rem; font-weight: 700; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: var(--ink); background: var(--gold-bright); box-shadow: 0 12px 30px rgba(217,184,108,.18); }
.button--primary:hover { background: #f8db99; box-shadow: 0 16px 35px rgba(217,184,108,.28); }
.button--ghost { border-color: var(--line); background: rgba(255,255,255,.04); }
.button--small { min-height: 40px; padding: 9px 16px; font-size: .78rem; }

.hero { min-height: 920px; padding: 170px 0 90px; display: flex; align-items: center; position: relative; overflow: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(360px, .72fr); align-items: center; gap: 68px; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 em { color: var(--gold-bright); font-style: normal; }
.hero .lede strong { color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 32px; color: #9eacbc; font-size: .8rem; }
.trust-row span::before { content: "✓"; margin-right: 7px; color: var(--emerald); }
.hero-visual { position: relative; min-height: 690px; }
.orbit { position: absolute; width: 620px; height: 620px; top: 6%; left: 50%; border: 1px solid rgba(240,207,130,.15); border-radius: 50%; transform: translateX(-50%); }
.orbit::before, .orbit::after { position: absolute; inset: 13%; content: ""; border: 1px solid rgba(88,182,230,.12); border-radius: 50%; }
.orbit::after { inset: 28%; }
.phone { position: absolute; left: 50%; top: 0; width: 340px; padding: 9px; border: 1px solid rgba(255,255,255,.16); border-radius: 52px; background: #02060b; box-shadow: var(--shadow); transform: translateX(-50%) rotate(2deg); animation: float 6s ease-in-out infinite; }
.phone img { width: 100%; border-radius: 43px; }
.mini-stamp { position: absolute; display: grid; place-items: center; width: 118px; aspect-ratio: 1; color: var(--paper); border: 3px double currentColor; border-radius: 50%; font: 500 .65rem/1.35 var(--mono); letter-spacing: .08em; text-align: center; text-transform: uppercase; opacity: .72; }
.mini-stamp--one { right: -5%; top: 12%; color: var(--emerald); transform: rotate(12deg); }
.mini-stamp--two { left: -5%; bottom: 12%; color: var(--coral); transform: rotate(-15deg); }
.scroll-cue { position: absolute; bottom: 30px; left: 50%; color: var(--muted); font: .66rem var(--mono); letter-spacing: .12em; text-transform: uppercase; transform: translateX(-50%); }
@keyframes float { 0%,100% { transform: translateX(-50%) rotate(2deg) translateY(0); } 50% { transform: translateX(-50%) rotate(-1deg) translateY(-14px); } }

.proof-strip { border-block: 1px solid var(--line); background: rgba(13, 28, 46, .52); }
.proof-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proof { padding: 28px 26px; border-right: 1px solid var(--line); }
.proof:first-child { border-left: 1px solid var(--line); }
.proof strong { display: block; color: var(--gold-bright); font: 600 2rem var(--display); }
.proof span { color: var(--muted); font-size: .78rem; }

.feature-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.feature-card { min-height: 310px; padding: 30px; position: relative; overflow: hidden; border: 1px solid rgba(7,17,31,.12); border-radius: var(--radius); background: rgba(255,255,255,.45); }
.feature-card:nth-child(1), .feature-card:nth-child(4) { grid-column: span 7; }
.feature-card:nth-child(2), .feature-card:nth-child(3) { grid-column: span 5; }
.feature-card h3 { max-width: 380px; margin-top: 70px; }
.feature-card p { max-width: 470px; margin-top: 14px; color: rgba(7,17,31,.66); }
.feature-no { position: absolute; top: 25px; left: 30px; color: var(--blue); font: 500 .72rem var(--mono); }
.feature-mark { position: absolute; right: -18px; top: -26px; width: 150px; height: 150px; opacity: .13; border: 14px double var(--blue); border-radius: 50%; }

.screens { overflow: hidden; }
.screens-track { display: grid; grid-template-columns: repeat(3, minmax(260px, 1fr)); gap: 26px; align-items: center; }
.screen-card { position: relative; }
.screen-card:nth-child(2) { transform: translateY(42px); }
.screen-frame { padding: 7px; border: 1px solid rgba(255,255,255,.15); border-radius: 42px; background: #02060b; box-shadow: 0 28px 70px rgba(0,0,0,.32); }
.screen-frame img { width: 100%; height: auto; aspect-ratio: 1206 / 2622; border-radius: 36px; }
.screen-card figcaption { margin-top: 18px; color: var(--muted); font-size: .86rem; }
.screen-card figcaption strong { color: var(--text); }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; margin-top: 54px; }
.step { counter-increment: step; padding: 28px; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.055), transparent); }
.step::before { display: block; margin-bottom: 70px; color: var(--gold-bright); content: "0" counter(step); font: 500 .72rem var(--mono); }
.step p { margin-top: 14px; color: var(--muted); }
.privacy-note { display: grid; grid-template-columns: auto 1fr; gap: 18px; max-width: 800px; margin-top: 32px; padding: 22px; border: 1px solid rgba(67,197,158,.25); border-radius: 16px; background: rgba(67,197,158,.07); color: #c8d9d3; }
.privacy-note span { color: var(--emerald); font-size: 1.4rem; }

.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-top: 54px; }
.guide-card { min-height: 270px; padding: 26px; display: flex; flex-direction: column; border: 1px solid rgba(7,17,31,.12); border-radius: 18px; background: rgba(255,255,255,.4); transition: transform .2s, background .2s; }
.guide-card:hover { transform: translateY(-5px); background: #fffaf0; }
.guide-card .tag { color: var(--blue); font: 500 .67rem var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.guide-card h3 { margin-top: 24px; font-size: 1.55rem; }
.guide-card p { margin-top: 12px; color: rgba(7,17,31,.62); font-size: .9rem; }
.guide-card .arrow { margin-top: auto; color: var(--blue); font-weight: 700; }

.faq-list { margin-top: 52px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { padding: 26px 50px 26px 0; position: relative; cursor: pointer; list-style: none; font: 600 clamp(1.2rem, 2vw, 1.6rem) var(--display); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { position: absolute; right: 3px; content: "+"; color: var(--gold-bright); font-family: var(--body); }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { max-width: 800px; padding: 0 0 26px; color: var(--muted); }
.learn-more { display: inline-block; margin-top: 12px; color: var(--gold-bright); font-weight: 700; }

.download-card { padding: clamp(34px, 6vw, 80px); position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 34px; background: linear-gradient(135deg, rgba(24,91,140,.62), rgba(13,28,46,.92)); box-shadow: var(--shadow); }
.download-grid { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 50px; }
.download-card h2 { max-width: 720px; }
.download-card p { max-width: 620px; margin-top: 18px; color: #c4cfdb; }
.app-badge { display: inline-flex; align-items: center; gap: 13px; margin-top: 28px; padding: 11px 18px; color: white; border: 1px solid rgba(255,255,255,.38); border-radius: 12px; background: #020408; }
.app-badge svg { width: 27px; }
.app-badge small, .app-badge strong { display: block; line-height: 1.15; }
.app-badge small { font-size: .63rem; }
.app-badge strong { font-size: 1.15rem; }
.download-icon { width: 180px; border-radius: 40px; box-shadow: 0 30px 60px rgba(0,0,0,.32); transform: rotate(5deg); }
.pending-note { margin-top: 14px; color: #aebac7; font-size: .76rem; }

.site-footer { padding: 50px 0 28px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3, .6fr); gap: 45px; }
.footer-brand p { max-width: 370px; margin-top: 16px; color: var(--muted); font-size: .88rem; }
.footer-col h3 { margin-bottom: 15px; color: var(--gold-bright); font: 500 .7rem var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.footer-col a { display: block; margin: 9px 0; color: #aeb8c5; font-size: .85rem; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 46px; padding-top: 22px; color: #7f8b9a; border-top: 1px solid rgba(255,255,255,.07); font-size: .75rem; }

/* Guide pages */
.guide-hero { padding: 150px 0 78px; border-bottom: 1px solid var(--line); }
.breadcrumbs { margin-bottom: 30px; color: var(--muted); font: .7rem var(--mono); }
.breadcrumbs a { color: var(--gold-bright); }
.guide-hero h1 { max-width: 980px; font-size: clamp(3rem, 7vw, 6.4rem); }
.guide-meta { display: flex; flex-wrap: wrap; gap: 16px 30px; margin-top: 28px; color: var(--muted); font: .72rem var(--mono); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 80px; padding: 80px 0 110px; }
.article { max-width: 760px; }
.article h2 { margin: 66px 0 20px; font-size: clamp(2rem, 4vw, 3.5rem); }
.article h3 { margin: 38px 0 14px; font-family: var(--body); font-size: 1.15rem; letter-spacing: -.02em; }
.article p, .article li { color: #c3ccd7; }
.article p + p { margin-top: 18px; }
.article ul, .article ol { padding-left: 22px; }
.article li + li { margin-top: 10px; }
.article strong { color: var(--text); }
.callout { margin: 34px 0; padding: 24px; border-left: 4px solid var(--gold-bright); background: rgba(255,255,255,.055); }
.callout p { color: #d7dee7; }
.article-cta { margin-top: 65px; padding: 30px; color: var(--ink); border-radius: 22px; background: var(--paper); }
.article-cta p { margin-top: 12px; color: rgba(7,17,31,.68); }
.article-cta .button { margin-top: 22px; color: var(--paper); background: var(--blue); }
.toc { position: sticky; top: 100px; align-self: start; padding-left: 22px; border-left: 1px solid var(--line); }
.toc strong { display: block; margin-bottom: 16px; color: var(--gold-bright); font: .7rem var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.toc a { display: block; margin: 12px 0; color: var(--muted); font-size: .8rem; }
.toc a:hover { color: var(--text); }

/* Legal pages */
.legal-hero { padding: 150px 0 72px; border-bottom: 1px solid var(--line); }
.legal-shell { max-width: 980px; }
.legal-hero h1 { max-width: 900px; font-size: clamp(3rem, 7vw, 6.4rem); }
.legal-hero .lede { max-width: 720px; margin-top: 20px; }
.legal-effective { margin-top: 24px; color: var(--gold-bright); font: 500 .72rem var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.legal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 80px; padding-top: 72px; padding-bottom: 110px; }
.legal-article { max-width: 780px; }
.legal-article h2:first-child { margin-top: 0; }
.legal-article a { color: var(--gold-bright); text-decoration: underline; text-decoration-color: rgba(230,195,114,.38); text-underline-offset: 3px; }
.legal-article a:hover { text-decoration-color: currentColor; }
.legal-toc { max-height: calc(100vh - 140px); overflow-y: auto; scrollbar-width: thin; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } .reveal { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .section { padding: 82px 0; }
  .section-head, .hero-grid, .download-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 145px; }
  .hero-visual { min-height: 610px; }
  .phone { width: 310px; }
  .orbit { width: 530px; height: 530px; }
  .proof-grid { grid-template-columns: repeat(2,1fr); }
  .feature-card:nth-child(n) { grid-column: span 6; }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr repeat(2,.6fr); }
  .footer-brand { grid-row: span 2; }
  .article-layout, .legal-layout { grid-template-columns: 1fr; gap: 30px; }
  .toc { position: static; order: -1; }
  .download-icon { width: 130px; }
}
@media (max-width: 680px) {
  .shell { width: min(100% - 28px, 1180px); }
  .nav-links { display: none; position: absolute; inset: 68px 14px auto; padding: 20px; flex-direction: column; align-items: stretch; border: 1px solid var(--line); border-radius: 18px; background: rgba(7,17,31,.97); }
  .nav-links.open { display: flex; }
  .menu-button { display: inline-flex; }
  .hero { min-height: auto; padding-bottom: 60px; }
  .hero-grid { gap: 42px; }
  .hero-visual { min-height: 540px; }
  .phone { width: 276px; border-radius: 44px; }
  .phone img { border-radius: 36px; }
  .orbit { width: 440px; height: 440px; }
  .mini-stamp { width: 88px; }
  .proof-grid, .steps, .guide-grid, .footer-grid { grid-template-columns: 1fr; }
  .proof { border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .feature-card:nth-child(n) { grid-column: 1 / -1; min-height: 280px; }
  .screens-track { display: flex; width: max-content; padding-right: 20px; }
  .screen-card { width: min(78vw, 310px); }
  .screen-card:nth-child(2) { transform: none; }
  .screens { overflow-x: auto; scroll-snap-type: x mandatory; }
  .screen-card { scroll-snap-align: center; }
  .download-icon { display: none; }
  .footer-brand { grid-row: auto; }
  .footer-bottom { flex-direction: column; }
  .section-head { gap: 20px; }
}
