/* trynarro.com — beta landing page. Tokens mirror :root in styles/app.css
   (brand rules in CLAUDE.md: orange leads, purple is glow only, white text
   only on --cta-gradient / --accent-fill, secondary text no darker than
   --muted). */
@font-face {
  font-family: 'Fraunces';
  src: url('fonts/fraunces-latin-roman.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, 'Segoe UI', Roboto, sans-serif;
  --narro-orange: #FA790B;
  --narro-orange-deep: #C2410C;
  --narro-purple: #7C3AED;
  --narro-purple-soft: #A24BD8;
  --bg: #0B0A10;
  --surface: #17131D;
  --surface2: #221C29;
  --glass: linear-gradient(155deg, rgba(34,24,44,.8), rgba(15,12,20,.9));
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);
  --text: #F2F1EE;
  --text-strong: #FAF7F2;
  --muted: #8B8494;
  --accent: var(--narro-orange);
  --accent-fill: var(--narro-orange-deep);
  --accent-tint: rgba(250,121,11,.16);
  --accent-line: rgba(250,121,11,.55);
  --accent-ink: #FFCA9E;
  --cta-gradient: linear-gradient(120deg, #C2410C 0%, #B23A12 52%, #8E3FC4 130%);
  --cta-shadow: 0 14px 34px rgba(250,121,11,.30), inset 0 1px 0 rgba(255,255,255,.26);
  --brand-text-gradient: linear-gradient(120deg, #FA790B 0%, #F26A0C 45%, #A24BD8 100%);
  --radius: 16px;
  --card-radius: 21px;
  --ease: cubic-bezier(.2,.8,.2,1);
  --wrap: 1080px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
summary:focus-visible, .chip:has(input:focus-visible) {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 10px;
}
h1, h2, h3 { font-family: var(--font-display); color: var(--text-strong); font-weight: 560; letter-spacing: -0.03em; margin: 0; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Ambient glow + chevrons, as on the app's Home screen */
.ambient { position: absolute; inset: 0 0 auto 0; height: 920px; z-index: -1; pointer-events: none; overflow: hidden; }
.ambient::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(70% 45% at 82% 4%, rgba(250,121,11,.20), transparent 62%),
    radial-gradient(60% 40% at 4% 30%, rgba(124,58,237,.16), transparent 66%);
}
.ambient .chev {
  position: absolute; right: -180px; top: -120px; width: 520px; height: 520px; opacity: .22;
  background: url('img/icon.png') center / contain no-repeat; mix-blend-mode: lighten;
  -webkit-mask-image: linear-gradient(190deg, #000 0%, rgba(0,0,0,.35) 58%, transparent 88%);
          mask-image: linear-gradient(190deg, #000 0%, rgba(0,0,0,.35) 58%, transparent 88%);
}

/* Header */
.site-header { padding: 18px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.brand-mark { width: 30px; height: 30px; mix-blend-mode: lighten; }
.brand-word { height: 24px; width: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 14px 24px; border-radius: 999px; border: 0;
  font: 600 17px/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn-primary { background: var(--cta-gradient); color: #fff; box-shadow: var(--cta-shadow); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-primary:active { transform: translateY(1px) scale(.99); }
.btn-primary[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn-ghost { background: var(--surface2); color: var(--text); border: 1px solid var(--border-strong); }
.btn-ghost:hover { border-color: var(--accent-line); }
.btn-sm { min-height: 40px; padding: 9px 16px; font-size: 15px; }
.btn-block { width: 100%; }

/* Hero */
.hero { padding: 28px 0 56px; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: var(--accent-tint); color: var(--accent-ink); border: 1px solid var(--accent-line);
  font-size: 13px; font-weight: 600; letter-spacing: .02em; margin-bottom: 20px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.hero h1 { font-size: clamp(42px, 11vw, 72px); line-height: .98; letter-spacing: -0.045em; text-shadow: 0 2px 30px rgba(250,121,11,.16); }
.hero h1 .accent { background: var(--brand-text-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { margin-top: 20px; font-size: 19px; color: var(--text); max-width: 34ch; }
.hero .cta-row { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero .fine { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* Phone mockups */
.phones { position: relative; height: 470px; max-width: 420px; width: 100%; margin: 0 auto; }
.phone {
  position: absolute; width: 214px; border-radius: 34px; overflow: hidden;
  border: 6px solid #1d1924; background: #000;
  box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06);
}
.phone img { width: 100%; height: auto; }
.phone-back { left: 4%; top: 36px; transform: rotate(-7deg); opacity: .9; }
.phone-front { right: 4%; top: 0; transform: rotate(4deg); box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 60px rgba(250,121,11,.18), 0 0 0 1px rgba(255,255,255,.06); }

/* Sections */
.section { padding: 64px 0; }
.section-head { max-width: 640px; margin-bottom: 32px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.section h2 { font-size: clamp(32px, 7.5vw, 46px); line-height: 1.04; }
.section-head p:not(.kicker) { margin-top: 14px; color: var(--muted); font-size: 18px; }
.card { background: var(--glass); border: 1px solid var(--border); border-radius: var(--card-radius); }

/* How it works */
.steps { display: grid; gap: 14px; }
/* Phones: text beside a small screenshot, so the signup form stays close. */
.step { padding: 20px; display: grid; grid-template-columns: 1fr 104px; gap: 16px; align-items: center; }
.step-num {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-tint); color: var(--accent-ink); border: 1px solid var(--accent-line);
  font-weight: 700; font-size: 15px;
}
.step h3 { font-size: 22px; margin-top: 12px; }
.step p { margin-top: 6px; color: var(--muted); font-size: 16px; }
.step .shot { border-radius: 14px; overflow: hidden; border: 1px solid var(--border-strong); width: 100%; box-shadow: 0 14px 32px rgba(0,0,0,.4); }
.together { margin-top: 18px; padding: 18px 22px; display: flex; gap: 14px; align-items: flex-start; }
.together .icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface2); color: var(--accent); }
.together p { color: var(--muted); }
.together strong { color: var(--text); }

/* The ask */
.ask { display: grid; gap: 14px; margin-top: 8px; }
.ask li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; list-style: none; }
.ask .tick { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; margin-top: 1px; }
.ask ul { padding: 0; margin: 0; display: grid; gap: 12px; }

/* Form */
.join { padding: 26px 22px; }
.form-grid { display: grid; gap: 22px; }
.join-title { font-size: 28px; }
.field label, .field legend { display: block; font-weight: 600; font-size: 16px; margin-bottom: 8px; color: var(--text-strong); padding: 0; }
.field .hint { display: block; font-weight: 400; font-size: 14px; color: var(--muted); margin-top: 2px; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.input, select.input {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px;
  background: var(--surface); color: var(--text); border: 1px solid var(--border-strong);
  font: 400 17px/1.3 var(--font-body); -webkit-appearance: none; appearance: none;
}
select.input {
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 22px) 23px, calc(100% - 16px) 23px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px;
}
.input::placeholder { color: #6f6878; }
.input:focus { border-color: var(--accent-line); outline: none; box-shadow: 0 0 0 3px var(--accent-tint); }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border-strong); color: var(--text); font-size: 15px; font-weight: 500;
  transition: background .15s, border-color .15s, color .15s; cursor: pointer; user-select: none;
}
.chip input:checked + span { background: var(--accent-tint); border-color: var(--accent-line); color: var(--accent-ink); }
.chip input:checked + span::before { content: "✓"; margin-right: 6px; font-weight: 700; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 14px; color: var(--muted); margin-top: 12px; }
.form-error { display: none; margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(220,38,38,.12); border: 1px solid rgba(248,113,113,.35); color: #fecaca; font-size: 15px; }
.form-error.show { display: block; }

/* Success panel */
.success { display: none; text-align: left; }
.success.show { display: block; }
.success .big { font-size: 44px; line-height: 1; margin-bottom: 14px; }
.success h3 { font-size: 30px; }
.success p { margin-top: 10px; color: var(--muted); }
.success p strong { color: var(--text); }
.success .btn { margin-top: 20px; }

/* Install + feedback numbered lists */
.howto { display: grid; gap: 14px; margin: 0; padding: 0; }
.howto > li { list-style: none; padding: 20px 22px; display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; }
.howto h3 { font-family: var(--font-body); font-size: 18px; font-weight: 650; letter-spacing: -0.01em; }
.howto p { margin-top: 4px; color: var(--muted); }
.howto .btn { margin-top: 14px; }
.notice { margin-bottom: 16px; padding: 14px 18px; border-radius: 14px; background: var(--accent-tint); border: 1px solid var(--accent-line); color: var(--accent-ink); font-size: 15px; display: none; }
.notice.show { display: block; }
.notice strong { color: #fff3e8; }

.ways { display: grid; gap: 14px; }
.way { padding: 22px; }
.way .label { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.way h3 { font-family: var(--font-body); font-size: 19px; font-weight: 650; letter-spacing: -0.01em; }
.way p, .way li { color: var(--muted); }
.way ol { margin: 10px 0 0; padding-left: 20px; }
.way li + li { margin-top: 4px; }
.way strong { color: var(--text); }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { padding: 0; overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; position: relative;
  font-weight: 600; font-size: 17px; color: var(--text-strong);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 24px; font-weight: 400; color: var(--accent); transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 20px 18px; color: var(--muted); }

/* Footer */
.site-footer { padding: 40px 0 56px; border-top: 1px solid var(--border); margin-top: 24px; }
.site-footer .wrap { display: grid; gap: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a { color: var(--text); text-decoration: none; font-size: 15px; }
.footer-links a:hover { color: var(--accent); }
.site-footer small { color: var(--muted); font-size: 13px; line-height: 1.5; }

/* Tablet / desktop */
@media (min-width: 760px) {
  :root { --gutter: 32px; }
  .hero { padding: 48px 0 80px; }
  .hero .wrap { grid-template-columns: 1.05fr .95fr; gap: 32px; }
  .phones { height: 540px; }
  .phone { width: 240px; }
  .section { padding: 88px 0; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .step { grid-template-columns: 1fr; align-content: start; align-items: start; padding: 24px; }
  .step h3 { font-size: 24px; }
  .step .shot { max-width: 230px; border-radius: 22px; }
  .ways { grid-template-columns: repeat(3, 1fr); }
  .join { padding: 36px; }
  .two-col { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
