/* HyperCut — usehypercut.com
   Dark, quiet, one accent. Geist like the app. */

:root {
  --bg: #0a0a0a;
  --surface: #121214;
  --surface-2: #18181b;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --fg: #ffffff;
  --muted: #a1a1aa;
  --faint: #6b6b75;
  --accent: #4c6ef5;
  --accent-soft: #8bacff;
  --accent-ink: #2b50e0;
  --red: #ff6b6b;
  --radius: 18px;
  --max: 1120px;
  --gutter: 20px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Geist", -apple-system, system-ui, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
button { font: inherit; }

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

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  background: rgba(10, 10, 10, 0.72);
  border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; gap: 28px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.brand img { width: 26px; height: 26px; border-radius: 7px; }
.nav { display: flex; gap: 22px; font-size: 14px; color: var(--muted); }
.nav a:hover { color: var(--fg); }
.header .spacer { flex: 1; }
@media (max-width: 720px) {
  .header .wrap { gap: 14px; }
  .nav { display: none; }
  .header .btn { height: 36px; padding: 0 14px; font-size: 13px; }
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px; border-radius: 999px;
  font-size: 14px; font-weight: 500; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, background .15s ease, border-color .15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--fg); color: #0a0a0a; }
.btn-primary:hover { background: #e9e9ec; }
.btn-ghost { background: rgba(255,255,255,0.04); border-color: var(--line-strong); color: var(--fg); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #5b7cf7; }
.btn-lg { height: 48px; padding: 0 24px; font-size: 15px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 96px 0 40px; text-align: center; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -20% auto; height: 640px; pointer-events: none;
  background: radial-gradient(closest-side at 50% 30%, rgba(76, 110, 245, 0.22), rgba(76, 110, 245, 0) 70%);
}
.hero > * { position: relative; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; height: 32px; padding: 0 14px 0 8px;
  border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13px; color: var(--muted);
  background: rgba(255,255,255,0.03);
}
.badge b { font-weight: 600; color: var(--accent-soft); font-size: 11px; letter-spacing: 0.08em; padding: 3px 8px; border-radius: 999px; background: rgba(76,110,245,0.16); }
.hero h1 { font-size: clamp(40px, 7vw, 68px); line-height: 1.04; margin: 26px auto 20px; max-width: 14ch; }
.hero .lede { color: var(--muted); font-size: clamp(17px, 2.1vw, 20px); max-width: 44ch; margin-inline: auto; line-height: 1.5; }
.hero .cta { display: flex; gap: 10px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.hero .fine { color: var(--faint); font-size: 13px; margin-top: 14px; }

/* ---------- phones ---------- */
.phones { display: flex; justify-content: center; align-items: flex-end; gap: 22px; margin-top: 64px; padding-bottom: 8px; }
.phone {
  width: 250px; aspect-ratio: 1206 / 2622; border-radius: 42px; padding: 8px;
  background: #1c1c1f; border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.8), 0 0 0 1px rgba(0,0,0,0.6);
  flex: 0 0 auto;
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 34px; }
.phone.side { width: 220px; opacity: 0.92; }
.phone.main { width: 270px; }
@media (max-width: 760px) {
  .phones { gap: 12px; margin-top: 44px; }
  .phone.side { display: none; }
  .phone.main { width: min(280px, 72vw); }
}

/* ---------- sections ---------- */
.section { padding: 96px 0; border-top: 1px solid var(--line); }
.section-head { text-align: center; max-width: 60ch; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 44px); line-height: 1.1; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 17px; }
.eyebrow { color: var(--accent-soft); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; min-width: 0; }
.step .n { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-weight: 600; font-size: 14px; background: rgba(76,110,245,0.16); color: var(--accent-soft); margin-bottom: 18px; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; min-width: 0; }
.feature svg { width: 26px; height: 26px; color: var(--accent-soft); margin-bottom: 16px; }
.feature h3 { font-size: 17px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 14.5px; }
@media (max-width: 860px) { .steps, .features { grid-template-columns: 1fr; } }

/* before / after strip */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-top: 14px; }
.compare .bar { height: 12px; border-radius: 999px; overflow: hidden; display: flex; gap: 2px; background: rgba(255,255,255,0.05); }
.compare .bar span { height: 100%; display: block; }
.compare .k { background: var(--accent); }
.compare .c { background: rgba(255,107,107,0.75); }
.compare .label { font-size: 13px; color: var(--muted); margin-bottom: 10px; display: flex; justify-content: space-between; }
.compare .label b { color: var(--fg); font-weight: 500; font-variant-numeric: tabular-nums; }
.compare .arrow { color: var(--faint); font-size: 22px; }
@media (max-width: 640px) { .compare { grid-template-columns: 1fr; } .compare .arrow { transform: rotate(90deg); text-align: center; } }

/* ---------- pricing ---------- */
.toggle { display: inline-flex; align-items: center; gap: 12px; margin: 0 auto 34px; font-size: 14px; color: var(--muted); }
.toggle .pill { position: relative; width: 46px; height: 26px; border-radius: 999px; background: var(--accent); border: 0; cursor: pointer; }
.toggle .pill::after { content: ""; position: absolute; top: 3px; left: 23px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: left .18s ease; }
.toggle .pill[aria-checked="false"] { background: #2a2a30; }
.toggle .pill[aria-checked="false"]::after { left: 3px; }
.toggle .save { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; color: var(--accent-soft); background: rgba(76,110,245,0.16); padding: 3px 8px; border-radius: 999px; }
.toggle-row { display: flex; justify-content: center; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 980px; margin-inline: auto; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; min-width: 0; }
.plan.featured { border-color: rgba(76,110,245,0.7); background: linear-gradient(180deg, rgba(76,110,245,0.12), rgba(76,110,245,0.02) 60%), var(--surface); }
.plan .tag { position: absolute; top: -11px; left: 22px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: var(--accent); padding: 4px 10px; border-radius: 999px; }
.plan h3 { font-size: 18px; }
.plan .tagline { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.plan .price { margin: 20px 0 4px; font-size: 40px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: 14px; color: var(--muted); letter-spacing: 0; font-weight: 400; margin-left: 4px; }
.plan .per { color: var(--faint); font-size: 13px; min-height: 18px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; font-size: 14px; color: var(--muted); }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li::before { content: ""; flex: 0 0 auto; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%; background: rgba(76,110,245,0.18) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 8.4l2.6 2.6L12 5.6' fill='none' stroke='%238bacff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 12px no-repeat; }
.plan .btn { margin-top: auto; width: 100%; }
.pricing-note { text-align: center; color: var(--faint); font-size: 13px; margin-top: 22px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 480px; } }


/* ---------- faq ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-size: 17px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--faint); font-size: 22px; font-weight: 300; transition: transform .18s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { color: var(--muted); padding: 0 0 22px; max-width: 64ch; }

/* ---------- cta / waitlist ---------- */
.cta-block { text-align: center; padding: 100px 0; border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.cta-block::before { content: ""; position: absolute; inset: auto -20% -60%; height: 520px; pointer-events: none; background: radial-gradient(closest-side at 50% 70%, rgba(76,110,245,0.22), rgba(76,110,245,0) 70%); }
.cta-block > * { position: relative; }
.cta-block h2 { font-size: clamp(32px, 5vw, 52px); line-height: 1.06; }
.cta-block p { color: var(--muted); margin: 14px auto 0; max-width: 46ch; font-size: 17px; }
.waitlist { display: flex; gap: 8px; justify-content: center; margin: 30px auto 0; max-width: 480px; }
.waitlist input {
  flex: 1; min-width: 0; height: 48px; padding: 0 18px; border-radius: 999px; font: inherit; font-size: 15px;
  color: var(--fg); background: rgba(255,255,255,0.05); border: 1px solid var(--line-strong); outline: none;
}
.waitlist input:focus { border-color: var(--accent); }
.waitlist input::placeholder { color: var(--faint); }
@media (max-width: 480px) { .waitlist { flex-direction: column; } .waitlist .btn { width: 100%; } }
.hidden { position: absolute; left: -9999px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px 0 48px; color: var(--muted); font-size: 14px; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; }
.footer .brand { color: var(--fg); }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer nav a:hover { color: var(--fg); }
.footer .copy { margin-left: auto; color: var(--faint); }
@media (max-width: 640px) { .footer .copy { margin-left: 0; width: 100%; } }

/* ---------- legal pages ---------- */
.doc { max-width: 720px; margin: 0 auto; padding: 72px 0 96px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 10px; }
.doc .meta { color: var(--faint); font-size: 14px; margin-bottom: 40px; }
.doc h2 { font-size: 20px; margin: 40px 0 12px; }
.doc p, .doc li { color: #d4d4d8; font-size: 16px; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 20px; margin: 12px 0; display: grid; gap: 8px; }
.doc a { color: var(--accent-soft); }
.doc .box { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin: 18px 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 14px 0; }
.doc th, .doc td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: #d4d4d8; }
.doc th { color: var(--muted); font-weight: 500; font-size: 13px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .toggle .pill::after { transition: none; } }
