/* DollarSite marketing — warm paper, ink outlines, tomato accent. No frameworks. */
/* [seo-fix] Self-hosted fonts (were fonts.googleapis.com): DM Sans and Fraunces, latin subset, variable woff2 from
   fonts.gstatic.com, SIL OFL 1.1 (fonts/OFL-*.txt). Fraunces keeps its opsz, wght, SOFT and WONK axes (h1-h4 and
   .hero h1 em use them). ?v= is the first 10 hex of the file's sha256 (tests/test_seo_fix.py checks it; base.html
   preloads the same address): change the file, change the ?v=. Weight ranges as Google declared them. */
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/dm-sans-latin.woff2?v=aa530716b0") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; font-style: italic; font-weight: 400 700; font-display: swap;
  src: url("fonts/dm-sans-italic-latin.woff2?v=06596e9317") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url("fonts/fraunces-latin.woff2?v=94bb7e04bb") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 500 700; font-display: swap;
  src: url("fonts/fraunces-italic-latin.woff2?v=f6cb5ecfce") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --cream: #FBF5EA;
  --paper: #FFFDF8;
  --ink: #1D2826;
  --ink-2: #4A5653;
  --ink-3: #66716D;        /* [fix-1106] was #6E7874 (4.21:1 on cream); now 4.7:1, the portal's muted gray */
  --line: #E6DCC9;
  --line-2: #D6C9B0;
  --tomato: #BF4519;        /* AA on white for text + buttons */
  --tomato-hi: #EC6A3C;     /* decorative only */
  --tomato-soft: #FBE3D7;
  --sage: #2F6B52;
  --sage-soft: #DDEBDF;
  --butter: #F4C95D;
  --butter-soft: #FCF0CC;
  --sky: #CFE3EA;
  --sky-ink: #1E5367;
  --plum-soft: #EBDDF0;
  --plum: #6B3F7A;
  /* [ui-themes] Every color the marketing stylesheets use is a token on this :root (these values are the classic
     look). A theme (static/themes/<name>.css + _map.css) redefines all of them. New styles use these tokens, never a
     literal color: tests/test_ui_themes.py fails otherwise. docs/OPERATIONS.md section 74. */
  --tomato-hover: #A93B13;
  --tomato-ink: #7A2A0C;
  --paper-warm: #FFFBF3;
  --cream-2: #F7F1E6;
  --cream-deep: #EFE7D8;
  --on-ink: #F4EFE6;
  --on-ink-2: #C6CEC9;
  --on-ink-3: #CBD2CE;
  --sage-bright: #3DAA6D;
  --sage-ink: #1B4634;
  --butter-edge: #EEDDA8;
  --butter-edge-2: #C9A227;
  --warn-ink: #8A5A00;
  --tile-neutral: #E9E6DF;
  --price-strike: #B23A1A;
  --code-text: #F3E9D2;
  --code-comment: #9FB3A8;
  --code-inline-bg: #F1E9DA;
  --footer-text: #C8D0CB;
  --footer-link: #E9E3D8;
  --footer-muted: #8C9993;
  --footer-rule: #34413E;
  --dot-red: #E5866A;
  --dot-yellow: #EBC362;
  --dot-green: #7DBF8D;
  /* the same colors as r, g, b for rgba(var(--x-rgb), alpha) */
  --ink-rgb: 29, 40, 38;
  --cream-rgb: 251, 245, 234;
  --butter-rgb: 244, 201, 93;
  --sage-rgb: 47, 107, 82;
  --tomato-rgb: 191, 69, 25;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 4px 4px 0 var(--ink);
  --shadow-sm: 2px 2px 0 var(--ink);
  --shadow-hover: 3px 3px 0 var(--ink);
  --shadow-md: 5px 5px 0 var(--ink);
  --shadow-md-2: 6px 6px 0 var(--ink);
  --shadow-lg: 8px 8px 0 var(--ink);
  --shadow-on-ink: 2px 2px 0 var(--paper);
  --outline: var(--ink);            /* the ink outline of cards, buttons and frames */
  --shadow-soft: 0 1px 2px rgba(var(--ink-rgb), .06), 0 8px 24px rgba(var(--ink-rgb), .08);
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 17px/1.6 var(--font-body); -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--tomato); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12;
  letter-spacing: -.015em; margin: 0 0 .5em; font-variation-settings: "SOFT" 50, "opsz" 72; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 46ch; }
.muted { color: var(--ink-3); }
.small { font-size: .9rem; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--tomato-hi); outline-offset: 2px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-sage { background: var(--sage-soft); }
.section-ink { background: var(--ink); color: var(--on-ink); }
.section-ink .lead, .section-ink .muted { color: var(--on-ink-2); }
.section-ink a:not(.btn) { color: var(--butter); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; }

.icon { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- eyebrow / pills ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600;
  letter-spacing: .02em; padding: 6px 12px; border-radius: 999px; background: var(--butter-soft);
  border: 1.5px solid var(--outline); color: var(--ink); margin-bottom: 20px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 3px rgba(var(--sage-rgb), .2); }
.kicker { font: 600 .82rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--tomato); margin-bottom: 14px; display: block; }
.section-ink .kicker { color: var(--butter); }

/* ---------- buttons ---------- */
.btn { --bg: var(--paper); --fg: var(--ink); display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; padding: 12px 20px; border-radius: 12px; border: 2px solid var(--outline); background: var(--bg);
  color: var(--fg); font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  box-shadow: var(--shadow-sm); transition: transform .12s ease, box-shadow .12s ease, background .12s; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: var(--shadow-hover); color: var(--fg); }
.btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--ink); }
.btn-primary { --bg: var(--tomato); --fg: #fff; }
.btn-primary:hover { --bg: var(--tomato-hover); }
.btn-dark { --bg: var(--ink); --fg: #fff; }
.btn-ghost { --bg: transparent; box-shadow: none; border-color: transparent; text-decoration: underline; text-underline-offset: 4px; }
.btn-ghost:hover { box-shadow: none; transform: none; color: var(--tomato); }
.btn-lg { padding: 16px 26px; font-size: 1.08rem; border-radius: 14px; }
.btn-block { width: 100%; }
.section-ink .btn { border-color: var(--paper); box-shadow: var(--shadow-on-ink); }
.section-ink .btn-ghost { color: #fff; box-shadow: none; border-color: transparent; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(var(--cream-rgb), .92);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink);
  font: 700 1.3rem/1 var(--font-display); letter-spacing: -.02em; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 36px; height: 36px; }
.logo b { color: var(--tomato); font-weight: 700; }
.nav { display: flex; gap: 4px; margin-right: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; padding: 8px 12px; border-radius: 10px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: rgba(var(--ink-rgb), .06); }
.header-cta { display: flex; gap: 8px; align-items: center; }
.header-cta .btn { padding: 9px 16px; }
.mnav { display: none; margin-left: auto; }
.mnav summary { list-style: none; cursor: pointer; padding: 8px; border: 2px solid var(--outline); border-radius: 10px; background: var(--paper); }
.mnav summary::-webkit-details-marker { display: none; }
.mnav-panel { position: absolute; left: 0; right: 0; top: 70px; background: var(--paper); border-bottom: 2px solid var(--outline);
  padding: 12px 24px 24px; display: grid; gap: 4px; box-shadow: var(--shadow-soft); }
.mnav-panel a { padding: 12px 4px; color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.mnav-panel .btn { margin-top: 12px; border-bottom: 2px solid var(--outline); }

/* ---------- hero ---------- */
.hero { padding: 64px 0 80px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: auto -10% -40% auto; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(closest-side, rgba(var(--butter-rgb), .38), transparent); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 56px; align-items: start; position: relative; }
.hero h1 em { font-style: italic; color: var(--tomato); font-variation-settings: "SOFT" 100, "WONK" 1; }
.hero .lead { margin-bottom: 28px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 22px; font-size: .92rem; color: var(--ink-2); }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note .icon { width: 18px; height: 18px; color: var(--sage); stroke-width: 2.4; }
.price-chip { display: inline-flex; align-items: baseline; gap: 4px; font-weight: 600; }
.price-chip strong { font: 700 1.25rem/1 var(--font-display); color: var(--tomato); }

/* ---------- the chat-to-website demo ---------- */
.demo { position: relative; display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 0; border: 2px solid var(--outline);
  border-radius: 22px; background: var(--paper); box-shadow: var(--shadow-lg); overflow: hidden; height: 500px; }
.demo-chat { display: flex; flex-direction: column; border-right: 2px solid var(--outline); background: var(--paper-warm); min-width: 0; min-height: 0; }
.demo-chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1.5px solid var(--line); }
.demo-chat-head .robot { width: 34px; height: 34px; }
.demo-chat-head b { font-size: .92rem; display: block; line-height: 1.2; }
.demo-chat-head small { color: var(--sage); font-size: .75rem; display: flex; align-items: center; gap: 5px; }
.demo-chat-head small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sage-bright); }
.demo-msgs { flex: 1; min-height: 0; padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; justify-content: flex-end;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 48px); mask-image: linear-gradient(to bottom, transparent 0, #000 48px); }
.demo-msgs > * { flex-shrink: 0; }
.msg { max-width: 92%; padding: 9px 12px; border-radius: 14px; font-size: .84rem; line-height: 1.4;
  animation: pop .32s cubic-bezier(.2, .9, .3, 1.3) both; }
.msg-you { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.msg-bot { align-self: flex-start; background: var(--butter-soft); border: 1.5px solid var(--butter-edge); border-bottom-left-radius: 4px; }
.msg-typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.msg-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); animation: blink 1s infinite; }
.msg-typing i:nth-child(2) { animation-delay: .15s; } .msg-typing i:nth-child(3) { animation-delay: .3s; }
.steps { list-style: none; margin: 2px 0 0; padding: 10px 12px; background: #fff; border: 1.5px dashed var(--line-2); border-radius: 12px; font-size: .78rem; align-self: stretch; }
.steps li { display: flex; align-items: center; gap: 8px; padding: 2px 0; color: var(--ink-2); animation: pop .3s both; }
.steps li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--tomato); animation: spin .7s linear infinite; flex: none; }
.steps li.done::before { border-color: var(--sage); background: var(--sage); animation: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2l2 2 4-4.4' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.steps li.done { color: var(--ink); }
.demo-input { display: flex; align-items: center; gap: 8px; margin: 10px; padding: 8px 8px 8px 12px; border: 1.5px solid var(--line-2);
  border-radius: 12px; background: #fff; font-size: .82rem; color: var(--ink-3); min-height: 42px; }
.demo-input span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-input span.typing { color: var(--ink); }
.demo-input span.typing::after { content: "|"; animation: blink 1s steps(1) infinite; margin-left: 1px; color: var(--tomato); }
.demo-send { width: 28px; height: 28px; border-radius: 8px; background: var(--tomato); color: #fff; display: grid; place-items: center; }
.demo-send .icon { width: 16px; height: 16px; stroke-width: 2.4; }

.demo-browser { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: var(--cream-deep); }
.browser-bar { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1.5px solid var(--line-2); background: var(--cream-2); }
.browser-dots { display: flex; gap: 5px; }
.browser-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--dot-red); }
.browser-dots i:nth-child(2) { background: var(--dot-yellow); } .browser-dots i:nth-child(3) { background: var(--dot-green); }
.browser-url { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; font-size: .74rem; color: var(--ink-2);
  background: #fff; border-radius: 8px; padding: 5px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser-url .icon { width: 12px; height: 12px; color: var(--sage); stroke-width: 2.4; }
.viewport { flex: 1; min-height: 0; position: relative; overflow: hidden; }

/* mini site used by demo, examples and industry previews */
.mini { --x-bg: #fff; --x-fg: #222; --x-ac: #c45; height: 100%; background: var(--x-bg); color: var(--x-fg);
  font-family: var(--font-body); transition: background .8s ease, color .8s ease; display: flex; flex-direction: column; }
.mini.serif .mini-h, .mini.serif .mini-logo { font-family: var(--font-display); }
.mini-bar { background: var(--x-ac); color: #fff; font-size: .68rem; text-align: center; padding: 5px 8px; font-weight: 600; transition: background .8s; }
.mini-nav { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; font-size: .68rem; gap: 8px; }
.mini-logo { font-weight: 700; font-size: .9rem; white-space: nowrap; }
.mini-nav ul { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; opacity: .75; }
.mini-nav ul { min-width: 0; overflow: hidden; flex-wrap: wrap; justify-content: flex-end; row-gap: 0; max-height: 1.35em; line-height: 1.35em; }
.mini-nav li { white-space: nowrap; }  /* [fix-1106 M9] a label that does not fit wraps out of sight, never cut mid-word */
.mini-hero { padding: 18px 14px 16px; position: relative; }
.mini-h { font-size: 1.35rem; line-height: 1.1; font-weight: 600; margin: 0 0 6px; letter-spacing: -.01em; }
.mini-sub { font-size: .72rem; opacity: .75; margin: 0 0 10px; }
.mini-btn { display: inline-block; background: var(--x-ac); color: #fff; font-size: .7rem; font-weight: 700; padding: 7px 12px; border-radius: 8px; transition: background .8s; }
.mini-phone { display: inline-block; margin-left: 8px; font-weight: 800; font-size: .72rem; color: var(--x-ac); transition: font-size .6s; }
.mini-phone.big { font-size: 1.05rem; }
.mini-art { position: absolute; right: 14px; top: 16px; width: 64px; height: 64px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, color-mix(in srgb, var(--x-ac) 55%, white), var(--x-ac)); opacity: .9; transition: background .8s; }
.mini-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 4px 14px 10px; }
.mini-card { background: color-mix(in srgb, var(--x-fg) 6%, transparent); border-radius: 8px; padding: 8px; font-size: .64rem; line-height: 1.3; }
.mini-card b { display: block; font-size: .68rem; }
.mini-card span { opacity: .7; }
.mini-card::before { content: ""; display: block; height: 30px; border-radius: 5px; margin-bottom: 6px;
  background: color-mix(in srgb, var(--x-ac) 28%, var(--x-bg)); transition: background .8s; }
.mini-app { margin: 4px 14px 8px; display: flex; align-items: center; gap: 8px; font-size: .68rem; padding: 8px 10px; border-radius: 9px;
  border: 1.5px solid color-mix(in srgb, var(--x-fg) 18%, transparent); background: color-mix(in srgb, var(--x-bg) 80%, white); }
.mini-app .icon { width: 15px; height: 15px; color: var(--x-ac); }
.mini-sections { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 14px 14px; }
.mini-sections span { font-size: .64rem; padding: 4px 8px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--x-fg) 25%, transparent); }
.reveal { opacity: 0; transform: translateY(8px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .45s ease, transform .45s ease; }
.skeleton { position: absolute; inset: 0; padding: 18px; display: grid; gap: 10px; align-content: start; background: #fff; transition: opacity .4s; }
.skeleton i { display: block; height: 14px; border-radius: 6px; background: linear-gradient(90deg, #eee 0%, #f7f7f7 50%, #eee 100%); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
.skeleton i:nth-child(1) { width: 40%; } .skeleton i:nth-child(2) { width: 80%; height: 28px; } .skeleton i:nth-child(3) { width: 60%; }
.skeleton i:nth-child(4) { height: 70px; } .skeleton i:nth-child(5) { width: 70%; }
.demo-caption { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 18px; }
.demo-caption::before { content: "See it build:"; font-size: .85rem; color: var(--ink-2); margin-right: 4px; }
.demo-caption button { min-height: 44px; padding: 0 16px; border: 1.5px solid var(--outline); border-radius: 999px; background: var(--paper);
  color: var(--ink); font: 600 .9rem/1 var(--font-body); cursor: pointer; transition: background .15s, color .15s, transform .15s; }
.demo-caption button:hover { background: var(--cream, #FFF1DC); transform: translateY(-1px); }
.demo-caption button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.demo-caption button:focus-visible { outline: 3px solid var(--tomato); outline-offset: 2px; }

@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes eyeblink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.robot .eye { transform-origin: center; transform-box: fill-box; animation: eyeblink 4.5s infinite; }
.robot-bob { animation: bob 3.5s ease-in-out infinite; }

/* ---------- trust strip ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.trust ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; list-style: none; margin: 0; padding: 18px 24px; }
.trust li { display: flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink-2); font-size: .95rem; }
.trust .icon { color: var(--tomato); }

/* ---------- steps ---------- */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: how; }
.how-step { background: var(--paper); border: 2px solid var(--outline); border-radius: var(--radius); padding: 28px; position: relative; box-shadow: var(--shadow); }
.how-step::before { counter-increment: how; content: counter(how); position: absolute; top: -18px; left: 22px; width: 38px; height: 38px;
  border-radius: 50%; background: var(--butter); border: 2px solid var(--outline); display: grid; place-items: center; font: 700 1.1rem/1 var(--font-display); }
.how-step h3 { margin-top: 10px; }
.how-step p { color: var(--ink-2); margin: 0; }
.bubble-eg { margin-top: 18px; display: inline-block; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 14px 14px 4px 14px; font-size: .88rem; }
.bubble-eg.bot { background: var(--butter-soft); color: var(--ink); border: 1.5px solid var(--butter-edge); border-radius: 14px 14px 14px 4px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--paper);
  border: 1.5px solid var(--line-2); font-size: .95rem; color: var(--ink); text-decoration: none; }
a.chip:hover { border-color: var(--ink); background: #fff; color: var(--ink); }
.chip .icon { width: 18px; height: 18px; color: var(--tomato); }
.chip-say::before { content: "“"; font: 700 1.3rem/0 var(--font-display); color: var(--tomato); }
.chip-say::after { content: "”"; font: 700 1.3rem/0 var(--font-display); color: var(--tomato); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

/* ---------- cards / apps ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--paper); border: 1.5px solid var(--line-2); border-radius: var(--radius); padding: 24px; }
.card-ink { border: 2px solid var(--outline); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--ink-2); margin: 0; }
.app-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line-2); border-radius: var(--radius); padding: 22px; transition: transform .15s, box-shadow .15s, border-color .15s; }
.app-card:hover { color: var(--ink); border-color: var(--ink); transform: translate(-2px, -2px); box-shadow: var(--shadow); }
.app-card h3 { font-size: 1.12rem; margin: 4px 0 0; }
.app-card p { color: var(--ink-2); font-size: .95rem; margin: 0; }
.app-card .more { margin-top: auto; font-size: .88rem; font-weight: 600; color: var(--tomato); display: inline-flex; gap: 6px; align-items: center; }
.app-card .more .icon { width: 16px; height: 16px; }
.tile { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; border: 1.5px solid var(--outline); background: var(--tomato-soft); color: var(--tomato); }
.tile .icon { width: 24px; height: 24px; }
.cat-bookings .tile, .tile.cat-bookings { background: var(--tomato-soft); color: var(--tomato); }
.cat-food-drink .tile, .tile.cat-food-drink { background: var(--butter-soft); color: var(--warn-ink); }
.cat-marketing .tile, .tile.cat-marketing { background: var(--sage-soft); color: var(--sage); }
.cat-sales .tile, .tile.cat-sales { background: var(--sky); color: var(--sky-ink); }
.cat-engagement .tile, .tile.cat-engagement { background: var(--plum-soft); color: var(--plum); }
.cat-built-in .tile, .tile.cat-built-in { background: var(--tile-neutral); color: var(--ink); }
.tag { display: inline-block; font-size: .74rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.app-group + .app-group { margin-top: 56px; }
.app-group h2 { font-size: 1.6rem; display: flex; align-items: center; gap: 12px; }
.app-group h2::after { content: ""; flex: 1; height: 1.5px; background: var(--line-2); }

.highlight { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ---------- industries strip ---------- */
.ind-strip { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.ind-strip .chip { padding: 10px 16px; font-weight: 500; }
.ind-card { display: flex; gap: 16px; align-items: flex-start; text-decoration: none; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line-2); border-radius: var(--radius); padding: 20px; transition: transform .15s, box-shadow .15s, border-color .15s; }
.ind-card:hover { color: var(--ink); border-color: var(--ink); transform: translate(-2px, -2px); box-shadow: var(--shadow); }
.ind-card h3 { font-size: 1.1rem; margin: 0 0 4px; }
.ind-card p { font-size: .92rem; color: var(--ink-2); margin: 0; }
.ind-strip .chip-all { background: var(--ink); color: #fff; border-color: var(--ink); }
.ind-strip .chip-all .icon { color: var(--butter); }
.ind-strip a.chip-all:hover { background: var(--ink-2); color: #fff; }
.ind-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.ind-group { margin-top: 40px; scroll-margin-top: 96px; }
.ind-group-h { font-size: 1.35rem; margin: 0 0 16px; }
.ind-card .tile { flex: none; }

/* ---------- receipt (tool stack) ---------- */
.receipt-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.receipt { background: #fff; color: var(--ink); padding: 28px 28px 34px; font: 500 .95rem/1.5 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  border-radius: 6px 6px 0 0; position: relative; box-shadow: var(--shadow-soft); transform: rotate(-1.2deg); max-width: 460px; }
.receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -12px; height: 12px;
  background: radial-gradient(circle at 8px -2px, transparent 9px, #fff 9.5px) 0 0 / 16px 12px repeat-x; }
.receipt h3 { font: 700 .9rem/1 ui-monospace, Menlo, monospace; text-align: center; letter-spacing: .2em; margin: 0 0 4px; }
.receipt .sub { text-align: center; font-size: .78rem; color: var(--ink-3); margin-bottom: 16px; }
.receipt ul { list-style: none; margin: 0; padding: 0; border-top: 1.5px dashed #bbb; border-bottom: 1.5px dashed #bbb; }
.receipt li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; }
.receipt li span:first-child { overflow: hidden; text-overflow: ellipsis; }
.receipt .total { display: flex; justify-content: space-between; font-weight: 800; padding-top: 12px; font-size: 1.05rem; }
.receipt .total s { color: var(--price-strike); text-decoration-thickness: 2px; }
/* [fix-1106 M10] the stamp sits under the total (it covered the last lines and the total) */
.stamp { position: relative; display: block; width: max-content; margin: 20px 4px -8px auto; transform: rotate(-8deg); border: 3px solid var(--sage); color: var(--sage); background: rgba(255,255,255,.85);
  border-radius: 12px; padding: 8px 14px; font: 800 1.05rem/1.1 var(--font-body); text-transform: uppercase; letter-spacing: .04em; text-align: center; }
.stamp b { display: block; font: 700 1.9rem/1 var(--font-display); text-transform: none; letter-spacing: -.02em; }
.stamp b small { font: 700 .8rem/1 var(--font-body); letter-spacing: .02em; margin-left: 3px; }
.section-ink .receipt { color: var(--ink); }

/* ---------- pricing ---------- */
.price-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 860px; margin: 0 auto; }
.price-card { background: var(--paper); border: 2px solid var(--outline); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); position: relative; color: var(--ink); }
.price-card.feature { background: var(--butter-soft); }
.price-card .ribbon { position: absolute; top: -14px; right: 22px; background: var(--tomato); color: #fff; font-size: .8rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; border: 2px solid var(--outline); }
.price-card h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--ink-2); margin: 0; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 10px 0 6px; }
.price strong { font: 700 4rem/1 var(--font-display); letter-spacing: -.03em; }
.price span { color: var(--ink-2); }
.checklist { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .icon { color: var(--sage); stroke-width: 2.6; width: 20px; height: 20px; margin-top: 3px; }
.checklist.cols { grid-template-columns: repeat(3, 1fr); gap: 12px 24px; }
.included { margin-top: 48px; }

.calc { background: var(--paper); border: 2px solid var(--outline); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); max-width: 860px; margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.calc label { font-weight: 600; display: block; margin-bottom: 14px; }
.calc-count { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.calc-count button { width: 44px; height: 44px; border-radius: 12px; border: 2px solid var(--outline); background: #fff; font: 700 1.3rem/1 var(--font-body); cursor: pointer; box-shadow: var(--shadow-sm); color: var(--ink); }
.calc-count output { font: 700 2.4rem/1 var(--font-display); min-width: 2.2ch; text-align: center; }
input[type=range] { width: 100%; accent-color: var(--tomato); }
.calc-result { background: var(--ink); color: #fff; border-radius: 16px; padding: 24px; }
.calc-result .big { font: 700 3rem/1 var(--font-display); letter-spacing: -.02em; }
.calc-result .row { display: flex; justify-content: space-between; font-size: .92rem; color: var(--on-ink-3); padding-top: 8px; }
.calc-result .row b { color: #fff; }
.price-table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: .95rem; }
.price-table th, .price-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.price-table td:last-child, .price-table th:last-child { text-align: right; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--paper); border: 1.5px solid var(--line-2); border-radius: 14px; padding: 0 22px; transition: border-color .15s; }
.faq details[open] { border-color: var(--ink); box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; font-weight: 600; font-size: 1.04rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font: 500 1.6rem/1 var(--font-body); color: var(--tomato); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--ink-2); margin: 0 0 18px; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group h2 { font-size: 1.5rem; max-width: 820px; margin: 0 auto 16px; }

/* ---------- signup ---------- */
.signup { background: var(--paper); color: var(--ink); border: 2px solid var(--outline); border-radius: 20px; padding: 28px; box-shadow: var(--shadow-md-2); }
.section-ink .signup { box-shadow: 6px 6px 0 var(--tomato-hi); border-color: var(--paper); }
/* [fix-1106 M1] the light card on a dark band keeps the light page's text colors (it inherited the band's). */
.section-ink .signup .muted, .section-ink .signup .lead { color: var(--ink-3); }
.section-ink .signup a:not(.btn) { color: var(--tomato); }
.signup h3, .signup .signup-h { margin-bottom: 4px; }
.signup .signup-h { font-size: 1.3rem; }
.signup .fine { font-size: .82rem; color: var(--ink-3); margin: 12px 0 0; text-align: center; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: .9rem; }
.field input, .field textarea, .field select { font: inherit; font-size: 1rem; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line-2);
  background: #fff; color: var(--ink); width: 100%; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--butter); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }
/* [turnstile-center] the human check (humancheck.snippet, interaction-only: 0 tall until a challenge is needed) sits
   centred in the full-width sign-up and contact forms, like the app's login page. */
.cf-turnstile { display: flex; justify-content: center; justify-content: safe center; max-width: 100%; }
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; border: 1.5px solid; }
.alert-ok { background: var(--sage-soft); border-color: var(--sage); color: var(--sage-ink); }
.alert-err { background: var(--tomato-soft); border-color: var(--tomato); color: var(--tomato-ink); }
.alert ul { margin: 0; padding-left: 18px; }

.cta-band { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.cta-band h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }

/* ---------- page heads ---------- */
.page-head { padding: 72px 0 40px; }
.page-head .lead { max-width: 60ch; }
.crumbs { font-size: .88rem; color: var(--ink-3); margin-bottom: 18px; }
.crumbs a { color: var(--ink-2); }

/* ---------- features ---------- */
.feature-group { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; padding: 56px 0; border-top: 1.5px solid var(--line-2); }
.feature-group:first-child { border-top: 0; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.feature-list h3 { font-family: var(--font-body); font-size: 1.04rem; font-weight: 700; display: flex; gap: 10px; align-items: center; margin-bottom: 6px; }
.feature-list h3 .icon { color: var(--tomato); }
.feature-list p { color: var(--ink-2); margin: 0; font-size: .97rem; }

/* ---------- app detail ---------- */
.app-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.app-hero .tile { width: 64px; height: 64px; border-radius: 16px; margin-bottom: 20px; }
.app-hero .tile .icon { width: 32px; height: 32px; }
.side-card { background: var(--paper); border: 2px solid var(--outline); border-radius: 18px; padding: 26px; box-shadow: var(--shadow); }
.side-card h3 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; margin-bottom: 6px; }
.side-card p { color: var(--ink-2); font-size: .95rem; }
.side-card p:last-child { margin: 0; }
pre.code { background: var(--ink); color: var(--code-text); padding: 18px; border-radius: 12px; overflow-x: auto; font: .84rem/1.6 ui-monospace, Menlo, monospace; margin: 0; }
pre.code .c { color: var(--code-comment); }

/* ---------- industry ---------- */
.ind-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.preview-frame { border: 2px solid var(--outline); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
.preview-frame .viewport { height: 340px; }
.pains { display: grid; gap: 14px; }
.pain { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; background: var(--paper); border: 1.5px solid var(--line-2); border-radius: 14px; padding: 16px 20px; }
.pain .before { color: var(--ink-3); text-decoration: line-through; text-decoration-color: rgba(var(--tomato-rgb), .5); }
.pain .arrow { color: var(--tomato); }
.pain .after { font-weight: 600; }
.why-app { display: flex; gap: 16px; align-items: flex-start; }
.why-app h3 { font-size: 1.1rem; margin: 0 0 4px; }
.why-app p { color: var(--ink-2); margin: 0; font-size: .96rem; }
.why-app a { color: inherit; text-decoration: none; }
.sticky-cta { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%) translateY(140%); z-index: 30; background: var(--ink); color: #fff;
  border-radius: 16px; padding: 10px 10px 10px 18px; display: flex; gap: 14px; align-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transition: transform .3s ease; max-width: calc(100% - 32px); font-size: .95rem; }
.sticky-cta.show { transform: translateX(-50%) translateY(0); }
.sticky-cta .btn { border-color: #fff; box-shadow: none; padding: 9px 14px; white-space: nowrap; }

/* ---------- examples ---------- */
.ex-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.ex-card { background: var(--paper); border: 2px solid var(--outline); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.ex-card .browser-bar { border-bottom: 2px solid var(--outline); }
.ex-card .viewport { height: 250px; }
.ex-body { padding: 18px 20px 20px; border-top: 2px solid var(--outline); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ex-body h3 { font-size: 1.15rem; margin: 0; }
.ex-apps { display: flex; flex-wrap: wrap; gap: 6px; }
.ex-apps span { display: inline-flex; gap: 5px; align-items: center; font-size: .78rem; padding: 4px 9px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line-2); }
.ex-apps .icon { width: 13px; height: 13px; color: var(--tomato); }
.ex-body .btn { margin-top: auto; align-self: flex-start; padding: 8px 14px; font-size: .9rem; }

/* ---------- compare ---------- */
.scroll-x { overflow-x: auto; }
.table-scroll { overflow-x: auto; border: 2px solid var(--outline); border-radius: 18px; box-shadow: var(--shadow); background: var(--paper); }
.compare { width: 100%; border-collapse: collapse; min-width: 860px; font-size: .95rem; }
.compare th, .compare td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--font-display); font-size: 1.05rem; background: var(--cream); border-bottom: 2px solid var(--outline); }
.compare tbody th { font-weight: 700; width: 17%; }
.compare .us { background: var(--butter-soft); }
.compare thead .us { background: var(--butter); }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.yes { color: var(--sage); font-weight: 700; } .no { color: var(--tomato); font-weight: 600; }

/* ---------- prose (blog / legal) ---------- */
.prose { font-size: 1.08rem; line-height: 1.75; }
.prose h2 { font-size: 1.75rem; margin-top: 2em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.5em 0; padding: 16px 22px; border-left: 4px solid var(--tomato); background: var(--paper); border-radius: 0 12px 12px 0; }
.prose blockquote p { margin: 0; }
.prose code { background: var(--code-inline-bg); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.prose pre { background: var(--ink); color: var(--code-text); padding: 18px; border-radius: 12px; overflow-x: auto; }
.prose pre code { background: none; padding: 0; color: inherit; }
.prose hr { border: 0; border-top: 1.5px dashed var(--line-2); margin: 2.5em 0; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 56px; align-items: start; }
.toc { position: sticky; top: 96px; font-size: .92rem; background: var(--paper); border: 1.5px solid var(--line-2); border-radius: 14px; padding: 18px; }
.toc h2 { font: 700 .8rem/1 var(--font-body); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin: 0 0 12px; }
.toc ol { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.toc a { color: var(--ink-2); text-decoration: none; } .toc a:hover { color: var(--tomato); }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--ink-3); font-size: .92rem; }
.post-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line-2); border-radius: var(--radius); padding: 26px; transition: transform .15s, box-shadow .15s, border-color .15s; }
.post-card:hover { color: var(--ink); border-color: var(--ink); transform: translate(-2px, -2px); box-shadow: var(--shadow); }
.post-card h2, .post-card h3 { font-size: 1.3rem; margin: 0; }
.post-card p { color: var(--ink-2); margin: 0; font-size: .97rem; }
.disclosure { font-size: .9rem; color: var(--ink-3); border-top: 1.5px dashed var(--line-2); padding-top: 18px; margin-top: 40px; }
.draft-note { background: var(--butter-soft); border: 2px dashed var(--butter-edge-2); border-radius: 12px; padding: 14px 18px; font-size: .95rem; margin-bottom: 32px; }

/* ---------- about / misc ---------- */
.principles { counter-reset: p; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.principles .card::before { counter-increment: p; content: "0" counter(p); display: block; font: 700 1rem/1 var(--font-display); color: var(--tomato); margin-bottom: 10px; }
.nf { text-align: center; padding: 100px 0 120px; }
.nf .robot { width: 140px; height: 140px; margin: 0 auto 24px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--footer-text); padding: 72px 0 36px; font-size: .95rem; }
.site-footer a { color: var(--footer-link); text-decoration: none; }
.site-footer a:hover { color: var(--butter); }
/* [fix-1106] the footer's button keeps its own white text (the footer link color on tomato was 4.03:1) */
.site-footer a.btn, .site-footer a.btn:hover { color: var(--fg); }
/* [fix-1106] Terms / Privacy: at least 24px tall to tap */
.footer-bottom a { display: inline-block; min-height: 24px; line-height: 24px; padding: 0 4px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.site-footer h2 { font: 700 .78rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--footer-muted); margin: 0 0 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer .logo { color: #fff; margin-bottom: 14px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid var(--footer-rule); margin-top: 48px; padding-top: 24px; font-size: .86rem; color: var(--footer-muted); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .grid-4, .highlight { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .checklist.cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav, .header-cta { display: none; }
  .mnav { display: block; }
  .hero-grid, .split, .receipt-wrap, .cta-band, .app-hero, .ind-hero, .feature-group, .post-layout, .calc { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { gap: 40px; }
  .grid-3, .ex-grid { grid-template-columns: repeat(2, 1fr); }
  .how { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .toc { position: static; order: -1; }
  .feature-group { gap: 24px; }
  .receipt { margin: 0 auto; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .wrap, .wrap-narrow { padding: 0 18px; }
  .grid-2, .grid-3, .grid-4, .highlight, .ex-grid, .price-cards, .principles, .feature-list, .field-row { grid-template-columns: minmax(0, 1fr); }
  .checklist.cols { grid-template-columns: minmax(0, 1fr); }
  .demo { grid-template-columns: minmax(0, 1fr); height: auto; min-height: 0; box-shadow: var(--shadow-md); }
  .demo-chat { border-right: 0; border-bottom: 2px solid var(--outline); }
  .demo-msgs { height: 230px; flex: none; }
  .demo-browser .viewport { height: 300px; flex: none; }
  .pain { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .pain .arrow { transform: rotate(90deg); justify-self: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .price strong { font-size: 3.2rem; }
  .sticky-cta span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* robot sizes */
.robot { width: 160px; height: auto; }
.cta-band .robot { width: 84px; }
.logo .robot.logo-mark { width: 36px; height: 36px; }
.demo-chat-head .robot { width: 34px; height: 34px; }
html, body { overflow-x: clip; }
.eyebrow { max-width: 100%; }
.eyebrow .dot { flex: none; }

/* touch screens: every tap target at least 44px (ARCHITECTURE §14) */
.mnav summary { min-width: 44px; min-height: 44px; display: grid; place-items: center; }
@media (pointer: coarse) {
  .logo, .nav a, .btn, .mnav-panel a { min-height: 44px; }
  .nav a { display: inline-flex; align-items: center; }
  .site-footer ul { gap: 0; }
  .site-footer li a, .toc li a, .crumbs a, h3 > a, p.center > a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
  input[type=range] { min-height: 44px; }
  input, select, textarea { font-size: 16px; }
}

/* [snap] Send Chip your photos */
.snap-cta { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.snap-cta-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.snap-cta-line { font-weight: 600; margin: 14px 0 0; }
.snap-cta-points { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 8px; }
.snap-cta-points li { display: flex; gap: 10px; align-items: center; }
.snap-cta-points .icon { width: 18px; height: 18px; color: var(--tomato); flex: none; }
.snap-cta-qr { justify-self: center; text-align: center; max-width: 260px; background: #fff; border: 2px solid var(--outline);
  border-radius: 18px; padding: 18px; box-shadow: 4px 4px 0 var(--ink); }
.snap-cta-code svg { display: block; margin: 0 auto 10px; max-width: 100%; height: auto; }
.snap-cta-qr p { margin: 0; font-size: .95rem; }
@media (max-width: 860px) { .snap-cta-grid { grid-template-columns: 1fr; gap: 24px; } .snap-cta-qr { display: none; } }

/* [leads] the optional, unticked marketing opt-in on signup/contact forms */
.signup .optin { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 4px 0 12px; font-size: .95rem; color: var(--ink-2, inherit); cursor: pointer; }
.signup .optin input { width: 20px; height: 20px; flex: none; margin: 0; accent-color: var(--tomato, currentColor); }

/* [nowidow] No dangling words (see app.css). Progressive enhancement; zero specificity. */
:where(p, li, dd, blockquote, figcaption, .lead, .sub) { text-wrap: pretty; }
:where(h1, h2, h3, h4, .btn, .eyebrow) { text-wrap: balance; }
:where(pre, code, textarea, input, table) { text-wrap: wrap; }

/* [industry-pages] page-specific writing first, the shared Snap & Send line small and last */
.ind-prose { max-width: 70ch; margin: 0 auto; }
.ind-prose h2:first-child { margin-top: 0; }
.ind-ask { margin: 2em 0 0; padding: 18px 22px; background: var(--paper); border: 2px solid var(--outline); border-radius: var(--radius); box-shadow: var(--shadow); }
.ind-ask p { margin: 0; }
.ind-ask-label { font-size: .85rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 6px !important; }
.ind-ask-text { font-size: 1.05rem; }
.ind-snap { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
.ind-snap p { margin: 0; max-width: 62ch; }

/* [owner-1105] Home: the two prices up in the hero; Meet Chip shows Chip large; tighter section spacing (about half). */
.hero-price { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 18px; }
.hero-price > div { display: flex; flex-direction: column; gap: 2px; padding: 12px 18px; background: var(--paper);
  border: 2px solid var(--outline); border-radius: 16px; box-shadow: var(--shadow); }
.hero-price > .hero-price-first { background: var(--butter-soft); }
.hero-price strong { font: 700 1.45rem/1.1 var(--font-display); color: var(--tomato); letter-spacing: -.01em; }
.hero-price span { font-size: .92rem; color: var(--ink-2); }
.home .section { padding: 48px 0; }
.home .feature-group { padding: 8px 0; align-items: center; }
.robot.chip-meet { display: block; width: 200px; margin-top: 20px; }
/* [owner-1105] Pricing: the two card buttons sit on one line (cards are equal height; buttons go to the bottom). */
.price-cards-cta .price-card { display: flex; flex-direction: column; }
.price-cards-cta .price-card .btn { margin-top: auto; }
@media (max-width: 640px) {
  .home .section { padding: 32px 0; }
  .hero-price { gap: 10px; flex-wrap: nowrap; }
  .hero-price > div { flex: 1 1 0; min-width: 0; padding: 10px 12px; }
  .hero-price strong { font-size: 1.12rem; }
  .hero-price span { font-size: .84rem; }
  .robot.chip-meet { width: 140px; margin-top: 16px; }
}

/* [seo-fix] Help Center (/help, /help/<slug>) and the Snap & Send page (/snap). Tokens only. */
.help-head { padding-bottom: 24px; }
.help-search { display: flex; gap: 10px; max-width: 640px; margin-top: 24px; }
.help-search input { flex: 1; min-width: 0; font: inherit; font-size: 1rem; padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid var(--line-2); background: var(--paper); color: var(--ink); }
.help-search input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--butter); }
.help-results { list-style: none; padding: 0; margin: 0 0 18px; max-width: 760px; }
.help-results li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.help-results a { font-weight: 600; }
.help-results span { display: block; color: var(--ink-2); font-size: .95rem; margin-top: 2px; }
.help-topics { padding-top: 16px; }
.help-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.help-cat { background: var(--paper); border: 2px solid var(--outline); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); }
.help-cat h2 { font-size: 1.3rem; margin-bottom: 4px; }
.help-cat ul { list-style: none; padding: 0; margin: 12px 0 0; }
.help-cat li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.help-cat li:last-child { border-bottom: 0; }
.help-cat a { color: var(--ink); font-weight: 500; text-decoration: none; }
.help-cat a:hover { color: var(--tomato); text-decoration: underline; }
.help-layout { padding-bottom: 80px; }
.help-prose { max-width: 72ch; }
.help-prose a { color: var(--tomato); text-underline-offset: 2px; }
.help-prose code { overflow-wrap: anywhere; }
.help-side { display: grid; gap: 18px; }
.help-side .toc ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.help-side .side-card .btn { margin-top: 12px; }
.help-cta .btn-row, .snap-end .btn-row { justify-content: flex-start; }
.snap-hero { padding: 56px 0 64px; }
.snap-hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: center; position: relative; }
.snap-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.snap-start { margin: 6px 0 18px; }
.snap-price { margin: 0 0 4px; }
.snap-price strong { color: var(--tomato); }
.snap-hero-qr { background: var(--paper); }
.snap-included { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.how-step h3 .icon { color: var(--tomato); vertical-align: -3px; }
@media (max-width: 860px) {
  .snap-hero-grid, .snap-included { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .snap-hero-qr { display: none; }
  .snap-hero { padding: 32px 0 40px; }
}
@media (max-width: 640px) {
  .help-search { flex-direction: column; }
  .snap-start .btn { width: 100%; }
}

/* ---------- [consent] cookie banner (visitors outside the US only; consent.py) ----------
   Fixed over the bottom of the window, so it never moves the page. site.js sets --consent-h to its height while it
   is open: the sticky buttons and the Ask Chip launcher sit above it, and the page gets that much room at the end. */
html { --consent-h: 0px; }
body { padding-bottom: var(--consent-h); }
.consent { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 890;
  display: flex; justify-content: center; pointer-events: none; }
.consent[hidden] { display: none; }
.consent-inner { pointer-events: auto; width: 100%; max-width: 760px; background: var(--paper); color: var(--ink);
  border: 2px solid var(--outline); border-radius: 14px; box-shadow: var(--shadow-sm), var(--shadow-soft);
  padding: 14px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 0; }
.consent-text { margin: 0; flex: 1 1 300px; font-size: .95rem; line-height: 1.45; }
.consent-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.consent-btn { padding: 9px 16px; font-size: .95rem; }
.consent-link { font-size: .9rem; color: var(--ink); }
.sticky-cta, .lp-sticky { margin-bottom: var(--consent-h); }
@media (max-width: 600px) {
  .consent { left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); }
  .consent-inner { padding: 12px; gap: 10px; }
  .consent-text { flex-basis: 100%; font-size: .92rem; }
  .consent-actions { width: 100%; }
  .consent-btn { flex: 1 1 0; padding: 9px 10px; }
  .consent-link { flex-basis: 100%; text-align: center; }
}
.cookie-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.cookie-table th, .cookie-table td { text-align: left; vertical-align: top; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.cookie-table tr:last-child td { border-bottom: 0; }
.cookie-table code { white-space: nowrap; }
.consent-choice { margin: 18px 0; }
.consent-choice .consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
