/* MoSecure — site styles
   Visual language follows the MoTogu / MoNetra showcase videos:
   white paper, deep-navy ink, navy bands, one blue accent, no decoration for its own sake. */

/* Self-hosted fonts (no third-party requests) */
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/hanken-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/hanken-grotesk-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/hanken-grotesk-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --paper: #ffffff;
  --wash: #f3f6fa;
  --wash-2: #e9eef5;
  --ink: #0b1f45;          /* logo navy */
  --ink-2: #33445f;
  --muted: #5d6c83;
  --line: #dbe2ec;
  --line-strong: #b9c4d4;
  --navy: #1e3762;         /* video band navy */
  --navy-deep: #152a4d;
  --on-navy: #ffffff;
  --on-navy-muted: #b8c6dc;
  --on-navy-line: rgba(255, 255, 255, 0.18);
  --blue: #2c63c9;         /* single accent */
  --blue-ink: #1f4fa8;

  --allow: #1d7a4e;
  --stepup: #a86411;
  --block: #b3261e;

  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 6px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; }
p { margin: 0; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 12px; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ---------- type helpers ---------- */
.label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}
.label::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin-top: 12px;
  background: currentColor;
}
.label.plain::after { display: none; }

.display { font-size: clamp(40px, 6.2vw, 76px); letter-spacing: -0.035em; line-height: 1.0; }
.h2 { font-size: clamp(30px, 3.8vw, 46px); letter-spacing: -0.03em; }
.h3 { font-size: 21px; letter-spacing: -0.01em; line-height: 1.25; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--ink-2); max-width: 36em; }
.muted { color: var(--muted); }
.soft { color: #6f86ad; }
.mono { font-family: var(--mono); font-size: 0.86em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border-radius: var(--radius);
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}
.btn:hover { background: var(--navy); border-color: var(--navy); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn.ghost:hover { border-color: var(--ink); }
.btn.light { background: #fff; color: var(--ink); border-color: #fff; }
.btn.light:hover { background: var(--wash); }
.btn.ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn.ghost-light:hover { border-color: #fff; }
.btn svg { width: 16px; height: 16px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid var(--line-strong);
  padding-bottom: 2px;
  transition: border-color 150ms ease;
}
.text-link:hover { border-color: currentColor; }
.text-link svg { width: 15px; height: 15px; }

.actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 36px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 150ms ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 32px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; color: var(--ink); }
.brand img { width: 34px; height: 34px; object-fit: contain; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  padding: 8px 12px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
}
.nav a:hover { color: var(--ink); background: var(--wash); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.nav .btn { height: 40px; margin-left: 12px; padding: 0 16px; color: #fff; }
.nav .btn:hover { background: var(--navy); color: #fff; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; content: ""; transition: transform 150ms ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 72px;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-open .nav { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 17px; }
  .nav a:hover { background: none; }
  .nav .btn { margin: 16px 0 0; justify-content: center; height: 48px; border-bottom: 0; }
}

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section.tight { padding: clamp(56px, 7vw, 88px) 0; }
.section + .section.rule { border-top: 1px solid var(--line); }
.wash { background: var(--wash); }
.navy { background: var(--navy); color: var(--on-navy); }
.navy .label { color: var(--on-navy-muted); }
.navy .lede, .navy .muted { color: var(--on-navy-muted); }

.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: 56px; }
.section-head .lede { justify-self: start; }
.section-head.stack { grid-template-columns: 1fr; max-width: 760px; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; margin-bottom: 40px; } }

/* ---------- hero ---------- */
.hero { padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 112px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 64px; align-items: center; }
.hero .lede { margin-top: 28px; }
.hero-meta { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 14px; color: var(--muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }

/* Stack diagram (home hero) */
.stack {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.stack-title { display: flex; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.stack-row { display: grid; grid-template-columns: 112px 1fr; gap: 16px; padding: 20px; border-bottom: 1px solid var(--line); align-items: start; }
.stack-row:last-child { border-bottom: 0; }
.stack-row .layer { font-size: 13px; color: var(--muted); padding-top: 2px; }
.stack-row h3 { font-size: 17px; letter-spacing: -0.01em; }
.stack-row p { font-size: 15px; color: var(--ink-2); margin-top: 4px; line-height: 1.5; }
.stack-row.product { background: var(--wash); }
.stack-row.product h3 span { font-weight: 500; color: var(--muted); }
.stack-row .tag { display: inline-block; margin-top: 10px; font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.verdicts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.v { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line-strong); font-family: var(--mono); font-size: 12px; font-weight: 500; background: #fff; }
.v::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.v.allow { color: var(--allow); }
.v.stepup { color: var(--stepup); }
.v.block { color: var(--block); }
@media (max-width: 520px) { .stack-row { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- showcase videos ---------- */
.showcase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); }
.showcase { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.showcase h3 { font-size: 26px; }
.showcase .kind { font-size: 13px; color: var(--on-navy-muted); margin-top: 6px; }
.showcase p.sum { margin-top: 16px; color: var(--on-navy-muted); font-size: 16px; }
.showcase .text-link { margin-top: 22px; color: #fff; border-color: var(--on-navy-line); }
.showcase .text-link:hover { border-color: #fff; }
@media (max-width: 1100px) { .showcase-grid { grid-template-columns: 1fr; } .showcase { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); } }
@media (max-width: 620px) { .showcase { grid-template-columns: 1fr; } }

.player { position: relative; aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; background: var(--navy-deep); box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 18px 40px -24px rgba(8, 20, 45, .55); }
.player video { width: 100%; height: 100%; object-fit: cover; }
.player .play {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-start; padding: 18px;
  border: 0; background: linear-gradient(to top, rgba(8,20,45,.55), rgba(8,20,45,0) 45%); cursor: pointer; color: #fff;
}
.player .play span { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px 0 12px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; }
.player .play svg { width: 18px; height: 18px; }
.player.playing .play { display: none; }

.chapters { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line); }
.chapters li { border-bottom: 1px solid var(--line); }
.chapters button {
  display: grid; grid-template-columns: 44px 1fr; gap: 10px; width: 100%; padding: 10px 0; text-align: left;
  background: none; border: 0; cursor: pointer; font-size: 15px; color: var(--ink-2);
}
.chapters button .t { font-family: var(--mono); font-size: 12px; color: var(--muted); padding-top: 3px; }
.chapters button:hover { color: var(--ink); }
.chapters button.active { color: var(--ink); font-weight: 700; }
.chapters button.active .t { color: var(--blue); }
.navy .chapters { border-color: var(--on-navy-line); }
.navy .chapters li { border-color: var(--on-navy-line); }
.navy .chapters button { color: var(--on-navy-muted); }
.navy .chapters button:hover, .navy .chapters button.active { color: #fff; }
.navy .chapters button .t { color: #8aa0c4; }
.navy .chapters button.active .t { color: #fff; }

/* ---------- lists / grids ---------- */
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.cols-3 > * { padding: 28px 32px 8px 0; }
.cols-3 > * + * { padding-left: 32px; border-left: 1px solid var(--line); }
.navy .cols-3 { border-color: #fff; }
.navy .cols-3 > * + * { border-color: var(--on-navy-line); }
.cols-3 .n { font-family: var(--mono); font-size: 13px; color: var(--muted); display: block; margin-bottom: 18px; }
.navy .cols-3 .n { color: var(--on-navy-muted); }
.cols-3 h3 { font-size: 22px; margin-bottom: 10px; }
.cols-3 p { color: var(--ink-2); font-size: 16px; }
.navy .cols-3 p { color: var(--on-navy-muted); }
@media (max-width: 860px) {
  .cols-3 { grid-template-columns: 1fr; }
  .cols-3 > *, .cols-3 > * + * { padding: 24px 0; border-left: 0; }
  .cols-3 > * + * { border-top: 1px solid var(--line); }
  .navy .cols-3 > * + * { border-top-color: var(--on-navy-line); }
}

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.steps li { position: relative; padding: 28px 28px 30px; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--ink); border-radius: 4px; }
.steps .n { font-size: 34px; font-weight: 700; color: #c3cedd; line-height: 1; display: block; margin-bottom: 20px; letter-spacing: -0.03em; }
.steps h3 { font-size: 22px; margin-bottom: 8px; }
.steps p { color: var(--ink-2); font-size: 16px; }
.steps .note { display: block; margin-top: 14px; font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 96px); align-items: start; }
.split.even { grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .split, .split.even { grid-template-columns: 1fr; } }

.statement { font-size: clamp(30px, 4.2vw, 52px); letter-spacing: -0.03em; line-height: 1.08; font-weight: 700; }
.statement .soft { display: block; }

.threats { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.threats li { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.threats h3 { font-size: 18px; letter-spacing: -0.01em; line-height: 1.35; }
.threats p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 620px) { .threats li { grid-template-columns: 1fr; gap: 4px; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--wash); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.navy .chip { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; border-radius: 6px; font-family: var(--mono); font-weight: 500; }

/* spec table */
.spec { width: 100%; border-collapse: collapse; font-size: 16px; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 18px 24px 18px 0; border-bottom: 1px solid var(--line); }
.spec thead th { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding-top: 0; border-bottom: 1px solid var(--ink); }
.spec tbody th { font-weight: 700; width: 24%; color: var(--ink); }
.spec td { color: var(--ink-2); }
.spec td strong { color: var(--ink); }
.spec .col-head { display: flex; align-items: baseline; gap: 10px; font-size: 20px; letter-spacing: -0.01em; text-transform: none; color: var(--ink); font-weight: 700; }
.spec .col-head small { font-size: 13px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.spec a { font-weight: 600; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 760px) {
  .spec.responsive thead { display: none; }
  .spec.responsive tr { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .spec.responsive th, .spec.responsive td { display: block; width: auto; border: 0; padding: 4px 0; }
  .spec.responsive tbody th { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
  .spec.responsive td::before { content: attr(data-col); display: block; font-weight: 700; color: var(--ink); font-size: 14px; margin-top: 8px; }
}

/* definition list */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0; }
.facts > div { padding: 22px 24px 22px 0; }
.facts > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.facts dt { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.facts dd { margin: 0; font-weight: 600; font-size: 16px; line-height: 1.4; }
@media (max-width: 860px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* big response options (navy band) */
.response-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.response-row .chip { height: 44px; padding: 0 20px; font-size: 15px; }
.after-notes { margin-top: 28px; font-weight: 600; line-height: 1.7; }

/* verdict panel */
.verdict-card { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; font-size: 15px; }
.verdict-card header { display: flex; justify-content: space-between; gap: 12px; padding: 14px 20px; background: var(--wash); border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.verdict-card .body { padding: 22px 20px; display: grid; gap: 18px; }
.verdict-card .kv { display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.verdict-card .k { color: var(--muted); font-size: 14px; }
.verdict-card .val { font-weight: 600; }
.verdict-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.verdict-card li { font-family: var(--mono); font-size: 13px; color: var(--ink-2); }
.verdict-card li::before { content: "— "; color: var(--muted); }
.verdict-card .v { height: 30px; font-size: 13px; }
.verdict-card footer { padding: 14px 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

.outcomes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.outcomes > div { padding: 24px; }
.outcomes > div + div { border-left: 1px solid var(--line); }
.outcomes .v { margin-bottom: 14px; }
.outcomes h3 { font-size: 18px; margin-bottom: 6px; letter-spacing: -0.01em; }
.outcomes p { font-size: 15px; color: var(--ink-2); }
@media (max-width: 760px) { .outcomes { grid-template-columns: 1fr; } .outcomes > div + div { border-left: 0; border-top: 1px solid var(--line); } }

.checks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 28px; font-weight: 600; }
.checks li::before { content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 7px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }

.pull { margin-top: 32px; padding: 18px 22px; border-left: 3px solid var(--ink); background: var(--wash); font-weight: 600; }

/* principles */
.principles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; }
.principles li { padding: 26px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 44px 1fr; gap: 12px; }
.principles .n { font-family: var(--mono); font-size: 13px; color: var(--muted); padding-top: 4px; }
.principles h3 { font-size: 20px; margin-bottom: 8px; letter-spacing: -0.01em; }
.principles p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 760px) { .principles { grid-template-columns: 1fr; } }

/* industries */
.sectors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sectors > div { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.sectors h3 { font-size: 17px; margin-bottom: 6px; letter-spacing: -0.01em; }
.sectors p { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
@media (max-width: 960px) { .sectors { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .sectors { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #fff; padding: clamp(64px, 9vw, 112px) 0; }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 32px 64px; align-items: end; }
.cta-band p { margin-top: 18px; color: var(--on-navy-muted); font-size: 18px; max-width: 34em; }
.cta-band .actions { margin-top: 0; }
@media (max-width: 860px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* ---------- forms ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 96px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-facts { margin-top: 40px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-facts div { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 110px 1fr; gap: 16px; font-size: 16px; }
.contact-facts dt { color: var(--muted); font-size: 14px; }
.contact-facts dd { margin: 0; font-weight: 600; }
.contact-facts a { text-decoration: none; border-bottom: 1px solid var(--line-strong); }

.form { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; }
.field label .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: #fff; font-size: 16px; color: var(--ink); transition: border-color 150ms ease, box-shadow 150ms ease;
}
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230b1f45' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field textarea { height: 140px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(44, 99, 201, .15); }
.form .submit-row { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 4px; }
.form .fine { font-size: 13.5px; color: var(--muted); }
.form .fine a { color: var(--ink-2); }
@media (max-width: 620px) { .form { grid-template-columns: 1fr; } }

.notice { display: none; grid-column: 1 / -1; padding: 14px 16px; border-radius: var(--radius); font-size: 15px; font-weight: 600; }
.notice.show { display: block; }
.notice.ok { background: #e8f4ed; color: var(--allow); border: 1px solid #b9dcc8; }
.notice.err { background: #fbecea; color: var(--block); border: 1px solid #efc3be; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.page-hero .lede { margin-top: 28px; }

/* ---------- prose (legal) ---------- */
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; }
.legal nav { position: sticky; top: 96px; display: grid; gap: 2px; font-size: 14.5px; }
.legal nav a { text-decoration: none; color: var(--muted); padding: 6px 0 6px 14px; border-left: 2px solid var(--line); }
.legal nav a:hover, .legal nav a.active { color: var(--ink); border-left-color: var(--ink); }
.prose { max-width: 720px; }
.prose section { padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.prose section:last-child { border-bottom: 0; }
.prose h2 { font-size: 26px; margin-bottom: 18px; letter-spacing: -0.02em; }
.prose h3 { font-size: 18px; margin: 26px 0 8px; letter-spacing: -0.01em; }
.prose p { color: var(--ink-2); margin-bottom: 14px; }
.prose .box { margin: 20px 0; padding: 18px 20px; border-left: 3px solid var(--ink); background: var(--wash); }
.prose .box p { margin: 0; color: var(--ink); }
.prose .spec { font-size: 15px; margin: 20px 0; }
.prose .spec td:last-child { white-space: nowrap; }
@media (max-width: 900px) { .legal { grid-template-columns: 1fr; gap: 32px; } .legal nav { position: static; grid-template-columns: 1fr 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-navy-muted); padding: 72px 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.site-footer .brand { color: #fff; }
.site-footer .about { margin-top: 18px; max-width: 30em; line-height: 1.6; }
.site-footer h4 { color: #fff; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-base { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--on-navy-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13.5px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

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

.steps.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .steps.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .steps.four { grid-template-columns: 1fr; } }

.hero-media { width: 100%; max-width: 400px; justify-self: end; }
@media (max-width: 960px) { .hero-media { justify-self: start; max-width: 460px; } }
.showcase { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
@media (max-width: 1100px) { .showcase { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); } }
@media (max-width: 620px) { .showcase { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .split[style] { grid-template-columns: 1fr !important; } }

/* ---------- motion ----------
   Only active when <html> has .motion (set inline in <head>, removed if site.js never runs)
   and the visitor hasn't asked for reduced motion. Every element animates once. */
@media (prefers-reduced-motion: no-preference) {
  .motion .section-head,
  .motion .section .split > div:first-child,
  .motion .page-hero .wrap,
  .motion .cta-band .wrap,
  .motion .hero-grid > div:first-child > *,
  .motion .hero-media,
  .motion .showcase {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 700ms ease, transform 700ms cubic-bezier(.2, .7, .2, 1);
  }
  .motion .section-head.in,
  .motion .section .split > div.in:first-child,
  .motion .page-hero .wrap.in,
  .motion .cta-band .wrap.in,
  .motion .hero-grid.in > div:first-child > *,
  .motion .hero-media.in,
  .motion .showcase.in { opacity: 1; transform: none; }

  /* hero copy: staggered on load */
  .motion .hero-grid > div:first-child > :nth-child(2) { transition-delay: 80ms; }
  .motion .hero-grid > div:first-child > :nth-child(3) { transition-delay: 180ms; }
  .motion .hero-grid > div:first-child > :nth-child(4) { transition-delay: 280ms; }
  .motion .hero-grid > div:first-child > :nth-child(5) { transition-delay: 380ms; }
  .motion .hero-media { transition-delay: 250ms; }
  .motion .showcase + .showcase { transition-delay: 150ms; }

  /* home: "Where MoSecure sits" builds row by row */
  .motion .stack { opacity: 0; transition: opacity 500ms ease 200ms; }
  .motion .stack .stack-row { opacity: 0; transform: translateY(10px); transition: opacity 500ms ease, transform 500ms cubic-bezier(.2,.7,.2,1); }
  .motion .stack.in { opacity: 1; }
  .motion .stack.in .stack-row { opacity: 1; transform: none; }
  .motion .stack.in .stack-row:nth-of-type(2) { transition-delay: 450ms; }
  .motion .stack.in .stack-row:nth-of-type(3) { transition-delay: 800ms; }
  .motion .stack.in .stack-row:nth-of-type(4) { transition-delay: 1150ms; }
  .motion .stack .v { opacity: 0; transform: scale(.85); transition: opacity 300ms ease, transform 300ms ease; }
  .motion .stack.in .v { opacity: 1; transform: none; }
  .motion .stack.in .v:nth-child(1) { transition-delay: 1100ms; }
  .motion .stack.in .v:nth-child(2) { transition-delay: 1200ms; }
  .motion .stack.in .v:nth-child(3) { transition-delay: 1300ms; }

  /* numbered steps light up in order */
  .motion .steps li { opacity: 0; transform: translateY(12px); border-left-color: var(--line); transition: opacity 500ms ease, transform 500ms cubic-bezier(.2,.7,.2,1), border-color 400ms ease; }
  .motion .steps li .n { transition: color 400ms ease; color: #e4e9f1; }
  .motion .steps.in li { opacity: 1; transform: none; border-left-color: var(--ink); }
  .motion .steps.in li .n { color: #c3cedd; }
  .motion .steps.in li:nth-child(2), .motion .steps.in li:nth-child(2) .n { transition-delay: 250ms; }
  .motion .steps.in li:nth-child(3), .motion .steps.in li:nth-child(3) .n { transition-delay: 500ms; }
  .motion .steps.in li:nth-child(4), .motion .steps.in li:nth-child(4) .n { transition-delay: 750ms; }

  /* MoNetra: the example verdict is "decided" in front of you */
  .motion .verdict-card li { opacity: 0; transform: translateX(-8px); transition: opacity 400ms ease, transform 400ms ease; }
  .motion .verdict-card.in li { opacity: 1; transform: none; }
  .motion .verdict-card.in li:nth-child(1) { transition-delay: 300ms; }
  .motion .verdict-card.in li:nth-child(2) { transition-delay: 700ms; }
  .motion .verdict-card.in li:nth-child(3) { transition-delay: 1100ms; }
  .motion .verdict-card .kv .v { opacity: 0; transform: scale(.8); transition: opacity 300ms ease, transform 400ms cubic-bezier(.3, 1.6, .5, 1); }
  .motion .verdict-card.in .kv .v { opacity: 1; transform: none; transition-delay: 1600ms; }
  .motion .verdict-card.in .kv .v::before { animation: ms-pulse 1.4s ease 2s 2; }
}
@keyframes ms-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(168, 100, 17, 0); } 50% { box-shadow: 0 0 0 5px rgba(168, 100, 17, .2); } }

/* ---------- language switch ---------- */
.nav .lang { font-family: var(--mono); font-size: 13px; color: var(--muted); letter-spacing: .02em; margin-left: 4px; }
.nav .lang .lang-cur { color: var(--ink); font-weight: 500; }
.nav .lang:hover { color: var(--ink); }
.chapter-note { margin-top: 10px; font-size: 13px; color: var(--muted); }
.navy .chapter-note { color: var(--on-navy-muted); }
@media (max-width: 860px) { .nav .lang { font-size: 15px; } }

/* ---------- blog ---------- */
.post-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post-list.compact { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
.post-card { display: flex; flex-direction: column; gap: 12px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.post-card h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.015em; }
.post-card h3 a { text-decoration: none; }
.post-card h3 a:hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.post-card > p:not(.post-meta) { color: var(--ink-2); font-size: 15.5px; flex: 1; }
.post-card .text-link { align-self: flex-start; font-size: 15px; }
.post-list.compact .post-card { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 24px 0; background: transparent; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--muted); }
.post-meta span:first-child { color: var(--blue); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; }
@media (max-width: 960px) { .post-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .post-list { grid-template-columns: 1fr; } }

.article-head { padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line); margin-bottom: clamp(36px, 5vw, 56px); }
.article-head .wrap > * { max-width: 820px; }
.article-head .back { display: inline-block; margin-bottom: 28px; font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; }
.article-head .back:hover { color: var(--ink); }
.article-head h1 { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -0.03em; line-height: 1.08; margin: 18px 0 22px; }
.article-head .byline { margin-top: 22px; font-size: 14px; color: var(--muted); }
.article-body { max-width: 720px; padding-bottom: clamp(56px, 7vw, 88px); font-size: 18px; }
.article-body p { color: var(--ink-2); margin-bottom: 20px; line-height: 1.7; }
.article-body h2 { font-size: 26px; margin: 44px 0 16px; letter-spacing: -0.02em; }
.article-body ul, .article-body ol { padding-left: 22px; margin: 0 0 24px; color: var(--ink-2); line-height: 1.65; }
.article-body li { margin-bottom: 10px; }
.article-body li strong, .article-body p strong { color: var(--ink); }
.article-body sup a { text-decoration: none; color: var(--blue); font-weight: 700; font-size: 12px; padding: 0 2px; }
.article-body .spec { font-size: 15px; margin: 8px 0 32px; }
.article-body .spec th, .article-body .spec td { padding-right: 16px; }
.article-body .spec tbody th { width: 22%; }
.callout { margin: 36px 0 8px; padding: 22px 24px; background: var(--wash); border-left: 3px solid var(--ink); border-radius: 0 6px 6px 0; }
.callout p { margin: 0 !important; color: var(--ink) !important; font-size: 16.5px; }
.sources { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.sources h2 { font-size: 13px !important; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px !important; }
.sources ol { font-size: 14.5px; padding-left: 20px; }
.sources li { scroll-margin-top: 96px; }
.sources li:target { background: #fff6dc; }
.sources a { color: var(--ink-2); }
@media (max-width: 620px) { .article-body { font-size: 17px; } }
@media (prefers-reduced-motion: no-preference) {
  .motion .post-list .post-card { opacity: 0; transform: translateY(12px); transition: opacity 500ms ease, transform 500ms cubic-bezier(.2,.7,.2,1); }
  .motion .post-list.in .post-card { opacity: 1; transform: none; }
  .motion .post-list.in .post-card:nth-child(2) { transition-delay: 120ms; }
  .motion .post-list.in .post-card:nth-child(3) { transition-delay: 240ms; }
}
.article-body .spec { table-layout: fixed; }
.article-body .spec thead th:first-child { width: 22%; }
@media (max-width: 620px) { .article-body .table-scroll { margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); } .article-body .spec { table-layout: auto; min-width: 560px; } }
.article-body .spec td:last-child { white-space: normal; }
.figure { margin: 36px 0; }
.figure img { width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--line); }
.figure figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.sources .note { margin-top: 18px; font-size: 14px; color: var(--muted); }
.sources .note a { color: var(--ink-2); }
