@font-face {
  font-family: "Satoshi";
  src: url("/fonts/satoshi.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens (light only) ---------- */
:root {
  color-scheme: light;
  --ground: #ffffff;
  --ink: #141821;
  --muted: #545c66;
  --field: #f3f5f4;
  --field-2: #eaeeec;
  --rule: #e2e7e5;
  --brand: #17565c;
  --brand-2: #1d6970;
  --hero: #0f3b40;
  --hero-ink: #ffffff;
  --hero-muted: #c7dedf;
  --mortar: #0a2a2e;
  --alarm: #ff9b8a;

  --crit: #c92a2a;
  --high: #c2410c;
  --med: #a46b00;

  --t-display: clamp(2.25rem, 0.9rem + 4.6vw, 5rem);
  --t-head: clamp(1.875rem, 1.1rem + 2.4vw, 3.25rem);
  --t-sub: clamp(1.25rem, 1.05rem + 0.6vw, 1.625rem);
  --t-lede: clamp(1.125rem, 1.02rem + 0.35vw, 1.3125rem);
  --t-body: 1.0625rem;
  --t-small: 0.875rem;

  --pad: clamp(1rem, 4.5vw, 4.5rem);
  --gap: clamp(5.5rem, 10vw, 9.5rem);
  --r: 4px;
  --r-card: 20px;
  --r-panel: clamp(20px, 2.6vw, 36px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --sans: "Satoshi", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

/* Module hues, in four families: Organization teal-greens, Technology blues, Employees corals, AI ochre-olives.
   Red, orange and amber stay reserved for severity. */
.m-program, .m-trust { --h: 172; } .m-comp { --h: 152; } .m-detect { --h: 192; }
.m-pen { --h: 226; } .m-code { --h: 242; } .m-dev { --h: 258; } .m-cloud { --h: 210; }
.m-train { --h: 4; } .m-access { --h: 346; } .m-end { --h: 22; }
.m-red { --h: 96; } .m-agents { --h: 112; } .m-aigov { --h: 128; } .m-shadow { --h: 84; }
.a-org { --h: 168; } .a-tech { --h: 228; } .a-emp { --h: 2; } .a-ai { --h: 108; }
.k, .toc a { --h: 186; }

[class*="m-"], [class*="a-"], .k, .toc a {
  --tint: oklch(0.972 0.014 var(--h));
  --soft: oklch(0.935 0.03 var(--h));
  --brickc: oklch(0.84 0.075 var(--h));
  --brick-ink: oklch(0.3 0.07 var(--h));
  --solid: oklch(0.58 0.1 var(--h));
  --deep: oklch(0.4 0.085 var(--h));
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 450 var(--t-body)/1.55 var(--sans); letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-kerning: normal;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote, fieldset, pre { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
b, strong { font-weight: 700; }
code, pre { font-family: var(--mono); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 2px; }
::selection { background: oklch(0.86 0.07 186); color: var(--ink); }
.wrap { width: 100%; max-width: 90rem; margin-inline: auto; padding-inline: var(--pad); }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 50; background: #fff; color: var(--ink); padding: 0.5rem 0.875rem; border-radius: var(--r); }
.skip:focus { top: 1rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.lede { font-size: var(--t-lede); line-height: 1.5; color: var(--muted); max-width: 46ch; }

/* ---------- Buttons and links ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; padding: 0 1.375rem; border: 0; border-radius: 999px;
  background: var(--brand); color: #fff; font: 650 1rem/1 var(--sans); letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.2s var(--ease), background-color 0.2s ease, color 0.2s ease;
}
.button:hover { background: var(--brand-2); transform: translateY(-1px); }
.button:active { transform: translateY(1px) scale(0.98); }
.button.light { background: #fff; color: var(--hero); }
.button.light:hover { background: oklch(0.94 0.03 186); }
.button.ghost { background: rgb(255 255 255 / 0.08); color: #fff; border: 1.5px solid rgb(255 255 255 / 0.42); }
.button.ghost:hover { background: rgb(255 255 255 / 0.18); }
.button.small { min-height: 2.5rem; padding: 0 1.05rem; font-size: 0.9375rem; }
.button.dark { background: var(--ink); }
.button.dark:hover { background: #2a303b; }
.textlink { color: inherit; font-weight: 650; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.22em; transition: text-underline-offset 0.2s var(--ease); }
.textlink:hover { text-underline-offset: 0.34em; }
.go { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; text-decoration: none; color: var(--deep, var(--brand)); }
.go::after { content: "→"; transition: transform 0.25s var(--ease); }
.go:hover::after { transform: translateX(4px); }
.status { display: inline-flex; align-items: center; gap: 0.45rem; font-size: var(--t-small); font-weight: 650; color: var(--muted); white-space: nowrap; }
.status::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #a3a9b0; }
.status.live { color: #1f6b30; } .status.live::before { background: #2f9a4a; }
.status.early { color: #1b5bb0; } .status.early::before { background: #1b5bb0; }

/* ---------- Top bar ---------- */
.top { position: sticky; top: 0; z-index: 30; background: var(--hero); color: var(--hero-ink); }
.bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem; min-height: 4.25rem; }
.wordmark { display: inline-flex; align-items: center; gap: 0.625rem; text-decoration: none; font-size: 1.0625rem; letter-spacing: -0.015em; }
.wordmark b { font-weight: 800; }
.wordmark span { font-weight: 500; color: var(--hero-muted); }
.wordmark b { color: #fff; }
.mark { width: 1.75rem; height: 1.75rem; fill: #8fc7c9; }
.bar nav { justify-self: center; display: flex; align-items: center; gap: 0.25rem; font-size: 0.9375rem; }
.bar nav a { padding: 0.45rem 0.8rem; border-radius: 999px; transition: background-color 0.25s ease, color 0.2s ease; }
.bar nav .secure { color: rgb(199 222 223 / 0.62); font-weight: 550; padding: 0 0.25rem 0 0.9rem; white-space: nowrap; }
.bar nav a:hover { background: rgb(255 255 255 / 0.08); }
.bar-right { --bg: clamp(1.25rem, 2.5vw, 2.25rem); display: flex; align-items: center; gap: var(--bg); }
.bar nav a { color: var(--hero-muted); text-decoration: none; font-weight: 550; }
.bar nav a:hover, .bar nav a[aria-current="page"] { color: #fff; }
.bar .attack { text-decoration: none; display: inline-flex; align-items: center; gap: 0.45rem; color: var(--alarm) !important; font-weight: 700 !important; }
.bar .attack::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--alarm); box-shadow: 0 0 0 0 rgb(255 155 138 / 0.6); }
.bar .attack:hover { color: #ffc2b6 !important; }
.top :focus-visible { outline-color: #fff; }

/* ---------- Hero: one teal field, a wall at its foot ---------- */
.hero { background: var(--hero); color: var(--hero-ink); overflow: hidden; }
.intro { padding-top: clamp(3rem, 11vh, 7.5rem); }
.hero .intro { text-align: center; }
.hero h1 { font-size: var(--t-display); max-width: 16em; margin-inline: auto; letter-spacing: -0.045em; line-height: 0.98; font-weight: 750; }
.rotator { display: grid; }
.rotator .line { grid-area: 1 / 1; align-self: center; }
.rotator .line:not(.l1) { opacity: 0; }
.intro-row { margin-top: clamp(1.5rem, 3vw, 2.25rem); display: grid; justify-items: center; gap: clamp(1.5rem, 3vw, 2rem); }
.hero .lede { color: var(--hero-muted); max-width: 46ch; margin-inline: auto; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero .actions { justify-content: center; }
.hero :focus-visible { outline-color: #fff; }

/* Bricks: real texture, a bevel, mortar between them */
.brick, .toc a, .mini b, .chapter-wall a, .picks label span {
  background-color: var(--brickc);
  background-image: url("/img/brick-grain.svg");
  background-size: 260px;
  background-blend-mode: soft-light;
  /* The bevel: light catches the top and left edges, the bottom and right fall into shade */
  border-style: solid; border-width: 2px 2px 3px 2px;
  border-color: oklch(1 0 0 / 0.36) oklch(0 0 0 / 0.08) oklch(0 0 0 / 0.17) oklch(1 0 0 / 0.14);
}
.wall {
  --row: clamp(4.25rem, 6.2vw, 5.75rem);
  --mgap: clamp(5px, 0.5vw, 8px);
  margin-top: clamp(3rem, 8vh, 5.5rem);
  display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); grid-auto-rows: var(--row); gap: var(--mgap);
  padding: var(--mgap) 0 0; margin-inline: calc(var(--mgap) * -1);
  background-color: var(--mortar);
  background-image: url("/img/brick-grain.svg"); background-size: 220px; background-blend-mode: overlay;
  margin-bottom: calc(var(--row) * -0.42);
}
.wall > * { grid-column: span 4; border-radius: 3px; }
.wall > .half { grid-column: span 2; }
.wall .fill, .wall .half {
  --h: 190;
  background-color: oklch(0.36 0.045 192);
  background-image: url("/img/brick-grain.svg"); background-size: 240px; background-blend-mode: soft-light;
  border-style: solid; border-width: 2px 0 3px; border-color: oklch(1 0 0 / 0.07) transparent oklch(0 0 0 / 0.22);
}
.wall .fill:nth-child(3n), .wall .half:nth-child(4n) { background-color: oklch(0.33 0.04 196); }
.wall .fill:nth-child(5n+1) { background-color: oklch(0.385 0.048 188); }
.brick {
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 0.5rem 0.875rem; color: var(--brick-ink); text-decoration: none;
  font-size: clamp(0.875rem, 0.62rem + 0.5vw, 1.0625rem); font-weight: 700; line-height: 1.18; letter-spacing: -0.012em; text-wrap: balance;
  transition: transform 0.25s var(--ease), filter 0.25s ease;
}
.brick:nth-child(3n) { filter: brightness(0.965) saturate(1.05); }
.brick:nth-child(4n+1) { filter: brightness(1.025); }
.brick:hover { transform: translateY(-4px); filter: brightness(1.06); }
.brick:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* ---------- Section heads ---------- */
.head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.25rem clamp(2rem, 6vw, 6rem); align-items: end; }
.head h2 { font-size: var(--t-head); max-width: 16em; }
.head .lede { justify-self: start; }

/* ---------- Platform: every risk on one screen ---------- */
.platform { padding-top: calc(var(--gap) + 1.5rem); }
.screen { margin-top: clamp(2.5rem, 5vw, 4rem); position: relative; border-radius: var(--r-panel); background: oklch(0.95 0.022 186); padding: clamp(0.75rem, 3.5vw, 3.5rem) clamp(0.75rem, 3.5vw, 3.5rem) 0; overflow: hidden; }
.screen img { width: 100%; border-radius: 14px 14px 0 0; outline: 1px solid oklch(0.85 0.02 186); }
.screen figcaption, .shot figcaption { position: absolute; right: clamp(1rem, 2vw, 1.5rem); bottom: 0.875rem; font-size: 0.8125rem; font-weight: 600; color: var(--muted); background: rgb(255 255 255 / 0.92); padding: 0.25rem 0.625rem; border-radius: 999px; }
.jobs { margin-top: clamp(1rem, 2vw, 1.5rem); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.jobs > div { padding: clamp(1.25rem, 2.2vw, 2rem); border-radius: var(--r-card); background: var(--field); display: grid; gap: 0.75rem; align-content: start; transition: background-color 0.25s ease, transform 0.3s var(--ease); }
.jobs > div:hover { background: var(--field-2); transform: translateY(-3px); }
.jobs dt { display: flex; align-items: center; gap: 0.625rem; font-size: var(--t-sub); font-weight: 750; letter-spacing: -0.03em; }
.jobs dt::before { content: ""; width: 1.5rem; height: 0.75rem; border-radius: 2px; background: var(--brickc); flex: none; }
.jobs > div:nth-child(1) { --h: 186; } .jobs > div:nth-child(2) { --h: 152; } .jobs > div:nth-child(3) { --h: 226; } .jobs > div:nth-child(4) { --h: 96; }
.jobs > div { --brickc: oklch(0.8 0.08 var(--h)); }
.jobs dd { color: var(--ink); line-height: 1.5; }

/* ---------- Where are you starting (CSS only) ---------- */
.start { padding-top: var(--gap); }
.start-panel { border-radius: var(--r-panel); background: var(--field); padding: clamp(1.5rem, 4vw, 4rem); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem clamp(2rem, 5vw, 5rem); align-items: start; }
.start h2 { font-size: var(--t-head); margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.situations { display: grid; gap: 6px; }
.situations label { position: relative; display: block; cursor: pointer; }
.situations input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.situations span { display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1.125rem; border-radius: 14px; background: #fff; font-weight: 600; transition: background-color 0.2s ease, color 0.2s ease, transform 0.25s var(--ease); }
.situations span::before { content: ""; width: 1.25rem; height: 0.625rem; border-radius: 2px; background: var(--field-2); flex: none; transition: background-color 0.2s ease; }
.situations label:hover span { transform: translateX(4px); }
.situations input:checked + span { background: var(--hero); color: #fff; }
.situations input:checked + span::before { background: #8fc7c9; }
.situations input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.mini { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 5px; padding: 5px; border-radius: 10px; background: #d6dedb; }
.mini b { grid-column: span 2; min-height: 3.5rem; border-radius: 3px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0.375rem; font-size: 0.8125rem; font-weight: 700; line-height: 1.15; color: var(--brick-ink); opacity: 0.32; filter: saturate(0.3); transition: opacity 0.35s ease, filter 0.35s ease, transform 0.35s var(--ease); }
.mini b.h1 { grid-column: span 1; background: transparent; border-color: transparent; opacity: 1; }
.says { margin-top: 1.5rem; display: grid; }
.says p { grid-area: 1 / 1; font-size: var(--t-lede); line-height: 1.5; max-width: 44ch; opacity: 0; visibility: hidden; transition: opacity 0.3s ease; }
.start:has(#s-soc2:checked) .say-soc2, .start:has(#s-pentest:checked) .say-pentest, .start:has(#s-ai:checked) .say-ai,
.start:has(#s-insure:checked) .say-insure, .start:has(#s-owner:checked) .say-owner { opacity: 1; visibility: visible; }
.start:has(#s-soc2:checked) :is(.mini .m-comp, .mini .m-access, .mini .m-end, .mini .m-program),
.start:has(#s-pentest:checked) :is(.mini .m-pen, .mini .m-code, .mini .m-cloud),
.start:has(#s-ai:checked) :is(.mini .m-red, .mini .m-agents, .mini .m-aigov, .mini .m-dev, .mini .m-shadow),
.start:has(#s-insure:checked) :is(.mini .m-access, .mini .m-end, .mini .m-detect, .mini .m-train),
.start:has(#s-owner:checked) :is(.mini .m-program, .mini .m-cloud, .mini .m-access, .mini .m-pen) { opacity: 1; filter: none; transform: translateY(-3px); }
.start-cta { margin-top: 1.5rem; }

/* ---------- The four areas: one long rounded field each ---------- */
.area { margin-top: var(--gap); }
.area + .area { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.area-panel { border-radius: var(--r-panel); background: var(--tint); padding: clamp(1.5rem, 4.5vw, 4.5rem); }
.area-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.25rem clamp(2rem, 6vw, 6rem); align-items: end; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.area-top h2 { font-size: var(--t-head); }
.area-top h2 span { display: block; color: var(--deep); }
.area-top .lede { color: var(--ink); opacity: 0.8; }
.chapter-wall { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 5px; }
.chapter-wall a { padding: 0.5rem 0.875rem; border-radius: 3px; color: var(--brick-ink); text-decoration: none; font-size: var(--t-small); font-weight: 700; transition: transform 0.25s var(--ease); }
.chapter-wall a:hover { transform: translateY(-3px); }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.75rem, 1.2vw, 1.125rem); }
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--r-card); background: #fff; overflow: hidden; transition: transform 0.35s var(--ease); }
.card:hover { transform: translateY(-4px); }
.card:hover .shot img { transform: scale(1.025); }
.card .shot { position: relative; background: var(--soft); padding: 1.125rem; overflow: hidden; aspect-ratio: 2 / 1.12; }
.card .shot img { width: 100%; height: 100%; object-fit: contain; object-position: left top; border-radius: 10px; transition: transform 0.6s var(--ease); transform-origin: left top; }
.card-body { padding: clamp(1.25rem, 2vw, 1.75rem); display: flex; flex-direction: column; gap: 0.875rem; flex: 1; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; }
.card h3 { font-size: var(--t-sub); letter-spacing: -0.03em; }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card .promise { color: var(--ink); line-height: 1.5; }
.card .go { margin-top: auto; padding-top: 0.25rem; }
.card :focus-visible { outline: none; }
.card:has(:focus-visible) { outline: 3px solid var(--brand); outline-offset: 3px; }
.bricks { display: grid; gap: 0.5rem; }
.bricks li { position: relative; padding-left: 1.75rem; line-height: 1.5; }
.bricks li::before { content: ""; position: absolute; left: 0; top: 0.48em; width: 1.125rem; height: 0.5625rem; border-radius: 1.5px; background: var(--brickc, oklch(0.84 0.075 186)); }
.card .bricks { font-size: 0.9688rem; color: var(--ink); }

/* The featured card: wide, picture beside the words */
.card.feature { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.card.feature .shot { order: 2; aspect-ratio: auto; min-height: 100%; padding: clamp(1.25rem, 2.5vw, 2rem) 0 0 clamp(1.25rem, 2.5vw, 2rem); }
.card.feature .shot img { border-radius: 12px 0 0 0; object-fit: cover; }
.card.feature .card-body { padding: clamp(1.5rem, 3vw, 2.75rem); gap: 1.125rem; }
.card.feature h3 { font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.5rem); }
.card.feature .promise { font-size: var(--t-lede); }
.card.feature.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.card.feature.flip .shot { order: 0; padding: clamp(1.25rem, 2.5vw, 2rem); display: flex; align-items: center; }
.card.feature.flip .shot img { border-radius: 12px; object-fit: contain; height: auto; }
.card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin-top: auto; position: relative; z-index: 2; }

/* Employees: rows instead of columns */
.cards.rows { grid-template-columns: minmax(0, 1fr); }
.cards.rows .card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.cards.rows .card .shot { aspect-ratio: auto; height: clamp(15rem, 22vw, 19rem); padding: 1.25rem 0 0 1.25rem; order: 2; }
.cards.rows .card .shot img { border-radius: 10px 0 0 0; }

/* AI: the one dark field */
.a-ai .area-panel { background: #121a16; color: #eef2ec; }
.a-ai .area-top h2 span { color: oklch(0.86 0.12 112); }
.a-ai .area-top .lede { color: #c9d3c6; opacity: 1; }
.a-ai .card { background: #1c2620; color: #eef2ec; }
.a-ai .card .promise, .a-ai .card .bricks { color: #e4eae1; }
.a-ai .card .shot { background: #26332b; }
.a-ai .go { color: oklch(0.86 0.12 112); }
.a-ai .status.live { color: #8fd49c; } .a-ai .status.live::before { background: #5fc173; }
.a-ai .status.early { color: #9ec3f5; } .a-ai .status.early::before { background: #78a9ee; }
.a-ai .card:has(:focus-visible) { outline-color: #fff; }

/* ---------- Connect: API, MCP, connectors ---------- */
.connect { padding-top: var(--gap); }
.connect-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem clamp(2rem, 5vw, 5rem); align-items: start; }
.connect h2 { font-size: var(--t-head); }
.connect .lede { margin-top: 1.25rem; }
.rules { margin-top: 2rem; display: grid; gap: 6px; }
.rules li { padding: 1rem 1.125rem; border-radius: 14px; background: var(--field); line-height: 1.45; }
.rules strong { display: block; margin-bottom: 0.15rem; }
.connect .shot-big { border-radius: var(--r-panel); background: oklch(0.95 0.03 112); padding: clamp(0.75rem, 2.5vw, 2rem) 0 0 clamp(0.75rem, 2.5vw, 2rem); overflow: hidden; position: relative; }
.connect .shot-big img { border-radius: 12px 0 0 0; outline: 1px solid oklch(0.85 0.03 112); }
.ways { margin-top: clamp(2rem, 4vw, 3rem); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.ways > div { padding: clamp(1.25rem, 2.2vw, 1.75rem); border-radius: var(--r-card); background: var(--hero); color: #fff; display: grid; gap: 0.5rem; align-content: start; }
.ways h3 { font-size: var(--t-sub); letter-spacing: -0.03em; }
.ways p { color: var(--hero-muted); line-height: 1.5; }
.ways code { color: #fff; font-size: 0.875em; }
.early-note { margin-top: 1rem; font-size: var(--t-small); color: var(--muted); }

/* ---------- How it starts: one bar ---------- */
.how { padding-top: var(--gap); }
.how h2 { font-size: var(--t-head); }
.stages { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; grid-template-columns: 21fr 28fr 51fr; gap: 6px; }
.stages li { min-height: clamp(12rem, 24vh, 15rem); padding: clamp(1.25rem, 2vw, 1.75rem); border-radius: var(--r-card); display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; }
.stages strong { font-size: clamp(1.375rem, 1rem + 1.1vw, 2rem); letter-spacing: -0.035em; line-height: 1.05; }
.stages span { max-width: 32ch; line-height: 1.45; }
.st-call { background: oklch(0.92 0.035 186); }
.st-plan { background: oklch(0.8 0.06 186); }
.st-run { background: var(--brand); color: #fff; }

/* ---------- About panel ---------- */
.about-panel { padding: var(--gap) clamp(0.625rem, 1.5vw, 1.25rem) 0; }
.panel { max-width: 90rem; margin-inline: auto; background: var(--hero); color: #fff; border-radius: var(--r-panel); overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem clamp(2rem, 5vw, 5rem); padding: clamp(2rem, 4.5vw, 4rem); }
.panel-left { display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem; }
.panel h2 { font-size: var(--t-head); max-width: 13em; }
.mark-big { width: min(24rem, 78%); height: auto; fill: #2b7b82; margin-bottom: calc(clamp(2rem, 4.5vw, 4rem) * -1.6); }
.panel-right { display: grid; gap: 1.75rem; align-content: start; }
.panel-right h3 { font-size: var(--t-sub); margin-bottom: 0.5rem; letter-spacing: -0.03em; }
.panel-right p { line-height: 1.6; color: var(--hero-muted); }
.panel-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.panel :focus-visible { outline-color: #fff; }

/* ---------- Contact: a coupon to fill in ---------- */
.contact { padding-block: var(--gap) clamp(4rem, 7vw, 6rem); }
.coupon { --c: #17565c; --c-field: #1f6870; --c-ink: #ffffff; --c-muted: #d3e6e7; background: var(--c); color: var(--c-ink); border-radius: var(--r-panel); }
.coupon :focus-visible { outline-color: #fff; }
.coupon-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.5rem clamp(2rem, 5vw, 5rem); align-items: end; padding: clamp(1.75rem, 4.5vw, 4rem); }
.coupon h2, .coupon h1 { font-size: var(--t-head); line-height: 1.02; }
.coupon-intro { display: grid; gap: 1rem; }
.coupon-intro p { color: var(--c-muted); font-size: var(--t-lede); line-height: 1.45; max-width: 34ch; }
.coupon-intro .direct { font-size: var(--t-body); }
.direct a { color: var(--c-ink); font-weight: 650; overflow-wrap: anywhere; text-underline-offset: 0.2em; }
.coupon-form { position: relative; border-top: 5px dotted var(--ground); padding: clamp(1.75rem, 4.5vw, 4rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 1.25rem; align-items: start; }
.coupon-form::before, .coupon-form::after { content: ""; position: absolute; top: -17px; width: 28px; height: 28px; border-radius: 50%; background: var(--ground); }
.coupon-form::before { left: -14px; } .coupon-form::after { right: -14px; }
.coupon-form .wide { grid-column: 1 / -1; }
.field { display: grid; gap: 0.375rem; }
.coupon label, .coupon legend { font-size: var(--t-small); font-weight: 650; color: var(--c-ink); }
.coupon label span, .coupon legend span, .hint { font-weight: 450; color: var(--c-muted); }
.hint { font-size: var(--t-small); }
.coupon input[type="text"], .coupon input[type="email"], .coupon input[type="tel"], .coupon textarea, .coupon select {
  width: 100%; min-height: 3.25rem; padding: 0.75rem 0.875rem; border: 0; border-radius: 10px;
  background: var(--c-field); color: var(--c-ink); font: 450 1rem/1.4 var(--sans); transition: box-shadow 0.2s ease;
}
.coupon textarea { resize: vertical; min-height: 6.5rem; }
.coupon select { appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem; }
.coupon select option { color: #141821; }
.coupon input:focus, .coupon textarea:focus, .coupon select:focus { outline: none; box-shadow: inset 0 0 0 2px #ffffff; }
.picks { display: flex; flex-wrap: wrap; gap: 6px; }
.picks legend { margin-bottom: 0.5rem; float: left; width: 100%; }
.picks label { position: relative; cursor: pointer; }
.picks input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.picks label span { display: block; padding: 0.5rem 0.75rem; border-radius: 3px; background-color: var(--c-field); background-image: none; border-color: transparent; color: var(--c-ink); font-weight: 600; font-size: var(--t-small); transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s var(--ease); }
.picks label:hover span { transform: translateY(-2px); }
.picks input:checked + span { background-color: var(--brickc); background-image: url("/img/brick-grain.svg"); border-style: solid; border-width: 2px 0 3px; border-color: oklch(1 0 0 / 0.36) transparent oklch(0 0 0 / 0.17); color: var(--brick-ink); }
.picks input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.choice { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.choice label { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 550; cursor: pointer; }
.choice input { width: 1.125rem; height: 1.125rem; accent-color: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.send-row { display: flex; align-items: center; gap: 1rem 1.5rem; flex-wrap: wrap; margin-top: 0.5rem; }
.send { min-width: 12rem; min-height: 3.5rem; background: #0b1416; color: #fff; }
.send:hover { background: #000; }
.privacy { color: var(--c-muted); font-size: var(--t-small); }

/* ---------- Footer: the name, built from bricks ---------- */
.foot { padding-block: 0 2.5rem; }
.built { display: flex; align-items: flex-end; gap: 6px; height: clamp(9rem, 26vw, 22rem); }
.built span {
  flex: 1; display: flex; align-items: flex-end; padding: 0 0 0.04em 0.08em; border-radius: 4px;
  background-color: var(--brand); background-image: url("/img/brick-grain.svg"); background-size: 300px; background-blend-mode: soft-light;
  border-style: solid; border-width: 3px 0 4px; border-color: oklch(1 0 0 / 0.13) transparent oklch(0 0 0 / 0.2);
  color: var(--ground); font-size: clamp(2.5rem, 9.5vw, 8.75rem); font-weight: 800; line-height: 0.9; letter-spacing: -0.04em; overflow: hidden;
}
.built span:nth-child(1) { height: 100%; } .built span:nth-child(2) { height: 78%; background-color: #1d6970; }
.built span:nth-child(3) { height: 90%; } .built span:nth-child(4) { height: 66%; background-color: #1d6970; }
.built span:nth-child(5) { height: 96%; background-color: #12474d; } .built span:nth-child(6) { height: 72%; }
.built span:nth-child(7) { height: 86%; background-color: #1d6970; } .built span:nth-child(8) { height: 62%; background-color: #12474d; }
.foot-cols { margin-top: clamp(2.5rem, 5vw, 3.5rem); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(0, 1.2fr); gap: 2rem 1.5rem; font-size: 0.9375rem; }
.foot-cols p { font-weight: 700; margin-bottom: 0.625rem; }
.foot-cols a { display: block; padding-block: 0.25rem; color: var(--muted); text-decoration: none; transition: color 0.2s ease, transform 0.2s var(--ease); overflow-wrap: anywhere; }
.foot-cols a:hover { color: var(--ink); transform: translateX(4px); }
.foot-cols .attack-link { color: var(--crit); font-weight: 650; }
.foot-last { margin-top: clamp(2.5rem, 5vw, 3.5rem); display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; flex-wrap: wrap; font-size: var(--t-small); color: var(--muted); }
.foot-legal { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 1.5rem; }
.foot-legal a { color: var(--muted); text-underline-offset: 0.2em; }
.foot-legal a:hover { color: var(--ink); }

/* ---------- Small pages: 404, thanks, error ---------- */
.lost { padding-block: clamp(3rem, 12vh, 8rem); display: grid; gap: 1.5rem; justify-items: start; }
.lost h1 { font-size: var(--t-head); }

/* ---------- Inner pages ---------- */
.page-hero { background: var(--hero); color: var(--hero-ink); overflow: hidden; }
.page-hero .intro { padding-top: clamp(2.5rem, 9vh, 5.5rem); }
.page-hero h1 { font-size: clamp(2.125rem, 1rem + 3.6vw, 4.25rem); max-width: 15em; letter-spacing: -0.045em; line-height: 1; }
.page-hero .lede { margin-top: 1.25rem; color: var(--hero-muted); max-width: 52ch; }
.page-hero .updated { margin-top: 1rem; font-size: var(--t-small); color: var(--hero-muted); }
.page-hero .actions { margin-top: 1.75rem; }
.page-hero :focus-visible { outline-color: #fff; }
.crumb { display: inline-flex; gap: 0.5rem; margin-bottom: 1.25rem; font-size: var(--t-small); font-weight: 600; color: var(--hero-muted); }
.crumb a { color: var(--hero-muted); text-underline-offset: 0.2em; }
.crumb a:hover { color: #fff; }
.page-hero .status { margin-top: 1.25rem; color: #cfe7d4; }
.page-hero .status.live::before { background: #6fd387; }
.page-hero .status.early { color: #cfe0f7; } .page-hero .status.early::before { background: #8db8f2; }

/* The page's sections, laid as bricks on the hero's bottom edge */
.toc {
  --row: clamp(3.5rem, 4.6vw, 4.25rem);
  margin-top: clamp(2.5rem, 7vh, 4.5rem);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: var(--row); gap: 6px;
  padding-top: 6px; margin-inline: -6px; margin-bottom: calc(var(--row) * -0.45);
  background-color: var(--mortar); background-image: url("/img/brick-grain.svg"); background-size: 220px; background-blend-mode: overlay;
}
.toc > * { grid-column: span 2; border-radius: 3px; }
.toc > .half { grid-column: span 1; }
.toc .fill, .toc .half { background-color: oklch(0.36 0.045 192); background-image: url("/img/brick-grain.svg"); background-size: 240px; background-blend-mode: soft-light; border-style: solid; border-width: 2px 0 3px; border-color: oklch(1 0 0 / 0.07) transparent oklch(0 0 0 / 0.22); }
.toc .fill:nth-child(odd), .toc .half:nth-child(3n) { background-color: oklch(0.33 0.04 196); }
.toc a {
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 0.5rem 0.75rem;
  color: var(--brick-ink); text-decoration: none;
  font-size: clamp(0.8125rem, 0.7rem + 0.25vw, 0.9688rem); font-weight: 700; line-height: 1.18;
  transition: transform 0.25s var(--ease);
}
.toc a:nth-child(4n+2) { --h: 170; } .toc a:nth-child(4n+3) { --h: 200; } .toc a:nth-child(4n) { --h: 156; }
.toc a:hover { transform: translateY(-4px); }

/* Body: heading on the left, text on the right */
.doc { padding-block: clamp(4.5rem, 9vw, 7rem) clamp(4rem, 8vw, 6rem); }
.sec { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 1.25rem clamp(2rem, 6vw, 6rem); padding-block: clamp(2.5rem, 5vw, 3.75rem); }
.sec:first-child { padding-top: 0; }
.sec > h2 { font-size: clamp(1.5rem, 1.15rem + 1vw, 2.125rem); align-self: start; }
.prose { display: grid; gap: 1.125rem; align-content: start; min-width: 0; }
.prose p, .prose li { max-width: 66ch; line-height: 1.6; }
.prose h3 { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.015em; margin-top: 0.5rem; margin-bottom: -0.5rem; }
.prose a:not(.button) { color: var(--deep); font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 0.2em; overflow-wrap: anywhere; }
.prose .lede { max-width: 52ch; }
.prose .note { font-size: var(--t-small); color: var(--muted); }
.prose code { font-size: 0.875em; overflow-wrap: anywhere; }
.kv { display: grid; border-top: 1px solid var(--rule); }
.kv > div { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: 0.25rem 1.5rem; padding-block: 0.875rem; border-bottom: 1px solid var(--rule); }
.kv dt { font-weight: 700; }
.kv dd { line-height: 1.55; max-width: 60ch; }
.fpr { font-family: var(--mono); font-size: 0.9375rem; letter-spacing: 0.02em; word-spacing: 0.2em; overflow-wrap: anywhere; }
.doc-end { margin-top: clamp(2rem, 4vw, 3rem); display: flex; align-items: center; gap: 1rem 1.75rem; flex-wrap: wrap; }
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.flow li { display: flex; flex-direction: column; gap: 0.5rem; min-height: 9rem; padding: 1rem 1.125rem; border-radius: 14px; background: var(--tint); line-height: 1.45; }
.flow strong { font-size: 1.0625rem; letter-spacing: -0.015em; }
.flow .who { margin-top: auto; align-self: flex-start; padding: 0.125rem 0.5rem; border-radius: 999px; font-size: 0.8125rem; font-weight: 700; background: var(--soft); color: var(--deep); }
.flow .you { background: var(--brand); color: #fff; }
.flow .you .who { background: #fff; color: var(--hero); }
.std { display: flex; flex-wrap: wrap; gap: 6px; }
.std li { padding: 0.4375rem 0.75rem; border-radius: 999px; background: var(--tint); font-size: var(--t-small); font-weight: 650; max-width: none; }

/* ---------- Module and product pages ---------- */
.mod-hero .intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem clamp(2rem, 5vw, 5rem); align-items: end; padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.mod-hero .hero-side { display: grid; gap: 1rem; justify-items: start; }
.mod-hero .hero-side .lede { margin-top: 0; }
.mod-hero.tinted { background: var(--hero); }
.mod-shot { margin-top: calc(clamp(2.5rem, 6vw, 4.5rem) * -0.01); }
.mod-shot .frame { border-radius: var(--r-panel); background: var(--soft); padding: clamp(0.75rem, 3vw, 3rem) clamp(0.75rem, 3vw, 3rem) 0; overflow: hidden; position: relative; }
.mod-shot .frame img { width: 100%; border-radius: 14px 14px 0 0; outline: 1px solid oklch(0.85 0.03 var(--h)); }
.mod-shot .frame.small { padding-bottom: clamp(0.75rem, 3vw, 3rem); }
.mod-shot .frame.small img { max-width: 52rem; margin-inline: auto; border-radius: 14px; }
.mod-shot figcaption { position: absolute; right: 1.25rem; bottom: 0.875rem; font-size: 0.8125rem; font-weight: 600; color: var(--muted); background: rgb(255 255 255 / 0.92); padding: 0.25rem 0.625rem; border-radius: 999px; }
.blocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.blocks > div { padding: clamp(1.25rem, 2.2vw, 1.875rem); border-radius: var(--r-card); background: var(--tint); display: grid; gap: 0.75rem; align-content: start; }
.blocks h3 { font-size: var(--t-sub); letter-spacing: -0.03em; }
.blocks p { line-height: 1.55; }
.blocks.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tools { display: grid; gap: 6px; }
.tools li { display: grid; grid-template-columns: minmax(0, 19rem) minmax(0, 1fr) auto; gap: 0.25rem 1.25rem; align-items: baseline; padding: 0.875rem 1.125rem; border-radius: 12px; background: var(--field); }
.tools code { font-size: 0.85rem; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.tools span { color: var(--muted); }
.tools em { font-style: normal; font-size: 0.8125rem; font-weight: 700; padding: 0.125rem 0.5rem; border-radius: 999px; background: #e3f4e6; color: #1f6b30; white-space: nowrap; }
.tools em.ask { background: #fdf1d3; color: #7a5300; }
.tools em.no { background: #fbe4e4; color: #a51d1d; }
.related { display: flex; flex-wrap: wrap; gap: 6px; }
.related a { padding: 0.75rem 1rem; border-radius: 3px; text-decoration: none; font-weight: 700; color: var(--brick-ink); background-color: var(--brickc); background-image: url("/img/brick-grain.svg"); background-size: 260px; background-blend-mode: soft-light; border-style: solid; border-width: 2px 0 3px; border-color: oklch(1 0 0 / 0.36) transparent oklch(0 0 0 / 0.17); transition: transform 0.25s var(--ease); }
.related a:hover { transform: translateY(-3px); }
.cta-band { margin-top: var(--gap); }
.cta-band .panel { align-items: end; }
.reports { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.reports a { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1rem, 2vw, 1.75rem); align-items: center; padding: clamp(1rem, 1.8vw, 1.5rem); border-radius: var(--r-card); background: var(--hero); color: #fff; text-decoration: none; transition: transform 0.3s var(--ease), background-color 0.2s ease; }
.reports a:hover { transform: translateY(-3px); background: #134a50; }
.reports strong { font-size: var(--t-sub); letter-spacing: -0.03em; line-height: 1.15; }
.reports span { color: var(--hero-muted); }
.reports em { font-style: normal; font-weight: 700; margin-top: 0.5rem; }
.reports em::after { content: " ↓"; }
.code-block { background: #10181b; color: #d6e2e4; border-radius: 14px; padding: 1.125rem 1.25rem; font: 0.875rem/1.65 var(--mono); overflow-x: auto; white-space: pre; }
.code-block .c { color: #7f9396; } .code-block .k { color: #8fd3c9; } .code-block .s { color: #f1c27d; }
.attack-steps { display: grid; gap: 6px; }
.attack-steps li { padding: 1rem 1.125rem; border-radius: 14px; background: #fff3f1; line-height: 1.5; }
.attack-steps strong { display: block; }

/* ---------- Tablet and phone ---------- */
@media (max-width: 1199px) {
  .bar nav .nav-area { display: none; }
  .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 999px) {
  .head, .area-top, .connect-grid, .start-panel, .panel, .coupon-top, .mod-hero .intro { grid-template-columns: minmax(0, 1fr); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card.feature, .card.feature.flip, .cards.rows .card { grid-template-columns: minmax(0, 1fr); }
  .card.feature .shot, .card.feature.flip .shot, .cards.rows .card .shot { order: 0; aspect-ratio: 16 / 10; height: auto; min-height: 0; padding: 1.125rem 1.125rem 0; }
  .card.feature .shot img, .card.feature.flip .shot img, .cards.rows .card .shot img { border-radius: 10px 10px 0 0; object-position: left top; }
  .jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stages { grid-template-columns: minmax(0, 1fr); }
  .stages li { min-height: 0; }
  .mark-big { display: none; }
  .ways, .blocks.three { grid-template-columns: minmax(0, 1fr); }
  .sec { grid-template-columns: minmax(0, 1fr); }
  .kv > div { grid-template-columns: minmax(0, 1fr); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toc { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 3.5rem; margin-inline: 0; margin-bottom: 0; padding: 6px; }
  .toc > .fill, .toc > .half { display: none; }
  .toc > a { grid-column: span 1; }
}
@media (max-width: 799px) {
  .bar nav a:not(.button):not(.attack) { display: none; }
  .wall { --row: 4.25rem; grid-template-columns: repeat(12, minmax(0, 1fr)); margin-bottom: 0; }
  .wall > * { grid-column: span 6; }
  .wall > .half { grid-column: span 3; }
  .wall .fill:nth-child(n+20), .wall .half.wide-only { display: none; }
  .blocks, .reports { grid-template-columns: minmax(0, 1fr); }
  .tools li { grid-template-columns: minmax(0, 1fr); }
  .mini { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mini b.h1 { display: none; }
}
@media (max-width: 599px) {
  .bar { min-height: 3.75rem; gap: 0.75rem; }
  .wordmark span span, .wordmark > span { font-size: 1rem; }
  .bar nav { gap: 0.875rem; }
  .bar .button.small { padding: 0 0.875rem; font-size: 0.875rem; min-height: 2.25rem; }
  .bar .attack { font-size: 0.875rem; }
  .cards, .jobs { grid-template-columns: minmax(0, 1fr); }
  .coupon-form { grid-template-columns: minmax(0, 1fr); }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .toc { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .toc > a { min-height: 2.75rem; }
  .screen figcaption, .card .shot figcaption { display: none; }
}

/* ---------- Motion ---------- */
@keyframes lay { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(255 155 138 / 0.55); } 70% { box-shadow: 0 0 0 7px rgb(255 155 138 / 0); } 100% { box-shadow: 0 0 0 0 rgb(255 155 138 / 0); } }
@keyframes cta-in { from { opacity: 0; visibility: hidden; max-width: 0; padding-inline: 0; margin-left: calc(var(--bg) * -1); } to { opacity: 1; visibility: visible; max-width: 12rem; padding-inline: 1.05rem; margin-left: 0; } }
@keyframes tagline { 0% { opacity: 0; transform: translateY(18px); } 4% { opacity: 1; transform: none; } 30% { opacity: 1; transform: none; } 34% { opacity: 0; transform: translateY(-18px); } 100% { opacity: 0; transform: translateY(-18px); } }
@keyframes nav-on { from, to { background: rgb(255 255 255 / 0.14); color: #fff; } }

@media (prefers-reduced-motion: no-preference) {
  .bar .attack::before { animation: pulse 2.4s ease-out infinite; }
  .hero h1, .hero .intro-row { animation: rise 0.8s var(--ease) both; }
  .hero .intro-row { animation-delay: 90ms; }
  .wall > * { animation: lay 0.5s var(--ease) both; }
  .wall > :nth-child(-n+7) { animation-delay: 380ms; }
  .wall > :nth-child(n+8):nth-child(-n+13) { animation-delay: 300ms; }
  .wall > :nth-child(n+14):nth-child(-n+20) { animation-delay: 220ms; }
  .wall > :nth-child(n+21) { animation-delay: 140ms; }
  .wall > :nth-child(2n) { animation-duration: 0.62s; }
  .toc > * { animation: lay 0.45s var(--ease) both; }
  .toc > :nth-child(-n+6) { animation-delay: 160ms; }
  .toc > :nth-child(n+7) { animation-delay: 60ms; }

  @supports (animation-timeline: view()) {
    .head > *, .area-top > *, .card, .jobs > div, .screen, .start-panel, .rules li, .ways > div, .shot-big, .stages li, .panel, .coupon, .blocks > div, .tools li, .reports a, .mod-shot .frame, .sec {
      animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 42%;
    }
    .head > :nth-child(2), .area-top > :nth-child(2), .card:nth-child(2), .jobs > div:nth-child(2), .ways > div:nth-child(2), .stages li:nth-child(2), .blocks > div:nth-child(2) { animation-range: entry 6% entry 50%; }
    .card:nth-child(3), .jobs > div:nth-child(3), .ways > div:nth-child(3), .stages li:nth-child(3), .blocks > div:nth-child(3) { animation-range: entry 12% entry 58%; }
    .jobs > div:nth-child(4), .card:nth-child(4) { animation-range: entry 18% entry 64%; }
    .screen img { animation: settle linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
  }
  @supports (animation-timeline: scroll()) {
    .home .bar .cta { animation: cta-in linear both; animation-timeline: scroll(root); animation-range: 52vh 68vh; }
  }
  /* The headline cycles through three lines */
  .rotator .line { animation: tagline 18s linear infinite both; }
  .rotator .l1 { animation-delay: -0.6s; }
  .rotator .l2 { animation-delay: 5.4s; }
  .rotator .l3 { animation-delay: 11.4s; }
}
@keyframes settle { from { transform: translateY(48px) scale(0.97); } to { transform: none; } }

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

/* Two-up cards (Employees): the feature spans, two below */
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 599px) { .cards.two { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Pen testing page ---------- */
.mod-shot { padding-top: clamp(3.5rem, 6vw, 5.5rem); }
.mod-shot .frame:not(.small) { background: oklch(0.95 0.025 var(--h)); }
.pt-sec { padding-top: var(--gap); }
.pt-sec .head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.pt-sec h2 { font-size: var(--t-head); }
.pt-sec h2.solo { margin-bottom: clamp(2rem, 4vw, 3rem); }
.ai-split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 6px; align-items: stretch; }
.ai-split .blocks > div { background: var(--tint); }
.side-shot { position: relative; min-height: 24rem; border-radius: var(--r-card); background: oklch(0.93 0.04 var(--h)); overflow: hidden; }
.side-shot img { position: absolute; left: clamp(1rem, 2vw, 1.75rem); top: clamp(1rem, 2vw, 1.75rem); width: 175%; max-width: none; height: auto; border-radius: 12px 0 0 0; }
.blocks.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.note-line { margin-top: 1.25rem; font-size: var(--t-small); color: var(--muted); }
.run-bar { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.run-bar li { min-height: clamp(11rem, 20vh, 13rem); padding: clamp(1rem, 1.6vw, 1.375rem); border-radius: var(--r-card); display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; background: oklch(0.95 0.025 226); line-height: 1.45; }
.run-bar li:nth-child(2) { background: oklch(0.91 0.04 226); }
.run-bar li:nth-child(3) { background: oklch(0.86 0.055 226); }
.run-bar li:nth-child(4) { background: oklch(0.5 0.1 226); color: #fff; }
.run-bar li:nth-child(5) { background: oklch(0.42 0.09 226); color: #fff; }
.run-bar li:nth-child(6) { background: var(--hero); color: #fff; }
.run-bar strong { font-size: var(--t-sub); letter-spacing: -0.03em; line-height: 1.05; }
.guard-panel { border-radius: var(--r-panel); background: var(--hero); color: #fff; padding: clamp(1.5rem, 4.5vw, 4rem); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem clamp(2rem, 5vw, 5rem); align-items: start; }
.guard-panel h2 { font-size: var(--t-head); }
.guard-panel .lede { margin-top: 1.25rem; color: var(--hero-muted); }
.guard-panel .rules { margin-top: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.guard-panel .rules li { background: rgb(255 255 255 / 0.07); color: var(--hero-muted); }
.guard-panel .rules strong { color: #fff; }
@media (max-width: 999px) {
  .ai-split, .guard-panel { grid-template-columns: minmax(0, 1fr); }
  .side-shot { min-height: 0; padding: 1rem 0 0 1rem; }
  .side-shot img { position: static; width: 140%; }
  .blocks.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .run-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .run-bar li { min-height: 8.5rem; }
}
@media (max-width: 599px) {
  .blocks.four, .run-bar, .guard-panel .rules { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Under attack ---------- */
.urgent-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem clamp(2rem, 5vw, 5rem); align-items: end; padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.urgent-note { padding: 1.125rem 1.25rem; border-radius: 14px; background: rgb(255 155 138 / 0.14); color: #ffe1db; line-height: 1.5; box-shadow: inset 3px 0 0 var(--alarm); }
.urgent-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: start; padding-block: clamp(2.5rem, 5vw, 4rem) clamp(4rem, 7vw, 6rem); }
.urgent-form { --c: #1c2129; --c-field: #2b323d; --c-muted: #c9ced6; }
.urgent-form .coupon-top { padding-bottom: clamp(1.25rem, 3vw, 2rem); }
.urgent-form .send { background: #c92a2a; }
.urgent-form .send:hover { background: #a51d1d; }
.while { position: sticky; top: 6rem; display: grid; gap: 1.25rem; }
.while h2 { font-size: var(--t-sub); }
.attack-steps strong { margin-bottom: 0.15rem; }
@media (max-width: 999px) {
  .urgent-intro, .urgent-grid { grid-template-columns: minmax(0, 1fr); }
  .while { position: static; }
}

/* Phone: the hero title in two lines, the wall without holes, the name kept short */
@media (max-width: 599px) {
  .hero h1 { font-size: clamp(1.75rem, 0.6rem + 6vw, 2.25rem); letter-spacing: -0.04em; }
  .wordmark i { display: none; }
}
@media (max-width: 799px) {
  .wall .half, .wall .fill ~ .fill { display: none; }
  .brick { padding-inline: 1.25rem; }
}
.wordmark i { font-style: normal; }

.reports img { background: #fff; border-radius: 8px; transition: transform 0.4s var(--ease); }
.reports a:hover img { transform: rotate(-1.5deg) scale(1.02); }
.rep-text { display: grid; gap: 0.5rem; }
.cta-band { padding-bottom: var(--gap); }
@media (max-width: 599px) { .reports a { grid-template-columns: minmax(0, 1fr); } }

.inline-shot { margin-top: 0.5rem; border-radius: var(--r-card); background: var(--soft); padding: clamp(0.75rem, 2vw, 1.5rem) 0 0 clamp(0.75rem, 2vw, 1.5rem); overflow: hidden; max-height: 26rem; }
.inline-shot img { width: 130%; max-width: none; border-radius: 10px 0 0 0; }
.mod-hero ~ .doc { padding-bottom: 0; }
.urgent-form label, .urgent-form legend { font-size: 1rem; }
.urgent-form .hint { font-size: 0.9375rem; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .while, .urgent-note { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  }
}

/* ---------- Header: the area you are in lights up (home page, scroll-driven) ---------- */
.home { timeline-scope: --t-platform, --t-org, --t-tech, --t-emp, --t-ai; }
.home #platform { view-timeline-name: --t-platform; }
.home #organization { view-timeline-name: --t-org; }
.home #technology { view-timeline-name: --t-tech; }
.home #employees { view-timeline-name: --t-emp; }
.home #ai { view-timeline-name: --t-ai; }
@supports (animation-timeline: view()) {
  .home .bar nav a { animation: nav-on linear; animation-fill-mode: none; animation-range: contain 0% contain 100%; }
  .home .bar nav a[href="/#platform"] { animation-timeline: --t-platform; animation-range: cover 30% cover 70%; }
  .home .bar nav a[href="/#organization"] { animation-timeline: --t-org; }
  .home .bar nav a[href="/#technology"] { animation-timeline: --t-tech; }
  .home .bar nav a[href="/#employees"] { animation-timeline: --t-emp; }
  .home .bar nav a[href="/#ai"] { animation-timeline: --t-ai; }
}
.home .bar .cta { overflow: hidden; white-space: nowrap; }

/* ---------- Module pages: today against Mortar, features, steps, connectors ---------- */
.mod-sec { padding-top: var(--gap); }
.mod-sec h2 { font-size: var(--t-head); }
.mod-sec .head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.compare { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 6px; }
.compare > div { border-radius: var(--r-panel); padding: clamp(1.5rem, 3.5vw, 3rem); display: grid; gap: 1rem; align-content: start; }
.compare h3 { font-size: var(--t-sub); letter-spacing: -0.03em; }
.compare p { font-size: var(--t-lede); line-height: 1.5; }
.compare .then { background: var(--field); color: var(--muted); }
.compare .then h3 { color: var(--ink); }
.compare .now { background: var(--hero); color: var(--hero-muted); }
.compare .now h3 { color: #fff; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.feature-grid li { position: relative; padding: 1.125rem 1.25rem 1.125rem 3.25rem; border-radius: 14px; background: var(--tint); line-height: 1.5; }
.feature-grid li::before { content: ""; position: absolute; left: 1.25rem; top: 1.45rem; width: 1.25rem; height: 0.625rem; border-radius: 2px; background: var(--brickc); }
.run-bar.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.run-bar.four li:nth-child(1) { background: oklch(0.95 0.025 var(--h, 226)); color: var(--ink); }
.run-bar.four li:nth-child(2) { background: oklch(0.88 0.05 var(--h, 226)); color: var(--ink); }
.run-bar.four li:nth-child(3) { background: oklch(0.5 0.09 var(--h, 226)); color: #fff; }
.run-bar.four li:nth-child(4) { background: var(--hero); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { padding: 0.5rem 0.875rem; border-radius: 999px; background: var(--field); font-weight: 650; font-size: 0.9375rem; }
.agents-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem clamp(2rem, 5vw, 5rem); align-items: start; }
.agents-grid .lede { margin-top: 1.25rem; }
.agents-grid .inline-shot { margin-top: 1rem; }
@media (max-width: 999px) {
  .compare, .agents-grid { grid-template-columns: minmax(0, 1fr); }
  .run-bar.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bar { grid-template-columns: auto 1fr; }
  .bar nav { display: none; }
  .bar-right { justify-self: end; }
}
@media (max-width: 599px) {
  .feature-grid, .run-bar.four { grid-template-columns: minmax(0, 1fr); }
  .bar-right { --bg: 0.875rem; }
}
@media (prefers-reduced-motion: reduce) {
  .rotator .line:not(.l1) { display: none; }
  .rotator .l1 { opacity: 1 !important; }
}
.split-lists > div { gap: 1.25rem; }
.split-lists .bricks { gap: 0.75rem; font-size: var(--t-body); }
.split-lists .now .bricks li { color: #fff; }
.split-lists .now .bricks li::before { background: #8fc7c9; }
.split-lists .then .bricks li { color: var(--ink); }

.page-hero h1 + .lede { margin-top: 1.5rem; }
.mod-sec h2.solo { margin-bottom: clamp(2rem, 4vw, 3rem); }
.doc { padding-bottom: var(--gap); }
