:root {
  --paper: #f6f3ec;
  --paper-2: #efeadf;
  --card: #ffffff;
  --ink: #15171b;
  --ink-2: #3c4048;
  --muted: #6b6f77;
  --line: #e2ddd1;
  --blue: #1f6feb;
  --blue-dark: #1558c4;
  --mark: #ffd34d;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(21, 23, 27, 0.06), 0 12px 32px -12px rgba(21, 23, 27, 0.18);
  --head: "Inter Tight", "Inter", -apple-system, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 Inter, -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(30px, 5vw, 44px); line-height: 1.08; font-weight: 800; max-width: 22ch; }
h3 { font-size: 20px; line-height: 1.25; font-weight: 700; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(31, 111, 235, 0.7); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { color: var(--ink); }
.btn-ghost:hover { background: rgba(21, 23, 27, 0.06); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 18px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(246, 243, 236, 0.86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 800; font-size: 20px; text-decoration: none; letter-spacing: -0.005em; }
.brand img { border-radius: 8px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }

/* Hero */
.hero { padding: 48px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); background: var(--card); border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #22a35a; box-shadow: 0 0 0 3px rgba(34, 163, 90, 0.18); }
.hero h1 { font-size: clamp(44px, 7vw, 76px); line-height: 1.02; font-weight: 800; letter-spacing: -0.015em; word-spacing: 0.04em; margin: 22px 0 22px; }
.mark { background: linear-gradient(transparent 62%, var(--mark) 62%, var(--mark) 92%, transparent 92%); padding: 0 4px; margin-left: -4px; }
.lede { font-size: 19px; color: var(--ink-2); max-width: 34em; }
.lede strong { color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.proof { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 26px 0 0; font-size: 15px; color: var(--muted); }
.proof li::before { content: "✓"; color: #22a35a; font-weight: 700; margin-right: 7px; }

.hero-visual { position: relative; display: flex; justify-content: center; padding: 30px 0; }
.phone { width: 290px; height: 590px; border-radius: 46px; background: #111; padding: 11px; box-shadow: 0 40px 80px -30px rgba(21, 23, 27, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.4); position: relative; transform: rotate(2deg); }
.phone-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #111; z-index: 2; }
.phone-screen { width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #fff; padding-top: 34px; }
.phone-screen img { width: 100%; height: auto; }
.bubble { position: absolute; z-index: 3; max-width: 250px; padding: 12px 16px; border-radius: 18px; font-size: 15px; line-height: 1.4; box-shadow: var(--shadow); }
.bubble-user { top: 8px; left: -6px; background: var(--ink); color: #fff; border-bottom-right-radius: 6px; transform: rotate(-2deg); }
.bubble-bot { bottom: 70px; right: -8px; background: var(--card); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.pdf-chip { position: absolute; z-index: 3; bottom: 14px; left: 4px; display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 9px 14px 9px 9px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow); transform: rotate(-1.5deg); }
.pdf-icon { display: inline-grid; place-items: center; width: 34px; height: 40px; border-radius: 6px; background: #e5484d; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 0.04em; }

/* Trades strip */
.trades { border-block: 1px solid var(--line); background: var(--paper-2); }
.trades-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; padding-block: 18px; font-family: var(--head); font-weight: 700; font-size: 16px; color: var(--ink-2); }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--paper-2); border-block: 1px solid var(--line); }
.kicker { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.kicker-light { color: #8db8ff; }

.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: #fff; font-family: var(--head); font-weight: 800; font-size: 19px; margin-bottom: 18px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--ink-2); font-size: 16px; }

.doc { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-top: 64px; }
.doc-flip .doc-copy { order: 2; }
.tag { display: inline-block; font-size: 13px; font-weight: 700; background: var(--ink); color: #fff; padding: 4px 12px; border-radius: 999px; margin-bottom: 16px; }
.doc h3 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 800; line-height: 1.12; margin-bottom: 14px; }
.doc-copy > p { color: var(--ink-2); }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E") center/14px no-repeat; }
.doc-shot { margin: 0; justify-self: center; width: min(340px, 100%); height: 520px; border-radius: 28px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.doc-shot img { width: 100%; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--ink-2); font-size: 16px; }

.privacy-band { background: var(--ink); color: #f2f2f3; }
.privacy-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.privacy-points { display: grid; gap: 18px; font-size: 18px; color: #c9ccd2; }
.privacy-points strong { color: #fff; }
.privacy-points a { color: #8db8ff; }

.get-steps { counter-reset: s; list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 14px; max-width: 640px; }
.get-steps li { counter-increment: s; position: relative; padding: 18px 20px 18px 66px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; font-size: 18px; }
.get-steps li::before { content: counter(s); position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 16px; }

.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; margin-top: 12px; max-width: 760px; }
.faq details:first-of-type { margin-top: 40px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 22px; font-weight: 600; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 20px; color: var(--ink-2); }

.final { padding: 96px 0; background: var(--blue); color: #fff; text-align: center; }
.final-inner { display: grid; justify-items: center; gap: 28px; }
.final h2 { max-width: 18ch; color: #fff; }
.final .btn-primary { background: #fff; color: var(--blue); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4); }
.final .btn-primary:hover { background: #f0f5ff; }

.footer { padding: 36px 0 calc(36px + env(safe-area-inset-bottom)); font-size: 15px; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { color: var(--ink); }
.footer p { margin-left: auto; }

@media (max-width: 900px) {
  .hero { padding-top: 28px; }
  .hero-grid, .doc, .privacy-grid { grid-template-columns: 1fr; gap: 40px; }
  .doc-flip .doc-copy { order: 0; }
  .steps, .features { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .section { padding: 72px 0; }
  .doc { margin-top: 56px; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .lede { font-size: 17px; }
  .cta-row .btn { width: 100%; }
  .phone { width: 250px; height: 510px; }
  .bubble { max-width: 210px; font-size: 14px; }
  .bubble-user { left: 0; }
  .bubble-bot { right: 0; }
  .doc-shot { height: 460px; }
  .footer p { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.nowrap { white-space: nowrap; }

/* Hero entrance */
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(0.96); } }
@keyframes rise { from { opacity: 0; transform: translateY(28px) rotate(2deg); } }
.pop { animation: pop 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.rise { animation: rise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.d1 { animation-delay: 0.15s; } .d2 { animation-delay: 0.35s; } .d3 { animation-delay: 1s; } .d4 { animation-delay: 1.35s; }

/* Notes -> PDF */
.notes { padding-top: 88px; }
.np-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; margin-top: 44px; }
.np-label { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.np-bubble { background: #e9e9eb; color: #15171b; border-radius: 22px 22px 22px 6px; padding: 16px 18px; font-size: 17px; line-height: 1.45; max-width: 440px; box-shadow: var(--shadow); }
.np-arrow { font-size: 44px; line-height: 1; color: var(--blue); margin: 26px 0 10px 8px; font-weight: 700; }
.stats { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 720px; }
.stats li { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.stats b { white-space: nowrap; display: block; font-family: var(--head); font-size: 28px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.stats span { font-size: 14px; color: var(--muted); }
.np-pdf { margin: 0; }
.np-pdf img { width: 100%; height: auto; border-radius: 10px; background: #fff; box-shadow: 0 30px 60px -25px rgba(21, 23, 27, 0.45), 0 0 0 1px var(--line); transform: rotate(-1deg); transition: transform 0.2s ease; }
.np-pdf a:hover img { transform: rotate(0) scale(1.01); }
.np-pdf figcaption { margin-top: 16px; font-weight: 600; }
.np-pdf figcaption a, .samples a { color: var(--blue); text-decoration: none; }
.samples { margin-top: 14px; color: var(--ink-2); }

/* Sticky mobile call to action */
.mobile-cta { display: none; }
@media (max-width: 900px) {
  .np-grid { grid-template-columns: 1fr; gap: 36px; }
  .np-arrow { transform: rotate(90deg); display: inline-block; margin: 14px 0 -10px 14px; }
  .stats b { font-size: 20px; }
  .stats span { font-size: 13px; }
  .stats li { padding: 12px; }
  .mobile-cta { display: block; transform: translateY(110%); transition: transform 0.25s ease; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(246, 243, 236, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .mobile-cta.show { transform: none; }
  .mobile-cta .btn { width: 100%; }
  body { padding-bottom: 76px; }
}
@media (prefers-reduced-motion: reduce) { .pop, .rise { animation: none; } }
