/* Decklay website — built on the Decklay Design System tokens.
   Layout: 12-column feel inside a 1200px measure; square content, hairlines over shadows; one emphasis band per page. */

@font-face { font-family: "Red Hat Display"; src: url("fonts/RedHatDisplay-Variable.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Red Hat Text"; src: url("fonts/RedHatText-Variable.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Red Hat Mono"; src: url("fonts/RedHatMono-Variable.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --navy: #0F1E36; --navy-700: #22365A; --navy-500: #3D5378; --navy-200: #B4BFD1; --white: #FFFFFF;
  --brand-surface: #0F1E36;
  --surface: #FFFFFF; --surface-alt: #F4F6F9; --surface-raised: #FFFFFF;
  --ink: #0F1E36; --ink-muted: #4E5D75;
  --line: #D6DCE6; --line-strong: #7A879E;
  --primary: #0F1E36; --on-primary: #FFFFFF; --primary-hover: #22365A;
  --accent: #2152D6; --accent-tint: #E3EBFC; --focus: #2152D6;
  --positive: #1D7A4E; --negative: #B3261E;
  --code-bg: #0F1E36; --code-ink: #E6ECF5; --code-key: #8EAEFF; --code-muted: #8C9BB4;
  /* On navy surfaces (header, hero, bands): the same in both themes, because navy is navy */
  --on-brand: #FFFFFF; --on-brand-muted: #B9C4D6; --brand-band: #E3EBFC;
  --shadow-frame: 0 1px 2px rgba(15,30,54,.08), 0 12px 32px rgba(15,30,54,.10);
  --font-display: "Red Hat Display", "Segoe UI", system-ui, sans-serif;
  --font-text: "Red Hat Text", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Red Hat Mono", Consolas, ui-monospace, monospace;
  --measure-page: 1200px; --measure-text: 680px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 96px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand-surface: #1B2D4D; --navy-500: #7F93B5; --navy-200: #3A4C6B;
    --surface: #0B1626; --surface-alt: #101F35; --surface-raised: #152842;
    --ink: #EEF2F8; --ink-muted: #A7B3C6; --line: #2A3B57; --line-strong: #6B7D9D;
    --primary: #FFFFFF; --on-primary: #0F1E36; --primary-hover: #DCE3EE;
    --accent: #8EAEFF; --accent-tint: #1B3260; --focus: #8EAEFF;
    --positive: #5CC48F; --negative: #FF8A80;
    --shadow-frame: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px rgba(0,0,0,.45);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --brand-surface: #1B2D4D; --navy-500: #7F93B5; --navy-200: #3A4C6B;
  --surface: #0B1626; --surface-alt: #101F35; --surface-raised: #152842;
  --ink: #EEF2F8; --ink-muted: #A7B3C6; --line: #2A3B57; --line-strong: #6B7D9D;
  --primary: #FFFFFF; --on-primary: #0F1E36; --primary-hover: #DCE3EE;
  --accent: #8EAEFF; --accent-tint: #1B3260; --focus: #8EAEFF;
  --positive: #5CC48F; --negative: #FF8A80;
  --shadow-frame: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px rgba(0,0,0,.45);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 16px/26px var(--font-text); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
figure { margin: 0; }
[id] { scroll-margin-top: 88px; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); text-wrap: balance; margin: 0; }
p { margin: 0; }
code { font-family: var(--font-mono); font-size: .9em; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--primary); color: var(--on-primary); padding: 12px 16px; z-index: 10; }
.skip:focus { left: 16px; top: 16px; }

.wrap { width: 100%; max-width: calc(var(--measure-page) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--alt { background: var(--surface-alt); }
.section--navy { background: var(--brand-surface); color: var(--on-brand); }
.section--navy h2, .section--navy h3 { color: var(--on-brand); }
.section--navy .kicker, .section--navy .muted, .section--navy .lead { color: var(--on-brand-muted); }
.section--navy a:not(.btn) { color: var(--on-brand); }

/* Type */
.kicker { font: 600 13px/16px var(--font-text); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.display-xl { font-weight: 700; font-size: clamp(42px, 6.2vw, 72px); line-height: 1.05; letter-spacing: -.025em; }
.display-l { font-weight: 700; font-size: clamp(34px, 4.4vw, 52px); line-height: 1.1; letter-spacing: -.02em; }
.h1 { font-weight: 650; font-size: clamp(30px, 3.4vw, 38px); line-height: 1.2; letter-spacing: -.015em; }
.h2 { font-weight: 600; font-size: clamp(24px, 2.6vw, 28px); line-height: 1.28; letter-spacing: -.01em; }
.h3 { font-weight: 600; font-size: 21px; line-height: 28px; }
.lead { font-size: 19px; line-height: 30px; color: var(--ink-muted); max-width: var(--measure-text); }
.muted { color: var(--ink-muted); }
.small { font-size: 14px; line-height: 22px; }
.caption { font: 500 12px/16px var(--font-text); color: var(--ink-muted); }
.em { background: var(--accent-tint); color: var(--ink); padding: 0 .16em; border-radius: 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Action title block */
.action { display: flex; flex-direction: column; gap: 10px; max-width: 760px; margin-bottom: 48px; }
.action--flush { margin-bottom: 0; }
/* A vertical stack of blocks */
.stack { display: flex; flex-direction: column; min-width: 0; }
.stack--xs { gap: 8px; } .stack--s { gap: 20px; } .stack--m { gap: 24px; } .stack--l { gap: 28px; }
.sub { margin-top: 6px; }
.ref .sub { margin-top: 8px; }
.section--tight { padding-top: 48px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 12px 20px; border-radius: 8px; border: 1px solid transparent; font: 600 15px/1 var(--font-text); text-decoration: none; cursor: pointer; transition: background-color 150ms ease-out, border-color 150ms ease-out; white-space: nowrap; }
.btn--primary { background: var(--primary); color: var(--on-primary); }
.btn--primary:hover { background: var(--primary-hover); }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--secondary:hover { border-color: var(--ink); }
.btn--white { background: var(--on-brand); color: var(--navy); }
.btn--white:hover { background: #DCE3EE; }
.btn--outline-white { background: transparent; color: var(--on-brand); border-color: rgba(255,255,255,.6); }
.btn--outline-white:hover { border-color: var(--on-brand); }
.btn--s { min-height: 38px; padding: 9px 14px; font-size: 14px; }
.btn.is-disabled { opacity: .55; cursor: not-allowed; pointer-events: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 12px; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 31.43px; width: auto; } /* tile 30px; the extra height is the y descender */
.logo .on-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo .on-light { display: none; } :root:not([data-theme="light"]) .logo .on-dark { display: block; } }
:root[data-theme="dark"] .logo .on-light { display: none; }
:root[data-theme="dark"] .logo .on-dark { display: block; }
.nav { display: flex; align-items: center; gap: 4px 22px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; font: 500 15px/1 var(--font-text); }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; padding: 12px 0; display: inline-block; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
@media (max-width: 640px) {
  /* On a phone the header would pin three rows; let it scroll away and keep the links on one tight row. */
  .site-header { position: static; }
  .site-header .wrap { gap: 10px 16px; padding-block: 10px; }
  .nav { gap: 2px 16px; font-size: 14px; }
  .nav a:not(.btn) { padding: 8px 0; }
}

/* Header on navy (home page): the hero and the header are one navy surface */
.site-header--navy { background: var(--brand-surface); border-bottom-color: rgba(255,255,255,.14); }
.site-header--navy .logo .on-light { display: none; }
.site-header--navy .logo .on-dark { display: block; }
.site-header--navy .nav a:not(.btn) { color: var(--on-brand); }
.site-header--navy .skip { background: var(--on-brand); color: var(--navy); }

/* Hero */
.hero { padding-block: clamp(48px, 7vw, 96px) var(--section); }
.hero--navy { background: var(--brand-surface); color: var(--on-brand); padding-top: clamp(24px, 2.5vw, 32px); padding-bottom: clamp(40px, 5vw, 64px); }
.hero--navy .hero-copy { gap: 16px; }
.hero--navy .pair { margin-top: clamp(20px, 2.5vw, 28px); }
.hero--navy h1, .hero--navy .facade h2 { color: var(--on-brand); }
.hero--navy .kicker, .hero--navy .lead { color: var(--on-brand-muted); }
.hero--navy .em { background: var(--brand-band); color: var(--navy); }
.hero--navy .pair .code { background: rgba(255,255,255,.07); white-space: pre-wrap; overflow-wrap: anywhere; overflow: hidden; padding: 18px 24px; font-size: 13px; line-height: 19px; }
.hero--navy .pair .slide { box-shadow: 0 2px 4px rgba(0,0,0,.25), 0 24px 56px rgba(0,0,0,.35); }

/* The compile: lines type themselves, the slide builds in step */
.ln { display: inline; }
.is-building:not(.is-quick) .ln { clip-path: inset(0 100% 0 0); transition: clip-path 0ms linear; }
.is-building .ln.on { clip-path: inset(0 0 0 0); }
.slide .layer { display: none; position: absolute; inset: 0; background-image: inherit; background-size: 100% 100%; background-repeat: no-repeat; background-position: center; opacity: 0; pointer-events: none; }
.is-building .slide .layer { display: block; }
.is-building .slide img { opacity: 0; }
.is-done .slide img { opacity: 1; transition: opacity 240ms ease-out; }
.is-building .slide .layer.on { opacity: 1; transition: opacity 260ms cubic-bezier(.16,1,.3,1), clip-path 520ms cubic-bezier(.16,1,.3,1), transform 420ms cubic-bezier(.16,1,.3,1); }
.layer[data-layer="kicker"] { clip-path: inset(6% 80% 89% 3%); }
.layer[data-layer="title"] { clip-path: inset(10.5% 3% 80.5% 3%); }
.layer[data-layer="head"] { clip-path: inset(21.5% 36% 71% 3%); }
.layer[data-layer="axis"] { clip-path: inset(82.4% 35.5% 16.2% 3%); }
.layer[data-layer="bar1"] { clip-path: inset(88% 80.5% 12% 8%); }
.layer[data-layer="bar1"].on { clip-path: inset(49% 80.5% 12% 8%); }
.layer[data-layer="bar2"] { clip-path: inset(88% 67% 12% 21.5%); }
.layer[data-layer="bar2"].on { clip-path: inset(56.5% 67% 12% 21.5%); }
.layer[data-layer="bar3"] { clip-path: inset(88% 53.5% 12% 35%); }
.layer[data-layer="bar3"].on { clip-path: inset(46% 53.5% 12% 35%); }
.layer[data-layer="bar4"] { clip-path: inset(88% 40% 12% 48.5%); }
.layer[data-layer="bar4"].on { clip-path: inset(38.6% 40% 12% 48.5%); }
.layer[data-layer="arrow"] { clip-path: inset(30.5% 73% 60.5% 26.5%); }
.layer[data-layer="arrow"].on { clip-path: inset(30.5% 44.5% 60.5% 26.5%); }
.layer[data-layer="textbox"] { clip-path: inset(22% 3.5% 12% 65.5%); transform: translateY(10px); }
.layer[data-layer="textbox"].on { transform: translateY(0); }
.layer[data-layer="footer"] { clip-path: inset(90% 3% 2% 3%); }
.replay { display: none; align-items: center; align-self: flex-start; min-height: 44px; margin-top: 4px; background: none; border: 0; padding: 0; font: 500 14px/20px var(--font-text); color: var(--on-brand-muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.replay:hover { color: var(--on-brand); }
.is-done .replay { display: inline-flex; }
@media (prefers-reduced-motion: reduce) { .is-building .ln, .is-building .slide img { clip-path: none; opacity: 1; } .is-building .slide .layer { display: none; } .replay { display: none !important; } }

/* Sample-slide carousel: whole slides inside the page measure, stepping one at a time */
.strip { padding-block: 28px 32px; background: var(--surface-alt); border-bottom: 1px solid var(--line); }
.strip__cap { margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; }
.strip__view { overflow: hidden; container-type: inline-size; }
.strip__view + .strip__view { margin-top: 14px; }
.strip__track { display: flex; gap: 14px; width: max-content; transition: transform 640ms cubic-bezier(.16, 1, .3, 1); }
.strip__track img { width: calc((100cqw - 3 * 14px) / 4); height: auto; aspect-ratio: 16 / 9; border: 1px solid var(--line); background: #FFFFFF; flex-shrink: 0; }
@media (max-width: 900px) { .strip__track img { width: calc((100cqw - 2 * 14px) / 3); } }
@media (max-width: 640px) { .strip__track img { width: calc((100cqw - 14px) / 2); } .strip__view + .strip__view { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .strip__view { overflow-x: auto; }
  .strip__track { transition: none; }
  .strip__track [aria-hidden="true"] { display: none; }
}
.hero-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.br-m { display: none; }
.pair { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; margin-top: clamp(40px, 5vw, 64px); min-width: 0; }
.pair .code { border-radius: 0; padding: 24px 28px; font-size: 13px; line-height: 20px; }
.pair--demo .code { padding: 28px 32px; font-size: 14px; line-height: 22px; }
.pair .slide { position: relative; width: calc(100% + 32px); margin-left: -32px; box-shadow: var(--shadow-frame); border-color: transparent; }
/* The source sits in a disclosure: always open on desktop, folded on phones where the slide is the proof */
.src { min-width: 0; }
.src > summary { display: none; }
.pair__cap { display: none; }
@media (max-width: 760px) {
  .pair { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .pair .slide { width: 100%; margin: 0; order: 1; }
  .pair__cap { display: block; order: 2; color: var(--on-brand-muted); }
  .src { order: 3; }
  .src > summary { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; list-style: none; cursor: pointer; font: 600 15px/20px var(--font-text); color: var(--on-brand); }
  .src > summary::-webkit-details-marker { display: none; }
  .src > summary::before { content: "+"; font: 400 22px/1 var(--font-text); color: var(--on-brand-muted); }
  .src[open] > summary::before { content: "–"; }
  .pair .code { margin-top: 8px; padding: 20px 22px; font-size: 13px; line-height: 21px; white-space: pre-wrap; overflow-wrap: anywhere; }
}
@media (max-width: 900px) { .br-m { display: inline; } .hero h1 .em { margin-left: -.12em; } }

/* Markdown source panel */
.code { margin: 0; background: var(--code-bg); color: var(--code-ink); padding: 22px 24px; font: 400 13px/21px var(--font-mono); overflow-x: auto; white-space: pre; min-width: 0; }
.code .h { color: #FFFFFF; font-weight: 700; }
.code .k { color: var(--code-key); }
.code .c { color: var(--code-muted); }

/* Slide frame: a real export from the app, 16:9, white paper in both themes, hairline, square corners */
.slide { position: relative; aspect-ratio: 16 / 9; width: 100%; background: #FFFFFF; border: 1px solid var(--line); overflow: hidden; }
/* A white sheet under the build layers, so the figure's own background image (the layers' source) never shows through */
.slide::before { content: ""; position: absolute; inset: 0; background: #FFFFFF; }
.slide img { position: relative; width: 100%; height: 100%; object-fit: cover; }

/* Exhibits strip: six real slides under the feature cards */
.action--strip { margin-top: 56px; margin-bottom: 28px; gap: 8px; }
.exhibits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.exhibit { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.exhibit img { width: 100%; height: auto; aspect-ratio: 16 / 9; border: 1px solid var(--line); background: #FFFFFF; }
.exhibit figcaption { display: flex; flex-direction: column; gap: 2px; font-size: 14px; line-height: 21px; }
.exhibit figcaption strong { font-weight: 600; color: var(--ink); }
@media (max-width: 980px) { .exhibits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .exhibits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; } .exhibit figcaption { font-size: 13px; line-height: 19px; } }

/* AI section detail row and the house-styles proof */
.ai-detail { margin-top: 56px; }
.styles-proof { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.styles-proof .slide { box-shadow: var(--shadow-frame); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps--1 { grid-template-columns: minmax(0, 1fr); }
.step { border-top: 2px solid var(--ink); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.step__n { font: 600 13px/16px var(--font-mono); color: var(--ink-muted); }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: minmax(0, 1fr); } }
.card { display: flex; flex-direction: column; gap: 12px; padding: 24px; background: var(--surface-raised); border: 1px solid var(--line); border-radius: 8px; min-width: 0; }
.card__body { color: var(--ink-muted); }
.card__proof { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font: 500 13px/19px var(--font-mono); color: var(--ink); }
.card ul { margin: 0; padding-left: 18px; color: var(--ink-muted); }
.card li + li { margin-top: 4px; }

/* Split section */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 920px) { .split { grid-template-columns: minmax(0, 1fr); } }
.list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; }
.list li::before { content: ""; width: 14px; height: 10px; margin-top: 8px; background: var(--ink); clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%); }
.section--navy .list li::before { background: #FFFFFF; }
.list strong { display: block; font-weight: 600; color: inherit; }

/* Outline mock (AI wizard) */
.panel { background: var(--surface-raised); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow-frame); overflow: hidden; min-width: 0; }
.panel__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); font: 600 15px/1.3 var(--font-display); }
.panel__body { padding: 8px 20px 20px; }
.panel__intro { padding: 12px 0 4px; }
.panel__note { padding: 12px 20px; border-top: 1px solid var(--line); }
.outline { list-style: none; margin: 0; padding: 0; counter-reset: o; }
.outline li { counter-increment: o; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.outline li:last-child { border-bottom: 0; }
.outline li::before { content: counter(o) "."; font: 600 14px/22px var(--font-mono); color: var(--ink-muted); }
.outline b { display: block; font-weight: 600; font-size: 15px; line-height: 22px; }
.outline span { font-size: 13px; line-height: 20px; color: var(--ink-muted); }

/* Committee chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 4px; font: 600 13px/1 var(--font-text); color: var(--ink); background: var(--surface); }
.chip--add { border-style: dashed; color: var(--ink-muted); }

/* Who it's for */
.who h3 { margin-bottom: 4px; }

/* Table */
.table-wrap { overflow-x: auto; max-width: 100%; }
.table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 23px; font-variant-numeric: tabular-nums; }
.table th { text-align: left; font-weight: 600; padding: 12px 14px; border-bottom: 2px solid var(--ink); vertical-align: bottom; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr.hl td { background: var(--accent-tint); }
.table caption { caption-side: bottom; text-align: left; padding-top: 10px; font: 500 12px/16px var(--font-text); color: var(--ink-muted); }
.yes { font-weight: 600; }

/* Feature reference */
.ref { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 24px 56px; padding-block: 40px; border-top: 1px solid var(--line); }
.ref:first-of-type { border-top: 2px solid var(--ink); }
.ref ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 10px; }
.ref li::marker { color: var(--ink-muted); }
@media (max-width: 860px) { .ref { grid-template-columns: minmax(0, 1fr); } }
.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 4px; border: 1px dashed var(--line-strong); font: 600 12px/1 var(--font-text); color: var(--ink-muted); vertical-align: 2px; margin-left: 6px; white-space: nowrap; }

/* Pricing */
.price { display: flex; flex-direction: column; gap: 16px; padding: 32px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-raised); min-width: 0; }
.price--main { border: 2px solid var(--ink); }
.price__amount { font: 700 40px/1 var(--font-display); letter-spacing: -.02em; }
.price__amount--s { font-size: 30px; }
.price .btn { margin-top: auto; }
.price ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; }
.placeholder { background: var(--accent-tint); color: var(--ink); padding: 0 .2em; border-radius: 3px; font-family: var(--font-mono); font-size: .8em; }

/* Note */
.note { border: 1px solid var(--line); border-radius: 8px; padding: 20px 24px; background: var(--surface-alt); display: flex; flex-direction: column; gap: 6px; }
.note--after { margin-top: 32px; }

/* FAQ */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font: 600 18px/26px var(--font-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 400 24px/1 var(--font-text); color: var(--ink-muted); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 22px; color: var(--ink-muted); max-width: var(--measure-text); display: flex; flex-direction: column; gap: 10px; }

/* CTA band */
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta__lead { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.cta__mark { width: 72px; height: auto; flex-shrink: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 48px; font-size: 14px; line-height: 22px; color: var(--ink-muted); }
.foot { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot h2 { font: 600 13px/16px var(--font-text); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.foot a { color: var(--ink-muted); text-decoration: none; display: inline-block; padding: 6px 0; }
.foot ul { gap: 2px; }
.foot__tag { margin-top: 14px; max-width: 320px; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot .logo img { height: 29.33px; }
.legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (max-width: 760px) { .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot > :first-child { grid-column: 1 / -1; } }

/* Page header for inner pages */
.page-head { padding-block: clamp(48px, 7vw, 88px) clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.page-head .wrap { display: flex; flex-direction: column; gap: 16px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* Focus on what's important: comparison rows on an emphasis panel */
.vs { background: var(--accent-tint); padding: 8px 28px 10px; min-width: 0; }
.vs__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; padding: 16px 0; border-bottom: 1px solid rgba(15,30,54,.14); }
.vs__row:last-child { border-bottom: 0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .vs__row { border-bottom-color: rgba(255,255,255,.14); } }
:root[data-theme="dark"] .vs__row { border-bottom-color: rgba(255,255,255,.14); }
.vs__row span:first-child { color: var(--ink-muted); }
.vs__row span:last-child { color: var(--ink); font-weight: 500; }
.vs__row--head span, .vs__row--head span:last-child { font: 600 13px/16px var(--font-text); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
@media (max-width: 560px) { .vs__row { gap: 16px; font-size: 15px; line-height: 23px; } }
kbd { font: 500 .88em/1 var(--font-mono); border: 1px solid var(--line-strong); border-radius: 4px; padding: 2px 5px; white-space: nowrap; }

/* Layout switch demo */
.demo { position: relative; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.demo__r { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.demo__tabs { display: inline-flex; align-self: flex-start; border: 1px solid var(--line-strong); border-radius: 8px; padding: 3px; gap: 3px; }
.demo__tabs label { font: 600 15px/20px var(--font-text); padding: 10px 18px; min-height: 44px; box-sizing: border-box; display: inline-flex; align-items: center; border-radius: 6px; cursor: pointer; color: var(--ink); }
#demo-100:checked ~ .demo__tabs label[for="demo-100"], #demo-50:checked ~ .demo__tabs label[for="demo-50"] { background: var(--primary); color: var(--on-primary); }
#demo-100:focus-visible ~ .demo__tabs label[for="demo-100"], #demo-50:focus-visible ~ .demo__tabs label[for="demo-50"] { outline: 2px solid var(--focus); outline-offset: 2px; }
#demo-100:checked ~ .demo__body .demo__v--50, #demo-50:checked ~ .demo__body .demo__v--100 { display: none; }
.pair--demo { margin-top: 0; }
.demo__note { margin: 0; }
.code .add { background: rgba(142, 174, 255, .22); outline: 3px solid rgba(142, 174, 255, .22); }

/* Hero deck: the hero is a short deck about the product, one claim per facade, turned by the radios behind the dots */
.deck__r { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.deck__view { position: relative; overflow: hidden; } /* relative, so the facades' hidden radios are clipped with them */
/* The track is a three-row grid (head, slide row, foot) that every facade shares through a subgrid, so each row is as tall as its tallest page and nothing moves between pages */
.deck__track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; grid-template-rows: auto auto auto; align-items: start; transition: transform 480ms cubic-bezier(.16, 1, .3, 1); }
.facade { min-width: 0; visibility: hidden; transition: visibility 0s linear 480ms; }
#f1:checked ~ .deck__view .facade:nth-child(1), #f2:checked ~ .deck__view .facade:nth-child(2), #f3:checked ~ .deck__view .facade:nth-child(3), #f4:checked ~ .deck__view .facade:nth-child(4), #f5:checked ~ .deck__view .facade:nth-child(5) { visibility: visible; transition-delay: 0s; }
#f2:checked ~ .deck__view .deck__track { transform: translateX(-100%); }
#f3:checked ~ .deck__view .deck__track { transform: translateX(-200%); }
#f4:checked ~ .deck__view .deck__track { transform: translateX(-300%); }
#f5:checked ~ .deck__view .deck__track { transform: translateX(-400%); }
.facade__note { color: var(--on-brand-muted); max-width: var(--measure-text); }
.deck__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-top: clamp(24px, 3vw, 36px); padding-top: 10px; border-top: 1px solid rgba(255,255,255,.18); }
.deck__dots { display: flex; flex-wrap: wrap; gap: 0 26px; }
.deck__dot { position: relative; display: inline-flex; align-items: center; min-height: 44px; font: 500 14px/20px var(--font-text); color: var(--on-brand-muted); cursor: pointer; transition: color 150ms ease-out; }
.deck__dot::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--on-brand); }
.deck__dotn { font: 600 12px/1 var(--font-mono); }
.deck__dot:hover { color: var(--on-brand); }
#f1:checked ~ .deck__bar label[for="f1"], #f2:checked ~ .deck__bar label[for="f2"], #f3:checked ~ .deck__bar label[for="f3"], #f4:checked ~ .deck__bar label[for="f4"], #f5:checked ~ .deck__bar label[for="f5"] { color: var(--on-brand); }
#f1:checked ~ .deck__bar label[for="f1"]::after, #f2:checked ~ .deck__bar label[for="f2"]::after, #f3:checked ~ .deck__bar label[for="f3"]::after, #f4:checked ~ .deck__bar label[for="f4"]::after, #f5:checked ~ .deck__bar label[for="f5"]::after { width: 100%; }
/* While the deck turns by itself, the active label's rule fills over the 8 s the page has left */
.is-rotating #f1:checked ~ .deck__bar label[for="f1"]::after, .is-rotating #f2:checked ~ .deck__bar label[for="f2"]::after, .is-rotating #f3:checked ~ .deck__bar label[for="f3"]::after, .is-rotating #f4:checked ~ .deck__bar label[for="f4"]::after, .is-rotating #f5:checked ~ .deck__bar label[for="f5"]::after { animation: deck-fill 8s linear; }
@keyframes deck-fill { from { width: 0; } to { width: 100%; } }
#f1:focus-visible ~ .deck__bar label[for="f1"], #f2:focus-visible ~ .deck__bar label[for="f2"], #f3:focus-visible ~ .deck__bar label[for="f3"], #f4:focus-visible ~ .deck__bar label[for="f4"], #f5:focus-visible ~ .deck__bar label[for="f5"] { outline: 2px solid var(--on-brand); outline-offset: 2px; }
.deck__nav { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.deck__count { font: 500 14px/20px var(--font-mono); color: var(--on-brand-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.deck__cur::before { content: "1"; color: var(--on-brand); }
#f2:checked ~ .deck__bar .deck__cur::before { content: "2"; }
#f3:checked ~ .deck__bar .deck__cur::before { content: "3"; }
#f4:checked ~ .deck__bar .deck__cur::before { content: "4"; }
#f5:checked ~ .deck__bar .deck__cur::before { content: "5"; }
.deck__arrow { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.4); border-radius: 8px; background: none; color: var(--on-brand); cursor: pointer; transition: border-color 150ms ease-out, background-color 150ms ease-out; }
.deck__arrow:hover { border-color: var(--on-brand); background: rgba(255,255,255,.08); }
.deck__arrow svg { width: 18px; height: 18px; }
.deck__pause { min-height: 44px; background: none; border: 0; padding: 0 4px; font: 500 14px/20px var(--font-text); color: var(--on-brand-muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.deck__pause:hover { color: var(--on-brand); }
.deck__arrow[hidden], .deck__pause[hidden] { display: none; }
@media (max-width: 640px) { .deck__dots { gap: 0 18px; } .deck__nav .deck__arrow { display: none; } }
@media (prefers-reduced-motion: reduce) { .deck__track { transition: none; } .facade { transition: none; } .deck__dot, .deck__arrow { transition: none; } .deck__dot::after { animation: none !important; } }


/* A screenshot in the slide slot keeps its own proportions */
.slide--shot { aspect-ratio: auto; }
.slide--shot img { height: auto; object-fit: contain; }

/* The Committee: the offices are the visual */
.committee { display: flex; flex-direction: column; gap: 20px; padding-top: 6px; max-width: var(--measure-text); }
.chips--l { gap: 10px; }
.chips--l .chip { height: 40px; padding: 0 16px; font-size: 15px; }

/* Every facade is a slide: a head band (kicker, action title, standfirst), then the exported slide on the
   left and its source on the right at one height, then a foot line. The source sits in an editor viewport:
   a file tab, then the file, scrolling inside the slide's height so nothing is abridged. */
.facade { display: grid; grid-row: 1 / -1; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: subgrid; grid-template-areas: "head head" "slide code" "foot foot"; column-gap: 28px; align-items: stretch; }
.facade__head { grid-area: head; display: flex; flex-direction: column; margin-bottom: 32px; min-width: 0; }
.facade__head .kicker { margin-bottom: 24px; }
.facade__title { font: 650 clamp(28px, 3.1vw, 40px)/1.15 var(--font-display); letter-spacing: -.015em; color: var(--on-brand); max-width: 940px; text-wrap: balance; }
.facade__take { margin-top: 14px; max-width: 940px; }
.facade .slide { grid-area: slide; align-self: start; box-shadow: 0 2px 4px rgba(0,0,0,.25), 0 24px 56px rgba(0,0,0,.35); }
/* The pane is positioned inside its cell, so the row takes the slide's height and the file scrolls within it */
.facade__code { grid-area: code; position: relative; min-width: 0; background: rgba(255,255,255,.07); }
.facade__code > .src__tabs { position: absolute; top: 0; left: 0; right: 0; }
.src__tabs { display: flex; align-items: flex-end; gap: 4px; padding: 0 10px; border-bottom: 1px solid rgba(255,255,255,.14); }
.src__tab { display: inline-flex; align-items: center; padding: 12px 10px 10px; margin-bottom: -1px; border-bottom: 2px solid transparent; font: 500 12px/16px var(--font-mono); color: var(--on-brand-muted); white-space: nowrap; }
.src__tab.is-on { color: var(--on-brand); border-bottom-color: var(--on-brand); }
/* File tabs that switch the room read as tabs: a shape, a hover, a filled active state */
label.src__tab { cursor: pointer; margin-top: 7px; margin-bottom: -1px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.3); border-bottom-color: transparent; border-radius: 6px 6px 0 0; background: rgba(255,255,255,.06); transition: background-color 150ms ease-out, color 150ms ease-out; }
label.src__tab:hover { background: rgba(255,255,255,.16); color: var(--on-brand); }
.facade .src { position: absolute; top: 41px; left: 0; right: 0; bottom: 0; overflow: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.35) transparent; }
.facade .src::-webkit-scrollbar { width: 8px; }
.facade .src::-webkit-scrollbar-thumb { background: rgba(255,255,255,.35); border-radius: 4px; }
.facade .code { background: transparent; white-space: pre-wrap; overflow-wrap: anywhere; overflow: visible; padding: 16px 22px 20px; font-size: 13px; line-height: 19px; }
.facade__foot { grid-area: foot; display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: baseline; margin-top: 14px; }
.facade__foot .replay { margin: 0; align-self: auto; }
.facade__note { color: var(--on-brand-muted); max-width: var(--measure-text); }
.hero--navy .list li::before { background: #FFFFFF; }
.hero--navy .list strong { color: var(--on-brand); }
.hero--navy .list .muted { color: var(--on-brand-muted); }
.hero--navy .list code { color: var(--on-brand); }

/* The Rooms facade: one file tab per house style; a tab swaps the slide, the source and the note together */
.rooms { display: contents; }
.rooms__slides { grid-area: slide; min-width: 0; }
.rooms__slides .slide, .rooms__code .src, .rooms__foot .facade__note { display: none; }
#room-consulting:checked ~ .rooms__slides .slide[data-room="consulting"], #room-banking:checked ~ .rooms__slides .slide[data-room="banking"], #room-learning:checked ~ .rooms__slides .slide[data-room="learning"], #room-keynote:checked ~ .rooms__slides .slide[data-room="keynote"] { display: block; }
#room-consulting:checked ~ .rooms__code .src[data-room="consulting"], #room-banking:checked ~ .rooms__code .src[data-room="banking"], #room-learning:checked ~ .rooms__code .src[data-room="learning"], #room-keynote:checked ~ .rooms__code .src[data-room="keynote"] { display: block; }
#room-consulting:checked ~ .rooms__foot .facade__note[data-room="consulting"], #room-banking:checked ~ .rooms__foot .facade__note[data-room="banking"], #room-learning:checked ~ .rooms__foot .facade__note[data-room="learning"], #room-keynote:checked ~ .rooms__foot .facade__note[data-room="keynote"] { display: block; }
#room-consulting:checked ~ .rooms__code label[for="room-consulting"], #room-banking:checked ~ .rooms__code label[for="room-banking"], #room-learning:checked ~ .rooms__code label[for="room-learning"], #room-keynote:checked ~ .rooms__code label[for="room-keynote"] { color: var(--navy); background: var(--on-brand); border-color: var(--on-brand); }
#room-consulting:focus-visible ~ .rooms__code label[for="room-consulting"], #room-banking:focus-visible ~ .rooms__code label[for="room-banking"], #room-learning:focus-visible ~ .rooms__code label[for="room-learning"], #room-keynote:focus-visible ~ .rooms__code label[for="room-keynote"] { outline: 2px solid var(--on-brand); outline-offset: -2px; }

@media (max-width: 760px) {
  .deck__track { grid-template-rows: auto auto auto auto; }
  .facade { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "slide" "code" "foot"; }
  .facade__head { margin-bottom: 16px; }
  .facade__code { margin-top: 20px; background: none; }
  .facade__code > .src__tabs { position: static; }
  .src__tabs { border-bottom: 0; padding: 0; margin-bottom: 4px; }
  .src__tab { padding: 8px 10px 6px; }
  .facade .src { position: static; overflow: visible; }
  .facade .code { background: rgba(255,255,255,.07); margin-top: 8px; padding: 18px 20px; line-height: 21px; }
  .facade__foot { margin-top: 16px; }
}

