/* MiniApply. The app's palette: neutral, light by default, dark when the device is; mint marks sources and links. */
@font-face {
  font-family: "Geist";
  src: url("/fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --surface: #f4f4f5;
  --raised: #ebebed;
  --line: #e2e2e6;
  --text: #0e0f11;
  --dim: #55575e;
  --faint: #8b8d95;
  --accent: #0e8c6c;
  --accent-soft: rgba(14, 140, 108, 0.1);
  --ink: #0e0f11;
  --paper: #ffffff;
  --warn: #b4570b;
  --shadow: 0 30px 80px -40px rgba(14, 15, 17, 0.35);
  --radius: 16px;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161718;
    --surface: #222325;
    --raised: #2c2d30;
    --line: #34363a;
    --text: #ececee;
    --dim: #a9abb2;
    --faint: #75777e;
    --accent: #7fe3c4;
    --accent-soft: rgba(127, 227, 196, 0.12);
    --ink: #ececee;
    --paper: #161718;
    --warn: #f2b880;
    --shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.8);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 32px); margin-inline: auto; }

/* ------------------------------------------------------------ header */
.top { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 0 0 1px var(--line); }
.top nav { display: flex; gap: 22px; font-size: 15px; color: var(--dim); }
.top nav a { text-decoration: none; }
.top nav a:hover { color: var(--text); }

/* ------------------------------------------------------------ hero */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; padding: 48px 0 88px; }
.eyebrow { font: 500 12px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 650; margin: 18px 0 20px; }
h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: 19px; color: var(--dim); max-width: 36ch; margin: 0 0 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.store {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px 12px 16px;
  border-radius: 999px; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600;
}
.store svg { width: 20px; height: 20px; }
.store small { display: block; font: 500 11px/1 var(--sans); opacity: 0.7; margin-bottom: 2px; }
.store.soon { cursor: default; }
.ghost { color: var(--dim); text-decoration: none; font-size: 15px; }
.ghost:hover { color: var(--text); }
.price { margin: 18px 0 0; font-size: 14px; color: var(--faint); }

.device { width: min(340px, 100%); margin-inline: auto; filter: drop-shadow(0 30px 40px rgba(14, 15, 17, 0.25)); }
.device img { width: 100%; height: auto; }
.caption { font-size: 12.5px; color: var(--faint); margin: 16px auto 0; text-align: center; max-width: 34ch; }

/* ------------------------------------------------------------ chat sample */
.chat { display: grid; gap: 10px; max-width: 460px; }
.msg { font-size: 15.5px; color: var(--text); }
.me { justify-self: end; background: var(--surface); border-radius: 18px; padding: 8px 14px; font-size: 15.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 13.5px; }
.chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.reading { font: 400 12.5px/1.4 var(--mono); color: var(--dim); }
.wire { position: relative; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; margin-bottom: 8px; }
.wire::after {
  content: ""; position: absolute; inset: 0 auto 0 -40%; width: 40%;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: sweep 1.6s cubic-bezier(.4, 0, .2, 1) infinite;
}
@keyframes sweep { to { transform: translateX(350%); } }

/* ------------------------------------------------------------ sections */
section { padding: 88px 0; border-top: 1px solid var(--line); }
h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 630; margin: 12px 0 18px; max-width: 22ch; }
.sub { color: var(--dim); max-width: 56ch; margin: 0 0 40px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { background: var(--surface); border-radius: var(--radius); padding: 22px; }
.step::before { counter-increment: step; content: "0" counter(step); font: 500 12px/1 var(--mono); color: var(--accent); }
.step h3 { margin: 14px 0 8px; font-size: 19px; letter-spacing: -0.015em; }
.step p { margin: 0; color: var(--dim); font-size: 15.5px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.split blockquote { margin: 0; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 620; }
.split blockquote em { font-style: normal; color: var(--accent); }
.list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.list li { padding-left: 26px; position: relative; color: var(--dim); }
.list li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 14px; height: 3px; border-radius: 2px; background: var(--accent); }
.list b { color: var(--text); font-weight: 600; }

.pass { background: var(--surface); border-radius: 24px; padding: 32px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.pass h3 { margin: 0 0 8px; font-size: 26px; letter-spacing: -0.02em; }
.pass p { margin: 0; color: var(--dim); max-width: 52ch; }
.pass .amount { font-size: 40px; font-weight: 650; letter-spacing: -0.03em; text-align: right; }
.pass .amount small { display: block; font-size: 13px; font-weight: 500; color: var(--faint); letter-spacing: 0; }

.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--faint); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--dim); margin: 10px 0 0; max-width: 64ch; }

footer { border-top: 1px solid var(--line); padding: 36px 0 56px; color: var(--faint); font-size: 14px; }
footer .note { margin: 0 0 20px; max-width: 78ch; font-size: 13.5px; line-height: 1.55; }
footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer nav { display: flex; gap: 20px; }
footer a { text-decoration: none; color: var(--dim); }
footer a:hover { color: var(--text); }

/* ------------------------------------------------------------ legal pages */
.doc { padding: 32px 0 96px; }
.doc h1 { font-size: clamp(34px, 5vw, 46px); margin-top: 8px; }
.doc .updated { font: 400 13px/1 var(--mono); color: var(--faint); }
.doc h2 { font-size: 22px; margin: 44px 0 10px; letter-spacing: -0.015em; max-width: none; }
.doc p, .doc li { color: var(--dim); }
.doc strong { color: var(--text); }
.doc a { color: var(--accent); }
.doc ul { padding-left: 20px; }
.doc li { margin: 6px 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); color: var(--dim); }
.doc th { color: var(--text); font-weight: 600; }
.box { background: var(--surface); border-radius: var(--radius); padding: 18px 20px; }

@media (max-width: 860px) {
  .hero, .split { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 20px 0 64px; }
  .steps { grid-template-columns: 1fr; }
  .pass { grid-template-columns: 1fr; }
  .pass .amount { text-align: left; }
  section { padding: 64px 0; }
}
@media (max-width: 420px) {
  .top nav a.hide-s { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wire::after { animation: none; inset: 0; width: 100%; opacity: 0.5; }
}
