/* GATHR marketing site — "The Pass" brand system
   Tokens match app/lib/brand.ts and the brand kit. */

:root {
  --ink: #0E0B14; --ink-2: #17121F; --ink-3: #241C31;
  --pvc: #F1EFF5; --pvc-2: #E3DFEA;
  --text: #F3F0F8; --muted: #9C94AF;
  --text-ink: #141021; --muted-ink: #6D6682;
  --uv: #7A5CFF; --uv-2: #5B3DF5;
  --admit: #12B76A; --stop: #E5484D; --wait: #F5A524;
  --line: rgba(243, 240, 248, .10);
  --display: "Big Shoulders Display", Impact, "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --ui: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --shadow: 0 30px 70px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.06);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { color-scheme: dark; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  background: var(--ink); color: var(--text);
  font-family: var(--ui); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(243,240,248,.025) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(243,240,248,.025) 39px 40px);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
code { font-family: var(--mono); font-size: .92em; background: var(--ink-3); padding: 2px 7px; border-radius: 6px; white-space: nowrap; }
:focus-visible { outline: 2px solid var(--uv); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--pvc); color: var(--text-ink); padding: 10px 14px; border-radius: 10px; z-index: 100; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap.narrow { width: min(760px, 100% - 2 * var(--gutter)); }

/* Type */
.display { font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .88; letter-spacing: -.01em; text-wrap: balance; }
h1.display { font-size: clamp(52px, 8.4vw, 118px); }
h2.display { font-size: clamp(40px, 6vw, 76px); margin: 10px 0 28px; }
.uv { color: var(--uv); }
.kicker { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--uv); font-weight: 500; }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 54ch; margin: 22px 0 28px; }
.note, .fine { color: var(--muted); max-width: 64ch; font-size: 15px; margin-top: 28px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px/1 var(--ui); padding: 16px 22px; border-radius: 14px; border: 1px solid transparent; text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; opacity: .9; }
.btn-uv { background: var(--uv); color: #fff; }
.btn-uv:hover { background: var(--uv-2); }
.btn-pvc { background: var(--pvc); color: var(--text-ink); }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(243,240,248,.22); }
.btn-ghost:hover { border-color: rgba(243,240,248,.5); }
.btn-ink { background: var(--ink); color: var(--text); }
.btn-sm { padding: 11px 16px; font-size: 14px; }

/* Partner badge */
.partner { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; margin-top: 30px; }
.partner img { height: 26px; width: auto; }
.partner span { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.partner:hover span { color: var(--text); }

/* Header */
.top { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 24px; padding: 14px var(--gutter); background: rgba(14, 11, 20, .78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.nav > a:not(.btn) { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--muted); }
.nav > a:not(.btn):hover { color: var(--text); }
.menu { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu .bar { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.menu[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.menu[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 120px) 0 0; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 900px 560px at 78% 10%, rgba(122,92,255,.22), transparent 65%), radial-gradient(ellipse 700px 420px at -6% 100%, rgba(241,239,245,.06), transparent 60%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.micro { margin-top: 18px; }

.hero-visual { padding: 24px 0 48px; }
.hero-photo { position: relative; }
.hero-photo .photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
.phone { background: #050308; padding: 7px; border-radius: 36px; box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06); }
.phone img { border-radius: 29px; }
.hero-photo .phone { position: absolute; left: -28px; bottom: -40px; width: 27%; border-radius: 26px; padding: 5px; }
.hero-photo .phone img { border-radius: 21px; }
@media (prefers-reduced-motion: no-preference) {
  .hero-photo .phone { animation: float 7s ease-in-out infinite; }
  @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
}

/* Strip */
.strip { margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink-2); }
.strip ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 16px var(--gutter); }
.strip li { display: flex; align-items: baseline; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; }
.strip li::before { content: "·"; color: var(--uv); }

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section + .section { border-top: 1px solid var(--line); }

/* Photo cards */
.photo-card { border-radius: var(--radius); overflow: hidden; background: var(--ink-2); box-shadow: var(--shadow); }
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.photo-card figcaption { padding: 12px 16px; background: var(--ink-2); }
.photo-card.tall { align-self: stretch; }
.photo-card.tall img { min-height: 100%; }

/* Why GATHR */
.why-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; margin-bottom: 52px; }
.why-copy .lede { margin-top: 0; }
.why-copy > p:not(.lede):not(.mono) { color: var(--muted); max-width: 60ch; }
.why-copy .mono { margin-top: 22px; color: var(--uv); max-width: 44ch; }
.compare .col { display: none; }
.compare-wrap { overflow-x: auto; margin-bottom: 44px; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 680px; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.compare th, .compare td { text-align: left; padding: 16px 18px; border-top: 1px solid var(--line); vertical-align: top; }
.compare thead th { border-top: 0; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; padding-bottom: 12px; }
.compare thead th.g { color: var(--uv); }
.compare tbody th { font-weight: 600; color: var(--text); width: 26%; }
.compare td { color: var(--muted); width: 37%; }
.compare td.x::before { content: "✕"; color: var(--stop); opacity: .8; font-weight: 700; margin-right: 10px; }
.compare td.g { color: var(--text); background: rgba(122,92,255,.08); }
.compare td.g::before { content: "✓"; color: var(--admit); font-weight: 700; margin-right: 10px; }
.compare thead th.g { background: rgba(122,92,255,.08); border-radius: 14px 14px 0 0; }
.compare tbody tr:last-child td.g { border-radius: 0 0 14px 14px; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 1px solid var(--line); }

/* Calculator */
.calc { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.calc-in { padding: 28px; border-right: 1px solid var(--line); }
.calc-in h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 26px; letter-spacing: .005em; margin-bottom: 20px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field > span:first-child { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field .in { display: flex; align-items: center; background: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; }
.field .in:focus-within { border-color: var(--uv); }
.field .in b { color: var(--muted); font-weight: 500; font-size: 15px; }
.field input { width: 100%; min-width: 0; background: transparent; border: 0; color: var(--text); font: 600 18px var(--ui); padding: 12px 6px; -moz-appearance: textfield; appearance: textfield; }
.field input::-webkit-outer-spin-button, .field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.field input:focus { outline: none; }
.calc-in .fine { margin-top: 18px; font-size: 13px; }
.calc-out { padding: 28px; display: grid; gap: 18px; align-content: start; }
.stat span { display: block; margin-bottom: 8px; }
.stat b { display: block; font-family: var(--display); font-weight: 900; font-size: 46px; line-height: .9; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.stat small { display: block; color: var(--muted); font-size: 14px; margin-top: 8px; }
.stat.hi { background: var(--uv); color: #fff; border-radius: 14px; padding: 20px; }
.stat.hi span, .stat.hi small { color: rgba(255,255,255,.82); }

/* People */
.people-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: stretch; }
.people .lede { margin-bottom: 8px; }
.learned { list-style: none; display: grid; gap: 14px; margin: 20px 0 26px; }
.learned li { position: relative; padding-left: 24px; color: var(--muted); font-size: 15px; }
.learned li::before { content: ""; position: absolute; left: 0; top: 10px; width: 12px; height: 3px; border-radius: 2px; background: var(--uv); }
.learned b { color: var(--text); font-weight: 600; }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.steps li { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.steps .num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--uv); color: #fff; font-family: var(--display); font-weight: 900; font-size: 16px; margin-bottom: 18px; }
.steps h3, .card h3, .plan h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 24px; letter-spacing: .005em; margin-bottom: 10px; }
.steps p, .card p { color: var(--muted); font-size: 15px; }

/* Verdicts */
.door { background: var(--ink-2); }
.banner { position: relative; border-radius: var(--radius); overflow: hidden; margin: 0 0 40px; box-shadow: var(--shadow); }
.banner img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: center 35%; }
.banner figcaption { position: absolute; left: 18px; bottom: 18px; padding: 10px 14px; border-radius: 12px; background: rgba(14,11,20,.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--text); }
.verdicts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 10px; }
.verdict .phone { width: min(100%, 300px); margin: 0 auto 18px; }
.verdict figcaption { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; color: var(--muted); font-size: 15px; }
.word { font-family: var(--display); font-weight: 900; font-size: 44px; line-height: .86; letter-spacing: -.01em; }
.word.admit { color: var(--admit); } .word.stop { color: var(--stop); } .word.wait { color: var(--wait); }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { font-size: 22px; }
.card h3::before { content: ""; display: block; width: 28px; height: 4px; border-radius: 2px; background: var(--uv); margin-bottom: 16px; }

/* Screens */
.browsers { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.browser { border-radius: 14px; overflow: hidden; background: #1b1b1f; box-shadow: var(--shadow); }
.browser .bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #1b1b1f; }
.browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a44; }
.browser .bar i:nth-child(1) { background: #ff5f57; } .browser .bar i:nth-child(2) { background: #febc2e; } .browser .bar i:nth-child(3) { background: #28c840; }
figcaption { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.browser figcaption { padding: 12px 14px; background: #1b1b1f; }
.email { margin: 28px auto 0; width: min(100%, 560px); border-radius: 14px; overflow: hidden; background: var(--pvc); box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.email img { width: 100%; }
.email figcaption { padding: 12px 16px; color: var(--muted-ink); background: var(--pvc); }

/* Pricing */
.pricing .lede { margin-top: -6px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.plan.featured { border-color: var(--uv); box-shadow: 0 0 0 4px rgba(122,92,255,.12); }
.plan .tag { position: absolute; top: -12px; left: 24px; background: var(--uv); color: #fff; padding: 6px 10px; border-radius: 999px; font-weight: 600; }
.plan .price { display: flex; align-items: baseline; gap: 10px; }
.plan .price .display { font-size: 56px; }
.plan .per { color: var(--muted); font-size: 14px; }
.plan .rate { margin-top: -6px; }
.plan .usd { margin-top: -8px; font-size: 13px; color: var(--muted); }
.plan ul { list-style: none; display: grid; gap: 8px; color: var(--muted); font-size: 15px; margin: 6px 0 12px; }
.plan li::before { content: "✓"; color: var(--admit); margin-right: 10px; font-weight: 700; }
.plan .btn { margin-top: auto; }

/* FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; font-weight: 600; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--display); font-weight: 900; font-size: 26px; color: var(--uv); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 22px; max-width: 64ch; }
.faq details a { color: var(--text); }

/* CTA */
.cta { background: var(--pvc); color: var(--text-ink); padding: clamp(64px, 9vw, 120px) 0; text-align: center; }
.cta h2 { font-size: clamp(44px, 7vw, 96px); margin-bottom: 18px; }
.cta p { color: var(--muted-ink); max-width: 56ch; margin: 0 auto 26px; font-size: 18px; }
.cta .mono { color: var(--muted-ink); margin-top: 22px; }
.cta .mono a { color: var(--text-ink); }
.cta .partner { margin-top: 34px; }
.cta .partner span { color: var(--muted-ink); }
.cta .partner:hover span { color: var(--text-ink); }

/* Footer */
.foot { padding: 36px 0; border-top: 1px solid var(--line); }
.foot-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 34px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; }
.foot nav a { text-decoration: none; color: var(--muted); font-size: 14px; }
.foot nav a:hover { color: var(--text); }
.foot-partner { height: 22px; width: auto; opacity: .85; }
.foot .mono { margin-left: auto; }

/* Responsive */
@media (max-width: 1100px) {
  .nav { gap: 18px; }
  .nav > a:not(.btn) { font-size: 14px; }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-visual { padding: 8px 0 56px; }
  .hero-photo .phone { left: 12px; bottom: -36px; width: 30%; }
  .steps, .features, .plans, .verdicts { grid-template-columns: 1fr 1fr; }
  .browsers { grid-template-columns: 1fr; }
  .why-grid, .people-grid { grid-template-columns: 1fr; gap: 28px; }
  .photo-card.tall img { min-height: 0; aspect-ratio: 3 / 2; }
  .banner img { aspect-ratio: 16 / 9; }
}
@media (max-width: 720px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 16px; background: var(--ink-2); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav > a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav .btn { margin-top: 14px; }
  .menu { display: flex; }
  .steps, .features, .plans, .verdicts { grid-template-columns: 1fr; }
  .verdict .phone { width: min(100%, 260px); }
  .strip ul { justify-content: flex-start; }
  .compare-wrap { overflow: visible; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; min-width: 0; }
  .compare thead { display: none; }
  .compare tr { padding: 16px 0; border-top: 1px solid var(--line); }
  .compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
  .compare th, .compare td { border: 0; padding: 0; }
  .compare tbody th { width: auto; margin-bottom: 8px; }
  .calc-in h3 { line-height: 1; }
  .compare td { padding: 8px 12px; border-radius: 10px; }
  .compare td.x { margin-bottom: 6px; }
  .compare tbody tr:last-child td.g { border-radius: 10px; }
  .compare .col { display: inline-block; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-right: 8px; vertical-align: 1px; }
  .compare td.g .col { color: var(--uv); }
  .calc { grid-template-columns: 1fr; }
  .calc-in { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat b { font-size: 40px; }
  .banner img { aspect-ratio: 4 / 3; }
  .banner figcaption { left: 12px; bottom: 12px; font-size: 10px; }
  .foot .mono { margin-left: 0; }
}
