/* ═══════════════════════════════════════════════════════════════════════════
   PocketRep — shared brand design system
   Single source for the funnel (landing + both thank-you pages). Faithfully
   extracted from the "closer that never sleeps" landing (Pocketrep/index.html),
   which stays the canonical reference. Thank-you pages link this so the whole
   flow reads as one project. Keep in sync with the landing.
   ═══════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* ink hierarchy (cool near-black) */
  --bg:        #07080c;
  --bg-2:      #0a0c12;
  --surface:   #0f121b;
  --surface-2: #141826;
  --surface-3: #1b2030;
  --line:      rgba(255,255,255,0.08);
  --line-2:    rgba(255,255,255,0.14);
  /* text */
  --ink:    #f3f5fb;
  --muted:  #99a1b7;
  --faint:  #5c6479;
  /* signal (gold) — names kept to match the landing's tokens */
  --violet: #d4a843;
  --indigo: #e2b552;
  --cyan:   #f0c060;
  --signal: linear-gradient(115deg, #f3d27e 0%, #e2b552 48%, #f0c060 100%);
  --signal-soft: linear-gradient(115deg, rgba(243,210,126,0.18), rgba(240,192,96,0.14));
  --glow-violet: rgba(212,168,67,0.55);
  --glow-cyan:   rgba(240,192,96,0.45);
  /* money + status */
  --green:  #34e0a1;
  --red:    #ff5d54;
  --orange: #ff9d45;
  --gold:   #ffcc4d;
  /* type */
  --display: "Space Grotesk", system-ui, sans-serif;
  --body:    "Hanken Grotesk", system-ui, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, monospace;
  --maxw: 1200px;
  --radius: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--body); background: var(--bg); color: var(--ink); line-height: 1.55; overflow-x: hidden; position: relative; }

/* atmospheric background — grid + aurora glows + grain (same as the landing) */
.bg-field { position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(820px 620px at 18% -4%, rgba(212,168,67,0.16), transparent 60%),
    radial-gradient(720px 560px at 92% 8%, rgba(240,192,96,0.10), transparent 62%),
    var(--bg); }
.bg-grid { position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 100% 60% at 50% 0%, #000 35%, transparent 78%);
          mask-image: radial-gradient(ellipse 100% 60% at 50% 0%, #000 35%, transparent 78%); }
.bg-grain { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

main, header, footer { position: relative; z-index: 2; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
a { color: inherit; text-decoration: none; }

/* ---------- type atoms ---------- */
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--cyan); font-weight: 500; display: inline-flex; align-items: center; gap: 9px; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: linear-gradient(90deg, var(--cyan), transparent); }
.eyebrow.center::before { display: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.04; }
.display { font-size: clamp(40px, 6.4vw, 84px); letter-spacing: -0.035em; line-height: 0.98; }
.h2 { font-size: clamp(30px, 4.2vw, 54px); letter-spacing: -0.03em; }
.h3 { font-size: clamp(20px, 2.4vw, 28px); letter-spacing: -0.02em; }
.lead { font-size: clamp(17px, 1.6vw, 21px); color: var(--muted); line-height: 1.6; }
.grad-text { background: var(--signal); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.section { padding: clamp(90px, 12vh, 160px) 0; }
.section-sm { padding: clamp(56px, 8vh, 96px) 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-family: var(--body); font-weight: 650; font-size: 15.5px; padding: 14px 24px; border-radius: 13px; cursor: pointer; border: 1px solid transparent; transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s, background .25s; white-space: nowrap; }
.btn-primary { color: #06070b; background: var(--signal); box-shadow: 0 0 0 1px rgba(255,255,255,0.12) inset, 0 14px 40px -14px var(--glow-violet); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255,255,255,0.2) inset, 0 22px 52px -16px var(--glow-violet); }
.btn-ghost { color: var(--ink); background: rgba(255,255,255,0.04); border-color: var(--line-2); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.btn-lg { padding: 17px 30px; font-size: 16.5px; }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-full { width: 100%; }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(8,9,14,0.72); backdrop-filter: blur(18px) saturate(140%); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark { width: 34px; height: 34px; display: block; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.brand-name .dot { color: var(--cyan); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--muted); font-size: 14.5px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-login { color: var(--muted); font-size: 14.5px; font-weight: 500; }
.nav-login:hover { color: var(--ink); }
.nav-chip { font-family: var(--mono); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--cyan); border: 1px solid var(--line-2); border-radius: 100px; padding: 6px 13px; display: inline-flex; align-items: center; gap: 7px; }
.nav-chip .pip { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }

/* ---------- cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card-feat { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border-color: rgba(212,168,67,0.4); box-shadow: 0 0 0 1px rgba(212,168,67,0.2), 0 40px 90px -40px rgba(212,168,67,0.45); }

/* ---------- pills / badges ---------- */
.pill { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.5px; color: var(--muted); border: 1px solid var(--line); border-radius: 100px; padding: 7px 14px; }
.pill .pip { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--cyan); }

/* ---------- form controls ---------- */
.field { margin-top: 16px; }
.field:first-child { margin-top: 0; }
.label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.5px; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 7px; }
.label .req { color: var(--cyan); }
.input { width: 100%; background: rgba(255,255,255,0.03); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; color: var(--ink); font-family: var(--body); font-size: 14.5px; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; }
.input::placeholder { color: var(--faint); }
.input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(240,192,96,0.08); }
textarea.input { resize: vertical; }
.field-err { font-size: 11.5px; color: var(--red); margin-top: 5px; display: none; }
.field-err.show { display: block; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); margin-top: 40px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; padding: 32px 0; flex-wrap: wrap; gap: 16px; }
.footer .muted { font-size: 13px; color: var(--faint); }
.footer-links { display: flex; gap: 22px; font-size: 13px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--ink); }
.disclaimer { font-size: 11.5px; color: var(--faint); line-height: 1.6; max-width: 880px; }
