/* AiGrid design system
   Concept: an office tower at night. Windows light up as machines take work.
   Night navy and lamp amber carry the idea; everything else stays quiet. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --surface: #f5f3fa;
  --ink: #0e0d14;
  --muted: #595670;
  --line: #e3e0ee;
  --violet: #5b2be0;
  --magenta: #c2318f;
  --coral: #ff6a4d;
  --night: #130b30;
  --night-2: #1d1245;
  --dusk: #3a2a7a;
  --lamp: #ffb347;
  --lamp-ink: #5b2be0;
  --on-night: #f1eefb;
  --on-night-muted: #b9b2d6;
  --focus: #5b2be0;

  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --band: clamp(4rem, 9vw, 7.5rem);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0c0820;
    --surface: #150e33;
    --ink: #f1eefb;
    --muted: #b9b2d6;
    --line: #2e2266;
    --night: #070414;
    --night-2: #120a2e;
    --lamp-ink: #ffb347;
    --focus: #b9a4ff;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 3px; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.022em; line-height: 1.08; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 7.2vw, 5.75rem); letter-spacing: -0.045em; line-height: 0.98; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); letter-spacing: -0.035em; line-height: 1.02; }
h3 { font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.012em; }
p { margin: 0; max-width: 68ch; }
p + p { margin-top: 1em; }
.lede { font-size: clamp(1.15rem, 1.7vw, 1.35rem); line-height: 1.5; color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--lamp); color: #0e0d14; padding: 0.6rem 1rem; z-index: 50; }
.skip:focus { left: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 1rem/1 var(--body); text-decoration: none;
  padding: 1rem 1.6rem; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--violet); color: #fff; }
.btn--lamp { background: var(--lamp); color: #0e0d14; }
.btn--lamp:hover { background: #ffc670; }
.btn--line { border-color: currentColor; background: transparent; color: inherit; }
.btn--line:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 0.75rem; min-height: 4.25rem; }
.logo { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; font: 700 1.35rem/1 var(--display); letter-spacing: -0.03em; }
.logo svg { width: 1.6rem; height: 1.6rem; }
.status { font: 600 0.72rem/1 var(--body); letter-spacing: 0.02em; padding: 0.3rem 0.6rem; border-radius: 999px; border: 1.5px solid var(--violet); color: var(--lamp-ink); }
.nav { display: flex; align-items: center; gap: 1.6rem; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: 0.98rem; padding-block: 0.4rem; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--violet); }
.nav .btn { padding: 0.7rem 1.05rem; border-bottom: 1.5px solid transparent; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1.5px solid var(--line); border-radius: 6px; color: inherit; font: 600 0.95rem var(--body); padding: 0.55rem 0.9rem; cursor: pointer; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: flex-start; gap: 0.2rem; background: var(--paper); border-bottom: 1px solid var(--line); padding: 1rem var(--gutter) 1.5rem; margin: 0; }
  .nav.is-open { display: flex; }
  .nav a { font-size: 1.1rem; padding-block: 0.6rem; }
  .nav .btn { margin-top: 0.75rem; }
}

/* Bands */
.band { padding-block: var(--band); }
.band--surface { background: var(--surface); }
.band--night { background: radial-gradient(60rem 30rem at 92% -10%, rgba(194, 49, 143, 0.38), transparent 60%), radial-gradient(50rem 32rem at -5% 110%, rgba(91, 43, 224, 0.5), transparent 60%), var(--night); color: var(--on-night); }
.band--night .lede, .band--night .muted { color: var(--on-night-muted); }
.band--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.band > .wrap > h2 + .lede, .section-head h2 + .lede { margin-top: 1.25rem; }
.section-head { margin-bottom: clamp(2.25rem, 5vw, 3.5rem); max-width: 46rem; }

/* Announcement */
.announce { background: var(--ink); color: var(--paper); font-size: 0.92rem; text-align: center; padding: 0.6rem var(--gutter); }
.announce a { font-weight: 600; margin-left: 0.4rem; }

/* Hero: one short headline, then the grid artwork with the console inside it */
.hero { padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(2.5rem, 5vw, 4rem); text-align: center; }
.hero h1 { max-width: 13ch; margin-inline: auto; }
.hero .lede { margin: 1.75rem auto 0; max-width: 56ch; }
.hero .btn-row { justify-content: center; }
.hero-note { margin: 1.25rem auto 0; font-size: 0.95rem; color: var(--muted); }
.hero-art { position: relative; margin-top: clamp(2.5rem, 6vw, 4.5rem); border-radius: 28px; overflow: hidden; background: #130b30; padding: clamp(3.5rem, 12vw, 10rem) clamp(1rem, 6vw, 5rem) 0; text-align: left; }
.hero-art canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* The console: signature element */
.estate { position: relative; max-width: 780px; margin: 0 auto; background: rgba(14, 8, 38, 0.9); backdrop-filter: blur(6px); color: var(--on-night); border: 1px solid rgba(255, 255, 255, 0.16); border-bottom: 0; border-radius: 18px 18px 0 0; overflow: hidden; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6); }
.estate-sky { position: relative; height: 3.25rem; background: #e4defa; transition: background-color 0.4s linear; }
.estate-orb { position: absolute; top: 50%; width: 1.1rem; height: 1.1rem; margin: -0.55rem 0 0 -0.55rem; border-radius: 50%; background: #ffb347; box-shadow: 0 0 0 6px rgba(246, 181, 69, 0.25); transition: background-color 0.4s linear, box-shadow 0.4s linear; }
.estate.is-night .estate-orb { background: #f1eefb; box-shadow: 0 0 0 6px rgba(233, 238, 248, 0.14); }
.estate-clock { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); font: 600 1.05rem/1 var(--display); font-variant-numeric: tabular-nums; color: #0e0d14; transition: color 0.4s linear; }
.estate.is-night .estate-clock { color: #f1eefb; }
.estate-body { padding: 1.6rem 1.75rem 1.3rem; display: grid; gap: 1.4rem; }
.pool-label { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.86rem; margin-bottom: 0.5rem; }
.pool-label strong { font-weight: 600; }
.pool-label span { color: var(--on-night-muted); text-align: right; }
.tiles { display: grid; grid-template-columns: repeat(40, 1fr); gap: 3px; }
.tiles i { display: block; aspect-ratio: 1; border-radius: 2px; background: #2a1e5e; transition: background-color 0.5s, box-shadow 0.5s; }
.tiles i.on { background: var(--lamp); box-shadow: 0 0 8px rgba(246, 181, 69, 0.45); }
.estate-foot { border-top: 1px solid rgba(255,255,255,0.12); padding: 1.1rem 1.75rem 1.5rem; }
.estate-caption { font-size: 0.95rem; min-height: 3.1em; color: var(--on-night); max-width: none; }
.estate-controls { display: flex; align-items: center; gap: 0.9rem; margin-top: 0.75rem; }
.estate-controls button { flex: none; background: none; border: 1.5px solid #4b3d8f; color: var(--on-night); border-radius: 999px; font: 600 0.82rem var(--body); padding: 0.45rem 0.7rem; cursor: pointer; min-width: 4.2rem; }
.estate-controls button:hover { border-color: var(--lamp); }
.estate-controls input[type="range"] { flex: 1; accent-color: var(--lamp); min-width: 0; }
.estate-legend { margin-top: 0.7rem; font-size: 0.8rem; color: var(--on-night-muted); display: flex; gap: 1.2rem; flex-wrap: wrap; }
.estate-legend b { display: inline-block; width: 0.7rem; height: 0.7rem; border-radius: 2px; background: var(--lamp); margin-right: 0.4rem; vertical-align: -1px; }
.estate-legend b.off { background: #2a1e5e; outline: 1px solid #4b3d8f; }
@media (max-width: 620px) { .tiles { grid-template-columns: repeat(20, 1fr); } }

/* Ledger: term on the left, explanation on the right */
.ledger { margin: 0; border-top: 1px solid var(--line); }
.ledger > div { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: 1rem 3rem; padding-block: 1.6rem; border-bottom: 1px solid var(--line); }
.ledger dt { font: 600 1.25rem/1.25 var(--display); letter-spacing: -0.012em; }
.ledger dd { margin: 0; color: var(--muted); max-width: 62ch; }
.band--night .ledger, .band--night .ledger > div { border-color: #2e2266; }
.band--night .ledger dd { color: var(--on-night-muted); }
@media (max-width: 760px) { .ledger > div { grid-template-columns: 1fr; gap: 0.5rem; } }

/* Trio: three parallel points, each marked with a lit window */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); }
.trio > div { border-top: 2px solid var(--violet); padding-top: 1.25rem; }
.band--night .trio > div { border-top-color: var(--lamp); }
.trio h3 { margin-bottom: 0.6rem; }
.trio p { color: var(--muted); }
.band--night .trio p { color: var(--on-night-muted); }
.trio .where { display: block; font-size: 0.86rem; font-weight: 600; color: var(--lamp-ink); margin-bottom: 0.5rem; }
.band--night .trio .where { color: var(--lamp); }
@media (max-width: 820px) { .trio { grid-template-columns: 1fr; } }

/* Two-up split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.split--wide-left { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
@media (max-width: 860px) { .split, .split--wide-left { grid-template-columns: 1fr; } }

/* Steps: a real sequence, so it is numbered */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 0; border-top: 1px solid var(--line); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 3.5rem minmax(0, 18rem) minmax(0, 1fr); gap: 0.5rem 2rem; padding-block: 1.5rem; border-bottom: 1px solid var(--line); align-items: baseline; }
.steps li::before { content: counter(step); font: 600 1.6rem/1 var(--display); color: var(--lamp-ink); }
.steps h3 { font-size: 1.2rem; }
.steps p { color: var(--muted); }
.band--night .steps, .band--night .steps li { border-color: #2e2266; }
.band--night .steps li::before { color: var(--lamp); }
.band--night .steps p { color: var(--on-night-muted); }
@media (max-width: 760px) { .steps li { grid-template-columns: 2.5rem 1fr; } .steps p { grid-column: 2; } }

/* Checklist with window markers */
.marks { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.85rem; }
.marks li { position: relative; padding-left: 1.6rem; max-width: 62ch; }
.marks li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 0.65rem; height: 0.65rem; border-radius: 2px; background: var(--lamp); }

/* Diagram */
.diagram-scroll { overflow-x: auto; margin-top: 2.5rem; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); }
.diagram { min-width: 760px; width: 100%; height: auto; }
.diagram text { font-family: var(--body); fill: var(--ink); }
.diagram .d-title { font: 600 17px var(--display); }
.diagram .d-sub { font-size: 13px; fill: var(--muted); }
.diagram .d-flow { font-size: 12.5px; fill: var(--muted); }
.diagram .d-box { fill: var(--surface); stroke: var(--line); stroke-width: 1.5; }
.diagram .d-box--night { fill: #130b30; stroke: #130b30; }
.diagram .d-on-night { fill: #f1eefb; }
.diagram .d-on-night-sub { fill: #b9b2d6; font-size: 13px; }
.diagram .d-line { stroke: var(--muted); stroke-width: 1.5; fill: none; }
.diagram .d-head { fill: var(--muted); }
.diagram .d-lamp { fill: #ffb347; }
.diagram .d-dim { fill: #2a1e5e; }

/* Pull quote */
.quote { border-left: 4px solid var(--lamp); padding-left: clamp(1.25rem, 3vw, 2.25rem); }
.quote p { font: 500 clamp(1.5rem, 3vw, 2.2rem)/1.22 var(--display); letter-spacing: -0.02em; max-width: 26ch; }
.quote footer { margin-top: 1rem; color: var(--on-night-muted); font-size: 0.98rem; max-width: 52ch; }

/* Video */
.video { position: relative; border-radius: 24px; overflow: hidden; background: #060f20; aspect-ratio: 16 / 9; }
.video video { width: 100%; height: 100%; object-fit: cover; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--paper); }
.price-grid > div { padding: clamp(1.5rem, 3vw, 2.25rem); border-right: 1px solid var(--line); }
.price-grid > div:last-child { border-right: 0; }
.price-grid .base { background: radial-gradient(30rem 18rem at 100% 0%, rgba(194, 49, 143, 0.45), transparent 60%), var(--night); color: var(--on-night); }
.price-grid .base .muted { color: var(--on-night-muted); }
.amount { font: 600 clamp(2.4rem, 4.5vw, 3.4rem)/1 var(--display); letter-spacing: -0.03em; margin: 1rem 0 0.4rem; font-variant-numeric: tabular-nums; }
.amount small { font: 500 1rem var(--body); letter-spacing: 0; }
.price-grid h3 { font-size: 1.15rem; min-height: 2.4em; }
.price-grid p { font-size: 0.98rem; }
.price-grid .amount { font-size: clamp(2.4rem, 4.5vw, 3.4rem); }
@media (max-width: 860px) { .price-grid { grid-template-columns: 1fr; } .price-grid > div { border-right: 0; border-bottom: 1px solid var(--line); } .price-grid > div:last-child { border-bottom: 0; } }

.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.calc-inputs { display: grid; gap: 1.25rem; }
.calc-out { border-top: 2px solid var(--lamp); padding-top: 1.25rem; }
.calc-out table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.calc-out td { padding: 0.55rem 0; border-bottom: 1px solid #2e2266; }
.calc-out td:last-child { text-align: right; }
.calc-total { font: 600 clamp(2.2rem, 4vw, 3rem)/1 var(--display); letter-spacing: -0.03em; margin-top: 1.25rem; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .calc { grid-template-columns: 1fr; } }

/* Tables */
.table-scroll { overflow-x: auto; }
.table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 0.98rem; }
.table th, .table td { text-align: left; vertical-align: top; padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); }
.table thead th { font: 600 1rem/1.25 var(--display); border-bottom: 2px solid var(--ink); }
.table tbody th { font-weight: 600; width: 15%; }
.table--cost tbody th { width: 26%; }
.table th .small { font: 400 0.86rem/1.4 var(--body); letter-spacing: 0; }
.table td { color: var(--muted); }
.table .us { background: color-mix(in srgb, var(--lamp) 16%, transparent); color: var(--ink); }
.table thead .us { border-bottom-color: var(--lamp); }

/* FAQ */
.faq-group + .faq-group { margin-top: 3rem; }
.faq-group > h2 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.15rem 0; font: 600 1.12rem/1.3 var(--display); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.5rem/1 var(--body); color: var(--lamp-ink); flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); padding-bottom: 1.3rem; }

/* Forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 600; font-size: 0.93rem; }
.field input, .field select, .field textarea {
  font: 400 1rem/1.4 var(--body); color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 6px; padding: 0.8rem 0.9rem; width: 100%;
}
.field textarea { min-height: 7.5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: transparent; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: 0.88rem; color: var(--muted); }
.form-status { grid-column: 1 / -1; font-weight: 600; }
.form-status[data-state="error"] { color: #b3261e; }
.form-done { border-left: 4px solid var(--lamp); padding: 0.5rem 0 0.5rem 1.5rem; }
.band--night .field input, .band--night .field select, .band--night .field textarea { background: #1c1244; color: var(--on-night); border-color: #3d2f80; }
.band--night .form-note { color: var(--on-night-muted); }
.band--night .form-status[data-state="error"] { color: #ffb4ab; }
.calc .field input { background: #1c1244; color: var(--on-night); border-color: #3d2f80; font-variant-numeric: tabular-nums; }
@media (max-width: 620px) { .form { grid-template-columns: 1fr; } }

/* Inner page header */
.page-head { padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(2.5rem, 5vw, 4rem); border-top: 5px solid; border-image: linear-gradient(90deg, #5b2be0, #c2318f, #ff6a4d, #ffb347) 1; }
.page-head h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); max-width: 16ch; }
.page-head .lede { margin-top: 1.4rem; }

.prose h2 { font-size: 1.6rem; margin: 2.5rem 0 0.8rem; }
.prose ul { padding-left: 1.2rem; max-width: 66ch; }
.notice { border: 1.5px dashed var(--lamp-ink); border-radius: 8px; padding: 1rem 1.25rem; margin-bottom: 2rem; font-weight: 600; max-width: 68ch; }

.cta-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-strip h2 { max-width: 22ch; }

/* Proof bar */
.proof { background: var(--ink); color: var(--paper); padding-block: clamp(2.5rem, 5vw, 4rem); }
.proof .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1.5rem 4rem; align-items: center; }
.proof blockquote { margin: 0; font: 500 clamp(1.6rem, 3.4vw, 2.6rem)/1.1 var(--display); letter-spacing: -0.03em; }
.proof p { color: color-mix(in srgb, var(--paper) 70%, transparent); font-size: 0.98rem; }
@media (max-width: 820px) { .proof .wrap { grid-template-columns: 1fr; } }

/* Pool tabs */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 0.25rem; padding: 0.3rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.tabs button { font: 600 0.98rem var(--body); color: var(--ink); background: none; border: 0; border-radius: 999px; padding: 0.75rem 1.3rem; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.tab-panel { margin-top: 2rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: clamp(1.5rem, 4vw, 3rem); }
.tab-panel[hidden] { display: none; }
.tab-panel h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.03em; margin-bottom: 0.9rem; }
.tab-panel p { color: var(--muted); }
.tab-panel .when { font-weight: 600; color: var(--lamp-ink); margin-bottom: 0.6rem; }
.dayline { background: #130b30; border-radius: 16px; padding: 1.5rem; color: #f1eefb; }
.dayline-bar { display: grid; grid-template-columns: repeat(24, 1fr); gap: 3px; }
.dayline-bar i { height: 3.2rem; border-radius: 3px; background: #2a1e5e; }
.dayline-bar i.on { background: linear-gradient(180deg, #ffb347, #ff6a4d); }
.dayline-bar i.half { background: linear-gradient(180deg, #2a1e5e 45%, #ffb347 45%); }
.dayline-scale { display: flex; justify-content: space-between; font-size: 0.8rem; color: #b9b2d6; margin-top: 0.6rem; font-variant-numeric: tabular-nums; }
.dayline p { color: #b9b2d6; font-size: 0.9rem; margin-top: 0.9rem; }
@media (max-width: 820px) { .tab-panel { grid-template-columns: 1fr; } .tabs { border-radius: 20px; } }

/* Footer */
.site-foot { background: var(--night); color: var(--on-night); padding-block: 4rem 2.5rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
.site-foot h2 { font: 600 0.95rem var(--body); letter-spacing: 0; margin-bottom: 0.9rem; color: var(--on-night-muted); }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.foot-about p { color: var(--on-night-muted); margin-top: 1rem; max-width: 34ch; font-size: 0.98rem; }
.foot-legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid #2e2266; color: var(--on-night-muted); font-size: 0.88rem; display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: space-between; }
.foot-legal p { max-width: none; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-about { grid-column: 1 / -1; } }

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

/* Cost illustration */
.cost-note { font-size: 0.9rem; color: var(--muted); margin-top: 1.25rem; max-width: 80ch; }
.table .num { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink); font-weight: 600; }
