/* AegisESG public homepage — bright ecological green.
   Light ground, generous whitespace, one controlled halo, layered soft elevation,
   real photography and a floating product console. Every gradient and every shadow
   goes through a token; nothing decorative is painted inline. */

:root {
  /* ── colour: bright ecological green ramp ─────────────────── */
  --brand: #16a34a;          /* primary bright green */
  --brand-strong: #15803d;
  --brand-deep: #166534;     /* headings and authority tiers */
  --brand-tint: #dcfce7;
  --brand-wash: #f0fdf4;
  --brand-ring: rgba(22, 163, 74, .28);

  --forest: #17624a;         /* retained deep green for dense body copy */
  --ink: #0f2a1d;            /* green-slate body text */
  --ink-2: #33544a;
  --muted: #5f7b71;
  --muted-soft: #8aa39b;

  /* ── surfaces ─────────────────────────────────────────────── */
  --paper: #ffffff;
  --paper-alt: #f6fbf7;
  --card: #ffffff;
  --glass: rgba(255, 255, 255, .74);
  --glass-strong: rgba(255, 255, 255, .93);
  --line: #e4efe8;
  --hairline: #eef6f0;

  /* ── controlled light: the system's signature ─────────────── */
  --glow-brand: radial-gradient(closest-side, rgba(22, 163, 74, .22), rgba(22, 163, 74, 0));
  --glow-brand-soft: radial-gradient(62% 56% at 50% 0%, rgba(134, 239, 172, .34), rgba(134, 239, 172, 0));

  /* ── photo scrims: the green-tinted wash that lets white text sit on a
     photograph. Tinted toward the brand so two unrelated photographs read as
     one palette. ─────────────────────────────────────────────────────────── */
  --scrim-hero: linear-gradient(180deg, rgba(6, 46, 28, .74) 0%, rgba(6, 46, 28, .44) 42%, rgba(6, 46, 28, .80) 100%);
  --scrim-band: linear-gradient(90deg, rgba(6, 46, 28, .88) 0%, rgba(6, 46, 28, .62) 48%, rgba(6, 46, 28, .30) 100%);

  /* ── elevation: layered and soft ──────────────────────────── */
  --shadow-card: 0 1px 2px rgba(6, 46, 28, .04), 0 8px 20px rgba(6, 46, 28, .06);
  --shadow-float: 0 2px 6px rgba(6, 46, 28, .05), 0 18px 40px rgba(6, 46, 28, .10), 0 48px 96px rgba(6, 46, 28, .08);
  --ring-brand: 0 0 0 3px var(--brand-ring);   /* status halo, not elevation */

  /* ── radii ────────────────────────────────────────────────── */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  /* ── spacing: 4px base, extended for the wide whitespace ──── */
  --sp-1: 4px;   --sp-2: 8px;   --sp-3: 12px;  --sp-4: 16px;
  --sp-5: 24px;  --sp-6: 32px;  --sp-7: 48px;  --sp-8: 64px;
  --sp-9: 96px;  --sp-10: 128px;

  /* ── type ─────────────────────────────────────────────────── */
  --font-display: "IBM Plex Sans", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "IBM Plex Sans", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --fs-caption: 12px;
  --fs-body: 15px;
  --fs-row: 17px;
  --fs-title: 22px;
  --fs-section: clamp(28px, 3vw, 40px);
  --fs-display: clamp(40px, 6.2vw, 76px);
  --lh-display: 1.04;
  --tracking-display: -.02em;

  /* ── layout ───────────────────────────────────────────────── */
  --gutter: 48px;
  --maxw: 1200px;
  --pad-card: var(--sp-5);
  --section-gap: var(--sp-10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  position: relative;
  isolation: isolate;
  color: var(--ink);
  font: var(--fs-body)/1.65 var(--font-body);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* The homepage opts out of the shared rainbow strip. site-motion.js appends
   html.spectrum-enabled and .spectrum-bar to every page; both are neutralised
   here by specificity alone — the shared bundle that the other eleven pages
   depend on is never edited, and no priority flag is used. */
html.spectrum-enabled body.home-clean { padding-top: 0; }
body.home-clean .spectrum-bar { display: none; }

a { color: inherit; text-decoration: none; }
.site-header, main, footer {
  position: relative;
  z-index: 1;
  width: min(var(--maxw), calc(100% - var(--gutter)));
  margin: auto;
}

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: var(--sp-4);
  z-index: 30;
  min-height: 64px;
  margin-top: var(--sp-4);
  padding: var(--sp-3) var(--sp-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--glass);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  min-width: max-content;
}
.brand img { width: 34px; height: 34px; object-fit: contain; }
.brand span { display: flex; flex-direction: column; gap: 1px; }
.brand strong {
  font-family: var(--font-display);
  font-size: var(--fs-row);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .02em;
  color: var(--ink);
}
.brand small { color: var(--muted); font-size: var(--fs-caption); font-weight: 500; letter-spacing: .01em; }

.site-header nav {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  color: var(--ink-2);
  font-size: var(--fs-body);
  font-weight: 500;
  white-space: nowrap;
}
.site-header nav a { transition: color .15s ease; }
.site-header nav a:hover { color: var(--brand-strong); }
.site-header .nav-action {
  padding: var(--sp-2) var(--sp-5);
  border-radius: var(--radius-pill);
  background: var(--brand);
  color: #fff;
  font-weight: 600;
}
.site-header .nav-action:hover { background: var(--brand-strong); color: #fff; }

/* ── Hero: full-bleed photograph, one green scrim, white type ──
   The band is pulled to the viewport edges with the 100vw/50% trick; body's
   overflow-x:hidden absorbs the scrollbar-width overshoot. */
.hero {
  position: relative;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  padding: var(--sp-10) 0 var(--sp-9);
  overflow: hidden;
  text-align: center;
  background: var(--brand-deep);   /* holds the shape while the photo decodes */
  color: #fff;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: var(--scrim-hero);
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--maxw), calc(100% - var(--gutter)));
  margin: 0 auto;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin: 0;
  padding: var(--sp-2) var(--sp-4);
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(10px);
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: .02em;
  color: #fff;
}
.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #86efac;
  box-shadow: var(--ring-brand);
}
.hero-title {
  max-width: 20ch;
  margin: var(--sp-6) auto 0;
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: var(--lh-display);
  letter-spacing: var(--tracking-display);
  color: #fff;
}
.hero-lead {
  max-width: 620px;
  margin: var(--sp-5) auto 0;
  font-size: var(--fs-row);
  line-height: 1.6;
  color: rgba(255, 255, 255, .84);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  margin-top: var(--sp-7);
}

/* The console rides up out of the photograph. */
.console-section {
  position: relative;
  z-index: 1;
  margin-top: calc(-1 * var(--sp-9));
}
.hero-stage {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-glow {
  position: absolute;
  left: 50%;
  top: 6%;
  width: 900px;
  height: 620px;
  max-width: 120%;
  transform: translateX(-50%);
  background: var(--glow-brand);
  pointer-events: none;
}
.hero-shot {
  position: relative;
  width: min(900px, 100%);
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: var(--shadow-float);
}
.hero-chrome {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--hairline);
  background: var(--paper-alt);
}
.hero-chrome i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
}
.hero-chrome i:first-child { background: #f0b7b0; }
.hero-chrome i:nth-child(2) { background: #f0d9a8; }
.hero-chrome i:last-child { background: #a8d9bc; }
.hero-shot img { display: block; width: 100%; height: auto; }

.hero-chip {
  position: absolute;
  top: 14%;
  min-width: 132px;
  padding: var(--sp-4) var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--glass-strong);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-float);
}
.hero-chip-left { left: 0; }
.hero-chip-right { right: 0; top: 50%; }
.hero-chip em {
  font-style: normal;
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--muted);
}
.hero-chip b {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  color: var(--brand-deep);
}
.hero-chip span { font-size: var(--fs-caption); color: var(--muted-soft); }

/* ── Trust row ──────────────────────────────────────────── */
.trust {
  margin-top: var(--sp-9);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--hairline);
}
.trust-label {
  margin: 0;
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-soft);
}
.trust-row {
  list-style: none;
  margin: var(--sp-5) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
}
.trust-row li {
  padding: var(--sp-2) var(--sp-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--paper-alt);
  font-size: var(--fs-caption);
  font-weight: 500;
  color: var(--ink-2);
}

/* ── Section shell ──────────────────────────────────────── */
.section {
  position: relative;
  margin: 0;
  padding: 0;
}
main > .section { margin-top: var(--section-gap); }
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-6);
  margin-bottom: var(--sp-7);
}
.section-heading h2 {
  margin: var(--sp-3) 0 0;
  max-width: 20em;   /* em, not ch: 1em is one CJK glyph, ch is roughly half */
  font-family: var(--font-display);
  font-size: var(--fs-section);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.015em;
  color: var(--ink);
}
.section-heading > p {
  max-width: 380px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: 1.6;
  text-align: right;
}
.eyebrow {
  margin: 0;
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand-strong);
}

/* ── Metrics panel ──────────────────────────────────────── */
.metrics-panel {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  align-items: center;
  gap: var(--sp-7);
  padding: var(--sp-7);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--paper-alt);
}
.status-live {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--brand-strong);
}
.status-dot {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.metrics-ring { display: flex; justify-content: center; }
.coverage-hero { display: flex; align-items: center; justify-content: center; }
.coverage-ring {
  position: relative;
  width: 200px;
  max-width: 100%;
  aspect-ratio: 1;
}
.coverage-ring svg {
  display: block;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.coverage-track { stroke: var(--line); stroke-width: 10; }
.coverage-progress {
  stroke: var(--brand);
  stroke-width: 10;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.1s cubic-bezier(.22, 1, .36, 1);
}
.coverage-core {
  position: absolute;
  inset: 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-1);
  text-align: center;
}
.coverage-core .metric-primary-label {
  margin: 0;
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--muted);
}
.coverage-core .metric-primary-value {
  margin: 0;
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.03em;
  color: var(--brand-deep);
}
.coverage-core .metric-unit {
  margin-left: 2px;
  font-size: .42em;
  font-weight: 700;
  vertical-align: super;
  color: var(--muted);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-3);
}
.metric-card {
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  transition: border-color .15s ease;
}
.metric-card:hover { border-color: var(--brand-ring); }
.metric-card em {
  font-style: normal;
  font-size: var(--fs-caption);
  font-weight: 500;
  color: var(--muted);
}
.metric-card b {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.025em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.metric-card span { font-size: var(--fs-caption); color: var(--muted-soft); }

.panel-foot {
  margin-top: var(--sp-4);
  padding-inline: var(--sp-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  font-size: var(--fs-caption);
  color: var(--muted);
}
.panel-links { display: flex; align-items: center; gap: var(--sp-2); }
.panel-links a { transition: color .15s ease; }
.panel-links a:hover { color: var(--brand-strong); }
.panel-links i { font-style: normal; color: var(--line); }
.panel-source {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--muted-soft);
  white-space: nowrap;
}

/* ── Full-bleed photograph band ─────────────────────────────
   Left-aligned copy over a left-weighted scrim, so the type reads on the
   calm side of the frame and the subject stays visible on the right. */
.band {
  position: relative;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  margin-top: var(--section-gap);
  padding: var(--sp-10) 0;
  overflow: hidden;
  background: var(--brand-deep);
  color: #fff;
}
.band-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.band-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.band-scrim {
  position: absolute;
  inset: 0;
  background: var(--scrim-band);
}
.band-inner {
  position: relative;
  z-index: 1;
  width: min(var(--maxw), calc(100% - var(--gutter)));
  margin: 0 auto;
}
.band-eyebrow {
  margin: 0;
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
}
.band h2 {
  margin: var(--sp-4) 0 0;
  max-width: 18em;
  font-family: var(--font-display);
  font-size: var(--fs-section);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.015em;
  color: #fff;
}
.band-lead {
  max-width: 600px;
  margin: var(--sp-5) 0 0;
  font-size: var(--fs-row);
  line-height: 1.7;
  color: rgba(255, 255, 255, .84);
}
.band-button { margin-top: var(--sp-7); }

/* ── Workflow cards with photography ────────────────────── */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-5);
}
.flow-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: var(--shadow-card);
  transition: border-color .18s ease;
}
.flow-card:hover { border-color: var(--brand-ring); }
.flow-card figure {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--paper-alt);
}
.flow-card figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.flow-body { padding: var(--sp-6); }
.flow-body em {
  font-style: normal;
  font-family: var(--font-display);
  font-size: var(--fs-caption);
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--brand);
}
.flow-body h3 {
  margin: var(--sp-3) 0 var(--sp-2);
  font-family: var(--font-display);
  font-size: var(--fs-title);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--ink);
}
.flow-body p { margin: 0; color: var(--muted); font-size: var(--fs-body); line-height: 1.65; }

/* ── Workspaces ─────────────────────────────────────────── */
.system-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
}
.system-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--sp-7);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: var(--shadow-card);
  transition: border-color .18s ease;
}
.system-card:hover { border-color: var(--brand-ring); }
.system-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
}
.system-badge {
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-pill);
  background: var(--brand-tint);
  color: var(--brand-deep);
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: .02em;
}
.commercial-system .system-badge { background: var(--paper-alt); color: var(--ink-2); }
.system-top small { color: var(--muted-soft); font-size: var(--fs-caption); }
.system-card h3 {
  margin: var(--sp-5) 0 var(--sp-3);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.015em;
  color: var(--ink);
}
.system-card p { margin: 0; color: var(--muted); font-size: var(--fs-body); line-height: 1.65; }
.dot-list {
  list-style: none;
  margin: var(--sp-5) 0 0;
  padding: 0;
  display: grid;
  gap: var(--sp-2);
  color: var(--ink-2);
  font-size: var(--fs-body);
}
.dot-list li { position: relative; padding-left: var(--sp-5); }
.dot-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
  opacity: .6;
}
.system-card .actions { margin-top: auto; padding-top: var(--sp-6); }
.run-hint {
  display: block;
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--hairline);
  font-size: var(--fs-caption);
  line-height: 1.6;
  color: var(--muted-soft);
}

/* ── Index cards ────────────────────────────────────────── */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 200px;
  padding: var(--sp-6);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: var(--shadow-card);
  transition: border-color .18s ease, transform .18s ease;
}
.card:hover { border-color: var(--brand-ring); transform: translateY(-3px); }
.card span {
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--brand-strong);
}
.card h3 {
  margin: var(--sp-3) 0 var(--sp-2);
  font-family: var(--font-display);
  font-size: var(--fs-title);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--ink);
}
.card p { margin: 0; color: var(--muted); font-size: var(--fs-body); line-height: 1.6; }
.card b {
  margin-top: auto;
  padding-top: var(--sp-5);
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--brand-strong);
}

/* ── Tools ──────────────────────────────────────────────── */
.link-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
}
.link-list a {
  padding: var(--sp-4) var(--sp-5);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-5);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  transition: border-color .15s ease;
}
.link-list a:hover { border-color: var(--brand-ring); }
.link-list a:hover span { color: var(--brand-strong); }
.link-list span { font-weight: 600; font-size: var(--fs-body); color: var(--ink); }
.link-list small { color: var(--muted-soft); text-align: right; font-size: var(--fs-caption); line-height: 1.5; }

/* ── Boundary note ──────────────────────────────────────── */
.disclaimer {
  margin-top: var(--section-gap);
  padding: var(--sp-7);
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: var(--sp-7);
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--paper-alt);
}
.disclaimer h2 {
  margin: var(--sp-3) 0 0;
  font-family: var(--font-display);
  font-size: var(--fs-section);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.015em;
  color: var(--ink);
}
.disclaimer > p { margin: 0; color: var(--muted); font-size: var(--fs-body); line-height: 1.65; }

/* ── Footer ─────────────────────────────────────────────── */
footer {
  margin-top: var(--section-gap);
  padding: var(--sp-7) 0 var(--sp-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--fs-caption);
}
.footer-brand { display: flex; align-items: baseline; gap: var(--sp-2); }
.footer-brand strong {
  font-family: var(--font-display);
  font-size: var(--fs-body);
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--ink);
}
.footer-links { display: flex; gap: var(--sp-5); }
.footer-links a { transition: color .15s ease; }
.footer-links a:hover { color: var(--brand-strong); }
.footer-note { color: var(--muted-soft); }

/* ── Buttons ────────────────────────────────────────────── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: var(--sp-3) var(--sp-6);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--ink);
  background: var(--card);
  box-shadow: var(--shadow-card);
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.button:hover { border-color: var(--brand-ring); color: var(--brand-strong); background: var(--brand-wash); }
.button.primary {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}
.button.primary:hover { background: var(--brand-strong); border-color: var(--brand-strong); color: #fff; }

/* Buttons that sit on a photograph: glass rather than the light surface. */
.hero .button,
.band .button {
  border-color: rgba(255, 255, 255, .34);
  background: rgba(255, 255, 255, .12);
  color: #fff;
  backdrop-filter: blur(10px);
}
.hero .button:hover,
.band .button:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .24);
  color: #fff;
}
.hero .button.primary { border-color: var(--brand); background: var(--brand); }
.hero .button.primary:hover { border-color: var(--brand-strong); background: var(--brand-strong); }

/* ── Motion (site-motion.js adds .motion-reveal to sections and cards) ── */
.motion-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s ease var(--motion-delay, 0ms), transform .5s ease var(--motion-delay, 0ms);
}
.motion-reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .motion-reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1080px) {
  :root { --gutter: 40px; --section-gap: var(--sp-9); }
  .hero { padding: var(--sp-9) 0 var(--sp-8); }
  .console-section { margin-top: calc(-1 * var(--sp-8)); }
  .band { padding: var(--sp-9) 0; }
  .hero-chip { display: none; }
  .metrics-panel { grid-template-columns: 1fr; gap: var(--sp-6); }
  .metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-grid { grid-template-columns: 1fr; }
  .flow-card { flex-direction: row; align-items: stretch; }
  .flow-card figure { flex: 0 0 240px; aspect-ratio: auto; }
  .system-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --gutter: 32px; }
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-3);
    padding: var(--sp-4) var(--sp-5);
    border-radius: var(--radius-lg);
  }
  .site-header nav {
    width: 100%;
    gap: var(--sp-4);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .site-header nav::-webkit-scrollbar { display: none; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: var(--sp-3); text-align: left; }
  .section-heading h2 { max-width: none; }
  .disclaimer { grid-template-columns: 1fr; gap: var(--sp-4); }
  .panel-foot { flex-direction: column; align-items: flex-start; gap: var(--sp-2); }
}

@media (max-width: 700px) {
  :root { --gutter: 24px; }
  .hero { padding: var(--sp-8) 0 var(--sp-7); }
  .console-section { margin-top: calc(-1 * var(--sp-7)); }
  .band { padding: var(--sp-8) 0; }
  .hero-title { max-width: none; }
  .hero-glow { top: 10%; width: 640px; height: 420px; }
  .flow-card { flex-direction: column; }
  .flow-card figure { flex: none; aspect-ratio: 3 / 2; }
  .link-list { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .trust-row { flex-direction: column; align-items: stretch; }
  .trust-row li { text-align: center; }
  .metrics-panel { padding: var(--sp-5); }
  .metrics-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .link-list a { flex-direction: column; align-items: flex-start; gap: var(--sp-1); }
  .link-list small { text-align: left; }
  .hero-actions .button { flex: 1 1 auto; }
  footer { flex-direction: column; align-items: flex-start; gap: var(--sp-3); }
}
