/* sparto.io, the shared look (2026-11-14): the header, the footer and the
   pieces every page is built from. The header and footer markup live in
   site/chrome/ and are stamped into each page by scripts/site-chrome.ts. */
:root {
  --ink: #1A1A18; --dim: #5C5C58; --paper: #F2F2F0; --hi: #FFFFFF; --well: #EBEBE8;
  --accent: #F5C518; --accent-hi: #FFD43B; --accent-ink: #1A1500;
  --night: #121010; --night-hi: #1C1917; --night-text: #F2EEE6; --night-dim: #C9C2B8; --night-mute: #9A938A; --night-rule: #2A2622;
  --soon-bg: #FCEFB4; --soon-ink: #5C4A00;
  --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Barlow Condensed', system-ui, sans-serif;
  --gutter: 40px;
  color-scheme: light;
}
@media (max-width: 720px) { :root { --gutter: 20px; } }

/* ── the header ── */
.sh { font-family: var(--body); color: var(--ink); position: sticky; top: 0; z-index: 50; }
.sh::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(242,242,240,.92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.sh.scrolled::before { box-shadow: 0 1px 0 rgba(26,26,24,.08); }
.sh-bar { max-width: 1200px; margin: 0 auto; padding: 14px var(--gutter); display: flex; align-items: center; gap: 28px; }
.sh-mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 22px; letter-spacing: -0.02em; color: var(--ink); flex: none; }
.sh-mark svg { display: block; flex: none; }
.sh-main { display: flex; align-items: center; gap: 4px; flex: 1; }
.sh-top { font: inherit; font-size: 16px; font-weight: 500; color: var(--ink); background: transparent; border: 0; border-radius: 10px; padding: 9px 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.sh-top:hover, .sh-top[aria-expanded="true"], .sh-top[aria-current="page"] { background: var(--well); }
.sh-top svg { transition: rotate .18s ease; }
.sh-top[aria-expanded="true"] svg { rotate: 180deg; }
.sh-end { display: flex; align-items: center; gap: 8px; flex: none; }
.sh-go { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 16px; text-decoration: none; }
.sh-go:hover { background: var(--accent-hi); }
.sh-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--hi); box-shadow: 0 24px 48px -24px rgba(26,26,24,.25), 0 1px 0 rgba(26,26,24,.06); display: none; }
.sh-panel.open { display: block; animation: sh-in .16s ease-out; }
@keyframes sh-in { from { opacity: 0; translate: 0 -6px; } to { opacity: 1; translate: 0 0; } }
.sh-inner { max-width: 1200px; margin: 0 auto; padding: 28px var(--gutter) 36px; display: grid; gap: 28px 40px; }
.sh-inner.product { grid-template-columns: repeat(3, minmax(0,1fr)) minmax(0, 1.1fr); }
.sh-inner.biz { grid-template-columns: repeat(4, minmax(0,1fr)); }
.sh-inner.res { grid-template-columns: repeat(2, minmax(0,1fr)) minmax(0, 1.1fr); }
.sh-group-name { margin: 0 0 8px 12px; font-size: 14px; font-weight: 600; color: var(--dim); }
.sh-item { display: block; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.sh-item:hover, .sh-item:focus-visible { background: var(--paper); }
.sh-item b { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; }
.sh-item span { display: block; font-size: 14px; line-height: 1.4; color: var(--dim); margin-top: 2px; }
.soon { font-style: normal; font-size: 12px; font-weight: 600; color: var(--soon-ink); background: var(--soon-bg); border-radius: 999px; padding: 1px 8px; white-space: nowrap; }
.sh-feature { border-radius: 16px; padding: 22px; background: var(--night); color: var(--night-text); text-decoration: none; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 200px; }
.sh-feature:hover { background: var(--night-hi); }
.sh-feature b { font-family: var(--display); font-size: 28px; line-height: 1; font-weight: 700; }
.sh-feature span { display: block; margin-top: 10px; font-size: 15px; line-height: 1.45; color: var(--night-dim); }
.sh-feature em { font-style: normal; font-weight: 600; color: var(--accent); font-size: 15px; }
.sh-card { border-radius: 16px; padding: 22px; background: var(--paper); color: var(--ink); text-decoration: none; display: flex; flex-direction: column; gap: 10px; }
.sh-card:hover { background: var(--well); }
.sh-card b { font-family: var(--display); font-size: 26px; line-height: 1; font-weight: 700; }
.sh-card span { font-size: 15px; line-height: 1.45; color: var(--dim); }
.sh-card ul { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.sh-card li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 99px; background: var(--accent); margin: 0 8px 2px 0; }
.sh-menu-btn { display: none; }
.sh-scrim { position: fixed; inset: 0; top: var(--sh-h, 72px); background: rgba(26,26,24,.18); display: none; z-index: 40; }
.sh-scrim.open { display: block; }
.sh-sheet { display: none; }
@media (max-width: 960px) {
  .sh-bar { gap: 12px; padding-top: 12px; padding-bottom: 12px; }
  .sh-main, .sh-panel, .sh-end .sh-top:not(.sh-menu-btn) { display: none !important; }
  .sh-end { margin-left: auto; }
  .sh-menu-btn { display: inline-flex; background: var(--well); min-height: 44px; }
  .sh-go { padding: 0 16px; }
  .sh-sheet.open { display: block; position: fixed; inset: var(--sh-h, 68px) 0 0 0; background: var(--hi); overflow-y: auto; padding: 8px var(--gutter) 40px; z-index: 60; }
  .sh-acc > button { width: 100%; display: flex; justify-content: space-between; align-items: center; font: inherit; font-size: 20px; font-weight: 600; color: var(--ink); background: transparent; border: 0; padding: 16px 12px; border-radius: 12px; cursor: pointer; }
  .sh-acc > button[aria-expanded="true"] { background: var(--paper); }
  .sh-acc > div { display: none; padding: 4px 0 12px; }
  .sh-acc > button[aria-expanded="true"] + div { display: block; }
  .sh-plain { display: block; font-size: 20px; font-weight: 600; padding: 16px 12px; text-decoration: none; color: var(--ink); border-radius: 12px; }
  .sh-actions { display: grid; gap: 10px; margin-top: 20px; }
  .sh-actions a { min-height: 52px; }
  .sh-signin { display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--well); color: var(--ink); font-weight: 600; text-decoration: none; }
}

/* ── the footer ── */
.sf { font-family: var(--body); background: var(--night); color: var(--night-dim); }
.sf-in { max-width: 1200px; margin: 0 auto; padding: 64px var(--gutter) 40px; display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 36px 32px; }
.sf-brand { display: flex; flex-direction: column; gap: 14px; }
.sf-brand .sh-mark { color: var(--night-text); }
.sf-brand p { margin: 0; font-size: 15px; line-height: 1.5; max-width: 30ch; }
.sf-col-name { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: var(--night-text); }
.sf-col a { display: block; color: var(--night-dim); text-decoration: none; font-size: 15px; padding: 5px 0; }
.sf-col a:hover { color: var(--night-text); }
.sf-base { max-width: 1200px; margin: 0 auto; padding: 20px var(--gutter) 40px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 14px; color: var(--night-mute); border-top: 1px solid var(--night-rule); }
.sf-base a { color: inherit; }
.sf-base span { display: flex; gap: 20px; flex-wrap: wrap; }
@media (max-width: 900px) { .sf-in { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 48px; padding-bottom: 28px; } .sf-brand { grid-column: 1 / -1; } }

.sh a:focus-visible, .sh button:focus-visible, .sf a:focus-visible, .pg a:focus-visible, .pg summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .sh-panel.open { animation: none; } .sh-top svg { transition: none; } }

/* ── the pages ── */
.pg { font-family: var(--body); color: var(--ink); background: var(--paper); font-size: 17px; line-height: 1.55; }
body { margin: 0; background: var(--paper); }
.pg h1, .pg h2, .pg h3 { font-family: var(--display); font-weight: 700; margin: 0; text-wrap: balance; }
.pg p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.hero { padding-top: 48px; display: flex; flex-direction: column; gap: 22px; }
.hero h1 { font-size: clamp(48px, 7vw, 96px); line-height: .94; letter-spacing: -0.01em; max-width: 14ch; }
.hero .kicker { font-size: 17px; font-weight: 600; color: var(--dim); }
.lede { max-width: 52ch; font-size: 21px; line-height: 1.45; color: var(--dim); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 17px; text-decoration: none; }
.btn:hover { background: var(--accent-hi); }
.btn.second { background: var(--well); color: var(--ink); }
.btn.second:hover { background: #E2E2DE; }
.band { padding-top: 96px; display: flex; flex-direction: column; gap: 28px; }
.band:last-child { padding-bottom: 104px; }
.band > h2, .band-head h2 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1; max-width: 22ch; }
.band-head { display: flex; flex-direction: column; gap: 14px; }
.sub { max-width: 58ch; font-size: 18px; color: var(--dim); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 48px; }
.facts.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fact { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.fact h3 { font-size: 24px; line-height: 1.1; }
.fact p { color: var(--dim); }
.dots { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.dots li { position: relative; padding-left: 20px; }
.dots li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 99px; background: var(--accent); }
.panel { background: var(--hi); border-radius: 24px; padding: 44px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 48px; }
.panel h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1; }
.night { background: var(--night); color: var(--night-text); border-radius: 24px; padding: 44px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 48px; }
.night h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1; }
.night p, .night li { color: var(--night-dim); }
.night .dots li strong { color: var(--night-text); font-weight: 600; }
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 56px; padding-top: 72px; scroll-margin-top: 96px; }
.feature + .feature { border-top: 1px solid #E2E2DE; margin-top: 72px; }
.feature h2 { font-size: clamp(32px, 3.8vw, 46px); line-height: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.feature .soon { font-family: var(--body); font-size: 14px; padding: 3px 12px; }
.feature-text { display: flex; flex-direction: column; gap: 18px; }
.feature-text > p { font-size: 19px; color: var(--dim); }
.guide-link { font-weight: 600; text-underline-offset: 4px; color: var(--ink); }
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 820px; }
.faq details { background: var(--hi); border-radius: 16px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 24px; font-weight: 600; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 500; font-size: 22px; line-height: 1; color: var(--dim); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 24px 22px; color: var(--dim); max-width: 64ch; }
.closing { background: var(--hi); border-radius: 24px; padding: 48px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 40px; align-items: end; }
.closing h2 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1; }
.closing .actions { justify-content: flex-start; }
.doc { max-width: 760px; display: flex; flex-direction: column; gap: 18px; }
.doc h2 { font-size: 32px; line-height: 1.05; margin-top: 24px; }
.doc p, .doc li { font-size: 18px; line-height: 1.6; }
@media (max-width: 900px) {
  .facts, .facts.two, .panel, .night, .feature, .closing { grid-template-columns: minmax(0, 1fr); }
  .panel, .night, .closing { padding: 32px 24px; }
  .band { padding-top: 72px; }
}
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.steps li { counter-increment: step; background: var(--hi); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.steps li::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 99px; background: var(--accent); color: var(--accent-ink); font-weight: 700; margin-bottom: 6px; }
.steps h3 { font-size: 24px; line-height: 1.1; }
.steps p { color: var(--dim); }
.pg a:not(.btn):not(.guide-link) { color: inherit; text-underline-offset: 3px; }
@media (max-width: 900px) { .steps { grid-template-columns: minmax(0, 1fr); } }
