/* Version D1 · Violet hour (purple set, built from Version D by tools/make_purple.py; edit the sources there).
   Violet hour: dark and light looks, feature icons, apps, the AI cost section, the assistant dashboard and scrolling previews. */
:root {
  color-scheme: dark;
  --ground: #0b0a10;
  --ground-0: rgba(11, 10, 16, 0);
  --head-bg: #0c0b11;
  --text: #f3f1f8;
  --text-2: #aca8bb;
  --text-3: #908ca1;
  --line: rgba(222, 212, 255, .12);
  --line-2: rgba(222, 212, 255, .2);
  --panel: rgba(17, 15, 25, .82);
  --panel-solid: #13121a;
  --faq-bg: rgba(11, 10, 16, .6);
  --accent: #bba8ff;
  --accent-line: #a48cff;
  --mark: #c4b2ff;
  --tick: #a99dd6;
  --btn: #f3f1f8;
  --btn-text: #13111a;
  --btn-hover: #ffffff;
  --ghost-line: rgba(222, 212, 255, .3);
  --ghost-hover: rgba(187, 168, 255, .1);
  --bar-track: rgba(255, 255, 255, .06);
  --bar-them: #6e6a7a;
  --bar-us: #bba8ff;
  --key-line: rgba(187, 168, 255, .5);
  --input-bg: #0b0a10;
  --placeholder: #7c778f;
  --focus-ring: rgba(187, 168, 255, .24);
  --menu-bg: #0c0b11;
  --device: #1b1a21;
  --device-2: #16151b;
  --device-line: rgba(255, 255, 255, .14);
  --device-line-2: rgba(255, 255, 255, .18);
  --deck: linear-gradient(180deg, #4b4a55 0%, #2b2a31 40%, #17161b 100%);
  --deck-notch: #17161b;
  --tile-0: #2b2933;
  --tile-1: #bcb8c8;
  --tile-2: #6f6b7c;
  --tile-3: #a78bfa;
  --shadow-a: rgba(0, 0, 0, .9);
  --shadow-b: rgba(0, 0, 0, .95);
  --ico: #d9ccff;
  --ico-bg: linear-gradient(145deg, rgba(139, 92, 246, .3), rgba(139, 92, 246, .08));
  --ico-line: rgba(196, 181, 253, .24);
  --ico-glow: rgba(139, 92, 246, .5);
  --backdrop: radial-gradient(40% 44% at 73% 44%, rgba(134, 100, 255, .2), rgba(134, 100, 255, 0) 70%), radial-gradient(70% 40% at 55% 112%, rgba(86, 58, 196, .09), rgba(86, 58, 196, 0) 70%), linear-gradient(180deg, #09080e 0%, #0c0b12 50%, #121019 100%);
}
:root[data-look="light"] {
  color-scheme: light;
  --ground: #f4f2f9;
  --ground-0: rgba(244, 242, 249, 0);
  --head-bg: #f7f5fb;
  --text: #15121f;
  --text-2: #4d4860;
  --text-3: #6b667e;
  --line: rgba(40, 28, 90, .12);
  --line-2: rgba(40, 28, 90, .2);
  --panel: rgba(255, 255, 255, .82);
  --panel-solid: #ffffff;
  --faq-bg: rgba(255, 255, 255, .55);
  --accent: #6d3fe0;
  --accent-line: #8b5cf6;
  --mark: #8b5cf6;
  --tick: #6d3fe0;
  --btn: #15121f;
  --btn-text: #ffffff;
  --btn-hover: #2c2640;
  --ghost-line: rgba(21, 18, 31, .26);
  --ghost-hover: rgba(109, 63, 224, .07);
  --bar-track: rgba(21, 18, 31, .07);
  --bar-them: #b7b2c6;
  --bar-us: #6d3fe0;
  --key-line: rgba(109, 63, 224, .45);
  --input-bg: #ffffff;
  --placeholder: #8f8aa0;
  --focus-ring: rgba(109, 63, 224, .2);
  --menu-bg: #f7f5fb;
  --device: #24212c;
  --device-2: #1f1c26;
  --device-line: rgba(0, 0, 0, .16);
  --device-line-2: rgba(0, 0, 0, .2);
  --deck: linear-gradient(180deg, #d4d0dd 0%, #aea9bc 40%, #928da2 100%);
  --deck-notch: #827d93;
  --tile-0: #e3e0ec;
  --tile-1: #3b3552;
  --tile-2: #8b85a0;
  --tile-3: #8b5cf6;
  --shadow-a: rgba(40, 28, 90, .32);
  --shadow-b: rgba(40, 28, 90, .36);
  --ico: #6d3fe0;
  --ico-bg: linear-gradient(145deg, rgba(139, 92, 246, .16), rgba(139, 92, 246, .05));
  --ico-line: rgba(109, 63, 224, .18);
  --ico-glow: rgba(139, 92, 246, .22);
  --backdrop: radial-gradient(50% 50% at 73% 44%, rgba(139, 92, 246, .13), rgba(139, 92, 246, 0) 70%), radial-gradient(60% 45% at 15% 90%, rgba(139, 92, 246, .06), rgba(139, 92, 246, 0) 70%), linear-gradient(180deg, #f7f5fb 0%, #f1eef8 55%, #e9e5f3 100%);
  --tld: #6b6480;
}

/* ---------- shared by the purple set (D1–D8). Source: tools/purple/base.css; colours come from the tokens above. ----------
   Layout (from Version D): a fixed WebGL canvas behind everything; on desktop the text column is on the left and the
   formation on the right; on phones each scene section opens with a transparent window (.gap) that shows the scene,
   then the text sits on solid ground. All scroll choreography is under .js.motion. */
:root {
  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-text: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --head-h: 64px;
  --col: min(600px, 44vw);
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--ground); }
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font: 400 18px/1.55 var(--f-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 6px; }
section[id], main[id] { scroll-margin-top: calc(var(--head-h) + 8px); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--btn); color: var(--btn-text); padding: 10px 14px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- backdrop, light, scene ---------- */
/* Everything here is a still gradient or a composited layer: no blur filters, no repaint while scrolling. */
.backdrop { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: var(--backdrop); }
#scene { position: fixed; left: 0; top: 0; width: 100%; height: 100vh; z-index: 1; pointer-events: none; display: none; }
.gl #scene { display: block; }
.scene-tag {
  position: fixed; right: max(24px, env(safe-area-inset-right, 0px)); bottom: 22px; z-index: 2; display: none;
  gap: 14px; font: 500 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3);
  pointer-events: none;
}
.gl .scene-tag { display: flex; }
.scene-tag-f { color: var(--text-2); }
.scene-tag-f::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 1px; background: var(--mark); margin-right: 8px; vertical-align: 1px; }
main, .site-foot { position: relative; z-index: 3; }

/* ---------- shared bits ---------- */
.inner {
  max-width: 1320px; margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
@media (min-width: 900px) { .inner { padding-left: max(56px, env(safe-area-inset-left, 0px)); padding-right: max(56px, env(safe-area-inset-right, 0px)); } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px;
  border-radius: 999px; background: var(--btn); color: var(--btn-text); text-decoration: none;
  font: 600 16px/1 var(--f-text); letter-spacing: -.005em; border: 1px solid var(--btn); cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--ghost-line); }
.btn-ghost:hover { background: var(--ghost-hover); border-color: var(--ghost-line); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; white-space: nowrap; }

.eyebrow, .tag, .when, .source, .note, .h3-label {
  font: 500 13px/1.45 var(--f-mono); letter-spacing: .04em; color: var(--text-2);
}
.eyebrow { color: var(--eyebrow, var(--text-2)); }
.h1 { font: 600 17px/1.35 var(--f-text); letter-spacing: -.005em; color: var(--text); margin-top: 18px; }
.display {
  font-family: var(--f-display); font-weight: 680; font-stretch: 120%;
  font-size: clamp(54px, min(6.9vw, 11.6vh), 104px); line-height: .94; letter-spacing: -.035em;
  margin-top: 18px; color: var(--display, var(--text));
}
.h2 {
  font-family: var(--f-display); font-weight: 650; font-stretch: 112%;
  font-size: clamp(34px, 3.6vw, 54px); line-height: 1.02; letter-spacing: -.028em; color: var(--text);
  text-wrap: balance;
}
.intro { margin-top: 22px; font-size: 19px; color: var(--text-2); max-width: 36em; }
.lede { margin-top: 26px; font-size: 19px; color: var(--text-2); max-width: 31em; }
h3 { font: 600 18px/1.3 var(--f-text); letter-spacing: -.01em; color: var(--text); }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.panel p, .rows p, .case-text p, .process p, .faq p { color: var(--text-2); font-size: 16px; line-height: 1.55; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--head-bg);
  border-bottom: 1px solid var(--line);
}
/* in a phone app that runs the page edge to edge, paint the band above the sticky header (zero height elsewhere) */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: var(--head-bg); pointer-events: none; }
.head-row { display: flex; align-items: center; gap: 28px; height: var(--head-h); }
.brand {
  font-family: var(--f-display); font-weight: 700; font-stretch: 118%; font-size: 21px; letter-spacing: -.02em;
  text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap;
}
.brand [data-brand-tld], .foot-brand [data-brand-tld] { color: var(--tld, var(--text-2)); }
/* the Rising W mark (owner's logo, 13 Nov 2026) sits beside the wordmark */
.brand-mark { display: block; flex: none; width: 26px; height: 26px; margin-right: 9px; }
.menu { margin-left: auto; }
.menu > summary { display: none; }
.menu nav { display: flex; gap: 4px; }
.menu nav a {
  text-decoration: none; font: 500 14.5px/1 var(--f-text); color: var(--text-2); padding: 12px 12px; border-radius: 8px;
  transition: color .2s;
}
.menu nav a:hover { color: var(--text); }

/* ---------- hero ---------- */
.hero-stage { position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px; padding-top: 72px; padding-bottom: 48px; }
.hero-copy { max-width: 660px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.art { width: 100%; height: auto; max-width: 640px; justify-self: end; }
.gl .art { visibility: hidden; }
.art .tl-0 { fill: var(--tile-0); } .art .tl-1 { fill: var(--tile-1); } .art .tl-2 { fill: var(--tile-2); } .art .tl-3 { fill: var(--tile-3); }
.facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, calc(var(--col) / 2 - 14px))); column-gap: 28px; justify-content: start;
  max-width: 1320px; margin: 0 auto;
  padding-left: max(56px, env(safe-area-inset-left, 0px)); padding-right: max(56px, env(safe-area-inset-right, 0px));
  padding-bottom: 84px;
}
.facts li {
  position: relative; border-top: 1px solid var(--line-2); padding: 12px 0 14px 18px; font-size: 15px; line-height: 1.45; color: var(--text-2);
}
.facts li::before { content: ""; position: absolute; left: 0; top: 19px; width: 7px; height: 7px; background: var(--mark); border-radius: 2px; }
.gap { display: none; }

/* ---------- bands ---------- */
.band { padding: 18vh 0; overflow-x: clip; }
.col { max-width: var(--col); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 40px; }
.grid2 .panel { padding: 22px 22px 24px; }
.grid2 .panel p { margin-top: 8px; font-size: 15.5px; }
.incl { margin-top: 48px; }
.h3-label { font-weight: 500; text-transform: uppercase; letter-spacing: .1em; font-size: 12.5px; }
.checks { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.checks li, .ticks li, .why li {
  position: relative; padding: 11px 0 11px 30px; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.45; color: var(--text);
}
.checks li::before, .ticks li::before {
  content: ""; position: absolute; left: 2px; top: 16px; width: 14px; height: 8px;
  border-left: 1.6px solid var(--tick); border-bottom: 1.6px solid var(--tick); transform: rotate(-45deg);
}
.rows { margin-top: 40px; padding: 4px 26px; }
.rows article { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.rows article:first-child { border-top: 0; }
.rows h3 { font-size: 16.5px; }
.rows p { font-size: 15.5px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.stats-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat { border-top: 1px solid var(--line-2); padding-top: 18px; }
.stat b, .cmp-fig b {
  display: block; font-family: var(--f-display); font-weight: 650; font-stretch: 115%; font-size: clamp(38px, 3.6vw, 52px);
  line-height: 1; letter-spacing: -.03em; color: var(--figure, var(--text)); white-space: nowrap;
}
.stat span { display: block; margin-top: 12px; font-size: 15px; line-height: 1.45; color: var(--text-2); }
.source { margin-top: 28px; font-size: 12px; color: var(--text-3); max-width: 46em; }
.h2-sub { font-size: clamp(30px, 3vw, 44px); }
.sys { padding-top: 16vh; }
.steps { margin-top: 32px; counter-reset: st; }
.steps li {
  counter-increment: st; position: relative; padding: 20px 0 20px 64px; border-top: 1px solid var(--line);
  font-size: 17px; color: var(--text-2); line-height: 1.5; transition: color .4s;
}
.steps li::before {
  content: counter(st, decimal-leading-zero); position: absolute; left: 0; top: 21px;
  font: 500 13px/1.6 var(--f-mono); color: var(--text-3); letter-spacing: .06em; transition: color .3s;
}
.steps li strong { color: var(--text); font-weight: 600; }
.steps li.on::before { color: var(--accent); }
.proof { margin-top: 28px; padding: 20px 24px; border-left: 2px solid var(--accent-line); background: var(--panel); color: var(--text); font-size: 17px; border-radius: 0 10px 10px 0; }
.cmp { margin-top: 24px; padding: 26px; }
.cmp-row + .cmp-row { margin-top: 22px; }
.cmp-fig { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.cmp-fig b { font-size: clamp(30px, 2.6vw, 40px); }
.cmp-fig span { font-size: 15px; color: var(--text-2); }
.bar { margin-top: 12px; height: 10px; border-radius: 3px; background: var(--bar-track); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w); background: var(--bar-them); border-radius: 3px; transform-origin: left center; }
.cmp-us .bar i { background: var(--bar-us); }
.cmp .note { margin-top: 22px; font-size: 12.5px; color: var(--text-3); }

/* ---------- dense, full-width sections ---------- */
.band-wide { padding: 14vh 0; }
.head-wide { max-width: 760px; margin-bottom: 44px; }
.head-row2 { display: flex; align-items: end; justify-content: space-between; gap: 24px; max-width: none; }
.price-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.price-grid-2 { margin-top: 12px; grid-template-columns: 1fr 1fr 1fr; }
.price { padding: 26px 24px 22px; background: var(--panel-solid); }
.price .amt {
  margin: 14px 0 10px; font-family: var(--f-display); font-stretch: 112%; font-weight: 650; font-size: 30px; line-height: 1.05;
  letter-spacing: -.025em; color: var(--figure, var(--text));
}
.price-key { border-color: var(--key-line); }
.ticks { margin-top: 18px; }
.ticks li { font-size: 15px; padding-top: 9px; padding-bottom: 9px; }
.ticks li::before { top: 14px; }
.extras { padding: 26px 24px; display: flex; flex-direction: column; gap: 14px; justify-content: center; background: var(--panel-solid); }
.extras p { color: var(--text); font-size: 16px; padding-left: 18px; position: relative; }
.extras p::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; background: var(--mark); border-radius: 1px; }
.why { margin-top: 56px; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; }
.why ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; }
.why li { padding-left: 0; font-size: 16px; color: var(--text); border-top: 1px solid var(--line-2); padding-top: 16px; }

/* our work: a laptop with one, two or three phones in front */
.case { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 64px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); perspective: 1600px; }
.case-flip .devices { order: 2; }
.case-text { max-width: 460px; }
.case-text h3 { font-family: var(--f-display); font-stretch: 112%; font-weight: 650; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.05; letter-spacing: -.025em; margin-top: 12px; }
.case-text p:not(.tag) { margin-top: 14px; }
.case-text p.tag { font-size: 13.5px; letter-spacing: .05em; }
.case-text .result { color: var(--text); font-size: 16px; border-top: 1px solid var(--line-2); padding-top: 14px; margin-top: 18px; }
.parts { margin-top: 16px; }
.parts li { position: relative; padding: 10px 0 10px 18px; border-top: 1px solid var(--line); font-size: 15.5px; line-height: 1.5; color: var(--text-2); }
.parts li::before { content: ""; position: absolute; left: 0; top: 19px; width: 6px; height: 6px; border-radius: 1px; background: var(--mark); }
.parts b { color: var(--text); font-weight: 600; }
.devices { position: relative; padding: 0 9% 4% 0; transform-origin: 50% 80%; }
.devices-2 { padding: 0 13% 8% 0; }
.devices-3 { padding: 0 8% 14% 0; }
.laptop .lid {
  background: var(--device); border-radius: 14px 14px 4px 4px; padding: 2.1% 2.1% 2.6%;
  border: 1px solid var(--device-line);
  box-shadow: 0 40px 80px -30px var(--shadow-a);
}
.laptop .lid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 3px; background: linear-gradient(180deg, #e9e9ec 0 9%, #f4f4f6 9%); }
.laptop .deck {
  height: 14px; margin: 0 -6%; border-radius: 2px 2px 12px 12px;
  background: var(--deck);
  position: relative;
}
.laptop .deck::before { content: ""; position: absolute; left: 42%; right: 42%; top: 0; height: 5px; background: var(--deck-notch); border-radius: 0 0 6px 6px; }
.phone {
  position: absolute; right: 0; bottom: 0; width: 24%;
  background: var(--device-2); border-radius: 22% / 10.5%; padding: 2.4%; border: 1px solid var(--device-line-2);
  box-shadow: 0 30px 60px -20px var(--shadow-b);
}
.phone img { width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: 19% / 9%; background: linear-gradient(180deg, #e9e9ec 0 7%, #f4f4f6 7%); }
.devices-2 .phone { width: 20%; }
.devices-2 .p1 { right: 16%; bottom: 0; }
.devices-2 .p2 { right: 0; bottom: 6%; }
.devices-3 .phone { width: 17.5%; }
.devices-3 .p1 { right: 30%; bottom: 0; }
.devices-3 .p2 { right: 15%; bottom: 5%; }
.devices-3 .p3 { right: 0; bottom: 10%; }
.note-c { margin-top: 24px; }

/* process */
.process { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-2); }
.process li { padding: 22px 22px 0 0; position: relative; }
.process .num { display: block; font: 500 12px/1 var(--f-mono); color: var(--text-3); letter-spacing: .08em; margin-bottom: 26px; }
.process .when { color: var(--text-2); }
.process h3 { margin-top: 8px; font-size: 19px; }
.process p:not(.when) { margin-top: 10px; font-size: 15.5px; }
.process + .note { margin-top: 36px; }

/* faq */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 56px; align-items: start; }
.faq details { border-top: 1px solid var(--line-2); background: var(--faq-bg); }
.faq details:last-child { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px; margin-right: 4px;
  background: linear-gradient(var(--text), var(--text)) center / 14px 1.6px no-repeat, linear-gradient(var(--text), var(--text)) center / 1.6px 14px no-repeat;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq h3 { font-size: 19px; }
.faq details p { padding: 0 48px 24px 0; font-size: 16.5px; }

/* blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.post { padding: 24px; background: var(--panel-solid); }
.post h3 { margin-top: 12px; font-size: 19px; }
.post p:not(.tag) { margin-top: 10px; font-size: 15.5px; }
.link-more { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line-2); }
.link-more::after { content: "→"; margin-left: 8px; }

/* check form */
.form { margin-top: 36px; padding: 30px; display: grid; gap: 8px; background: var(--panel-solid); }
.form label { font-size: 14px; color: var(--text-2); margin-top: 10px; }
.form label:first-child { margin-top: 0; }
.form input {
  font: 400 17px/1.3 var(--f-text); color: var(--text); background: var(--input-bg); border: 1px solid var(--line-2);
  border-radius: 10px; padding: 14px 16px; min-height: 50px; width: 100%;
}
.form input::placeholder { color: var(--placeholder); }
.form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--focus-ring); }
.form .btn { margin-top: 18px; justify-self: start; }
.thanks { color: var(--text); font-size: 16px; min-height: 0; }
.thanks:not(:empty) { margin-top: 10px; }
.alt { margin-top: 20px; color: var(--text-2); font-size: 16px; }
.alt a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; white-space: nowrap; }

/* footer */
.site-foot { border-top: 1px solid var(--line); background: var(--ground); padding: 56px 0 96px; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 2fr; gap: 32px 48px; }
.foot-brand { font-family: var(--f-display); font-weight: 700; font-stretch: 118%; font-size: 28px; letter-spacing: -.02em; }
.foot-line { margin-top: 8px; color: var(--text-2); font-size: 15px; }
.site-foot nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 20px; align-content: start; }
.site-foot nav a { text-decoration: none; color: var(--text-2); font-size: 15px; display: inline-flex; align-items: center; min-height: 40px; }
.site-foot nav a:hover { color: var(--text); }
.foot-copy { grid-column: 1 / -1; color: var(--text-3); font-size: 13px; }

/* ================= motion (JS on, motion allowed) ================= */
.js.motion .hero-track { height: 225vh; position: relative; }
.js.motion .hero-stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; }
.js.motion .hero-grid { flex: 1; padding-top: calc(var(--head-h) + 2vh); padding-bottom: 236px; min-height: 0; }
.js.motion .facts { position: absolute; left: 0; right: 0; bottom: 0; margin: 0 auto; }
.js.motion .facts li { opacity: 0; transform: translate3d(0, 24px, 0); }
/* the hero stage begins under the sticky header */
.js.motion .hero { margin-top: calc(-1 * var(--head-h)); }
.js.motion .dense .band-wide { padding: 12vh 0; }

/* ================= laptops with short screens ================= */
@media (min-width: 761px) and (max-height: 760px) {
  .js.motion .hero-grid { padding-bottom: 168px; }
  .facts { padding-bottom: 72px; grid-template-columns: repeat(4, minmax(0, calc(var(--col) / 4 - 15px))); column-gap: 20px; }
  .facts li { padding-left: 0; padding-top: 22px; }
  .facts li::before { top: 9px; }
  .display { font-size: clamp(54px, min(6.9vw, 10vh), 104px); }
  .lede { font-size: 17.5px; margin-top: 20px; }
  .ctas { margin-top: 24px; }
  .facts li { font-size: 14px; }
}

/* ================= mid widths ================= */
@media (max-width: 1100px) {
  .menu nav a { padding: 12px 8px; font-size: 14px; }
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-grid-2 { grid-template-columns: 1fr 1fr; }
  .price-grid-2 .extras { grid-column: 1 / -1; }
  .why { grid-template-columns: 1fr; gap: 16px; }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rows article { grid-template-columns: 1fr; gap: 6px; }
  .grid2 { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
  .case { gap: 44px; }
}

/* ================= phones ================= */
@media (max-width: 760px) {
  :root { --head-h: 56px; --col: 100%; --radius: 12px; }
  body { font-size: 16.5px; }
  .head-row { gap: 8px; }
  .brand { font-size: 17px; }
  .brand-mark { width: 20px; height: 20px; margin-right: 6px; }
  .btn-sm { min-height: 44px; padding: 0 11px; font-size: 13px; margin-left: auto; }
  .menu { margin-left: 0; order: 3; }
  .menu > summary {
    display: flex; align-items: center; justify-content: center; gap: 6px; list-style: none; cursor: pointer;
    min-width: 44px; min-height: 44px; border-radius: 999px; border: 1px solid var(--line-2);
  }
  .menu > summary::-webkit-details-marker { display: none; }
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .menu-ico { fill: none; stroke: var(--text); stroke-width: 1.6; stroke-linecap: round; }
  .menu nav {
    position: absolute; left: 0; right: 0; top: var(--head-h); flex-direction: column; gap: 0;
    background: var(--menu-bg); border-bottom: 1px solid var(--line);
    padding: 6px max(20px, env(safe-area-inset-right, 0px)) 14px max(20px, env(safe-area-inset-left, 0px));
  }
  .menu nav a { font-size: 18px; color: var(--text); padding: 14px 0; border-bottom: 1px solid var(--line); border-radius: 0; min-height: 48px; }
  html:not(.js) .menu nav { position: static; }

  .h1 { font-size: 15px; margin-top: 12px; }
  .display { font-size: clamp(42px, 12vw, 54px); margin-top: 12px; line-height: .96; }
  .lede, .intro { font-size: 16.5px; margin-top: 16px; }
  .h2 { font-size: clamp(30px, 8.6vw, 36px); line-height: 1.05; }
  .h2-sub { font-size: clamp(26px, 7.4vw, 32px); }
  .hero-grid { grid-template-columns: 1fr; padding-top: 40px; gap: 24px; }
  .art { max-width: 420px; justify-self: center; }
  .ctas { margin-top: 22px; gap: 10px; }
  .ctas { flex-wrap: nowrap; }
  .ctas .btn { min-height: 48px; padding: 0 16px; font-size: 14.5px; white-space: nowrap; }
  .facts { grid-template-columns: 1fr 1fr; gap: 0 18px; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
  .facts li { padding: 14px 0 18px 16px; font-size: 14.5px; }
  .facts li::before { top: 21px; }
  .band { padding: 72px 0; }
  .band-wide { padding: 64px 0; }
  .grid2 { margin-top: 28px; gap: 10px; }
  .grid2 .panel { padding: 18px; }
  .rows { margin-top: 28px; padding: 2px 18px; }
  .rows article { padding: 16px 0; }
  .stats, .stats-2 { grid-template-columns: 1fr; gap: 18px; margin-top: 32px; }
  .stat { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: baseline; padding-top: 14px; }
  .stat b { font-size: 36px; }
  .stat span { margin-top: 0; }
  .steps li { padding-left: 46px; font-size: 16px; }
  .head-wide { margin-bottom: 28px; }
  .head-row2 { flex-direction: column; align-items: start; }
  .price-grid, .price-grid-2 { grid-template-columns: 1fr; gap: 10px; }
  .price-grid-2 { margin-top: 10px; }
  .why ul { grid-template-columns: 1fr; }
  .case { grid-template-columns: 1fr; gap: 26px; padding: 40px 0; }
  .case-flip .devices { order: 0; }
  .parts li { font-size: 15px; }
  .process { grid-template-columns: 1fr; border-top: 0; }
  .process li { padding: 20px 0 20px 56px; border-top: 1px solid var(--line-2); }
  .process .num { position: absolute; left: 0; top: 24px; margin: 0; }
  .faq-grid { grid-template-columns: 1fr; gap: 8px; }
  .faq summary { padding: 18px 0; }
  .faq h3 { font-size: 17px; }
  .faq details p { padding-right: 0; }
  .blog-grid { grid-template-columns: 1fr; gap: 10px; }
  .post { padding: 20px; }
  .form { padding: 20px; }
  .form .btn { width: 100%; }
  .foot-grid { grid-template-columns: 1fr; }
  .site-foot nav { grid-template-columns: 1fr 1fr; }
  .site-foot nav a { min-height: 44px; }

  /* phones with the 3D scene: text sits on solid ground; each scene section opens with a window onto the scene */
  .gl .band:not(.band-wide) { padding: 0; }
  .gl .band:not(.band-wide) > .inner { background: var(--ground); padding-top: 4px; padding-bottom: 72px; }
  .gl .gap { display: block; height: 46svh; min-height: 290px; position: relative; }
  .gl .gap::before, .gl .gap::after { content: ""; position: absolute; left: 0; right: 0; pointer-events: none; }
  .gl .gap::before { top: 0; height: 56px; background: linear-gradient(var(--ground), var(--ground-0)); }
  .gl .gap::after { bottom: 0; height: 80px; background: linear-gradient(var(--ground-0), var(--ground)); }
  .gl .dense { background: var(--ground); }
  .gl .art, .gl .scene-tag { display: none; }
}

/* narrow phones (iPhone mini and SE are 375px): the header still fits on one line */
@media (max-width: 380px) {
  .btn-sm { padding: 0 10px; font-size: 12.5px; }
  .ctas { flex-wrap: wrap; }
  .ctas .btn { padding: 0 13px; font-size: 14px; }
}
@media (max-width: 365px) { .brand-mark { display: none; } }

/* phone hero with motion: the scene on top, the copy below on a dark fade, the facts follow the pin */
@media (max-width: 760px) {
  .js.motion .hero-track { height: 145vh; height: 145svh; margin-bottom: var(--facts-h, 330px); }
  .js.motion .hero-grid { flex: none; display: block; padding-top: 0; padding-bottom: 78px; position: relative; background: var(--ground); }
  .js.motion .hero-grid::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 72px; background: linear-gradient(var(--ground-0), var(--ground)); pointer-events: none; }
  .js.motion.gl .gap-hero { flex: 1; height: auto; min-height: 0; margin-top: var(--head-h); }
  .js.motion.gl .gap-hero::after { display: none; }
  .gl .gap-hero::before { display: none; }
  .js.motion .dense .band-wide { padding: 56px 0; }
  .js.motion .facts { top: 100%; bottom: auto; padding-top: 8px; padding-bottom: 24px; background: var(--ground); }
  .js.motion .facts li { opacity: 1; transform: none; }
}

/* ================= no WebGL: the static drawing stands in ================= */
.nogl .art { visibility: visible; }

/* ================= reduced motion ================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ================= Violet hour additions (13 Nov 2026): look switch, feature icons, section moments ================= */
/* dark / light switch: the sun shows on the dark look (go light), the moon on the light look */
:root:not([data-look="light"]) .on-light, :root[data-look="light"] .on-dark { display: none !important; }
.look-toggle {
  display: none; align-items: center; justify-content: center; gap: 12px; flex: none;
  min-width: 44px; min-height: 44px; padding: 0; border-radius: 999px; border: 1px solid var(--line-2);
  background: transparent; color: var(--text); cursor: pointer; font: 500 16px/1 var(--f-text);
  transition: background-color .2s, border-color .2s;
}
.look-toggle:hover { background: var(--ghost-hover); }
.look-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.js .look-head { display: inline-flex; margin-right: -12px; }
.look-menu { display: none; }
@media (max-width: 760px) {
  .js .look-head { display: none; }
  .js .look-menu { display: flex; justify-content: flex-start; width: 100%; min-height: 48px; padding: 14px 0; border: 0; border-radius: 0; font-size: 18px; color: var(--text); background: transparent; }
}

/* feature icons: a violet tile; the line icon draws itself when its row arrives */
.ico {
  display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px;
  color: var(--ico); background: var(--ico-bg);
  box-shadow: inset 0 0 0 1px var(--ico-line), 0 10px 28px -12px var(--ico-glow);
}
.ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.js.motion .has-ico .ico svg { opacity: 0; transition: opacity .25s linear var(--d, 0s); }
.js.motion .has-ico .ico path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.15s cubic-bezier(.45, .05, .2, 1) var(--d, 0s); }
.js.motion .has-ico.is-in .ico svg { opacity: 1; }
.js.motion .has-ico.is-in .ico path { stroke-dashoffset: 0; }
.grid2 .panel.has-ico .ico { margin-bottom: 16px; }
.rows article.has-ico { grid-template-columns: 44px 172px minmax(0, 1fr); column-gap: 18px; align-items: start; }
.rows article.has-ico h3 { padding-top: 11px; }
.rows article.has-ico p { padding-top: 10px; }
@media (max-width: 1100px) {
  .rows article.has-ico { grid-template-columns: 44px minmax(0, 1fr); row-gap: 4px; }
  .rows article.has-ico .ico { grid-row: 1 / span 2; }
  .rows article.has-ico h3, .rows article.has-ico p { grid-column: 2; }
  .rows article.has-ico h3 { padding-top: 4px; }
  .rows article.has-ico p { padding-top: 0; }
}

/* zig-zag: in these sections the 3D shape stands on the left and the text moves right (desktop) */
@media (min-width: 761px) { .flip .col { margin-left: auto; } }

/* figures count up (a ranking counts down) and the cost bars grow to scale when they arrive */
.stat b, .cmp-fig b { font-variant-numeric: tabular-nums; }
.js.motion .cmp-row .bar i { transform: scaleX(0); transition: transform 1.4s cubic-bezier(.2, .7, .2, 1) .1s; }
.js.motion .cmp-row.is-in .bar i { transform: none; }

/* how we work: a line runs through the five steps as you scroll, lighting each number */
.process { position: relative; }
.js.motion .process::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent-line), var(--accent));
  transform-origin: left center; transform: scaleX(var(--prog, 0));
}
.process li .num { transition: color .4s; }
.process li.lit .num { color: var(--accent); }
@media (max-width: 760px) { .js.motion .process::before { display: none; } }

/* ================= Final Violet hour sections (13 Nov 2026): apps, AI costs, the assistant, scrolling previews ================= */
/* apps */
.app-list { display: grid; gap: 12px; margin-top: 32px; }
.app-row { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 22px; align-items: center; padding: 16px 20px 16px 16px; }
.app-shot img { width: 112px; height: auto; border-radius: 16px; background: #e9e9ec; box-shadow: 0 18px 40px -18px var(--shadow-b); }
.app-row p.tag { font-size: 13px; }
.app-text h3 { font-family: var(--f-display); font-stretch: 112%; font-weight: 650; font-size: 22px; line-height: 1.1; letter-spacing: -.02em; margin-top: 6px; }
.app-text p:not(.tag) { margin-top: 8px; font-size: 15.5px; }
.handle { margin-top: 18px; font-size: 15.5px; color: var(--text-2); padding-left: 18px; position: relative; }
.handle::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 1px; background: var(--mark); }

/* AI costs: cheaper to build, cheaper to run */
.save-build { margin-top: 28px; padding: 20px 22px; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; }
.save-build .ico { grid-row: 1 / span 2; }
.save-build h3 { font-size: 18px; padding-top: 3px; }
.save-build p { margin-top: 6px; }
.h3-run { margin-top: 40px; font-family: var(--f-display); font-stretch: 112%; font-weight: 650; font-size: 26px; line-height: 1.1; letter-spacing: -.02em; }
.h3-run + .intro { margin-top: 10px; }
.link-on { margin-top: 26px; color: var(--accent); border-bottom-color: var(--accent-line); }

/* the assistant: the list on the left, the dashboard on the right (it stays in view while the list scrolls) */
.assist-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: start; }
.assist-list { margin-top: 30px; padding: 4px 20px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.assist-list article { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.assist-list article:first-child { border-top: 0; }
.assist-list article .ico { grid-row: 1 / span 2; }
.assist-list h3 { font-size: 16.5px; padding-top: 3px; }
.assist-list p { margin-top: 3px; font-size: 15.5px; color: var(--text-2); line-height: 1.5; }
.console-wrap { position: sticky; top: calc(var(--head-h) + 36px); }
.console {
  position: relative; border-radius: 20px; padding: 18px 18px 20px; overflow: hidden;
  background: radial-gradient(120% 70% at 18% 0%, rgba(139, 92, 246, .18), rgba(139, 92, 246, 0) 60%), var(--panel-solid);
  border: 1px solid var(--line-2); box-shadow: 0 40px 90px -40px var(--ico-glow);
  font: 500 14px/1.4 var(--f-text); color: var(--text);
}
.cs-bar { display: flex; align-items: center; gap: 10px; font: 500 11.5px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.cs-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.cs-time { margin-left: auto; }
.cs-main { display: flex; align-items: center; gap: 18px; margin: 18px 0 14px; }
.cs-orb { position: relative; width: 74px; height: 74px; flex: none; }
.cs-orb i { position: absolute; border-radius: 50%; display: block; }
.cs-core { inset: 22px; background: radial-gradient(circle at 40% 35%, #f6f2ff, #b9a5ff 45%, #7c4dff 82%); box-shadow: 0 0 26px 5px rgba(139, 92, 246, .55); }
.cs-ring { border: 1.5px solid rgba(167, 139, 250, .5); }
.cs-ring.r1 { inset: 12px; border-style: dashed; }
.cs-ring.r2 { inset: 4px; border-color: rgba(167, 139, 250, .22); border-top-color: rgba(196, 181, 253, .95); }
.cs-ring.r3 { inset: -4px; border-color: rgba(167, 139, 250, .14); }
.cs-state { font: 600 15px/1.3 var(--f-text); min-height: 20px; }
.cs-state .st { display: none; }
.cs-state .st-done { display: inline; }
.cs-talk { display: grid; gap: 8px; transition: opacity .6s; }
.cs-line { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 10px; padding: 9px 12px; border-radius: 12px; background: var(--ico-bg); border: 1px solid var(--ico-line); }
.cs-line b { font: 600 10.5px/1.7 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.cs-you { background: transparent; }
.cs-type { min-height: 1.4em; }
.cs-confirm { display: flex; gap: 8px; justify-content: flex-end; }
.cs-confirm span { min-width: 64px; text-align: center; padding: 7px 14px; border-radius: 999px; font-weight: 600; font-size: 13px; border: 1px solid var(--line-2); transition: transform .25s, box-shadow .25s; }
.cs-yes { background: var(--accent); border-color: var(--accent) !important; color: #fff; }
.cs-week { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 14px; }
.cs-day { min-height: 74px; padding: 8px 6px; border-radius: 10px; border: 1px solid var(--line); font: 500 10.5px/1.2 var(--f-mono); color: var(--text-3); letter-spacing: .06em; text-transform: uppercase; display: grid; align-content: start; gap: 7px; }
.cs-chip { display: block; padding: 5px 6px; border-radius: 7px; font: 600 10.5px/1.25 var(--f-text); font-style: normal; letter-spacing: 0; text-transform: none; color: var(--text); background: var(--ico-bg); border: 1px solid var(--ico-line); }
.cs-move {
  position: absolute; top: 29px; width: calc((100% - 24px) / 5 - 12px); left: calc(4 * ((100% - 24px) / 5 + 6px) + 6px);
  background: var(--accent); color: #fff; border-color: transparent; box-shadow: 0 6px 18px -6px var(--ico-glow);
  transition: left .9s cubic-bezier(.5, .05, .2, 1);
}
.cs-cards { display: grid; gap: 8px; margin-top: 14px; transition: opacity .6s; }
.cs-card { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); }
.cs-card b { font: 600 13px/1.3 var(--f-text); }
.cs-card span { font-size: 12.5px; color: var(--text-2); }
.cs-card .cs-upd { color: var(--accent); font-weight: 600; }
.js.motion .console:not(.s7) .cs-upd { display: none; }
/* the story (script on, motion allowed); without it the dashboard rests on its last frame */
.js.motion .console .cs-line, .js.motion .console .cs-confirm { opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
.js.motion .console.s1 .cs-you, .js.motion .console.s3 .cs-ai, .js.motion .console.s4 .cs-confirm, .js.motion .console.s6 .cs-ok { opacity: 1; transform: none; }
.cs-card { transition: border-color .5s, background-color .5s; }
.js.motion .console.s7 .cs-card:first-child { border-color: var(--accent-line); background-color: var(--ico-bg); }
.js.motion .console.s5 .cs-yes { transform: scale(.94); box-shadow: 0 0 0 5px rgba(139, 92, 246, .3); }
.js.motion .console .cs-move { left: calc(3 * ((100% - 24px) / 5 + 6px) + 6px); }
.js.motion .console.s6 .cs-move { left: calc(4 * ((100% - 24px) / 5 + 6px) + 6px); }
.js.motion .console.s8 .cs-talk { opacity: 0; }
.js.motion .console .cs-state .st-done { display: none; }
.js.motion .console:not(.s2) .st-listen, .js.motion .console.s2:not(.s3) .st-think, .js.motion .console.s3:not(.s6) .st-ask, .js.motion .console.s6 .st-done { display: inline; }
.js.motion .console.s3:not(.s4) .st-ask { display: none; }
.js.motion .console.s3:not(.s4) .st-think { display: inline; }
.console.on .cs-ring.r1 { animation: cs-spin 9s linear infinite; }
.console.on .cs-ring.r2 { animation: cs-spin 3.4s linear infinite reverse; }
.console.on.s2:not(.s4) .cs-ring.r2 { animation-duration: 1.1s; }
.console.on:not(.s2) .cs-core { animation: cs-breathe 1.1s ease-in-out infinite alternate; }
@keyframes cs-spin { to { transform: rotate(360deg); } }
@keyframes cs-breathe { from { transform: scale(.92); } to { transform: scale(1.1); } }

/* scrolling previews: the laptop screen is a window onto the site's long screenshot */
.laptop .lid .screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 3px; background: #f4f4f6; }
.laptop .lid .screen img { position: absolute; left: 0; top: 0; width: 100%; height: auto; aspect-ratio: auto; object-fit: fill; border-radius: 0; }

/* the featured blog card (the two "read" links land here) */
.post-wide {
  grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: 32px; align-items: end;
  background: radial-gradient(90% 160% at 0% 0%, rgba(139, 92, 246, .18), rgba(139, 92, 246, 0) 60%), var(--panel-solid); border-color: var(--key-line);
}
.post-wide .tag { grid-column: 1 / -1; }
.post-wide h3 { font-family: var(--f-display); font-stretch: 112%; font-weight: 650; font-size: 28px; line-height: 1.1; letter-spacing: -.02em; }
#post-ai-costs { scroll-margin-top: calc(var(--head-h) + 24px); }

/* a seventh header link: tighter on mid-size screens */
@media (max-width: 1240px) and (min-width: 761px) {
  .head-row { gap: 16px; }
  .menu nav a { padding: 12px 7px; font-size: 13.5px; }
}

@media (max-width: 1100px) {
  .assist-grid { grid-template-columns: 1fr; gap: 36px; }
  .console-wrap { position: static; max-width: 560px; }
}
@media (max-width: 760px) {
  .app-row { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; padding: 12px 14px 12px 12px; }
  .app-shot img { width: 84px; border-radius: 12px; }
  .app-text h3 { font-size: 20px; }
  .h3-run { font-size: 23px; }
  .post-wide { grid-template-columns: 1fr; }
  .post-wide h3 { font-size: 23px; }
  .gl .band-assist { padding: 0; }
  .gl .band-assist > .inner { background: var(--ground); padding-top: 64px; padding-bottom: 72px; }
  .console { padding: 14px 14px 16px; }
  .cs-line { grid-template-columns: 1fr; gap: 2px; }
}

/* header: below 1024px the seven links fold into the menu (narrower, "AI options" and "Our work" wrap onto two lines);
   phones (760px and less) already have the same menu rules above */
@media (max-width: 1023px) and (min-width: 761px) {
  .head-row { gap: 10px; }
  .btn-sm { margin-left: auto; }
  .menu { margin-left: 0; order: 3; }
  .menu > summary {
    display: flex; align-items: center; justify-content: center; gap: 6px; list-style: none; cursor: pointer;
    min-width: 44px; min-height: 44px; border-radius: 999px; border: 1px solid var(--line-2);
  }
  .menu > summary::-webkit-details-marker { display: none; }
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .menu-ico { fill: none; stroke: var(--text); stroke-width: 1.6; stroke-linecap: round; }
  .menu nav {
    position: absolute; left: 0; right: 0; top: var(--head-h); flex-direction: column; gap: 0;
    background: var(--menu-bg); border-bottom: 1px solid var(--line);
    padding: 6px max(20px, env(safe-area-inset-right, 0px)) 14px max(20px, env(safe-area-inset-left, 0px));
  }
  .menu nav a { font-size: 18px; color: var(--text); padding: 14px 0; border-bottom: 1px solid var(--line); border-radius: 0; min-height: 48px; }
  html:not(.js) .menu nav { position: static; }
  .js .look-head { display: none; }
  .js .look-menu { display: flex; justify-content: flex-start; width: 100%; min-height: 48px; padding: 14px 0; border: 0; border-radius: 0; font-size: 18px; color: var(--text); background: transparent; }
}

/* 900 to 1023px: the page margin is 56px, so the menu's rows start under the logo too */
@media (max-width: 1023px) and (min-width: 900px) {
  .menu nav { padding-left: max(56px, env(safe-area-inset-left, 0px)); padding-right: max(56px, env(safe-area-inset-right, 0px)); }
}

/* live site: blog cards link to the real articles (the whole card is the link) */
.post { position: relative; transition: border-color .2s; }
.post h3 a { color: inherit; text-decoration: none; }
.post h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.post:hover { border-color: var(--line-2); }
.post:has(a:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.post h3 a:focus-visible { outline: none; }
.form .hp { position: absolute; left: -9999px; }
