:root {
  --bg: #ffffff; --fg: #111111; --muted: #6b6b6b; --line: #ececec; --soft: #f6f6f6;
  --accent: #111111; --accent-fg: #ffffff; --link: #2f5bd3; --hi: #3b63e0; --hi-soft: #e9eefc; --ok: #1d7a4e; --err: #c43c3c;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d0d0d; --fg: #ededed; --muted: #8f8f8f; --line: #232323; --soft: #161616;
    --accent: #ededed; --accent-fg: #0d0d0d; --link: #8aa8ff; --hi: #8aa8ff; --hi-soft: #18203a; --ok: #5fd39b; --err: #f07070;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d0d0d; --fg: #ededed; --muted: #8f8f8f; --line: #232323; --soft: #161616;
  --accent: #ededed; --accent-fg: #0d0d0d; --link: #8aa8ff; --hi: #8aa8ff; --hi-soft: #18203a; --ok: #5fd39b; --err: #f07070;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 Inter, -apple-system, "Segoe UI", Roboto, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
code, pre { font: 0.88em/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; }
code { background: var(--soft); padding: 1px 5px; border-radius: 4px; }
pre { background: var(--soft); border-radius: 8px; padding: 12px 14px; overflow-x: auto; }
pre code { background: none; padding: 0; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; margin: 0; font-weight: 600; }
h1, h2, .brand, .stats b, .price { font-family: "Bricolage Grotesque", Inter, system-ui, sans-serif; font-optical-sizing: auto; }
h1 { font-weight: 700; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { max-width: 680px; margin: 0 auto; padding: 0 20px; }

/* Header and footer */
.nav { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { font-weight: 600; color: var(--fg); font-size: 16px; }
.brand:hover { text-decoration: none; }
.nav nav { display: flex; gap: 20px; margin-left: auto; font-size: 14.5px; }
.nav nav a { color: var(--muted); }
.nav nav a:hover, .nav nav a[aria-current] { color: var(--fg); text-decoration: none; }
.theme { width: 32px; height: 32px; border: 0; border-radius: 8px; background: none; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.theme:hover { color: var(--fg); background: var(--soft); }
.theme svg { width: 16px; height: 16px; }
.theme .sun { display: none; }
:root[data-theme="dark"] .theme .sun { display: block; } :root[data-theme="dark"] .theme .moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme .sun { display: block; } :root:not([data-theme="light"]) .theme .moon { display: none; } }
footer { margin-top: 96px; border-top: 1px solid var(--line); padding: 24px 0 88px; color: var(--muted); font-size: 13.5px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer nav { display: flex; gap: 18px; }
footer a { color: var(--muted); }

/* Home */
.hero { padding: 128px 0 112px; text-align: center; }
.hero .tryform { max-width: 520px; margin: 0 auto; }
.hero h1 { font-size: clamp(40px, 7vw, 60px); letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 20px; }
.lead { font-size: 18px; color: var(--muted); margin: 0 auto 40px; max-width: 520px; }
.tryform { display: flex; gap: 8px; }
.tryform input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); font: inherit; }
.tryform input:focus { outline: none; border-color: var(--fg); }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 18px; border-radius: 8px; border: 0; background: var(--accent); color: var(--accent-fg); font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap; }
.btn:hover { opacity: .88; text-decoration: none; }
.btn[disabled] { opacity: .5; cursor: progress; }
.fine { font-size: 13.5px; color: var(--muted); margin: 12px 0 0; }

.progress { margin: 24px auto 0; max-width: 520px; text-align: left; font-size: 14.5px; color: var(--muted); display: grid; gap: 4px; }
.progress div::before { content: "✓  "; color: var(--ok); }
.progress div:last-child::before { content: "…  "; color: var(--muted); }
.progress.ok div:last-child::before { content: "✓  "; color: var(--ok); }
.progress.err div:last-child { color: var(--err); } .progress.err div:last-child::before { content: "✕  "; color: var(--err); }
.result { margin: 20px auto 0; max-width: 520px; text-align: left; border: 1px solid var(--line); border-radius: 10px; padding: 20px; }
.result h3 { font-size: 17px; margin-bottom: 4px; }
.result p { margin: 0 0 16px; color: var(--muted); font-size: 14.5px; }
.result .row { display: flex; gap: 10px; align-items: center; margin-top: 10px; font-size: 13.5px; }
.result .row b { flex: none; width: 64px; color: var(--muted); font-weight: 500; }
.result .row code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.result .row button { flex: none; border: 1px solid var(--line); background: none; color: var(--fg); border-radius: 6px; padding: 3px 9px; font: inherit; font-size: 12.5px; cursor: pointer; }

.points { text-align: center; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 40px 0; border-top: 1px solid var(--line); }
.points h3 { font-size: 15px; margin-bottom: 6px; }
.points p { margin: 0; color: var(--muted); font-size: 14.5px; }
.block { padding: 40px 0; border-top: 1px solid var(--line); }
.block h2 { font-size: 20px; margin-bottom: 12px; }
.block > p { margin: 0; color: var(--muted); }
.faq details { padding: 14px 0; border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 8px 0 0; font-size: 15px; }

/* Text pages */
.page { padding: 56px 0 0; }
.page h1 { font-size: clamp(30px, 5vw, 40px); letter-spacing: -0.03em; margin-bottom: 12px; }
.page .lead { margin-bottom: 8px; }
.page h2 { font-size: 20px; margin: 40px 0 10px; }
.page h3 { font-size: 16px; margin: 24px 0 8px; }
.page p, .page li { color: color-mix(in srgb, var(--fg) 82%, var(--muted)); }
.tiers { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tiers th, .tiers td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.tiers th { font-weight: 500; color: var(--muted); }
.table-wrap { overflow-x: auto; }

@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 48px 0 40px; }
  .tryform { flex-direction: column; }
  .tryform input { flex: none; }
  .hero { padding: 72px 0 64px; }
  .points { grid-template-columns: 1fr; gap: 20px; }
  .nav nav { gap: 14px; }
  .result .row b { width: 52px; }
}

.center { text-align: center; }
.center > p { max-width: 520px; margin: 0 auto; }

/* Example question and answer in the hero */
.example { max-width: 440px; margin: 0 auto 40px; text-align: left; display: grid; gap: 8px; font-size: 15px; }
.ex-q { justify-self: end; background: var(--accent); color: var(--accent-fg); padding: 7px 14px; border-radius: 14px 14px 4px 14px; }
.ex-a { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.ex-a span { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 4px; }

.services { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 24px; }
.services h3 { font-size: 16px; margin-bottom: 6px; }
.services p { margin: 0; color: var(--muted); font-size: 15px; }
h2.center { text-align: center; }
@media (max-width: 600px) { .services { grid-template-columns: 1fr; gap: 20px; } }

.block p.contact { margin: 40px auto 0; } .contact span { display: inline-block; margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.contact .btn:hover { text-decoration: none; }

/* ---- richer home ---- */
.wrap-wide { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.hero.wrap { max-width: 760px; }
.h { font-size: clamp(26px, 3.6vw, 36px); letter-spacing: -0.03em; margin-bottom: 12px; }
.sub { color: var(--muted); font-size: 17px; margin: 0 0 36px; max-width: 620px; }
.sec { padding: 88px 20px; }
.sec > .h, .sec > .sub { text-align: center; margin-left: auto; margin-right: auto; }
.band { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 88px 0; }
.tag { display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--hi); margin-bottom: 12px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split p { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; font-size: 15px; }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--hi-soft); box-shadow: inset 0 0 0 4px var(--hi); }

/* demo window */
.demo { max-width: 460px; margin: 0 auto 40px; text-align: left; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 18px 48px -12px rgba(0,0,0,.18); overflow: hidden; }
.demo-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 13px; }
.demo-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.demo-bar b { margin-left: 8px; font-weight: 600; }
.demo-body { padding: 16px; display: grid; gap: 10px; min-height: 178px; align-content: start; }
.demo-q { justify-self: end; background: var(--hi); color: #fff; padding: 7px 14px; border-radius: 14px 14px 4px 14px; font-size: 15px; min-height: 37px; }
.demo-a { background: var(--soft); border-radius: 12px; padding: 12px 14px; font-size: 14.5px; transition: opacity .35s, transform .35s; }
.demo-a small { display: block; color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.demo-a em { display: block; margin-top: 8px; font-style: normal; font-weight: 600; font-size: 13px; color: var(--hi); }
.demo-a.hide { opacity: 0; transform: translateY(6px); }
.caret::after { content: "▍"; animation: blink 1s steps(1) infinite; margin-left: 1px; opacity: .8; }
@keyframes blink { 50% { opacity: 0; } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 8px; padding-bottom: 72px; text-align: center; }
.stats b { display: block; font-size: clamp(30px, 4vw, 42px); letter-spacing: -0.04em; font-weight: 600; }
.stats span { color: var(--muted); font-size: 14px; }

/* flow */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: f; }
.flow li { position: relative; border: 1px solid var(--line); border-radius: 14px; padding: 20px; background: var(--bg); }
.flow li:not(:last-child)::after { content: "→"; position: absolute; right: -14px; top: 22px; color: var(--muted); z-index: 1; font-size: 16px; }
.flow i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--hi-soft); color: var(--hi); font-style: normal; font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.flow h3 { font-size: 16px; margin-bottom: 6px; }
.flow p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* chart */
.chart { margin: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); padding: 24px; }
.chart figcaption { font-weight: 600; margin-bottom: 18px; }
.bar { display: grid; grid-template-columns: 130px 1fr 44px; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 13.5px; }
.bar span { color: var(--muted); }
.bar div { height: 10px; border-radius: 99px; background: var(--soft); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--v); border-radius: 99px; background: var(--muted); opacity: .45; }
.bar.hi i { background: var(--hi); opacity: 1; }
.bar b { text-align: right; font-weight: 600; }
.chart .note { margin: 14px 0 0; font-size: 12.5px; }

/* code */
.code { margin: 0; border-radius: 14px; padding: 22px; background: #0f1115; color: #e6e8ee; font-size: 13.5px; line-height: 1.65; border: 1px solid var(--line); }
.code .c { color: #7d8597; } .code .s { color: #9ecbff; }

.band .points { border: 0; padding: 0; }
.cta-end { text-align: center; padding: 96px 20px 0; }
.cta-end .sub { margin: 0 auto 28px; }
.cta-end p { margin: 0; }
.cta-end .fine { margin-top: 10px; }
.foot-note { margin-top: 48px !important; font-size: 12.5px; color: var(--muted); }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow li::after { display: none; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 28px; }
}
@media (max-width: 600px) {
  .wrap-wide { padding: 0 16px; }
  .sec { padding: 64px 16px; } .band { padding: 64px 0; }
  .flow { grid-template-columns: 1fr; }
  .bar { grid-template-columns: 110px 1fr 40px; }
}

.eyebrow { display: inline-block; margin: 0 0 18px; padding: 5px 12px; border-radius: 99px; background: var(--hi-soft); color: var(--hi); font-size: 13px; font-weight: 600; }
.lead b { color: var(--fg); font-weight: 600; }
.cmp { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.cmp th, .cmp td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { font-size: 13px; font-weight: 600; color: var(--muted); }
.cmp td:first-child { color: var(--muted); width: 26%; }
.cmp td:nth-child(2) { color: var(--muted); }
.cmp .us { background: var(--hi-soft); color: var(--fg); font-weight: 500; }
.cmp thead .us { color: var(--hi); border-radius: 10px 10px 0 0; }
.cmp tr:last-child .us { border-radius: 0 0 10px 10px; }

/* Website mock-up with the helper open */
.mock { max-width: 640px; margin: 8px auto 44px; text-align: left; }
.mock > .mock-bar, .mock > .mock-page { }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border: 1px solid var(--line); border-bottom: 0; border-radius: 14px 14px 0 0; background: var(--soft); }
.mock-bar > span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock-url { margin-left: 10px; flex: 1; max-width: 300px; background: var(--bg); border-radius: 6px; padding: 3px 10px; font-size: 12px; color: var(--muted); }
.mock-page { position: relative; height: 340px; border: 1px solid var(--line); border-radius: 0 0 14px 14px; background: var(--bg); overflow: hidden; box-shadow: 0 24px 60px -20px rgba(0,0,0,.25); }
.mock-nav { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 13px; }
.mock-nav i { width: 44px; height: 8px; border-radius: 4px; background: var(--line); }
.mock-nav i:first-of-type { margin-left: auto; }
.mock-content { padding: 24px 20px; display: grid; gap: 10px; max-width: 58%; }
.mock-h { height: 18px; width: 70%; border-radius: 5px; background: var(--line); margin-bottom: 4px; }
.mock-h.sm { width: 45%; height: 13px; margin-top: 14px; }
.mock-l { height: 8px; border-radius: 4px; background: var(--line); opacity: .7; }
.mock-l.s { width: 60%; }
.mock-panel { position: absolute; right: 16px; bottom: 16px; width: min(300px, 62%); border: 1px solid var(--line); border-radius: 12px; background: var(--bg); box-shadow: 0 12px 32px -8px rgba(0,0,0,.28); overflow: hidden; }
.mock-panel-head { display: flex; justify-content: space-between; padding: 9px 12px; border-bottom: 1px solid var(--line); font-size: 12.5px; font-weight: 600; }
.mock-panel-head span { color: var(--ok); font-weight: 500; font-size: 11.5px; }
.mock-panel-body { padding: 12px; display: grid; gap: 8px; min-height: 170px; align-content: start; }
.mock-panel .demo-q { font-size: 13px; padding: 6px 11px; min-height: 31px; }
.mock-panel .demo-a { font-size: 12.5px; padding: 10px 11px; }
.mock figcaption { text-align: center; color: var(--muted); font-size: 13.5px; margin-top: 14px; }

.center-tag { display: table; margin: 0 auto 12px; }
.safe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.safe > div { border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.safe h3 { font-size: 16px; margin-bottom: 8px; }
.safe p { margin: 0; color: var(--muted); font-size: 14.5px; }
@media (max-width: 860px) { .safe { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .mock-page { height: 330px; }
  .mock-content { max-width: 100%; }
  .mock-panel { left: 12px; right: 12px; width: auto; bottom: 12px; }
}

.h.center, .center-sub { text-align: center; margin-left: auto; margin-right: auto; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.two > div { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.two h3 { font-size: 19px; margin: 10px 0 8px; }
.two p { margin: 0; color: var(--muted); font-size: 15px; }
.who { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; padding: 3px 10px; border-radius: 99px; background: var(--hi-soft); color: var(--hi); }
@media (max-width: 760px) { .two { grid-template-columns: 1fr; } }

/* MCP illustration */
.mcp { margin: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); padding: 24px; display: grid; gap: 4px; }
.mcp-chat { display: grid; gap: 6px; }
.mcp-chat .demo-q { justify-self: start; border-radius: 14px 14px 14px 4px; font-size: 14.5px; }
.mcp-chat .demo-a { background: var(--bg); border: 1px solid var(--line); font-size: 14px; }
.mcp-who { font-size: 12.5px; color: var(--muted); }
.mcp-link { display: flex; align-items: center; gap: 10px; height: 44px; padding-left: 22px; }
.mcp-link::before { content: ""; width: 2px; height: 100%; background: repeating-linear-gradient(var(--hi) 0 5px, transparent 5px 10px); animation: flowdown 1.2s linear infinite; }
.mcp-link span { font-size: 12px; color: var(--muted); }
@keyframes flowdown { to { background-position: 0 10px; } }
.mcp-row { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 6px; }
.mcp-node { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px 8px; text-align: center; display: grid; justify-items: center; gap: 2px; }
.mcp-node svg { width: 22px; height: 22px; color: var(--muted); margin-bottom: 4px; }
.mcp-node b { font-size: 13px; font-weight: 600; }
.mcp-node small { font-size: 11.5px; color: var(--muted); }
.mcp-node.hi { border-color: var(--hi); box-shadow: 0 0 0 4px var(--hi-soft); }
.mcp-node.hi svg { color: var(--hi); }
.mcp-wire { display: grid; justify-items: center; gap: 4px; width: 56px; }
.mcp-wire i { width: 100%; height: 2px; background: repeating-linear-gradient(90deg, var(--hi) 0 5px, transparent 5px 10px); animation: flowright 1.2s linear infinite; }
.mcp-wire small { font-size: 10.5px; color: var(--muted); white-space: nowrap; }
@keyframes flowright { to { background-position: 10px 0; } }
@media (prefers-reduced-motion: reduce) { .mcp-link::before, .mcp-wire i { animation: none; } }
@media (max-width: 480px) { .mcp { padding: 16px; } .mcp-wire { width: 22px; } .mcp-wire small { display: none; } .mcp-node b { font-size: 12px; } }

.hero .lead { font-size: 21px; color: var(--fg); max-width: 560px; margin-bottom: 20px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0; margin: 0 0 36px; }
.chips li { font-size: 13.5px; font-weight: 500; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 4px 12px; }
.chips li::before { content: "✓ "; color: var(--ok); }
.hero { padding-top: 88px; }

/* ---- multi-page ---- */
header { border-bottom: 1px solid var(--line); }
.brand { font-size: 20px !important; font-weight: 700; letter-spacing: -0.02em; }
.nav nav a[aria-current] { color: var(--fg); font-weight: 600; }
footer .wrap-wide { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
footer b { display: block; color: var(--fg); font-family: "Bricolage Grotesque", sans-serif; font-size: 16px; margin-bottom: 4px; }
footer span { display: block; max-width: 320px; }
footer nav { flex-wrap: wrap; }
.pagehead { text-align: center; padding: 88px 20px 24px; max-width: 760px; }
.pagehead h1 { font-size: clamp(36px, 6vw, 54px); letter-spacing: -0.035em; line-height: 1.05; margin-bottom: 18px; }
.pagehead .lead { margin-bottom: 0; }
.sec.tight { padding-top: 56px; }
.stats { grid-template-columns: repeat(3, 1fr); }
.stats b { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -0.03em; }
.card-link { display: block; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 26px; color: inherit; transition: border-color .15s, transform .15s; }
.card-link:hover { text-decoration: none; border-color: var(--hi); transform: translateY(-2px); }
.card-link h3 { font-size: 19px; margin: 10px 0 8px; }
.card-link p { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.card-link em { font-style: normal; font-weight: 600; font-size: 14px; color: var(--hi); }
.safe.one { grid-template-columns: 1fr; }
.safe.one > div { background: var(--bg); }
.band .safe > div { background: var(--bg); }
.mcp figcaption { font-size: 11.5px; color: var(--muted); text-align: right; margin-top: 8px; }
.split p b { color: var(--fg); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 760px; margin: 0 auto; }
.plan { border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.plan.hi { border-color: var(--hi); box-shadow: 0 0 0 4px var(--hi-soft); }
.plan h2 { font-size: 20px; }
.price { font-size: 34px; font-weight: 700; letter-spacing: -0.03em; margin: 8px 0 6px; }
.plan > p { color: var(--muted); margin: 0 0 4px; }
.plan .ticks { margin: 16px 0 24px; }
.plan > p:last-child { margin: 0; }
@media (max-width: 760px) {
  .nav { flex-wrap: wrap; height: auto; padding-top: 14px; row-gap: 6px; }
  .nav nav { order: 3; width: 100%; margin: 0; overflow-x: auto; padding-bottom: 12px; gap: 18px; white-space: nowrap; }
  .nav .theme { margin-left: auto; }
  .stats { grid-template-columns: 1fr; row-gap: 24px; }
  .plans { grid-template-columns: 1fr; }
  .pagehead { padding-top: 56px; }
}

/* ---- backgrounds and illustrations ---- */
body { background-image: radial-gradient(1100px 520px at 50% -120px, color-mix(in srgb, var(--hi) 16%, transparent), transparent 70%); background-repeat: no-repeat; }
.hero, .pagehead { position: relative; }
.hero::before, .pagehead::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 0; width: 100vw; height: 100%; transform: translateX(-50%); pointer-events: none;
  background-image: radial-gradient(color-mix(in srgb, var(--fg) 14%, transparent) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 50% 30%, #000 20%, transparent 75%); }
main { position: relative; z-index: 0; }
header { background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 5; }
.band { background-image: linear-gradient(180deg, var(--soft), color-mix(in srgb, var(--hi-soft) 55%, var(--soft))); }
.cta-end { position: relative; }
.cta-end::before { content: ""; position: absolute; z-index: -1; inset: 30px 0 -40px; background: radial-gradient(420px 200px at 50% 45%, color-mix(in srgb, var(--hi) 14%, transparent), transparent 70%); pointer-events: none; }

.ill { display: block; width: 100%; height: auto; border-radius: 10px; background: var(--soft); margin-bottom: 18px; }
.i-card { fill: var(--bg); stroke: var(--line); stroke-width: 1.5; }
.i-soft { fill: var(--soft); } .i-line { fill: var(--line); stroke: none; }
.i-hi { fill: var(--hi); } .i-hisoft { fill: var(--hi-soft); }
.i-ring { stroke: var(--hi); stroke-width: 2; }
.i-dash { stroke: var(--hi); stroke-width: 2; stroke-dasharray: 5 5; fill: none; animation: dash 1.2s linear infinite; }
.i-dashs { stroke: var(--hi); stroke-width: 2; stroke-dasharray: 3 4; fill: none; opacity: .7; }
.i-white { stroke: #fff; stroke-width: 4; stroke-linecap: round; opacity: .9; }
.i-shadow { filter: drop-shadow(0 6px 10px rgba(0,0,0,.14)); }
.pics svg circle.i-line, .pics svg path.i-line { fill: none; stroke: var(--muted); stroke-width: 3; stroke-linecap: round; opacity: .6; }
@keyframes dash { to { stroke-dashoffset: -10; } }
@media (prefers-reduced-motion: reduce) { .i-dash { animation: none; } }

.pics { padding: 16px 20px 88px; }
.pics ol { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pics li { border: 1px solid var(--line); border-radius: 16px; padding: 18px 18px 22px; background: var(--bg); text-align: center; }
.pics svg { width: 100%; height: auto; max-height: 150px; background: var(--soft); border-radius: 10px; margin-bottom: 16px; }
.pics b { display: block; font-size: 17px; font-family: "Bricolage Grotesque", sans-serif; margin-bottom: 4px; }
.pics span { color: var(--muted); font-size: 14.5px; }
@media (max-width: 760px) { .pics ol { grid-template-columns: 1fr; } .pics { padding-bottom: 64px; } }
[id] { scroll-margin-top: 84px; }
body { background-image: radial-gradient(1200px 620px at 50% -140px, color-mix(in srgb, var(--hi) 26%, transparent), transparent 70%); }

/* ---- wireframe illustrations + line-art background ---- */
body { background-image: none; }
body::before { content: ""; position: absolute; z-index: -1; top: 0; left: 0; right: 0; height: 760px; pointer-events: none; background: var(--hi); opacity: .38;
  -webkit-mask: url(/bg-lines.svg) center top / cover no-repeat; mask: url(/bg-lines.svg) center top / cover no-repeat; }
body { position: relative; }
.hero::before, .pagehead::before { display: none; }
.band { background-image: none; }

.ill, .pics svg { background: transparent; border: 1.5px dashed var(--line); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 20px 20px; background-position: -1px -1px; }
.ill *, .pics svg * { vector-effect: non-scaling-stroke; }
.i-card { fill: var(--bg); stroke: var(--fg); stroke-width: 1.5; }
.i-soft { fill: none; stroke: var(--muted); stroke-width: 1; opacity: .55; }
.i-line { fill: none; stroke: var(--muted); stroke-width: 1.2; }
.i-hi { fill: none; stroke: var(--hi); stroke-width: 2; }
.i-hisoft { fill: none; stroke: var(--hi); stroke-width: 1.2; stroke-dasharray: 4 4; }
.i-ring { stroke: var(--hi); stroke-width: 2; }
.i-white { stroke: var(--hi); stroke-width: 2; opacity: 1; }
.i-shadow { filter: none; }
.pics svg circle.i-line, .pics svg path.i-line { stroke: var(--fg); stroke-width: 1.5; opacity: 1; }
.card-link .ill { background-color: var(--bg); }

/* hero mock as a wireframe */
.mock-bar { background: var(--bg); border-color: var(--fg); }
.mock-bar > span { background: none; border: 1.5px solid var(--fg); }
.mock-url { border: 1.5px solid var(--line); }
.mock-page { border-color: var(--fg); box-shadow: 8px 8px 0 var(--hi-soft); }
.mock-nav { border-bottom: 1.5px solid var(--fg); }
.mock-nav i, .mock-h, .mock-l { background: none; border: 1.5px solid var(--muted); opacity: .6; }
.mock-panel { border: 1.5px solid var(--fg); box-shadow: 5px 5px 0 var(--hi); }
.mock-panel-head { border-bottom: 1.5px solid var(--fg); }
.mock-panel .demo-q { background: var(--bg); color: var(--hi); border: 1.5px solid var(--hi); }
.mock-panel .demo-a { background: var(--bg); border: 1.5px dashed var(--muted); }
@media (max-width: 600px) { .hero.wrap { padding-left: 16px; padding-right: 16px; } .hero .lead { font-size: 18px; } }

.ill.wide { max-width: 820px; margin: 8px auto 0; }
.i-text text { font: 500 12px Inter, sans-serif; fill: var(--fg); text-anchor: middle; stroke: none; }
.i-text text.b { font-weight: 700; font-size: 14px; } .i-text text.s { font-size: 11px; fill: var(--muted); }
.ill.wide .i-hisoft { fill: var(--hi-soft); stroke: var(--hi); }
.ill.wide path.i-hi, .ill.wide path.i-line { fill: none; }
@media (max-width: 600px) { .i-text text { font-size: 14px; } .i-text text.s { font-size: 13px; } }

.fine.half { margin-top: 6px; }

/* half vs full */
.halfsec { padding-top: 0; }
.halves { display: grid; grid-template-columns: 1fr 1.25fr; gap: 16px; align-items: stretch; }
.half { border: 1.5px dashed var(--muted); border-radius: 16px; padding: 26px; background: var(--bg); }
.half.full { border: 1.5px solid var(--fg); box-shadow: 6px 6px 0 var(--hi); }
.half h3 { font-family: "Bricolage Grotesque", sans-serif; font-size: 24px; margin: 10px 0 4px; }
.half:not(.full) h3, .half:not(.full) li { color: var(--muted); }
.half p { margin: 22px 0 0; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.more { font-weight: 600; font-size: 14.5px; }
.meter { height: 8px; border-radius: 99px; border: 1.5px solid var(--fg); margin-bottom: 18px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--hi); }
.ticks.plain li::before { background: none; box-shadow: inset 0 0 0 1.5px var(--muted); }
.halfnote { margin: 16px 0 4px; padding: 14px; border: 1.5px dashed var(--muted); border-radius: 10px; font-size: 14px; color: var(--muted); }
.halfnote b { color: var(--fg); } .halfnote .meter { margin-bottom: 10px; }
@media (max-width: 760px) { .halves { grid-template-columns: 1fr; } }
