/* ==========================================================================
   Telemex HMIS platform site
   Editorial ivory/forest identity, Fraunces display + Instrument Sans text.
   ========================================================================== */

:root {
  --paper: #f6f3ea;
  --paper-2: #fffdf7;
  --ink: #101c1a;
  --forest: #0c2a25;
  --pine: #17453c;
  --teal: #2f6a60;
  --lime: #d9ff6b;
  --clay: #e4593a;
  --mist: #ddebe0;
  --sand: #efe7d4;
  --muted: #5b6a65;
  --line: rgba(16, 28, 26, 0.14);
  --line-soft: rgba(16, 28, 26, 0.08);
  --line-light: rgba(255, 255, 255, 0.16);
  --shadow: 0 50px 90px -50px rgba(12, 42, 37, 0.5);
  --shell: 1240px;
  --gutter: 24px;
  --head-h: 78px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.7s;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--lime); color: var(--ink); }

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

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-optical-sizing: auto;
  letter-spacing: -0.015em;
  line-height: 1;
}

p { margin: 0; }

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

.shell { width: min(calc(100% - var(--gutter) * 2), var(--shell)); margin-inline: auto; }
.shell-wide { width: min(calc(100% - var(--gutter) * 2), 1440px); margin-inline: auto; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 11px 16px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------------- header -- */

.site-head {
  position: fixed;
  inset: 0 0 auto;
  z-index: 800;
  padding: 16px 0;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-head.is-stuck {
  padding: 8px 0;
  background: rgba(246, 243, 234, 0.82);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 1px 0 var(--line-soft), 0 18px 40px -30px rgba(12, 42, 37, 0.5);
}

.head-in {
  width: min(calc(100% - var(--gutter) * 2), 1320px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 23px;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  position: relative;
  width: 26px; height: 26px;
  flex: none;
  transform: rotate(45deg);
}
.brand-mark i { position: absolute; display: block; background: var(--ink); }
.brand-mark i:nth-child(1) { inset: 9px 0 auto; height: 8px; }
.brand-mark i:nth-child(2) { inset: 0 auto 0 9px; width: 8px; }
.brand-mark i:nth-child(3) { top: 9px; left: 9px; width: 8px; height: 8px; background: var(--lime); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  position: relative;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 500;
  color: rgba(16, 28, 26, 0.72);
  text-decoration: none;
  transition: color 0.25s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: currentColor;
  transition: right 0.4s var(--ease-out);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }

.head-actions { display: flex; align-items: center; gap: 18px; }
.head-login { font-size: 14px; font-weight: 500; color: rgba(16, 28, 26, 0.72); text-decoration: none; }

.menu-btn {
  display: none;
  width: 42px; height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  place-content: center;
  gap: 5px;
}
.menu-btn span { display: block; width: 17px; height: 1.5px; background: var(--ink); transition: transform 0.3s var(--ease), opacity 0.2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 790;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 100px 24px 40px;
  background: var(--forest);
  color: var(--paper-2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}
.nav-overlay.is-open { opacity: 1; visibility: visible; }
.nav-overlay a {
  font-family: var(--font-display);
  font-size: clamp(30px, 8vw, 44px);
  line-height: 1.18;
  color: var(--paper-2);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 0;
}
.nav-overlay a:last-of-type { border-bottom: 0; }
.nav-overlay .btn { margin-top: 22px; align-self: flex-start; }
.nav-overlay small {
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------- buttons -- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper-2);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  will-change: transform;
  transition: transform 0.35s var(--ease), background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.btn:hover { background: var(--pine); border-color: var(--pine); transform: translateY(-2px); }
.btn .arw { transition: transform 0.35s var(--ease); }
.btn:hover .arw { transform: translate(3px, -3px); }
.btn--lime { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.btn--lime:hover { background: #c8f24f; border-color: #c8f24f; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper-2); }
.btn--light { background: var(--paper-2); border-color: var(--paper-2); color: var(--ink); }
.btn--light:hover { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 13px; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.arrow-link span { transition: transform 0.35s var(--ease); }
.arrow-link:hover span { transform: translateX(4px); }

/* ------------------------------------------------------------- typography -- */

.kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 22px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pine);
}
.kicker--light { color: var(--lime); }

.display { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em; line-height: 0.95; }
.em-i { font-style: italic; color: var(--pine); }
.on-dark .em-i, .sec--dark .em-i { color: var(--lime); }

.lede { color: var(--muted); font-size: 17px; line-height: 1.65; }
.sec--dark .lede, .on-dark .lede { color: rgba(255, 255, 255, 0.66); }

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

.hero {
  position: relative;
  padding: calc(var(--head-h) + 60px) 0 0;
  overflow: clip;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -10% -10% auto;
  height: 120%;
  z-index: -1;
  background:
    radial-gradient(46% 52% at 8% 12%, rgba(221, 235, 224, 0.95), transparent 62%),
    radial-gradient(42% 46% at 96% 2%, rgba(239, 231, 212, 0.95), transparent 60%),
    radial-gradient(36% 40% at 62% 76%, rgba(217, 255, 107, 0.22), transparent 68%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(12, 42, 37, 0.11) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(60% 55% at 20% 20%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(60% 55% at 20% 20%, #000, transparent 72%);
  opacity: 0.55;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(32px, 4.5vw, 72px);
  padding-bottom: clamp(48px, 6vw, 84px);
}

.hero h1 {
  font-size: clamp(46px, 6.3vw, 100px);
  line-height: 0.93;
  letter-spacing: -0.028em;
  margin: 0;
}
.hero .lede {
  max-width: 40ch;
  margin-top: 30px;
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.6;
  color: rgba(16, 28, 26, 0.72);
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 36px; }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  list-style: none;
  padding-left: 0;
  color: rgba(16, 28, 26, 0.62);
  font-size: 12px;
}
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.dot-live { width: 6px; height: 6px; border-radius: 50%; background: var(--pine); box-shadow: 0 0 0 4px rgba(23, 69, 60, 0.1); }
.dot-soon { width: 6px; height: 6px; border-radius: 50%; border: 1px solid rgba(16, 28, 26, 0.45); }

/* product visual --------------------------------------------------------- */

.hero-visual { position: relative; padding: 8px 0 92px; }
.hero-visual .shot__caption { display: none; }
.hero-visual .glow {
  position: absolute;
  inset: 8% -12% 6% 6%;
  z-index: -1;
  background: radial-gradient(circle at 60% 40%, rgba(217, 255, 107, 0.5), transparent 62%);
  filter: blur(28px);
}

.shot {
  position: relative;
  background: var(--paper-2);
  border: 1px solid rgba(12, 42, 37, 0.16);
  box-shadow: var(--shadow);
  transform: translateZ(0);
}
.shot--tilt { transform: rotate(-1.1deg); }
.shot--img { overflow: hidden; background: #fff; }
.shot__img { display: block; width: 100%; height: auto; }
.shot__caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.shot-float {
  position: absolute;
  right: 6px;
  bottom: -26px;
  width: 208px;
  padding: 15px 16px;
  background: var(--forest);
  color: var(--paper-2);
  box-shadow: 0 30px 60px -30px rgba(12, 42, 37, 0.9);
}
.shot-float small { display: block; font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.shot-float strong { display: block; margin-top: 8px; font-family: var(--font-display); font-size: 19px; font-weight: 400; line-height: 1.2; }
.shot-float p { margin-top: 8px; color: rgba(255, 255, 255, 0.58); font-size: 11px; line-height: 1.5; }
.shot-float .bar { display: flex; gap: 3px; margin-top: 12px; }
.shot-float .bar i { height: 4px; flex: 1; background: rgba(255, 255, 255, 0.16); }
.shot-float .bar i:nth-child(-n + 4) { background: var(--lime); }

/* product UI mock -------------------------------------------------------- */

.ui {
  background: var(--paper-2);
  border: 1px solid rgba(12, 42, 37, 0.14);
  font-family: var(--font-sans);
}
.ui-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(12, 42, 37, 0.1);
  background: #faf8f1;
}
.ui-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(12, 42, 37, 0.16); }
.ui-brand { margin-left: 6px; font-size: 11px; font-weight: 600; letter-spacing: 0.01em; }
.ui-brand b { color: var(--pine); }
.ui-status { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 9px; color: var(--teal); }
.ui-status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #3f9d74; }
.ui-body { padding: 16px; }
.ui-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.ui-head small { display: block; font-size: 8px; letter-spacing: 0.14em; text-transform: uppercase; color: #8b958f; }
.ui-head strong { display: block; margin-top: 5px; font-family: var(--font-display); font-size: 23px; font-weight: 400; letter-spacing: -0.01em; }
.ui-head .ui-date { padding: 5px 8px; border: 1px solid rgba(12, 42, 37, 0.12); font-size: 9px; color: #7d8883; }
.ui-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-top: 15px; }
.ui-tile { padding: 9px; border: 1px solid rgba(12, 42, 37, 0.1); background: #fdfbf5; }
.ui-tile small { display: block; font-size: 7px; letter-spacing: 0.1em; text-transform: uppercase; color: #8b958f; }
.ui-tile strong { display: block; margin-top: 6px; font-family: var(--font-display); font-size: 21px; font-weight: 400; line-height: 1; }
.ui-tile em { display: block; margin-top: 5px; font-style: normal; font-size: 7px; color: var(--teal); }
.ui-tile.hot { border-color: rgba(228, 89, 58, 0.5); background: #fff5f0; }
.ui-tile.hot em { color: var(--clay); }

.ui-table { margin-top: 11px; border: 1px solid rgba(12, 42, 37, 0.1); }
.ui-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.7fr auto;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  font-size: 9.5px;
  border-top: 1px solid rgba(12, 42, 37, 0.07);
}
.ui-row:first-child { border-top: 0; }
.ui-row.head {
  background: #f4f2e9;
  border-top: 0;
  font-size: 7.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8b958f;
}
.ui-row b { font-weight: 600; }
.ui-row small { display: block; margin-top: 2px; font-size: 7.5px; color: #8b958f; }
.ui-tag { justify-self: start; padding: 3px 6px; background: var(--mist); color: var(--pine); font-size: 7.5px; letter-spacing: 0.02em; white-space: nowrap; }
.ui-tag.warn { background: #fff0e9; color: #b4532f; }
.ui-tag.mute { background: #efeee6; color: #7d8883; }
.ui-spark { display: flex; align-items: flex-end; gap: 3px; height: 26px; margin-top: 12px; }
.ui-spark i { flex: 1; background: rgba(23, 69, 60, 0.16); }
.ui-spark i:nth-child(-n + 5) { background: var(--pine); }
.ui-foot { display: flex; justify-content: space-between; margin-top: 10px; font-size: 8px; color: #8b958f; }

/* --------------------------------------------------------------- marquee -- */

.marquee {
  border-block: 1px solid var(--line);
  background: var(--paper-2);
  overflow: hidden;
}
.marquee__track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 17px 30px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.marquee__item::after { content: "◆"; font-size: 7px; color: var(--pine); opacity: 0.5; }
@keyframes marquee { to { transform: translateX(-50%); } }

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

.sec { position: relative; padding: clamp(74px, 8vw, 136px) 0; }
.sec--tight { padding: clamp(52px, 5.5vw, 92px) 0; }
.sec--paper { background: var(--paper-2); }
.sec--mist { background: var(--mist); }
.sec--sand { background: var(--sand); }
.sec--dark { background: var(--forest); color: var(--paper-2); }
.sec--dark .kicker { color: var(--lime); }
.sec--dark h2, .sec--dark h3 { color: var(--paper-2); }

.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(280px, 0.62fr);
  align-items: end;
  gap: clamp(28px, 5vw, 80px);
  margin-bottom: clamp(36px, 4.5vw, 66px);
}
.sec-head h2 { font-size: clamp(34px, 4.4vw, 68px); line-height: 0.98; letter-spacing: -0.025em; }
.sec-head .lede { max-width: 44ch; }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------------------------------------------------------------- pillars -- */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 30px 34px;
  border-right: 1px solid var(--line);
  transition: background 0.5s var(--ease);
}
.pillar:last-child { border-right: 0; }
.pillar:hover { background: var(--paper-2); }
.pillar__num { font-size: 10px; letter-spacing: 0.18em; color: var(--muted); }
.pillar__icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  margin: 26px 0 0;
  background: var(--mist);
  color: var(--pine);
  font-family: var(--font-display);
  font-size: 17px;
}
.pillar:nth-child(2) .pillar__icon { background: var(--sand); color: var(--clay); }
.pillar:nth-child(3) .pillar__icon { background: var(--forest); color: var(--lime); }
.pillar h3 { margin-top: 26px; font-size: 26px; line-height: 1.1; }
.pillar p { margin-top: 12px; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.pillar .arrow-link { margin-top: 26px; font-size: 12.5px; }

/* ------------------------------------------------------------------ stack -- */

.stack { display: grid; gap: 22px; }
.stack-card {
  position: sticky;
  top: calc(var(--head-h) + 26px);
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding: clamp(24px, 3vw, 46px);
  background: var(--paper-2);
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px -60px rgba(12, 42, 37, 0.7);
}
.stack-card:nth-child(2) { top: calc(var(--head-h) + 40px); background: var(--sand); }
.stack-card:nth-child(3) { top: calc(var(--head-h) + 54px); background: var(--forest); color: var(--paper-2); }
.stack-card:nth-child(3) .lede { color: rgba(255, 255, 255, 0.64); }
.stack-card:nth-child(3) h3 { color: var(--paper-2); }
.stack-card h3 { font-size: clamp(27px, 2.8vw, 40px); line-height: 1.04; letter-spacing: -0.02em; }
.stack-card .lede { margin-top: 16px; font-size: 15px; }
.stack-card .kicker { margin-bottom: 16px; }
.stack-card:nth-child(3) .kicker { color: var(--lime); }
.stack-list { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.stack-list li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding-top: 10px;
  border-top: 1px solid currentColor;
  border-color: var(--line-soft);
  font-size: 12.5px;
  color: var(--muted);
}
.stack-card:nth-child(3) .stack-list li { color: rgba(255, 255, 255, 0.68); border-color: var(--line-light); }
.stack-list b { color: var(--ink); font-weight: 600; }
.stack-card:nth-child(3) .stack-list b { color: var(--paper-2); }

/* ------------------------------------------------------------- horizontal -- */

.rail-wrap { position: relative; height: 340vh; }
.rail-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.rail-head { width: min(calc(100% - var(--gutter) * 2), var(--shell)); margin: 0 auto 34px; }
.rail-head h2 { font-size: clamp(32px, 3.8vw, 56px); line-height: 1; }
.rail-track {
  display: flex;
  gap: 20px;
  padding-left: max(var(--gutter), calc((100vw - var(--shell)) / 2));
  padding-right: 24px;
  will-change: transform;
}
.rail-card {
  flex: 0 0 min(74vw, 400px);
  padding: 26px 26px 30px;
  border: 1px solid var(--line);
  background: var(--paper-2);
}
.rail-card:nth-child(even) { background: var(--mist); }
.rail-step { display: flex; align-items: center; justify-content: space-between; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.rail-card h3 { margin-top: 44px; font-size: 28px; line-height: 1.08; }
.rail-card p { margin-top: 12px; color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.rail-visual {
  margin-top: 26px;
  height: 132px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(90deg, transparent 0 23px, rgba(12, 42, 37, 0.06) 23px 24px);
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 14px;
}
.rail-visual i { flex: 1; background: rgba(23, 69, 60, 0.22); }
.rail-visual i.on { background: var(--pine); }

/* ------------------------------------------------------------------ stats -- */

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-light); }
.stat-cell { padding: 30px 26px 34px; background: var(--forest); }
.stat-cell strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(46px, 5vw, 78px);
  font-weight: 400;
  line-height: 0.9;
  color: var(--paper-2);
}
.stat-cell span { display: block; margin-top: 14px; color: rgba(255, 255, 255, 0.58); font-size: 12px; line-height: 1.5; max-width: 24ch; }

/* ------------------------------------------------------------------ quote -- */

.quote-band { text-align: center; }
.quote-band blockquote {
  margin: 0 auto;
  max-width: 21ch;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.6vw, 66px);
  line-height: 1.03;
  letter-spacing: -0.025em;
}
.quote-band blockquote em { font-style: italic; color: var(--pine); background: linear-gradient(transparent 66%, rgba(217, 255, 107, 0.75) 0); }
.quote-band figcaption { margin-top: 26px; color: var(--muted); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }

/* --------------------------------------------------------------- packages -- */

.pack-list { border-top: 1px solid var(--line); }
.pack-row {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) minmax(0, 0.85fr) auto;
  gap: clamp(16px, 3vw, 44px);
  align-items: start;
  padding: clamp(26px, 3vw, 42px) 4px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background 0.45s var(--ease), padding 0.45s var(--ease);
}
.pack-row:hover { background: var(--paper-2); padding-inline: 18px 10px; }
.pack-row__index { font-size: 11px; letter-spacing: 0.16em; color: var(--muted); padding-top: 8px; }
.pack-row h3 { font-size: clamp(28px, 3.1vw, 46px); line-height: 1.02; letter-spacing: -0.025em; }
.pack-row__promise { margin-top: 10px; color: var(--muted); font-size: 13.5px; line-height: 1.6; max-width: 46ch; }
.pack-row__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.pack-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 15px;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease);
}
.pack-row:hover .pack-go { background: var(--forest); color: var(--paper-2); transform: rotate(-45deg); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid transparent;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tag--live { background: var(--lime); color: var(--forest); }
.tag--soon { background: rgba(16, 28, 26, 0.07); color: var(--muted); }
.tag--config { background: #fdf0cf; color: #8a6413; }
.tag--add { border-color: var(--line); color: var(--pine); }
.tag--quiet { background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.7); }

.matrix { margin-top: 34px; border: 1px solid var(--line); background: var(--paper-2); }
.matrix-row {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 0.62fr);
  gap: 12px;
  align-items: center;
  min-height: 50px;
  padding: 7px 20px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
}
.matrix-row.head {
  min-height: 42px;
  border-top: 0;
  background: var(--paper);
  color: var(--muted);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.matrix-row .tag { font-size: 8.5px; padding: 4px 6px; }
.matrix-dash { color: rgba(16, 28, 26, 0.28); }
.legend { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 18px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 11px; }
.legend li { display: inline-flex; align-items: center; gap: 8px; }

/* ------------------------------------------------------------------ split -- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 84px);
  align-items: center;
}
.split--flip .split__media { order: -1; }
.split h2 { font-size: clamp(30px, 3.6vw, 56px); line-height: 1; }
.split .lede { margin-top: 20px; max-width: 46ch; }
.split__actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }

.panel {
  position: relative;
  padding: clamp(22px, 3vw, 40px);
  background: var(--mist);
  overflow: hidden;
}
.panel--sand { background: var(--sand); }
.panel--forest { background: var(--forest); color: var(--paper-2); }
.panel--plain { background: var(--paper-2); border: 1px solid var(--line); }
.panel::before {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 240px; height: 240px;
  border: 1px solid rgba(12, 42, 37, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 40px rgba(12, 42, 37, 0.03), 0 0 0 80px rgba(12, 42, 37, 0.02);
  pointer-events: none;
}

.feature-list { display: grid; gap: 0; margin: 30px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.feature-list li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.feature-list span { color: var(--pine); font-size: 12px; }
.feature-list strong { display: block; font-size: 14px; font-weight: 600; }
.feature-list small { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.55; }

/* ------------------------------------------------------------- page hero -- */

.phero {
  position: relative;
  padding: calc(var(--head-h) + 66px) 0 clamp(44px, 6vw, 88px);
  overflow: clip;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(100deg, rgba(221, 235, 224, 0.9) 0%, rgba(233, 238, 226, 0.5) 42%, rgba(239, 231, 212, 0.85) 100%),
    var(--paper);
}
.phero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(12, 42, 37, 0.13) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(105deg, #000 0%, transparent 58%);
  -webkit-mask-image: linear-gradient(105deg, #000 0%, transparent 58%);
  opacity: 0.6;
}
.phero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
}
.phero h1 {
  font-size: clamp(44px, 5.6vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  max-width: 15ch;
}
.phero .lede { margin-top: 26px; font-size: clamp(16px, 1.25vw, 19px); max-width: 46ch; color: rgba(16, 28, 26, 0.7); }
.phero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.phero-meta { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 40px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none; font-size: 11.5px; color: rgba(16, 28, 26, 0.6); }

.breadcrumb { display: flex; align-items: center; gap: 9px; margin-bottom: 20px; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.breadcrumb a { text-decoration: none; }
.breadcrumb span { opacity: 0.5; }

/* --------------------------------------------------------------- diagram -- */

.flow-panel { position: relative; }
.flow-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-bottom: 38px; padding: 4px; background: rgba(12, 42, 37, 0.06); }
.flow-tab {
  padding: 10px 18px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.flow-tab[aria-selected="true"] { background: var(--forest); color: var(--paper-2); }

.flow-track { position: relative; padding-top: 26px; }
.flow-track__rail { position: absolute; top: 4px; left: 0; right: 0; height: 1px; background: var(--line); }
.flow-track__dot {
  position: absolute;
  top: -2px; left: 0;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--clay);
  box-shadow: 0 0 0 5px rgba(228, 89, 58, 0.14);
  animation: travel 9s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.flow-track.is-paused .flow-track__dot, .flow-track:hover .flow-track__dot { animation-play-state: paused; }
@keyframes travel { from { left: 0; } to { left: calc(100% - 9px); } }
.flow-nodes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.flow-nodes li { position: relative; padding-top: 22px; border-top: 1px solid transparent; }
.flow-nodes li::before { content: ""; position: absolute; top: -27px; left: 0; width: 7px; height: 7px; background: var(--pine); }
.flow-nodes small { display: block; font-size: 9px; letter-spacing: 0.14em; color: var(--muted); }
.flow-nodes strong { display: block; margin-top: 9px; font-family: var(--font-display); font-size: 19px; font-weight: 500; }
.flow-nodes p { margin-top: 6px; color: var(--muted); font-size: 11.5px; line-height: 1.5; }
.flow-track__note { margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11.5px; }

/* ----------------------------------------------------------------- roles -- */

.roles { display: grid; grid-template-columns: 0.62fr 1.38fr; gap: clamp(26px, 4vw, 66px); align-items: start; }
.role-tabs { position: sticky; top: calc(var(--head-h) + 30px); display: grid; }
.role-tab {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  padding: 18px 14px 18px 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  transition: color 0.3s ease, padding 0.4s var(--ease);
}
.role-tab:last-child { border-bottom: 1px solid var(--line); }
.role-tab small { font-size: 9px; letter-spacing: 0.14em; }
.role-tab strong { font-family: var(--font-display); font-size: 21px; font-weight: 400; }
.role-tab[aria-selected="true"] { color: var(--ink); padding-left: 14px; }
.role-tab[aria-selected="true"] strong { color: var(--pine); }
.role-panel h2 { font-size: clamp(28px, 3.2vw, 46px); line-height: 1.02; }
.role-panel .lede { margin-top: 18px; }
.role-panel[hidden] { display: none; }
.role-panel__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.role-panel__grid div { padding: 20px; background: var(--paper-2); border: 1px solid var(--line); }
.role-panel__grid strong { display: block; font-size: 13.5px; }
.role-panel__grid small { display: block; margin-top: 6px; color: var(--muted); font-size: 11.5px; line-height: 1.55; }

/* ------------------------------------------------------------ governance -- */

.gov-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); }
.gov-cell { padding: clamp(22px, 2.6vw, 36px); background: var(--forest); }
.gov-cell span { font-size: 10px; letter-spacing: 0.16em; color: var(--lime); }
.gov-cell h3 { margin-top: 18px; font-size: 22px; line-height: 1.15; }
.gov-cell p { margin-top: 10px; color: rgba(255, 255, 255, 0.6); font-size: 12.5px; line-height: 1.6; }

.audit {
  margin-top: 34px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  padding: 18px 20px;
}
.audit__head { display: flex; justify-content: space-between; font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.audit ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 1px; }
.audit li { display: grid; grid-template-columns: 88px 1fr auto; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line-soft); font-size: 11px; }
.audit li b { font-weight: 600; }
.audit li span { color: var(--muted); }
.audit li time { color: var(--muted); font-variant-numeric: tabular-nums; }

/* -------------------------------------------------------------- timeline -- */

.timeline { position: relative; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 92px 1fr; gap: clamp(16px, 3vw, 40px); padding: 26px 0; border-bottom: 1px solid var(--line); }
.timeline em { font-style: normal; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.timeline h3 { font-size: 22px; }
.timeline p { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.6; max-width: 62ch; }

/* ------------------------------------------------------------------- cta -- */

.cta-band { position: relative; padding: clamp(66px, 8vw, 118px) 0; background: var(--forest); color: var(--paper-2); overflow: clip; }
.cta-band::before {
  content: "";
  position: absolute;
  right: -14%;
  top: -40%;
  width: 62vw; height: 62vw;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(217, 255, 107, 0.2), transparent 62%);
  pointer-events: none;
}
.cta-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(26px, 4vw, 70px); align-items: end; position: relative; }
.cta-band h2 { font-size: clamp(38px, 5.4vw, 86px); line-height: 0.95; letter-spacing: -0.03em; }
.cta-band h2 em { font-style: italic; color: var(--lime); }
.cta-band p { color: rgba(255, 255, 255, 0.62); font-size: 15px; line-height: 1.65; max-width: 38ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* ------------------------------------------------------------------ form -- */

.form-card { padding: clamp(22px, 3vw, 38px); background: var(--paper-2); color: var(--ink); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.field { display: block; }
.field--wide { margin-top: 18px; }
.field > span.lbl {
  display: block;
  margin-bottom: 7px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 0;
  border: 0;
  border-bottom: 1px solid rgba(12, 42, 37, 0.22);
  border-radius: 0;
  background: transparent;
  font-size: 14px;
  outline: 0;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--pine); box-shadow: 0 1px 0 var(--pine); }
.field input.field-error, .field select.field-error { border-bottom-color: var(--clay); }
.form-foot { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; margin-top: 26px; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; color: var(--muted); font-size: 10.5px; line-height: 1.5; }
.consent input { width: 14px; height: 14px; margin: 1px 0 0; accent-color: var(--pine); }
.consent a { color: var(--pine); }
.form-status { margin-top: 12px; font-size: 12px; font-weight: 600; color: var(--pine); min-height: 1em; }
.form-status.error { color: var(--clay); }
.hp-field { position: absolute !important; left: -9999px; opacity: 0; pointer-events: none; }

/* ----------------------------------------------------------------- footer -- */

.foot { position: relative; background: #08201c; color: rgba(255, 255, 255, 0.66); padding: clamp(48px, 6vw, 84px) 0 26px; overflow: clip; }
.foot-top { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 60px); padding-bottom: 44px; border-bottom: 1px solid var(--line-light); }
.foot-brand { color: var(--paper-2); }
.foot-brand .brand-mark i { background: var(--paper-2); }
.foot-brand .brand-mark i:nth-child(3) { background: var(--lime); }
.foot-top p { margin-top: 18px; max-width: 40ch; font-size: 13.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.55); }
.foot-mail { display: inline-block; margin-top: 18px; color: var(--lime); font-size: 13px; text-decoration: none; border-bottom: 1px solid rgba(217, 255, 107, 0.4); padding-bottom: 2px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.foot-cols strong { display: block; margin-bottom: 12px; color: var(--paper-2); font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.foot-cols a { display: block; padding: 4px 0; color: rgba(255, 255, 255, 0.55); font-size: 12.5px; text-decoration: none; transition: color 0.25s ease; }
.foot-cols a:hover { color: var(--lime); }
.foot-word {
  margin: clamp(28px, 4vw, 54px) 0 0;
  font-family: var(--font-display);
  font-size: clamp(58px, 15.5vw, 210px);
  line-height: 0.78;
  letter-spacing: -0.035em;
  color: rgba(255, 255, 255, 0.07);
  user-select: none;
}
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line-light); font-size: 10.5px; color: rgba(255, 255, 255, 0.38); }
.foot-bottom a { color: rgba(255, 255, 255, 0.55); text-decoration: none; }

/* ----------------------------------------------------------------- legal -- */

.legal-hero { padding: calc(var(--head-h) + 56px) 0 42px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.legal-hero h1 { font-size: clamp(38px, 4.6vw, 64px); line-height: 1; max-width: 20ch; }
.legal-updated { margin-top: 18px; color: var(--muted); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; }
.legal-lede { max-width: 68ch; margin-top: 16px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.legal-body { padding: 48px 0 84px; }
.legal-grid { display: grid; grid-template-columns: 240px 1fr; gap: clamp(30px, 4vw, 64px); align-items: start; }
.legal-toc { position: sticky; top: calc(var(--head-h) + 24px); padding: 18px; border: 1px solid var(--line); background: var(--paper-2); }
.legal-toc strong { display: block; margin-bottom: 10px; font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.legal-toc ol { margin: 0; padding: 0; list-style: none; }
.legal-toc a { display: block; padding: 6px 8px; border-left: 1px solid var(--line); color: var(--muted); font-size: 11.5px; text-decoration: none; }
.legal-toc a:hover { color: var(--ink); border-left-color: var(--pine); background: rgba(12, 42, 37, 0.03); }
.legal-article { max-width: 76ch; }
.legal-article h2 { margin: 38px 0 0; font-size: 24px; scroll-margin-top: 100px; }
.legal-article h2:first-child { margin-top: 0; }
.legal-article p, .legal-article li { color: #33413d; font-size: 14px; line-height: 1.72; }
.legal-article p { margin-top: 12px; }
.legal-article ul { margin: 12px 0 0; padding-left: 18px; display: grid; gap: 7px; }
.legal-article a { color: var(--pine); }
.legal-article code { padding: 2px 5px; background: var(--mist); font-size: 12px; }
.legal-table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 12px; }
.legal-table th, .legal-table td { padding: 10px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-table th { background: var(--mist); font-weight: 600; }
.legal-table td { color: #33413d; }

/* ---------------------------------------------------------------- motion -- */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 80ms);
}
[data-reveal].in { opacity: 1; transform: none; }

.split-line .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .16em; margin-bottom: -.16em; }
.split-line .w > span {
  display: inline-block;
  transform: translateY(108%);
  transition: transform 1.05s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 45ms);
}
.split-line.in .w > span, .no-js .split-line .w > span { transform: none; }

[data-parallax] { will-change: transform; }
[data-clip] { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease-out); }
[data-clip].in { clip-path: inset(0 0 0 0); }

.page-veil {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: var(--forest);
  pointer-events: none;
  animation: veil 0.9s var(--ease-out) forwards;
}
@keyframes veil { to { opacity: 0; visibility: hidden; } }

/* ------------------------------------------------------------ responsive -- */

@media (max-width: 1080px) {
  .nav, .head-login { display: none; }
  .menu-btn { display: grid; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero h1 { font-size: clamp(44px, 8vw, 76px); }
  .hero-visual { max-width: 620px; }
  .sec-head { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: 0; border-bottom: 1px solid var(--line); }
  .pillar:last-child { border-bottom: 0; }
  .stack-card { grid-template-columns: 1fr; gap: 30px; }
  .rail-wrap { height: auto; }
  .rail-pin { position: static; height: auto; overflow: visible; }
  .rail-track { transform: none !important; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .rail-card { scroll-snap-align: start; }
  .phero-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
  .roles { grid-template-columns: 1fr; }
  .role-tabs { position: static; grid-auto-flow: column; overflow-x: auto; }
  .role-tab { grid-template-columns: 1fr; border-top: 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
  .role-tab small { display: none; }
  .pack-row { grid-template-columns: 40px 1fr auto; }
  .pack-row__meta { grid-column: 2 / -1; }
  .foot-top { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: repeat(3, 1fr); }
  .legal-grid { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
}

@media (max-width: 760px) {
  :root { --gutter: 18px; --head-h: 70px; }
  body { font-size: 16px; }
  .hero { padding-top: calc(var(--head-h) + 34px); }
  .hero h1 { font-size: clamp(40px, 11vw, 58px); }
  .hero-facts { gap: 8px 18px; }
  .ui-tiles { grid-template-columns: repeat(2, 1fr); }
  .ui-row { grid-template-columns: 1.4fr 0.9fr auto; }
  .ui-row > :nth-child(3) { display: none; }
  .shot-float { right: 8px; bottom: -10px; width: 172px; }
  .sec { padding: 62px 0; }
  .stats { grid-template-columns: 1fr; }
  .gov-grid { grid-template-columns: 1fr; }
  .role-panel__grid { grid-template-columns: 1fr; }
  .flow-nodes { grid-template-columns: 1fr; gap: 0; }
  .flow-nodes li { padding: 16px 0 16px 20px; border-top: 0; border-left: 1px solid var(--line); }
  .flow-nodes li::before { top: 22px; left: -4px; }
  .flow-track__rail, .flow-track__dot { display: none; }
  .matrix { overflow-x: auto; }
  .matrix-row { min-width: 620px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-foot { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; justify-content: center; }
  .cta-grid { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 8px; }
  .audit li { grid-template-columns: 70px 1fr; }
  .audit li time { grid-column: 2; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .quote-band blockquote { font-size: clamp(28px, 8vw, 40px); }
}

@media (max-width: 460px) {
  .hero-actions .btn, .phero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .ui-row { grid-template-columns: 1fr auto; }
  .ui-row > :nth-child(2) { display: none; }
  .foot-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  [data-reveal], .split-line .w > span, [data-clip] { opacity: 1; transform: none; clip-path: none; }
  .page-veil { display: none; }
  .flow-track__dot { display: none; }
  .rail-wrap { height: auto; }
  .rail-pin { position: static; height: auto; overflow: visible; }
  .rail-track { transform: none !important; overflow-x: auto; }
}
