@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/PlusJakartaSans-var.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("/assets/fonts/IBMPlexMono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("/assets/fonts/IBMPlexMono-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --bg: #0a0a0b;
  --surface: #141417;
  --surface-2: #1c1c21;
  --border: rgba(255, 255, 255, 0.09);
  --hairline: rgba(255, 255, 255, 0.13);
  --text: #f5f5f7;
  --text-2: #98989d;
  --accent: #ff453a;
  --accent-soft: rgba(255, 69, 58, 0.14);
  --display: "Plus Jakarta Sans", -apple-system, sans-serif;
  --mono: "Plex Mono", ui-monospace, "SF Mono", monospace;
  --radius: 16px;
  --maxw: 880px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--text); }

h1, h2, h3 { font-family: var(--display); }

/* ---------- nav ---------- */
nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(10, 10, 11, 0.8);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700;
  text-decoration: none; font-size: 17px; letter-spacing: -0.01em;
}
.brand img { border-radius: 7px; }
.nav-links { display: flex; gap: 22px; }
.nav-links a {
  color: var(--text-2); text-decoration: none;
  font-family: var(--mono); font-size: 13px;
}
.nav-links a:hover { color: var(--text); }

/* ---------- hero ---------- */
header {
  max-width: var(--maxw); margin: 0 auto;
  padding: 84px 24px 64px;
  text-align: center;
}
.hero-icon {
  width: 96px; height: 96px; border-radius: 22px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  margin-bottom: 28px;
}
h1 {
  font-size: clamp(42px, 7.5vw, 68px);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.04;
}
.sub {
  margin: 20px auto 34px; max-width: 480px;
  font-size: 20px; color: var(--text-2);
}

.cta {
  display: inline-block;
  background: var(--accent); color: #fff;
  font-family: var(--display);
  font-size: 18px; font-weight: 700; letter-spacing: -0.01em;
  text-decoration: none;
  padding: 15px 36px; border-radius: 14px;
  box-shadow: 0 8px 28px rgba(255, 69, 58, 0.35);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.cta:hover { transform: translateY(-1px); box-shadow: 0 10px 34px rgba(255, 69, 58, 0.45); }
.micro {
  margin-top: 16px;
  font-family: var(--mono); font-size: 12px; color: var(--text-2);
  letter-spacing: 0.02em;
}

/* ---------- hero demo ---------- */
.demo { margin: 64px auto 0; max-width: 560px; }
.demo-field {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius);
  min-height: 84px; padding: 22px 24px;
  text-align: left; font-size: 17px; color: var(--text);
  display: flex; align-items: flex-start;
}
.caret {
  display: inline-block; width: 2px; height: 1.25em;
  background: var(--accent); margin-left: 2px;
  animation: blink 1.05s steps(1) infinite;
  vertical-align: text-bottom;
}
@keyframes blink { 50% { opacity: 0; } }

.hud {
  margin: 22px auto 0; width: fit-content;
  background: var(--surface-2);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px; padding: 12px 26px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}
.bars { display: flex; align-items: center; gap: 3.5px; height: 22px; }
.bars i {
  width: 3.5px; border-radius: 99px; background: var(--accent);
  animation: dance 1.1s ease-in-out infinite;
}
.bars i:nth-child(1) { height: 6px;  animation-delay: 0.00s; }
.bars i:nth-child(2) { height: 10px; animation-delay: 0.22s; }
.bars i:nth-child(3) { height: 15px; animation-delay: 0.08s; }
.bars i:nth-child(4) { height: 19px; animation-delay: 0.30s; }
.bars i:nth-child(5) { height: 22px; animation-delay: 0.16s; }
.bars i:nth-child(6) { height: 18px; animation-delay: 0.36s; }
.bars i:nth-child(7) { height: 13px; animation-delay: 0.04s; }
.bars i:nth-child(8) { height: 9px;  animation-delay: 0.26s; }
.bars i:nth-child(9) { height: 6px;  animation-delay: 0.12s; }
@keyframes dance {
  0%, 100% { transform: scaleY(0.45); }
  50% { transform: scaleY(1.15); }
}

/* ---------- sections ---------- */
section { max-width: var(--maxw); margin: 0 auto; padding: 76px 24px; }
h2 {
  font-size: clamp(28px, 4.5vw, 40px);
  font-weight: 700; letter-spacing: -0.025em;
  margin-bottom: 34px; text-align: center;
}

/* value trio — editorial columns over a single hairline, no boxes */
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  border-top: 1px solid var(--hairline);
  padding-top: 56px;
}
.card { background: none; border: none; padding: 0; }
.card h3 {
  font-family: var(--mono); font-weight: 500;
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.card p { color: var(--text-2); font-size: 16px; }
.card p::first-line { color: var(--text); }

/* privacy — numbered editorial rows, hairlines, no boxes */
.privacy { max-width: 720px; }
.privacy h2 { text-align: left; }
.privacy-lead {
  color: var(--text-2); font-size: 19px;
  margin: -18px 0 14px; text-align: left;
}
.privacy ul {
  list-style: none;
  counter-reset: proof;
}
.privacy li {
  counter-increment: proof;
  position: relative;
  padding: 28px 0 28px 64px;
  border-top: 1px solid var(--hairline);
  color: var(--text-2); font-size: 16px;
}
.privacy li:last-child { border-bottom: 1px solid var(--hairline); }
.privacy li::before {
  content: counter(proof, decimal-leading-zero);
  position: absolute; left: 0; top: 32px;
  font-family: var(--mono); font-size: 14px;
  color: var(--accent);
}
.privacy li strong {
  color: var(--text); display: block; margin-bottom: 4px;
  font-family: var(--display); font-size: 19px; font-weight: 600;
  letter-spacing: -0.01em;
}

/* features — two-column hairline list, no boxes */
.feature-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px;
}
.feature-grid > div {
  background: none; border: none; border-radius: 0;
  border-top: 1px solid var(--hairline);
  padding: 22px 0;
}
.feature-grid strong {
  display: block; font-family: var(--display);
  font-size: 17px; font-weight: 600; letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.feature-grid span { color: var(--text-2); font-size: 15px; line-height: 1.55; display: block; }

/* faq — hairline dividers, no boxes */
.faq { max-width: 680px; }
.faq details {
  background: none; border: none; border-radius: 0;
  border-top: 1px solid var(--hairline);
  padding: 20px 2px; margin: 0;
}
.faq details:last-of-type { border-bottom: 1px solid var(--hairline); }
.faq summary {
  cursor: pointer; font-family: var(--display);
  font-weight: 600; font-size: 17px; letter-spacing: -0.01em;
  list-style: none; position: relative; padding-right: 32px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 2px; top: -3px;
  color: var(--accent); font-size: 22px; font-weight: 400;
  font-family: var(--mono);
  transition: transform 0.15s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; color: var(--text-2); font-size: 15.5px; }
.faq a { color: var(--accent); }

/* final CTA */
.final {
  text-align: center;
  background: linear-gradient(180deg, var(--accent-soft), transparent 75%);
  border-top: 1px solid var(--border);
  max-width: none;
}
.final h2 { margin-bottom: 30px; }

/* footer */
footer {
  border-top: 1px solid var(--border);
  padding: 36px 24px 48px; text-align: center;
  font-size: 14.5px;
}
footer a { color: var(--text-2); }
footer .muted {
  color: var(--text-2); opacity: 0.7; margin-top: 8px;
  font-family: var(--mono); font-size: 12px;
}

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  .cards { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; }
  .feature-grid { grid-template-columns: 1fr; }
  .privacy li { padding-left: 44px; }
  header { padding-top: 56px; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .bars i, .caret { animation: none; }
}
