/* Tozulo — shared styles for the storefront, every industry site and the checkout.
   Each page sets --accent on <html> (industry color). */
:root {
  --ink: #15171c;
  --muted: #5d6270;
  --bg: #f7f5f0;
  --card: #ffffff;
  --tint: #efece4;
  --line: #e2ddd2;
  --accent: #ea580c;
  --accent-ink: #fff;
  --accent-soft: color-mix(in srgb, var(--accent) 12%, var(--card));
  --ok: #15803d;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(21, 23, 28, .05), 0 14px 36px rgba(21, 23, 28, .08);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --header-bg: rgba(247, 245, 240, .9);
  color-scheme: light;
}
/* Readable accent versions (build.py accent_vars): text on light / dark, a fill for white text.
   Re-read on every element that sets its own --accent (industry cards, related links). */
:root, [style*="--accent"] {
  --accent-text: var(--accent-text-l, #b74509);
  --accent-fill: #b74509;
  --bad: #b91c1c;
}
@media (prefers-color-scheme: dark) {
  :root, [style*="--accent"] { --accent-text: var(--accent-text-d, #fb923c); --bad: #f87171; }
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eceef2;
    --muted: #a3a8b4;
    --bg: #111318;
    --card: #191c23;
    --tint: #15181e;
    --line: #2a2e38;
    --accent-soft: color-mix(in srgb, var(--accent) 22%, var(--card));
    --ok: #4ade80;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 36px rgba(0, 0, 0, .35);
    --header-bg: rgba(17, 19, 24, .88);
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--font); }
/* The footer sits at the bottom of the screen on short pages. */
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
main:has(> .nf) { display: flex; flex-direction: column; }
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(34px, 5.4vw, 58px); font-weight: 800; }
h2 { font-size: clamp(27px, 3.4vw, 40px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
/* No orphan words: headings balance their lines, text avoids a lone last word (plus &nbsp; from src/typo.py). */
h1, h2, h3, h4 { text-wrap: balance; }
p, li, blockquote, figcaption, summary { text-wrap: pretty; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; justify-content: center; margin-left: auto; margin-right: auto; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 720px; }
.center .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); font-size: 15px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--accent-text); margin-bottom: 14px; }
.ico { width: 22px; height: 22px; flex: none; }
.ico--sm { width: 18px; height: 18px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 60%, transparent); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid transparent; border-radius: 999px;
  padding: 11px 20px; font: 600 16px/1.2 var(--font); text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, border-color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent-fill); color: var(--accent-ink); }
.btn--primary:hover { background: color-mix(in srgb, var(--accent-fill) 85%, #000); }
/* Secondary button: outline in the page accent (mixed with the text color so it shows on light and dark). */
.btn--ghost { background: transparent; color: var(--ink); border-color: color-mix(in srgb, var(--accent) 75%, var(--ink)); }
.btn--ghost:hover { border-color: var(--accent-text); background: var(--accent-soft); }
.btn--lg { padding: 15px 26px; font-size: 17px; }
.btn--sm { padding: 8px 16px; font-size: 15px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); text-decoration: underline; cursor: pointer; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header__in { display: flex; align-items: center; gap: 16px; min-height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; margin-right: auto; }
.logo__home { display: inline-flex; align-items: center; gap: 9px; color: inherit; text-decoration: none; }
.logo__mark { width: 30px; height: 30px; }
.logo__name { font: 800 23px/1 var(--display); letter-spacing: -.03em; }
.logo__for { font-size: 14px; color: var(--muted); padding-left: 10px; border-left: 1px solid var(--line); line-height: 1.2; text-decoration: none; }
.logo__for:hover { color: var(--ink); text-decoration: underline; }
.site-nav { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 500; }
.site-nav a:not(.btn) { text-decoration: none; color: var(--muted); }
.site-nav a:not(.btn):hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--line); border-radius: 999px; padding: 7px 14px; font: 600 15px var(--font); color: var(--ink); }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 66px; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px 20px 20px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 10px 0; }
  .site-nav.is-open .btn { margin-top: 14px; }
  .logo__for { display: none; }
}

/* Hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.hero--store { padding-bottom: 32px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 15px; }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust .ico { color: var(--ok); }
@media (max-width: 920px) { .hero__grid { grid-template-columns: 1fr; } }

/* Hero mock: a browser with the website and a phone with the CRM board */
.hero__visual { position: relative; padding: 10px 40px 40px 0; }
.mock-browser { background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: var(--tint); border-bottom: 1px solid var(--line); }
.mock-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.mock-bar em { margin-left: 10px; font: 12px var(--font); color: var(--muted); font-style: normal; background: var(--card); padding: 2px 10px; border-radius: 999px; }
.mock-site { padding: 14px 16px 18px; }
.mock-nav { display: flex; align-items: center; gap: 10px; font: 700 13px var(--display); }
.mock-nav i { width: 34px; height: 6px; border-radius: 3px; background: var(--line); }
.mock-nav i:first-of-type { margin-left: auto; }
.mock-nav u, .mock-hero u { text-decoration: none; background: var(--accent-fill); color: var(--accent-ink); font: 600 11px var(--font); padding: 5px 10px; border-radius: 999px; }
.mock-hero { margin: 16px 0; padding: 20px; border-radius: 10px; background: var(--accent-soft); display: grid; gap: 8px; justify-items: start; }
.mock-hero strong { font: 800 19px/1.15 var(--display); max-width: 260px; }
.mock-hero i { width: 85%; height: 7px; border-radius: 4px; background: color-mix(in srgb, var(--accent) 25%, var(--card)); }
.mock-hero i.short { width: 55%; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-cards i { height: 46px; border-radius: 8px; background: var(--tint); border: 1px solid var(--line); }
.mock-phone { position: absolute; right: 0; bottom: 0; width: 46%; min-width: 210px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 12px; }
.mock-toast { display: flex; gap: 8px; align-items: center; background: var(--accent-fill); color: var(--accent-ink); border-radius: 12px; padding: 8px 10px; font-size: 12px; line-height: 1.3; }
.mock-toast b { display: block; font-size: 13px; }
.mock-board { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin-top: 10px; }
.mock-col { background: var(--tint); border-radius: 8px; padding: 7px; display: grid; gap: 5px; align-content: start; min-height: 64px; }
.mock-col b { font: 600 10.5px var(--font); color: var(--muted); }
.mock-col i { height: 16px; border-radius: 0; background: var(--card); border-left: 3px solid var(--accent); }
@media (max-width: 520px) { .hero__visual { padding-right: 20px; } .mock-phone { width: 62%; } }

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--tint { background: var(--tint); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 30px; }
.split__col { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.split__col h3 { display: flex; align-items: center; gap: 10px; font-size: 22px; }
.split__col h3 .ico { color: var(--accent-text); }
.feat, .ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.feat li { display: flex; gap: 12px; }
.feat .ico, .ticks .ico { color: var(--accent-text); margin-top: 3px; }
.feat b { display: block; }
.feat span { color: var(--muted); font-size: 15.5px; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.pipeline { list-style: none; padding: 0; margin: 28px 0 36px; display: flex; flex-wrap: wrap; gap: 10px; counter-reset: st; }
.pipeline li { counter-increment: st; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px 9px 9px; font-weight: 600; display: inline-flex; align-items: center; gap: 9px; }
.pipeline li::before { content: counter(st); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-fill); color: var(--accent-ink); font-size: 13px; }
.services__title { margin-top: 8px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--accent-soft); border-radius: 8px; padding: 6px 12px; font-size: 15px; }

.demo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.demo__card { position: relative; display: grid; gap: 6px; padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); text-decoration: none; }
.demo__card .ico { width: 30px; height: 30px; color: var(--accent-text); }
.demo__card b { font: 700 21px var(--display); }
.demo__card span { color: var(--muted); }
.demo__card[href]:hover { border-color: var(--accent-text); }
.demo__card[aria-disabled] { cursor: default; }
.soon { position: absolute; top: 18px; right: 18px; font-size: 13px !important; font-weight: 600; color: var(--muted); background: var(--tint); border-radius: 999px; padding: 3px 10px; }
@media (max-width: 680px) { .demo { grid-template-columns: 1fr; } }

.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.steps p { color: var(--muted); margin: 0; }
.steps__n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--bg); font: 800 17px var(--display); margin-bottom: 14px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
@media (max-width: 980px) and (min-width: 761px) { .prices { grid-template-columns: 1fr 1fr; } }
.price { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 28px; }
.price--popular { border-color: var(--accent-text); box-shadow: var(--shadow); }
.price .btn { margin-top: auto; }
/* The same row in every card lines up (name, text, price, setup, list, button), whatever the text length. */
@supports (grid-template-rows: subgrid) {
  .price { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; }
  .price .ticks { align-self: start; }
  .price .btn { align-self: end; }
}
.price .ticks { margin: 4px 0 24px; gap: 9px; font-size: 15.5px; }
.price .ticks li { display: flex; gap: 8px; }
.price__big { font: 800 44px/1 var(--display); margin: 8px 0 4px; }
.price__big span { font: 500 16px var(--font); color: var(--muted); }
.price-note { color: var(--muted); font-size: 14px; text-align: center; max-width: 72ch; margin: 18px auto 0; }
.price-note:empty { display: none; }
.price__alt { color: var(--muted); font-size: 15px; }
.badge { position: absolute; top: -13px; left: 24px; background: var(--accent-fill); color: var(--accent-ink); font-size: 13px; font-weight: 600; padding: 3px 12px; border-radius: 999px; }
.addons__title { margin-top: 44px; }
.addons { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 6vw, 72px); }
.addons li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.addons b { display: block; }
.addons span { color: var(--muted); font-size: 14.5px; }
.addons em { font-style: normal; font-weight: 600; white-space: nowrap; }
@media (max-width: 760px) { .prices, .addons { grid-template-columns: 1fr; } }

.faq { margin-top: 20px; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq__item summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--accent-text); }
.faq__item[open] summary::after { content: '–'; }
.faq__item p { color: var(--muted); margin: 0 0 18px; max-width: 700px; }

.cta-band { background: var(--ink); color: var(--bg); }
.cta-band__in { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band p { color: color-mix(in srgb, var(--bg) 70%, var(--ink)); margin: 0; }

/* Storefront industries */
.ind__group { margin: 34px 0 14px; }
.inds { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 44vw), 1fr)); gap: 12px; }
@media (max-width: 520px) { .ind { padding: 14px; } .ind span { font-size: 12px; word-break: break-all; } }
.ind { display: grid; gap: 2px; padding: 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: border-color .15s, transform .15s; }
.ind:hover { border-color: var(--accent-text); transform: translateY(-2px); }
.ind .ico { color: var(--accent-text); width: 28px; height: 28px; margin-bottom: 8px; }
.ind b { font: 700 18px var(--display); }
.ind span { color: var(--muted); font-size: 13.5px; }

/* Footer */
.site-footer { background: var(--tint); border-top: 1px solid var(--line); padding: 36px 0 24px; font-size: 15px; }
/* Logo and the one-line description side by side; on a phone the line goes under the logo. */
.site-footer__top { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; }
.site-footer .site-footer__top p { margin: 0; }
.site-footer__top .logo { margin-right: 0; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 28px; }
.site-footer h3, .site-footer__head { font-size: 15px; font-weight: 700; margin: 0 0 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 5px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.site-footer p { color: var(--muted); margin: 12px 0 0; }
.site-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 22px; color: var(--muted); font-size: 14px; }
@media (max-width: 600px) { .site-footer__bottom { flex-direction: column; } .site-footer__bottom > a { order: -1; } }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
/* Industry pages have only the brand column: let it use the full width. */
.site-footer__grid > :only-child { grid-column: 1 / -1; }

/* ---------------------------------------------------------------------------
   Checkout
   --------------------------------------------------------------------------- */
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; padding-top: 28px; padding-bottom: 80px; align-items: start; }
.checkout__main { min-width: 0; }
.progress { list-style: none; padding: 0; margin: 0 0 22px; display: flex; gap: 6px; flex-wrap: wrap; }
.progress li { flex: 1 1 0; min-width: 52px; font-size: 13px; color: var(--muted); }
.progress li::before { content: ''; display: block; height: 5px; border-radius: 3px; background: var(--line); margin-bottom: 6px; }
.progress li.is-done::before, .progress li.is-current::before { background: var(--accent); }
.progress li.is-current { color: var(--ink); font-weight: 600; }
.progress button { all: unset; cursor: pointer; }
.progress__label { display: none; margin: -12px 0 16px; font-size: 14px; font-weight: 600; }
@media (max-width: 640px) {
  .progress { flex-wrap: nowrap; gap: 4px; }
  .progress li { min-width: 0; }
  .progress li span { display: none; }
  .progress__label { display: block; }
}

.stepcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 34px); }
.stepcard h1 { font-size: clamp(26px, 3.6vw, 36px); }
.paybox { margin: 18px 0 8px; border-radius: 14px; overflow: hidden; min-height: 320px; }
.stepcard > .muted:first-of-type { margin-top: -6px; }
.q { margin: 26px 0 0; border: 0; padding: 0; }
.q legend, .q__label { font: 700 17px var(--display); margin-bottom: 10px; padding: 0; }
.q__hint { color: var(--muted); font-size: 14.5px; margin: -4px 0 10px; }
.opts { display: grid; gap: 10px; }
.opts--2 { grid-template-columns: 1fr 1fr; }
.opts--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) { .opts--2, .opts--3 { grid-template-columns: 1fr; } }
.opt { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; align-items: start; align-content: start; padding: 15px 16px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; background: var(--card); transition: border-color .12s, background .12s; }
.opt:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.opt input { margin: 4px 0 0; accent-color: var(--accent-text); width: 18px; height: 18px; }
.opt b { display: block; }
.opt span b { display: inline; }
.opt span { color: var(--muted); font-size: 14.5px; grid-column: 2 / 4; }
.opt em { font-style: normal; font-weight: 600; white-space: nowrap; }
.secure { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; color: var(--muted); }
.secure .ico { flex: none; width: 20px; height: 20px; color: var(--ok); }
.secure__stripe { font: 800 15px/1 var(--font); letter-spacing: -.02em; color: #635bff; }
@media (prefers-color-scheme: dark) { .secure__stripe { color: #a29bff; } }
.opt__list { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 4px; }
.opt__list li { position: relative; padding-left: 22px; }
.opt__list li::before { content: ""; position: absolute; left: 3px; top: .45em; width: 10px; height: 5px; border-left: 2px solid var(--accent-text); border-bottom: 2px solid var(--accent-text); transform: rotate(-45deg); }
.opt:has(input:checked) { border-color: var(--accent-text); background: var(--accent-soft); }
.opt.is-disabled { opacity: .5; cursor: not-allowed; }
.opt .tag { display: inline-block; margin-left: 6px; font-size: 12px; font-weight: 600; background: var(--accent-fill); color: var(--accent-ink); border-radius: 999px; padding: 1px 8px; vertical-align: 2px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { position: relative; }
.swatch input { position: absolute; opacity: 0; }
.swatch label { display: grid; place-items: center; gap: 4px; cursor: pointer; font-size: 13px; color: var(--muted); }
.swatch i { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--card); box-shadow: 0 0 0 1.5px var(--line); }
.swatch input:checked + label i { box-shadow: 0 0 0 2.5px var(--ink); }
.swatch input:focus-visible + label i { outline: 3px solid color-mix(in srgb, var(--accent) 60%, transparent); }

.field { display: grid; align-content: start; gap: 6px; margin-top: 16px; }
.field label { font-weight: 600; font-size: 15px; }
.field small { color: var(--muted); font-size: 13.5px; }
.field input, .field textarea, .field select { width: 100%; font: 16px var(--font); color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 13px; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent-text); }
.field .is-bad, .field [aria-invalid="true"] { border-color: var(--bad); }
.field__err { color: var(--bad); font-size: 14px; }
#submit-err { margin: 14px 0 0; }
.fields-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 640px) { .fields-2 { grid-template-columns: 1fr; } }
.addr { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg); overflow: hidden; }
.addr:focus-within { border-color: var(--accent-text); }
.addr input { border: 0 !important; background: transparent !important; }
.addr span { padding: 0 13px 0 0; color: var(--muted); white-space: nowrap; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; font-size: 15px; }
.check input { accent-color: var(--accent-text); }
.check:has(input:checked) { border-color: var(--accent-text); background: var(--accent-soft); }
.feature-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: start; margin-top: 10px; }
.feature-row textarea { width: 100%; min-height: 70px; resize: vertical; font: 16px var(--font); color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 13px; }
.feature-row textarea:focus { outline: none; border-color: var(--accent-text); }
.feature-row button { margin-top: 8px; }
.note { background: var(--tint); border-radius: 10px; padding: 12px 14px; font-size: 14.5px; color: var(--muted); margin-top: 14px; }
.notice { background: var(--accent-soft); border-radius: 12px; padding: 14px 16px; }

.stepnav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 30px; }
.stepnav .btn--primary { margin-left: auto; }
@media (max-width: 640px) {
  /* One line on a phone: the main button takes the room, a smaller font. */
  .stepnav .btn { white-space: nowrap; }
  .stepnav .btn--lg { flex: 1; padding: 14px 18px; font-size: 16px; }
}

.review { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.review li { display: grid; grid-template-columns: 140px 1fr auto; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.review b { font-size: 15px; color: var(--muted); font-weight: 600; }
.review button { font-size: 14px; }
@media (max-width: 640px) { .review { gap: 10px; } .review li { grid-template-columns: 1fr auto; gap: 2px 12px; padding-bottom: 10px; align-items: center; } .review li b { grid-column: 1 / 3; font-size: 14px; } }

.summary { position: sticky; top: 86px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.summary h2 { font-size: 21px; margin-bottom: 14px; }
.summary__lines { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; font-size: 15px; }
.summary__lines li { display: flex; justify-content: space-between; gap: 12px; }
.summary__lines small { display: block; color: var(--muted); font-size: 13px; }
.summary__total { border-top: 1px solid var(--line); padding-top: 12px; display: grid; gap: 4px; font-size: 15px; }
.summary__total div { display: flex; justify-content: space-between; }
.summary__total .big { font: 800 24px var(--display); margin-top: 6px; }
.summary__foot { color: var(--muted); font-size: 13.5px; margin: 14px 0 0; }
.summary__toggle { display: none; }
@media (max-width: 900px) {
  /* No footer on a phone while ordering; the form makes room for the price bar fixed at the bottom. */
  .checkout { grid-template-columns: 1fr; padding-bottom: calc(var(--summary-h, 150px) + 24px); }
  body:has(.checkout:not([hidden])) .site-footer { display: none; }
  .summary { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 40; border-radius: 16px 16px 0 0; padding: 12px 20px; box-shadow: 0 -8px 30px rgba(0, 0, 0, .12); max-height: 80vh; overflow: auto; }
  /* The details fold in and out smoothly (0fr ↔ 1fr), above and below the totals. */
  .summary__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
  .summary__more > div { overflow: hidden; min-height: 0; }
  .summary.is-open .summary__more { grid-template-rows: 1fr; }
  .summary { transition: box-shadow .28s; }
  .summary.is-open { box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .45); }
  /* A real button, easy to see: Show details ▴ / Hide details ▾. */
  .summary__toggle { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-top: 10px; padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--tint); color: var(--ink); font: 600 15px var(--font); cursor: pointer; }
  .summary__toggle:hover { border-color: var(--ink); }
  .summary__toggle svg { transition: transform .28s; }
  .summary.is-open .summary__toggle svg { transform: rotate(180deg); }
  .summary__total { border: 0; padding: 0; }
}
/* Order confirmed: one centred card, numbered next steps. */
.checkout--done { grid-template-columns: minmax(0, 640px); justify-content: center; padding-top: clamp(28px, 6vw, 64px); }
.done { text-align: center; padding: 8px 0 4px; }
.done .ico { display: block; box-sizing: content-box; width: 34px; height: 34px; padding: 15px; border-radius: 50%; color: var(--ok); background: color-mix(in srgb, var(--ok) 15%, transparent); margin: 0 auto 18px; }
.done h1 { margin: 0 0 10px; }
.done .lead { font-size: clamp(17px, 1.9vw, 19px); max-width: 44ch; margin: 0 auto 26px; }
.done .lead b { color: var(--ink); }
.done ol { list-style: none; counter-reset: next; text-align: left; margin: 0 0 22px; padding: 0; border: 1px solid var(--line); border-radius: 12px; }
.done ol li { counter-increment: next; position: relative; padding: 16px 18px 16px 60px; color: var(--muted); }
.done ol li + li { border-top: 1px solid var(--line); }
.done ol li::before { content: counter(next); position: absolute; left: 18px; top: 15px; width: 28px; height: 28px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 28%, transparent); color: var(--ink); font: 700 14px/28px var(--font); text-align: center; }
.done ol b { color: var(--ink); }
.done > .muted { font-size: 14.5px; margin: 0 auto 22px; max-width: 52ch; }
.done > .btn { min-width: 220px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Live domain check under the address field */
.dcheck { margin-top: 10px; font-size: 14.5px; min-height: 1px; }
.dcheck p { margin: 0 0 8px; display: flex; gap: 6px; align-items: flex-start; }
.dcheck__ok { color: var(--ok, #15803d); }
.dcheck__ok .ico { flex: none; margin-top: 2px; }
.dcheck__bad { color: var(--bad, #b91c1c); display: block !important; }
.dcheck__alts { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-size: 14px; padding: 6px 12px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink, inherit); cursor: pointer; }
.chip:hover, .chip:focus-visible { border-color: var(--accent-text); }
@media (prefers-color-scheme: dark) { .dcheck__ok { color: #4ade80; } .dcheck__bad { color: #f87171; } }

/* Founding offer: list price struck through next to the founding price */
.note--offer { background: var(--accent-soft); color: var(--ink); margin: 0 0 18px; }
.opt em s, .price__big s { color: var(--muted); font-weight: 400; margin-right: 4px; }
.price__big s { font-size: .55em; vertical-align: middle; }
.offer-band { background: var(--accent-soft); border-radius: 12px; padding: 12px 16px; margin-top: 18px; max-width: 760px; }

/* Breadcrumbs */
.crumbs { padding-top: clamp(20px, 3vw, 32px); font-size: 14px; color: var(--muted); }
/* The page under the trail starts closer, so the trail sits between the header and the title
   instead of clinging to the header above a big gap. */
.crumbs + section { padding-top: clamp(28px, 4.5vw, 52px); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: '›'; margin-right: 6px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }

/* CRM screenshots: two desktop shots and a phone */
/* See the website (industry pages): screenshots of the demo site, a link to it. */
.trysite { position: relative; display: block; margin-top: 26px; padding-bottom: 24px; }
.trysite__pc { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.trysite__phone { position: absolute; right: 4%; bottom: 0; width: 22%; height: auto; border: 6px solid #111; border-radius: 26px; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.trysite__go { margin: 22px 0 0; }
@media (max-width: 699px) {
  .trysite { padding: 0; }
  .trysite__pc { display: none; }
  .trysite__phone { position: static; display: block; width: 72%; margin: 0 auto; }
}
.shots { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr); gap: 22px; margin-top: 26px; align-items: start; }
.shot--phone { grid-column: 2; grid-row: 1 / span 2; max-width: 320px; justify-self: center; }
.shot { margin: 0; }
.shot a { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); }
.shot img { display: block; width: 100%; height: auto; }
.shot--phone a { border-radius: 22px; border-width: 6px; border-color: var(--ink); }
.shot figcaption { margin-top: 10px; font-size: 14.5px; color: var(--muted); }
.shot a { cursor: zoom-in; }
/* Screenshot preview (src/assets/site.js) */
.lightbox { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 10, 14, .97); color: #fff; overflow: hidden; }
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; }
.lb-stage { display: grid; place-items: center; padding: 56px 72px 8px; min-height: 0; }
.lb-img { max-width: 100%; max-height: calc(100dvh - 150px); border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); object-fit: contain; background: #fff; }
.lightbox.is-phone .lb-img { border-radius: 22px; border: 6px solid #111; }
.lb-bar { display: flex; gap: 16px; align-items: baseline; justify-content: center; padding: 12px 20px 20px; text-align: center; }
.lb-cap { margin: 0; font-size: 16px; max-width: 760px; }
.lb-count { font-size: 13px; opacity: .65; white-space: nowrap; }
.lb-btn, .lb-close { position: absolute; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; display: grid; place-items: center; font: 400 34px/1 system-ui, sans-serif; border-radius: 50%; }
.lb-btn { top: 50%; width: 52px; height: 52px; transform: translateY(-50%); }
.lb-btn:hover, .lb-close:hover { background: rgba(255, 255, 255, .24); }
.lb-prev { left: 14px; } .lb-next { right: 14px; }
.lb-close { top: 12px; right: 12px; width: 44px; height: 44px; font-size: 30px; }
html.lb-open { overflow: hidden; }
@media (max-width: 600px) {
  .lb-stage { padding: 60px 10px 4px; }
  .lb-img { max-height: calc(100dvh - 190px); }
  .lb-btn { top: auto; bottom: 16px; transform: none; width: 44px; height: 44px; }
  .lb-bar { padding: 10px 64px 22px; flex-direction: column; align-items: center; gap: 4px; }
  .lb-cap { font-size: 14.5px; }
}
@media (max-width: 900px) { .shots { grid-template-columns: 1fr; } .shot--phone { grid-column: auto; grid-row: auto; max-width: 260px; } }
@media (max-width: 600px) { .shots { grid-template-columns: 1fr; } .shot--phone { max-width: 240px; margin: 0 auto; } }

/* Related industries, "not on the list", legal pages */
.related { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 18px 0 0; }
.related a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }
.related a .ico { color: var(--accent-text); }
.related a:hover { border-color: var(--accent-text); }
.prose h2 { font-size: 22px; margin: 32px 0 12px; }
.prose p { line-height: 1.65; }
.muted { color: var(--muted); }

/* Headings get focus on a step change for screen readers; no ring needed there. */
[tabindex="-1"]:focus { outline: none; }
.note__list { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 4px; }
.feat--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; margin-top: 22px; }
@media (max-width: 760px) { .feat--2 { grid-template-columns: 1fr; } }
.seo__demo { margin: 22px 0 0; font-weight: 600; }
.seo__demo a { color: var(--accent-text); display: inline-flex; gap: 6px; align-items: center; }

/* 404 */
.nf { flex: 1; display: grid; place-items: center; position: relative; overflow: hidden; padding: clamp(56px, 9vw, 112px) 0; }
.nf::before { content: ''; position: absolute; left: 50%; top: 42%; width: min(760px, 140vw); aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 20%, transparent), transparent 62%); pointer-events: none; }
.nf .wrap { position: relative; }
.nf__code { font: 800 clamp(112px, 22vw, 210px)/.9 var(--display); letter-spacing: -.06em; margin: 0 0 22px;
  background: linear-gradient(180deg, var(--accent) 20%, color-mix(in srgb, var(--accent) 25%, var(--bg))); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf h1 { font-size: clamp(30px, 4.2vw, 46px); }
.nf__tiles { list-style: none; padding: 0; margin: 36px auto 0; max-width: 980px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; text-align: left; }
.nf__tile { display: grid; gap: 4px; height: 100%; padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  text-decoration: none; transition: transform .15s, border-color .15s; }
.nf__tile:hover { transform: translateY(-2px); border-color: var(--accent-text); }
.nf__tile .ico { width: 40px; height: 40px; padding: 9px; margin-bottom: 10px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); }
.nf__tile b { font-size: 17px; }
.nf__tile span { color: var(--muted); font-size: 15px; line-height: 1.45; }
.nf__home { margin: 28px 0 0; color: var(--muted); }
@media (max-width: 860px) { .nf__tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .nf__tiles { gap: 10px; margin-top: 28px; } .nf__tile { padding: 16px; } .nf__tile .ico { width: 36px; height: 36px; padding: 8px; margin-bottom: 6px; } }
@media (max-width: 340px) { .nf__tiles { grid-template-columns: 1fr; } }

/* Before launch: the package page is a waitlist (build.py checkout_page). */
.launch { display: grid; justify-content: center; padding-block: clamp(32px, 6vw, 64px); }
/* Hidden until ?preview=1: its own display: grid must not show it. */
.checkout[hidden], .launch[hidden] { display: none; }
.launch__card { max-width: 560px; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 5vw, 44px); box-shadow: var(--shadow); }
.launch__ico { display: grid; margin-inline: auto; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--accent-soft); color: var(--accent-text); margin-bottom: 14px; }
.launch__ico .ico { width: 28px; height: 28px; }
.launch h1 { font-size: clamp(28px, 4vw, 38px); margin: 6px 0 18px; }
.launch .lead { margin: 0 auto 22px; }
.launch__note { color: var(--muted); font-size: 14px; margin: 14px 0 0; }
.launch__back { color: var(--muted); font-size: 15px; }
.waitlist__row { display: flex; gap: 8px; flex-wrap: wrap; }
.waitlist__row input { flex: 1 1 220px; min-width: 0; font: 16px var(--font); color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 999px; padding: 12px 18px; }
.waitlist__row input:focus { outline: none; border-color: var(--accent-text); }
.waitlist__row .btn { flex: 0 0 auto; }
.waitlist .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.waitlist__msg { margin: 10px 0 0; font-size: 15px; min-height: 1em; }
.waitlist__msg:empty { display: none; }
.waitlist__msg.is-ok { color: var(--ok); font-weight: 600; }
.waitlist__msg.is-bad { color: var(--bad); }
.waitlist.is-done .waitlist__row, .waitlist.is-done .field, .waitlist.is-done > .btn { display: none; }
@media (max-width: 480px) { .waitlist__row .btn { width: 100%; } }

/* Storefront: "Didn't find your trade?" */
.missing__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); }
.missing__text h2 { margin: 6px 0 18px; }
.missing__text .lead { margin: 0; }
.missing__form .field:first-child { margin-top: 0; }
.missing__form > .btn { width: 100%; margin-top: 18px; }
@media (max-width: 860px) { .missing__in { grid-template-columns: 1fr; } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.section.missing { padding-top: 0; }
/* Hints inside fields: as readable as other secondary text. */
::placeholder { color: var(--muted); opacity: 1; }

/* Help: tozulo.com/help/ (build.py help_page) */
.help__in { display: grid; gap: 40px; }
.help__toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.help__toc a { display: block; padding: 6px 10px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: 15px; }
.help__toc a:hover { background: var(--tint); color: var(--ink); }
.help__toc a.is-on { color: var(--ink); background: var(--accent-soft); font-weight: 600; }
.help__toc-h { font-weight: 600; margin: 0 0 8px; padding: 0 10px; }
.help__body { min-width: 0; }
.help__sec { padding-top: 36px; margin-top: 36px; border-top: 1px solid var(--line); scroll-margin-top: 84px; }
.help__sec h2 { margin-top: 0; }
.help__sec ul { padding-left: 1.2em; line-height: 1.65; }
.help__sec li + li { margin-top: 6px; }
.help-dns { border-collapse: collapse; margin: 10px 0; font-size: 15px; }
.help-dns th, .help-dns td { text-align: left; padding: 6px 14px 6px 0; border-bottom: 1px solid var(--line); }
.help-dns th { font-size: 13px; color: var(--muted); font-weight: 600; }
.help__link { margin-left: 10px; color: var(--line); text-decoration: none; font-weight: 400; opacity: 0; }
.help__sec h2:hover .help__link, .help__link:focus { opacity: 1; color: var(--muted); }
.help__shot { margin: 22px 0 0; }
.help__shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); background: var(--card); }
.help__sec--side .help__shot { max-width: 340px; }
@media (min-width: 1000px) {
  .help__in { grid-template-columns: 230px minmax(0, 1fr); gap: 0 56px; align-items: start; }
  .help__head { grid-column: 2; grid-row: 1; }
  .help__body { grid-column: 2; grid-row: 2; }
  .help__toc { grid-column: 1; grid-row: 1 / span 2; position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow: auto; }
  .help__sec--side { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; }
  .help__sec--side .help__shot { margin: 0; }
}
@media (max-width: 999px) {
  .help__toc { border: 1px solid var(--line); border-radius: 12px; padding: 14px 6px; background: var(--card); }
  .help__toc ol { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
  .help__in { gap: 28px; }
  .help__body > .help__sec:first-child { margin-top: 8px; padding-top: 0; border-top: 0; }
}

/* "Build it for me": the rules agreed before payment (checkout.js buildRules). */
.rules { max-width: 520px; width: calc(100% - 32px); padding: 26px 26px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); color: var(--ink); }
.rules::backdrop { background: rgb(0 0 0 / .55); }
.rules h2 { margin: 0 0 12px; font-size: 22px; }
.rules__list { margin: 0 0 16px; padding-left: 20px; display: grid; gap: 8px; font-size: 15px; line-height: 1.5; }
.rules__ok { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; cursor: pointer; }
.rules__ok input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--accent-text); }
.rules__btns { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.rules__btns .btn:disabled { opacity: .45; cursor: not-allowed; }

/* Help: the domain endings dialog (build.py help_page). */
.endings { max-width: 640px; }
.endings__list { list-style: none; margin: 6px 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.endings__list li { padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; }
.endings__list li[hidden] { display: none; }
.endings__list--pop li { border-color: var(--accent-text); }
.endings__list--all { max-height: 40vh; overflow: auto; }
.endings__find { width: 100%; font: inherit; padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); }
.endings .muted { margin: 0 0 4px; font-size: 14px; }
.help .linkbtn { color: var(--accent-text); }
