:root {
  --ground: #f7f9fc;
  --surface: #ffffff;
  --ink: #0f1b33;
  --muted: #5a6a85;
  --rule: #dde4ee;
  --accent: #f05032;
  --accent-ink: #c2381f;
  --accent-deep: #b02e18;
  --accent-soft: #fdeee9;
  --warm: #f28c28;
  --ok: #2fb35a;
  --code-bg: #eef2f8;
  --shadow: 0 20px 60px rgba(15, 27, 51, 0.16), 0 2px 8px rgba(15, 27, 51, 0.08);
  --display: "Bricolage Grotesque", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #0c1220; --surface: #131b2b; --ink: #e8edf5; --muted: #98a4b8; --rule: #253147;
    --accent: #ff6e54; --accent-ink: #ffa08f; --accent-deep: #ff4724; --accent-soft: #2e1a17;
    --warm: #f5a24e; --ok: #4fcf78; --code-bg: #1a2334;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.4);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  padding-inline: clamp(16px, 4vw, 40px); padding-block: 0;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
h1 { font-size: clamp(42px, 7vw, 76px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; }
h3 { font-size: 22px; font-weight: 700; }
p { margin: 0; }
.mono { font-family: var(--mono); font-size: 0.92em; background: var(--code-bg); padding: 0.05em 0.35em; border-radius: 4px; }
.eyebrow { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); }
.fineprint { font-size: 14px; color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 10px;
  border: 1px solid var(--rule); background: var(--surface); color: var(--ink); font-weight: 600; font-size: 15px;
  white-space: nowrap; transition: transform 120ms ease, box-shadow 120ms ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(15, 27, 51, 0.12); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-deep)); color: #fff; border-color: transparent; }
.btn-lg { padding: 13px 22px; font-size: 17px; border-radius: 12px; }

/* Nav */
.nav {
  max-width: 1120px; margin-inline: auto; padding-block: 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.nav nav { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 500; }
.nav nav a:not(.btn) { color: var(--muted); }
.nav nav a:not(.btn):hover { color: var(--ink); text-decoration: none; }

/* Layout */
main { max-width: 1120px; margin-inline: auto; padding-bottom: 96px; display: grid; gap: 110px; }

/* Hero */
.hero {
  padding-top: clamp(24px, 5vw, 64px);
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center;
}
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; } }
.hero-copy { display: grid; gap: 20px; }
.lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); line-height: 1.5; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.brew {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 13px;
  background: var(--code-bg); border: 1px solid var(--rule); padding: 8px 14px; border-radius: 8px;
  color: var(--ink); width: fit-content; user-select: all;
}
.brew .prompt { color: var(--muted); user-select: none; }

/* Cards & Grid */
.card {
  background: var(--surface); border: 1px solid var(--rule); border-radius: 16px;
  padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow);
}
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }

/* Section Header */
.section-head { text-align: center; max-width: 720px; margin-inline: auto; display: grid; gap: 14px; }
.section-head p { color: var(--muted); font-size: 19px; }

/* Features */
.feature-block { display: grid; gap: 12px; }
.feature-block h3 { display: flex; align-items: center; gap: 10px; }
.feature-block p { color: var(--muted); font-size: 15px; }

/* Pricing */
.pricing-wrap { max-width: 520px; margin-inline: auto; width: 100%; }
.price { font-family: var(--display); font-size: 56px; font-weight: 800; }
.price-term { font-size: 18px; color: var(--muted); font-weight: 400; }
.features-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.features-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.features-list li::before { content: "✓"; color: var(--ok); font-weight: bold; }

/* FAQ */
.faq-grid { max-width: 780px; margin-inline: auto; display: grid; gap: 16px; width: 100%; }
details.card { padding: 18px 24px; cursor: pointer; }
details summary { font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font-size: 20px; color: var(--muted); }
details[open] summary::after { content: "−"; }
details p { margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* Footer */
footer {
  max-width: 1120px; margin-inline: auto; padding-block: 40px; border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px;
  color: var(--muted); font-size: 14px;
}
footer nav { display: flex; gap: 20px; }
footer nav a { color: var(--muted); }
footer nav a:hover { color: var(--ink); }

/* Family Strip */
.family-strip {
  background: var(--surface); border: 1px solid var(--rule); border-radius: 12px;
  padding: 16px 20px; margin-top: 32px; display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px; font-size: 14px;
}
.family-links { display: flex; gap: 16px; flex-wrap: wrap; }

/* family:start */
footer .family { width: 100%; margin: 4px 0 0; font-size: 13.5px; color: var(--muted); }
footer .family a { color: inherit; }
/* family:end */
