/* asfalia public site, always light (home, pricing, security, FAQ, contact). Brand guide: docs/brand.md.
   Static pages; the only script is /pricing.js (same-origin, as the content security policy requires).
   Geist (sans) for everything people read; Geist Mono only for the wordmark and small labels. */
@font-face { font-family: 'Geist'; src: url('/fonts/Geist-Variable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('/fonts/GeistMono-Variable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: light;
  --bg: #fafaf7; --surface: #ffffff; --sunken: #f3f2ed; --ink: #121211; --text: #121211; --soft: #3d3c38; --muted: #65645e;
  --line: #e6e5df; --line-strong: #d6d5ce; --green: #11804a; --green-bright: #3ddc84; --green-tint: #e7f4ec; --stem: #1e9e55;
  --amber: #a15c07; --amber-tint: #fdf3e2; --danger: #b3261e;
  --radius: 20px; --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(18, 18, 17, 0.04), 0 12px 32px -12px rgba(18, 18, 17, 0.12);
  --shadow-lg: 0 2px 4px rgba(18, 18, 17, 0.04), 0 40px 80px -24px rgba(18, 18, 17, 0.22);
  --sans: 'Geist', ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
a { color: inherit; }
p { margin: 0 0 14px; }
img, svg { display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

/* Header */
header.site { position: sticky; top: 0; z-index: 10; background: rgba(250, 250, 247, 0.82); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid transparent; }
header.site { border-bottom-color: var(--line); }
header.site .wrap { display: flex; align-items: center; gap: 32px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--sans); text-decoration: none; color: var(--ink); }
.lockup { display: inline-flex; flex-direction: column; line-height: 1; gap: 3px; }
.lockup .name { font-size: 19px; font-weight: 600; letter-spacing: -0.03em; }
.lockup .by { font-size: 11.5px; font-weight: 500; letter-spacing: -0.01em; color: var(--muted); }
.logo svg { width: 30px; height: 30px; }
header.site nav { display: flex; gap: 28px; flex: 1; justify-content: center; }
header.site nav a, .signin { color: var(--soft); text-decoration: none; font-size: 15px; }
header.site nav a:hover, .signin:hover, header.site nav a[aria-current="page"] { color: var(--ink); }
header.site nav a[aria-current="page"] { font-weight: 500; }
.header-actions { display: flex; align-items: center; gap: 20px; }

/* Buttons */
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center .cta, .cta.center { justify-content: center; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font: 500 16px/1.2 var(--sans); text-decoration: none; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); cursor: pointer; transition: background 0.15s, border-color 0.15s, transform 0.15s; }
.button:hover { border-color: var(--muted); }
.button.primary { background: var(--ink); color: #fafaf7; border-color: var(--ink); }
.button.primary:hover { background: #000; border-color: #000; }
.button.small { padding: 9px 18px; font-size: 14px; }
.button.light { background: #fafaf7; color: var(--ink); border-color: #fafaf7; }
.button.light:hover { background: #fff; }
.button.outline-light { background: transparent; color: #fafaf7; border-color: rgba(250, 250, 247, 0.3); }
.button.outline-light:hover { border-color: #fafaf7; }
.arrow::after { content: '\2192'; display: inline-block; transition: transform 0.15s; }
.button:hover .arrow::after, a:hover > .arrow::after { transform: translateX(3px); }
.textlink { color: var(--green); font-weight: 500; text-decoration: none; }
.textlink:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Type */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 500 13px/1 var(--sans); color: var(--soft); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; margin: 0 0 28px; }
.eyebrow::before, .dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 0 3px rgba(61, 220, 132, 0.22); flex: none; }
.label { font: 500 12px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); margin: 0 0 16px; }
h1, h2, h3 { font-family: var(--sans); color: var(--ink); margin: 0; }
h1 { font-size: clamp(42px, 7.2vw, 80px); line-height: 1.02; font-weight: 600; letter-spacing: -0.045em; margin-bottom: 24px; text-wrap: balance; }
h2 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.06; font-weight: 600; letter-spacing: -0.04em; margin-bottom: 18px; text-wrap: balance; }
h3 { font-size: 21px; line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 8px; }
.lede { font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: var(--soft); max-width: 34em; margin: 0 0 36px; text-wrap: pretty; }
.center .lede { margin-left: auto; margin-right: auto; }
.note { font-size: 14px; color: var(--muted); margin: 20px 0 0; }
.soft { color: var(--muted); }

/* Sections */
section { padding: 112px 0; }
section.tight { padding: 72px 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin: 0 0 56px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head .lede { margin-bottom: 0; }

/* Hero */
.hero { padding: 96px 0 0; text-align: center; overflow: hidden; }
.hero h1 { max-width: 15em; margin-left: auto; margin-right: auto; }
.hero .note { margin-top: 18px; }
.hero-stage { position: relative; margin: 72px auto 0; max-width: 1040px; padding: 0 0 0; }
.hero-stage::before { content: ''; position: absolute; inset: 12% -10% -20%; background: radial-gradient(50% 50% at 50% 50%, rgba(61, 220, 132, 0.18), transparent 70%); z-index: 0; }
.page-hero { padding: 96px 0 24px; }
.page-hero .lede { margin-bottom: 0; }
.page-hero h1 { font-size: clamp(40px, 6vw, 64px); }

/* Product mock: a stylised standby inbox (illustration, not a screenshot) */
.mock { position: relative; z-index: 1; background: var(--surface); border: 1px solid var(--line); border-radius: 16px 16px 0 0; box-shadow: var(--shadow-lg); overflow: hidden; text-align: left; font-size: 14px; }
.mock-chrome { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--sunken); border-bottom: 1px solid var(--line); }
.mock-chrome i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-strong); }
.mock-chrome .url { margin: 0 auto; font: 12px/1 var(--sans); color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 6px 40px; }
.mock-bar { display: flex; align-items: center; gap: 12px; padding: 12px 20px; background: var(--ink); color: #f1f0ec; }
.mock-bar .co { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.mock-bar .co b { width: 22px; height: 22px; border-radius: 6px; background: #3a6ff7; display: grid; place-items: center; font-size: 12px; color: #fff; }
.mock-bar .status { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #c9c8c2; }
.mock-banner { display: flex; align-items: center; gap: 10px; padding: 10px 20px; background: var(--green-tint); color: #0c5c35; font-size: 13.5px; border-bottom: 1px solid #cfe8d9; }
.mock-banner strong { font-weight: 600; }
.mock-body { display: grid; grid-template-columns: 200px 340px 1fr; min-height: 380px; }
.mock-side { padding: 16px 12px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.mock-side .compose { margin: 0 0 12px; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: #fafaf7; font-weight: 500; text-align: center; }
.mock-side span { display: flex; justify-content: space-between; padding: 8px 12px; border-radius: 8px; color: var(--soft); }
.mock-side span.on { background: var(--sunken); color: var(--ink); font-weight: 500; }
.mock-side em { font-style: normal; color: var(--muted); font-size: 12.5px; }
.mock-list { border-right: 1px solid var(--line); min-width: 0; }
.mock-msg { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.mock-msg.on { background: #f6faf7; box-shadow: inset 3px 0 0 var(--green); }
.mock-msg .top { display: flex; justify-content: space-between; gap: 8px; }
.mock-msg .from { font-weight: 600; color: var(--ink); }
.mock-msg .time { color: var(--muted); font-size: 12.5px; }
.mock-msg .subj { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-msg .prev { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-msg.unread .subj { font-weight: 600; }
.mock-read { padding: 24px 28px; }
.mock-read .subj { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 14px; color: var(--ink); }
.mock-read .who { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; color: #fff; background: #8b6cf0; flex: none; }
.mock-read .who small { display: block; color: var(--muted); font-size: 12.5px; }
.mock-read p { color: var(--soft); font-size: 14px; margin-bottom: 10px; }
.mock-read .reply { margin-top: 20px; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; color: var(--muted); display: flex; justify-content: space-between; align-items: center; }
.mock-read .reply b { background: var(--ink); color: #fafaf7; font-weight: 500; font-size: 13px; padding: 6px 14px; border-radius: 999px; }

/* Facts strip */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.facts div { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--soft); }
.facts strong { display: block; color: var(--ink); font-weight: 600; }
.icon { width: 22px; height: 22px; flex: none; color: var(--green); stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }

/* Statement */
.statement { font-size: clamp(28px, 3.8vw, 44px); line-height: 1.18; font-weight: 600; letter-spacing: -0.035em; color: var(--ink); max-width: 22em; margin: 0 auto; text-wrap: balance; }
.statement span { color: var(--muted); }

/* Bento tiles */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; overflow: hidden; position: relative; }
section.alt .tile { background: var(--bg); }
.tile p { color: var(--muted); margin: 0; }
.tile .art { margin-top: auto; padding-top: 32px; }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-6 { grid-column: span 6; }
.tile.dark { background: var(--ink); border-color: var(--ink); color: #f1f0ec; }
.tile.dark h3 { color: #f1f0ec; }
.tile.dark p { color: #a9a8a2; }
.tile.split { flex-direction: row; align-items: center; gap: 40px; }
.tile.split > div:first-child { flex: 1; }

/* Tile art */
.chips { display: grid; gap: 8px; }
.chip-row { display: flex; align-items: center; gap: 10px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 14px; }
section.alt .chip-row { background: var(--surface); }
.chip-row .avatar { width: 28px; height: 28px; font-size: 11px; }
.chip-row .t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.pill { font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--green-tint); color: #0c5c35; white-space: nowrap; }
.pill.grey { background: var(--sunken); color: var(--soft); }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; font-size: 12px; color: var(--muted); }
.week b { display: block; height: 72px; border-radius: 10px; background: var(--green-tint); margin-bottom: 8px; position: relative; overflow: hidden; }
.week b::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; background: var(--stem); border-radius: 10px; height: var(--h, 60%); opacity: 0.85; }
.flow { display: flex; align-items: center; gap: 10px; }
.flow .node { flex: 1; text-align: center; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 18px 10px; font-size: 14px; font-weight: 500; color: var(--ink); }
section.alt .flow .node { background: var(--surface); }
.flow .node small { display: block; color: var(--muted); font-weight: 400; font-size: 12.5px; margin-top: 2px; }
.flow .node svg { margin: 0 auto 8px; width: 28px; height: 28px; }
.flow .link { color: var(--green); font-size: 20px; }
.ol-mark { width: 28px; height: 28px; border-radius: 7px; background: #0f6cbd; color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center; margin: 0 auto 8px; }

/* Phone with a text message */
.phone { width: 260px; flex: none; background: #0b0b0a; border-radius: 40px; padding: 10px; box-shadow: var(--shadow-lg); }
.phone-screen { background: #f2f2f6; border-radius: 31px; padding: 18px 14px 26px; min-height: 300px; font-size: 13px; color: #1c1c1e; }
.phone-top { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; padding: 0 10px 14px; }
.phone-island { width: 84px; height: 24px; border-radius: 12px; background: #0b0b0a; margin: -6px auto 14px; }
.phone-from { text-align: center; font-size: 11px; color: #8e8e93; margin-bottom: 12px; }
.phone-from b { display: block; width: 40px; height: 40px; margin: 0 auto 6px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.phone-from b svg { width: 24px; height: 24px; }
.bubble { background: #e5e5ea; border-radius: 18px; padding: 10px 13px; line-height: 1.4; max-width: 92%; }
.bubble u { color: #0a63d1; text-decoration: none; }
.faceid { margin-top: 14px; background: #fff; border-radius: 16px; padding: 14px; display: flex; align-items: center; gap: 12px; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.faceid svg { width: 30px; height: 30px; color: var(--green); stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; }
.faceid small { display: block; color: #8e8e93; font-size: 11.5px; }

/* Steps (how it works) */
.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps-row li { counter-increment: s; position: relative; padding-top: 64px; }
.steps-row li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fafaf7; font: 600 15px/1 var(--sans); }
.steps-row li::after { content: ''; position: absolute; top: 20px; left: 52px; right: -8px; height: 1px; background: var(--line-strong); }
.steps-row li:last-child::after { display: none; }
.steps-row h3 { font-size: 19px; }
.steps-row p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* Readiness card ("on a normal day") */
.ready { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px 24px; min-width: 0; }
.ready-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.ready-row:last-child { border-bottom: 0; }
.ready-row span { color: var(--soft); }
.ready-row b { font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.dot { display: inline-flex; align-items: center; gap: 8px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.two-col .lede { margin-bottom: 24px; }

/* Cards (security teaser etc.) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
section.alt .card { background: var(--bg); }
.card .icon { width: 28px; height: 28px; margin: 0 0 20px; }
.card p { color: var(--muted); margin: 0; font-size: 16px; }

/* Price teaser and pricing page */
.price-hero { text-align: center; }
.price { font-size: clamp(64px, 10vw, 112px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; color: var(--ink); margin: 8px 0 12px; }
.price small { font-size: 20px; color: var(--muted); letter-spacing: -0.01em; font-weight: 400; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1.2fr; overflow: hidden; }
.price-card > div { padding: 44px; }
.price-card > div + div { border-left: 1px solid var(--line); background: var(--bg); }
.price-card .price { font-size: 72px; margin-top: 0; }
.ticks { list-style: none; margin: 0; padding: 0; columns: 1; }
.ticks li { padding: 7px 0 7px 32px; position: relative; font-size: 16px; color: var(--soft); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 10px; width: 20px; height: 20px; border-radius: 50%; background: var(--green-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2311804a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5'/%3E%3C/svg%3E") center/20px no-repeat; }
table.examples { width: 100%; border-collapse: collapse; font-size: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
table.examples th, table.examples td { text-align: left; padding: 16px 24px; border-bottom: 1px solid var(--line); font-weight: 400; }
table.examples tr:last-child td { border-bottom: 0; }
table.examples th { color: var(--muted); font-size: 14px; background: var(--sunken); font-weight: 500; }
table.examples td:last-child, table.examples th:last-child { text-align: right; font-variant-numeric: tabular-nums; }

/* Feature list (security page) */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.features .card h3 { margin-bottom: 10px; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-size: 19px; font-weight: 500; letter-spacing: -0.01em; list-style: none; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-weight: 300; font-size: 26px; line-height: 0.9; color: var(--muted); flex: none; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { color: var(--soft); font-size: 17px; padding: 0 48px 24px 0; }
.faq details > div p:last-child { margin: 0; }
.faq a { color: var(--green); }

/* Forms */
.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 72px; align-items: start; }
.contact-points { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 16px; }
.contact-points li { display: flex; gap: 12px; color: var(--soft); }
form.contact { display: grid; gap: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px; }
form.contact label { display: grid; gap: 8px; font-size: 14px; font-weight: 500; color: var(--soft); }
form.contact input, form.contact textarea, form.contact select { font: inherit; font-size: 16px; color: var(--ink); background: var(--bg); border: 1px solid var(--line-strong); border-radius: 10px; padding: 12px 14px; width: 100%; transition: border-color 0.15s, box-shadow 0.15s; }
form.contact input:focus, form.contact textarea:focus, form.contact select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(17, 128, 74, 0.12); background: #fff; }
form.contact textarea { min-height: 150px; resize: vertical; }
form.contact .button { width: 100%; }
form.contact .note { margin: 0; text-align: center; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 15px; }
.notice.error { border-color: var(--danger); color: var(--danger); }

/* Closing band */
.band { background: var(--ink); color: #f1f0ec; border-radius: 28px; padding: 88px 40px; text-align: center; position: relative; overflow: hidden; }
.band::before { content: ''; position: absolute; inset: -40% 20% auto; height: 120%; background: radial-gradient(50% 50% at 50% 50%, rgba(61, 220, 132, 0.18), transparent 70%); }
.band > * { position: relative; }
.band h2 { color: #f1f0ec; }
.band .lede { color: #b4b3ad; }
.band .mark-big { width: 56px; height: 56px; margin: 0 auto 28px; }

/* Footer */
footer.site { border-top: 1px solid var(--line); margin-top: 0; }
footer.site .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 32px; }
footer.site .tag { color: var(--muted); font-size: 15px; margin: 14px 0 0; max-width: 22em; }
footer.site h4 { font: 500 13px/1 var(--sans); color: var(--ink); margin: 6px 0 16px; }
footer.site nav { display: grid; gap: 10px; }
footer.site nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
footer.site nav a:hover { color: var(--ink); }
footer.site .legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 16px; font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 980px) {
  .mock-body { grid-template-columns: 280px 1fr; }
  .mock-side { display: none; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .bento .span-2, .bento .span-3, .bento .span-4 { grid-column: span 6; }
  .steps-row { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps-row li::after { display: none; }
  .two-col, .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .cards { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  header.site .wrap { flex-wrap: wrap; gap: 12px 20px; padding-top: 10px; }
  header.site nav { order: 3; flex-basis: 100%; justify-content: flex-start; gap: 22px; overflow-x: auto; padding-bottom: 10px; }
  .header-actions { margin-left: auto; gap: 14px; }
  section { padding: 80px 0; }
  .hero { padding-top: 64px; }
  .page-hero { padding-top: 64px; }
  .hero-stage { margin-top: 48px; }
  .mock-body { grid-template-columns: 1fr; min-height: 0; }
  .mock-read, .mock-chrome .url { display: none; }
  .mock-bar .status { display: none; }
  .facts { grid-template-columns: 1fr; gap: 18px; }
  .tile { padding: 28px; }
  .tile.split { flex-direction: column; align-items: stretch; }
  .tile.split .phone { margin: 0 auto; }
  .steps-row { grid-template-columns: 1fr; }
  .features, .price-card, .row2 { grid-template-columns: 1fr; }
  .price-card > div { padding: 32px 28px; }
  .price-card > div + div { border-left: 0; border-top: 1px solid var(--line); }
  form.contact { padding: 24px; }
  .band { padding: 64px 24px; border-radius: 20px; }
  footer.site .wrap { grid-template-columns: 1fr 1fr; }
  footer.site .wrap > div:first-child { grid-column: 1 / -1; }
  table.examples th, table.examples td { padding: 14px 16px; }
}

/* Chat mock (illustration) */
.mock-side .sep { padding: 0; height: 1px; background: var(--line); margin: 8px 4px; border-radius: 0; }
.chatmock { display: grid; grid-template-columns: 250px 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; font-size: 14px; }
.chat-side { padding: 18px 12px; border-right: 1px solid var(--line); background: var(--bg); display: flex; flex-direction: column; gap: 2px; }
.chat-side .grp { font-size: 12px; font-weight: 600; color: var(--muted); margin: 10px 12px 4px; }
.chat-side .grp:first-child { margin-top: 0; }
.chat-side span { display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 8px; color: var(--soft); }
.chat-side span.on { background: var(--surface); color: var(--ink); font-weight: 500; box-shadow: 0 0 0 1px var(--line); }
.chat-side em { margin-left: auto; font-style: normal; font-size: 11.5px; font-weight: 600; background: var(--green); color: #fff; border-radius: 999px; padding: 1px 7px; }
.chat-side .avatar { width: 22px; height: 22px; font-size: 9.5px; font-style: normal; }
.chat-main { display: flex; flex-direction: column; min-width: 0; }
.chat-head { display: flex; align-items: baseline; gap: 12px; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.chat-head strong { font-size: 16px; color: var(--ink); }
.chat-head span { color: var(--muted); font-size: 13px; }
.chat-msgs { padding: 8px 24px; flex: 1; }
.cmsg { display: flex; gap: 12px; padding: 14px 0; }
.cmsg p { margin: 0; color: var(--soft); }
.cmsg .meta { color: var(--muted); font-size: 12.5px; margin-bottom: 2px; }
.cmsg .meta b { color: var(--ink); font-size: 14px; font-weight: 600; margin-right: 6px; }
.reacts { display: flex; gap: 6px; margin-top: 8px !important; }
.reacts span { font-size: 12.5px; border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; background: var(--bg); }
.thread { margin-top: 6px !important; color: var(--green) !important; font-size: 13px; font-weight: 500; }
.chat-compose { margin: 8px 24px 20px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; color: var(--muted); display: flex; justify-content: space-between; align-items: center; }
.chat-compose b { background: var(--ink); color: #fafaf7; font-weight: 500; font-size: 13px; padding: 6px 14px; border-radius: 999px; }
@media (max-width: 760px) {
  .chatmock { grid-template-columns: 1fr; }
  .chat-side { display: none; }
  .chat-head, .chat-msgs { padding-left: 18px; padding-right: 18px; }
  .chat-compose { margin: 8px 18px 18px; }
}

/* Pricing toggles (driven by /pricing.js; hidden until it runs) */
.toggles { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; }
.price-hero .toggles { justify-content: center; margin-top: 8px; }
.toggles[hidden] { display: none; }
.seg { display: inline-flex; background: var(--sunken); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.seg button { font: 500 14px/1 var(--sans); color: var(--soft); background: transparent; border: 0; border-radius: 999px; padding: 9px 16px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(18, 18, 17, 0.08), 0 0 0 1px var(--line); }
.seg .save { font-size: 11.5px; font-weight: 600; color: #0c5c35; background: var(--green-tint); border-radius: 999px; padding: 3px 7px; }
.billing-note { font-size: 15px; color: var(--muted); margin: -4px 0 20px; }
.price-hero .billing-note { margin-bottom: 18px; }
table.examples td:nth-child(2), table.examples th:nth-child(2) { text-align: right; font-variant-numeric: tabular-nums; }
table.examples th small { font-weight: 400; color: var(--muted); font-size: 12px; }
.price small { white-space: nowrap; display: inline-block; }
