/* Your First App: site styles. Light only. Colors, type and sizes live in the variables below (see docs/DESIGN.md). */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --band: #f5f6f8;
  --surface: #ffffff;
  --ink: #161b26;
  --muted: #5c6577;
  --line: #e5e8ee;
  --line-strong: #cfd5df;
  --navy: #0b2559;
  --navy-2: #1a3f8f;
  --navy-soft: #eaf0fb;
  --navy-ink: #ffffff;
  --blue: #2f6fed;
  --red: #d6212d;
  --red-soft: #fdeceb;
  --red-ink: #b4231f;
  --green: #15803d;
  --green-soft: #eaf7ee;
  --green-line: #bfe3cc;
  --check-bg: var(--green-soft); --check-ink: var(--green);
  --trouble-bg: #fdf1ef; --trouble-ink: #b4231f;
  --warn-bg: #fff7e0; --warn-ink: #935f00;
  --tip-bg: #eef3fd; --tip-ink: #1a3f8f;
  --cost-bg: #f3f0fb; --cost-ink: #5b3fa6;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --r-chip: 6px;
  --r-btn: 10px;
  --r-box: 14px;
  --r-card: 16px;
  --r-panel: 20px;
  --shadow-card: 0 1px 2px rgba(11, 37, 89, .05), 0 8px 24px -8px rgba(11, 37, 89, .10);
  --shadow-float: 0 1px 2px rgba(11, 37, 89, .06), 0 14px 36px -10px rgba(11, 37, 89, .18), 0 48px 90px -30px rgba(11, 37, 89, .28);
  --container: 1200px;
  --gutter: 32px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 19px/1.7 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; }
a { color: var(--navy-2); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--sans); color: var(--navy); font-weight: 800; line-height: 1.12; letter-spacing: -.025em; margin: 1.6em 0 .5em; overflow-wrap: break-word; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 3.6vw, 2.9rem); line-height: 1.06; margin-top: .15em; }
h2 { font-size: 1.55rem; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
kbd { display: inline-block; font: 600 .78em/1.5 var(--sans); color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 6px; padding: .05em .55em; white-space: nowrap; vertical-align: baseline; }
code { font: .86em var(--mono); color: var(--navy); background: var(--band); border-radius: 6px; padding: .12em .45em; overflow-wrap: anywhere; }
strong { font-weight: 700; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); color: var(--navy); padding: 8px 14px; border-radius: var(--r-btn); z-index: 50; }
.skip:focus { left: 8px; }
.ext { font-size: .75em; margin-left: .15em; }
.nobr { white-space: nowrap; }
[hidden] { display: none !important; }
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
@media (max-width: 720px) { :root { --gutter: 20px; } body { font-size: 18px; } }

/* ---------- Icons (masks, colored with currentColor) ---------- */
.ico { display: inline-block; width: 18px; height: 18px; flex: none; background: currentColor; -webkit-mask: var(--i) center/contain no-repeat; mask: var(--i) center/contain no-repeat; vertical-align: middle; }
.ico-check { --i: var(--i-check); } .ico-chat { --i: var(--i-chat); } .ico-help { --i: var(--i-help); } .ico-shield { --i: var(--i-shield); }
.ico-bulb { --i: var(--i-bulb); } .ico-coin { --i: var(--i-coin); } .ico-image { --i: var(--i-image); } .ico-list { --i: var(--i-list); }
.ico-phone { --i: var(--i-phone); } .ico-android { --i: var(--i-android); } .ico-both { --i: var(--i-both); } .ico-mac { --i: var(--i-laptop); } .ico-windows { --i: var(--i-windows); }
.ico-chevron { --i: var(--i-chevron); } .ico-arrow { --i: var(--i-arrow); } .ico-arrow-up { --i: var(--i-arrow-up); } .ico-copy { --i: var(--i-copy); }
.ico-sprout { --i: var(--i-sprout); } .ico-flag { --i: var(--i-flag); } .ico-laptop { --i: var(--i-laptop); } .ico-pencil { --i: var(--i-pencil); } .ico-tools { --i: var(--i-tools); }
.ico-screens { --i: var(--i-screens); } .ico-cloud { --i: var(--i-cloud); } .ico-plane { --i: var(--i-plane); } .ico-globe { --i: var(--i-globe); } .ico-card { --i: var(--i-card); }
.ico-star { --i: var(--i-star); } .ico-chart { --i: var(--i-chart); } .ico-lock { --i: var(--i-lock); } .ico-sparkle { --i: var(--i-sparkle); } .ico-bell { --i: var(--i-bell); }
.ico-book { --i: var(--i-book); } .ico-sliders { --i: var(--i-sliders); } .ico-target { --i: var(--i-target); } .ico-layers { --i: var(--i-layers); } .ico-play { --i: var(--i-play); } .ico-cards { --i: var(--i-cards); }
.ico-plus { --i: var(--i-plus); }
:root {
  --i-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  --i-cards: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='3' width='11' height='14' rx='2'/%3E%3Cpath d='M6 7v12a2 2 0 0 0 2 2h9'/%3E%3C/svg%3E");
  --i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --i-chat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H9l-5 4z'/%3E%3C/svg%3E");
  --i-help: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.5 9a2.5 2.5 0 1 1 3.4 2.3c-.6.3-.9.8-.9 1.4V14M12 17.3v.2'/%3E%3C/svg%3E");
  --i-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 5-3.5 8-8 9-4.5-1-8-4-8-9V6z'/%3E%3C/svg%3E");
  --i-bulb: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 21h4M12 3a6 6 0 0 0-4 10.4c.8.8 1 1.6 1 2.6h6c0-1 .2-1.8 1-2.6A6 6 0 0 0 12 3z'/%3E%3C/svg%3E");
  --i-coin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M14.6 9.4c-.5-.9-1.5-1.4-2.6-1.4-1.5 0-2.5.8-2.5 2s1 1.7 2.5 2 2.5.8 2.5 2-1 2-2.5 2c-1.1 0-2.1-.5-2.6-1.4M12 6.5V8M12 16v1.5'/%3E%3C/svg%3E");
  --i-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='9' cy='10' r='1.5'/%3E%3Cpath d='M21 16l-5-5-8 8'/%3E%3C/svg%3E");
  --i-list: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6h11M9 12h11M9 18h11M4.5 6h.01M4.5 12h.01M4.5 18h.01'/%3E%3C/svg%3E");
  --i-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='2.5' width='12' height='19' rx='2.5'/%3E%3Cpath d='M11 18.5h2'/%3E%3C/svg%3E");
  --i-android: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 14a6 6 0 0 1 12 0v1H6zM8.5 8L7 5.5M15.5 8L17 5.5M9.5 12h.01M14.5 12h.01M7 15v4h10v-4'/%3E%3C/svg%3E");
  --i-both: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='9' height='15' rx='2'/%3E%3Crect x='13' y='6.5' width='8' height='13' rx='2'/%3E%3C/svg%3E");
  --i-laptop: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5' width='16' height='11' rx='1.5'/%3E%3Cpath d='M2 19h20'/%3E%3C/svg%3E");
  --i-windows: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='13' rx='1.5'/%3E%3Cpath d='M12 4v13M3 10.5h18M8 21h8'/%3E%3C/svg%3E");
  --i-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E");
  --i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --i-arrow-up: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M6 11l6-6 6 6'/%3E%3C/svg%3E");
  --i-copy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='8' width='12' height='12' rx='2'/%3E%3Cpath d='M16 8V5a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h3'/%3E%3C/svg%3E");
  --i-sprout: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21v-9M12 12c0-4.5 3-7.5 8.5-7.5 0 5-3 8-8.5 7.5zM12 15.5c0-3.3-2.3-5.5-6.5-5.5 0 3.8 2.3 6 6.5 5.5z'/%3E%3C/svg%3E");
  --i-flag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 21V4M5 4h12l-2 4 2 4H5'/%3E%3C/svg%3E");
  --i-pencil: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20l4.5-1L19 8.5 15.5 5 5 15.5zM13 7.5l3.5 3.5'/%3E%3C/svg%3E");
  --i-tools: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 5.5a4.5 4.5 0 0 0-5.6 5.6L3.5 16.5 7.5 20.5l5.4-5.4a4.5 4.5 0 0 0 5.6-5.6l-2.6 2.6-2.5-.7-.7-2.5z'/%3E%3C/svg%3E");
  --i-screens: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='11' height='9' rx='1.5'/%3E%3Crect x='10' y='11' width='11' height='9' rx='1.5'/%3E%3C/svg%3E");
  --i-cloud: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 18h10a4 4 0 0 0 .5-8A6 6 0 0 0 6 11.5 3.3 3.3 0 0 0 7 18z'/%3E%3C/svg%3E");
  --i-plane: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l18-8-7 18-2.5-7.5zM11.5 13.5L21 3'/%3E%3C/svg%3E");
  --i-globe: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18'/%3E%3C/svg%3E");
  --i-card: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='18' height='12' rx='2'/%3E%3Cpath d='M3 10h18M7 15h3'/%3E%3C/svg%3E");
  --i-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5l2.6 5.6 6.1.7-4.5 4.2 1.2 6-5.4-3-5.4 3 1.2-6L3.3 9.8l6.1-.7z'/%3E%3C/svg%3E");
  --i-chart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 20v-8M11 20V5M17 20v-6M3 20h18'/%3E%3C/svg%3E");
  --i-lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M9 11V7.5a3 3 0 0 1 6 0V11'/%3E%3C/svg%3E");
  --i-sparkle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 3l1.9 5.1L18 10l-5.1 1.9L11 17l-1.9-5.1L4 10l5.1-1.9zM19 16l.7 1.8 1.8.7-1.8.7L19 21l-.7-1.8-1.8-.7 1.8-.7z'/%3E%3C/svg%3E");
  --i-bell: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 16v-5a6 6 0 0 1 12 0v5l1.5 2h-15zM10 21h4'/%3E%3C/svg%3E");
  --i-book: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h6a2 2 0 0 1 2 2v13a2 2 0 0 0-2-2H4zM20 5h-6a2 2 0 0 0-2 2v13a2 2 0 0 1 2-2h6z'/%3E%3C/svg%3E");
  --i-sliders: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h9M17 7h3M4 17h3M11 17h9M15 4.5v5M9 14.5v5'/%3E%3C/svg%3E");
  --i-target: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Ccircle cx='12' cy='12' r='3.5'/%3E%3Cpath d='M12 3.5V7M12 17v3.5M3.5 12H7M17 12h3.5'/%3E%3C/svg%3E");
  --i-layers: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4l8 4.5-8 4.5-8-4.5zM4 13l8 4.5 8-4.5M4 17.5L12 22l8-4.5'/%3E%3C/svg%3E");
  --i-play: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 4.5l12 7.5-12 7.5z'/%3E%3C/svg%3E");
}

/* ---------- Top bar (navy) ---------- */
.top { position: sticky; top: 0; z-index: 20; background: var(--navy); color: #fff; }
.top-inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); height: 64px; display: flex; align-items: center; gap: 24px; }
.top :focus-visible { outline-color: #fff; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 1.08rem var(--sans); letter-spacing: -.01em; color: #fff; text-decoration: none; white-space: nowrap; flex-shrink: 0; }
.brand:hover { color: #fff; }
.brand-mark { width: 32px; height: 32px; border-radius: 8px; background: #fff; position: relative; flex: none; }
.brand-mark::after { content: ""; position: absolute; inset: 5px; background: var(--navy); -webkit-mask: var(--i-cards) center/contain no-repeat; mask: var(--i-cards) center/contain no-repeat; }
.top-nav { display: flex; gap: 4px; margin-left: auto; }
.top-nav a { color: rgba(255, 255, 255, .8); text-decoration: none; font-size: .95rem; font-weight: 500; padding: 10px 14px; border-radius: 8px; white-space: nowrap; flex-shrink: 0; min-height: 44px; display: inline-flex; align-items: center; }
.top-nav a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.top-nav a[aria-current] { color: #fff; background: rgba(255, 255, 255, .14); }
.top-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 8px; background: #fff; color: var(--navy); font: 600 .95rem var(--sans); text-decoration: none; white-space: nowrap; flex-shrink: 0; }
.top-btn:hover { background: #e9eefb; color: var(--navy); }
/* small progress meter: "12% complete" + a thin bar; on phones it becomes a strip under the top bar */
.top-meter { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .85); font-size: .82rem; font-weight: 600; white-space: nowrap; margin-left: 4px; }
.top-meter b { color: #fff; font-weight: 800; font-variant-numeric: tabular-nums; }
.top-meter-bar { display: block; width: 110px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.top-meter-bar i { display: block; height: 100%; width: 0; background: #8fe0a8; border-radius: 2px; transition: width .4s; }
@media (max-width: 1000px) { .top-meter-bar { width: 72px; } }
@media (max-width: 760px) {
  .top-meter { order: 10; flex-basis: 100%; height: 18px; margin: 0; font-size: .74rem; gap: 10px; }
  .top-meter-bar { flex: 1; width: auto; height: 3px; }
}
@media (max-width: 760px) {
  .top-inner { min-height: 60px; height: auto; gap: 10px; flex-wrap: wrap; align-content: center; padding-top: 8px; padding-bottom: 8px; }
  .top-nav { gap: 0; }
  .top-nav a { padding: 8px 10px; font-size: .9rem; }
  .top-nav a[href="/words/"] { display: none; }
  .top-btn { padding: 0 12px; font-size: .88rem; min-height: 40px; }
}
@media (max-width: 560px) { .top-btn { display: none; } }
@media (max-width: 380px) { .brand-name { display: none; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: var(--r-btn); border: 1px solid var(--line-strong); background: var(--surface); color: var(--navy); font: 600 1rem var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .08s; }
.btn:hover { background: var(--band); color: var(--navy); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn.primary:hover { background: var(--navy-2); border-color: var(--navy-2); color: #fff; }
.btn.big { min-height: 56px; padding: 0 32px; font-size: 1.08rem; }
.btn .ico { width: 16px; height: 16px; }

/* ---------- Badges, labels ---------- */
.badge { display: inline-flex; align-items: center; font: 700 .7rem/1 var(--sans); letter-spacing: .05em; text-transform: uppercase; padding: 5px 8px; border-radius: var(--r-chip); vertical-align: middle; white-space: nowrap; }
.badge.free { background: var(--navy-soft); color: var(--navy); }
.badge.full { background: var(--red); color: #fff; }
.badge.adv { background: var(--ink); color: #fff; }
.plat { display: inline-flex; align-items: center; font: 700 .68rem/1 var(--sans); letter-spacing: .04em; text-transform: uppercase; background: var(--band); color: var(--muted); border: 1px solid var(--line); border-radius: var(--r-chip); padding: 4px 7px; margin-left: 8px; vertical-align: middle; white-space: nowrap; }
.plat.adv { background: var(--ink); color: #fff; border-color: var(--ink); }
/* "iPhone only" / "Mac only" labels are noise once that choice is made; they stay for "Both" and for the other choice */
html[data-platform="iphone"] .plat.p-iphone, html[data-platform="android"] .plat.p-android,
html[data-computer="mac"] .plat.c-mac, html[data-computer="windows"] .plat.c-windows { display: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; font: 700 .74rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: 7px 10px; border-radius: var(--r-chip); background: var(--red-soft); color: var(--red-ink); }

/* ---------- Pages ---------- */
.page { max-width: var(--container); margin: 0 auto; padding: 56px var(--gutter) 96px; }
.page.narrow { max-width: calc(760px + 2 * var(--gutter)); }
.page-head { margin-bottom: 36px; }
.page-head h1 { margin-bottom: .35em; }
.lead { font-size: 1.18rem; line-height: 1.6; color: var(--muted); max-width: 46em; }
.eyebrow { font: 700 .8rem/1.4 var(--sans); letter-spacing: .07em; text-transform: uppercase; color: var(--navy-2); margin: 0 0 .6em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.eyebrow .badge, .eyebrow .plat { margin-left: 0; }
.crumbs { font-size: .9rem; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 22px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }
.crumbs span { color: var(--line-strong); }
@media (max-width: 720px) { .page { padding: 32px var(--gutter) 64px; } .page-head { margin-bottom: 24px; } }

/* ---------- Segmented choices (phone, computer) and the start radio ---------- */
.plat-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 10px 0 24px; }
.plat-pick-label { font-weight: 600; color: var(--muted); font-size: .95rem; }
.seg { display: inline-flex; background: var(--band); border: 1px solid var(--line); border-radius: var(--r-btn); padding: 4px; gap: 4px; }
.seg button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 0; border-radius: 7px; background: transparent; color: var(--ink); font: 600 .95rem var(--sans); cursor: pointer; white-space: nowrap; }
.seg button:hover { background: #fff; }
.seg button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.seg button .ico { width: 16px; height: 16px; opacity: .85; }
.picks { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 10px 0 24px; }
.picks .plat-pick { margin: 0; }
@media (max-width: 600px) { .seg { display: flex; width: 100%; } .seg button { flex: 1; padding: 0 8px; } .plat-pick { width: 100%; } }

/* ---------- Home: hero ---------- */
.hero { background: var(--navy); color: #fff; overflow: hidden; }
.hero-inner { max-width: var(--container); margin: 0 auto; padding: 76px var(--gutter) 150px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero-kicker { font: 700 .82rem/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .7); margin: 0 0 22px; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 4.6vw, 4rem); line-height: 1.04; letter-spacing: -.035em; margin: 0 0 .45em; }
.hero .lead { color: rgba(255, 255, 255, .84); font-size: 1.25rem; max-width: 30em; margin: 0; }
.hero-visual { position: relative; height: 500px; }
.hero-visual::before { content: ""; position: absolute; inset: -40px -60px; background: radial-gradient(60% 60% at 60% 45%, rgba(84, 137, 255, .5), transparent 70%); }

/* Mac-style chat window */
.mac { position: absolute; left: 0; top: 0; width: 68%; max-width: 500px; background: #fff; color: var(--ink); border-radius: 14px; box-shadow: var(--shadow-float); overflow: hidden; font-size: 14px; line-height: 1.45; }
.mac-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: #f3f4f7; border-bottom: 1px solid var(--line); }
.mac-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d9dce3; display: block; }
.mac-bar i:nth-child(1) { background: #ff5f57; } .mac-bar i:nth-child(2) { background: #febc2e; } .mac-bar i:nth-child(3) { background: #28c840; }
.mac-bar em { margin-left: auto; margin-right: auto; font-style: normal; font-weight: 600; font-size: 12px; color: var(--muted); }
.mac-body { padding: 18px 18px 14px; display: grid; gap: 12px; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 12px; }
.msg.me { justify-self: end; background: var(--navy-soft); color: var(--navy); border-bottom-right-radius: 4px; }
.msg.ai { justify-self: start; background: var(--band); border-bottom-left-radius: 4px; }
.msg.ai strong { display: block; color: var(--navy); margin-bottom: 4px; }
.msg.ai ul { margin: 0 0 6px; padding-left: 18px; }
.msg.ai li { margin: 2px 0; }
.msg-status { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); font-weight: 500; }
.msg-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; }
.composer { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line-strong); border-radius: 10px; padding: 8px 8px 8px 14px; color: var(--muted); font-size: 13px; }
.composer b { margin-left: auto; width: 30px; height: 30px; border-radius: 8px; background: var(--navy); color: #fff; display: grid; place-items: center; }
.composer b .ico { width: 15px; height: 15px; }

/* Phone with the example app (contents come from edition() in scripts/build.mjs) */
.phone { position: absolute; right: -16px; bottom: 0; width: 230px; height: 470px; border-radius: 40px; background: #0d0f14; padding: 10px; box-shadow: var(--shadow-float), 0 0 0 1px rgba(255, 255, 255, .08); color: var(--ink); }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 76px; height: 22px; border-radius: 12px; background: #0d0f14; z-index: 2; }
.phone-screen { height: 100%; border-radius: 31px; background: #fff; padding: 52px 16px 16px; overflow: hidden; position: relative; font-size: 13px; line-height: 1.35; }
.ph-status { position: absolute; top: 14px; left: 22px; right: 22px; display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; }
.ph-status i { width: 22px; height: 11px; border: 1.5px solid var(--ink); border-radius: 3px; position: relative; display: block; }
.ph-status i::after { content: ""; position: absolute; inset: 2px; right: 5px; background: var(--ink); border-radius: 1px; }
.ph-title { font-size: 24px; font-weight: 800; letter-spacing: -.03em; color: var(--navy); margin-bottom: 10px; }
.ph-value { display: grid; gap: 2px; background: var(--navy); color: #fff; border-radius: 14px; padding: 12px 14px; margin-bottom: 8px; }
.ph-value-label { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.ph-value-num { font-size: 24px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.ph-value-up { display: inline-flex; align-items: center; gap: 3px; font-size: 11.5px; font-weight: 600; color: #8fe0a8; }
.ph-value-up .ico { width: 12px; height: 12px; }
.ph-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.ph-card { flex: none; width: 30px; height: 42px; border-radius: 4px; background: linear-gradient(160deg, var(--a), var(--b)); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35), 0 2px 6px -2px rgba(0, 0, 0, .35); position: relative; overflow: hidden; }
.ph-card::after { content: ""; position: absolute; inset: -40% -60%; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .55) 48%, transparent 58%); }
.ph-card.c1 { --a: #fbbf24; --b: #dc2626; } .ph-card.c2 { --a: #67e8f9; --b: #1d4ed8; } .ph-card.c3 { --a: #86efac; --b: #15803d; } .ph-card.c4 { --a: #c4b5fd; --b: #6d28d9; }
.ph-name { flex: 1; display: flex; flex-direction: column; font-weight: 600; line-height: 1.25; min-width: 0; }
.ph-name small { font-weight: 500; color: var(--muted); font-size: 11px; }
.ph-right { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.ph-right b { font-weight: 700; font-size: 13px; }
.ph-cond { font-size: 9.5px; font-weight: 700; padding: 2px 5px; border-radius: 4px; background: var(--navy-soft); color: var(--navy); letter-spacing: .03em; }
.ph-fab { position: absolute; right: 16px; bottom: 18px; width: 48px; height: 48px; border-radius: 14px; background: var(--navy); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px -6px rgba(11, 37, 89, .5); }
.ph-fab .ico { width: 22px; height: 22px; }

@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; padding: 56px var(--gutter) 120px; gap: 40px; }
  .hero h1 { max-width: 14em; }
  .hero-visual { height: 440px; max-width: 560px; }
}
@media (max-width: 600px) {
  .hero-inner { padding: 44px var(--gutter) 104px; gap: 32px; }
  .hero-visual { height: 540px; }
  .mac { width: 88%; font-size: 12px; }
  .mac-body { padding: 12px 12px 14px; gap: 8px; }
  .msg { max-width: 92%; }
  .composer { display: none; }
  .phone { width: 200px; height: 380px; border-radius: 30px; padding: 7px; right: 0; }
  .phone-screen { padding: 40px 11px 11px; }
  .ph-value-label { font-size: 9.5px; letter-spacing: .02em; }
  .ph-value-up { font-size: 10.5px; }
  .ph-row { gap: 7px; }
  .ph-card { width: 22px; height: 31px; }
  .ph-name { font-size: 11px; }
  .ph-name small { font-size: 10px; }
  .ph-right b { font-size: 11.5px; }
  .ph-cond { display: none; }
  .phone::before { width: 56px; height: 16px; top: 14px; }
  .phone-screen { border-radius: 24px; padding: 40px 12px 12px; font-size: 11.5px; }
  .ph-status { left: 16px; right: 16px; top: 10px; font-size: 10px; }
  .ph-title { font-size: 19px; margin-bottom: 6px; }
  .ph-value { padding: 9px 11px; border-radius: 10px; }
  .ph-value-num { font-size: 19px; }
  .ph-card { width: 24px; height: 34px; }
  .ph-row { padding: 7px 0; gap: 8px; }
  .ph-fab { width: 40px; height: 40px; right: 12px; bottom: 12px; }
}

/* ---------- Home: "Where should you start?" panel + quick rows ---------- */
.start-wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.start-panel { position: relative; z-index: 2; margin-top: -92px; background: #fff; border-radius: var(--r-panel); box-shadow: var(--shadow-float); padding: 32px 36px 36px; }
.start-panel h2 { margin: 0 0 22px; font-size: 1.45rem; letter-spacing: -.02em; }
.start-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 40px; align-items: end; }
.start-field { display: grid; gap: 10px; min-width: 0; }
.start-label { font: 600 .9rem var(--sans); color: var(--muted); }
.start-field .seg button { min-height: 44px; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice button { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-btn); background: #fff; color: var(--ink); font: 500 .92rem/1.3 var(--sans); text-align: left; cursor: pointer; }
.start-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 8px; padding-top: 24px; border-top: 1px solid var(--line); }
.start-note { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: .95rem; font-weight: 500; color: var(--muted); }
.start-note .ico { width: 16px; height: 16px; color: var(--green); }
.choice button:hover { border-color: var(--navy-2); }
.choice button strong { font-weight: 700; color: var(--navy); }
.choice .radio { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-strong); position: relative; }
.choice button[aria-checked="true"] { border: 2px solid var(--navy); background: var(--navy-soft); padding: 7px 13px; }
.choice button[aria-checked="true"] .radio { border-color: var(--navy); }
.choice button[aria-checked="true"] .radio::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--navy); }
.start-go { min-height: 52px; min-width: 200px; font-size: 1.05rem; }
/* 2 x 2: phone + computer on the first row, the two questions on the second; one column on narrow screens. */
@media (max-width: 900px) { .start-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .start-panel { margin-top: -72px; padding: 24px 20px 24px; border-radius: var(--r-card); }
  .start-panel h2 { font-size: 1.25rem; margin-bottom: 18px; }
  .start-grid { grid-template-columns: 1fr; gap: 18px; }
  .choice { grid-template-columns: 1fr; }
  .start-foot { flex-direction: column-reverse; align-items: stretch; gap: 14px; }
  .start-note { justify-content: center; }
}
.quick { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.quick li { border-left: 1px solid var(--line); }
.quick li:first-child { border-left: 0; }
.quick a { display: flex; align-items: center; gap: 12px; padding: 26px 18px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; line-height: 1.3; min-height: 56px; }
.quick a:hover { color: var(--navy); background: var(--band); }
.quick a .ico:first-child { width: 20px; height: 20px; color: var(--navy); }
.quick a .ico-chevron { margin-left: auto; width: 16px; height: 16px; color: var(--line-strong); }
.quick a:hover .ico-chevron { color: var(--navy); }
.quick a > span:not(.ico) { flex: 1; }
@media (max-width: 900px) { .quick { grid-template-columns: 1fr 1fr; } .quick li:nth-child(3) { border-left: 0; } .quick li:nth-child(n + 3) { border-top: 1px solid var(--line); } }
@media (max-width: 600px) { .quick { grid-template-columns: 1fr; margin-top: 4px; } .quick li { border-left: 0; border-top: 1px solid var(--line); } .quick li:first-child { border-top: 0; } .quick a { padding: 16px 4px; } }

/* ---------- Home: sections ---------- */
.sec { padding: 104px 0; }
.sec.band { background: var(--band); }
.sec-inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.sec-head .chip { margin-bottom: 18px; }
.sec-head h2 { font-size: clamp(2.1rem, 3.9vw, 3.4rem); line-height: 1.06; letter-spacing: -.035em; margin: 0 0 .4em; }
.sec-head .lead { margin: 0 auto; max-width: 34em; }
@media (max-width: 720px) { .sec { padding: 64px 0; } .sec-head { margin-bottom: 36px; } }

/* How it works */
.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.how-item h3 { font-size: 1.3rem; margin: 20px 0 8px; display: flex; align-items: center; gap: 12px; }
.how-num { flex: none; width: 34px; height: 34px; border-radius: 8px; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: .95rem; font-weight: 700; }
.how-item p { color: var(--muted); margin: 0; font-size: 1.02rem; }
.mini { background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow-card); padding: 22px; min-height: 196px; display: flex; flex-direction: column; justify-content: center; gap: 10px; font-size: 14px; line-height: 1.45; color: var(--ink); }
.mini-eyebrow { font: 700 11px var(--sans); letter-spacing: .07em; text-transform: uppercase; color: var(--navy-2); }
.mini-title { font-size: 19px; font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
.mini-say { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: grid; gap: 6px; }
.mini-say-head { display: flex; align-items: center; justify-content: space-between; font: 700 11px var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--navy-2); }
.mini-say-head b { font: 600 12px var(--sans); background: var(--navy); color: #fff; padding: 5px 10px; border-radius: 6px; display: inline-flex; align-items: center; gap: 5px; }
.mini-say-head b .ico { width: 12px; height: 12px; }
.mini-msg { max-width: 90%; padding: 9px 12px; border-radius: 12px; }
.mini-msg.me { align-self: flex-end; background: var(--navy-soft); color: var(--navy); border-bottom-right-radius: 4px; }
.mini-msg.ai { align-self: flex-start; background: var(--band); border-bottom-left-radius: 4px; }
.mini-check { background: var(--check-bg); border-radius: 10px; padding: 12px 14px; }
.mini-check-head { display: flex; align-items: center; gap: 7px; font: 700 11px var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--check-ink); margin-bottom: 4px; }
.mini-check-head .ico { width: 14px; height: 14px; }
.mini-done { display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--navy); color: #fff; border-radius: 10px; padding: 11px; font-weight: 700; font-size: 14px; }
.mini-done .tick { width: 18px; height: 18px; border-color: rgba(255, 255, 255, .6); background: transparent; margin: 0; }
@media (max-width: 900px) { .how { grid-template-columns: 1fr; gap: 40px; max-width: 520px; margin: 0 auto; } }

/* What you'll build */
.build { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; max-width: 980px; margin: 0 auto; }
.build .phone { position: relative; right: auto; bottom: auto; margin: 0 auto; }
.build-col { display: grid; gap: 20px; }
.float-card { background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow-float); padding: 16px 18px; display: flex; align-items: center; gap: 14px; font-size: 15px; line-height: 1.35; max-width: 340px; }
.build-col.left .float-card { justify-self: end; }
.float-card .fc-ico { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--navy-soft); color: var(--navy); }
.float-card .fc-ico.green { background: var(--green-soft); color: var(--green); }
.float-card .fc-ico.red { background: var(--red-soft); color: var(--red-ink); }
.float-card .fc-ico .ico { width: 20px; height: 20px; }
.float-card strong { display: block; color: var(--navy); }
.float-card span { color: var(--muted); font-size: 14px; }
.float-card em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--muted); align-self: flex-start; }
@media (max-width: 900px) {
  .build { grid-template-columns: 1fr; gap: 28px; }
  .build .phone { order: -1; }
  .build-col, .build-col.left .float-card { justify-self: center; }
  .build-col { width: 100%; max-width: 340px; }
}

/* The whole path: part cards */
.parts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1200px) { .parts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.part-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow-card); text-decoration: none; color: var(--ink); overflow: hidden; transition: transform .15s, box-shadow .15s; }
.part-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-float); color: var(--ink); }
.part-visual { position: relative; height: 118px; background: linear-gradient(135deg, #e3ebfb, #f3f6fd); color: var(--navy); display: grid; place-items: center; }
.part-card.full .part-visual { background: linear-gradient(135deg, var(--navy), #1b4aa6); color: #fff; }
.part-visual .ico { width: 40px; height: 40px; }
.part-visual .badge { position: absolute; top: 12px; right: 12px; }
.part-card.full .part-visual .badge.full { background: var(--red); }
.part-card .badge.free { background: #fff; color: var(--navy); }
.part-body { padding: 16px 18px 18px; display: grid; gap: 4px; }
.part-num { font: 700 .72rem var(--sans); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.part-title { font-size: 1.08rem; font-weight: 700; color: var(--navy); line-height: 1.3; letter-spacing: -.01em; }
.part-meta { font-size: .88rem; color: var(--muted); }
@media (max-width: 1000px) { .parts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .parts { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gutter)); padding: 6px var(--gutter) 18px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .parts::-webkit-scrollbar { display: none; }
  .part-card { flex: 0 0 74%; max-width: 280px; scroll-snap-align: start; }
}
.sec-foot { text-align: center; margin-top: 36px; }

/* Connect your Claude */
.connect { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; max-width: 1040px; margin: 0 auto; }
.connect .mac { position: static; width: 100%; max-width: 520px; box-shadow: var(--shadow-float); }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.points li { display: flex; gap: 16px; align-items: flex-start; }
.points .pt-ico { flex: none; width: 44px; height: 44px; border-radius: 10px; background: var(--navy-soft); color: var(--navy); display: grid; place-items: center; }
.points .pt-ico .ico { width: 22px; height: 22px; }
.points strong { display: block; color: var(--navy); font-size: 1.12rem; margin-bottom: 2px; }
.points p { margin: 0; color: var(--muted); font-size: 1rem; }
@media (max-width: 900px) { .connect { grid-template-columns: 1fr; gap: 36px; } .connect .mac { margin: 0 auto; } }

/* Pricing */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 1100px; margin: 0 auto; align-items: stretch; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-panel); padding: 30px 28px; display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--navy); box-shadow: var(--shadow-float); }
.price-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 30px; }
.price-card h3 { margin: 0; font-size: 1.2rem; }
.price { display: flex; align-items: baseline; gap: 12px; font-size: 3rem; font-weight: 800; letter-spacing: -.04em; color: var(--navy); line-height: 1; margin: 18px 0 8px; }
.price-later { font-size: 1.3rem; font-weight: 600; color: var(--muted); letter-spacing: -.02em; text-decoration-thickness: 2px; }
.price-sub { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: .92rem; margin: 0 0 22px; min-height: 28px; }
.price-card ul { list-style: none; margin: 0 0 28px; padding: 0; flex: 1; display: grid; gap: 12px; }
.price-card li { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; color: var(--ink); line-height: 1.5; }
.price-card li .ico { width: 18px; height: 18px; margin-top: 5px; color: var(--navy); }
.price-card .btn { width: 100%; }
.band-note { max-width: 900px; margin: 28px auto 0; text-align: center; color: var(--muted); font-size: .98rem; }
@media (max-width: 1000px) { .prices { grid-template-columns: 1fr; max-width: 520px; } .price-card { padding: 26px 22px; } }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 56px; max-width: 1040px; margin: 0 auto; }
.faq-item { padding: 24px 0 26px; border-top: 1px solid var(--line); }
.faq-item h3 { margin: 0 0 8px; font-size: 1.12rem; }
.faq-item p { margin: 0; color: var(--muted); font-size: 1rem; }
@media (max-width: 760px) { .faq { grid-template-columns: 1fr; } .faq-item { padding: 18px 0 20px; } }

/* ---------- Footer ---------- */
.foot { background: var(--band); border-top: 1px solid var(--line); }
.foot-inner { max-width: var(--container); margin: 0 auto; padding: 48px var(--gutter) 56px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; font-size: .92rem; color: var(--muted); }
.foot .brand { color: var(--navy); margin-bottom: 14px; }
.foot .brand-mark { background: var(--navy); }
.foot .brand-mark::after { background: #fff; }
.foot p { margin: 0; max-width: 34em; }
.foot-links { display: grid; gap: 8px; align-content: start; justify-items: start; }
.foot-links a { color: var(--ink); text-decoration: none; font-weight: 500; }
.foot-links a:hover { color: var(--navy); text-decoration: underline; }
@media (max-width: 720px) { .foot-inner { grid-template-columns: 1fr; padding: 36px var(--gutter) 44px; } }

/* ---------- Step page ---------- */
.layout { max-width: var(--container); margin: 0 auto; padding: 40px var(--gutter) 96px; display: grid; grid-template-columns: 264px minmax(0, 720px); gap: 72px; justify-content: center; }
.step { min-width: 0; }
.side { position: relative; min-width: 0; }
.side-box { position: sticky; top: 88px; max-height: calc(100vh - 110px); overflow: auto; padding-right: 8px; }
.side-box summary { list-style: none; cursor: pointer; padding: 0 0 12px; }
.side-box summary::-webkit-details-marker { display: none; }
.side-part-num { display: block; font: 700 .72rem var(--sans); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.side-part-title { display: block; font-size: 1.12rem; font-weight: 800; letter-spacing: -.02em; color: var(--navy); line-height: 1.25; }
.side-progress { display: grid; gap: 8px; margin: 2px 0 14px; font-size: .82rem; color: var(--muted); font-weight: 500; }
.bar { height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; background: var(--navy); border-radius: 3px; transition: width .4s; }
.bar.slim { height: 4px; }
.side-steps { list-style: none; margin: 0; padding: 0; }
.side-steps li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; margin: 0 0 0 -10px; border-radius: 8px; font-size: .92rem; line-height: 1.4; }
.side-steps li a { color: var(--muted); text-decoration: none; }
.side-steps li a:hover { color: var(--navy); }
.side-steps li.current { background: var(--navy-soft); }
.side-steps li.current a { color: var(--navy); font-weight: 700; }
.side-steps li.soon { color: var(--muted); }
.side-steps li.soon span { color: var(--muted); }
.side-steps .plat { margin-left: 6px; }
.side-foot { display: grid; gap: 6px; justify-items: start; margin-top: 14px; }
.mark-all { display: inline-flex; align-items: center; min-height: 40px; padding: 0 2px; background: none; border: 0; color: var(--muted); font: 500 .85rem var(--sans); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; cursor: pointer; border-radius: 6px; }
.mark-all:hover { color: var(--navy); text-decoration-color: var(--navy); }
.mark-all.is-all { color: var(--green); text-decoration-color: var(--green-line); }
.list-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 8px; }
.side-all { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 600; margin: 0; text-decoration: none; }
.side-all .ico { width: 14px; height: 14px; }
.side-toggle { display: none; }
@media (max-width: 960px) {
  .layout { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 20px var(--gutter) 64px; }
  .side-box { position: static; max-height: none; padding: 0; border: 1px solid var(--line); border-radius: var(--r-box); }
  .side-box summary { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
  .side-box summary .side-part-num { margin: 0; }
  .side-box summary .side-part-title { font-size: 1rem; flex: 1; }
  .side-toggle { display: inline-flex; align-items: center; gap: 6px; font: 600 .82rem var(--sans); color: var(--navy-2); }
  .side-toggle .ico { width: 14px; height: 14px; transform: rotate(90deg); transition: transform .15s; }
  .side-box[open] .side-toggle .ico { transform: rotate(-90deg); }
  .side-body { padding: 0 16px 14px; }
  .side-steps li { margin-left: 0; }
}

.tick { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-strong); margin-top: 2px; position: relative; background: var(--surface); }
/* tick buttons (step lists): the visible circle stays 20px, the touch area is 44px */
button.tick { appearance: none; -webkit-appearance: none; padding: 0; cursor: pointer; font: inherit; color: inherit; transition: border-color .12s, background .12s, transform .08s; }
button.tick::before { content: ""; position: absolute; inset: -12px; border-radius: 50%; }
button.tick:hover { border-color: var(--navy); background: var(--navy-soft); }
button.tick:active { transform: scale(.92); }
.done button.tick:hover { background: #1b9a4a; border-color: #1b9a4a; }
.done > .tick, .done .tick, .is-done .tick { background: var(--green); border-color: var(--green); }
.done > .tick::after, .done .tick::after, .is-done .tick::after { content: ""; position: absolute; inset: 2px; background: #fff; -webkit-mask: var(--i-check) center/contain no-repeat; mask: var(--i-check) center/contain no-repeat; }

.goal { display: flex; gap: 14px; align-items: flex-start; margin: 20px 0 32px; padding: 0 0 26px; border-bottom: 1px solid var(--line); font-size: 1.1rem; line-height: 1.5; }
.goal-ico { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--navy-soft); color: var(--navy); display: grid; place-items: center; }
.goal-ico .ico { width: 20px; height: 20px; }
.goal-text { display: flex; flex-direction: column; gap: 2px; }
.goal-label { font: 700 .72rem var(--sans); letter-spacing: .07em; text-transform: uppercase; color: var(--navy-2); }

/* Prose */
.prose { overflow-wrap: break-word; }
.prose > h2:first-child { margin-top: .3em; }
.prose h2 { font-size: 1.55rem; margin: 1.7em 0 .5em; }
.prose h3 { font-size: 1.2rem; }
.prose ol, .prose ul { padding-left: 1.45em; margin: 0 0 1.3em; }
.prose li { margin: .5em 0; padding-left: .25em; }
.prose ol > li::marker { font-weight: 700; color: var(--navy); }
.prose ul > li::marker { color: var(--line-strong); }
.prose li > ul, .prose li > ol { margin: .3em 0 .3em; }
.table-wrap { overflow-x: auto; margin: 0 0 1.3em; border: 1px solid var(--line); border-radius: var(--r-box); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--band); font-weight: 700; color: var(--navy); }
tr:last-child td { border-bottom: 0; }

/* Boxes */
.box { border-radius: var(--r-box); margin: 28px 0; padding: 20px 22px 18px; background: var(--band); font-size: .97em; }
.box-head { display: flex; align-items: center; gap: 8px; font: 700 .76rem/1.4 var(--sans); letter-spacing: .07em; text-transform: uppercase; margin-bottom: 10px; color: var(--navy); }
.box-head .ico { width: 16px; height: 16px; }
.box-body > :last-child { margin-bottom: 0; }
.box-body ol, .box-body ul { padding-left: 1.35em; }
.box-body p { margin-bottom: .8em; }
.box.check { background: var(--check-bg); } .box.check .box-head { color: var(--check-ink); }
.box.trouble { background: var(--trouble-bg); } .box.trouble .box-head { color: var(--trouble-ink); }
.box.warn { background: var(--warn-bg); } .box.warn .box-head { color: var(--warn-ink); }
.box.tip { background: var(--tip-bg); } .box.tip .box-head { color: var(--tip-ink); }
.box.cost { background: var(--cost-bg); } .box.cost .box-head { color: var(--cost-ink); }
.box.picture { background: transparent; border: 1px dashed var(--line-strong); color: var(--muted); font-size: .9rem; } .box.picture .box-head { color: var(--muted); }
.box.advanced { background: transparent; border: 1px solid var(--line-strong); padding: 0; }
.box.advanced summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 16px 22px; font: 700 .76rem/1.4 var(--sans); letter-spacing: .07em; text-transform: uppercase; color: var(--ink); }
.box.advanced summary::-webkit-details-marker { display: none; }
.box.advanced summary .ico { width: 16px; height: 16px; }
.box.advanced summary .adv-toggle { margin-left: auto; font: 600 .85rem var(--sans); letter-spacing: 0; text-transform: none; color: var(--navy-2); }
.box.advanced[open] summary .adv-toggle::before { content: "Hide"; }
.box.advanced:not([open]) summary .adv-toggle::before { content: "Show"; }
.box.advanced summary .adv-toggle::after { content: " advanced option"; }
.box.advanced summary:hover { background: var(--band); border-radius: var(--r-box); }
.box.advanced[open] summary:hover { border-radius: var(--r-box) var(--r-box) 0 0; }
.box.advanced .box-body { padding: 4px 22px 18px; }
.box.say { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-card); padding: 16px 20px 18px; }
.box.say .box-head { margin-bottom: 12px; min-height: 40px; }
.say-text { white-space: pre-wrap; font-size: 1rem; line-height: 1.6; color: var(--ink); }
.copy { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; min-height: 40px; padding: 0 14px; font: 600 .9rem var(--sans); letter-spacing: 0; text-transform: none; color: #fff; background: var(--navy); border: 0; border-radius: 8px; cursor: pointer; }
.copy::before { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: var(--i-copy) center/contain no-repeat; mask: var(--i-copy) center/contain no-repeat; }
.copy:hover { background: var(--navy-2); }
.copy.copied { background: var(--green); }
.copy.copied::before { -webkit-mask-image: var(--i-check); mask-image: var(--i-check); }
.box.different { margin-top: 48px; background: var(--band); border: 0; box-shadow: none; }
.different-lead { font-size: .95rem; color: var(--muted); }
.box.different .say-text { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; font-size: .95rem; }

/* iPhone / Android, Mac / Windows */
.kbd-alt { display: inline; }
html[data-platform="iphone"] .only-android, html[data-platform="android"] .only-iphone { display: none; }
html[data-platform="iphone"] [data-platform="android"], html[data-platform="android"] [data-platform="iphone"] { display: none; }
html[data-computer="mac"] .only-windows, html[data-computer="windows"] .only-mac { display: none; }
html[data-computer="mac"] [data-computer="windows"]:not(button), html[data-computer="windows"] [data-computer="mac"]:not(button) { display: none; }
.only { background: var(--band); border-radius: var(--r-box); padding: 14px 22px 6px; margin: 20px 0; }
.only-label { display: flex; align-items: center; gap: 8px; font: 700 .74rem var(--sans); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
html[data-platform="iphone"] .only-iphone, html[data-platform="android"] .only-android,
html[data-computer="mac"] .only-mac, html[data-computer="windows"] .only-windows { background: none; border: 0; padding: 0; margin: 0; }
html[data-platform="iphone"] .only-iphone > .only-label, html[data-platform="android"] .only-android > .only-label,
html[data-computer="mac"] .only-mac > .only-label, html[data-computer="windows"] .only-windows > .only-label { display: none; }

/* Done + pager */
.done-row { margin: 40px 0 20px; }
.done-btn { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 64px; border-radius: 12px; border: 0; background: var(--navy); color: #fff; font: 700 1.15rem var(--sans); cursor: pointer; transition: background .15s; }
.done-btn:hover { background: var(--navy-2); }
.done-btn .tick { width: 22px; height: 22px; margin: 0; background: transparent; border-color: rgba(255, 255, 255, .65); }
.done-btn.is-done { background: var(--green); }
.done-btn.is-done .tick { background: #fff; border-color: #fff; }
.done-btn.is-done .tick::after { background: var(--green); }
.undo-link { display: block; margin: 12px auto 0; background: none; border: 0; color: var(--muted); font: 500 .9rem var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 8px; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 8px; }
.pager a { display: flex; flex-direction: column; gap: 3px; text-decoration: none; color: var(--navy); font-weight: 600; line-height: 1.35; padding: 10px 0; }
.pager a span { font-size: .74rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }
.pager a:hover { text-decoration: underline; text-underline-offset: 4px; }
.pager .next { grid-column: 2; text-align: right; align-items: flex-end; }
.checked { font-size: .85rem; color: var(--muted); margin-top: 28px; }
@media (max-width: 600px) { .pager { gap: 16px; } }

/* ---------- Step lists (contents, part pages) ---------- */
.progress-panel { background: var(--band); border-radius: var(--r-card); padding: 24px 28px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 32px; align-items: center; margin: 0 0 28px; }
.progress-text { font-size: 1.2rem; font-weight: 700; color: var(--navy); }
.progress-text strong { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; }
.progress-panel .bar { grid-column: 1; }
.progress-panel .btn { grid-row: 1 / span 2; grid-column: 2; }
@media (max-width: 600px) { .progress-panel { grid-template-columns: 1fr; padding: 20px; } .progress-panel .btn { grid-row: auto; grid-column: 1; } }
.jump { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 12px; font-size: .9rem; color: var(--muted); font-weight: 500; }
.jump a { display: inline-grid; place-items: center; min-width: 36px; height: 36px; padding: 0 8px; border-radius: var(--r-chip); background: var(--band); color: var(--navy); font-weight: 700; text-decoration: none; }
.jump a:hover { background: var(--navy-soft); }
.parts-grid { columns: 2; column-gap: 64px; }
.part-block { padding: 28px 0 10px; break-inside: avoid; }
.part-block h2 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 4px; font-size: 1.3rem; }
.part-block h2 a { color: var(--navy); text-decoration: none; }
.part-block h2 a:hover { text-decoration: underline; }
.part-block .part-num { display: block; margin-bottom: 4px; }
.part-block .muted { font-size: .95rem; margin: 0 0 6px; }
.step-list { list-style: none; padding: 0; margin: 10px 0 20px; }
.step-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.step-row > a, .step-row > span:not(.tick):not(.step-time) { flex: 1; display: flex; gap: 12px; text-decoration: none; color: var(--ink); line-height: 1.4; min-width: 0; }
.step-row > a:hover .step-title { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.step-row .tick { margin-top: 0; }
.step-num { color: var(--muted); font-weight: 600; min-width: 1.5em; font-variant-numeric: tabular-nums; }
.step-title { font-weight: 500; }
.step-time { font-size: .82rem; color: var(--muted); white-space: nowrap; }
.step-row.soon .step-title, .step-row.soon .step-num { color: var(--muted); font-weight: 400; }
@media (max-width: 900px) { .parts-grid { columns: 1; } }
@media (max-width: 600px) {
  .step-row { flex-wrap: wrap; row-gap: 2px; }
  .step-time { flex-basis: 100%; padding-left: 34px; }
}
.part-page .step-list { margin-top: 20px; }

/* ---------- Dictionary ---------- */
.az { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; }
.az a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r-chip); background: var(--band); color: var(--navy); font-weight: 700; text-decoration: none; font-size: .9rem; }
.az a:hover { background: var(--navy-soft); }
.words { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.word-entry { padding: 16px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.word-entry dt { font-size: 1.08rem; font-weight: 700; color: var(--navy); }
.word-entry dd { margin: 4px 0 0; color: var(--muted); font-size: .98rem; }
.word-entry:target { background: var(--navy-soft); border-radius: 10px; padding: 16px; border-bottom-color: transparent; }
.words-letter { grid-column: 1 / -1; font: 800 1.6rem var(--sans); letter-spacing: -.02em; color: var(--navy); margin: 36px 0 2px; }
.words-letter:first-child { margin-top: 8px; }
a.word { color: inherit; text-decoration: underline dotted var(--navy-2); text-decoration-thickness: 2px; text-underline-offset: 4px; cursor: help; }
.word-pop { position: absolute; z-index: 40; max-width: 320px; background: var(--navy); color: #fff; padding: 12px 14px; border-radius: 12px; font-size: .92rem; line-height: 1.5; box-shadow: var(--shadow-float); }
.word-pop strong { display: block; margin-bottom: 2px; }
.word-pop a { color: #fff; font-size: .85rem; }
@media (max-width: 760px) { .words { grid-template-columns: 1fr; } }

/* ---------- Rule picker ---------- */
.rule-picker { margin: 28px 0; }
.rule-picker > .muted { font-weight: 600; font-size: .95rem; margin-bottom: 8px; }
.packs { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 8px; }
.pack { border: 1px solid var(--line-strong); background: #fff; border-radius: var(--r-btn); padding: 0 18px; min-height: 48px; font: 600 .95rem var(--sans); color: var(--navy); cursor: pointer; }
.pack:hover { background: var(--band); }
.pack[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.rule-group { margin-top: 34px; }
.rule-group h2 { font-size: 1.2rem; margin: 0 0 4px; }
.rules { border-top: 1px solid var(--line); }
.rule { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.rule-main { flex: 1; min-width: 0; }
.rule-text { display: block; }
.rule.off .rule-text { color: var(--muted); }
.rule select { margin-top: 10px; font: 500 .95rem var(--sans); padding: 8px 12px; border-radius: 8px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); max-width: 100%; }
.rule textarea, .rule-add textarea { width: 100%; font: 1rem/1.5 var(--sans); padding: 12px 14px; border-radius: var(--r-btn); border: 1px solid var(--line-strong); background: #fff; color: var(--ink); resize: vertical; }
.rule textarea:focus, .rule-add textarea:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(47, 111, 237, .2); }
.rule .packs .btn { min-height: 44px; }
.rule-warn { font-size: .88rem; color: var(--warn-ink); margin-top: 6px; }
.switch { flex: none; width: 48px; height: 28px; border-radius: 999px; border: 0; background: var(--line-strong); position: relative; cursor: pointer; margin-top: 2px; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: left .15s; }
.switch[aria-checked="true"] { background: var(--navy); }
.switch[aria-checked="true"]::after { left: 23px; }
.icon-btn { flex: none; border: 0; background: none; color: var(--navy-2); font: 600 .9rem var(--sans); cursor: pointer; padding: 8px 10px; border-radius: 8px; min-height: 40px; }
.icon-btn:hover { background: var(--band); color: var(--navy); }
.rule-add { display: grid; gap: 10px; margin-top: 14px; }
.rule-add .btn { justify-self: start; }
.rule-error { color: var(--trouble-ink); font-size: .9rem; min-height: 1.2em; }
.rule-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 36px 0 10px; background: var(--band); border-radius: var(--r-card); padding: 18px 20px; }
.rule-count { flex: 1; color: var(--navy); font-weight: 700; }
.rule-preview { white-space: pre-wrap; font: .9rem/1.6 var(--mono); background: var(--band); border-radius: var(--r-box); padding: 20px 22px; overflow-x: auto; }
.rule-status { color: var(--check-ink); font-size: .95rem; min-height: 1.4em; font-weight: 500; }

/* ---------- Print, motion ---------- */
@media print { .top, .side, .done-row, .pager, .foot, .box.different, .start-wrap, .skip { display: none; } .layout { display: block; } body { font-size: 12pt; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Any-app site: plant thumbnails in the example phone (instead of card shapes). */
.ph-card.ph-plant { border-radius: 10px; aspect-ratio: 1; background: radial-gradient(circle at 50% 70%, #2f8f5b 0 30%, transparent 31%), radial-gradient(ellipse 26% 40% at 36% 44%, #58b07a 0 98%, transparent 100%), radial-gradient(ellipse 26% 40% at 64% 44%, #3f9b66 0 98%, transparent 100%), #e3f1e8; }
.ph-card.ph-plant::after { display: none; }

/* Basics the reader said they already know are hidden (they can switch the answer back on /start/). */
html[data-knows-computer="yes"] [data-skip="computer"], html[data-knows-claude="yes"] [data-skip="claude"] { display: none; }
.knows { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px 28px; margin: 4px 0 26px; }

/* Long time estimates ("2 to 4 hours spread over a week...") wrap instead of pushing the page sideways. */
.step-time { white-space: normal; overflow-wrap: anywhere; }
@media (min-width: 601px) { .step-time { max-width: 16em; text-align: right; } }
