:root {
  --bg: #fafaf8;
  --surface: #ffffff;
  --ink: #0b0b0c;
  --ink-2: #2d2d31;
  --muted: #67676c;
  --line: #e7e6e2;
  --soft: #f2f1ed;
  --accent: #ff4d2e;
  --accent-ink: #c2341a;
  --accent-soft: #fff0ec;
  --radius: 16px;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0;
}
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { --gutter: 24px; width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
@media (max-width: 600px) { .container { --gutter: 16px; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 248, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-color: var(--line); }
.nav { display: flex; align-items: center; gap: 32px; height: 64px; }
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Inter Tight", sans-serif; font-weight: 700; font-size: 18px;
  letter-spacing: -0.02em; text-decoration: none;
}
.logo-mark { width: 22px; height: 22px; border-radius: 6px; background: var(--ink); position: relative; flex: none; }
.logo-mark::after {
  content: ""; position: absolute; left: 10px; top: 4px;
  width: 3px; height: 14px; border-radius: 2px; background: var(--accent);
}
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 14.5px; transition: color .15s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.menu-btn {
  display: none; margin-left: auto; width: 40px; height: 40px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 16px; height: 1.5px; background: var(--ink); position: relative; content: "";
}
.menu-btn span::before { position: absolute; top: -5px; }
.menu-btn span::after { position: absolute; top: 5px; }

@media (max-width: 760px) {
  .nav { gap: 12px; }
  .menu-btn { display: inline-flex; }
  .nav .btn-sm { display: none; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px 16px 16px;
    background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 999px;
  font: 500 15px/1 "Inter", sans-serif; text-decoration: none; white-space: nowrap;
  background: var(--ink); color: #fff; border: 1px solid var(--ink);
  transition: background .15s, border-color .15s, transform .15s;
}
.btn:hover { background: #2a2a2d; }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: #ececea; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Shared bits ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 12px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); font-size: 13.5px; font-weight: 500;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 77, 46, .16);
}
.eyebrow {
  font-size: 12.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  color: var(--accent-ink);
}
.section { padding: 104px 0; }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(32px, 4.2vw, 50px); margin-top: 14px; }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 17px; }
@media (max-width: 600px) { .section { padding: 72px 0; } .section-head { margin-bottom: 36px; } }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 72px; }
.hero h1 { font-size: clamp(42px, 7vw, 80px); max-width: 13ch; margin: 26px 0 22px; letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: var(--muted); }
.lead { font-size: clamp(17px, 1.7vw, 19px); color: var(--muted); max-width: 54ch; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px;
  font-size: 14px; color: var(--muted); list-style: none; padding: 0;
}
.hero-meta li { display: flex; align-items: center; gap: 8px; }
.hero-meta li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--ink); }

/* Timeline visual */
.timeline {
  margin-top: 64px; border: 1px solid var(--line); border-radius: 18px;
  background: var(--surface); overflow: hidden;
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .25);
}
.tl-top {
  display: flex; align-items: center; gap: 14px; padding: 12px 16px;
  border-bottom: 1px solid var(--line); font: 12px/1 var(--mono); color: var(--muted);
}
.tl-dots { display: flex; gap: 6px; }
.tl-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); display: block; }
.tl-time { margin-left: auto; color: var(--ink); }
.tl-body { position: relative; padding: 10px 16px 16px; }
.tl-ruler, .tl-row { display: grid; grid-template-columns: 36px 1fr; gap: 10px; }
.tl-ruler { font: 10.5px/1 var(--mono); color: var(--muted); margin-bottom: 8px; }
.tl-ruler div { display: flex; justify-content: space-between; }
.tl-row { height: 38px; margin-top: 6px; align-items: center; }
.tl-row b { font: 600 11px/1 var(--mono); color: var(--muted); }
.tl-lane { position: relative; height: 100%; background: var(--bg); border-radius: 8px; }
.clip {
  position: absolute; top: 4px; bottom: 4px;
  left: calc(var(--s) * 1%); width: calc(var(--w) * 1% - 3px);
  border-radius: 6px; background: #ebeae5; border: 1px solid #dcdbd4;
  font: 500 11px/1 "Inter", sans-serif; display: flex; align-items: center; padding: 0 8px; overflow: hidden; white-space: nowrap;
}
.clip-accent { background: var(--accent-soft); border-color: #ffbdaa; }
.clip-text { background: var(--ink); border-color: var(--ink); color: #fff; }
.clip-audio {
  background: repeating-linear-gradient(90deg, #bebdb5 0 2px, transparent 2px 5px) center / 100% 52% no-repeat, #f1f0ec;
  border-color: #e2e1db;
}
.clip-audio.alt {
  background: repeating-linear-gradient(90deg, #ff9a85 0 2px, transparent 2px 5px) center / 100% 52% no-repeat, var(--accent-soft);
  border-color: #ffd3c7;
}
.tl-overlay { position: absolute; top: 28px; bottom: 12px; left: 62px; right: 16px; pointer-events: none; }
.tl-playhead { position: absolute; top: 0; bottom: 0; left: 38%; width: 2px; background: var(--accent); animation: play 16s linear infinite; }
.tl-playhead::before {
  content: ""; position: absolute; top: -6px; left: -5px; width: 12px; height: 10px;
  background: var(--accent); clip-path: polygon(0 0, 100% 0, 50% 100%);
}
@keyframes play { from { left: 0%; } to { left: 100%; } }
@media (prefers-reduced-motion: reduce) { .tl-playhead { animation: none; } html { scroll-behavior: auto; } }
@media (max-width: 600px) {
  .timeline { margin-top: 48px; }
  .tl-ruler div span:nth-child(even) { visibility: hidden; }
  .clip-text { font-size: 0; }
}

/* ---------- Pricing ---------- */
.price-group + .price-group { margin-top: 72px; }
.group-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap;
  border-top: 1px solid var(--ink); padding-top: 18px; margin-bottom: 24px;
}
.group-head h3 { font-size: 22px; }
.group-head p { color: var(--muted); font-size: 15px; }
.plans { display: grid; gap: 16px; }
.plans-4 { grid-template-columns: repeat(4, 1fr); }
.plans-3 { grid-template-columns: repeat(3, 1fr); }
.plans-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1060px) { .plans-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .plans-3, .plans-2 { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .plans-4 { grid-template-columns: 1fr; } }

.plan {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px 22px; display: flex; flex-direction: column;
  transition: border-color .2s, box-shadow .2s;
}
.plan:hover { border-color: #cfcec8; }
.plan.featured { border-color: var(--ink); box-shadow: 0 24px 48px -32px rgba(0, 0, 0, .35); }
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 26px; }
.plan h4 { font-size: 18px; }
.badge {
  font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px;
  background: var(--ink); color: #fff; white-space: nowrap;
}
.badge-save { background: var(--accent-soft); color: var(--accent-ink); }
.plan-desc { color: var(--muted); font-size: 14.5px; margin-top: 8px; min-height: 3.2em; }
.price {
  display: flex; align-items: flex-start; gap: 2px; margin-top: 22px;
  font: 600 52px/1 "Inter Tight", sans-serif; letter-spacing: -0.04em;
}
.price .cur { font-size: 22px; margin-top: 7px; letter-spacing: 0; }
.price-note { font-size: 13px; color: var(--muted); margin-top: 8px; }
.features { list-style: none; padding: 0; margin: 22px 0 20px; display: grid; gap: 10px; font-size: 14.5px; flex: 1; align-content: start; }
.features li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.features li::before {
  content: ""; flex: none; width: 16px; height: 16px; margin-top: 2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%230b0b0c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.features li.plus { font-weight: 500; }
.plan-premium .features { grid-template-columns: 1fr 1fr; column-gap: 20px; }
@media (max-width: 1060px) { .plan-premium .features { grid-template-columns: 1fr; } }
.plan-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.plan-meta span { font-size: 12px; padding: 4px 9px; white-space: nowrap; border-radius: 999px; background: var(--soft); color: #3f3f44; }
.plan-guarantee {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 12px; color: var(--muted); margin-top: 14px; white-space: nowrap;
}
.plan-guarantee .dot { width: 6px; height: 6px; box-shadow: none; }

/* Mobile: each category becomes a horizontal swipe row */
.plans-dots { display: none; }
@media (max-width: 760px) {
  .plans, .plans-4, .plans-3, .plans-2 {
    display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 20px;
    scrollbar-width: none;
  }
  .plans::-webkit-scrollbar { display: none; }
  .plan { flex: 0 0 min(84%, 340px); scroll-snap-align: start; }
  .plan-premium .features { grid-template-columns: 1fr; }
  .plans-dots { display: flex; justify-content: center; gap: 6px; margin-top: 2px; }
  .plans-dots span { width: 6px; height: 6px; border-radius: 999px; background: #d6d5cf; transition: width .25s, background .25s; }
  .plans-dots span.active { width: 18px; background: var(--ink); }
  .price-group + .price-group { margin-top: 48px; }
}

.pricing-foot {
  margin-top: 56px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px;
}
@media (max-width: 860px) { .pricing-foot { grid-template-columns: 1fr; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; }
.panel h4 { font-size: 16px; margin-bottom: 18px; }
.addon-list { list-style: none; margin: 0; padding: 0; }
.addon-list li {
  display: flex; justify-content: space-between; gap: 16px; padding: 12px 0;
  border-top: 1px solid var(--line); font-size: 14.5px;
}
.addon-list li:first-child { border-top: 0; padding-top: 0; }
.addon-list strong { font-weight: 600; white-space: nowrap; }
.addon-list small { display: block; color: var(--muted); font-size: 13px; }
.include-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; font-size: 14.5px; }
.include-list li { display: flex; gap: 10px; }
.include-list li::before { content: "—"; color: var(--accent); }
@media (max-width: 520px) { .include-list { grid-template-columns: 1fr; } }
.fine { font-size: 13px; color: var(--muted); margin-top: 20px; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { border-top: 1px solid var(--line); padding-top: 22px; }
.steps li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font: 500 13px/1 var(--mono); color: var(--accent-ink); margin-bottom: 18px;
}
.steps h3 { font-size: 19px; margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Guarantee block ---------- */
.guarantee {
  background: var(--ink); color: #fff; border-radius: 28px;
  padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 6vw, 80px); align-items: center;
}
.guarantee-num {
  font: 600 clamp(110px, 18vw, 220px)/.8 "Inter Tight", sans-serif; letter-spacing: -0.06em;
  display: flex; align-items: flex-start;
}
.guarantee-num small { font-size: .16em; letter-spacing: 0; margin: .3em 0 0 .25em; color: var(--accent); text-transform: uppercase; font-weight: 600; }
.guarantee h2 { font-size: clamp(30px, 3.8vw, 46px); }
.guarantee p { color: #b9b9be; margin-top: 16px; font-size: 17px; max-width: 54ch; }
.guarantee ul { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 10px; font-size: 15px; }
.guarantee li { display: flex; gap: 12px; align-items: flex-start; }
.guarantee li::before { content: ""; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--accent); flex: none; }
.guarantee .eyebrow { color: var(--accent); }
@media (max-width: 760px) { .guarantee { grid-template-columns: 1fr; border-radius: 22px; } }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; gap: 0; } }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 36px 22px 0; position: relative;
  font: 500 17px/1.4 "Inter Tight", sans-serif; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 12px; height: 12px; margin-top: -6px;
  background: linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat,
              linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 36px 22px 0; font-size: 15.5px; }

/* ---------- CTA ---------- */
.cta { text-align: center; padding: 104px 0 120px; }
.cta h2 { font-size: clamp(36px, 5vw, 60px); max-width: 16ch; margin: 0 auto; }
.cta p { color: var(--muted); margin: 18px auto 32px; max-width: 48ch; font-size: 17px; }
.cta .pill { margin-bottom: 28px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 40px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer-grid h5 { font-size: 13px; font-weight: 600; margin: 0 0 14px; letter-spacing: .02em; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--ink); }
.footer-brand p { color: var(--muted); margin-top: 14px; max-width: 34ch; }
.footer-brand .pill { margin-top: 20px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 13px;
}
.footer-bottom p { max-width: 70ch; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Policy pages ---------- */
.doc-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 72px; padding-top: 64px; padding-bottom: 104px; }
.doc-nav { position: sticky; top: 96px; align-self: start; min-width: 0; }
.doc-nav h5 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); margin: 0 0 14px; font-weight: 600; }
.doc-nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.doc-nav a {
  display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none;
  color: var(--muted); font-size: 14.5px;
}
.doc-nav a:hover { color: var(--ink); background: var(--soft); }
.doc-nav a[aria-current="page"] { color: var(--ink); background: var(--surface); border: 1px solid var(--line); font-weight: 500; }
@media (max-width: 860px) {
  .doc-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 40px; }
  .doc-nav { position: static; }
  .doc-nav ul { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
  .doc-nav a { white-space: nowrap; border: 1px solid var(--line); background: var(--surface); }
}

.prose { max-width: 720px; }
.prose h1 { font-size: clamp(36px, 5vw, 52px); letter-spacing: -0.035em; }
.prose .updated { color: var(--muted); font-size: 14px; margin-top: 14px; }
.prose h2 { font-size: 22px; margin: 48px 0 12px; }
.prose h3 { font-size: 17px; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--ink-2); font-size: 16px; }
.prose p + p { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 20px; margin: 12px 0; display: grid; gap: 6px; }
.prose a { text-decoration-color: #c9c8c2; text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--ink); }
.prose strong { font-weight: 600; color: var(--ink); }
.callout {
  display: flex; gap: 14px; align-items: flex-start;
  margin: 32px 0 8px; padding: 18px 20px; border-radius: 14px;
  background: var(--accent-soft); border: 1px solid #ffd6cb; font-size: 15px;
}
.callout .dot { margin-top: 8px; }
.callout p { color: var(--ink-2); font-size: 15px; }
.table-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.prose th, .prose td { text-align: left; padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.prose thead th { border-top: 0; font-weight: 600; background: var(--soft); }
.contact-card {
  margin-top: 48px; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
}
.contact-card h2 { margin-top: 0; font-size: 18px; }
