/* Embermont marketing site: one design system for the homepage and every
   /for/<industry>/ page (scripts/build-for-pages.mjs generates those).
   Served with Cache-Control: no-cache (server.ts revalidateHeaders), so an
   edit here reaches returning visitors on their next load. */
@font-face { font-family: 'Bricolage Grotesque'; src: url('/fonts/bricolage-grotesque-latin-wght.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('/fonts/instrument-sans-latin-wght.woff2') format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }

/* Layout: one 1200px column on a cool light ground. Every product picture sits
   on a tinted "stage" so the pictures carry the page; the Ember night (hero, demo
   band, contact, footer) marks where a visitor acts.
   Colours: ink and ember from the E-and-M mark, the night violet of the Ember theme. */
:root {
  --ink: #16121d;
  --ink-2: #221c2b;
  --ink-3: #2e2638;
  /* Ember: the night violet of the portal's Ember theme and the original homepage
     hero, with an ember glow and a violet one (Oliver, 5 Oct 2026). */
  --night-0: #0d0918;
  --night-1: #140e26;
  --night-2: #1e1440;
  --night-3: #35217a;
  --violet: #8b5cf6;
  --lilac-text: #c4b5fd;
  --ember-night: radial-gradient(55% 42% at 68% 88%, rgba(234,88,12,.22) 0%, transparent 70%), radial-gradient(circle at 110% -10%, rgba(139,92,246,.35) 0%, transparent 55%), linear-gradient(168deg, var(--night-0) 0%, var(--night-1) 45%, var(--night-2) 85%, var(--night-3) 130%);
  --text: #3a3345;
  --muted: #6e6679;
  /* Cool light grounds with a faint violet hint, to sit with the Ember night
     (Oliver, 6 Oct 2026: the cream "makes me feel a bit sick"). */
  --paper: #f6f5fa;
  --paper-2: #eeecf5;
  --card: #ffffff;
  --line: #e3e0ec;
  --ember: #e9632e;
  --ember-deep: #c24d1b;
  --ember-50: #fdeee5;
  --lilac: #cfdcfb;
  --peach: #dccffb;
  --on-ink: #f6f2ee;
  --on-ink-muted: #b4aabf;
  --font-display: Georgia, 'Times New Roman', 'Palatino Linotype', serif;
  --font-body: 'Instrument Sans', 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  --wrap: 1200px;
  --gutter: 24px;
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --shadow-pic: 0 30px 60px -24px rgba(22,18,29,.35), 0 8px 18px -8px rgba(22,18,29,.18);
  --shadow-card: 0 1px 2px rgba(22,18,29,.05), 0 8px 24px -12px rgba(22,18,29,.12);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; text-wrap: balance; }
h2 { font-size: clamp(34px, 4.4vw, 52px); }
h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; }
p { text-wrap: pretty; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ember-deep); }
.section { padding-block: 112px; }
.section.flush { padding-top: 24px; }
.section-head { display: grid; gap: 14px; max-width: 720px; margin-bottom: 56px; }
.section-head p { font-size: 19px; color: var(--muted); max-width: 620px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; font: 600 16px/1 var(--font-body); text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: background .18s, color .18s, border-color .18s, transform .18s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-ember { background: linear-gradient(135deg, #ea580c, #f59e0b); color: #fff; box-shadow: 0 10px 24px -10px rgba(234,88,12,.6); }
.btn-ember:hover { box-shadow: 0 8px 24px rgba(0,0,0,.2); transform: translateY(-2px); }
.btn-line { border-color: rgba(22,18,29,.18); color: var(--ink); background: rgba(255,255,255,.6); }
.btn-line:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--paper-2); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ── Nav ─────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid #e4e4e7; }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 70px; }
/* --bs scales the whole lockup together; the numbers below were measured on the
   rendered fonts so the mark runs from the top of EMBERMONT to the baseline of
   "Concierge" and EMBERMONT spans the same width as the word below it. */
.brand { --bs: 1; display: inline-flex; align-items: center; gap: calc(var(--bs) * 12px); text-decoration: none; color: var(--ink); min-width: 0; }
.brand svg { height: calc(var(--bs) * 31.75px); width: auto; flex: none; transform: translateY(calc(var(--bs) * -1.8px)); }
/* The two-line wordmark Oliver chose (5 Oct 2026): EMBERMONT small and spaced
   above "Concierge" with the ember full stop, beside the E-and-M mark. */
.brand-word { display: grid; gap: calc(var(--bs) * 3px); line-height: 1; white-space: nowrap; }
.brand-co { font: 700 calc(var(--bs) * 10.5px)/1 var(--font-body); letter-spacing: .544em; margin-left: calc(var(--bs) * .5px); text-transform: uppercase; color: var(--muted); }
.brand-prod { font-family: var(--font-display); font-size: calc(var(--bs) * 23px); font-weight: 680; letter-spacing: -0.02em; color: var(--ink); }
.brand-prod b { color: var(--ember); font-weight: inherit; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link { padding: 8px 12px; border-radius: 10px; font-size: 15px; font-weight: 500; color: #52525b; text-decoration: none; }
.nav-link:hover { background: #f4f4f5; color: var(--ink); }
.nav .brand-co { color: #71717a; }
.hero .btn-line { border: 2px solid rgba(255,255,255,.25); color: #fff; background: transparent; }
.hero .btn-line:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.4); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-btn { min-height: 42px; padding: 0 16px; border-radius: 12px; font-size: 15px; }

/* ── Hero ────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding-block: 72px 104px; background: var(--ember-night); color: var(--on-ink); }
.hero > .wrap { position: relative; z-index: 1; }
/* The original hero's embers: slow, low-amplitude, never distracting. */
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.hero::before { top: -40%; right: -20%; width: 700px; height: 700px; background: radial-gradient(circle, rgba(139,92,246,.24) 0%, transparent 70%); animation: emberBreatheA 24s ease-in-out infinite alternate; }
.hero::after { bottom: -30%; left: -15%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(96,165,250,.14) 0%, transparent 70%); animation: emberBreatheB 32s ease-in-out infinite alternate; }
@keyframes emberBreatheA { from { opacity: .55; transform: translate3d(0, 0, 0) scale(1); } to { opacity: 1; transform: translate3d(-24px, 18px, 0) scale(1.07); } }
@keyframes emberBreatheB { from { opacity: 1; transform: translate3d(0, 0, 0) scale(1.05); } to { opacity: .5; transform: translate3d(20px, -14px, 0) scale(1); } }
.hero h1 { color: #fff; }
.hero + .section.flush { padding-top: 104px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); gap: 64px; align-items: center; }
.hero-copy { display: grid; gap: 26px; justify-items: start; min-width: 0; }
.beta-chip { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); font-size: 14px; font-weight: 500; color: #ece6f6; }
.beta-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 4px rgba(233,99,46,.25); }
.hero h1 { font-size: clamp(40px, 4.8vw, 60px); font-weight: 700; letter-spacing: -0.5px; line-height: 1.15; }
.hero h1 .soft { display: block; background: linear-gradient(135deg, #fb923c, #fbbf24); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.hero-lead { font-size: 19px; line-height: 1.6; color: rgba(255,255,255,.72); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; font-size: 15px; color: #c9c0da; }
.ticks li { display: inline-flex; align-items: center; gap: 8px; }
.ticks svg { width: 16px; height: 16px; color: var(--ember); flex: none; }

.stage { position: relative; border-radius: var(--r-lg); overflow: hidden; background:
    radial-gradient(90% 70% at 100% 0%, var(--peach) 0%, transparent 62%),
    radial-gradient(80% 70% at 0% 100%, var(--lilac) 0%, transparent 64%),
    linear-gradient(160deg, #efeafd 0%, #e9effd 100%); }
.hero-stage { aspect-ratio: 1 / 0.96; display: grid; place-items: center; padding: 40px; overflow: visible; }
.hero .stage { background: radial-gradient(90% 70% at 100% 0%, rgba(233,99,46,.38) 0%, transparent 62%), radial-gradient(80% 70% at 0% 100%, rgba(139,92,246,.5) 0%, transparent 64%), rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.hero-stage .stage-label { position: absolute; top: 20px; left: 22px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.7); letter-spacing: .02em; }
.hero-widget { width: min(380px, 76%); border-radius: 20px; box-shadow: var(--shadow-pic); margin-left: 22%; }
.enquiry-card { position: absolute; left: -28px; bottom: 34px; width: min(300px, 70%); background: var(--card); border-radius: 18px; padding: 16px 18px; box-shadow: 0 24px 50px -18px rgba(22,18,29,.4); display: grid; gap: 8px; font-size: 14px; line-height: 1.45; color: var(--text); animation: rise .7s cubic-bezier(.2,.8,.2,1) .5s both; }
.enquiry-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ember-deep); }
.enquiry-top span:last-child { color: var(--muted); letter-spacing: 0; text-transform: none; font-weight: 500; }
.enquiry-who { font-family: var(--font-display); font-size: 18px; font-weight: 620; color: var(--ink); }
.enquiry-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--paper-2); font-size: 12.5px; font-weight: 500; color: var(--text); }
.pill.ember { background: var(--ember-50); color: var(--ember-deep); }
@keyframes rise { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ── Steps ───────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px; display: grid; gap: 12px; align-content: start; }
.step-n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--night-2); color: #fff; font: 600 15px/1 var(--font-display); }
.step p { color: var(--muted); font-size: 16px; }
.step-visual { margin-top: 10px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); padding: 14px; font-size: 13.5px; color: var(--text); min-height: 64px; display: grid; align-content: center; gap: 8px; }
.mock-input { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; color: var(--muted); }
.mock-input b { margin-left: auto; font-weight: 600; color: #fff; background: var(--ink); border-radius: 7px; padding: 3px 9px; font-size: 12px; }
.mock-bar { height: 7px; border-radius: 99px; background: var(--paper-2); overflow: hidden; }
.mock-bar i { display: block; width: 72%; height: 100%; background: linear-gradient(90deg, var(--ember), #f19a6c); border-radius: inherit; }
.mock-code { font-family: ui-monospace, 'Cascadia Code', Consolas, monospace; font-size: 12.5px; background: var(--ink); color: #e9e3f1; border-radius: 9px; padding: 10px 12px; overflow-x: auto; white-space: nowrap; }
.mock-code em { font-style: normal; color: #f6a77e; }
.platforms { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; color: var(--muted); font-size: 15px; }
.platforms strong { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 17px; letter-spacing: -0.01em; }

/* ── What visitors see ───────────────────────────────── */
.visitor-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.visitor-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } /* C102: the first-screen pictures */
.shot a { display: block; color: inherit; text-decoration: none; border-radius: var(--r-md); }
.shot a:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
.shot { margin: 0; display: grid; gap: 18px; align-content: start; }
.shot-stage { border-radius: var(--r-md); padding: 28px 22px 0; display: flex; justify-content: center; align-items: flex-start; height: 430px; overflow: hidden; }
.shot-stage img { width: 100%; max-width: 330px; border-radius: 16px 16px 0 0; box-shadow: var(--shadow-pic); }
.shot-stage.phone { padding-top: 30px; }
.shot-stage.phone img { max-width: 240px; border-radius: 30px 30px 0 0; border: 7px solid var(--ink); border-bottom: 0; }
.tint-1 { background: linear-gradient(170deg, #e7e1fb, #f3f1fc); }
.tint-2 { background: linear-gradient(170deg, #dcefe0, #eef5ef); }
.tint-3 { background: linear-gradient(170deg, #e7defb, #f3f0fb); }
.tint-4 { background: linear-gradient(170deg, #d7e6f8, #eef3fa); }
.tint-5 { background: linear-gradient(170deg, #fbe0e8, #fcf1f4); }
.shot figcaption { display: grid; gap: 4px; padding-inline: 4px; }
.shot figcaption strong { font-family: var(--font-display); font-size: 20px; font-weight: 620; color: var(--ink); letter-spacing: -0.01em; }
.shot figcaption span { color: var(--muted); font-size: 16px; }

/* ── What you see (tabs) ─────────────────────────────── */
.owner { background: var(--paper-2); }
.tabs { display: inline-flex; gap: 4px; padding: 5px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 36px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs[hidden] { display: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { appearance: none; border: 0; background: none; padding: 10px 18px; border-radius: 12px; font: 600 15px/1 var(--font-body); color: var(--muted); cursor: pointer; white-space: nowrap; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.panel { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.6fr); gap: 56px; align-items: center; }
.js .panel[hidden] { display: none; }
.panel + .panel { margin-top: 72px; }
.js .panel + .panel { margin-top: 0; }
.panel-copy { display: grid; gap: 16px; align-content: start; }
.panel-copy h3 { font-size: clamp(26px, 2.6vw, 34px); }
.panel-copy p { color: var(--text); }
.checks { list-style: none; display: grid; gap: 10px; margin-top: 4px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--text); }
.checks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--ember-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6' fill='none' stroke='%23c24d1b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.panel-pic { position: relative; padding: 36px; border-radius: var(--r-lg); }
.browser { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow-pic); }
.browser-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #ecebf3; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d3d0de; }
.browser-bar span { margin-left: 14px; font-size: 12px; color: var(--muted); background: #fff; border-radius: 7px; padding: 3px 12px; }

/* The drawn Live Inbox. A real picture needs a live visitor at the moment of
   capture; this shows the join. data-nexus-ignore keeps the pretend visitors
   out of the assistant's own knowledge (processorIgnoreAttribute.test.ts). */
.live { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); min-height: 380px; font-size: 14px; }
.live-list { border-right: 1px solid var(--line); padding: 16px; display: grid; gap: 8px; align-content: start; background: #fcfaf8; }
.live-list-title { font: 600 15px/1.2 var(--font-display); color: var(--ink); margin-bottom: 6px; }
.live-row { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; border: 1px solid transparent; }
.live-row.on { background: #fff; border-color: var(--ember); box-shadow: var(--shadow-card); }
.live-ava { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; flex: none; }
.live-txt { min-width: 0; display: grid; }
.live-who { font-weight: 600; color: var(--ink); }
.live-prev { display: block; color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-badge { margin-left: auto; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--paper-2); color: var(--muted); }
.live-badge.you { background: var(--ember-50); color: var(--ember-deep); }
.live-chat { padding: 18px; display: grid; gap: 10px; align-content: start; }
.live-status { justify-self: start; font-size: 12px; font-weight: 600; color: #146c43; background: #e8f6ee; border-radius: 99px; padding: 4px 11px; display: inline-flex; align-items: center; gap: 7px; }
.live-status i { width: 7px; height: 7px; border-radius: 50%; background: #1f9d5a; }
.bub { max-width: 82%; padding: 9px 13px; border-radius: 16px; line-height: 1.45; }
.bub.v { justify-self: end; background: var(--paper-2); color: var(--ink); border-bottom-right-radius: 6px; }
.bub.b { background: #f3f0fb; color: var(--ink); border-bottom-left-radius: 6px; }
.bub.a { background: var(--ink); color: #fff; border-bottom-left-radius: 6px; }
.bub small { display: block; font-size: 11px; opacity: .7; margin-bottom: 2px; }

/* ── Demos (ink band) ────────────────────────────────── */
.ink { background: linear-gradient(168deg, var(--night-0) 0%, var(--night-1) 45%, var(--night-2) 85%, var(--night-3) 130%); color: var(--on-ink); position: relative; overflow: hidden; }
.ink::before { content: ""; position: absolute; inset: -30% -10% auto auto; width: 70%; height: 90%; background: radial-gradient(closest-side, rgba(233,99,46,.28), transparent); pointer-events: none; }
.ink::after { content: ""; position: absolute; inset: auto auto -40% -15%; width: 60%; height: 80%; background: radial-gradient(closest-side, rgba(139,92,246,.32), transparent); pointer-events: none; }
.ink .wrap { position: relative; z-index: 1; }
.ink h2, .ink h3 { color: #fff; }
.ink .section-head p { color: var(--on-ink-muted); }
.ink .eyebrow { color: #f6a77e; }
.demo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.demo-card { display: grid; grid-template-rows: auto 1fr; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); border-radius: 22px; overflow: hidden; text-decoration: none; color: inherit; transition: transform .2s, border-color .2s; }
a.demo-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.22); }
.demo-pic { position: relative; display: flex; justify-content: center; align-items: flex-start; height: 320px; padding: 52px 28px 0; overflow: hidden; }
.demo-tag { position: absolute; top: 14px; left: 16px; z-index: 1; padding: 5px 11px; border-radius: 999px; background: rgba(22,18,29,.55); color: #fff; font: 600 12.5px/1.2 var(--font-body); letter-spacing: .01em; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.demo-pic img { width: 100%; max-width: 300px; border-radius: 14px 14px 0 0; box-shadow: 0 20px 40px -16px rgba(0,0,0,.6); }
.demo-meta { display: grid; gap: 4px; padding: 20px 22px 22px; align-content: start; }
.demo-meta strong { font-family: var(--font-display); font-size: 19px; font-weight: 620; color: #fff; letter-spacing: -0.01em; }
.demo-meta > span { color: var(--on-ink-muted); font-size: 15px; }
.demo-ask { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14.5px; color: #f6c3a6; }
.demo-ask svg { width: 18px; height: 18px; flex: none; color: #fff; opacity: .7; transition: transform .2s, opacity .2s; }
a.demo-card:hover .demo-ask svg { transform: translateX(3px); opacity: 1; }
/* The fifteen further demos (C86, 6 Oct 2026): small cards, no picture, one line each on what it shows. */
.demo-more-lead { margin: 32px 0 14px; color: rgba(255,255,255,.72); }
.demo-more { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.demo-more a { display: grid; gap: 2px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); color: #fff; text-decoration: none; transition: border-color .15s, transform .15s; }
.demo-more a:hover { border-color: rgba(255,255,255,.22); transform: translateY(-2px); }
.demo-more strong { font-family: var(--font-display); font-size: 17px; }
.demo-more span { color: rgba(255,255,255,.6); font-size: 14px; }
.demo-more em { font-style: normal; color: var(--ember); font-size: 13px; margin-top: 4px; }
.demo-here { background: linear-gradient(155deg, #f07a45 0%, var(--ember) 40%, #b9441a 100%); border-color: transparent; padding: 30px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; grid-template-rows: none; }
.demo-here h3 { font-size: 30px; }
.demo-here p { color: rgba(255,255,255,.9); font-size: 16px; }
.demo-here .btn { align-self: flex-start; }

/* ── Pricing ─────────────────────────────────────────── */
.price-beta-strip { margin: 0 auto 28px; max-width: 760px; text-align: center; font-size: 15px; color: var(--ink); background: #efebfd; border: 1px solid #dcd2fb; border-radius: 12px; padding: 12px 18px; }
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.price-card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.price-card.lead { background: var(--ember-night); border-color: var(--night-2); color: var(--on-ink); }
.price-name { font: 600 15px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.price-card.lead .price-name { color: #f6a77e; }
.price-amount { font-family: var(--font-display); font-size: 54px; font-weight: 650; letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.price-card.lead .price-amount { color: #fff; }
.price-amount .per { font: 500 16px/1 var(--font-body); letter-spacing: 0; color: var(--muted); }
.price-card.lead .price-amount .per { color: var(--on-ink-muted); }
.price-limits { font-size: 15px; line-height: 1.55; padding: 12px 14px; border-radius: 12px; background: var(--paper); color: var(--text); }
.price-card.lead .price-limits { background: rgba(255,255,255,.08); color: var(--on-ink); }
.price-feats { list-style: none; display: grid; gap: 10px; font-size: 15.5px; flex: 1; }
.price-feats li { display: flex; gap: 10px; align-items: flex-start; }
.price-feats li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%23e9632e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.price-cta { display: flex; align-items: center; justify-content: center; min-height: 50px; border-radius: 999px; font-weight: 600; font-size: 15.5px; text-decoration: none; border: 1.5px solid rgba(22,18,29,.18); color: var(--ink); transition: border-color .18s, background .18s; }
.price-cta:hover { border-color: var(--ink); }
.price-card.lead .price-cta { background: linear-gradient(135deg, #ea580c, #f59e0b); border-color: transparent; color: #fff; }
.price-card.lead .price-cta:hover { background: var(--ember-deep); border-color: var(--ember-deep); }
.price-note { max-width: 720px; margin: 32px auto 0; text-align: center; font-size: 15px; color: var(--muted); }
.price-more { display: flex; justify-content: center; margin-top: 22px; }

/* ── Controls ────────────────────────────────────────── */
.controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.control { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: start; }
.control-icon { width: 46px; height: 46px; border-radius: 13px; background: var(--paper-2); display: grid; place-items: center; color: var(--ink); }
.control-icon svg { width: 24px; height: 24px; }
.control h3 { font-size: 20px; margin-bottom: 8px; }
.control p { font-size: 15.5px; color: var(--muted); }
.also { margin-top: 28px; font-size: 15px; color: var(--muted); text-align: center; }

/* ── Coming next ─────────────────────────────────────── */
.next-feature { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 48px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px; margin-bottom: 36px; }
.next-copy { display: grid; gap: 12px; justify-items: start; align-content: start; }
.next-copy h3 { font-size: clamp(24px, 2.4vw, 30px); }
.next-copy p { color: var(--muted); font-size: 16.5px; }
.next-pics { display: flex; gap: 16px; justify-content: center; align-items: flex-start; height: 380px; overflow: hidden; padding: 26px 22px 0; border-radius: var(--r-md); background: linear-gradient(165deg, #e7e1fb, #eef2fd); }
.next-pics img { width: 31%; max-width: 240px; filter: drop-shadow(0 18px 26px rgba(22,18,29,.2)); }
.next-feature.layouts { margin: 56px 0 0; }
.next-feature.layouts .next-pics { height: auto; padding: 26px 22px; align-items: center; }
.next-feature.layouts .next-pics img { width: 32%; max-width: 250px; border-radius: 14px; }
.soon-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.soon { border-top: 2px solid var(--ink); padding-top: 20px; display: grid; gap: 8px; align-content: start; }
.soon h3 { font-size: 20px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.soon p { font-size: 15.5px; color: var(--muted); }
.soon-chip { font: 600 11px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ember-deep); background: var(--ember-50); border-radius: 99px; padding: 5px 9px; }

/* ── FAQ ─────────────────────────────────────────────── */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 64px; align-items: start; }
.faq-side { position: sticky; top: 110px; display: grid; gap: 16px; }
.faq-side p { color: var(--muted); font-size: 17px; }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s; }
.faq-item[open] { border-color: rgba(22,18,29,.22); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 18px 22px; font-weight: 600; font-size: 16.5px; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v10M5 10h10' stroke='%2316121d' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 22px 20px; color: var(--text); font-size: 16px; }
.faq-item a { color: var(--ember-deep); }

/* ── Contact ─────────────────────────────────────────── */
.contact-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; padding: 64px; }
.contact-copy { display: grid; gap: 18px; }
.contact-copy p { font-size: 18px; color: var(--text); }
/* Contact and the industry pages' closing box share the hero's night, so the page
   opens and closes in the Ember gradient. */
.contact-box.stage, .cta-box.stage { background: var(--ember-night); color: var(--on-ink); }
.contact-box h2, .cta-box h2 { color: #fff; }
.contact-box .contact-copy p, .cta-box p { color: #ddd5ec; }
.contact-box .eyebrow { color: #f6a77e; }
.cta-box .btn-line { border-color: rgba(255,255,255,.28); color: #fff; background: transparent; }
.contact-form { background: var(--card); border-radius: 20px; padding: 28px; box-shadow: var(--shadow-pic); display: grid; gap: 12px; }
.form-2col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field { width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; font: 400 16px/1.4 var(--font-body); color: var(--ink); background: var(--paper); }
.field:focus { outline: none; border-color: var(--ember); background: #fff; box-shadow: 0 0 0 4px var(--ember-50); }
textarea.field { resize: vertical; min-height: 130px; }
.form-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.form-foot .btn { border: 0; }
#cf-status { font-size: 14px; color: var(--muted); }
#cf-done { display: none; text-align: center; padding: 24px 8px; font-size: 17px; color: var(--ink); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; }

/* ── Footer ──────────────────────────────────────────── */
.footer { background: linear-gradient(180deg, var(--night-1), var(--night-0)); color: var(--on-ink-muted); padding-block: 56px 48px; font-size: 14px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 24px; }
.footer .brand { color: #fff; }
.footer .brand-co { color: var(--on-ink-muted); }
.footer .brand-prod { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer a { color: var(--on-ink); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer strong { color: var(--on-ink); font-weight: 600; }

/* ── Character form (homepage) ───────────────────────── */
.character { margin-top: 24px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 48px; }
.character-copy { display: grid; gap: 16px; align-content: start; }
.character-copy h3 { font-size: clamp(26px, 2.6vw, 34px); }
/* The CosmicForge blue (#2f5bea), with the character and its bubbles on it
   directly: the picture is transparent, so no frame and no shadow. */
.character-pic { margin: 0; border-radius: var(--r-md); background: radial-gradient(120% 80% at 80% 0%, #4d76f2 0%, transparent 60%), linear-gradient(165deg, #2f5bea, #2147c4); display: flex; justify-content: center; padding: 32px 28px 0; overflow: hidden; }
.character-pic img { width: 100%; max-width: 400px; display: block; }

/* ── Industries (homepage) ───────────────────────────── */
.industry-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.industry { display: flex; flex-direction: column; gap: 14px; padding: 26px 24px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .2s, border-color .2s; }
.industry:hover { transform: translateY(-3px); border-color: rgba(22,18,29,.28); }
.industry strong { font-family: var(--font-display); font-size: 22px; font-weight: 640; color: var(--ink); letter-spacing: -0.015em; line-height: 1.15; }
.industry > span { color: var(--muted); font-size: 15px; }
.chat-chips { display: grid; gap: 6px; justify-items: start; }
.chat-chips span { font-size: 14px; line-height: 1.35; padding: 7px 12px; border-radius: 14px 14px 14px 4px; background: var(--paper-2); color: var(--ink); }
.industry .go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--ember-deep); }
.industry .go svg { width: 16px; height: 16px; transition: transform .2s; }
.industry:hover .go svg { transform: translateX(3px); }

/* ── Industry pages (/for/<industry>/) ───────────────── */
.q-grid, .cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.q-card, .card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px; display: grid; gap: 14px; align-content: start; }
.q-card h3, .card h3 { font-size: 20px; }
.card p { color: var(--muted); font-size: 16px; }
.card .checks li { font-size: 15.5px; }
/* Small chat examples inside the how-it-works cards. */
.card-chat { padding: 4px 0 0; font-size: 14.5px; margin-top: auto; }
.card-chat .bub { max-width: 92%; }
.card-chat .bub.a { background: var(--ember-deep); color: #fff; }
:root[data-theme="dark"] .card-chat .bub.b { background: rgba(255,255,255,.08); }
:root[data-theme="dark"] .card-chat .bub.v { background: rgba(255,255,255,.16); }
:root[data-theme="dark"] .card-chat .live-status { background: rgba(31,157,90,.18); color: #7ee2a8; }
.flow { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; }
.flow li { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15.5px; color: var(--ink); }
.flow li span { padding: 11px 18px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
.flow li:last-child span { background: var(--ink); border-color: var(--ink); color: #fff; }
.flow li + li::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--ember); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split-copy { display: grid; gap: 18px; align-content: start; justify-items: start; }
.split-copy p { font-size: 18px; }
.ink .split-copy p { color: var(--on-ink-muted); }
.split-pic { margin: 0; border-radius: var(--r-lg); padding: 40px 40px 0; display: flex; justify-content: center; align-items: flex-start; height: 500px; overflow: hidden; }
.split-pic img { width: 100%; max-width: 340px; border-radius: 16px 16px 0 0; box-shadow: var(--shadow-pic); }
.try-list { list-style: none; display: grid; gap: 10px; }
.try-list li { display: flex; gap: 12px; align-items: center; font-size: 16.5px; }
.try-list li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ember); }
.ink .try-list li { color: var(--on-ink); }
.demo-also { font-size: 15px; color: var(--on-ink-muted); }
.demo-also a { color: #fff; font-weight: 600; text-underline-offset: 4px; }
.teaser { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; background: var(--ember-night); color: var(--on-ink); border-radius: var(--r-lg); padding: 48px; }
.teaser h2 { color: #fff; font-size: clamp(30px, 3.6vw, 44px); }
.teaser p { color: var(--on-ink-muted); max-width: 580px; margin-top: 12px; }
.teaser .btn { justify-self: start; }
.cta-box { display: grid; justify-items: center; text-align: center; gap: 20px; padding: 80px 32px; }
.cta-box p { font-size: 18px; max-width: 520px; }
.cta-box .hero-actions { justify-content: center; }
.faq-more { font-size: 16px; color: var(--muted); }
.faq-more a { color: var(--ember-deep); font-weight: 600; }

/* ── Dark mode ──────────────────────────────────────────
   Oliver, 6 Oct 2026: the dark Ember look (sans headings, lilac second line,
   dark nav) and the cool light look "as a dark mode and light mode". The page
   follows the device; the nav's switch overrides it and is remembered
   (localStorage em-site-theme, read before paint by the inline script in
   <head>). Light is the base above; this block only redefines. Pictures of
   the product and the drawn mocks keep their own light colours. */
:root[data-theme="dark"] {
  --font-display: 'Bricolage Grotesque', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --ink: #ffffff;
  --text: #d9d2ea;
  --muted: #a99fbb;
  --paper: #110c1e;
  --paper-2: #170f2a;
  --card: #1c1531;
  --line: rgba(255,255,255,.09);
  --shadow-card: none;
  color-scheme: dark;
}
:root[data-theme="dark"] h1, :root[data-theme="dark"] h2, :root[data-theme="dark"] h3, :root[data-theme="dark"] h4 { font-weight: 640; letter-spacing: -0.02em; line-height: 1.08; }
:root[data-theme="dark"] .hero h1 { font-weight: 650; letter-spacing: -0.035em; line-height: 1.02; font-size: clamp(42px, 5.4vw, 68px); }
:root[data-theme="dark"] .hero h1 .soft { background: none; -webkit-text-fill-color: currentColor; color: var(--lilac-text); }
:root[data-theme="dark"] .brand-co { letter-spacing: .4756em; }
:root[data-theme="dark"] .eyebrow, :root[data-theme="dark"] .industry .go, :root[data-theme="dark"] .faq-item a { color: #f6a77e; }

/* nav: the dark glass of the Ember look, light logo bars (the E's top bar stays ember) */
:root[data-theme="dark"] .nav { background: rgba(13,9,24,.88); border-bottom-color: rgba(255,255,255,.08); }
:root[data-theme="dark"] .nav-link { color: #d9d2ea; }
:root[data-theme="dark"] .nav-link:hover { background: rgba(255,255,255,.08); color: #fff; }
:root[data-theme="dark"] .nav .brand-co { color: #b4aabf; }
:root[data-theme="dark"] .nav .brand svg rect:not(:first-child) { fill: #FAF7F3; }

/* buttons: the flat ember of the Ember look */
:root[data-theme="dark"] .btn { border-radius: 14px; }
:root[data-theme="dark"] .btn-ember { background: var(--ember); }
:root[data-theme="dark"] .btn-ember:hover { background: var(--ember-deep); }
:root[data-theme="dark"] .btn-line, :root[data-theme="dark"] .price-cta { border-color: rgba(255,255,255,.22); color: #fff; background: transparent; }
:root[data-theme="dark"] .btn-line:hover, :root[data-theme="dark"] .price-cta:hover { border-color: #fff; }
:root[data-theme="dark"] .price-card.lead .price-cta { background: var(--ember); border-color: var(--ember); }
:root[data-theme="dark"] .btn-light { background: #fff; color: #16121d; }
:root[data-theme="dark"] .price-cta, :root[data-theme="dark"] .price-card.lead .price-cta { border-radius: 14px; }

/* surfaces that used ink as a fill, or light literals */
:root[data-theme="dark"] .tab[aria-selected="true"], :root[data-theme="dark"] .flow li:last-child span { background: var(--ember); border-color: var(--ember); color: #fff; }
:root[data-theme="dark"] .mock-code { background: #0b0816; }
:root[data-theme="dark"] .price-beta-strip { background: rgba(139,92,246,.14); border-color: rgba(139,92,246,.32); color: var(--text); }
:root[data-theme="dark"] .faq-item[open] { border-color: rgba(255,255,255,.22); }
:root[data-theme="dark"] .faq-item summary::after { background: rgba(255,255,255,.08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v10M5 10h10' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
:root[data-theme="dark"] .industry:hover { border-color: rgba(255,255,255,.28); }

/* picture stages: the night with violet and ember glows instead of lavender */
:root[data-theme="dark"] .stage, :root[data-theme="dark"] .next-pics, :root[data-theme="dark"] .tint-1, :root[data-theme="dark"] .tint-3 { background: radial-gradient(90% 70% at 100% 0%, rgba(233,99,46,.22) 0%, transparent 62%), radial-gradient(80% 70% at 0% 100%, rgba(139,92,246,.32) 0%, transparent 64%), #1a1230; }
:root[data-theme="dark"] .tint-2 { background: radial-gradient(90% 80% at 50% 0%, rgba(47,125,79,.35) 0%, transparent 70%), #13201a; }
:root[data-theme="dark"] .tint-4 { background: radial-gradient(90% 80% at 50% 0%, rgba(43,116,200,.35) 0%, transparent 70%), #121a2b; }
:root[data-theme="dark"] .tint-5 { background: radial-gradient(90% 80% at 50% 0%, rgba(190,60,110,.35) 0%, transparent 70%), #241320; }
:root[data-theme="dark"] .character-pic { background: radial-gradient(120% 80% at 80% 0%, #4d76f2 0%, transparent 60%), linear-gradient(165deg, #2f5bea, #2147c4); }

/* the drawn mocks and the enquiry card are pictures: they keep the light palette */
:root[data-theme="dark"] .browser, :root[data-theme="dark"] .enquiry-card, :root[data-theme="dark"] .step-visual {
  --ink: #16121d; --text: #3a3345; --muted: #6e6679; --paper: #f6f5fa; --paper-2: #eeecf5; --card: #ffffff; --line: #e3e0ec;
  color: var(--text);
}
:root[data-theme="dark"] .enquiry-who { font-family: var(--font-display); }

/* ── Display and accessibility panel (bottom-left corner) ── */
.a11y { position: fixed; left: 20px; bottom: 20px; z-index: 60; }
/* The accessibility blue with a white ring and a thin dark ring outside it, so it
   stands out on the light grounds and the dark ones, and never reads as the
   orange chat launcher (Oliver, 6 Oct 2026). */
.a11y-btn { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #fff; background: #1d5ce6; border: 0; box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px rgba(13,9,24,.55), 0 12px 26px -8px rgba(13,9,24,.55); }
.a11y-btn:hover { background: #1747b8; }
.a11y-btn:focus-visible { outline: 3px solid var(--ember); outline-offset: 5px; }
.a11y-btn svg { width: 24px; height: 24px; }
.a11y-panel { position: absolute; left: 0; bottom: 60px; width: 290px; display: grid; gap: 14px; padding: 16px; border-radius: 18px; background: var(--card); color: var(--text); border: 1px solid var(--line); box-shadow: 0 24px 50px -20px rgba(22,18,29,.45); }
.a11y-panel[hidden] { display: none; }
.a11y-head { display: flex; align-items: center; justify-content: space-between; }
.a11y-head b { font-family: var(--font-display); font-size: 18px; color: var(--ink); }
.a11y-close { width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--paper-2); color: var(--ink); font-size: 18px; line-height: 1; cursor: pointer; }
.a11y-group { display: grid; gap: 7px; }
.a11y-group > span { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.seg { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--paper-2); }
.seg button { flex: 1; min-height: 36px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font: 600 13.5px/1 var(--font-body); cursor: pointer; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(22,18,29,.14); }
:root[data-theme="dark"] .seg button[aria-pressed="true"] { background: rgba(255,255,255,.14); }
:root[data-theme="dark"] .a11y-close { background: rgba(255,255,255,.1); }
/* Larger text: the page content scales as browser zoom would, so layouts reflow. */
:root[data-text="large"] main, :root[data-text="large"] .footer { zoom: 1.14; }
/* Reduced motion, chosen on the page as well as in the device's settings. */
:root[data-motion="reduce"] *, :root[data-motion="reduce"] *::before, :root[data-motion="reduce"] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero-stage { max-width: 640px; width: 100%; justify-self: center; }
  .panel { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .faq-side { position: static; }
  .contact-box { grid-template-columns: minmax(0, 1fr); padding: 44px; }
  .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .next-feature { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .visitor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin-inline: auto; }
  .visitor-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; } /* three never leaves an orphan */
  .character, .split { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .teaser { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .section { padding-block: 80px; }
  .steps, .visitor-grid, .demo-grid, .demo-more, .price-grid, .soon-grid, .controls, .q-grid, .cards3 { grid-template-columns: minmax(0, 1fr); }
  .visitor-grid { max-width: 460px; margin-inline: auto; }
  .visitor-grid.three { grid-template-columns: minmax(0, 1fr); max-width: 460px; } /* the compound selector outranks the plain one above */
  .demo-grid { max-width: 520px; margin-inline: auto; }
  .price-grid { max-width: 480px; margin-inline: auto; }
}
@media (max-width: 560px) {
  :root { --gutter: 18px; }
  body { font-size: 16px; }
  .nav-inner { height: 62px; gap: 12px; }
  .brand { --bs: .83; }
  /* the scaled fonts round differently; measured 0.75px short at the baseline */
  .brand svg { height: calc(var(--bs) * 31.75px + .75px); transform: translateY(calc(var(--bs) * -1.8px + .75px)); }
  .nav-actions .nav-btn { padding: 0 12px; font-size: 14px; }
  .nav-actions .btn-line { display: none; }
  .hero { padding-block: 40px 64px; }
  .hero-lead { font-size: 18px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-stage { padding: 44px 16px 120px; aspect-ratio: auto; }
  .hero-widget { margin-left: 12%; width: 86%; }
  .enquiry-card { left: 12px; bottom: 16px; width: 80%; padding: 13px 14px; }
  .section-head { margin-bottom: 40px; }
  .section-head p { font-size: 17px; }
  .shot-stage { height: 400px; }
  .panel-pic { padding: 16px; }
  .live { grid-template-columns: minmax(0, 1fr); }
  .tabs { gap: 2px; padding: 4px; }
  .tab { padding: 9px 10px; font-size: 14px; }
  .demo-card { grid-template-columns: 116px minmax(0, 1fr); grid-template-rows: none; }
  .demo-pic { height: auto; min-height: 150px; padding: 14px 0 0 14px; }
  .demo-tag { display: none; }
  .a11y { left: 14px; bottom: 14px; }
  .a11y-panel { width: min(300px, calc(100vw - 28px)); }
  .next-feature { padding: 22px 18px; }
  .next-pics { height: 300px; padding: 18px 12px 0; gap: 10px; }
  .next-feature.layouts .next-pics { height: auto; padding: 16px 10px; }
  .next-pics img { width: 46%; }
  .next-pics img:nth-child(3) { display: none; }
  .demo-pic img { border-radius: 10px 0 0 0; }
  .demo-meta { padding: 16px; align-content: center; }
  .demo-meta strong { font-size: 17px; }
  .demo-ask { font-size: 14px; }
  .demo-here { grid-template-columns: none; }
  .live-list { border-right: 0; border-bottom: 1px solid var(--line); }
  .form-2col { grid-template-columns: minmax(0, 1fr); }
  .contact-box { padding: 28px 18px; }
  .contact-form { padding: 20px; }
  .control { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .price-card { padding: 26px; }
  .industry-grid { grid-template-columns: minmax(0, 1fr); }
  .character { padding: 24px 18px; }
  .character-pic { padding: 18px; }
  .split-pic { height: 420px; padding: 24px 20px 0; }
  .teaser { padding: 32px 22px; }
  .cta-box { padding: 48px 18px; }
  .flow li span { padding: 9px 14px; font-size: 14.5px; }
  .flow { gap: 8px; }
  .flow li + li::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
