/* Quintic Labs site v1_8 — shared styles */
:root {
  --bg: #FFFFFF;
  --surface: #F4F6F9;
  --raise: #EAEFF4;
  --line: #E1E6ED;
  --line-strong: #B9C3D0;
  --text: #0B1220;
  --soft: #3A4555;
  --muted: #5B6577;
  --accent: #0A7F6F;
  --accent-hover: #086A5C;
  --amber: #F2B544;
  --red: #F2665A;
  --sans: "IBM Plex Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", Consolas, "Courier New", monospace;
  --wrap: 1200px;
}
/* dark scopes: product screen, photo heroes, footer */
.engine, .dark, .page-hero:not(.plain), .site-footer {
  --bg: #05070C; --surface: #0E141F; --raise: #141C2A; --line: #1C2533; --line-strong: #3A4658;
  --text: #E8EDF4; --soft: #C9D2DE; --muted: #8D99AB; --accent: #2FE6C8; --accent-hover: #6FF0DB;
  color: var(--text);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 18px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-top: env(safe-area-inset-top, 0px);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px;
}
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--accent); color: var(--bg); padding: 8px 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; font-size: 19px; }
.brand-mark { width: auto; height: 34px; }
.wordmark { font-weight: 600; font-size: 17px; letter-spacing: .14em; }
.wordmark .sep { font-weight: 300; margin: 0 .35em; opacity: .55; }
.menu { list-style: none; display: flex; align-items: center; gap: 30px; }
.menu > li { position: relative; }
.menu a, .menu button {
  text-decoration: none; font: inherit; font-size: 15px; color: var(--soft);
  background: none; border: 0; cursor: pointer; padding: 8px 0;
}
.menu a:hover, .menu button:hover, .menu a[aria-current="page"] { color: var(--text); }
.menu .caret { display: inline-block; margin-left: 6px; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.dropdown {
  position: absolute; top: 100%; left: -24px; min-width: 300px; list-style: none;
  background: var(--surface); border: 1px solid var(--line); padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown, .has-drop.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: 12px 14px; }
.dropdown a:hover { background: var(--raise); }
.dropdown small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.menu .cta { border: 1px solid var(--accent); color: var(--accent); padding: 9px 18px; }
.menu .cta:hover { background: var(--accent); color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); padding: 8px 12px; font: inherit; font-size: 15px; cursor: pointer; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; text-decoration: none; font: inherit; font-weight: 500; font-size: 16px; padding: 15px 26px; border: 1px solid var(--accent); cursor: pointer; }
.btn-solid { background: var(--accent); color: #fff; }
.dark .btn-solid, .page-hero .btn-solid, .engine .btn-solid { color: #05070C; }
.btn-solid:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-line { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-line:hover { border-color: var(--text); }
.actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Home hero with live engine ---------- */
.hero-home { position: relative; padding: 110px 0 120px; background: #05070C center 40% / cover no-repeat; }
.hero-home::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,7,12,.88) 0%, rgba(5,7,12,.7) 45%, rgba(5,7,12,.35) 100%); }
.hero-home .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: 0.9fr 1.25fr; gap: 56px; align-items: center; }
.hero-home h1 { font-weight: 300; font-size: clamp(36px, 4.2vw, 58px); line-height: 1.05; letter-spacing: -0.022em; }
.hero-home .lead { margin-top: 18px; font-size: clamp(16px, 1.3vw, 18px); color: var(--soft); max-width: 46ch; }
.hero-home h1 + .lead { margin-top: 24px; }
.hero-home .actions { margin-top: 32px; }

.engine { background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.engine-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 13px; color: var(--muted); }
.engine-top .live { color: var(--accent); display: flex; align-items: center; gap: 8px; }
.engine-top .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(47,230,200,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47,230,200,.5); } 70% { box-shadow: 0 0 0 9px rgba(47,230,200,0); } 100% { box-shadow: 0 0 0 0 rgba(47,230,200,0); } }
.engine-tabs { display: flex; border-bottom: 1px solid var(--line); }
.engine-tabs button { flex: 1; background: none; border: 0; border-right: 1px solid var(--line); color: var(--muted); font: inherit; font-size: 14px; padding: 12px 8px; cursor: pointer; }
.engine-tabs button:last-child { border-right: 0; }
.engine-tabs button[aria-selected="true"] { color: var(--text); background: var(--raise); box-shadow: inset 0 -2px 0 var(--accent); }
.engine-body { display: grid; grid-template-columns: 1fr 1fr; min-height: 340px; }
.col { padding: 16px 18px; }
.col + .col { border-left: 1px solid var(--line); }
.col h3 { font-family: var(--mono); font-weight: 400; font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.feed { list-style: none; font-family: var(--mono); font-size: 13px; color: var(--soft); }
.feed li { padding: 7px 0; border-bottom: 1px dashed var(--line); animation: slidein .5s ease-out; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed li span { color: var(--muted); margin-right: 8px; }
@keyframes slidein { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.flags { list-style: none; }
.flag { border: 1px solid var(--line); background: var(--bg); padding: 12px 14px; margin-bottom: 10px; animation: slidein .6s ease-out; }
.flag .tag { font-family: var(--mono); font-size: 12px; font-weight: 500; }
.flag.watch .tag { color: var(--amber); }
.flag.near .tag { color: var(--red); }
.flag.ok .tag { color: var(--accent); }
.flag p { font-size: 14px; color: var(--soft); margin-top: 4px; line-height: 1.45; }
.engine-foot { border-top: 1px solid var(--line); padding: 12px 18px; font-size: 13px; color: var(--muted); }

/* ---------- Deployments strip ---------- */
.deployed { padding: 44px 0; border-bottom: 1px solid var(--line); }
.deployed .wrap { display: flex; align-items: center; gap: 56px; flex-wrap: wrap; }
.deployed p { color: var(--muted); font-size: 15px; }
.partner { display: flex; flex-direction: column; }
.partner strong { font-size: 22px; font-weight: 500; letter-spacing: -0.01em; }
.partner span { font-size: 14px; color: var(--muted); }

/* ---------- Generic sections ---------- */
.section { padding: 112px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { margin-bottom: 56px; max-width: 760px; }
.head h2 { font-weight: 400; font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -0.016em; line-height: 1.15; }
.head p { margin-top: 16px; color: var(--muted); font-size: 19px; }
.big-statement { font-weight: 300; font-size: clamp(26px, 3.1vw, 40px); line-height: 1.28; letter-spacing: -0.01em; max-width: 32ch; }
.big-statement + p { margin-top: 26px; color: var(--muted); max-width: 62ch; }

/* Market cards (home) */
.markets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.market-card { display: flex; flex-direction: column; text-decoration: none; border: 1px solid var(--line); background: var(--surface); transition: border-color .2s; }
.market-card:hover { border-color: var(--line-strong); box-shadow: 0 10px 30px rgba(11,18,32,.08); }
.market-card .img { aspect-ratio: 4 / 3; background-size: cover; background-position: center; }
.market-card .txt { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.market-card h3 { font-weight: 500; font-size: 22px; }
.market-card p { margin-top: 10px; color: var(--muted); font-size: 16px; flex: 1; }
.market-card .more { margin-top: 20px; color: var(--accent); font-size: 15px; font-weight: 500; }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.steps li { padding: 34px 28px 0 0; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.steps .n { font-family: var(--mono); font-size: 14px; color: var(--accent); }
.steps h3 { margin-top: 12px; font-weight: 500; font-size: 20px; }
.steps p { margin-top: 10px; font-size: 16px; color: var(--muted); }

/* Feature grid */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.grid-2 > div { padding: 34px 40px 34px 0; border-bottom: 1px solid var(--line); }
.grid-2 > div:nth-child(odd) { border-right: 1px solid var(--line); }
.grid-2 > div:nth-child(even) { padding-left: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.grid-3 > div { padding: 34px 32px 34px 0; }
.grid-3 > div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.grid-2 h3, .grid-3 h3 { font-weight: 500; font-size: 20px; }
.grid-2 p, .grid-3 p { margin-top: 8px; color: var(--muted); font-size: 16px; max-width: 46ch; }

/* Split with photo */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split .photo { aspect-ratio: 5 / 4; background-size: cover; background-position: center; border: 1px solid var(--line); }
.split p { color: var(--soft); margin-top: 16px; max-width: 52ch; }

/* Principle quote */
.principle { border-left: 2px solid var(--accent); padding: 6px 0 6px 28px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 300; line-height: 1.35; max-width: 40ch; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; min-height: 560px; display: flex; align-items: flex-end; background-size: cover; background-position: center; border-bottom: 1px solid var(--line); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,7,12,.45) 0%, rgba(5,7,12,.6) 50%, rgba(5,7,12,.95) 100%); }
.page-hero .wrap { position: relative; padding-top: 120px; padding-bottom: 72px; width: 100%; }
.page-hero .crumb { font-size: 15px; color: var(--soft); margin-bottom: 18px; }
.page-hero .crumb a { text-decoration: none; color: var(--accent); }
.page-hero h1 { font-weight: 300; font-size: clamp(38px, 5vw, 66px); line-height: 1.06; letter-spacing: -0.02em; max-width: 18ch; }
.page-hero p { margin-top: 22px; font-size: 20px; color: var(--soft); max-width: 50ch; }
.page-hero.plain { min-height: 0; background: radial-gradient(900px 400px at 80% 0%, rgba(47,230,200,.07), transparent 70%); }
.page-hero.plain::before { display: none; }

/* Signals list (market pages) */
.signals { list-style: none; border-top: 1px solid var(--line); }
.signals li { display: grid; grid-template-columns: 220px 1fr; gap: 32px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.signals .tag { font-family: var(--mono); font-size: 13px; padding-top: 4px; }
.signals .tag.watch { color: var(--amber); }
.signals .tag.near { color: var(--red); }
.signals .tag.ok { color: var(--accent); }
.signals h3 { font-weight: 500; font-size: 20px; }
.signals p { margin-top: 6px; color: var(--muted); font-size: 16px; max-width: 60ch; }

/* CTA band */
.cta-band { padding: 100px 0; border-top: 1px solid var(--line); background: radial-gradient(800px 300px at 50% 100%, rgba(47,230,200,.08), transparent 70%); }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { font-weight: 400; font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.015em; max-width: 24ch; line-height: 1.2; }

/* ---------- Contact form ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 72px; align-items: start; }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
form label { display: block; font-size: 14px; color: var(--soft); margin: 18px 0 8px; }
form input, form select, form textarea {
  width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--line-strong);
  font: inherit; font-size: 16px; padding: 13px 14px; border-radius: 0;
}
form textarea { min-height: 150px; resize: vertical; }
form input:focus, form select:focus, form textarea:focus { border-color: var(--accent); outline: none; }
form .hp { position: absolute; left: -9999px; }
form .btn { margin-top: 26px; }
.form-note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.notice { padding: 18px 20px; border: 1px solid var(--line); margin-bottom: 24px; font-size: 16px; }
.notice.ok { border-color: var(--accent); color: var(--accent); }
.notice.err { border-color: var(--red); color: var(--red); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding: 64px 0 calc(40px + env(safe-area-inset-bottom, 0px)); color: var(--muted); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid h4 { color: var(--text); font-weight: 500; font-size: 15px; margin-bottom: 14px; }
.foot-grid ul { list-style: none; }
.foot-grid li { margin-bottom: 9px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--text); }
.foot-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .bar { justify-content: flex-start; }
  .nav-toggle { display: block; margin-left: auto; }
  .menu { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 10px 28px 22px; }
  .menu.open { display: flex; }
  .menu > li { border-bottom: 1px solid var(--line); }
  .menu a, .menu button { display: block; padding: 14px 0; width: 100%; text-align: left; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; display: none; border: 0; padding: 0 0 10px 14px; background: none; min-width: 0; }
  .has-drop.open .dropdown { display: block; }
  .menu .cta { margin-top: 16px; text-align: center; border-bottom: 1px solid var(--accent); }
  .menu > li:last-child { border-bottom: 0; }
  .hero-grid, .split, .form-grid { grid-template-columns: 1fr; gap: 48px; }
  .markets { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li { padding-bottom: 30px; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-3 > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .signals li { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 620px) {
  body { font-size: 17px; }
  .wrap { padding: 0 22px; }
  .section { padding: 80px 0; }
  .engine-body { grid-template-columns: 1fr; }
  .col + .col { border-left: 0; border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .steps li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-2 > div, .grid-2 > div:nth-child(even) { padding: 28px 0; border-right: 0; }
  form .row { grid-template-columns: 1fr; gap: 0; }
  .foot-grid { grid-template-columns: 1fr; }
  .page-hero { min-height: 480px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* offer blocks */
.offer { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.offer-card { border: 1px solid var(--line); background: var(--bg); padding: 40px; box-shadow: 0 20px 60px rgba(11,18,32,.07); }
.offer-card .kicker { font-size: 15px; color: var(--accent); font-weight: 500; }
.offer-card h3 { font-weight: 500; font-size: 30px; letter-spacing: -0.01em; margin-top: 6px; }
.offer-card > p { margin-top: 14px; color: var(--soft); }
.includes { list-style: none; margin-top: 26px; border-top: 1px solid var(--line); }
.includes li { padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); position: relative; font-size: 16px; color: var(--soft); }
.includes li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.includes strong { color: var(--text); font-weight: 500; }
.offer-card .btn { margin-top: 30px; }
.price-note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { border: 1px solid var(--line); background: var(--bg); padding: 30px; }
.feature h3 { font-weight: 500; font-size: 20px; }
.feature p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.feature .glyph { width: 40px; height: 40px; border: 1.5px solid var(--accent); display: grid; place-items: center; margin-bottom: 20px; font-family: var(--mono); font-size: 14px; color: var(--accent); }
.deployed { background: var(--surface); border-top: 1px solid var(--line); }
.deployed p { line-height: 1.5; }
@media (max-width: 980px) { .offer { grid-template-columns: 1fr; gap: 40px; } .features { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .offer-card { padding: 28px 22px; } }

/* cost + attic */
.cost-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: start; }
.eyebrow { font-size: 17px; color: var(--accent); font-weight: 500; }
.big-number { font-weight: 300; font-size: clamp(52px, 7vw, 96px); line-height: 1; letter-spacing: -0.03em; margin-top: 14px; }
.cost-text { margin-top: 20px; color: var(--soft); max-width: 40ch; }
.source { margin-top: 14px; font-size: 14px; color: var(--muted); }
.cost-grid p + p { margin-top: 16px; }
.cost-grid .big-statement + p { margin-top: 22px; color: var(--soft); }
/* essence */
.essence { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.essence > div { background: var(--bg); border: 1px solid var(--line); padding: 28px 26px 30px; }
.essence .q { font-family: var(--mono); font-size: 14px; color: var(--accent); }
.essence h3 { margin-top: 14px; font-weight: 500; font-size: 20px; line-height: 1.3; }
.essence p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.essence-close { margin-top: 40px; color: var(--soft); max-width: 70ch; }
.essence-line { margin-top: 22px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 300; color: var(--text); }
@media (max-width: 980px) { .cost-grid { grid-template-columns: 1fr; gap: 48px; } .essence { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .essence { grid-template-columns: 1fr; } }

/* v1_8: introduction, signature, panel columns, motto */
.script { font-family: var(--sans); font-weight: 300; letter-spacing: -0.02em; }
.we { color: var(--accent); font-weight: 600; }
.intro { font-size: 15px; letter-spacing: .02em; color: var(--soft); }
.product-script { margin: 4px 0 20px; line-height: 1.05; color: var(--text); white-space: nowrap; }
.product-script .script { font-size: clamp(40px, 4.4vw, 62px); }
.product-script .iq { font-size: clamp(40px, 4.4vw, 62px); font-weight: 600; letter-spacing: 0; color: var(--accent); margin-left: .18em; }
.we-line { color: var(--text) !important; }
.engine-top .live { font-size: 12px; }
.story-dots { display: flex; gap: 8px; padding: 10px 18px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.story-dots button { background: none; border: 1px solid var(--line); color: var(--muted); font: inherit; font-size: 12px; padding: 4px 10px; cursor: pointer; }
.story-dots button.on { color: var(--text); border-color: var(--accent); }
.engine-cols { display: grid; grid-template-columns: 1fr 1fr 1.15fr; min-height: 380px; }
.engine-cols .col { padding: 14px 14px 16px; }
.engine-cols .col + .col { border-left: 1px solid var(--line); }
.engine-cols h3 { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .08em; color: var(--accent); margin-bottom: 10px; }
.col-events .feed li { white-space: normal; font-size: 12.5px; line-height: 1.4; padding: 8px 0; }
.col-events .feed .tag { display: block; color: var(--muted); font-size: 11px; margin-bottom: 2px; }
.col-behavior p, .col-outcome p { animation: slidein .5s ease-out; }
.col-behavior .who { font-weight: 600; font-size: 14px; }
.col-behavior .hist { font-size: 13px; color: var(--soft); margin-top: 8px; line-height: 1.45; }
.col-behavior .state { display: inline-block; margin-top: 12px; font-family: var(--mono); font-size: 12px; font-weight: 500; padding: 3px 8px; border: 1px solid currentColor; }
.state.degrading { color: var(--amber); }
.state.shifting { color: var(--amber); }
.state.steady, .state.recovering { color: var(--accent); }
.col-behavior .note { font-size: 13px; color: var(--soft); margin-top: 8px; }
.forecast { border: 1px solid var(--line); background: var(--bg); padding: 10px 12px; animation: slidein .5s ease-out; }
.fc-label { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .06em; }
.fc-num { margin-top: 2px; line-height: 1.05; }
.fc-num .n { font-size: 34px; font-weight: 300; color: var(--red); letter-spacing: -0.02em; }
.fc-num .u { font-size: 14px; color: var(--text); }
.fc-text { font-size: 12.5px; color: var(--soft); margin-top: 4px; line-height: 1.4; }
.choices { margin: 12px 0 0 18px; padding: 0; font-size: 12.5px; color: var(--soft); animation: slidein .5s ease-out; }
.choices li { margin-bottom: 7px; line-height: 1.4; }
.choices .cost { display: block; font-size: 11.5px; color: var(--muted); }
.result { margin-top: 10px; font-size: 12.5px; color: var(--text); border-top: 1px dashed var(--line); padding-top: 8px; line-height: 1.4; }
.learned { margin-top: 6px; font-size: 12.5px; color: var(--accent); line-height: 1.4; }
.motto { padding: 72px 0 64px; text-align: center; border-bottom: 1px solid var(--line); }
.motto-1 { font-size: clamp(18px, 1.8vw, 22px); color: var(--muted); }
.motto-2 { margin-top: 14px; font-size: clamp(24px, 3vw, 38px); font-weight: 300; letter-spacing: -0.01em; }
.sig { margin-top: 14px; font-size: 24px; font-weight: 600; color: var(--accent); }
.sig .script { font-size: 24px; color: var(--text); margin-right: 2px; }
.sig.small, .sig.small .script { font-size: 18px; }
.foot-tag { margin-top: 16px; max-width: 34ch; color: var(--soft); }
.sig.small { margin-top: 6px; }
.behaviors { font-family: var(--mono); font-size: 14px; color: var(--accent); letter-spacing: .02em; }
@media (max-width: 980px) { .engine-cols { grid-template-columns: 1fr; } .engine-cols .col + .col { border-left: 0; border-top: 1px solid var(--line); } .engine-cols { min-height: 0; } }
