/* ==========================================================================
   LuxLab landing page
   A light technical workspace: warm paper, graphite viewports, amber accents.
   Self-contained. No frameworks, no external requests.
   ========================================================================== */

@font-face {
  font-family: "Inter Variable";
  src: url("./assets/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter Variable";
  src: url("./assets/fonts/inter-latin-wght-italic.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono Variable";
  src: url("./assets/fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f2f1ec;
  --panel: #faf9f5;
  --sunken: #f5f3ec;
  --ink: #1b1e23;
  --ink-soft: #41464e;
  --muted: #62676f;
  --muted-soft: #71767e;
  --line: #dedbd2;
  --line-strong: #c7c3b8;
  --amber: #d98a1f;
  --amber-strong: #a9640c;
  --amber-text: #9a5b09;
  --amber-soft: #f8e8c9;
  --view: #15171b;
  --view-soft: #1d2026;
  --view-line: #2c3139;
  --view-muted: #8b929b;
  --good: #3f7d5a;

  --font-sans: "Inter Variable", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --container: 1320px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(72px, 8.5vw, 112px);
  --radius: 2px;

  --shadow-plate: 0 1px 0 rgba(255, 255, 255, 0.65) inset, 0 2px 8px rgba(27, 30, 35, 0.04),
    0 34px 70px -44px rgba(27, 30, 35, 0.58);
  --shadow-card: 0 1px 2px rgba(27, 30, 35, 0.035), 0 18px 40px -34px rgba(27, 30, 35, 0.35);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.nav-open {
  overflow: hidden;
}

h1,
h2,
h3,
p,
dl,
dd,
figure,
ul,
ol {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 580;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

svg {
  overflow: visible;
}

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

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

.section-dark :focus-visible,
.cta :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--amber);
}

main:focus {
  outline: none;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-24 {
  width: 24px;
  height: 24px;
}

.icon-20 {
  width: 20px;
  height: 20px;
}

.icon-check {
  width: 14px;
  height: 14px;
  stroke-width: 1.7;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 11px 16px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  font-weight: 550;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 180ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Shared type and controls
   -------------------------------------------------------------------------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-text);
}

.eyebrow-num {
  color: var(--muted);
  font-weight: 500;
}

.eyebrow-rule {
  width: 20px;
  height: 1px;
  background: var(--line-strong);
}

.eyebrow-dark {
  color: #e3a651;
}

.eyebrow-dark .eyebrow-num {
  color: #8b929b;
}

.eyebrow-dark .eyebrow-rule {
  background: #3a4048;
}

.mini-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.mini-label::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--amber);
}

.mini-label-dark {
  color: var(--view-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 560;
  line-height: 1;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 180ms var(--ease),
    border-color 180ms var(--ease),
    color 180ms var(--ease),
    transform 180ms var(--ease),
    box-shadow 180ms var(--ease);
}

.btn .icon {
  width: 15px;
  height: 15px;
  transition: transform 180ms var(--ease);
}

.btn:hover .icon {
  transform: translateX(2px);
}

.btn-small {
  height: 38px;
  padding: 0 14px;
  gap: 7px;
  font-size: 12.5px;
}

.btn-large {
  height: 50px;
  padding: 0 21px;
  font-size: 14.5px;
}

.btn-xlarge {
  height: 58px;
  padding: 0 26px;
  font-size: 15.5px;
}

.btn-primary {
  background: var(--amber);
  border-color: #b56f0d;
  color: var(--ink);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 2px 6px rgba(169, 100, 12, 0.16);
}

.btn-primary:hover {
  background: #e29a31;
  border-color: var(--amber-strong);
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 8px 18px -10px rgba(169, 100, 12, 0.55);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary:focus-visible {
  outline-color: var(--ink);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--panel);
  border-color: var(--ink);
  transform: translateY(-1px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  font-size: 13px;
  font-weight: 520;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  transition: color 180ms var(--ease), border-color 180ms var(--ease);
}

.text-link .icon {
  width: 14px;
  height: 14px;
  transition: transform 180ms var(--ease);
}

.text-link:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.text-link:hover .icon {
  transform: translateX(2px);
}

.text-link-dark {
  color: #d8d5cb;
  border-color: #3a4048;
}

.text-link-dark:hover {
  color: var(--paper);
  border-color: var(--amber);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(242, 241, 236, 0.9);
  -webkit-backdrop-filter: saturate(135%) blur(14px);
  backdrop-filter: saturate(135%) blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 32px;
  height: 32px;
  flex: none;
}

.brand-type {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-name {
  font-size: 17px;
  font-weight: 620;
  line-height: 1;
  letter-spacing: -0.025em;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 7.5px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 28px);
  margin-inline: auto;
}

.site-nav a {
  position: relative;
  padding: 9px 0;
  font-size: 12.5px;
  font-weight: 480;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms var(--ease);
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: var(--amber-strong);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms var(--ease);
}

.site-nav a:hover {
  color: var(--ink);
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.version-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 1px;
  background: var(--panel);
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.07em;
  color: var(--muted);
}

.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 2px rgba(217, 138, 31, 0.14);
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle .icon {
  width: 18px;
  height: 18px;
}

.nav-toggle-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-close {
  display: block;
}

.nav-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--panel);
  padding: 4px var(--gutter) 18px;
}

.nav-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.nav-panel a .icon {
  width: 16px;
  height: 16px;
}

.nav-panel .nav-panel-open {
  margin-top: 6px;
  padding-top: 16px;
  border-bottom: 0;
  color: var(--amber-text);
  font-weight: 560;
}

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

.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-block: clamp(54px, 6.5vw, 88px) clamp(64px, 7.5vw, 100px);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -280px;
  right: -180px;
  width: 920px;
  height: 760px;
  background: radial-gradient(circle at 50% 50%, rgba(217, 138, 31, 0.09), transparent 65%);
  pointer-events: none;
}

.hero-grid-bg {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(27, 30, 35, 0.042) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(27, 30, 35, 0.042) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 88%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 88%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(36px, 4.6vw, 64px);
  align-items: start;
}

.hero-copy {
  padding-top: 6px;
}

.hero-eyebrow {
  margin-bottom: clamp(24px, 3vw, 36px);
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(2.95rem, 5.6vw, 5.15rem);
  font-weight: 570;
  line-height: 0.94;
  letter-spacing: -0.052em;
}

.hero-mark {
  position: relative;
  white-space: nowrap;
}

.hero-mark::after {
  content: "";
  position: absolute;
  right: 0.02em;
  bottom: 0.035em;
  left: 0.02em;
  height: 0.065em;
  background: var(--amber);
  opacity: 0.72;
}

.hero-dot {
  color: var(--amber);
}

.hero-lede {
  max-width: 51ch;
  margin-top: clamp(24px, 3vw, 32px);
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-note {
  margin-top: 15px;
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(36px, 4vw, 54px);
  border-top: 1px solid var(--line-strong);
}

.hero-fact {
  min-width: 0;
  padding: 14px 14px 0 0;
}

.hero-fact + .hero-fact {
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.hero-fact dt {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: var(--ink);
}

.hero-fact dd {
  margin-top: 5px;
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Technical plate ---------------------------------------------------------- */

.hero-figure {
  min-width: 0;
}

.plate {
  position: relative;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow-plate);
}

.plate::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 76px;
  height: 2px;
  background: var(--amber);
}

.plate-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 2px 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 10px;
}

.plate-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.plate-dot {
  width: 5px;
  height: 5px;
  flex: none;
  background: var(--amber);
}

.plate-meta {
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.3;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
}

.plate-screen {
  position: relative;
  overflow: hidden;
  border: 1px solid #0b0d10;
  border-radius: 1px;
  background: var(--view);
}

.plate-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.045);
  pointer-events: none;
}

.plate-screen img {
  width: 100%;
  height: auto;
}

.plate-readout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.plate-readout > div {
  min-width: 0;
  padding-right: 8px;
}

.plate-readout > div + div {
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.plate-readout dt {
  font-family: var(--font-mono);
  font-size: 7.5px;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.plate-readout dd {
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.plate-readout dd span {
  margin-left: 3px;
  font-size: 7.5px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--muted);
  white-space: nowrap;
}

.hero-figure figcaption,
.dark-figure figcaption {
  margin-top: 14px;
  padding-left: 2px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 1.7;
  letter-spacing: 0.015em;
  color: var(--muted);
}

.caption-strong {
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Section shell
   -------------------------------------------------------------------------- */

.section {
  position: relative;
  padding-block: var(--section-y);
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(38px, 5vw, 56px);
}

.section-head-main {
  min-width: 0;
}

.section-head h2 {
  max-width: 15ch;
  font-size: clamp(2.05rem, 3.8vw, 3.3rem);
  font-weight: 560;
  line-height: 1.01;
  letter-spacing: -0.045em;
}

.section-aside {
  max-width: 38ch;
  justify-self: end;
  padding-left: 20px;
  border-left: 1px solid var(--line-strong);
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Capability cards
   -------------------------------------------------------------------------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 318px;
  overflow: hidden;
  padding: 24px 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow-card);
  transition:
    transform 240ms var(--ease),
    border-color 240ms var(--ease),
    box-shadow 240ms var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms var(--ease);
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  background: var(--sunken);
  color: var(--ink);
}

.card-index {
  padding-top: 2px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  line-height: 1.3;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
}

.card h3 {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 590;
  line-height: 1.22;
  letter-spacing: -0.025em;
}

.card p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.68;
}

.card-tag {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (hover: hover) {
  .card:hover {
    transform: translateY(-3px);
    border-color: var(--line-strong);
    box-shadow: 0 22px 44px -32px rgba(27, 30, 35, 0.48);
  }

  .card:hover::before {
    transform: scaleX(1);
  }
}

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}

.step {
  position: relative;
  min-width: 0;
  padding-top: 16px;
  border-top: 1px solid var(--line-strong);
}

.step::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 38px;
  height: 3px;
  background: var(--amber);
}

.step-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--amber-text);
}

.step-label {
  font-family: var(--font-mono);
  font-size: 8.5px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.step-plate {
  position: relative;
  overflow: hidden;
  aspect-ratio: 340 / 190;
  margin-top: 18px;
  border: 1px solid #0b0d10;
  background: var(--view);
  box-shadow: 0 24px 44px -34px rgba(21, 23, 27, 0.6);
}

.step-plate svg {
  display: block;
  width: 100%;
  height: 100%;
}

.step h3 {
  margin-top: 20px;
  font-size: 19px;
  font-weight: 590;
  line-height: 1.25;
  letter-spacing: -0.022em;
}

.step p {
  margin-top: 9px;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.68;
}

.step .step-meta {
  margin-top: 15px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Local-first band
   -------------------------------------------------------------------------- */

.section-dark {
  position: relative;
  overflow: clip;
  padding-block: var(--section-y);
  border-top: 1px solid #0c0e11;
  border-bottom: 1px solid #0c0e11;
  background: var(--view);
  color: var(--paper);
}

.dark-grid-bg,
.cta-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(242, 241, 236, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(242, 241, 236, 0.045) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: radial-gradient(ellipse at 62% 42%, #000 8%, transparent 72%);
  mask-image: radial-gradient(ellipse at 62% 42%, #000 8%, transparent 72%);
  pointer-events: none;
}

.dark-glow {
  position: absolute;
  top: -220px;
  right: -160px;
  width: 760px;
  height: 760px;
  background: radial-gradient(circle, rgba(217, 138, 31, 0.14), transparent 64%);
  pointer-events: none;
}

.local-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 5.2fr) minmax(0, 6.8fr);
  gap: clamp(36px, 4.8vw, 64px);
  align-items: center;
}

.local-copy {
  min-width: 0;
}

.section-dark h2,
.cta h2 {
  color: var(--paper);
  font-size: clamp(2.1rem, 3.9vw, 3.35rem);
  font-weight: 560;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.local-lede {
  max-width: 47ch;
  margin-top: 22px;
  color: #a2a8b0;
  font-size: 14.5px;
  line-height: 1.72;
}

.local-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 32px;
  border: 1px solid var(--view-line);
  background: var(--view-line);
}

.local-feature {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  padding: 18px;
  background: var(--view);
}

.local-icon {
  color: var(--amber);
  padding-top: 1px;
}

.local-feature h3 {
  font-size: 13px;
  font-weight: 560;
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--paper);
}

.local-feature p {
  margin-top: 5px;
  color: var(--view-muted);
  font-size: 11.5px;
  line-height: 1.63;
}

.local-chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--view-line);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

.chain-arrow {
  color: var(--amber);
}

.dark-figure {
  min-width: 0;
}

.dark-plate {
  position: relative;
  padding: 8px;
  border: 1px solid var(--view-line);
  background: #181b20;
  box-shadow: 0 50px 100px -60px #000;
}

.dark-plate::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 64px;
  height: 2px;
  background: var(--amber);
}

.plate-bar-dark {
  padding: 3px 2px 10px;
  border-bottom-color: var(--view-line);
}

.plate-bar-dark .plate-label {
  color: var(--paper);
}

.plate-bar-dark .plate-meta {
  color: var(--view-muted);
}

.dark-plate .plate-screen {
  border-color: var(--view-line);
}

.dark-readout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-top: 8px;
  padding: 10px 2px 3px;
  border-top: 1px solid var(--view-line);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--view-muted);
}

.dark-figure figcaption {
  color: var(--view-muted);
}

/* --------------------------------------------------------------------------
   Plan
   -------------------------------------------------------------------------- */

.goal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.78fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  margin-bottom: clamp(36px, 4.5vw, 52px);
}

.goal-copy {
  min-width: 0;
}

.goal-statement {
  max-width: 40ch;
  padding-left: clamp(16px, 2vw, 24px);
  border-left: 2px solid var(--amber);
  font-size: clamp(1.3rem, 2vw, 1.72rem);
  font-weight: 480;
  line-height: 1.47;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.limits {
  padding: 24px;
  border: 1px solid #e6cd9f;
  background: var(--amber-soft);
}

.limits p {
  font-size: 12.5px;
  line-height: 1.67;
  color: var(--ink-soft);
}

.limits-verify {
  margin-top: 10px;
  color: var(--ink) !important;
  font-weight: 550;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 4px 6px;
  border: 1px solid rgba(27, 30, 35, 0.18);
  background: rgba(250, 249, 245, 0.45);
  font-family: var(--font-mono);
  font-size: 7.5px;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.plan-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 26px 28px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.plan-card-now {
  border-top: 3px solid var(--amber);
}

.plan-card-next {
  border-style: dashed;
  border-top-width: 1px;
  background: transparent;
}

.plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.plan-head h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 7px;
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 7.5px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.tag-amber {
  border-color: #d7a552;
  background: var(--amber-soft);
  color: var(--amber-text);
}

.plan-list {
  display: grid;
  gap: 11px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.plan-list li {
  display: grid;
  grid-template-columns: 15px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.plan-list-now .icon-check {
  margin-top: 3px;
  color: var(--amber-text);
}

.next-arrow {
  margin-top: -1px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  color: var(--amber-text);
}

.plan-note {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.6;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Method
   -------------------------------------------------------------------------- */

.section-method {
  background: var(--sunken);
}

.pipeline {
  display: flex;
  margin: 0 0 clamp(36px, 4.5vw, 48px);
  padding: 0;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  list-style: none;
}

.pipeline li {
  position: relative;
  display: flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  padding: 13px 14px;
  border-right: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 8.5px;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}

.pipeline li:last-child {
  border-right: 0;
}

.pipeline li span {
  color: var(--amber-text);
  font-size: 8px;
}

.pipeline li + li::before {
  content: "›";
  position: absolute;
  top: 50%;
  left: -5px;
  transform: translateY(-54%);
  background: var(--panel);
  color: var(--line-strong);
  font-size: 13px;
  line-height: 1;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 34px;
}

.method-item {
  padding-top: 15px;
  border-top: 1px solid var(--line-strong);
}

.method-num {
  font-family: var(--font-mono);
  font-size: 8.5px;
  line-height: 1;
  letter-spacing: 0.1em;
  color: var(--amber-text);
}

.method-item h3 {
  margin: 10px 0 8px;
  font-size: 15.5px;
  font-weight: 590;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.method-item p {
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1.68;
}

.evidence-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
  gap: 18px;
  margin-top: clamp(36px, 4.5vw, 50px);
}

.formula-card {
  position: relative;
  overflow: hidden;
  padding: 26px 28px;
  border: 1px solid #0b0d10;
  background: var(--view);
  color: var(--paper);
}

.formula-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(242, 241, 236, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(242, 241, 236, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse at 75% 20%, #000, transparent 70%);
  mask-image: radial-gradient(ellipse at 75% 20%, #000, transparent 70%);
  pointer-events: none;
}

.formula-card > * {
  position: relative;
  z-index: 1;
}

.formula {
  display: grid;
  gap: 8px;
  margin: 18px 0 22px;
}

.formula-label {
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e3a651;
}

.formula-label:not(:first-child) {
  margin-top: 7px;
}

.formula code {
  display: block;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.6;
  color: #f2e9d8;
  white-space: normal;
}

.formula-note {
  max-width: 54ch;
  color: var(--view-muted);
  font-size: 11.5px;
  line-height: 1.65;
}

.validation-card {
  display: flex;
  flex-direction: column;
  padding: 26px 28px;
  border: 1px solid #e6cd9f;
  background: var(--amber-soft);
}

.validation-figure {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  margin: 16px 0;
  font-family: var(--font-mono);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.validation-figure > span {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 9px;
  color: var(--ink-soft);
}

.validation-figure b {
  font-size: 31px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

.validation-figure em {
  font-style: normal;
  font-size: 7.5px;
  line-height: 1.3;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

.validation-arrow {
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1;
  color: var(--amber-text);
}

.validation-card > p:not(.mini-label):not(.validation-figure):not(.validation-note) {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.67;
}

.validation-note {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(27, 30, 35, 0.16);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.6;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.cta {
  position: relative;
  overflow: clip;
  background: var(--view);
  color: var(--paper);
}

.cta-grid-bg {
  -webkit-mask-image: radial-gradient(ellipse at 28% 55%, #000 6%, transparent 70%);
  mask-image: radial-gradient(ellipse at 28% 55%, #000 6%, transparent 70%);
}

.cta-glow {
  position: absolute;
  right: -140px;
  bottom: -340px;
  width: 880px;
  height: 760px;
  background: radial-gradient(circle, rgba(217, 138, 31, 0.18), transparent 64%);
  pointer-events: none;
}

.cta-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: end;
  padding-block: clamp(76px, 8.5vw, 116px);
}

.cta h2 {
  max-width: 13ch;
  font-size: clamp(2.7rem, 5.2vw, 4.85rem);
  line-height: 0.96;
  letter-spacing: -0.052em;
}

.cta-lede {
  max-width: 48ch;
  margin-top: 24px;
  color: #a2a8b0;
  font-size: 14.5px;
  line-height: 1.72;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  justify-self: end;
  padding-bottom: 4px;
}

.cta-meta {
  font-family: var(--font-mono);
  font-size: 8.5px;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

.cta-strip {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 18px 26px;
  border-top: 1px solid var(--view-line);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

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

.site-footer {
  padding-block: clamp(48px, 6vw, 68px) 24px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.75fr) minmax(0, 0.55fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.footer-brand p {
  max-width: 34ch;
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  padding-top: 4px;
}

.footer-nav a {
  width: fit-content;
  padding: 4px 0;
  color: var(--ink-soft);
  font-size: 12px;
  text-decoration: none;
  transition: color 160ms var(--ease);
}

.footer-nav a:hover {
  color: var(--amber-text);
}

.footer-meta {
  justify-self: end;
  padding-top: 4px;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.footer-version {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: clamp(32px, 4vw, 46px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-bottom-right {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.footer-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 0;
  text-decoration: none;
  color: var(--ink-soft);
}

.footer-bottom a:hover {
  color: var(--amber-text);
}

.footer-bottom .icon {
  width: 12px;
  height: 12px;
}

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    animation: rise 640ms var(--ease) both;
  }

  .hero-copy > :nth-child(2) {
    animation-delay: 50ms;
  }

  .hero-copy > :nth-child(3) {
    animation-delay: 100ms;
  }

  .hero-copy > :nth-child(4) {
    animation-delay: 140ms;
  }

  .hero-copy > :nth-child(5) {
    animation-delay: 180ms;
  }

  .hero-copy > :nth-child(6) {
    animation-delay: 220ms;
  }

  .hero-figure {
    animation: plate-in 780ms var(--ease) 120ms both;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes plate-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.992);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1120px) {
  .site-nav {
    display: none;
  }

  .version-chip {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .header-actions {
    margin-left: auto;
  }

  .nav-panel:not([hidden]) {
    display: grid;
  }
}

@media (max-width: 1080px) {
  .header-inner {
    min-height: 68px;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-grid {
    gap: 36px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 5.5vw, 4.4rem);
  }

  .hero-lede {
    font-size: 15px;
  }
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(40px, 6vw, 56px);
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero h1 {
    max-width: 14ch;
    font-size: clamp(3rem, 7.4vw, 4.7rem);
  }

  .hero-lede {
    max-width: 58ch;
  }

  .hero-figure {
    max-width: 760px;
  }

  .local-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(40px, 6vw, 56px);
  }

  .local-copy {
    max-width: 760px;
  }

  .dark-figure {
    max-width: 760px;
  }

  .cta-grid {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 40px;
  }

  .cta-actions {
    justify-self: start;
  }
}

@media (max-width: 900px) {
  .section-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: start;
  }

  .section-aside {
    max-width: 52ch;
    justify-self: start;
  }

  .card-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 720px;
  }

  .card {
    min-height: 0;
  }

  .goal-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .limits {
    max-width: 640px;
  }

  .plan-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pipeline {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pipeline li {
    border-bottom: 1px solid var(--line);
  }

  .pipeline li:nth-child(3n) {
    border-right: 0;
  }

  .pipeline li:nth-last-child(-n + 3) {
    border-bottom: 0;
  }

  .pipeline li + li::before {
    display: none;
  }

  .method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .evidence-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .formula-card,
  .validation-card {
    min-height: 0;
  }
}

@media (max-width: 820px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
  }

  .step-plate {
    max-width: 620px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .footer-meta {
    grid-column: 1 / -1;
    justify-self: start;
    padding-top: 8px;
    text-align: left;
  }
}

@media (max-width: 680px) {
  :root {
    --section-y: clamp(60px, 11vw, 80px);
  }

  .header-inner {
    gap: 14px;
  }

  .header-actions {
    gap: 8px;
  }

  .btn-small {
    height: 36px;
    padding: 0 11px;
    font-size: 11.5px;
  }

  .hero {
    padding-top: 40px;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 12.4vw, 4.1rem);
  }

  .hero-lede {
    font-size: 14.5px;
    line-height: 1.68;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .hero-facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-fact {
    padding: 12px 0;
  }

  .hero-fact + .hero-fact {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .hero-fact dt {
    font-size: 9px;
  }

  .hero-fact dd {
    margin-top: 3px;
  }

  .plate-meta {
    display: none;
  }

  .plate-readout dd {
    font-size: 16px;
  }

  .plate-readout > div + div {
    padding-left: 9px;
  }

  .plate-readout > div {
    padding-right: 6px;
  }

  .local-features {
    grid-template-columns: minmax(0, 1fr);
  }

  .local-feature {
    padding: 16px;
  }

  .plan-card {
    padding: 22px;
  }

  .pipeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pipeline li:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .pipeline li:nth-child(2n) {
    border-right: 0;
  }

  .pipeline li:nth-last-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .pipeline li:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .method-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .formula-card,
  .validation-card {
    padding: 22px;
  }

  .formula code {
    font-size: 11.5px;
  }

  .validation-figure b {
    font-size: 27px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .footer-nav {
    max-width: 360px;
  }

  .footer-meta {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .brand-sub {
    display: none;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .brand-name {
    font-size: 16px;
  }

  .brand {
    gap: 8px;
  }

  .header-inner {
    min-height: 62px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 12.2vw, 3.5rem);
    letter-spacing: -0.055em;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .eyebrow {
    gap: 8px;
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .eyebrow-rule {
    width: 14px;
  }

  .plate {
    padding: 8px;
  }

  .plate-bar {
    gap: 8px;
  }

  .plate-label {
    font-size: 7.5px;
  }

  .plate-readout dd {
    font-size: 14px;
  }

  .plate-readout dt {
    font-size: 7px;
  }

  .plate-readout dd span {
    font-size: 7px;
  }

  .step h3 {
    font-size: 18px;
  }

  .goal-statement {
    font-size: 1.22rem;
  }

  .limits {
    padding: 20px;
  }

  .validation-figure {
    gap: 6px 10px;
  }

  .validation-figure b {
    font-size: 24px;
  }

  .cta h2 {
    font-size: clamp(2.4rem, 12vw, 3.2rem);
  }

  .cta .btn-xlarge {
    width: 100%;
  }

  .footer-bottom-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 360px) {
  .header-actions .btn-small {
    padding: 0 8px;
    font-size: 10.5px;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .plate-readout {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
