:root {
  --bg: #ffffff;
  --tile: #f5f5f7;
  --tile-border: #e8e8ed;
  --text: #1d1d1f;
  --text-dim: #6e6e73;
  --text-faint: #a1a1a6;

  /* Red/white/blue accent palette — used across kickers, icon chips, buttons.
     White is already the page background, so the accents carry the theme:
     --blue/--cyan/--teal are blue shades, --coral/--amber/--violet are red
     shades, differentiated by depth so tiles/steps/chips still read apart. */
  --blue: #2563eb;
  --cyan: #3b82f6;
  --violet: #1e3a8a;
  --coral: #dc2626;
  --teal: #1d4ed8;
  --amber: #ef4444;

  --accent: var(--blue);
  --accent-2: var(--coral);
  --dark: #1d1d1f;
  --radius: 22px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  background-image: radial-gradient(rgba(29, 29, 31, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 18px 32px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 2px solid var(--tile-border);
}
.nav-brand {
  font-weight: 800;
  font-size: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-logo-img { height: 44px; width: auto; display: block; }
.brand-logo-img.small { height: 26px; }
.brand-wordmark {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.footer-credit { display: flex; align-items: center; gap: 8px; }
.footer-credit .brand-logo-gtd-img { height: 24px; width: auto; display: block; }
.footer-full-logo { display: inline-block; margin-bottom: 14px; }
.footer-full-logo img { height: 84px; width: auto; display: block; }
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: 14px;
  font-size: 15.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-dim);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-links a {
  padding-bottom: 4px;
  border-bottom: 2.5px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-links a:hover { color: var(--text); border-bottom-color: var(--blue); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-cta { font-size: 17px; padding: 15px 32px; }
.nav-signin { font-size: 15px; padding: 12px 22px; }

/* Mobile nav menu — hidden entirely above 760px, where .nav-links already
   shows all the page links inline. Below 760px, .nav-links disappears (see
   that breakpoint) and this hamburger + dropdown takes over instead. */
.nav-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1.5px solid var(--tile-border);
  background: var(--bg);
  flex-shrink: 0;
  cursor: pointer;
}
.nav-menu-btn:hover { border-color: var(--blue); }
.nav-menu-icon,
.nav-menu-icon::before,
.nav-menu-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.nav-menu-icon { position: relative; }
.nav-menu-icon::before, .nav-menu-icon::after { content: ""; position: absolute; left: 0; }
.nav-menu-icon::before { top: -6px; }
.nav-menu-icon::after { top: 6px; }
.nav-menu-btn[aria-expanded="true"] .nav-menu-icon { background: transparent; }
.nav-menu-btn[aria-expanded="true"] .nav-menu-icon::before { transform: translateY(6px) rotate(45deg); }
.nav-menu-btn[aria-expanded="true"] .nav-menu-icon::after { transform: translateY(-6px) rotate(-45deg); }

.nav-mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-bottom: 2px solid var(--tile-border);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
  padding: 8px 24px 16px;
}
.nav-mobile-menu a {
  padding: 13px 4px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text);
  border-bottom: 1px solid var(--tile-border);
}
.nav-mobile-menu a:last-child { border-bottom: none; }

@media (max-width: 960px) {
  /* Tablet width: nav-links are still visible here (they only hide below
     760px) but now share the row with two buttons instead of one — tighten
     everything so it fits on one line without wrapping or clipping. */
  .nav { gap: 14px; padding: 16px 18px; }
  .brand-wordmark { font-size: 17px; }
  .nav-links { gap: 14px; font-size: 12.5px; margin-left: 2px; }
  .nav-cta { font-size: 13px; padding: 10px 16px; }
  .nav-signin { font-size: 12px; padding: 8px 14px; }
}

/* ---------- Ticker ---------- */
.ticker-wrap {
  background: #0f0f14;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.ticker { display: flex; width: max-content; animation: ticker-scroll 32s linear infinite; }
.ticker-track {
  display: flex;
  align-items: center;
  gap: 42px;
  padding: 14px 20px;
  white-space: nowrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.6);
}
.tick b { color: #fff; font-weight: 700; margin: 0 2px; }
.tick.up { color: #34d399; }
.tick.down { color: #ff6b81; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker { animation: none; }
}
.ticker-note {
  margin: 0;
  padding: 6px 20px;
  background: #0a0a0d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 11.5px;
  color: #fff;
}
.ticker-note a { color: rgba(255, 255, 255, 0.75); text-decoration: underline; }
.ticker-note a:hover { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 980px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}
.btn-primary {
  background: linear-gradient(120deg, var(--blue), var(--violet), var(--coral), var(--blue));
  background-size: 300% 100%;
  animation: btn-gradient-shift 7s ease infinite;
  color: #fff;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.3);
}
.btn-primary:hover { filter: brightness(1.1); box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4); }
@keyframes btn-gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .btn-primary { animation: none; }
}
.btn-ghost { background: var(--tile); color: var(--text); }
.btn-ghost:hover { background: var(--tile-border); }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn:active { transform: scale(0.97); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 88px 24px 40px;
  text-align: center;
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.28;
}
.hero::before {
  top: -140px;
  left: -120px;
  background: radial-gradient(circle, var(--blue), transparent 70%);
}
.hero::after {
  top: -80px;
  right: -140px;
  background: radial-gradient(circle, var(--coral), transparent 70%);
}
.hero-map {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 360px;
  max-width: 74vw;
  height: auto;
  opacity: 0.16;
  z-index: -1;
  pointer-events: none;
}
.hero-map .node {
  transform-box: fill-box;
  transform-origin: center;
  animation: node-pulse 2.4s ease-in-out infinite;
}
@keyframes node-pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.7); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-map .node { animation: none; }
}
@media (max-width: 640px) {
  .hero-map { width: 230px; top: -4px; opacity: 0.14; }
}
.eyebrow {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 980px;
  margin-bottom: 24px;
  background: linear-gradient(#fff, #fff) padding-box,
    linear-gradient(120deg, var(--blue), var(--violet), var(--coral)) border-box;
  border: 2px solid transparent;
  background-clip: padding-box, border-box;
}
.eyebrow-text {
  background: linear-gradient(120deg, var(--blue), var(--violet) 60%, var(--coral));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 {
  font-size: clamp(34px, 5.6vw, 60px);
  font-weight: 700;
  line-height: 1.06;
}
.hero-sub {
  display: block;
  max-width: 620px;
  margin: 22px auto 0;
  font-size: 18px;
  color: var(--text-dim);
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero-sample-link {
  display: block;
  text-align: center;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero-sample-link:hover { color: var(--accent); }

.hero-photo {
  position: relative;
  max-width: 880px;
  margin: 56px auto 0;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--tile-border);
  box-shadow: 0 24px 60px rgba(29, 29, 31, 0.16);
}
.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
}
.hero-photo-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 24px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0));
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
}

/* ---------- Section heads ---------- */
.section-head { max-width: 720px; margin: 0 auto 36px; padding: 0 24px; }
.section-head.center { text-align: center; }
.kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--section-accent, var(--blue));
  margin-bottom: 10px;
}
.section-head.center .kicker { justify-content: center; }
.kicker::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 3px;
  border-radius: 2px;
  background: var(--section-accent, var(--blue));
}
.kicker.light { color: rgba(255,255,255,0.85); }
.kicker.light::before { background: rgba(255,255,255,0.85); }
#what { --section-accent: var(--blue); }
#why { --section-accent: var(--violet); }
#how .kicker { --section-accent: var(--coral); }
.section-head h1, .section-head h2 {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 700;
}

/* ---------- Bento grid ---------- */
.bento { padding: 72px 24px; max-width: 1120px; margin: 0 auto; }
.bento.alt { background: linear-gradient(180deg, #fafafa, #fff); border-radius: 40px; }

.hidden { display: none !important; }

/* ---------- Live GB grid widget ---------- */
.live-grid-section { padding: 8px 24px 56px; max-width: 860px; margin: 0 auto; }
.live-grid-card {
  background: var(--dark);
  border-radius: 28px;
  padding: 40px 44px;
  color: #fff;
}
.live-grid-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.live-grid-eyebrow { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255,255,255,0.68); }
.live-grid-card .live-dot { width: 8px; height: 8px; border-radius: 50%; background: #dc2626; box-shadow: 0 0 0 0 rgba(220,38,38,0.5); animation: live-dot-pulse 2s ease-in-out infinite; flex-shrink: 0; }
@keyframes live-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220,38,38,0.45); }
  70% { box-shadow: 0 0 0 7px rgba(220,38,38,0); }
}
.live-grid-carbon-slot { margin-left: auto; }
.live-grid-card h2 { font-size: 26px; margin: 0 0 10px; color: #fff; }
.live-grid-sub { color: rgba(255,255,255,0.72); font-size: 15px; max-width: 560px; margin: 0 0 26px; }
.home-live-grid-bars { display: flex; width: 100%; height: 16px; border-radius: 8px; overflow: hidden; background: rgba(255,255,255,0.1); }
.home-live-grid-legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 16px; font-size: 14px; color: rgba(255,255,255,0.85); }
.live-legend-item { display: inline-flex; align-items: center; gap: 7px; }
.live-legend-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.home-live-price-row {
  display: flex;
  align-items: baseline;
  gap: 32px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
  flex-wrap: wrap;
}
.home-live-price-stat { display: flex; flex-direction: column; gap: 2px; }
.home-live-price-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: rgba(255,255,255,0.55); }
.home-live-price-value { font-size: 22px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.home-live-price-asof { margin-left: auto; font-size: 12.5px; color: rgba(255,255,255,0.5); align-self: center; }
@media (max-width: 640px) {
  .home-live-price-row { gap: 20px; }
  .home-live-price-asof { margin-left: 0; flex-basis: 100%; }
}
.live-grid-card .live-grid-source { margin-top: 22px; font-size: 12.5px; color: rgba(255,255,255,0.55); }
.live-grid-card .live-grid-source a { color: rgba(255,255,255,0.85); text-decoration: underline; }
.live-fuel-gas { background: #0e7490; }
.live-fuel-coal { background: #52525b; }
.live-fuel-nuclear { background: #14b8a6; }
.live-fuel-wind { background: #0aa968; }
.live-fuel-solar { background: #d97706; }
.live-fuel-hydro { background: #1d7ec5; }
.live-fuel-biomass { background: #92702f; }
.live-fuel-imports { background: #7c3aed; }
.live-fuel-other { background: #9ca3af; }
.carbon-badge { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 980px; }
.carbon-badge.carbon-verylow { background: rgba(21,128,61,0.22); color: #4ade80; }
.carbon-badge.carbon-low { background: rgba(10,169,104,0.22); color: #4ade80; }
.carbon-badge.carbon-moderate { background: rgba(217,119,6,0.22); color: #fbbf24; }
.carbon-badge.carbon-high { background: rgba(220,38,38,0.22); color: #fb7185; }
.carbon-badge.carbon-veryhigh { background: rgba(220,38,38,0.3); color: #fb7185; }
@media (max-width: 640px) {
  .live-grid-card { padding: 28px 24px; }
  .live-grid-card h2 { font-size: 21px; }
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.tile {
  background: var(--tile);
  border: 1px solid var(--tile-border);
  border-top: 4px solid var(--tile-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  grid-column: span 2;
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(0,0,0,0.1); }
.tile:has(.chip-blue) { border-top-color: var(--blue); }
.tile:has(.chip-cyan) { border-top-color: var(--cyan); }
.tile:has(.chip-violet) { border-top-color: var(--violet); }
.tile:has(.chip-coral) { border-top-color: var(--coral); }
.tile:has(.chip-teal) { border-top-color: var(--teal); }
.tile:has(.chip-amber) { border-top-color: var(--amber); }
.tile-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 23px;
  line-height: 1;
  margin-bottom: 16px;
  background: var(--chip-bg, var(--tile-border));
}
.tile-icon svg { width: 22px; height: 22px; color: var(--chip-fg, var(--blue)); }
.tile-icon-brand { background: #fff; border: 1px solid var(--tile-border); padding: 4px; }
.tile-icon-brand img { width: 100%; height: 100%; object-fit: contain; }
.tile h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.tile p { color: var(--text-dim); font-size: 14.5px; }
.premium-chip {
  display: inline-block;
  vertical-align: middle;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: linear-gradient(90deg, #b8860b, #d4af37);
  color: #1d1d1f;
}

/* colourful icon chips */
.chip-blue { --chip-bg: rgba(37, 99, 235, 0.12); --chip-fg: var(--blue); }
.chip-cyan { --chip-bg: rgba(59, 130, 246, 0.14); --chip-fg: var(--cyan); }
.chip-violet { --chip-bg: rgba(30, 58, 138, 0.12); --chip-fg: var(--violet); }
.chip-coral { --chip-bg: rgba(220, 38, 38, 0.13); --chip-fg: var(--coral); }
.chip-teal { --chip-bg: rgba(29, 78, 216, 0.13); --chip-fg: var(--teal); }
.chip-amber { --chip-bg: rgba(239, 68, 68, 0.15); --chip-fg: var(--amber); }

.tile-lg { grid-column: span 4; grid-row: span 1; padding: 40px; }
.tile-lg h3 { font-size: 24px; }
.tile-lg p { font-size: 16px; max-width: 640px; }
.tile-dark { background: var(--dark); border-color: var(--dark); border-top: 4px solid var(--amber); }
.tile-dark h3 { color: #fff; }
.tile-dark p { color: rgba(255,255,255,0.72); }
.tile-dark .tile-icon { width: 52px; height: 52px; background: rgba(239, 68, 68, 0.18); }
.tile-dark .tile-icon svg { width: 26px; height: 26px; color: var(--amber); }

.tile-wide { grid-column: span 3; }
.tile-tall { grid-column: span 1; grid-row: span 1; }
.tile-accent { background: rgba(30, 58, 138, 0.06); border-color: rgba(30, 58, 138, 0.18); }

@media (max-width: 860px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .tile, .tile-wide, .tile-tall, .tile-lg { grid-column: span 2; }
}

/* ---------- How it works ---------- */
.how { padding: 72px 24px; max-width: 1000px; margin: 0 auto; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 8px;
}
.step {
  background: var(--tile);
  border: 1px solid var(--tile-border);
  border-radius: var(--radius);
  padding: 28px;
}
.step-num {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}
.step:nth-child(1) .step-num { color: var(--blue); }
.step:nth-child(2) .step-num { color: var(--violet); }
.step:nth-child(3) .step-num { color: var(--coral); }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--text-dim); font-size: 14.5px; }

@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  /* Below this, there isn't room for four nav links alongside both the
     Sign in and Play now buttons — drop the links, keep the actions, and
     show the hamburger button in their place instead (its dropdown carries
     the same links, see .nav-mobile-menu above). */
  .nav-links { display: none; }
  .nav-menu-btn { display: flex; }
}
@media (max-width: 640px) {
  .nav { padding: 14px 20px; gap: 16px; }
  .nav-actions { gap: 8px; }
  .nav-cta { font-size: 14px; padding: 11px 18px; }
  .nav-signin { font-size: 13px; padding: 9px 14px; }
  .brand-logo-img { height: 34px; }
  .brand-wordmark { font-size: 18px; }
  .ticker-track { font-size: 13.5px; gap: 30px; padding: 11px 16px; }
  .eyebrow { font-size: 13.5px; padding: 9px 18px; }
  .hero { padding-top: 56px; }
  .hero-photo { margin-top: 36px; border-radius: 20px; }
  .hero-photo img { max-height: 220px; }
  .status-card { padding: 32px; }
  .footer-top { align-items: flex-start; }
  .footer-full-logo img { height: 64px; }
}
@media (max-width: 480px) {
  /* Phone widths (iPhone Pro Max is 430px): keep the wordmark next to the
     mark — a bare logo reads as unlabelled — by tightening the logo, the
     font and the two nav buttons rather than dropping the text. */
  .nav { padding: 12px 14px; gap: 8px; }
  .nav-brand { gap: 7px; min-width: 0; }
  .brand-logo-img { height: 30px; }
  .brand-wordmark { font-size: 16px; white-space: nowrap; letter-spacing: -0.02em; }
  .nav-actions { gap: 6px; }
  .nav-cta { font-size: 13px; padding: 9px 13px; }
  .nav-signin { font-size: 12.5px; padding: 8px 11px; }
}
@media (max-width: 400px) {
  /* iPhone mini / standard widths: a touch smaller still so the full
     wordmark fits beside Sign in, Play now and the menu button. */
  .nav { padding: 12px 12px; }
  .brand-logo-img { height: 28px; }
  .nav-brand { gap: 6px; }
  .brand-wordmark { font-size: 14px; }
  .nav-actions { gap: 5px; }
  .nav-cta { font-size: 12.5px; padding: 8px 11px; }
  .nav-signin { font-size: 12px; padding: 7px 10px; }
  .nav-menu-btn { width: 38px; height: 38px; }
}
@media (max-width: 350px) {
  /* Very small phones (iPhone SE 1st gen): fall back to the mark alone. */
  .brand-wordmark { display: none; }
}

/* Signed-in state of the nav button (set by assets/js/site-session.js): on
   phones it collapses to a round initial so the wordmark still fits. */
.nav-signin.nav-signed-in { font-weight: 700; }
@media (max-width: 480px) {
  .nav-signin.nav-signed-in {
    font-size: 0;
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--violet) 55%, var(--coral));
  }
  .nav-signin.nav-signed-in::before {
    content: attr(data-initial);
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
  }
}

/* ---------- Tech strip ---------- */
.tech-strip { padding: 24px 24px 72px; max-width: 1120px; margin: 0 auto; }
.tech-photo {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--tile-border);
  margin-bottom: 28px;
}
.tech-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: cover;
}
.tech-photo-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 22px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0));
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
}
@media (max-width: 640px) {
  .tech-photo img { max-height: 200px; }
}
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.tech-grid img {
  width: calc(20% - 11.2px);
  height: auto;
  aspect-ratio: 1 / 1;
  background: var(--tile);
  border: 1px solid var(--tile-border);
  border-radius: 18px;
  padding: 6px;
}
.tech-roadmap {
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
  margin-top: 20px;
}
@media (max-width: 860px) {
  .tech-grid img { width: calc(33.333% - 9.4px); }
}
@media (max-width: 520px) {
  .tech-grid img { width: calc(50% - 7px); }
}

/* ---------- Status ---------- */
/* ---------- "How real is this?" disclosure ---------- */
.real-data-note { padding: 8px 24px 40px; max-width: 820px; margin: 0 auto; }
.real-data-note-card { background: var(--tile); border: 1px solid var(--tile-border); border-radius: 24px; padding: 32px 36px; }
.real-data-note-card .kicker { margin-bottom: 14px; }
.real-data-note-card p { font-size: 14.5px; line-height: 1.6; color: var(--text-dim); margin: 0 0 12px; }
.real-data-note-card p:last-child { margin-bottom: 0; color: var(--text); font-weight: 600; }
.real-data-note-card strong { color: var(--text); }
.real-data-note-card a { color: var(--blue); text-decoration: underline; }

.status { padding: 24px 24px 88px; max-width: 1120px; margin: 0 auto; }
.status-card {
  background: linear-gradient(135deg, #0a1330, #1d1d1f 55%, #1e2a5c);
  border-radius: 32px;
  padding: 48px;
  display: flex;
  align-items: center;
  gap: 32px;
  color: #fff;
  flex-wrap: wrap;
}
.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--cyan), var(--violet));
  box-shadow: 0 0 0 6px rgba(30, 58, 138, 0.28);
  flex-shrink: 0;
  animation: status-pulse 2s ease-in-out infinite;
}
@keyframes status-pulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(30, 58, 138, 0.28); }
  50% { box-shadow: 0 0 0 10px rgba(30, 58, 138, 0.12); }
}
@media (prefers-reduced-motion: reduce) {
  .status-dot { animation: none; }
}
.status-text { flex: 1; min-width: 280px; }
.status-text h2 { color: #fff; margin: 4px 0 10px; }
.status-text p { color: rgba(255,255,255,0.68); font-size: 15px; max-width: 560px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--tile-border);
  padding: 40px 32px 28px;
  max-width: 1120px;
  margin: 0 auto;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-note { color: var(--text-faint); font-size: 13px; max-width: 480px; }
.footer-links { display: flex; gap: 14px; margin: 10px 0 0; flex-wrap: wrap; }
.footer-links a { color: var(--text-dim); font-size: 13px; font-weight: 600; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.footer-credit-label { color: var(--text-faint); font-size: 13px; }
.footer-bottom { color: var(--text-faint); font-size: 12px; margin-top: 0; }
.footer-pacedall-strip {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--tile-border);
  display: flex;
  justify-content: center;
}
.footer-pacedall-strip img { height: 30px; width: auto; display: block; opacity: 0.9; }

/* ---------- Legal pages (terms, privacy) ---------- */
.legal-page { max-width: 760px; margin: 0 auto; padding: 64px 24px 88px; }
.legal-page h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; margin-bottom: 8px; }
.legal-updated { color: var(--text-dim); font-size: 14px; margin: 0 0 40px; }
.legal-page h2 { font-size: 21px; font-weight: 700; margin: 40px 0 12px; }
.legal-page h2:first-of-type { margin-top: 0; }
.legal-page h3 { font-size: 16px; font-weight: 700; margin: 22px 0 8px; }
.legal-page p, .legal-page li { color: var(--text-dim); font-size: 15px; line-height: 1.7; }
.legal-page p { margin: 0 0 14px; }
.legal-page ul, .legal-page ol { margin: 0 0 14px; padding-left: 22px; }
.legal-page li { margin-bottom: 6px; }
.legal-page a { color: var(--blue); text-decoration: underline; }
.legal-page strong { color: var(--text); }
.legal-page code { background: var(--tile); border: 1px solid var(--tile-border); border-radius: 5px; padding: 1px 6px; font-size: 0.9em; }
.legal-toc { background: var(--tile); border: 1px solid var(--tile-border); border-radius: 16px; padding: 20px 24px; margin: 0 0 32px; }
.legal-toc p { margin: 0 0 8px; font-weight: 700; color: var(--text); font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; }
.legal-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 24px; }
.legal-toc li { font-size: 14px; margin-bottom: 4px; break-inside: avoid; }
.legal-toc a { color: var(--text-dim); text-decoration: none; }
.legal-toc a:hover { color: var(--blue); text-decoration: underline; }
@media (max-width: 640px) {
  .legal-toc ol { columns: 1; }
}

/* ---------- Feedback page ---------- */
.feedback-page { max-width: 620px; margin: 0 auto; padding: 64px 24px 88px; }
.feedback-page h1 { font-size: clamp(28px, 4vw, 38px); font-weight: 700; margin-bottom: 10px; }
.feedback-page > p.lead { color: var(--text-dim); font-size: 16px; margin: 0 0 32px; max-width: 520px; }
.feedback-form { background: var(--tile); border: 1px solid var(--tile-border); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.feedback-field label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 6px; }
.feedback-field select,
.feedback-field textarea,
.feedback-field input {
  width: 100%;
  font: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--tile-border);
  background: #fff;
  color: var(--text);
}
.feedback-field select:focus,
.feedback-field textarea:focus,
.feedback-field input:focus { outline: none; border-color: var(--blue); }
.feedback-field textarea { resize: vertical; min-height: 120px; }
.feedback-hint { color: var(--text-faint); font-size: 12.5px; margin-top: 6px; }
.feedback-status { font-size: 14.5px; padding: 12px 16px; border-radius: 12px; display: none; }
.feedback-status.show { display: block; }
.feedback-status.ok { background: rgba(21,128,61,0.1); color: #15803d; }
.feedback-status.err { background: rgba(220,38,38,0.1); color: #b91c1c; }

/* ---------- Cookie notice (shared assets/js/cookie-notice.js) ---------- */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: auto;
  top: auto;
  bottom: 16px;
  z-index: 50;
  box-sizing: border-box;
  width: min(440px, calc(100vw - 32px));
  margin: 0;
  padding: 16px 18px 14px;
  background: #fff;
  color: var(--text, #1d1d1f);
  border: 1px solid var(--tile-border, #e8e8ed);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14), 0 2px 6px rgba(15, 23, 42, 0.06);
  animation: cookie-rise 0.35s ease-out both;
}
.cookie-banner-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.cookie-banner-icon {
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #eff4ff;
  color: var(--accent, #2563eb);
}
.cookie-banner-title { margin: 0; font-size: 14px; font-weight: 650; letter-spacing: -0.005em; }
.cookie-banner p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--text-dim, #6e6e73); }
.cookie-banner-actions { display: flex; align-items: center; justify-content: flex-end; gap: 16px; margin-top: 12px; }
.cookie-banner-link { font-size: 13px; font-weight: 500; color: var(--text-dim, #6e6e73); text-decoration: none; }
.cookie-banner-link:hover { color: var(--text, #1d1d1f); text-decoration: underline; }
.cookie-banner-btn {
  font: inherit;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 980px;
  border: none;
  background: var(--accent, #2563eb);
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.cookie-banner-btn:hover { filter: brightness(1.08); }
.cookie-banner-btn:focus-visible, .cookie-banner-link:focus-visible { outline: 2px solid var(--accent, #2563eb); outline-offset: 2px; border-radius: 6px; }
.cookie-banner.hidden { display: none; }
@keyframes cookie-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cookie-banner { animation: none; } }
@media (max-width: 520px) {
  .cookie-banner { left: 12px; bottom: 12px; width: calc(100vw - 24px); }
}

/* ---------- Phase 6: "See it in action" + merit-order demo ---------- */
.section-sub { color: var(--text-dim); font-size: 17px; margin-top: 14px; }
.in-action { padding: 56px 24px 24px; max-width: 1180px; margin: 0 auto; }
.in-action-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.shot-col { position: relative; padding-bottom: 8px; }
.browser-frame { margin: 0; background: #fff; border: 1px solid var(--tile-border); border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px rgba(29, 29, 31, 0.14); }
.browser-frame img { display: block; width: 100%; height: auto; }
.bf-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--tile); border-bottom: 1px solid var(--tile-border); }
.bf-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d4d4d8; }
.bf-bar em { margin-left: 10px; font-style: normal; font-size: 12px; color: var(--text-faint); }
.phone-frame { margin: 0; position: absolute; right: -10px; bottom: 38px; width: 28%; min-width: 130px; background: #1d1d1f; border-radius: 22px; padding: 6px; box-shadow: 0 20px 44px rgba(29, 29, 31, 0.32); }
.phone-frame img { display: block; width: 100%; height: auto; border-radius: 17px; }
.shot-caption { margin-top: 18px; font-size: 13px; color: var(--text-dim); max-width: 62%; }

.merit-demo { background: var(--tile); border: 1px solid var(--tile-border); border-radius: 24px; padding: 24px 24px 22px; }
.md-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.md-head h3 { font-size: 20px; }
.md-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-dim); border: 1px solid var(--tile-border); background: #fff; border-radius: 999px; padding: 3px 10px; }
.md-price-block { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.md-price { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; color: var(--coral); }
.md-setter { font-size: 14px; font-weight: 600; color: var(--text); }
.md-bar { display: flex; height: 34px; gap: 2px; border-radius: 10px; overflow: hidden; margin-bottom: 16px; background: #e5e7eb; }
.md-seg { position: relative; min-width: 0; overflow: hidden; background: #d9dce1; }
.md-seg-fill { position: absolute; inset: 0 auto 0 0; transition: width 0.15s; }
.md-seg-set { outline: 3px solid var(--dark); outline-offset: -3px; }
.md-label { display: block; font-size: 14px; color: var(--text-dim); margin-bottom: 6px; }
.md-label strong { color: var(--text); }
#meritDemand { width: 100%; accent-color: var(--blue); margin: 0 0 12px; }
.md-wind { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--text-dim); margin-bottom: 14px; }
.md-wind button { font: inherit; font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--tile-border); background: #fff; color: var(--text); cursor: pointer; }
.md-wind button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 600; }
.md-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 4px; }
.md-row { display: grid; grid-template-columns: 14px 1fr auto auto; gap: 10px; align-items: center; font-size: 13.5px; padding: 6px 10px; border-radius: 10px; background: #fff; border: 1px solid transparent; }
.md-dot { width: 10px; height: 10px; border-radius: 3px; }
.md-cost { color: var(--text-dim); font-variant-numeric: tabular-nums; }
.md-run { min-width: 92px; text-align: right; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.md-idle { opacity: 0.5; }
.md-sets { border-color: var(--dark); font-weight: 700; }
.md-sets .md-run, .md-sets .md-cost { color: var(--text); }
.md-explain { font-size: 14.5px; line-height: 1.55; color: var(--text); margin-bottom: 8px; min-height: 66px; }
.md-foot { font-size: 12px; color: var(--text-dim); margin-bottom: 16px; }
@media (max-width: 900px) {
  .in-action-grid { grid-template-columns: 1fr; }
  .phone-frame { width: 30%; right: 4px; bottom: 44px; }
  .shot-caption { max-width: 62%; }
}
@media (max-width: 520px) {
  .in-action { padding-left: 16px; padding-right: 16px; }
  .phone-frame { width: 34%; min-width: 0; }
  .merit-demo { padding: 18px 16px; }
  .md-price { font-size: 28px; }
  .md-row { grid-template-columns: 12px 1fr auto; }
  .md-run { grid-column: 3; }
  .md-cost { display: none; }
}

/* ---------- Methodology page ---------- */
.method-table { width: 100%; border-collapse: collapse; margin: 0 0 8px; font-size: 14.5px; }
.method-table th, .method-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--tile-border); vertical-align: top; color: var(--text-dim); line-height: 1.5; }
.method-table th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); }
.method-table td:first-child { color: var(--text); }
.mt-tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; margin-right: 4px; }
.mt-real { background: #dcfce7; color: #166534; }
.mt-model { background: #e0e7ff; color: #3730a3; }
@media (max-width: 560px) { .method-table th:nth-child(2), .method-table td:nth-child(2) { width: 46%; } .method-table th, .method-table td { padding: 10px 8px; } }
