/* Recommended Resources: one stylesheet for every page.
   Colours and type follow Transformative AI Solutions: deep navy ground, ice paper, signal amber on the action. */
:root {
  --bg: #050d1f;
  --surface: #0b1834;
  --surface-2: #12224a;
  --ink: #ffffff;
  --muted: #b4c2de;
  --accent: #ffb627;
  --accent-hover: #ffc85a;
  --accent-ink: #050d1f;
  --paper: #e8eef9;
  --paper-2: #d6dff0;
  --paper-ink: #050d1f;
  --paper-muted: #33405c;
  --tint-1: #0b1834;
  --tint-2: #15295a;
  --tint-3: #213d7c;
  --tint-4: #33569e;
  --gap: 8px;
  --m: clamp(16px, 1.4vw, 24px);
  --pad: clamp(18px, 1.7vw, 26px);
  --s-small: 0.9375rem;
  --s-body: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem);
  --s-lead: clamp(1.375rem, 1.15rem + 0.7vw, 1.75rem);
  --s-head: clamp(2.125rem, 1.3rem + 2.6vw, 3.75rem);
  --s-display: clamp(2.875rem, 1.6rem + 4.4vw, 6.25rem);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --font: "Cabinet Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 var(--s-body)/1.55 var(--font);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: .07em; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; padding: 0; }
ul { list-style: none; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--m); top: -100px; z-index: 10; background: var(--accent); color: var(--accent-ink); padding: 12px 16px; font-weight: 800; }
.skip:focus { top: var(--m); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  background: var(--accent); color: var(--accent-ink);
  font: 800 var(--s-body)/1 var(--font); text-decoration: none;
  padding: .95em 1.3em; border: 0; border-radius: 0; cursor: pointer;
  transition: transform .2s var(--ease-out), background-color .2s;
}
.btn:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn--ink { background: var(--paper-ink); color: var(--paper); }
.btn--ink:hover { background: var(--tint-3); }
.go { font-weight: 800; text-decoration: underline; text-decoration-color: transparent; transition: text-decoration-color .2s; }
.go:hover { text-decoration-color: currentColor; }

/* ---------- The board: tiles fitted edge to edge ---------- */
.board { padding-inline: var(--m); display: grid; gap: var(--gap); }
.tile { background: var(--surface); padding: var(--pad); min-width: 0; }
.tile--paper { background: var(--paper); color: var(--paper-ink); }
.tile--accent { background: var(--accent); color: var(--accent-ink); }
.tile--deep { background: var(--surface-2); }
.tile--photo { padding: 0; overflow: hidden; position: relative; background: var(--surface); }
.tile--photo img, .tile--photo video { width: 100%; height: 100%; object-fit: cover; }
.mono-photo { filter: grayscale(1) contrast(1.08); }

/* ---------- Top row of tiles ---------- */
.tbar {
  grid-template-columns: 60px minmax(0, 1fr) auto; grid-template-rows: 60px;
  padding-top: var(--m); position: relative; z-index: 5;
}
.tbar > * { display: flex; align-items: center; text-decoration: none; }
.t-logo { background: var(--paper); color: var(--paper-ink); justify-content: center; font-weight: 800; font-size: 1.375rem; letter-spacing: -.04em; transition: background-color .2s; }
.t-logo:hover { background: var(--accent); }
.t-nav { background: var(--surface); padding-inline: var(--pad); gap: clamp(16px, 2.4vw, 40px); overflow-x: auto; scrollbar-width: none; }
.t-nav::-webkit-scrollbar { display: none; }
.t-nav .wm { font-weight: 800; letter-spacing: -.02em; margin-right: auto; white-space: nowrap; text-decoration: none; }
.t-nav a { white-space: nowrap; font-weight: 500; text-decoration: underline; text-decoration-color: transparent; transition: text-decoration-color .2s, color .2s; }
.t-nav a:hover, .t-nav a[aria-current="page"] { text-decoration-color: var(--accent); }
.t-act { background: var(--accent); color: var(--accent-ink); font-weight: 800; padding-inline: var(--pad); white-space: nowrap; transition: background-color .2s; }
.t-act:hover { background: var(--accent-hover); }
@media (max-width: 1000px) { .t-nav .wm { display: none; } }
@media (max-width: 760px) {
  .tbar { grid-template-columns: 52px minmax(0, 1fr); grid-template-rows: 52px 48px; }
  .t-nav { grid-column: 1 / -1; grid-row: 2; font-size: var(--s-small); }
  .t-nav .wm { display: none; }
  .t-act { grid-column: 2; grid-row: 1; justify-content: center; }
}

/* ---------- Home: the first screen ---------- */
.hero {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: minmax(300px, 1fr) auto;
  min-height: max(660px, calc(100svh - 60px - var(--m)));
  padding-top: var(--gap);
}
.h-name { display: flex; flex-direction: column; justify-content: flex-end; }
.h-name h1 { font-size: var(--s-display); font-weight: 800; letter-spacing: -.045em; line-height: .92; max-width: 11ch; text-wrap: balance; }
.h-name p { margin-top: 36px; max-width: 34ch; font-size: var(--s-body); color: var(--paper-muted); font-weight: 500; }
.h-split { grid-column: 1 / -1; }
.h-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); min-height: 0; }
.h-split .tile { min-height: 200px; }
.h-split .tile { font-size: var(--s-body); line-height: 1.45; }
.h-say strong { display: block; font-size: var(--s-lead); line-height: 1.15; letter-spacing: -.02em; margin-bottom: 14px; }
.h-act { display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; transition: background-color .2s; }
.h-act:hover { background: var(--accent-hover); }
.h-act b { font-size: var(--s-head); line-height: .95; letter-spacing: -.04em; font-weight: 800; }
.h-act > span { font-size: var(--s-body); }
.h-act .nb { white-space: nowrap; }
.h-act .nb::after { content: "\00a0\2192"; }

/* The live stack preview */
.stackview { display: flex; flex-direction: column; gap: 12px; }
.stackview label { font-weight: 800; font-size: var(--s-body); }
.sv-pick { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.sv-pick select {
  flex: 1 1 240px; min-width: 0; width: 100%; max-width: 420px; min-height: 48px; padding: 10px 40px 10px 14px; border: 0; border-radius: 0;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M0 0h12L6 8z' fill='%23050d1f'/%3E%3C/svg%3E") no-repeat right 14px center;
  color: var(--paper-ink); appearance: none; font-weight: 500; cursor: pointer;
}
.sv-title { font-size: var(--s-lead); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.sv-tools { display: grid; gap: 4px; }
.sv-tools li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 16px; align-items: baseline; padding: 8px 14px; background: var(--surface-2); }
.sv-tools b { font-weight: 800; }
.sv-tools small { grid-column: 1; font-size: var(--s-small); color: var(--muted); line-height: 1.3; }
.sv-tools .num { grid-row: 1; grid-column: 2; font-weight: 800; }
.sv-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 20px; }
.sv-total { font-size: var(--s-body); color: var(--muted); }
.sv-total b { color: var(--ink); font-size: var(--s-lead); font-weight: 800; }
.sv-foot .go { color: var(--accent); }
.is-swapping .sv-tools, .is-swapping .sv-title { opacity: .25; }
.sv-label { font-weight: 800; color: var(--muted); }
.side .sv-title { font-size: var(--s-body); }
.side .tile--photo { aspect-ratio: 4 / 3; }
.side .tile--photo img { position: absolute; inset: 0; }
.sv-tools, .sv-title { transition: opacity .18s; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: none; height: auto; min-height: 0; max-height: none; }
  .h-name { min-height: 56svh; }
  .h-split { order: 2; }
  .h-live { order: 4; }
}
@media (max-width: 480px) {
  .h-split { grid-template-columns: 1fr; }
  .h-split .tile { min-height: 0; }
  .h-act { gap: 18px; }
}

/* ---------- Sections ---------- */
.sec { margin-top: clamp(120px, 11vw, 200px); }
.sec-head { font-size: var(--s-head); font-weight: 800; letter-spacing: -.035em; line-height: .98; text-wrap: balance; }
.sec-head .soft { color: var(--muted); display: block; }
.lede { font-size: var(--s-body); max-width: 52ch; }

/* Showcase: one picture cut across tiles */
.mosaic { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.mosaic > * { aspect-ratio: 1; min-width: 0; overflow: hidden; position: relative; }
.mosaic .piece { background: var(--surface); }
.mosaic .piece::before {
  content: ""; position: absolute; inset: 0;
  background: var(--mosaic-img) no-repeat; background-size: 600% 400%;
  background-position: calc(var(--c) * 20%) calc(var(--r) * 33.333%);
  transition: transform .6s var(--ease-out);
}
.mosaic .piece:hover::before { transform: scale(1.08); }
.mosaic .m-head { grid-column: span 2; aspect-ratio: 2 / 1; }
.mosaic .m-head span { max-width: 36ch; }
.mosaic .tile { padding: clamp(14px, 1.4vw, 22px); display: flex; flex-direction: column; justify-content: space-between; font-size: var(--s-body); line-height: 1.3; font-weight: 500; }
.mosaic .m-head h2 { font-size: var(--s-head); font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.mosaic .m-fact b { display: block; font-size: var(--s-lead); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.mosaic .m-act { text-decoration: none; font-weight: 800; transition: background-color .2s; }
.mosaic .m-act:hover { background: var(--accent-hover); }
.mosaic-credit { padding-inline: var(--m); margin-top: 10px; font-size: var(--s-small); color: var(--muted); }
@media (max-width: 900px) {
  .mosaic .tile { padding: 10px; font-size: var(--s-small); }
  .mosaic .m-fact b { font-size: 1.125rem; }
  .mosaic .m-head h2 { font-size: var(--s-lead); }
  .mosaic .m-fact span { display: none; }
}
@media (max-width: 600px) {
  .mosaic .m-fact span { display: inline; }
  .mosaic { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mosaic .piece::before { background-image: var(--mosaic-tall); background-size: 300% 800%; background-position: calc(var(--c3) * 50%) calc(var(--r3) * 14.2857%); }
  .mosaic .m-head span { display: none; }
  .mosaic .tile { font-size: var(--s-small); }
  .mosaic .m-fact b { font-size: 1.25rem; }
}

/* Why trust me: portrait on a colour tile beside four plain claims */
.trust { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 28px; }
.trust > h2 { grid-column: 1 / -1; }
.trust figure { grid-row: span 2; }
.trust .tint { background: var(--tint-3); aspect-ratio: 4 / 5; overflow: hidden; }
.trust .tint img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; filter: grayscale(1) contrast(1.15); mix-blend-mode: multiply; }
.trust figcaption { margin-top: 12px; }
.trust figcaption b { display: block; font-weight: 800; }
.trust figcaption span { color: var(--muted); font-size: var(--s-small); }
.claim { background: var(--surface); padding: var(--pad); display: flex; flex-direction: column; gap: 14px; }
.claim h3 { font-size: var(--s-lead); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.claim--wide { grid-column: span 3; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--pad); align-items: center; }
.claim--wide video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--surface-2); }
@media (max-width: 1000px) {
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust figure { grid-row: auto; grid-column: 1 / -1; }
  .trust .tint { aspect-ratio: 16 / 9; }
  .claim--wide, .trust .claim:nth-child(5) { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .trust { grid-template-columns: 1fr; }
  .claim--wide { grid-template-columns: 1fr; }
}

/* Industries: group tabs and banded rows */
.ind-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.ind { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 40px; margin-top: 56px; }
.ind-tabs { display: flex; flex-direction: column; gap: 6px; align-self: start; position: sticky; top: 16px; }
.ind-tabs button {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px;
  min-height: 68px; padding: 10px 16px; border: 0; border-radius: 0; background: var(--surface); text-align: left; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.ind-tabs button span { font-weight: 800; }
.ind-tabs button small { font-size: var(--s-small); color: var(--muted); }
.ind-tabs button:hover { background: var(--surface-2); }
.ind-tabs button[aria-selected="true"] { background: var(--paper); color: var(--paper-ink); }
.ind-tabs button[aria-selected="true"] small { color: var(--paper-muted); }
.ind-panel h3 { font-size: var(--s-lead); font-weight: 800; margin-bottom: 14px; }
.js .ind-panel h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.no-js-only { display: none; }
.ind-panel + .ind-panel { margin-top: 40px; }
.js .ind-panel + .ind-panel { margin-top: 0; }
.ind-rows { display: grid; gap: 4px; }
.ind-rows li:nth-child(odd) a { background: var(--surface); }
.ind-rows li:nth-child(even) a { background: var(--surface-2); }
.ind-rows a {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) auto; align-items: center; gap: 6px 28px;
  min-height: 80px; padding: 14px 22px; text-decoration: none; transition: background-color .2s;
}
.ind-rows a:hover { background: var(--tint-3) !important; }
.ind-rows b { font-size: var(--s-lead); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.ind-rows span { color: var(--muted); line-height: 1.35; }
.ind-rows i { font-style: normal; font-weight: 800; color: var(--accent); white-space: nowrap; transition: transform .25s var(--ease-out); }
.ind-rows a:hover i { transform: translateX(6px); }
@media (max-width: 900px) {
  .ind { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .ind-tabs { display: grid; grid-template-columns: 1fr 1fr; position: static; }
  .ind-tabs button { min-height: 60px; }
  .ind-rows b { font-size: var(--s-body); }
  .ind-rows a { grid-template-columns: minmax(0, 1fr) auto; padding: 16px; }
  .ind-rows span { grid-column: 1; grid-row: 2; }
  .ind-rows i { grid-row: 1 / span 2; grid-column: 2; }
  .ind-top .btn { width: 100%; justify-content: center; }
}

/* How it works: horizontal accordion, dark to light */
.how-intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: end; }
.how-intro h2 { grid-column: 1 / 6; }
.how-intro p { grid-column: 7 / 12; }
.acc { display: flex; height: 540px; margin-top: 64px; padding-inline: var(--m); }
.acc-item { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; transition: flex-grow .45s var(--ease-in-out); }
.acc-item:nth-child(1) { background: var(--tint-1); }
.acc-item:nth-child(2) { background: var(--tint-2); }
.acc-item:nth-child(3) { background: var(--tint-3); }
.acc-item:nth-child(4) { background: var(--tint-4); }
.acc-item.is-open { flex-grow: 6; }
.acc-item > button {
  position: absolute; inset: 0; width: 100%; border: 0; background: none; cursor: pointer; text-align: left; padding: var(--pad);
  display: flex; align-items: flex-end;
}
.acc-item > button span { writing-mode: vertical-rl; transform: rotate(180deg); font-size: var(--s-body); font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.acc-item.is-open > button { pointer-events: none; }
.acc-item.is-open > button span { opacity: 0; }
.acc-body {
  position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--pad); padding: var(--pad);
  opacity: 0; visibility: hidden; transition: opacity .3s .15s; min-width: 640px;
}
.acc-item.is-open .acc-body { opacity: 1; visibility: visible; }
.acc-text { display: flex; flex-direction: column; justify-content: space-between; }
.acc-text h3 { font-size: var(--s-head); font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.acc-text p { max-width: 36ch; }
.acc-text p + p { margin-top: 12px; }
.acc-pic { overflow: hidden; min-height: 0; }
.acc-pic img, .acc-pic video { width: 100%; height: 100%; object-fit: cover; }
html:not(.js) .acc { flex-direction: column; height: auto; }
html:not(.js) .acc-item > button { display: none; }
html:not(.js) .acc-body { position: static; opacity: 1; visibility: visible; min-width: 0; min-height: 340px; }
@media (max-width: 900px) {
  .how-intro h2, .how-intro p { grid-column: 1 / -1; }
  .how-intro { gap: 20px; }
  .acc { flex-direction: column; height: auto; margin-top: 32px; }
  .acc-item { flex: none; }
  .acc-item > button { position: static; min-height: 64px; padding: 16px; align-items: center; }
  .acc-item > button span { writing-mode: horizontal-tb; transform: none; font-size: 1.125rem; }
  .acc-item.is-open > button { display: none; }
  .acc-body { position: static; display: none; min-width: 0; grid-template-columns: 1fr; padding: 18px 16px 20px; }
  .acc-item.is-open .acc-body { display: grid; }
  html:not(.js) .acc-body { display: grid; }
  .acc-text { gap: 16px; }
  .acc-pic { aspect-ratio: 16 / 10; }
}

/* FAQ: question index, one answer */
.faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.faq-list { grid-column: 1 / 6; }
.faq-list h2 { font-size: var(--s-head); font-weight: 800; letter-spacing: -.035em; line-height: 1; margin-bottom: 36px; }
.faq-list li + li { margin-top: 6px; }
.faq-list button {
  display: flex; align-items: baseline; gap: 14px; width: 100%; padding: 8px 0; border: 0; background: none; cursor: pointer; text-align: left;
  font-size: var(--s-body); font-weight: 500; color: var(--muted); transition: color .15s;
}
.faq-list button::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); transform: translateY(-2px); transition: background-color .15s; }
.faq-list button:hover, .faq-list button[aria-expanded="true"] { color: var(--ink); }
.faq-list button[aria-expanded="true"]::before { background: var(--accent); }
.faq-list .ans { padding: 4px 0 14px 23px; }
.js .faq-list .ans { display: none; }
.faq-pane { grid-column: 7 / 13; position: sticky; top: 120px; align-self: start; background: var(--surface); padding: clamp(24px, 3vw, 44px); min-height: 320px; }
.faq-pane > div { font-size: var(--s-lead); line-height: 1.3; max-width: 32ch; transition: opacity .15s; }
.faq-pane .go { color: var(--accent); }
html:not(.js) .faq-pane { display: none; }
@media (max-width: 900px) {
  .faq-list { grid-column: 1 / -1; }
  .faq-pane { display: none; }
  .js .faq-list button[aria-expanded="true"] + .ans { display: block; }
  .faq-list .ans { font-size: 1.1875rem; }
}

/* The action tile, cropped from a longer row */
.closer { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 8fr) minmax(0, 2fr); gap: 12px; height: 380px; }
.closer > * { min-width: 0; }
.closer .flank-a { overflow: hidden; }
.closer .flank-a img { width: 100%; height: 100%; object-fit: cover; }
.closer .flank-b { background: var(--tint-3); }
.closer .tile--accent { padding: clamp(24px, 3vw, 48px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; }
.closer h2 { font-size: var(--s-head); font-weight: 800; letter-spacing: -.035em; line-height: .98; }
.closer p { max-width: 52ch; }
@media (max-width: 760px) {
  .closer { grid-template-columns: 1fr 1fr; height: auto; padding-inline: var(--m); }
  .closer .tile--accent { grid-column: 1 / -1; order: -1; min-height: 320px; }
  .closer .flank-a, .closer .flank-b { height: 120px; }
}

/* ---------- Footer: the mark, built large ---------- */
.foot { background: var(--paper); color: var(--paper-ink); margin-top: clamp(80px, 6vw, 120px); padding: clamp(28px, 3vw, 48px) var(--m) 28px; }
.blocks { display: flex; align-items: flex-end; gap: 4px; height: 34svh; min-height: 220px; max-height: 360px; }
.blocks span {
  flex: 1 1 0; display: flex; align-items: flex-end; padding: 0 0 .06em .08em;
  color: var(--paper); font-weight: 800; line-height: .78; letter-spacing: -.05em;
  font-size: min(13vw, 30svh); overflow: hidden;
}
.blocks span:nth-child(1) { height: 100%; } .blocks span:nth-child(2) { height: 72%; } .blocks span:nth-child(3) { height: 86%; }
.blocks span:nth-child(4) { height: 62%; } .blocks span:nth-child(5) { height: 94%; } .blocks span:nth-child(6) { height: 76%; }
.blocks span:nth-child(7) { height: 100%; } .blocks span:nth-child(8) { height: 66%; } .blocks span:nth-child(9) { height: 88%; }
.blocks span:nth-child(4n+1) { background: var(--paper-ink); }
.blocks span:nth-child(4n+2) { background: var(--tint-3); }
.blocks span:nth-child(4n+3) { background: var(--accent); color: var(--paper-ink); }
.blocks span:nth-child(4n+4) { background: var(--tint-2); }
.foot-cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px var(--gap); margin-top: 56px; font-size: 1rem; }
.foot-cols h2 { font-size: var(--s-small); font-weight: 800; margin-bottom: 10px; }
.foot-cols li + li { margin-top: 6px; }
.foot-cols a { text-decoration: underline; text-decoration-color: transparent; transition: text-decoration-color .2s; }
.foot-cols a:hover { text-decoration-color: currentColor; }
.foot-links { grid-column: 1 / 9; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.foot-contact { grid-column: 9 / 13; display: grid; gap: 16px; align-content: start; }
.foot-contact p { color: var(--paper-muted); }
.foot-contact b { color: var(--paper-ink); }
.foot-note { margin-top: 40px; font-size: 1rem; color: var(--paper-muted); max-width: 62ch; }
.foot-note + .foot-note { margin-top: 10px; }
.foot-last { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 32px; font-size: var(--s-small); }
.foot-last .btn { font-size: var(--s-small); padding: .8em 1em; }
@media (max-width: 900px) {
  .blocks { height: 16svh; min-height: 96px; }
  .blocks span { font-size: min(14vw, 15svh); }
  .foot-links { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-contact { grid-column: 1 / -1; }
}

/* ---------- Article pages (industry guides, legal) ---------- */
.doc-top { grid-template-columns: repeat(12, minmax(0, 1fr)); padding-top: var(--gap); }
nav.bc { grid-column: 1 / -1; font-size: var(--s-small); color: var(--muted); padding: 14px 0 6px; }
nav.bc ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
nav.bc li + li::before { content: "/"; margin-right: 8px; color: var(--muted); }
nav.bc a { color: var(--ink); }
.doc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); padding-inline: var(--m); margin-top: var(--gap); }
.doc > article, .doc > .doc-main { grid-column: 1 / 9; min-width: 0; }
.doc > aside { grid-column: 9 / 13; align-self: start; }
.doc .hero, .doc > article > h1:first-child, .doc-main > h1:first-child {
  display: block; height: auto; min-height: 0; max-height: none; background: var(--paper); color: var(--paper-ink); padding: clamp(24px, 3.2vw, 52px); margin-bottom: clamp(40px, 4vw, 64px);
}
.doc .hero h1, .doc > article > h1:first-child, .doc-main > h1:first-child { font-size: clamp(1.75rem, 0.6rem + 4.6vw, 4.75rem); font-weight: 800; letter-spacing: -.04em; line-height: .98; text-wrap: balance; }
.doc .hero { min-height: min(62svh, 560px); display: flex !important; flex-direction: column; justify-content: flex-end; align-items: flex-start; }
.doc .hero h1 { margin-bottom: 0; }
.doc .hero .lead-in { margin-top: 18px; font-size: var(--s-lead); line-height: 1.25; font-weight: 500; letter-spacing: -.01em; max-width: 30ch; }
.doc .hero p { color: var(--paper-muted); margin-top: 20px; max-width: 62ch; }
.doc .hero .lead-in { color: var(--paper-ink); }
.doc .hero .btn { margin-top: 28px; }
.prose > * + *, article > * + * { margin-top: 1.1em; }
article p, article li, .prose p, .prose li { max-width: 68ch; }
article > p, article li, .prose p { color: var(--ink); }
article h2, .prose h2 { font-size: var(--s-lead); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin-top: clamp(56px, 5vw, 80px); max-width: 30ch; text-wrap: balance; }
article h3, .prose h3 { font-size: var(--s-body); font-weight: 800; margin-top: 1.8em; }
article h2 + p, article h3 + p { margin-top: .5em; }
article ol, article ul { padding-left: 1.3em; }
article ul { list-style: square; }
article li + li { margin-top: .4em; }
article li::marker { color: var(--accent); }
article a { color: var(--accent); }
article strong { font-weight: 800; }
article .note, .doc .note { color: var(--muted); font-size: var(--s-small); }
article .grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
article .card { background: var(--surface); padding: 18px var(--pad); display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 4px 28px; align-items: baseline; }
article .card:nth-child(even) { background: var(--surface-2); }
article .card > :not(h3) { grid-column: 2; }
article .card h3 { margin-top: 0; font-size: var(--s-lead); letter-spacing: -.02em; line-height: 1.15; grid-row: span 3; }
article .card > p:first-of-type { margin-top: 0; }
article .card h3 a { color: var(--ink); text-decoration-color: var(--accent); }
article .card p { margin-top: .6em; color: var(--muted); }
article .card:hover { background: var(--tint-2); }
@media (max-width: 700px) { article .card { grid-template-columns: 1fr; } article .card > :not(h3) { grid-column: 1; } article .card h3 { grid-row: auto; } }
article .cta, .doc-main .cta { background: var(--accent); color: var(--accent-ink); padding: var(--pad) clamp(20px, 2.4vw, 36px) clamp(24px, 2.4vw, 36px); margin-block: clamp(40px, 4vw, 64px); }
article .cta p { color: var(--accent-ink); }
article .cta p:first-child { font-size: var(--s-lead); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
article .cta p + p { margin-top: .5em; }
article .cta .btn { background: var(--paper-ink); color: var(--paper); margin-top: 20px; }
article .cta .btn:hover { background: var(--tint-3); }
article details { background: var(--surface); padding: 0; }
article details + details { margin-top: 4px; }
article summary { cursor: pointer; font-weight: 800; padding: 18px var(--pad); list-style-position: inside; transition: background-color .2s; }
article summary:hover { background: var(--surface-2); }
article details[open] summary { background: var(--surface-2); }
article details > :not(summary) { padding: 0 var(--pad) 20px; margin-top: 14px; color: var(--muted); }
article table { border-collapse: collapse; width: 100%; font-size: var(--s-small); }
article th, article td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--surface-2); }

.side { position: sticky; top: 16px; display: grid; gap: var(--gap); align-content: start; }
.side .tile--accent h2 { font-size: var(--s-lead); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.side .tile--accent p { margin-top: 10px; }
.side .tile--accent .btn { margin-top: 18px; background: var(--paper-ink); color: var(--paper); }
.side .tile--accent .btn:hover { background: var(--tint-3); }
.side-me { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; align-items: start; }
.side-me img { width: 88px; height: 104px; object-fit: cover; object-position: 50% 25%; filter: grayscale(1) contrast(1.1); }
.side-me p { font-size: var(--s-small); color: var(--muted); }
.side-me b { color: var(--ink); display: block; font-size: var(--s-body); }
.side-me a { color: var(--accent); }
@media (max-width: 1000px) {
  .doc > article, .doc > .doc-main, .doc > aside { grid-column: 1 / -1; }
  .side { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 48px; }
}

/* ---------- Pages: about, contact ---------- */
.page-head { grid-template-columns: repeat(12, minmax(0, 1fr)); padding-top: var(--gap); }
.page-head .tile--paper { grid-column: 1 / 8; display: flex; flex-direction: column; justify-content: flex-end; min-height: 520px; }
.page-head h1 { font-size: var(--s-display); font-weight: 800; letter-spacing: -.045em; line-height: .92; max-width: 12ch; }
.page-head .tile--paper p { margin-top: 32px; font-size: var(--s-lead); line-height: 1.25; max-width: 30ch; color: var(--paper-muted); font-weight: 500; }
.page-head .tile--photo { grid-column: 8 / 13; min-height: 520px; }
.ph-row { display: flex; align-items: flex-end; gap: 24px; }
.ph-me { flex: none; margin-inline: auto; width: clamp(256px, 7vw, 110px); aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; }
.page-head .tile--photo img { object-position: 50% 25%; }
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); padding-inline: var(--m); }
.split > .split-left { grid-column: 1 / 6; display: grid; gap: 32px; align-content: start; }
.split-left img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split > .prose { grid-column: 7 / 13; }
.split .prose p { font-size: var(--s-body); }
.split .prose p:first-child { font-size: var(--s-lead); line-height: 1.3; font-weight: 500; }
.strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.strip .tile { min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.strip h3 { font-size: var(--s-lead); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.strip .tile--photo { min-height: 260px; }
.ways { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.ways .tile { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 300px; text-decoration: none; transition: background-color .2s; }
.ways a.tile:hover { background: var(--surface-2); }
.ways a.tile--accent:hover { background: var(--accent-hover); }
.ways h2 { font-size: var(--s-lead); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.ways b { font-size: var(--s-lead); font-weight: 800; letter-spacing: -.02em; word-break: break-word; }
.ways .w-1 { grid-column: 1 / 7; }
.ways .w-2 { grid-column: 7 / 13; }
.ways .w-3 { grid-column: 1 / 5; padding: 0; overflow: hidden; position: relative; }
.ways .w-3 img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.ways .w-4 { grid-column: 1 / 9; }
.ways .w-5 { grid-column: 9 / 13; padding: 0; overflow: hidden; position: relative; }
.ways .w-5 img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ways .w-6 { grid-column: 1 / 9; }
.ways .w-7 { grid-column: 9 / 13; }
@media (max-width: 900px) {
  .page-head .tile--paper, .page-head .tile--photo { grid-column: 1 / -1; min-height: 0; }
  .page-head .tile--paper { min-height: 52svh; }
  .page-head .tile--photo { aspect-ratio: 4 / 3; }
  .split > .split-left, .split > .prose { grid-column: 1 / -1; }
  .split { gap: 24px; }
  .strip { grid-template-columns: 1fr; }
  .ways .tile { grid-column: 1 / -1 !important; min-height: 200px; }
  .ways .w-3, .ways .w-5 { min-height: 0; aspect-ratio: 4 / 3; }
}

/* ---------- Quiz (/stack/) ---------- */
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
.quiz-top { grid-template-columns: repeat(12, minmax(0, 1fr)); padding-top: var(--gap); }
.quiz-top .tile--paper { grid-column: 1 / -1; min-height: min(34svh, 320px); display: flex; flex-direction: column; justify-content: flex-end; }
.quiz-top h1 { font-size: clamp(2.125rem, 1rem + 4.6vw, 6.25rem); font-weight: 800; letter-spacing: -.045em; line-height: .92; max-width: 13ch; text-wrap: balance; }
.quiz-top .tile--paper p { margin-top: 32px; color: var(--paper-muted); font-weight: 500; max-width: 46ch; }
.quiz-top .tile--photo { grid-column: 9 / 13; }
.quiz-top .tile--photo img { position: absolute; inset: 0; object-position: 50% 25%; }
.quiz { grid-template-columns: repeat(12, minmax(0, 1fr)); margin-top: var(--gap); align-items: start; }
.quiz-form { grid-column: 1 / 9; display: grid; gap: 48px; padding: clamp(22px, 3vw, 48px); }
.quiz .side { grid-column: 9 / 13; position: static; }
.side video { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.q-label { display: block; font-weight: 800; font-size: 1.1875rem; line-height: 1.3; margin-bottom: 14px; }
.quiz-form select, .quiz-form input[type="number"], .quiz-form input[type="text"], .quiz-form input[type="email"] {
  width: 100%; min-height: 54px; padding: 12px 14px; border: 0; border-radius: 0;
  background: var(--paper); color: var(--paper-ink); font-weight: 500;
}
.quiz-form select { appearance: none; padding-right: 40px; cursor: pointer;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M0 0h12L6 8z' fill='%23050d1f'/%3E%3C/svg%3E") no-repeat right 14px center; }
.quiz-form ::placeholder { color: #5d6a85; }
.q-sub legend { font-size: var(--s-small); color: var(--muted); margin: 22px 0 10px; }
.chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px; }
.chip { display: flex; align-items: center; gap: 10px; background: var(--surface-2); padding: 12px 14px; cursor: pointer; font-size: 1rem; font-weight: 500; transition: background-color .15s; }
.chip:hover { background: var(--tint-2); }
.chip:has(input:checked) { background: var(--tint-3); }
.chip input, .setup input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; flex: none; }
.chip:focus-within, .setup label:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.setup { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.setup label { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px 12px; align-content: start; background: var(--surface-2); padding: 18px; cursor: pointer; transition: background-color .15s, color .15s; }
.setup label:hover { background: var(--tint-2); }
.setup b { font-weight: 800; line-height: 1.25; }
.setup span { grid-column: 2; font-size: 1rem; color: var(--muted); line-height: 1.4; }
.setup label:has(input:checked) { background: var(--paper); color: var(--paper-ink); }
.setup label:has(input:checked) span { color: var(--paper-muted); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pair label { display: block; font-size: var(--s-small); font-weight: 800; margin-bottom: 8px; }
.quiz-submit { width: 100%; justify-content: center; font-size: var(--s-lead); padding: 1em; }
.q-hint { font-size: var(--s-small); color: var(--muted); margin-top: 10px; }
.q-hint a { color: var(--accent); }
.q-legal { margin-top: 16px; }

.results { margin-top: clamp(64px, 6vw, 120px); }
.r-board { grid-template-columns: minmax(0, 1fr); }
.r-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 340px); gap: var(--pad); align-items: end; min-height: 320px; }
.r-head h2 { font-size: var(--s-head); font-weight: 800; letter-spacing: -.035em; line-height: .98; max-width: 18ch; text-wrap: balance; }
.r-head h2:focus { outline: none; }
.r-head > div > p { margin-top: 18px; color: var(--paper-muted); max-width: 56ch; }
.r-cost { background: var(--paper-2); padding: 20px; display: grid; gap: 6px; }
.r-cost span { font-size: var(--s-small); color: var(--paper-muted); }
.r-cost b { font-size: var(--s-head); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.r-cost small { font-size: var(--s-body); font-weight: 500; }
.send-status { padding: 18px var(--pad); }
.send-status:empty { display: none; }
.send-status.is-sent { background: var(--tint-3); }
.send-status.is-failed { background: #4a1220; }
.send-status.is-failed strong { color: #ffc2b8; }
.send-status a { color: var(--accent); }
.send-status .btn { margin-top: 14px; background: var(--paper); color: var(--paper-ink); }
.r-stack { padding-top: 48px; }
.r-sub { font-size: var(--s-lead); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.r-note { margin-top: 14px; background: var(--surface-2); }
.r-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: 18px; }
.r-tool { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.r-role { font-size: var(--s-small); color: var(--muted); }
.r-tool h3 { font-size: var(--s-lead); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin-top: 4px; }
.r-price { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; background: var(--surface-2); padding: 10px 14px; margin-top: 18px; }
.r-price span { font-size: var(--s-small); color: var(--muted); }
.r-price b { font-weight: 800; }
.r-offer { font-size: var(--s-small); color: var(--muted); margin-top: 8px; }
.r-watch { font-size: var(--s-small); background: #2b2412; color: #ffe2a6; padding: 12px 14px; margin-top: 14px; line-height: 1.45; }
.r-tool .btn { justify-content: center; }
.r-steps { margin-top: 48px; }
.r-steps ol { padding-left: 1.3em; margin-top: 14px; }
.r-steps li { max-width: 70ch; }
.r-steps li + li { margin-top: 10px; }
.r-steps li::marker { color: var(--accent); font-weight: 800; }
.r-dfy { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: clamp(24px, 3vw, 44px); }
.r-dfy h3 { font-size: var(--s-lead); font-weight: 800; letter-spacing: -.02em; }
.r-dfy p { margin-top: 10px; max-width: 62ch; }
@media (max-width: 1000px) {
  .quiz-top .tile--paper, .quiz-top .tile--photo, .quiz-form, .quiz .side { grid-column: 1 / -1; }
  .quiz-top .tile--paper { min-height: 40svh; }
  .quiz-top .tile--photo { aspect-ratio: 16 / 9; }
  .quiz .side { position: static; }
  .setup, .r-tools { grid-template-columns: 1fr; }
  .r-head { grid-template-columns: 1fr; min-height: 0; }
}
@media (max-width: 560px) { .pair { grid-template-columns: 1fr; } .quiz-form { gap: 40px; } }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--d, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .shutter { clip-path: inset(0 0 100% 0); transition: clip-path 1100ms var(--ease-in-out); }
  .js .shutter img { transform: scale(1.12); transition: transform 1500ms var(--ease-out); }
  .js .shutter.is-in { clip-path: inset(0); }
  .js .shutter.is-in img { transform: none; }
  .drift img { animation: drift 24s ease-in-out infinite alternate; }
  @keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.1) translateX(-2%); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .acc-item, .acc-body { transition: none; }
}

.h-live .stackview { height: 100%; }
.h-live .sv-foot { margin-top: auto; }
