/* ==========================================================================
   CaseLook — landing (caselook.co.il)
   Visual reference: the public Sudius marketing site, reviewed 2026-10-08.
   Sudius colours and typography; the owner-approved legal graph defines the first-screen composition.
   Layout uses logical properties only, so RTL mirrors without overrides; the logo and localized graph artwork never mirror.
   ========================================================================== */

/* ---------- 0. Fonts: Noto Sans family, OFL-1.1, self-hosted (see fonts/README.md in the source tree) ---------- */
@font-face {
  font-family: "Noto Sans Display"; font-stretch: 62.5% 100%; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/noto-sans-display-latin-5.3.0.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Noto Sans Hebrew"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/noto-sans-hebrew-5.3.0.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}

/* ---------- 1. Colour tokens ---------- */
:root, [data-theme="light"] {
  --paper: #fbfaf7;
  --paper-2: #f4f0e9;
  --surface: #fffefa;
  --ink: #153f49;
  --ink-2: #60757a;
  --ink-3: #a46052;
  --rule: #ded8ce;
  --rule-strong: #bcb5a9;
  --accent: #07535d;
  --accent-hover: #07535d;
  --on-accent: #ffffff;
  --shadow: rgba(55, 63, 58, 0.09);
  --focus: #07535d;
  --hover: #f2eee7;
  --sig-bg: #fbfaf7;
  --sig-ink: #153f49;
  --sig-ink-2: #60757a;
  --sig-rule: #ded8ce;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #101719;
    --paper-2: #151f22;
    --surface: #172124;
    --ink: #e8f0ef;
    --ink-2: #a6b8bb;
    --ink-3: #d38a78;
    --rule: #304044;
    --rule-strong: #4a5c60;
    --accent: #83c6cc;
    --accent-hover: #83c6cc;
    --on-accent: #0e1725;
    --shadow: rgba(0, 0, 0, 0.34);
    --focus: #83c6cc;
    --hover: #1c292c;
    --sig-bg: #101719;
    --sig-ink: #e8f0ef;
    --sig-ink-2: #a6b8bb;
    --sig-rule: #304044;
    color-scheme: dark;
  }
}
[data-theme="dark"] {
  --paper: #101719;
  --paper-2: #151f22;
  --surface: #172124;
  --ink: #e8f0ef;
  --ink-2: #a6b8bb;
  --ink-3: #d38a78;
  --rule: #304044;
  --rule-strong: #4a5c60;
  --accent: #83c6cc;
  --accent-hover: #83c6cc;
  --on-accent: #0e1725;
  --shadow: rgba(0, 0, 0, 0.34);
  --focus: #83c6cc;
  --hover: #1c292c;
  --sig-bg: #101719;
  --sig-ink: #e8f0ef;
  --sig-ink-2: #a6b8bb;
  --sig-rule: #304044;
  color-scheme: dark;
}

/* ---------- 2. Layout & type tokens (theme-independent) ---------- */
:root {
  --font: "Noto Sans Display", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Sudius type proportions, with separate tuning for Hebrew. */
  --fs-display: clamp(2.75rem, 1.2rem + 5.2vw, 6.25rem);
  --fw-display: 300;
  --lh-display: 1.07;
  --tr-display: -0.035em;

  --fs-h2: clamp(1.875rem, 1.4rem + 1.8vw, 2.875rem);
  --fw-h2: 300;
  --lh-h2: 1.1;
  --tr-h2: -0.04em;

  --fs-h3: clamp(1.25rem, 1.12rem + 0.55vw, 1.5rem);
  --lh-h3: 1.28;

  --fs-lede: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem);
  --lh-lede: 1.5;

  --fs-body: 1rem;
  --lh-body: 1.6;
  --fs-small: 0.9375rem;
  --lh-small: 1.5;

  --fs-label: 0.75rem;
  --fw-label: 600;
  --tr-label: 0.1em;
  --tt-label: uppercase;

  --fs-fn: 0.8125rem;

  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --section-pad: clamp(56px, 6vw, 88px);

  --container: 1536px;
  --gutter: 20px;
  --col-gap: 16px;
  --header-h: 56px;
  --radius: 12px;
  --dir: 1;                  /* 1 = LTR, -1 = RTL: directional nudges and arrowheads */
}
@media (min-width: 600px) {
  :root { --gutter: 24px; --col-gap: 24px; --fs-body: 1.0625rem; }
}
@media (min-width: 1024px) {
  :root { --gutter: clamp(40px, 3.8vw, 58px); --col-gap: 32px; --header-h: 88px; }
}

[dir="rtl"] { --dir: -1; --fs-display: clamp(2.25rem, 4.5vw, 4.375rem); }
[dir="ltr"] { --dir: 1; }

/* Per-script tuning. Each [lang] element re-resolves the family, so endonyms render in their own script. */
[lang] { font-family: var(--font); }
[lang|="he"] {
  --font: "Noto Sans Hebrew", "Noto Sans Display", system-ui, sans-serif;
  --fw-display: 300;
  --lh-display: 1.1;
  --tr-display: 0;
  --tr-h2: 0;
  --lh-h2: 1.15;
  --lh-body: 1.65;
  --fs-label: 0.8125rem;
  --tr-label: 0;
  --tt-label: none;
}

/* ---------- 3. Base ---------- */
.no-transitions *, .no-transitions *::before, .no-transitions *::after { transition: none !important; }
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  background: var(--paper);
}
/* Anchor targets and keyboard focus in the page stop below the sticky header (WCAG 2.4.11).
   Deliberately not scroll-padding on the document: with it, Chrome scrolled the whole page whenever a control
   inside the sticky header took focus, which moved the reader to another section. */
main, main *, .site-footer * { scroll-margin-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 350;
  font-stretch: 96%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
/* Section and main targets receive focus programmatically after in-page navigation; no ring on the whole block. */
[tabindex="-1"]:focus { outline: none; }

/* Without JavaScript the theme / language menus and copy cannot work: hide them; links stay. */
html:not(.js) [data-requires-js] { display: none !important; }

/* ---------- 4. Type roles ---------- */
.display { font-stretch: 96%; font-size: var(--fs-display); font-weight: var(--fw-display); line-height: var(--lh-display); letter-spacing: var(--tr-display); }
.display .line { display: block; }
.h2 { font-stretch: 96%; font-size: var(--fs-h2); font-weight: var(--fw-h2); line-height: var(--lh-h2); letter-spacing: var(--tr-h2); }
.label {
  font-size: var(--fs-label); font-weight: var(--fw-label);
  letter-spacing: var(--tr-label); text-transform: var(--tt-label);
  line-height: 1.4; color: var(--ink-3);
}
.section-lede {
  margin-top: var(--s-4); max-width: 40em;
  font-size: var(--fs-lede); font-weight: 350; line-height: var(--lh-lede);
  color: var(--ink-2);
}

/* ---------- 5. Icons ---------- */
.icon { width: 1.125em; height: 1.125em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 0.95em; height: 0.95em; }
[dir="rtl"] .icon-dir { transform: scaleX(-1); }

/* ---------- 6. Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-size: 0.9375rem; font-weight: 400; font-stretch: 96%; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn .icon { transition: transform .15s ease; }
.btn:hover .icon-dir { transform: translateX(calc(3px * var(--dir))); }
[dir="rtl"] .btn:hover .icon-dir { transform: scaleX(-1) translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-secondary:hover { background: var(--hover); }

.link-quiet {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px;
  color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--rule-strong);
  text-decoration-thickness: 1px; text-underline-offset: 0.3em;
}
.link-quiet:hover { text-decoration-color: var(--accent); text-decoration-thickness: 2px; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-6); }

/* ---------- 7. Skip link ---------- */
.skip-link {
  position: absolute; z-index: 100;
  inset-inline-start: 16px; top: -100px;
  padding: 10px 14px; border-radius: var(--radius);
  background: var(--ink); color: var(--paper); text-decoration: none;
}
.skip-link:focus { top: 8px; }

/* ---------- 8. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.header-inner { display: flex; align-items: center; gap: var(--s-5); min-height: var(--header-h); }

/* Wordmark: the outlined original, coloured by the theme. Height sets the size; the frame is cropped to the mark. */
.logo {
  display: inline-flex; align-items: center;
  min-height: 44px;
  margin-inline-end: auto;
  color: var(--ink); text-decoration: none;
}
.logo-mark { display: block; height: 30px; width: auto; }
@media (min-width: 1024px) { .logo-mark { height: 44px; } }

.primary-nav ul { display: flex; gap: var(--s-6); }
.primary-nav a {
  display: inline-block; padding: 10px 0;
  font-size: 0.9375rem; color: var(--ink-2); text-decoration: none;
}
.primary-nav a:hover { color: var(--ink); }
.primary-nav a[aria-current] {
  color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--accent);
  text-decoration-thickness: 2px; text-underline-offset: 8px;
}
.header-actions { display: flex; align-items: center; gap: var(--s-2); }

/* Language switch */
.lang-switch, .theme-switch { position: relative; }
.lang-button {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 10px;
  background: none; border: 1px solid transparent; border-radius: var(--radius);
  font-size: 0.9375rem; color: var(--ink); cursor: pointer;
}
.lang-button:hover, .theme-button:hover { border-color: var(--rule-strong); }
.lang-button[aria-expanded="true"], .theme-button[aria-expanded="true"] { border-color: var(--ink); background: var(--surface); }
.lang-button .chevron { transition: transform .15s ease; }
.lang-button[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.lang-code { display: none; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; }
@media (max-width: 399px) {
  .lang-current { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .lang-code { display: inline; }
}

.dropdown {
  position: absolute; top: calc(100% + 6px); inset-inline-end: 0; z-index: 40;
  min-width: 208px; padding: 6px;
  background: var(--surface);
  border: 1px solid var(--ink); border-radius: var(--radius);
  box-shadow: 0 10px 28px var(--shadow);
}
.lang-option, .menu-option {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  min-height: 44px; padding: 0 12px;
  border-radius: 2px;
  font-size: 1rem; color: var(--ink); text-decoration: none;
}
.lang-option:hover, .menu-option:hover { background: var(--hover); }
.lang-option[aria-current] { font-weight: 600; }
.menu-option { width: 100%; background: none; border: 0; text-align: start; cursor: pointer; }
.menu-option .mo-label { display: inline-flex; align-items: center; gap: 10px; }
.menu-option .check { visibility: hidden; }
.menu-option[aria-pressed="true"] { font-weight: 600; }
.menu-option[aria-pressed="true"] .check { visibility: visible; }

/* Theme: System / Light / Dark. The icon shows the current choice; the name is in the button's label. */
.theme-button {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: none; border: 1px solid transparent; border-radius: var(--radius);
  color: var(--ink); cursor: pointer;
}
.theme-button .icon { display: none; }
.theme-button[data-choice="auto"] .i-auto,
.theme-button[data-choice="light"] .i-sun,
.theme-button[data-choice="dark"] .i-moon { display: block; }
.theme-menu { min-width: 216px; }

.menu-button {
  display: none;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: none; border: 1px solid var(--rule-strong); border-radius: var(--radius);
  cursor: pointer;
}
.menu-button:hover { border-color: var(--ink); }

@media (max-width: 899px) {
  .primary-nav { display: none; }
  .menu-button { display: inline-flex; }
  .header-inner { gap: var(--s-3); }
  .header-actions { gap: var(--s-1); }
  .lang-button { padding: 0 8px; }
  /* No JavaScript, no dialog: the section links take a second row instead. */
  html:not(.js) .header-inner { flex-wrap: wrap; }
  html:not(.js) .primary-nav { display: block; order: 3; flex-basis: 100%; }
  html:not(.js) .primary-nav ul { gap: var(--s-5); flex-wrap: wrap; }
}

/* Mobile menu: native <dialog> */
.mobile-menu {
  margin: 0; inset: 0;
  width: 100%; max-width: none;
  height: 100dvh; max-height: none;
  border: 0; padding: 0 var(--gutter) var(--s-6);
  background: var(--paper); color: var(--ink);
  overflow-y: auto;
}
.mobile-menu::backdrop { background: rgba(0, 0, 0, 0.35); }
@media (prefers-reduced-motion: no-preference) {
  .mobile-menu[open] { animation: menu-in .18s ease-out; }
  @keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }
}
.mm-head {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); border-bottom: 1px solid var(--rule);
}
.mm-head .logo { margin: 0; }
.mm-head .menu-button { display: inline-flex; }
.mm-nav a {
  display: flex; align-items: center;
  min-height: 64px; padding: var(--s-3) 0;
  border-bottom: 1px solid var(--rule);
  font-size: 1.5rem; font-weight: 300; line-height: 1.25;
  color: var(--ink); text-decoration: none;
}
.mm-langs { margin-top: var(--s-6); }
.mm-langs ul { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); margin-top: var(--s-3); }
.mm-langs .lang-option { border: 1px solid var(--rule-strong); }
.mm-langs .lang-option[aria-current] { border-color: var(--ink); }

/* ---------- 9. Hero: an editorial introduction and a contained legal graph ---------- */
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr);
  gap: 32px; align-items: center;
  padding-block: 40px 48px;
}
.hero-text { min-width: 0; }
.hero-eyebrow { margin-bottom: 22px; color: var(--ink-3); font-size: .9375rem; font-weight: 400; line-height: 1.5; }
.hero-desc {
  margin-top: 24px; max-width: 31em;
  font-size: var(--fs-lede); font-weight: 350; line-height: 1.6; color: var(--ink-2);
}
.hero-text .actions { margin-top: 28px; gap: 12px 24px; align-items: center; }
.hero-text .link-quiet { font-size: .9375rem; }
.hero-figure { width: 100%; max-width: 540px; margin-inline: auto; }
.hero-figure picture, .legal-graph { display: block; width: 100%; }
.legal-graph { height: auto; }
.graph-canvas { position: relative; }
.graph-nodes { visibility: hidden; }
[data-graph-ready] .graph-nodes { visibility: visible; }
/* Coordinates refer to artwork pixels, so these positions stay physical in RTL too. */
.graph-node {
  position: absolute; left: 0; top: 0; width: 44px; height: 44px;
  padding: 0; border: 0; border-radius: 50%; background: transparent;
  transform: translate(-50%, -50%); cursor: pointer; touch-action: manipulation;
}
.graph-node-lens {
  position: absolute; left: 50%; top: 50%; border-radius: 50%;
  background-color: var(--paper); background-repeat: no-repeat;
  opacity: 0; transform: translate(-50%, -50%) scale(1); pointer-events: none;
}
.graph-node:focus-visible, .graph-node[aria-pressed="true"] { z-index: 1; }
.graph-node:focus-visible .graph-node-lens,
.graph-node[aria-pressed="true"] .graph-node-lens {
  opacity: 1; transform: translate(-50%, -50%) scale(1.28);
}
@media (hover: hover) and (pointer: fine) {
  .graph-node:hover { z-index: 1; }
  .graph-node:hover .graph-node-lens { opacity: 1; transform: translate(-50%, -50%) scale(1.28); }
}
@media (prefers-reduced-motion: no-preference) {
  .graph-node-lens { transition: transform 220ms cubic-bezier(.2, .7, .2, 1), opacity 140ms ease; }
}
.hero-figure figcaption { margin-top: 8px; color: var(--ink-2); text-align: center; font-size: .8125rem; line-height: 1.5; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; padding-block: 68px; }
  .hero-figure { max-width: 700px; }
}
@media (min-width: 1200px) {
  .hero-grid { padding-block: 68px 56px; gap: 56px; }
  .hero-eyebrow { font-size: 1.25rem; margin-bottom: 28px; }
  .hero-desc { font-size: 1.4375rem; line-height: 1.55; margin-top: 28px; }
  .hero-text .actions { margin-top: 36px; gap: 20px 36px; }
  .hero-text .btn { min-height: 60px; padding-inline: 30px; font-size: 1.125rem; }
  .hero-text .link-quiet { font-size: 1.125rem; }
  .hero-figure figcaption { font-size: .9375rem; }
  .primary-nav a { font-size: 1.0625rem; }
}
@media (max-width: 599px) {
  .hero-grid { padding-block: 32px 36px; gap: 28px; }
  .hero-eyebrow { margin-bottom: 18px; font-size: .875rem; }
  .hero-desc { margin-top: 20px; }
  .hero-text .actions { margin-top: 24px; gap: 8px 18px; }
  .hero-text .btn { padding-inline: 18px; }
  .hero-figure { max-width: 420px; }
}

/* ---------- 10. Sections ---------- */
.section { padding-block: var(--section-pad); border-top: 1px solid var(--rule); }
.section--band { background: var(--paper-2); border-top: 0; }
.section--band + .section { border-top: 0; }

.section-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
}
.rail {
  grid-column: 1 / 4;
  padding-top: 0.9em;
  font-size: var(--fs-small); color: var(--ink-3);
}
.rail::before {
  content: ""; display: inline-block;
  width: 18px; height: 1px; margin-inline-end: 10px;
  background: var(--ink); vertical-align: middle;
}
.section-body { grid-column: 4 / 13; min-width: 0; }
@media (max-width: 1023px) {
  .rail { grid-column: 1 / -1; padding-top: 0; margin-bottom: var(--s-4); }
  .section-body { grid-column: 1 / -1; }
}

/* Character of the service: a margin note, calm */
.section--scope { padding-block: clamp(56px, 7vw, 96px); }
.scope {
  grid-column: 4 / 11;
  padding-inline-start: var(--s-5);
  border-inline-start: 2px solid var(--ink);
}
.scope-title { font-size: var(--fs-h3); font-weight: 400; line-height: var(--lh-h3); }
.scope-text { margin-top: var(--s-3); max-width: 40em; color: var(--ink-2); }
@media (max-width: 1023px) { .scope { grid-column: 1 / -1; } }

/* ---------- 11. Contact band ---------- */
.closing {
  --focus: var(--sig-ink);
  background: var(--sig-bg); color: var(--sig-ink);
  padding-block: var(--section-pad);
}
.closing-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap); row-gap: var(--s-7);
}
.closing-intro { grid-column: 1 / 6; }
.email-card { grid-column: 7 / 13; }
.contact-text { margin-top: var(--s-4); max-width: 30em; color: var(--sig-ink-2); }
.cr-label { font-size: var(--fs-label); font-weight: var(--fw-label); letter-spacing: var(--tr-label); text-transform: var(--tt-label); color: var(--sig-ink-2); }
.email-card { padding-top: var(--s-5); border-top: 1px solid var(--sig-rule); }
.email-address {
  margin-top: var(--s-2);
  font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.375rem);
  font-weight: 300; line-height: 1.2;
  overflow-wrap: anywhere;
}
/* Latin address inside RTL: its own LTR run, aligned to the start of the RTL block. */
.email-address [data-email-text] { unicode-bidi: isolate; -webkit-user-select: all; user-select: all; }
.email-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
.closing .btn-primary { background: var(--accent); color: var(--on-accent); }
.closing .btn-primary:hover { filter: brightness(1.06); }
.closing .btn-secondary { border-color: var(--rule-strong); color: var(--ink); }
.closing .btn-secondary:hover { background: var(--hover); border-color: var(--ink); }

[data-copy-email] .i-done, [data-copy-email] .copied-label { display: none; }
[data-copy-email][data-copied] .i-copy, [data-copy-email][data-copied] .copy-label { display: none; }
[data-copy-email][data-copied] .i-done { display: block; }
[data-copy-email][data-copied] .copied-label { display: inline; }
.copy-status.is-error {
  margin-top: var(--s-4); max-width: 34em;
  padding-inline-start: var(--s-3); border-inline-start: 2px solid var(--sig-ink);
  font-size: var(--fs-small); line-height: var(--lh-small); color: var(--sig-ink);
}

@media (max-width: 899px) {
  .closing-intro, .email-card { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
  .email-actions { flex-direction: column; align-items: stretch; }
  .email-actions .btn { width: 100%; }
}

/* ---------- 12. Footer ---------- */
.site-footer { padding-block: var(--s-6); font-size: var(--fs-small); color: var(--ink-2); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4) var(--s-6); }
.footer-inner > .link-quiet { color: var(--ink-2); }
.footer-langs-wrap { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
.footer-langs { display: flex; flex-wrap: wrap; gap: 0 var(--s-1); }
.footer-langs .lang-option { min-height: 44px; padding: 0 8px; font-size: var(--fs-small); font-weight: 400; color: var(--ink-2); }
.footer-langs .lang-option[aria-current] { color: var(--ink); }
.footer-langs .lang-option .icon { display: none; }
.footer-langs .lang-option[aria-current] span { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px; }
@media (max-width: 599px) {
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- 13. 404 ---------- */
.error-main { padding-block: var(--section-pad); min-height: 70vh; }
.error-main .actions { margin-top: var(--s-6); }
.error-langs { margin-top: var(--s-8); padding-top: var(--s-4); border-top: 1px solid var(--rule); }

/* Common access questions: plain text, no hidden answers. */
.section--faq { padding-bottom: 0; }
.faq-list { margin-top: var(--s-6); border-top: 1px solid var(--rule); }
.faq-item { padding-block: var(--s-5); border-bottom: 1px solid var(--rule); }
.faq-item h3 { font-size: 1.25rem; font-weight: 400; line-height: var(--lh-h3); }
.faq-item p { margin-top: var(--s-3); color: var(--ink-2); max-width: 42em; }

/* The two foundations share an open, two-column section. */
.section--product { padding-block: 48px 56px; }
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.product { min-width: 0; }
.product + .product { border-inline-start: 1px solid var(--rule); padding-inline-start: 48px; }
.product h3 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); font-weight: 350; font-stretch: 96%; line-height: 1.25; }
.product-status { display: inline-block; margin-top: 12px; padding: 3px 10px; border-radius: 4px; background: var(--paper-2); font-size: .8125rem; color: var(--ink); }
.product-content { margin-top: 20px; color: var(--ink-2); max-width: 34em; }
.product-content ul { margin-top: 16px; }
.product-content li { position: relative; padding-inline-start: 18px; margin-top: 8px; }
.product-content li::before { content: ""; position: absolute; top: .7em; inset-inline-start: 0; width: 4px; height: 4px; background: currentColor; border-radius: 50%; }
.product-summary { max-width: 60em; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--rule); color: var(--ink-2); font-size: var(--fs-small); }
@media (max-width: 699px) {
  .products { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .product + .product { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--rule); padding-top: 28px; }
  .section--product { padding-block: 36px 40px; }
}

/* Planned capabilities, as readable editorial rows. */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6); margin-top: var(--s-7); }
.feature { padding-top: var(--s-5); border-top: 1px solid var(--rule-strong); }
.feature h3 { font-size: 1.45rem; font-weight: 300; font-stretch: 92%; line-height: var(--lh-h3); }
.feature p { margin-top: var(--s-3); color: var(--ink-2); font-size: var(--fs-small); line-height: 1.65; }
.closing { border-top: 1px solid var(--rule); }
@media (max-width: 699px) { .features { grid-template-columns: minmax(0, 1fr); } }

/* Use the reference primary text on its sand surface where the muted token is below 4.5:1. */
.section--band .section-lede, .section--band .feature p, .section--band .rail, .section--band .label { color: var(--ink); }
