@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/fraunces-latin-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-latin-var.woff2') format('woff2');
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* base — green-black, matching the app icon & token back */
  --bg: #0d2117;
  --surface: #14301f;
  --surface-raised: #1b3c27;
  --border: #204a30;
  --border-strong: #2d5e3f;
  --glow: #39a07e;

  /* text */
  --text: #efece2;
  --text-dim: #9aab9d;
  --text-faint: #7d8f80;

  /* gold — primary accent */
  --gold: #EFC65C;
  --gold-dark: #7C6326;
  --gold-pale: #f6e6bd;

  /* secondary hues, from the Kura color-identity palette */
  --blue: #5BB0E6; --blue-dark: #1E4E7A; --blue-pale: #cfe8fa;
  --purple: #A38FDE; --purple-dark: #352A5C; --purple-pale: #ddd2f5;
  --orange: #EE7A53; --orange-dark: #8A2E22; --orange-pale: #fad7c8;
  --green: #57C18C; --green-dark: #1F5A4A; --green-pale: #c8ecd9;
  --gray: #AEB7C0; --gray-dark: #3B4149; --gray-pale: #dde1e6;

  --radius: 10px;
  --radius-sm: 6px;
  --max-w: 1080px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
}

h1, h2, h3, .display {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

a { color: inherit; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0; border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 12px; font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 30px; text-decoration: none; color: var(--text); }
.nav-logo svg { height: 48px; width: auto; flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { font-size: 13px; color: var(--text-dim); text-decoration: none; transition: color 0.2s; }
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-back { font-size: 13px; color: var(--text-dim); text-decoration: none; }
.nav-back:hover { color: var(--gold); }
@media (max-width: 640px) { .nav-links a:not(.btn) { display: none; } }
.nav-cta-short { display: none; }
@media (max-width: 480px) {
  .nav-cta-full { display: none; }
  .nav-cta-short { display: inline; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600;
  padding: 12px 22px; border-radius: 999px; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer; transition: transform 0.15s, border-color 0.2s, background 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--gold); color: #1a1608; }
.btn-primary:hover { background: var(--gold-pale); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--gold-dark); color: var(--gold); }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 40px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-kicker { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 14px; }
.hero h1 { font-size: 40px; line-height: 1.15; margin-bottom: 18px; }
.hero-sub { font-size: 16px; color: var(--text-dim); font-weight: 400; line-height: 1.7; max-width: 44ch; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust { font-size: 12.5px; color: var(--text-faint); margin-top: 18px; }
.hero-visual { position: relative; }
.hero-visual::before {
  content: ''; position: absolute; inset: -12% -12% 20%; z-index: -1;
  background: radial-gradient(circle, var(--glow) 0%, transparent 70%); opacity: 0.3;
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; text-align: left; }
  .hero-visual { order: -1; max-width: 280px; margin: 0 auto 8px; }
  .hero h1 { font-size: 32px; }
}

/* ---------- Scan-frame motif (corner brackets) ---------- */
.scan-frame { position: relative; }
.scan-frame::before, .scan-frame::after,
.scan-frame .cnr-tr, .scan-frame .cnr-bl {
  content: ''; position: absolute; width: 22px; height: 22px; border: 2px solid var(--gold); opacity: 0.85;
}
.scan-frame::before { top: -8px; left: -8px; border-right: none; border-bottom: none; border-radius: 4px 0 0 0; }
.scan-frame::after { bottom: -8px; right: -8px; border-left: none; border-top: none; border-radius: 0 0 4px 0; }
.scan-frame .cnr-tr { top: -8px; right: -8px; border-left: none; border-bottom: none; border-radius: 0 4px 0 0; }
.scan-frame .cnr-bl { bottom: -8px; left: -8px; border-right: none; border-top: none; border-radius: 0 0 0 4px; }

/* ---------- Phone mockup ---------- */
.phone-mockup {
  width: 100%; max-width: 300px; aspect-ratio: 9/18.5; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: 34px;
  padding: 14px; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
}
.phone-screen {
  width: 100%; height: 100%; background: var(--bg); border-radius: 22px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  position: relative; overflow: hidden;
}
.scan-target { width: 62%; aspect-ratio: 63/88; }
.scan-status { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.scan-status .dim { color: var(--text-faint); font-weight: 400; }

/* ---------- Sections ---------- */
.section { padding: 56px 0; border-bottom: 1px solid var(--border); }
.section:last-of-type { border-bottom: none; }
.section-kicker { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 10px; }
.section-title { font-size: 26px; margin-bottom: 12px; }
.section-lede { font-size: 15px; color: var(--text-dim); max-width: 58ch; margin-bottom: 36px; }

/* ---------- Highlights ---------- */
.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.highlight { padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); }
.highlight-title { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; color: var(--gold); margin-bottom: 8px; }
.highlight-desc { font-size: 13px; color: var(--text-dim); line-height: 1.6; }
@media (max-width: 760px) { .highlights { grid-template-columns: 1fr; } }

/* ---------- Why collectors scan ---------- */
.match-layout { display: grid; grid-template-columns: 1fr 0.9fr; gap: 48px; align-items: center; }
.match-layout .section-lede { margin-bottom: 20px; }
.reason-list { list-style: none; display: flex; flex-direction: column; gap: 22px; margin-top: 4px; }
.reason-title { font-family: 'Inter', sans-serif; font-size: 14.5px; font-weight: 600; color: var(--gold); margin-bottom: 6px; }
.reason-desc { font-size: 13.5px; color: var(--text-dim); line-height: 1.6; }
.match-demo { background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 16px 18px; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.55); }
.match-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13px; font-weight: 600; padding-bottom: 10px; }
.match-head .dim { font-weight: 400; font-size: 11.5px; color: var(--text-faint); }
.match-cols { display: flex; justify-content: space-between; font-size: 10.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-faint); padding: 6px 2px 4px; border-top: 1px solid var(--border); }
.match-rows { list-style: none; }
.match-row { display: flex; align-items: baseline; gap: 10px; padding: 8px 2px; font-size: 13px; border-top: 1px solid var(--border); }
.match-qty { color: var(--text-faint); font-variant-numeric: tabular-nums; min-width: 1.5ch; text-align: right; }
.match-name { flex: 1; color: var(--text); }
.match-state { font-size: 11px; letter-spacing: 0.04em; white-space: nowrap; }
.st-owned { color: var(--green); }
.st-boxed { color: var(--blue); }
.st-missing, .st-partial { color: var(--orange); }
.match-foot { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--border-strong); margin-top: 2px; padding-top: 12px; font-size: 12px; color: var(--text-dim); }
.match-export { color: var(--gold); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.copy-icon { width: 13px; height: 13px; }
@media (max-width: 860px) { .match-layout { grid-template-columns: 1fr; } }

/* ---------- Demo carousel (video + screenshots) ---------- */
.demo-carousel { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.demo-carousel::before {
  content: ''; position: absolute; inset: -12% -12% 20%; z-index: -1;
  background: radial-gradient(circle, var(--glow) 0%, transparent 70%); opacity: 0.3;
}
.demo-slides { position: relative; width: 100%; height: 100%; }
.demo-slide {
  position: absolute; inset: 0; display: none;
  flex-direction: column; align-items: center; justify-content: center; gap: 14px;
}
.demo-slide.is-active { display: flex; }
.demo-media { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; display: block; }
.scan-play {
  width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--gold); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.scan-play svg { width: 22px; height: 22px; margin-left: 3px; }
.demo-ph-icon { width: 40px; height: 40px; color: var(--gold); opacity: 0.8; }
.demo-ph { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); }
.demo-dots { display: flex; gap: 9px; }
.demo-dot { width: 8px; height: 8px; padding: 0; border: none; border-radius: 50%; background: var(--border-strong); cursor: pointer; transition: background 0.2s; }
.demo-dot:hover { background: var(--gold-dark); }
.demo-dot.is-active { background: var(--gold); }

/* ---------- Feature groups ---------- */
.feature-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.group-kicker { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; margin-bottom: 4px; }
.fg-scan .group-kicker, .fg-scan .feature-icon { color: var(--gold); }
.fg-organize .group-kicker, .fg-organize .feature-icon { color: var(--blue); }
.fg-data .group-kicker, .fg-data .feature-icon { color: var(--green); }
.feature { padding: 18px 0; border-top: 1px solid var(--border); }
.feature-name { display: flex; align-items: center; gap: 10px; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.feature-icon { width: 17px; height: 17px; flex-shrink: 0; }
.feature-desc { font-size: 13px; color: var(--text-dim); line-height: 1.6; }
@media (max-width: 860px) { .feature-groups { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- FAQ ---------- */
.faq { max-width: 68ch; }
.faq details { border-top: 1px solid var(--border); }
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; padding: 15px 0; font-size: 14px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gold); font-weight: 400; font-size: 16px; flex-shrink: 0; }
.faq details[open] summary::after { content: '–'; }
.faq summary:hover { color: var(--gold-pale); }
.faq-a { font-size: 13px; color: var(--text-dim); line-height: 1.7; padding: 0 0 16px; max-width: 60ch; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.plan { border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; }
.plan-pro { border-color: var(--gold-dark); background: linear-gradient(180deg, rgba(239,198,92,0.06), transparent 40%); }
.plan-name { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); font-weight: 600; margin-bottom: 6px; }
.plan-pro .plan-name { color: var(--gold); }
.plan-price { font-family: 'Fraunces', serif; font-size: 28px; margin-bottom: 4px; }
.plan-price span { font-family: 'Inter', sans-serif; font-size: 13px; color: var(--text-dim); font-weight: 400; }
.plan-note { font-size: 12px; color: var(--text-faint); margin-bottom: 18px; }
.plan-list { list-style: none; font-size: 13px; color: var(--text-dim); }
.plan-list li { padding: 7px 0; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 12px; }
.plan-list li:first-child { border-top: none; }
.plan-list b { color: var(--text); font-weight: 500; }
.plan-check { color: var(--gold); }
.pricing-footnote { font-size: 12px; color: var(--text-faint); margin-top: 20px; line-height: 1.7; }
.pricing-note { font-size: 14px; color: var(--text-dim); max-width: 60ch; line-height: 1.75; }
.pricing-note strong { color: var(--text); font-weight: 600; }
@media (max-width: 700px) { .pricing-grid { grid-template-columns: 1fr; } }

/* ---------- Bottom CTA ---------- */
.bottom-cta { text-align: center; }
.bottom-cta .hero-actions { justify-content: center; margin-top: 8px; }
.bottom-cta .hero-trust { margin-top: 16px; }

/* ---------- Disclaimer / trademark ---------- */
.disclaimer { font-size: 11.5px; color: var(--text-faint); line-height: 1.7; max-width: 68ch; }

/* ---------- Footer ---------- */
.footer { padding: 32px 0 48px; font-size: 12px; color: var(--text-faint); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: var(--text-dim); text-decoration: none; }
.footer-links a:hover { color: var(--gold); }

/* ---------- Page header (subpages) ---------- */
.page-header { padding: 44px 0 32px; border-bottom: 1px solid var(--border); }
.page-title { font-size: 26px; margin-bottom: 8px; }
.page-sub { font-size: 13px; color: var(--text-dim); font-weight: 400; }

/* ---------- Prose (legal / privacy / terms) ---------- */
.prose { font-size: 13px; color: var(--text-dim); line-height: 1.8; max-width: 68ch; }
.prose h2 { font-family: 'Fraunces', Georgia, serif; font-size: 18px; font-weight: 600; color: var(--gold); margin: 40px 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 15px; font-weight: 600; color: var(--text); margin: 24px 0 10px; }
.prose p { margin-bottom: 12px; }
.prose .legal-basis { font-size: 12px; color: var(--text-faint); font-style: italic; margin-top: -4px; }
.prose a { color: var(--gold); text-decoration: none; }
.prose a:hover { text-decoration: underline; }
.prose ul { padding-left: 20px; margin-bottom: 12px; }
.prose li { margin-bottom: 4px; }
.prose .updated { font-size: 11px; color: var(--text-faint); margin-bottom: 24px; }
.prose strong { color: var(--text); font-weight: 600; }

/* ---------- Get / TestFlight page ---------- */
.get-actions { margin: 24px 0 14px; }
.get-note { font-size: 12.5px; color: var(--text-faint); max-width: 52ch; }
.steps { list-style: none; display: flex; flex-direction: column; gap: 22px; max-width: 620px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step-n {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--gold-dark); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600;
}
.step-title { font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.step-desc { font-size: 13.5px; color: var(--text-dim); line-height: 1.6; }
.step-desc em { color: var(--text); font-style: normal; font-weight: 500; }
.get-facts { list-style: none; display: flex; flex-direction: column; gap: 14px; max-width: 640px; font-size: 13.5px; color: var(--text-dim); line-height: 1.6; }
.get-facts li { padding-left: 18px; position: relative; }
.get-facts li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.get-facts strong { color: var(--text); font-weight: 600; }
.get-facts a { color: var(--gold); text-decoration: none; }
.get-facts a:hover { text-decoration: underline; }

@media (min-width: 640px) {
  .hero h1 { font-size: 46px; }
  .section-title { font-size: 30px; }
}
