:root {
  --paper: #faf8f4;
  --card: #ffffff;
  --ink: #14171f;
  --muted: #5c6370;
  --line: #e7e3dc;
  --wax: #c8372d;
  --wax-ink: #ffffff;
  --wax-soft: #f8e7e4;
  --star: #e0a526;
  --code-bg: #14171f;
  --code-ink: #e9e6df;
  --radius: 14px;
  --max: 1080px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0f1115; --card: #171a21; --ink: #eceef2; --muted: #9aa1ad;
    --line: #262a33; --wax: #e2554a; --wax-soft: #2a1716; --code-bg: #0a0c10; --code-ink: #e9e6df;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0f1115; --card: #171a21; --ink: #eceef2; --muted: #9aa1ad;
  --line: #262a33; --wax: #e2554a; --wax-soft: #2a1716; --code-bg: #0a0c10; --code-ink: #e9e6df;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 17px/1.6 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* Nav */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -.01em; text-decoration: none; }
.brand img { width: 26px; height: 26px; }
.nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; font-size: 15px; color: var(--muted); }
.nav ul a { text-decoration: none; }
.nav ul a:hover { color: var(--ink); }
.nav .hide-sm { display: none; }
@media (min-width: 720px) { .nav .hide-sm { display: list-item; } }

/* Hero */
.hero { display: grid; gap: 40px; padding: 48px 0 72px; align-items: center; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.15fr 1fr; padding: 72px 0 104px; } }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px;
  background: var(--wax-soft); color: var(--wax); font-size: 13px; font-weight: 600;
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
h1 { font-size: clamp(38px, 6.4vw, 64px); line-height: 1.04; letter-spacing: -.035em; margin: 18px 0 18px; font-weight: 720; }
h1 em { font-style: normal; color: var(--wax); }
.lead { font-size: clamp(18px, 2.2vw, 20px); color: var(--muted); max-width: 34em; margin: 0 0 28px; }
.bcc {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 14px; max-width: 100%;
  border: 1px solid var(--line); border-radius: 12px; background: var(--card); font-size: 15px;
}
.bcc span { color: var(--muted); }
.bcc code { overflow-wrap: anywhere; }

.showcase { position: relative; display: grid; justify-items: center; }
.showcase .mascot { width: min(230px, 60%); margin-bottom: -18px; position: relative; z-index: 1; }

/* Example widget */
.widget {
  width: 100%; max-width: 400px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 32px -12px rgba(0,0,0,.12);
}
.widget .top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.score { font-size: 30px; font-weight: 720; letter-spacing: -.02em; }
.stars { color: var(--star); letter-spacing: 2px; font-size: 15px; }
.count { color: var(--muted); font-size: 14px; }
.sealed { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--wax); }
.sealed img { width: 16px; height: 16px; }
.review { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 14px; font-size: 15px; }
.review p { margin: 4px 0 6px; }
.review .meta { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 13px; }
.example-tag { margin-top: 14px; font-size: 12px; color: var(--muted); text-align: center; }

/* Sections */
section { padding: 72px 0; border-top: 1px solid var(--line); }
.eyebrow { color: var(--wax); font-weight: 650; font-size: 14px; letter-spacing: .02em; margin: 0 0 8px; }
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.12; letter-spacing: -.025em; margin: 0 0 14px; font-weight: 700; }
.sub { color: var(--muted); max-width: 40em; margin: 0 0 40px; }

.steps { display: grid; gap: 16px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; counter-increment: step; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--ink); color: var(--paper); font-weight: 700; font-size: 14px; margin-bottom: 14px;
}
.steps h3, .grid h3 { margin: 0 0 6px; font-size: 17px; letter-spacing: -.01em; }
.steps p, .grid p { margin: 0; color: var(--muted); font-size: 15.5px; }

.grid { display: grid; gap: 28px 40px; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(2, 1fr); } }
.grid > div { padding-left: 18px; border-left: 2px solid var(--wax); }

pre.snippet {
  background: var(--code-bg); color: var(--code-ink); border-radius: var(--radius); padding: 20px 22px;
  overflow-x: auto; margin: 0 0 18px; line-height: 1.7;
}
pre.snippet .c { color: #8b919c; }
pre.snippet .t { color: #f08a7e; }
pre.snippet .a { color: #e7c07a; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 15px; margin: 0; padding: 0; list-style: none; }
.facts li::before { content: "✓ "; color: var(--wax); font-weight: 700; }

/* Pricing */
.price-card {
  max-width: 460px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 32px;
  box-shadow: 0 12px 40px -16px rgba(0,0,0,.14);
}
.price { display: flex; align-items: baseline; gap: 8px; margin: 4px 0 4px; }
.price strong { font-size: 56px; letter-spacing: -.04em; line-height: 1; }
.price span { color: var(--muted); }
.vat { color: var(--muted); font-size: 14px; margin: 0 0 22px; }
.price-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.price-card li { padding-left: 28px; position: relative; }
.price-card li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--wax) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
.price-note { margin-top: 22px; font-size: 14px; color: var(--muted); }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 18px 0; max-width: 760px; }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 10px 0 0; }

footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

:focus-visible { outline: 2px solid var(--wax); outline-offset: 3px; border-radius: 4px; }

/* Call to action */
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 22px; }
.cta-btn {
  display: inline-flex; justify-content: center; align-items: center; padding: 13px 22px; border-radius: 12px;
  background: var(--wax); color: var(--wax-ink); font-weight: 650; text-decoration: none;
  box-shadow: 0 6px 18px -8px rgba(200, 55, 45, .6); transition: transform .15s ease;
}
.cta-btn:hover { transform: translateY(-1px); }
.cta-btn.wide { display: flex; margin-top: 24px; }
.cta-link { color: var(--muted); text-decoration: none; font-weight: 600; }
.cta-link:hover { color: var(--ink); }
