/* Buoy shared styles. Page-specific rules live in each page's <style> block. */
:root {
  --bg: #ffffff;
  --bg-subtle: #f7f7f8;
  --ink: #0f1012;
  --ink-2: #4b4f57;
  --muted: #8a8f98;
  --line: #e6e7ea;
  --line-strong: #d4d6da;
  --accent: #ff593d;
  --good: #1a9b5f;
  --shadow: 0 1px 2px rgba(15,16,18,.04), 0 8px 24px rgba(15,16,18,.06);
  --shadow-sm: 0 1px 2px rgba(15,16,18,.04);
  /* Legacy names, mapped onto the neutral palette. */
  --paper: #ffffff;
  --orange: var(--accent);
  --yellow: var(--bg-subtle);
  --aqua: var(--bg-subtle);
  --blue: var(--bg-subtle);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink-2);
  background: var(--bg);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
main { overflow-x: clip; }
@supports not (overflow-x: clip) {
  @media (max-width: 850px) { main { overflow-x: hidden; } }
}
button, a { font: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
h1, h2, h3 { color: var(--ink); font-weight: 600; }
h1, h2, h3, p { margin-top: 0; }
strong { color: var(--ink); font-weight: 600; }

.topline {
  background: var(--bg-subtle);
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.3;
  text-align: center;
  padding: 9px 16px;
  border-bottom: 1px solid var(--line);
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.85);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-in { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-left { display: flex; align-items: center; gap: 16px; min-width: 0; }
.nav-note { font-size: 14px; color: var(--muted); padding-left: 16px; border-left: 1px solid var(--line); line-height: 1.2; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: color .15s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.button { color: #fff; }
.nav-links a.button.dark:hover { color: #fff; }

.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 24px; height: 24px; display: inline-block; flex: none; }
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-word { font-weight: 600; font-size: 21px; letter-spacing: -.045em; line-height: 1; }

/* Buttons: .button.dark is primary, plain .button is secondary */
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: background-color .15s ease, border-color .15s ease;
}
.button:hover { background: var(--bg-subtle); }
.button.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.button.dark:hover { background: #2a2c31; border-color: #2a2c31; }

.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--muted);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.micro { font-size: 13px; line-height: 1.45; color: var(--muted); max-width: 260px; }
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section-head { display: grid; grid-template-columns: .75fr 1.25fr; gap: 44px; align-items: start; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -.04em; margin: 0; text-wrap: balance; }
.section-head p { font-size: 17px; max-width: 600px; margin: 4px 0 0; }
.flow { counter-reset: steps; border-top: 1px solid var(--line); }
.flow-row {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 72px 1fr 1.1fr;
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.flow-row::before { content: "0" counter(steps); font-size: 13px; font-weight: 500; line-height: 1.9; color: var(--muted); }
.flow-row h3 { font-size: clamp(20px, 2vw, 24px); line-height: 1.2; margin: 0; letter-spacing: -.03em; }
.flow-row p { margin: 0; font-size: 16px; max-width: 520px; }
.stack { display: grid; gap: 10px; }
.stack-groups { display: grid; gap: 34px; }
.stack-group-title { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--ink); letter-spacing: 0; }
.stack-group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.stack-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  align-items: center;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}
.stack-icon { width: 32px; height: 32px; border-radius: 8px; background: var(--bg-subtle); color: var(--muted); display: grid; place-items: center; font-size: 12px; font-weight: 500; line-height: 1; }
.stack-item strong { display: block; font-size: 16px; font-weight: 600; }
.stack-item small { display: block; font-size: 14px; line-height: 1.5; color: var(--ink-2); margin-top: 2px; }
.price-kicker { font-size: 13px; font-weight: 500; color: var(--muted); }
.price { font-size: clamp(52px, 6vw, 72px); font-weight: 600; color: var(--ink); letter-spacing: -.04em; line-height: 1; margin: 18px 0 8px; }
.price small { font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.guarantee-kicker { font-size: 13px; font-weight: 500; color: var(--muted); }
.guarantee-fair { font-size: 13px; line-height: 1.55; margin: 0; color: var(--ink-2); }
.faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 56px; }
.faq-grid h2 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.04em; line-height: 1.08; }
details { border-top: 1px solid var(--line); padding: 20px 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; font-size: 17px; font-weight: 600; color: var(--ink); padding-right: 34px; position: relative; letter-spacing: -.01em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 2px; top: -2px; font-size: 24px; font-weight: 400; line-height: 1.2; color: var(--muted); }
details[open] summary::after { content: "–"; }
details p { margin: 12px 40px 0 0; max-width: 680px; }
.prose { max-width: 720px; padding: clamp(48px, 7vw, 88px) 0; }
.prose h1 { font-size: clamp(36px, 4.6vw, 52px); line-height: 1.05; letter-spacing: -.04em; margin-bottom: 18px; text-wrap: balance; }
.prose h2 { font-size: clamp(22px, 2.4vw, 26px); line-height: 1.15; letter-spacing: -.03em; margin: 40px 0 12px; }
.prose p, .prose li { font-size: 17px; line-height: 1.6; }
.prose ul { padding-left: 22px; }
.prose a.button { text-decoration: none; }
.prose a:not(.button) { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.prose a:not(.button):hover { text-decoration-color: var(--ink); }

/* Footer */
footer { background: var(--bg-subtle); border-top: 1px solid var(--line); padding: 48px 0 40px; }
.footer-line { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 30px; }
.footer-line strong { flex: 0 0 100%; font-size: clamp(24px, 2.6vw, 28px); font-weight: 600; letter-spacing: -.035em; line-height: 1.15; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.footer-line > span { font-size: 13px; line-height: 1.7; color: var(--muted); text-align: right; }
.footer-line a { text-decoration: none; }
.footer-line > span a { color: var(--ink-2); }
.footer-line > span a:hover { color: var(--ink); text-decoration: underline; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
@media (max-width: 850px) {
  .nav-in { min-height: 60px; }
  .nav-tagline { display: none; }
  .nav-links { gap: 16px; }
  .section-head, .faq-grid { grid-template-columns: 1fr; }
  .section-head { gap: 16px; }
  .flow-row { grid-template-columns: 48px 1fr; gap: 6px 16px; }
  .flow-row p { grid-column: 2; }
}
@media (max-width: 560px) {
  .wrap { width: min(100% - 32px, 1160px); }
  .topline { font-size: 12px; }
  .nav-in { gap: 10px; }
  .nav-links { gap: 12px; }
  .nav-links .nav-secondary, .nav-links a:not(.button):nth-child(2) { display: none; }
  .nav-links a { white-space: nowrap; }
  .nav .button { height: 36px; padding: 0 12px; font-size: 14px; }
  .brand-word { font-size: 20px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .section { padding: 56px 0; }
  .flow-row { grid-template-columns: 32px 1fr; padding: 24px 0; }
  .stack-item { padding: 14px; gap: 12px; }
  .footer-line { align-items: flex-start; flex-direction: column; }
  .footer-line span { text-align: left; }
}
