:root {
  --ink: #0B0B0F;
  --ink-2: #15151B;
  --bone: #F4F3EF;
  --paper: #FFFFFF;
  --line: #E2E0DA;
  --muted: #5E5D66;
  --muted-on-ink: #A9A8B1;
  --oxblood: #7A1F2B;
  --forest: #1F3D2B;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius: 22px;
  --wrap: 1180px;
}

@font-face {
  font-family: "Silhou Wordmark";
  src: url("/assets/silhou-wordmark.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; }
em { font-style: italic; }

.wrap { width: min(var(--wrap), calc(100% - 40px)); margin: 0 auto; }
.wrap--narrow { width: min(820px, calc(100% - 40px)); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--bone); }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Brand */
.mark { width: 18px; height: 23px; flex: none; }
.mark--lg { width: 44px; height: 57px; }
.wordmark { font-family: "Silhou Wordmark", var(--serif); font-style: italic; letter-spacing: -0.01em; line-height: 1; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.logo .wordmark { font-size: 28px; }

.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
h1 { font-family: var(--serif); font-size: clamp(48px, 7vw, 92px); line-height: 0.95; letter-spacing: -0.025em; }
h2 { font-family: var(--serif); font-size: clamp(38px, 5vw, 64px); line-height: 1; letter-spacing: -0.02em; }
h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.lead { font-size: 18px; color: var(--muted); max-width: 560px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-size: 16px; font-weight: 500; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer; transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--ink { background: var(--ink); color: var(--bone); }
.btn--ink:hover { opacity: 0.88; }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: rgba(11, 11, 15, 0.05); }
.btn--bone { background: var(--bone); color: var(--ink); }
.btn--bone:hover { opacity: 0.9; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(244, 243, 239, 0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(11, 11, 15, 0.06); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.nav__links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: 15px; }
.nav__links a { text-decoration: none; color: var(--muted); }
.nav__links a:hover { color: var(--ink); }

/* Hero */
.hero { padding: 72px 0 96px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 64px; align-items: center; }
.hero__copy { display: grid; gap: 26px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__facts { display: flex; gap: 28px; list-style: none; margin: 8px 0 0; padding: 0; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.hero__facts li { display: grid; gap: 2px; }
.hero__facts b { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1; color: var(--ink); letter-spacing: -0.02em; }

/* Before / after */
.compare { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1100 / 1504; background: var(--ink-2); box-shadow: 0 40px 80px -40px rgba(11, 11, 15, 0.45); user-select: none; }
.compare__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos, 55%)); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 55%); width: 2px; margin-left: -1px; background: var(--bone); pointer-events: none; }
.compare__handle span { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 999px; background: var(--bone); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25); }
.compare__handle span::before, .compare__handle span::after { content: ""; position: absolute; top: 50%; width: 8px; height: 8px; margin-top: -4px; border: solid var(--ink); border-width: 0 0 2px 2px; }
.compare__handle span::before { left: 12px; transform: rotate(45deg); }
.compare__handle span::after { right: 12px; transform: rotate(-135deg); }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare__range:focus-visible + * { outline: none; }
.compare:focus-within .compare__handle span { outline: 2px solid var(--bone); outline-offset: 3px; }
.compare__tag { position: absolute; top: 16px; padding: 6px 11px; border-radius: 999px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; pointer-events: none; }
.compare__tag--before { left: 16px; background: rgba(11, 11, 15, 0.72); color: var(--bone); }
.compare__tag--after { right: 16px; background: var(--bone); color: var(--ink); }
.compare__product { position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border-radius: 16px; background: rgba(244, 243, 239, 0.94); font-size: 13px; line-height: 1.35; pointer-events: none; }
.compare__product img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }

/* Sections */
.section { padding: 112px 0; }
.section--ink { background: var(--ink); color: var(--bone); }
.section--ink .eyebrow, .section--ink .lead { color: var(--muted-on-ink); }
.section__head { display: grid; gap: 16px; margin-bottom: 48px; max-width: 860px; }

/* Demo */
.tabs { display: inline-flex; gap: 6px; padding: 6px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); margin-bottom: 28px; }
.tab { min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; }
.tab.is-active { background: var(--ink); color: var(--bone); }
.equation { display: grid; grid-template-columns: minmax(0, 0.8fr) auto minmax(0, 1fr) auto minmax(0, 1.25fr); align-items: center; gap: 18px; }
.equation__card { margin: 0; display: grid; gap: 10px; }
.equation__card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; background: var(--paper); transition: opacity 0.25s ease; }
.equation__card--result img { box-shadow: 0 30px 60px -30px rgba(11, 11, 15, 0.45); }
.equation__card figcaption { font-family: var(--mono); font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.equation__op { font-family: var(--serif); font-size: 44px; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 999px; background: var(--ink); }
.is-swapping img { opacity: 0.2; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step { padding: 32px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid #26262E; display: grid; gap: 12px; align-content: start; }
.step__num { font-family: var(--mono); font-size: 12px; color: var(--muted-on-ink); }
.step p { color: var(--muted-on-ink); font-size: 16px; }
.button-demo { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 64px; }
.button-demo__caption { text-align: center; color: var(--muted-on-ink); margin-top: 16px; font-size: 15px; }
.pill { display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 26px; border-radius: 999px; font-size: 16px; font-weight: 500; }
.pill i { width: 1px; height: 18px; background: currentColor; opacity: 0.35; }
.pill .wordmark { font-size: 22px; }
.pill .mark { width: 17px; height: 22px; }
.pill--ink { background: var(--ink); color: #fff; border: 1px solid #3A3A44; }
.pill--bone { background: var(--bone); color: var(--ink); }
.pill--oxblood { background: var(--oxblood); color: #fff; }
.pill--forest { background: var(--forest); color: #F2EFE6; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature { padding: 30px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.feature p { color: var(--muted); font-size: 16px; }

/* Profile band */
.band { padding: 96px 0; background: var(--paper); border-block: 1px solid var(--line); }
.band__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 64px; align-items: center; }
.band__grid > div:first-child { display: grid; gap: 18px; }
.profile-card { justify-self: center; width: min(360px, 100%); padding: 22px; border-radius: 24px; background: var(--bone); border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(11, 11, 15, 0.3); display: grid; gap: 14px; }
.profile-card__head { display: flex; align-items: center; gap: 8px; }
.profile-card__head .wordmark { font-size: 24px; }
.profile-card__label { font-weight: 600; font-size: 15px; }
.profile-card__row { display: flex; gap: 12px; }
.profile-card__row figure { margin: 0; padding: 5px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); display: grid; gap: 6px; justify-items: center; font-size: 12px; }
.profile-card__row figure:first-child { border: 2px solid var(--ink); }
.profile-card__row img { width: 110px; height: 140px; object-fit: cover; border-radius: 10px; }
.profile-card__foot { font-size: 13px; color: var(--muted); text-align: center; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 16px; background: var(--paper); border: 1px solid var(--line); padding: 0 24px; }
.faq summary { cursor: pointer; list-style: none; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--serif); font-size: 28px; color: var(--muted); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); }

/* CTA */
.cta { padding: 120px 0; background: var(--ink); color: var(--bone); text-align: center; }
.cta__inner { display: grid; justify-items: center; gap: 20px; }
.cta .lead { color: var(--muted-on-ink); }
.waitlist { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: 100%; margin-top: 12px; }
.waitlist input { flex: 1 1 220px; max-width: 300px; min-height: 52px; padding: 0 20px; border-radius: 999px; border: 1px solid #3A3A44; background: var(--ink-2); color: var(--bone); font: inherit; font-size: 16px; }
.waitlist input::placeholder { color: #7D7C86; }
.waitlist input:focus-visible { outline: 2px solid var(--bone); outline-offset: 2px; }
.cta :focus-visible { outline-color: var(--bone); }
.waitlist__status { min-height: 24px; font-size: 15px; color: var(--muted-on-ink); }

/* Footer */
.footer { padding: 40px 0; background: var(--ink); color: var(--muted-on-ink); border-top: 1px solid #26262E; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer .logo { color: var(--bone); }
.footer__links { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; font-size: 15px; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: var(--bone); }
.footer__note { font-size: 13px; width: 100%; }

/* Legal pages */
.legal { padding: 72px 0 112px; }
.legal h1 { font-size: clamp(44px, 6vw, 72px); margin-bottom: 12px; }
.legal h2 { font-family: var(--sans); font-size: 21px; font-weight: 600; letter-spacing: -0.01em; margin: 40px 0 12px; }
.legal p, .legal li { color: #34333B; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; display: grid; gap: 6px; }
.legal .meta { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.legal .notice { margin-top: 24px; padding: 16px 20px; border-radius: 14px; background: #FFF6E0; border: 1px solid #EBD9A6; color: #5A4507; font-size: 15px; }

/* Responsive */
@media (max-width: 960px) {
  .hero__grid, .band__grid { grid-template-columns: 1fr; gap: 48px; }
  .features, .steps { grid-template-columns: 1fr 1fr; }
  .equation { grid-template-columns: 1fr 1fr; }
  .equation__op { display: none; }
  .equation__card--result { grid-column: 1 / -1; }
  .nav__links { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 40px 0 64px; }
  .section { padding: 80px 0; }
  .features, .steps { grid-template-columns: 1fr; }
  .tabs { display: flex; width: 100%; }
  .tab { flex: 1; padding: 0 10px; }
  .pill { height: 50px; padding: 0 20px; font-size: 15px; }
  .hero__facts { gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
