/* OrAIsi -- Direction B: Technical Instrument Premium Minimalism
   v2 -- locked brand palette + Inter typography (2026-05-06)
   Palette (canonical): navy #1A1D3A / blue #2B4D9C / gray #959DA6 / off-white #FDFDFD
   Solids only -- no gradients per brand guide.
*/

:root {
  /* Locked brand palette */
  --navy: #1A1D3A;          /* primary brand surface (hero/dark sections, headlines) */
  --blue: #2B4D9C;          /* accent / CTA / links / key emphasis */
  --gray: #959DA6;          /* secondary text, dividers, subtle UI */
  --off-white: #FDFDFD;     /* light surface, text on dark */

  /* Operational tints derived from the locked palette */
  --bg: var(--off-white);
  --bg-card: #FFFFFF;
  --bg-tint: #F2F4F7;       /* subtle section bg (for why/final-cta backgrounds) */
  --rule: #E5E7EB;          /* dividers (lighter gray than --gray) */
  --text: var(--navy);
  --text-soft: #555A62;
  --text-muted: var(--gray);
  --text-inverted: var(--off-white);

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --max: 1180px;
  --gutter: 1.75rem;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: rgba(43, 77, 156, 0.35);
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
a:hover { color: var(--navy); text-decoration-color: var(--navy); }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 2px;
}
.site-footer a:focus-visible,
.cookie-banner a:focus-visible,
.cookie-banner button:focus-visible {
  outline-color: var(--off-white);
}

img, svg { max-width: 100%; height: auto; display: block; }

hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5rem 0; }

/* ----- Layout helpers ----- */

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ----- Header ----- */

.site-header {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--navy);
  line-height: 1;
}
.logo:hover { color: var(--blue); }
.logo-lockup {
  height: 72px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.92rem;
}
.site-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}
.site-nav a:hover { color: var(--blue); }
.site-nav a[aria-current="page"] { color: var(--blue); }
.site-nav .btn-primary { color: var(--text-inverted); }
.site-nav .btn-primary:hover { color: var(--text-inverted); }
.site-nav .btn-text { color: var(--blue); }
.site-nav .btn-text:hover { color: var(--navy); }

/* Paired language switcher — current language marked active, alternate clickable. */
.lang-switch {
  display: inline-flex;
  align-items: stretch;
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  border: 1px solid var(--blue);
  border-radius: 4px;
  overflow: hidden;
  line-height: 1;
}
.lang-switch .lang-active,
.lang-switch .lang-alt {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.lang-switch .lang-active {
  background: var(--blue);
  color: var(--text-inverted);
}
.lang-switch .lang-alt {
  color: var(--blue);
  background: transparent;
}
.lang-switch .lang-alt:hover,
.lang-switch .lang-alt:focus-visible {
  background: var(--blue);
  color: var(--text-inverted);
}

/* ----- Buttons ----- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.2;
  padding: 0.85rem 1.4rem;
  border-radius: 4px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn-sm { padding: 0.55rem 0.95rem; font-size: 0.88rem; }

.btn-primary {
  background: var(--blue);
  color: var(--text-inverted);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--navy);
  color: var(--text-inverted);
  border-color: var(--navy);
}

.btn-text {
  background: transparent;
  color: var(--blue);
  padding: 0.85rem 0;
  border-color: transparent;
  font-weight: 500;
  text-decoration: none;
}
.btn-text:hover { color: var(--navy); }

.btn-secondary {
  background: transparent;
  color: var(--off-white);
  border-color: rgba(253, 253, 253, 0.45);
  font-weight: 500;
}
.btn-secondary:hover {
  background: rgba(253, 253, 253, 0.1);
  border-color: var(--off-white);
  color: var(--off-white);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin-top: 2rem;
}

/* ----- Typography ----- */

h1, h2, h3, h4 {
  font-family: var(--sans);
  color: var(--navy);
  margin: 0 0 1rem;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

h1 {
  font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
}

h2 {
  font-weight: 700;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}

h3 {
  font-weight: 600;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

h4 {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.eyebrow,
.section-eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 1.25rem;
}

.lede {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.5;
  color: var(--text);
  margin: 0 0 1.5rem;
  max-width: 36em;
  font-weight: 400;
}

.lede-emphasis {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.4;
  color: var(--navy);
  margin: 0 0 1.5rem;
  max-width: 36em;
  font-weight: 500;
}
.lede-emphasis strong { font-weight: 600; }

.section-title {
  max-width: 18ch;
  margin-bottom: 2rem;
}

.cite {
  font-family: var(--mono);
  font-size: 0.86em;
  color: var(--navy);
  background: rgba(43, 77, 156, 0.10);
  padding: 0.05em 0.35em;
  border-radius: 2px;
}

.emphasis {
  font-weight: 500;
  color: var(--navy);
  font-size: 1.05em;
}

.pendiente {
  font-family: var(--mono);
  font-size: 0.82em;
  color: var(--blue);
  background: rgba(43, 77, 156, 0.08);
  padding: 0.1em 0.35em;
  border: 1px dashed rgba(43, 77, 156, 0.45);
  border-radius: 2px;
}

/* ----- Hero ----- */

.hero {
  padding: 4.5rem 0 5rem;
  border-bottom: 1px solid var(--rule);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text { max-width: 32em; }

/* Product UI placeholder -- Direction B's offset visual */

.hero-visual { width: 100%; }

.ui-placeholder {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 6px;
  box-shadow: 0 14px 40px rgba(26, 29, 58, 0.10), 0 2px 4px rgba(26, 29, 58, 0.05);
  overflow: hidden;
  font-family: var(--mono);
  font-size: 0.86rem;
  position: relative;
}

.ui-placeholder-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  background: var(--bg-tint);
  border-bottom: 1px solid var(--rule);
  font-size: 0.78rem;
  color: var(--text-soft);
  letter-spacing: 0.06em;
}
.ui-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--rule);
  display: inline-block;
}
.ui-dot:nth-child(1) { background: #E0A4A4; }
.ui-dot:nth-child(2) { background: #DBC68A; }
.ui-dot:nth-child(3) { background: #A4C2A4; }
.ui-title { margin-left: 0.4rem; color: var(--navy); font-weight: 500; }

.ui-placeholder-body {
  padding: 0.5rem 0;
}
.ui-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--rule);
}
.ui-row:last-child { border-bottom: 0; }
.ui-label { color: var(--text); font-weight: 500; }
.ui-status {
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
  padding: 0.2rem 0.55rem;
  border-radius: 12px;
  background: var(--bg-tint);
}
.ui-status.ok { color: #2f5f3a; background: rgba(58, 134, 70, 0.13); }
.ui-status.review { color: var(--blue); background: rgba(43, 77, 156, 0.14); }
.ui-row.faded { opacity: 0.45; }

.ui-caption {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 0;
  padding: 0.6rem 1rem;
  background: var(--bg-tint);
  border-top: 1px solid var(--rule);
  text-align: center;
}

/* ----- Prose sections ----- */

.prose-section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--rule);
}
.prose-section.narrow-section { padding: 4rem 0; }

.prose { font-size: 1.05rem; line-height: 1.65; color: var(--text); }
.prose.narrow { max-width: 36em; margin: 0 auto; }
.prose p { margin: 0 0 1.25rem; }
.prose strong { font-weight: 600; color: var(--navy); }

/* ----- Stats block (v2) ----- */

.stats-section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--rule);
  background: var(--bg-tint);
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  text-align: left;
}
@media (min-width: 600px) and (max-width: 899px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.75rem; }
}
.stat { max-width: 18em; }
.stat-num {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--navy);
  margin: 0 0 0.5rem;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.4;
  max-width: 16em;
}

/* ----- HITL standalone section (v2) ----- */

.hitl-section {
  padding: 6.5rem 0;
  background: var(--off-white);
  border-bottom: 1px solid var(--rule);
  text-align: center;
}
.hitl-line {
  margin: 0;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(1.8rem, 4.2vw, 3.4rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.hitl-first { color: var(--navy); }
.hitl-second {
  color: var(--blue);
  margin-left: 0.4em;
}

/* ----- Security-by-architecture section (v2) ----- */

.security-section {
  padding: 5.5rem 0;
  background: var(--bg-tint);
  border-bottom: 1px solid var(--rule);
  text-align: center;
}
.security-section .section-eyebrow {
  margin-bottom: 1.5rem;
  color: var(--blue);
}
.security-anchor {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  letter-spacing: -0.025em;
  color: var(--navy);
  margin: 0 auto 1.75rem;
  max-width: 22em;
  line-height: 1.2;
}
.security-proof {
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--blue);
  margin: 0 auto 1.5rem;
  max-width: none;
  white-space: nowrap;
  overflow-x: auto;
}
.security-proof-item {
  display: inline-block;
}
.security-proof-sep {
  display: inline-block;
  margin: 0 0.6em;
  opacity: 0.6;
}
@media (max-width: 600px) {
  .security-proof {
    white-space: normal;
    overflow-x: visible;
  }
  .security-proof-item { display: block; padding: 0.25rem 0; }
  .security-proof-sep { display: none; }
}
.security-closer {
  font-family: var(--sans);
  font-style: italic;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--text-soft);
  margin: 0 auto;
  max-width: 28em;
}

/* ----- Differentiator section ----- */

.differentiator-section {
  padding: 5.5rem 0;
  border-bottom: 1px solid var(--rule);
  background: var(--bg-tint);
}
.differentiator-section .prose {
  max-width: 42em;
  margin: 0 auto;
}
.differentiator-section .prose p:last-child {
  margin-bottom: 0;
  font-weight: 500;
  color: var(--navy);
}

/* ----- Capabilities -- 2-card vertical asymmetric ----- */

.capabilities-section {
  padding: 5.5rem 0;
  border-bottom: 1px solid var(--rule);
}

.capability-card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 2.5rem;
  max-width: 38em;
  margin-bottom: 2rem;
  position: relative;
}
.capability-card:last-child { margin-bottom: 0; }

.capability-left { margin-right: auto; }
.capability-right { margin-left: auto; }

.capability-meta {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 0.85rem;
}

.capability-card p:not(.capability-meta) {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 0;
}

/* ----- Capabilities -- 4 pillars (vertical asymmetric stack) ----- */

.pillars-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 2rem 2.25rem;
  max-width: 44em;
  position: relative;
}
.pillar-card:nth-child(odd) { margin-right: auto; }
.pillar-card:nth-child(even) { margin-left: auto; }
.pillar-card .pillar-num {
  display: block;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.4rem;
}
.pillar-card h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: 0 0 0.7rem;
  line-height: 1.25;
}
.pillar-card p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}

/* ----- Why OrAIsi (3 value props, horizontal triplet) ----- */

.why-section {
  padding: 5.5rem 0;
  border-bottom: 1px solid var(--rule);
  background: var(--bg-tint);
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-top: 2.5rem;
}
.value-prop {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 2rem 1.85rem;
}
.value-prop h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: 0 0 0.6rem;
  line-height: 1.3;
}
.value-prop p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}

/* ----- Trust ----- */

.trust-section {
  padding: 5.5rem 0;
  background: var(--navy);
  color: var(--text-inverted);
  border-bottom: 1px solid var(--rule);
}
.trust-section h2 { color: var(--text-inverted); }
.trust-section .section-eyebrow { color: var(--off-white); }
.trust-section .emphasis { color: var(--off-white); font-weight: 500; }
.trust-section a { color: var(--off-white); }

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 2rem;
}
.trust-prose p {
  font-size: 1.1rem;
  line-height: 1.55;
  color: rgba(253, 253, 253, 0.85);
}
.trust-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.trust-detail h4 {
  color: var(--off-white);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.trust-detail p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(253, 253, 253, 0.82);
  margin: 0;
}

/* ----- Final CTA ----- */

.final-cta {
  padding: 5.5rem 0;
  background: var(--bg-tint);
  border-bottom: 1px solid var(--rule);
}
.final-cta-inner { max-width: 44em; margin: 0 auto; text-align: center; }
.final-cta h2 { margin: 0 auto 1rem; }
.final-cta p { font-size: 1.05rem; line-height: 1.6; color: var(--text); margin: 0 auto; max-width: 36em; }
.final-cta .cta-row { justify-content: center; }

/* ----- Footer ----- */

.site-footer {
  padding: 3rem 0 2rem;
  background: var(--navy);
  color: var(--text-inverted);
  font-size: 0.92rem;
}
.site-footer a {
  color: var(--text-inverted);
  text-decoration-color: rgba(253, 253, 253, 0.4);
}
.site-footer a:hover { color: var(--off-white); text-decoration-color: var(--off-white); }

.footer-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.footer-brand .logo-lockup {
  height: 56px;
  width: auto;
}
.footer-brand p { margin: 0.6rem 0 0; opacity: 0.75; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  align-items: center;
  font-size: 0.92rem;
}
.footer-baseline {
  border-top: 1px solid rgba(253, 253, 253, 0.18);
  padding-top: 1.25rem;
  margin: 0;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: rgba(253, 253, 253, 0.65);
  letter-spacing: 0.02em;
}

/* ----- Legal pages ----- */

.legal-page { padding: 4rem 0 5rem; }
.legal-prose {
  max-width: 44em;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.65;
}
.legal-prose h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  margin-bottom: 2rem;
}
.legal-prose h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  margin: 2.5rem 0 0.75rem;
}
.legal-prose h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
}
.legal-prose ul, .legal-prose ol {
  padding-left: 1.4rem;
  margin: 0 0 1.25rem;
}
.legal-prose li { margin-bottom: 0.4rem; }
.legal-prose code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: rgba(26, 29, 58, 0.06);
  padding: 0.1em 0.35em;
  border-radius: 2px;
}
.meta-line { font-family: var(--mono); font-size: 0.82rem; color: var(--text-soft); }
.footnote {
  font-size: 0.88rem;
  color: var(--text-soft);
  border-top: 1px solid var(--rule);
  padding-top: 1.25rem;
  margin-top: 2rem;
}

.callout {
  border-left: 3px solid var(--blue);
  padding: 1rem 1.25rem;
  background: rgba(43, 77, 156, 0.06);
  margin: 0 0 2rem;
  font-size: 0.95rem;
  line-height: 1.55;
  border-radius: 0 4px 4px 0;
}
.callout p { margin: 0 0 0.5rem; }
.callout p:last-child { margin-bottom: 0; }

.table-wrap {
  overflow-x: auto;
  margin: 0 0 1.5rem;
  border: 1px solid var(--rule);
  border-radius: 4px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  line-height: 1.45;
}
th, td {
  padding: 0.75rem 0.9rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--rule);
}
th {
  background: var(--bg-tint);
  font-weight: 600;
  color: var(--navy);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
tbody tr:last-child td,
tbody tr:last-child th { border-bottom: 0; }

.checklist { list-style: none; padding: 0; }
.checklist li {
  padding-left: 1.6rem;
  position: relative;
}
.checklist li::before {
  content: "\2610";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-family: var(--mono);
}

/* ----- 404 page ----- */

.not-found {
  padding: 6rem 0 7rem;
  text-align: center;
  border-bottom: 1px solid var(--rule);
}
.not-found-inner { max-width: 36em; margin: 0 auto; }
.not-found .eyebrow {
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  color: var(--blue);
  margin-bottom: 1.5rem;
}
.not-found h1 {
  margin-bottom: 0.75rem;
}
.not-found .lede {
  margin: 0 auto 2rem;
  color: var(--text-soft);
}
.not-found .cta-row { justify-content: center; }

/* ----- About hero ----- */

.about-hero { padding: 4.5rem 0 1rem; }
.about-prose { max-width: 36em; margin: 0 auto; }

/* ----- Cookie banner ----- */

.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: var(--navy);
  color: var(--text-inverted);
  padding: 1.25rem 0;
  border-radius: 6px;
  z-index: 100;
  box-shadow: 0 14px 40px rgba(26, 29, 58, 0.25);
  max-width: 1180px;
  margin: 0 auto;
}
.cookie-banner[hidden] { display: none; }
.cookie-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
}
.cookie-headline {
  font-weight: 600;
  font-size: 1rem;
  margin: 0 0 0.35rem;
}
.cookie-body {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: rgba(253, 253, 253, 0.85);
  max-width: 60em;
}
.cookie-body a { color: var(--off-white); }
.cookie-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-actions .btn-text {
  color: var(--text-inverted);
  padding: 0.6rem 0.4rem;
}
.cookie-actions .btn-primary {
  background: var(--blue);
  color: var(--text-inverted);
  border-color: var(--blue);
}
.cookie-actions .btn-primary:hover {
  background: var(--off-white);
  color: var(--navy);
  border-color: var(--off-white);
}

/* ----- Desktop layout ----- */

@media (min-width: 900px) {
  .hero { padding: 6rem 0 6.5rem; }
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
  }
  .why-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .footer-row {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }
  .footer-baseline { grid-column: 1 / -1; }
  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
  }
  .trust-detail { grid-template-columns: 1fr; gap: 2rem; }
}

@media (min-width: 1100px) {
  :root { --gutter: 2.5rem; }
}

/* ----- Mobile ----- */

@media (max-width: 768px) {
  .site-header { padding: 1rem 0; }
  .site-nav { gap: 0.85rem; }
  .site-nav a:not(.btn):not(.lang-alt):not(.lang-active) { display: none; }
  .logo-lockup { height: 56px; }
  .hero { padding: 3.5rem 0 4rem; }
  .prose-section { padding: 3.5rem 0; }
  .differentiator-section { padding: 3.5rem 0; }
  .stats-section { padding: 3.5rem 0; }
  .hitl-section { padding: 4rem 0; }
  .security-section { padding: 3.5rem 0; }
  .capabilities-section { padding: 3.5rem 0; }
  .trust-section { padding: 3.5rem 0; }
  .final-cta { padding: 3.5rem 0; }
  .capability-card { padding: 1.75rem; }
  .cookie-banner { left: 0.5rem; right: 0.5rem; bottom: 0.5rem; }
  .cookie-inner { grid-template-columns: 1fr; }
  .footer-links { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
}

@media (max-width: 480px) {
  html { font-size: 15px; }
  :root { --gutter: 1.1rem; }
  .btn { padding: 0.85rem 1.15rem; font-size: 0.9rem; min-height: 44px; }
  .lang-switch { min-height: 44px; }
  .lang-switch .lang-active, .lang-switch .lang-alt { min-height: 44px; padding: 0.6rem 0.9rem; }
  .footer-links a, .site-nav a:not(.btn):not(.lang-alt):not(.lang-active) { padding: 0.4rem 0; min-height: 28px; display: inline-flex; align-items: center; }
  .ui-placeholder { font-size: 0.8rem; }
}
