:root {
  --bg: #f5f4ef;
  --surface: #ffffff;
  --ink: #121212;
  --ink-2: #3d3d3a;
  --muted: #6e6d68;
  --line: #e2e0d8;
  --dark: #111110;
  --dark-2: #1c1c1a;
  --dark-line: #2c2c29;
  --accent: #c8f53c;
  --accent-ink: #121212;
  --radius: 22px;
  --wrap: 1160px;
  --section-y: clamp(64px, 7vw, 104px);
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; letter-spacing: -0.02em; font-size: 18px; }
.brand-mark { width: 28px; height: 28px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--ink); }
.nav .nav-cta {
  color: var(--bg); background: var(--ink); padding: 9px 16px; border-radius: 999px;
}
.nav .nav-cta:hover { color: var(--bg); opacity: .88; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; margin-right: -8px; cursor: pointer; color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px; font-weight: 600; font-size: 16px;
  text-decoration: none; border: 1px solid transparent; transition: transform .15s, opacity .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-ghost { border-color: rgb(17 17 17 / .16); background: var(--surface); color: var(--ink); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }

/* Hero */
.hero { padding: 88px 0 72px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--ink); }
.hero h1 {
  font-size: clamp(44px, 7.4vw, 96px); line-height: 1; letter-spacing: -0.035em; text-wrap: balance; font-weight: 600;
  margin: 22px 0 26px; max-width: 13ch;
}
.hero h1 .serif { font-size: 1.06em; }
.hero p.lede { font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); max-width: 36em; margin: 0 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0;
  margin-top: 72px; border-top: 1px solid var(--line);
}
.hero-facts div { padding: 22px 24px 0 0; }
.hero-facts strong { display: block; font-size: 15px; font-weight: 650; }
.hero-facts span { font-size: 15px; color: var(--muted); }

/* Sections */
section { scroll-margin-top: 80px; }
.section { padding: calc(var(--section-y) / 2) 0; }
.section:first-of-type { padding-top: var(--section-y); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.08; letter-spacing: -0.025em; font-weight: 600; margin: 10px 0 0; max-width: 16ch; text-wrap: balance; }
.section-head p { color: var(--ink-2); max-width: 32ch; margin: 0; }

/* Products */
.products { display: grid; grid-template-columns: 1.55fr 1fr; gap: 16px; }
.card { border-radius: var(--radius); background: var(--surface); border: 1px solid rgb(17 17 17 / .09); box-shadow: 0 1px 2px rgb(0 0 0 / .04); padding: 32px; }
.card-dark { background: var(--dark); color: #f3f2ec; border-color: var(--dark); position: relative; overflow: hidden; }
.product-main { display: grid; grid-template-columns: 1fr 210px; gap: 28px; align-items: center; min-height: 440px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tag { font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--dark-line); color: #cfcec7; }
.tag-accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.product-main h3 { font-size: 46px; letter-spacing: -0.025em; line-height: 1; margin: 0 0 14px; font-weight: 650; }
.product-main p { color: #b9b8b0; margin: 0 0 26px; max-width: 26em; }
.product-meta { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 15px; color: #d9d8d1; }
.product-meta li { display: flex; gap: 10px; align-items: baseline; }
.product-meta li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; transform: translateY(-2px); }
.product-domain { margin-top: 28px; font-size: 15px; color: #8d8c85; }
.product-domain strong { color: #f3f2ec; font-weight: 600; }

.phone {
  width: 210px; aspect-ratio: 9 / 18.5; border-radius: 34px; padding: 8px;
  background: #2a2a27; box-shadow: 0 30px 60px rgba(0,0,0,.45), inset 0 0 0 1px #3a3a36;
}
.phone-screen {
  height: 100%; border-radius: 27px; overflow: hidden; position: relative;
  background:
    radial-gradient(120% 70% at 20% 10%, #ff5bb0 0%, transparent 55%),
    radial-gradient(100% 70% at 90% 40%, #6c4bff 0%, transparent 60%),
    radial-gradient(120% 80% at 50% 110%, #ffb23c 0%, transparent 55%),
    #1b1030;
  display: flex; flex-direction: column; justify-content: space-between; padding: 18px 14px;
}
.phone-top { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; color: rgba(255,255,255,.85); letter-spacing: .04em; }
.rec { display: inline-flex; align-items: center; gap: 5px; }
.rec::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ff3b3b; animation: blink 1.2s infinite; }
.lyric { font-size: 20px; line-height: 1.08; font-weight: 800; color: #fff; letter-spacing: -0.02em; text-transform: uppercase; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.lyric em { font-style: normal; color: var(--accent); }
.wave { display: flex; align-items: end; gap: 3px; height: 38px; }
.wave i { flex: 1; background: rgba(255,255,255,.9); border-radius: 2px; animation: bounce 1s ease-in-out infinite; }
.wave i:nth-child(odd) { animation-duration: .8s; }
.wave i:nth-child(3n) { animation-duration: 1.25s; background: var(--accent); }
@keyframes bounce { 0%,100% { height: 22%; } 50% { height: 100%; } }
@keyframes blink { 50% { opacity: .2; } }

.product-side { display: flex; flex-direction: column; justify-content: flex-start; gap: 28px; align-self: start; }
.product-side h3 { font-size: 28px; letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 10px; font-weight: 600; }
.product-side p { color: var(--ink-2); margin: 0; }
.mini-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.mini-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.mini-list li span:last-child { color: var(--muted); text-align: right; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step { position: relative; }
.step-num { font-family: var(--serif); font-style: italic; font-size: 56px; line-height: 1; color: var(--ink); margin-bottom: 26px; }
.step h3 { font-size: 21px; letter-spacing: -0.02em; margin: 0 0 8px; font-weight: 600; }
.step p { color: var(--ink-2); margin: 0; font-size: 16px; }

/* Billing band */
.band { background: var(--dark); color: #f3f2ec; border-radius: 32px; padding: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.band h2 { font-size: clamp(32px, 4vw, 50px); line-height: 1.08; letter-spacing: -0.025em; margin: 10px 0 18px; font-weight: 600; text-wrap: balance; }
.band .eyebrow { color: #a3a29b; }
.band p { color: #b9b8b0; margin: 0 0 16px; }
.statement {
  align-self: center; background: #f3f2ec; color: var(--ink); border-radius: 18px; padding: 24px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.statement-head { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; padding-bottom: 12px; border-bottom: 1px dashed #c9c7bf; }
.statement-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed #d8d6ce; color: var(--ink-2); }
.statement-row.hl { color: var(--ink); font-weight: 700; background: var(--accent); margin: 0 -10px; padding: 12px 10px; border-radius: 8px; border-bottom-color: transparent; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-size: 19px; font-weight: 600; letter-spacing: -0.015em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .2s;
}
.faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-list details p { margin: -6px 0 22px; color: var(--ink-2); max-width: 40em; }

/* Company */
.company { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.company .card h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 14px; font-weight: 600; }
.company .card p { margin: 0; font-size: 18px; line-height: 1.5; }
.company .card a { text-decoration: none; border-bottom: 1px solid var(--line); }
.company .card a:hover { border-bottom-color: var(--ink); }
.company .card .sub { color: var(--muted); font-size: 15px; margin-top: 8px; }

/* Footer */
.site-footer { padding: 72px 0 40px; margin-top: 40px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.footer-grid p { color: var(--muted); font-size: 15px; margin: 14px 0 0; max-width: 26em; }
.footer-grid h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 6px 0 14px; font-weight: 600; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid ul a { text-decoration: none; font-size: 15px; color: var(--ink-2); }
.footer-grid ul a:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; color: var(--muted); font-size: 14px; }

/* Legal pages */
.legal-hero { padding: 72px 0 40px; }
.legal-hero h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.04; letter-spacing: -0.03em; margin: 16px 0 14px; font-weight: 600; }
.legal-hero p { color: var(--muted); margin: 0; }
.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; padding-bottom: 64px; }
.legal-nav { position: sticky; top: 92px; align-self: start; display: grid; gap: 4px; }
.legal-nav a { text-decoration: none; color: var(--muted); font-size: 15px; padding: 6px 12px; border-radius: 10px; }
.legal-nav a:hover { color: var(--ink); }
.legal-nav a.active { background: var(--surface); color: var(--ink); font-weight: 600; border: 1px solid var(--line); }
.legal-body { max-width: 720px; }
.legal-body h2 { font-size: 24px; letter-spacing: -0.02em; margin: 44px 0 12px; font-weight: 600; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 18px; margin: 24px 0 8px; font-weight: 600; }
.legal-body p, .legal-body li { color: var(--ink-2); }
.legal-body ul { padding-left: 20px; }
.legal-body li { margin-bottom: 6px; }
.legal-body a { text-underline-offset: 3px; }
.legal-body .callout { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; margin: 0 0 8px; }
.legal-body .callout p { margin: 0; }

@media (max-width: 960px) {
  .products, .band, .faq { grid-template-columns: 1fr; }
  .product-main { grid-template-columns: 1fr; min-height: 0; }
  .product-main .phone { justify-self: center; }
  .band { padding: 40px 28px; gap: 36px; }
  .faq { gap: 24px; }
  .legal-layout { grid-template-columns: 1fr; gap: 24px; }
  .legal-nav { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; font-size: 17px; }
  .nav .nav-cta { text-align: center; margin-top: 8px; padding: 12px 16px; }
  .menu-btn { display: block; }
  .hero { padding: 56px 0 48px; }
  .hero-facts { grid-template-columns: 1fr; margin-top: 48px; }
  .hero-facts div { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .section { padding: 64px 0; }
  .card { padding: 24px; }
  .product-main h3 { font-size: 38px; }
  .steps, .company, .footer-grid { grid-template-columns: 1fr; }
  .band { border-radius: 24px; }
  .tag { padding: 4px 9px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
