:root {
 --cobalt: #2028A8;
 --night: #0B102C;
 --paper: #F5F1E8;
 --lime: #D9FF57;
 --coral: #FF6B61;
 --mint: #55D8C2;
 --ai: #A98CFF;
 --warn: #FFB13D;
 --risk: #FF4775;
 --card-dark: #2A34BA;
 --card-light: #FFFEFA;
 --border-dark: #4B58D5;
 --border-light: #D4CCBE;
 --title-dark: #FFFFFF;
 --title-light: #171A35;
 --body-dark: #DCE1FF;
 --body-light: #5D5E70;
 /* Single readable sans for brand + UI — Syne removed (too wide / hard to read) */
 --display: "Figtree", "Segoe UI", sans-serif;
 --sans: "Figtree", "Segoe UI", sans-serif;
 --mono: "IBM Plex Mono", ui-monospace, monospace;
 --r: 10px;
 --r-lg: 18px;
 --shadow: 0 20px 50px rgba(11, 16, 44, 0.18);
 --header-h: 56px;
 --content: min(1140px, calc(100% - 48px));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
 margin: 0;
 font-family: var(--sans);
 color: var(--title-light);
 background: var(--paper);
 line-height: 1.55;
 -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--cobalt); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3, h4 {
 font-family: var(--display); font-weight: 700; line-height: 1.25; margin: 0;
 letter-spacing: -0.01em;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
input, textarea, select {
 font: inherit; width: 100%;
 border: 1.5px solid var(--border-light);
 border-radius: 8px; padding: 10px 12px;
 background: var(--card-light); color: var(--title-light);
}
input::placeholder, textarea::placeholder { color: #8a8b9a; opacity: 1; }
label {
 display: flex; flex-direction: column; gap: 6px;
 font-weight: 600; font-size: 0.92rem; margin-bottom: 12px;
 color: var(--title-light);
}
[hidden] { display: none !important; }

.site-shell { min-height: 100dvh; display: flex; flex-direction: column; }
main { flex: 1; }
[data-site-header], [data-site-footer] { display: contents; }
.container { width: var(--content); margin: 0 auto; }
#stage, #recap, #sample { scroll-margin-top: calc(var(--header-h) + 52px); }

/* ——— Announce + Header (content-width) ——— */
.announce-bar { width: 100%; background: var(--night); color: var(--body-dark); font-size: 0.84rem; }
.announce-bar-inner {
 width: var(--content); margin: 0 auto; padding: 9px 0;
 display: flex; justify-content: center; text-align: center;
}
.announce-text { margin: 0; max-width: 52rem; }
.announce-cta { color: var(--lime); font-weight: 700; margin-left: 6px; }
.announce-cta:hover { color: #fff; text-decoration: none; }

.site-top { position: sticky; top: 0; z-index: 50; }
.site-header {
 background: var(--cobalt);
 border-bottom: 1px solid var(--border-dark);
}
.header-inner {
 display: flex; align-items: center; gap: 12px;
 min-height: var(--header-h);
 width: var(--content); margin: 0 auto; padding: 0;
}
.brand {
 display: flex; align-items: center; gap: 10px;
 color: var(--title-dark); text-decoration: none; flex-shrink: 0;
}
.brand:hover { text-decoration: none; }
.logo-mark { width: 32px; height: 32px; display: grid; place-items: center; }
.logo-mark svg { width: 32px; height: 32px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong {
 font-family: var(--sans); font-size: 1.05rem; font-weight: 800;
 letter-spacing: -0.01em;
}
.brand-text span { font-size: 0.68rem; color: var(--body-dark); max-width: 26ch; }

.nav-main { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-left: auto; }
.nav-link {
 font-size: 0.84rem; font-weight: 600; color: var(--body-dark);
 text-decoration: none; padding: 4px 0; white-space: nowrap;
}
.nav-link:hover, .nav-link.is-active { color: var(--lime); text-decoration: none; }
.nav-link.is-active {
 font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.02em;
}
.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-toggle { display: none; font-size: 1.3rem; padding: 4px 8px; color: var(--title-dark); }
.mobile-nav {
 display: none; flex-direction: column; gap: 8px;
 width: var(--content); margin: 0 auto;
 padding: 8px 0 14px; border-top: 1px solid var(--border-dark);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a { font-weight: 600; color: var(--title-dark); text-decoration: none; }

.user-menu { position: relative; }
.user-avatar {
 width: 34px; height: 34px; border-radius: 50%;
 background: var(--lime); color: var(--night); font-size: 0.72rem; font-weight: 800;
}
.user-dropdown {
 display: none; position: absolute; right: 0; top: calc(100% + 8px);
 min-width: 210px; background: var(--card-light); border: 1px solid var(--border-light);
 border-radius: var(--r); box-shadow: var(--shadow); padding: 8px; flex-direction: column;
 color: var(--title-light);
}
.user-dropdown.is-open { display: flex; }
.user-dropdown a, .user-dropdown button {
 text-align: left; padding: 8px 10px; border-radius: 8px;
 font-size: 0.88rem; font-weight: 600; color: var(--title-light); text-decoration: none;
}
.user-dropdown a:hover, .user-dropdown button:hover { background: var(--paper); }
.user-workspace-label {
 font-size: 0.72rem; color: var(--body-light); padding: 6px 10px 10px;
 border-bottom: 1px solid var(--border-light); margin-bottom: 4px;
}

/* ——— Buttons ——— */
.btn {
 display: inline-flex; align-items: center; justify-content: center;
 gap: 6px; padding: 10px 16px; border-radius: 8px;
 font-weight: 700; font-size: 0.9rem; text-decoration: none;
 border: 1.5px solid transparent; transition: transform 0.15s, background 0.15s, border-color 0.15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--lime); color: var(--night); }
.btn-primary:hover { background: #e8ff8a; }
.btn-line { background: transparent; border-color: var(--lime); color: var(--lime); }
.page-hero--paper .btn-line,
.section--paper .btn-line { border-color: var(--cobalt); color: var(--cobalt); }
.btn-ghost {
 background: transparent; color: var(--title-dark);
 border-color: rgba(220, 225, 255, 0.35);
}
.page-hero--paper .btn-ghost,
.section--paper .btn-ghost { color: var(--title-light); border-color: var(--border-light); }
.btn-mint { background: var(--mint); color: var(--night); }
.btn-mint:hover { background: #6ee5d2; }
.btn-sm { padding: 7px 12px; font-size: 0.82rem; }
.btn-lg { padding: 12px 20px; font-size: 0.95rem; }
.chip {
 display: inline-flex; align-items: center; padding: 4px 10px;
 border-radius: 999px; font-size: 0.75rem; font-weight: 700;
 background: rgba(169, 140, 255, 0.2); color: var(--ai); border: 1px solid rgba(169, 140, 255, 0.4);
}
.linkish { color: var(--lime); font-weight: 700; text-decoration: underline; }

.kicker {
 display: inline-flex; font-family: var(--mono); font-size: 0.72rem; font-weight: 600;
 letter-spacing: 0.08em; text-transform: uppercase; color: var(--lime);
}
.section--paper .kicker, .page-hero--paper .kicker { color: var(--cobalt); }
.mono-label {
 display: block; font-family: var(--mono); font-size: 0.68rem; font-weight: 600;
 letter-spacing: 0.06em; text-transform: uppercase; color: var(--warn); margin-bottom: 6px;
}
.lead { color: var(--body-light); max-width: 54ch; }
.section--cobalt .lead, .page-hero--cobalt .lead,
.section--night .lead, .page-hero--night .lead { color: var(--body-dark); }
.hint-line {
 font-family: var(--mono); font-size: 0.78rem; color: var(--ai); margin-top: 14px;
}
.mt-s { margin-top: 8px; }
.mt-m { margin-top: 20px; }

/* ——— Sections ——— */
.section { padding: 64px 0; }
.section--paper { background: var(--paper); color: var(--title-light); }
.section--cobalt {
 background:
 radial-gradient(ellipse 80% 60% at 10% 20%, rgba(217, 255, 87, 0.12), transparent 50%),
 radial-gradient(ellipse 60% 50% at 90% 80%, rgba(169, 140, 255, 0.18), transparent 45%),
 var(--cobalt);
 color: var(--title-dark);
}
.section--night {
 background:
 radial-gradient(circle at 20% 30%, rgba(85, 216, 194, 0.1), transparent 40%),
 radial-gradient(circle at 80% 70%, rgba(255, 107, 97, 0.08), transparent 40%),
 var(--night);
 color: var(--title-dark);
}
.sec-head { margin-bottom: 28px; max-width: 50rem; }
.sec-head h2 {
 font-family: var(--sans); font-size: clamp(1.45rem, 2.6vw, 1.95rem);
 margin: 8px 0 10px; line-height: 1.25;
}
.page-hero { padding: 48px 0 28px; }
.page-hero--cobalt {
 background:
 linear-gradient(135deg, rgba(217, 255, 87, 0.08), transparent 40%),
 var(--cobalt);
 color: var(--title-dark);
}
.page-hero--paper { background: var(--paper); color: var(--title-light); }
.page-hero--night { background: var(--night); color: var(--title-dark); }
.page-hero-inner h1 {
 font-family: var(--sans); font-size: clamp(1.85rem, 3.6vw, 2.6rem);
 margin: 10px 0 12px; max-width: 22ch; line-height: 1.2;
}
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.cta-band { max-width: 40rem; }
.cta-band h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }

.how-grid {
 display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
 gap: 14px;
}
.how-grid li {
 padding: 16px 18px; border-radius: var(--r);
 background: var(--card-light); border: 1px solid var(--border-light);
}
.how-grid--compact { grid-template-columns: 1fr; gap: 8px; }
.how-grid--compact li { padding: 10px 12px; font-size: 0.9rem; }
.section--cobalt .how-grid li {
 background: rgba(42, 52, 186, 0.55); border-color: var(--border-dark); color: var(--body-dark);
}

/* ——— Footer ——— */
.site-footer {
 background: var(--night); color: var(--body-dark); margin-top: auto;
 padding: 48px 0 0;
}
.footer-grid {
 width: var(--content); margin: 0 auto;
 display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
 padding-bottom: 36px;
}
.footer-col h4 {
 font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em;
 text-transform: uppercase; color: var(--lime); margin-bottom: 12px;
}
.footer-col a { color: var(--body-dark); text-decoration: none; font-size: 0.9rem; display: block; padding: 4px 0; }
.footer-col a:hover { color: var(--title-dark); }
.footer-bar { border-top: 1px solid rgba(75, 88, 213, 0.4); padding: 20px 0 28px; }
.footer-tag { font-size: 0.88rem; max-width: 48rem; margin-bottom: 14px; color: var(--body-dark); }
.footer-bar-inner {
 display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
 font-size: 0.82rem; color: rgba(220, 225, 255, 0.7);
}
.footer-legal { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-legal a { color: var(--mint); text-decoration: none; }
.footer-legal a:hover { color: #fff; }

/* ═══════════════════════════════════════
 HOME — Living Edition Stage
═══════════════════════════════════════ */
.edition-hero {
 background:
 radial-gradient(ellipse 70% 50% at 0% 0%, rgba(217, 255, 87, 0.14), transparent 55%),
 radial-gradient(ellipse 50% 40% at 100% 100%, rgba(255, 107, 97, 0.12), transparent 50%),
 linear-gradient(180deg, #1a2299 0%, var(--cobalt) 45%, #1822a0 100%);
 color: var(--title-dark);
 padding: 36px 0 56px;
 overflow: hidden;
}
.edition-top {
 width: var(--content); margin: 0 auto 28px;
 display: grid; grid-template-columns: 1.4fr 0.9fr; gap: 28px; align-items: start;
}
.edition-name {
 font-family: var(--sans); font-size: clamp(2.4rem, 5vw, 3.4rem);
 font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 10px;
}
.edition-tag { font-size: 0.95rem; color: var(--body-dark); margin-bottom: 14px; line-height: 1.45; }
.edition-mission { font-size: 1.05rem; max-width: 42ch; color: var(--body-dark); margin-bottom: 22px; line-height: 1.55; }
.edition-mission b { color: var(--lime); }
.edition-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.edition-links { display: flex; gap: 18px; flex-wrap: wrap; font-weight: 700; }
.edition-links a { color: var(--mint); }
.edition-meta {
 background: rgba(11, 16, 44, 0.45);
 border: 1px solid var(--border-dark);
 border-radius: var(--r-lg);
 padding: 18px 20px;
 backdrop-filter: blur(8px);
}
.edition-chip {
 display: flex; flex-direction: column; gap: 2px;
 padding: 12px 14px; margin: 10px 0 14px;
 background: rgba(217, 255, 87, 0.12); border-left: 3px solid var(--lime);
 border-radius: 0 8px 8px 0;
}
.edition-chip b { font-family: var(--mono); color: var(--lime); }
.edition-chip span { font-size: 0.82rem; color: var(--body-dark); }
.edition-stats { display: grid; gap: 8px; margin-bottom: 12px; }
.edition-stats li { font-size: 0.92rem; color: var(--body-dark); }
.edition-stats b { color: var(--coral); font-family: var(--mono); margin-right: 6px; }

.living-stage {
 width: var(--content); margin: 0 auto;
 background: rgba(11, 16, 44, 0.35);
 border: 1px solid var(--border-dark);
 border-radius: var(--r-lg);
 padding: 22px 22px 18px;
 box-shadow: var(--shadow);
}
.stage-headline {
 display: grid; grid-template-columns: 1.5fr 0.85fr; gap: 20px;
 margin-bottom: 20px; align-items: end;
}
.stage-headline h1 {
 font-family: var(--sans); font-size: clamp(1.55rem, 2.8vw, 2.15rem);
 margin: 8px 0 10px; max-width: 20ch; line-height: 1.22;
}
.stage-version {
 padding: 14px 16px; border-radius: var(--r);
 background: var(--card-dark); border: 1px solid var(--border-dark);
}
.stage-version strong { display: block; font-size: 1.05rem; margin: 4px 0; }
.stage-version small { color: var(--body-dark); font-size: 0.8rem; }

.stage-board {
 display: flex; align-items: stretch; gap: 0;
 min-height: 320px;
 border-radius: var(--r);
 overflow: hidden;
 background: rgba(11, 16, 44, 0.5);
 border: 1px solid var(--border-dark);
}
.stage-col {
 display: flex; flex-direction: column;
 min-width: 0; padding: 14px 12px;
 transition: flex-basis 0.2s, background 0.25s;
}
.stage-col[data-col="last"] { flex: 0 0 var(--w1); background: rgba(85, 216, 194, 0.06); }
.stage-col[data-col="since"] { flex: 0 0 var(--w2); background: rgba(169, 140, 255, 0.08); }
.stage-col[data-col="now"] { flex: 0 0 var(--w3); background: rgba(255, 107, 97, 0.08); }
.stage-col--next {
 flex: 1 1 22%;
 min-width: 180px;
 background: rgba(217, 255, 87, 0.1);
 border-left: 1px solid var(--lime);
 animation: slideNext 0.35s ease;
}
[data-stage][data-mode="four"] .stage-col[data-col="last"],
[data-stage][data-mode="four"] .stage-col[data-col="since"],
[data-stage][data-mode="four"] .stage-col[data-col="now"] {
 flex: 1 1 0;
}

@keyframes slideNext {
 from { opacity: 0; transform: translateX(20px); }
 to { opacity: 1; transform: none; }
}

.col-label {
 font-family: var(--mono); font-size: 0.7rem; font-weight: 700;
 letter-spacing: 0.1em; text-transform: uppercase;
 color: var(--lime); margin-bottom: 12px;
}
.stage-col[data-col="last"] .col-label { color: var(--mint); }
.stage-col[data-col="since"] .col-label { color: var(--ai); }
.stage-col[data-col="now"] .col-label { color: var(--coral); }
.col-body { display: flex; flex-direction: column; gap: 8px; flex: 1; }

.stage-item {
 text-align: left; padding: 12px 12px;
 border-radius: 8px; border: 1px solid rgba(75, 88, 213, 0.5);
 background: rgba(42, 52, 186, 0.4);
 display: flex; flex-direction: column; gap: 4px;
 transition: transform 0.2s, opacity 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.stage-item b { font-size: 0.9rem; font-weight: 700; color: #fff; }
.stage-item span { font-size: 0.72rem; color: var(--body-dark); font-family: var(--mono); }
.stage-item:hover { border-color: var(--lime); transform: translateY(-2px); }
.stage-item.is-dim { opacity: 0.28; }
.stage-item.is-lit {
 border-color: var(--coral);
 box-shadow: 0 0 0 1px var(--coral), 0 8px 24px rgba(255, 107, 97, 0.25);
}
.stage-item.is-migrate {
 animation: migratePulse 0.8s ease;
 border-color: var(--coral);
}
@keyframes migratePulse {
 0%, 100% { transform: none; }
 40% { transform: translateX(8px); background: rgba(255, 107, 97, 0.25); }
}

.stage-split {
 flex: 0 0 8px; cursor: col-resize;
 background: linear-gradient(180deg, transparent, var(--lime), transparent);
 opacity: 0.55; position: relative; z-index: 2;
}
.stage-split:hover, .stage-split:focus { opacity: 1; outline: none; }
.stage-status {
 margin-top: 14px; font-family: var(--mono); font-size: 0.78rem; color: var(--body-dark);
}

/* Recap form + sample */
.scan-layout {
 display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start;
}
.scan-form {
 background: var(--card-light); border: 1px solid var(--border-light);
 border-radius: var(--r-lg); padding: 22px;
}
.scan-preview {
 border-radius: var(--r-lg); padding: 22px; min-height: 280px;
 border: 1px solid var(--border-light); background: var(--card-light);
}
.scan-preview.is-live { border-color: var(--mint); box-shadow: 0 0 0 1px var(--mint); }
.scan-idle-title { font-family: var(--sans); font-size: 1.15rem; font-weight: 700; margin: 8px 0 14px; color: var(--title-light); }
[data-recap-list] { display: grid; gap: 8px; margin: 12px 0; }
[data-recap-list] li {
 padding: 10px 12px; border-radius: 8px;
 background: rgba(85, 216, 194, 0.12); border-left: 3px solid var(--mint);
 font-size: 0.9rem;
}

.q-rail {
 display: flex; flex-wrap: wrap; gap: 10px;
}
.q-rail span {
 padding: 10px 14px; border-radius: 999px;
 background: var(--card-light); border: 1px solid var(--border-light);
 font-weight: 600; font-size: 0.88rem;
 animation: qIn 0.5s ease both;
}
.q-rail span:nth-child(odd) { border-color: var(--coral); }
.q-rail span:nth-child(3n) { border-color: var(--mint); }
@keyframes qIn {
 from { opacity: 0; transform: translateY(6px); }
 to { opacity: 1; transform: none; }
}

.not-row {
 display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.not-item {
 padding: 20px; border-radius: var(--r);
 background: rgba(11, 16, 44, 0.25); border: 1px solid var(--border-dark);
}
.not-item b { display: block; margin-bottom: 8px; color: var(--lime); }
.not-item p { color: var(--body-dark); font-size: 0.92rem; }

.solution-catalog {
 display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px;
}
.sol-item {
 display: flex; flex-direction: column; gap: 6px;
 padding: 18px 14px; border-radius: var(--r);
 background: var(--card-light); border: 1px solid var(--border-light);
 text-decoration: none; color: var(--title-light);
 transition: transform 0.15s, border-color 0.15s, background 0.15s;
}
.sol-item:hover {
 transform: translateY(-3px); border-color: var(--cobalt);
 background: #fff; text-decoration: none;
}
.sol-item b {
 font-family: var(--mono); font-size: 0.72rem; color: var(--coral);
}
.sol-item span { font-weight: 700; font-size: 0.95rem; }

/* ═══════════════════════════════════════
 Platform — Möbius
═══════════════════════════════════════ */
.loop-layout { max-width: 100%; }
.mobius {
 display: grid; grid-template-columns: 1.2fr 0.9fr; gap: 24px; align-items: center;
 --rot: 0deg;
}
.mobius-ring {
 position: relative; aspect-ratio: 1.2; max-height: 420px;
 border-radius: 50% / 42%;
 border: 3px solid var(--cobalt);
 background:
 conic-gradient(from var(--rot), var(--mint), var(--ai), var(--coral), var(--lime), var(--mint));
 mask: radial-gradient(ellipse 55% 48% at 50% 50%, transparent 62%, #000 63%);
 -webkit-mask: radial-gradient(ellipse 55% 48% at 50% 50%, transparent 62%, #000 63%);
 transition: --rot 0.5s ease;
 animation: ringGlow 6s ease-in-out infinite;
}
@keyframes ringGlow {
 0%, 100% { filter: saturate(1); }
 50% { filter: saturate(1.2) brightness(1.05); }
}
.loop-seg {
 position: absolute; width: 28%; text-align: center;
 left: 50%; top: 50%; transform-origin: center;
 transform:
 rotate(calc(var(--i) * 60deg + var(--rot)))
 translateY(-155%)
 rotate(calc(var(--i) * -60deg - var(--rot)));
 padding: 10px 8px; border-radius: 10px;
 background: var(--card-light); border: 1.5px solid var(--border-light);
 font-weight: 700; z-index: 2;
}
.mobius-ring { position: relative; mask: none; -webkit-mask: none;
 background:
 radial-gradient(ellipse 70% 55% at 50% 50%, transparent 42%, rgba(32, 40, 168, 0.08) 43%, transparent 70%),
 var(--paper);
 border: 2px dashed var(--border-dark);
 display: grid; place-items: center;
}
.mobius-ring::before {
 content: ""; position: absolute; inset: 18%;
 border-radius: 50% / 40%;
 border: 14px solid transparent;
 border-top-color: var(--mint);
 border-right-color: var(--ai);
 border-bottom-color: var(--coral);
 border-left-color: var(--lime);
 transform: rotate(var(--rot)) skewY(-8deg);
 transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.loop-seg {
 position: relative; left: auto; top: auto; transform: none;
 margin: 4px;
}
.mobius-ring {
 display: flex; flex-wrap: wrap; align-content: center; justify-content: center;
 gap: 8px; padding: 40px;
}
.loop-seg.is-on {
 background: var(--lime); color: var(--night); border-color: var(--lime);
 box-shadow: 0 8px 24px rgba(217, 255, 87, 0.35);
}
.loop-panel {
 background: var(--card-light); border: 1px solid var(--border-light);
 border-radius: var(--r-lg); padding: 22px;
}
.loop-panel h3 { margin: 8px 0 14px; font-size: 1.4rem; }
.loop-panel ul { display: grid; gap: 10px; }
.loop-panel li { font-size: 0.92rem; color: var(--body-light); }
.loop-panel b { color: var(--title-light); }

/* Acoustic field */
.acoustic {
 position: relative; border-radius: var(--r-lg); padding: 20px;
 background: rgba(42, 52, 186, 0.2); border: 1px solid var(--border-dark);
 overflow: hidden;
}
.wave-field { width: 100%; height: auto; }
.wave { fill: none; stroke-width: 2; stroke-linecap: round; }
.wave-meet { stroke: var(--mint); stroke-width: 2.5; }
.wave-slack { stroke: var(--ai); stroke-width: 2; }
.wave-task { stroke: var(--coral); stroke-width: 2; }
.wave-doc { stroke: var(--warn); stroke-width: 8; opacity: 0.45; }
.baseline { stroke: var(--lime); stroke-dasharray: 6 6; stroke-width: 1.5; opacity: 0.5; }
.acoustic.is-synced .wave-meet,
.acoustic.is-synced .wave-slack,
.acoustic.is-synced .wave-task,
.acoustic.is-synced .wave-doc {
 animation: syncWave 0.8s ease forwards;
}
@keyframes syncWave {
 to { transform: translateY(0); opacity: 1; }
}
.floaters { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.floater {
 padding: 8px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 600;
 background: rgba(255, 177, 61, 0.15); border: 1px dashed var(--warn); color: var(--warn);
 animation: floaty 3s ease-in-out infinite;
}
@keyframes floaty {
 0%, 100% { transform: translateY(0); }
 50% { transform: translateY(-6px); }
}
.floaters.is-cleared { opacity: 0.3; pointer-events: none; }
.sig-detail {
 margin-top: 16px; padding: 16px; border-radius: var(--r);
 background: rgba(11, 16, 44, 0.6); border: 1px solid var(--mint);
}

/* Louver wall */
.louver-wall { display: grid; gap: 8px; }
.louver {
 display: grid; grid-template-columns: 140px 1fr 1fr; gap: 12px; align-items: center;
 text-align: left; padding: 14px 16px; border-radius: 8px;
 background: var(--card-light); border: 1px solid var(--border-light);
 transition: background 0.2s;
}
.louver[data-state="same"] { opacity: 0.55; }
.louver.is-open { background: #fff; border-color: var(--coral); }
.louver.is-dim { opacity: 0.25; }
.lv-theme { font-weight: 800; font-family: var(--sans); }
.lv-prev { color: var(--body-light); text-decoration: line-through; font-size: 0.9rem; }
.lv-now { color: var(--coral); font-weight: 700; font-size: 0.9rem; }
.louver:not(.is-open) .lv-prev,
.louver:not(.is-open) .lv-now { opacity: 0; height: 0; overflow: hidden; }

/* Decision city */
.decision-city {
 display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap;
 min-height: 280px; padding: 24px 16px 0;
 background:
 linear-gradient(180deg, transparent 60%, rgba(32, 40, 168, 0.08)),
 repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(212, 204, 190, 0.4) 40px);
 border: 1px solid var(--border-light); border-radius: var(--r-lg);
}
.city-bldg {
 width: 72px; display: flex; flex-direction: column; justify-content: flex-end;
 gap: 3px; padding: 8px 6px; border-radius: 6px 6px 0 0;
 background: linear-gradient(180deg, var(--card-dark), var(--cobalt));
 color: #fff; border: 1px solid var(--border-dark);
 min-height: calc(60px + var(--floors, 3) * 28px);
 transition: transform 0.2s, opacity 0.2s;
}
.city-bldg.is-ghost { opacity: 0.35; }
.city-bldg.is-conflict {
 background: linear-gradient(180deg, var(--risk), var(--coral));
 box-shadow: 0 0 0 2px var(--risk);
}
.city-bldg.is-on { transform: translateY(-8px); outline: 2px solid var(--lime); }
.city-bldg small { font-size: 0.65rem; font-family: var(--mono); opacity: 0.85; }
.city-bldg b { font-size: 0.72rem; line-height: 1.2; }
.city-detail {
 margin-top: 16px; padding: 18px; border-radius: var(--r);
 background: var(--card-light); border: 1px solid var(--border-light);
}
.city-detail ul { margin-top: 10px; display: grid; gap: 6px; }
.city-detail li { padding-left: 12px; border-left: 3px solid var(--ai); font-size: 0.9rem; }

/* Orbits */
.orbit-sys {
 position: relative; height: 420px; border-radius: 50%;
 max-width: 520px; margin: 0 auto;
 background:
 radial-gradient(circle at 50% 50%, rgba(217, 255, 87, 0.15), transparent 28%),
 radial-gradient(circle, transparent 28%, rgba(75, 88, 213, 0.25) 29%, transparent 30%),
 radial-gradient(circle, transparent 48%, rgba(75, 88, 213, 0.2) 49%, transparent 50%),
 radial-gradient(circle, transparent 68%, rgba(75, 88, 213, 0.15) 69%, transparent 70%);
 border: 1px solid var(--border-dark);
}
.orbit-core {
 position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
 width: 72px; height: 72px; border-radius: 50%;
 background: var(--mint); color: var(--night);
 display: grid; place-items: center; font-weight: 800; font-size: 0.75rem;
 z-index: 3;
}
.orbit { position: absolute; inset: 0; }
.body {
 position: absolute; left: 50%; top: 50%;
 transform: rotate(var(--a, 0deg)) translateX(140px) rotate(calc(var(--a, 0deg) * -1));
 padding: 8px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 700;
 background: var(--card-dark); border: 1px solid var(--border-dark); color: #fff;
 white-space: nowrap; z-index: 2;
}
.o1 .body { transform: rotate(var(--a)) translateX(110px) rotate(calc(var(--a) * -1)); }
.o2 .body { transform: rotate(var(--a)) translateX(160px) rotate(calc(var(--a) * -1)); }
.o3 .body { transform: rotate(var(--a)) translateX(200px) rotate(calc(var(--a) * -1)); }
.body.is-near { background: var(--warn); color: var(--night); border-color: var(--warn); transform: rotate(var(--a)) translateX(90px) rotate(calc(var(--a) * -1)); }
.body.is-late { background: var(--risk); border-color: var(--risk); animation: drift 2s ease-in-out infinite; }
.body.is-bridge { left: 18%; top: 22%; transform: none; border-style: dashed; border-color: var(--ai); }
.body.is-owned { border-style: solid; border-color: var(--mint); }
.body.is-done { background: var(--mint); color: var(--night); left: 50%; top: 50%; transform: translate(-50%, -50%); }
@keyframes drift {
 0%, 100% { transform: rotate(var(--a)) translateX(210px) rotate(calc(var(--a) * -1)); }
 50% { transform: rotate(var(--a)) translateX(230px) rotate(calc(var(--a) * -1)); }
}

/* Thread field */
.thread-field {
 position: relative; min-height: 360px; border-radius: var(--r-lg);
 background:
 radial-gradient(circle at 30% 40%, rgba(169, 140, 255, 0.15), transparent 40%),
 rgba(11, 16, 44, 0.4);
 border: 1px solid var(--border-dark); overflow: hidden;
}
.thread {
 position: absolute; left: var(--x); top: var(--y);
 max-width: 180px; text-align: left; padding: 10px 12px;
 border-radius: 8px; background: rgba(42, 52, 186, 0.7);
 border: 1px solid var(--border-dark); color: #fff;
 font-size: 0.8rem;
}
.thread::before {
 content: ""; position: absolute; left: -40px; top: 50%;
 width: 40px; height: 2px; background: var(--ai);
 transform-origin: right center;
}
.thread.is-loose { border-color: var(--warn); }
.thread.is-loose::before { background: var(--warn); width: 60px; left: -60px; }
.thread.is-knot { border-color: var(--mint); opacity: 0.7; }
.thread.is-knot::after {
 content: "●"; position: absolute; left: -8px; top: 40%; color: var(--mint); font-size: 1rem;
}
.thread.is-pulse { animation: pulseT 0.8s ease 2; }
@keyframes pulseT {
 50% { box-shadow: 0 0 0 6px rgba(255, 177, 61, 0.35); }
}
.thread-detail {
 margin-top: 16px; padding: 16px; border-radius: var(--r);
 background: rgba(11, 16, 44, 0.5); border: 1px solid var(--ai);
}

/* Recap studio */
.studio-layout {
 display: grid; grid-template-columns: 1.3fr 0.8fr; gap: 20px; align-items: start;
}
.rundown { display: grid; gap: 8px; }
.rundown-seg {
 display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
 padding: 14px 16px; border-radius: 8px;
 background: var(--card-light); border: 1px solid var(--border-light);
 border-left: 4px solid var(--cobalt);
}
.rundown-seg b { flex: 1; font-size: 1.05rem; }
.pending-bay {
 padding: 18px; border-radius: var(--r-lg);
 background: rgba(169, 140, 255, 0.08); border: 1px dashed var(--ai);
}
.pending-bay.is-included { border-style: solid; background: rgba(85, 216, 194, 0.1); }
.pend-item {
 display: block; width: 100%; text-align: left; padding: 10px;
 margin-top: 8px; border-radius: 8px; font-size: 0.85rem;
 background: var(--card-light); border: 1px solid var(--border-light);
}

/* Prism */
.prism-layout {
 display: grid; grid-template-columns: 1.2fr 0.9fr; gap: 24px; align-items: center;
}
.prism {
 position: relative; min-height: 320px;
 display: grid; place-items: center; gap: 16px;
}
.prism-in {
 padding: 16px 20px; border-radius: var(--r);
 background: rgba(11, 16, 44, 0.35); border: 1px solid var(--lime); text-align: center;
}
.prism-core {
 width: 0; height: 0;
 border-left: 70px solid transparent;
 border-right: 70px solid transparent;
 border-bottom: 120px solid rgba(169, 140, 255, 0.55);
 filter: drop-shadow(0 12px 24px rgba(169, 140, 255, 0.4));
 animation: prismSpin 8s linear infinite;
}
@keyframes prismSpin {
 0%, 100% { transform: rotate(-2deg); }
 50% { transform: rotate(2deg) scale(1.03); }
}
.prism-outs {
 display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%;
}
.prism-out {
 padding: 14px; border-radius: 8px; text-align: left;
 background: rgba(42, 52, 186, 0.5); border: 1px solid var(--border-dark); color: #fff;
}
.prism-out.is-on { border-color: var(--lime); background: rgba(217, 255, 87, 0.15); color: var(--lime); }
.prism-out.is-approved { border-color: var(--mint); box-shadow: inset 0 0 0 1px var(--mint); }
.view-detail {
 padding: 20px; border-radius: var(--r-lg);
 background: rgba(11, 16, 44, 0.4); border: 1px solid var(--border-dark);
 display: grid; gap: 12px;
}

/* Event rail */
.event-rail {
 display: grid; gap: 16px;
}
.rail-in, .rail-out, .rail-track {
 display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.carriage, .station, .rail-out-item, .hub {
 padding: 10px 14px; border-radius: 8px; font-weight: 700; font-size: 0.82rem;
 border: 1px solid var(--border-dark); background: var(--card-dark); color: #fff;
}
.carriage.is-on, .station:hover, .hub.is-on {
 border-color: var(--lime); color: var(--lime);
}
.station { background: rgba(169, 140, 255, 0.2); border-color: var(--ai); }
.rail-out-item { background: rgba(85, 216, 194, 0.15); border-color: var(--mint); color: var(--mint); }
.event-rail.is-running .carriage { animation: carMove 1.2s ease; }
@keyframes carMove {
 from { transform: translateX(-8px); opacity: 0.5; }
 to { transform: none; opacity: 1; }
}
.code-block {
 margin: 0; padding: 16px; border-radius: var(--r);
 background: rgba(11, 16, 44, 0.8); border: 1px solid var(--border-dark);
 font-family: var(--mono); font-size: 0.78rem; color: var(--mint); overflow: auto;
}
.hub-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hub-strip--light .hub {
 background: var(--card-light); color: var(--title-light); border-color: var(--border-light);
}

/* Pricing cadence */
.price-layout {
 display: grid; grid-template-columns: 1.4fr 0.85fr; gap: 24px; align-items: start;
}
.cadence {
 display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px;
 background: var(--card-light); border: 1px solid var(--border-light);
 border-radius: var(--r-lg); padding: 16px;
}
.cal-col { display: grid; gap: 6px; justify-items: center; }
.cal-cell {
 width: 100%; aspect-ratio: 1.4; border-radius: 6px;
 background: var(--paper); border: 1px solid var(--border-light);
}
.cal-cell.is-on {
 background: var(--cobalt); border-color: var(--lime);
 box-shadow: inset 0 0 0 2px var(--lime);
}
.cal-col small { font-size: 0.68rem; color: var(--body-light); text-align: center; }
.plan-card {
 padding: 24px; border-radius: var(--r-lg);
 background: var(--card-light); border: 2px solid var(--cobalt);
 box-shadow: var(--shadow);
}
.plan-card h2 { margin: 8px 0; font-size: 1.8rem; }
.plan-card .price { font-family: var(--sans); font-size: 2.2rem; font-weight: 800; margin: 8px 0 16px; letter-spacing: -0.02em; }
.plan-card .price span { font-size: 0.9rem; font-weight: 600; color: var(--body-light); }
.chapter-compare { margin-top: 28px; overflow: auto; }
.chapter-compare table { width: 100%; border-collapse: collapse; background: var(--card-light); }
.chapter-compare th, .chapter-compare td {
 padding: 12px 14px; border: 1px solid var(--border-light); text-align: left; font-size: 0.9rem;
}
.chapter-compare th { background: var(--cobalt); color: #fff; }

/* About + misc */
.about-system {
 font-family: var(--sans); font-size: clamp(1.6rem, 3vw, 2.2rem);
 font-weight: 800; margin-bottom: 12px; max-width: 22ch; line-height: 1.2; letter-spacing: -0.01em;
}
.about-grid {
 display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 8px;
}
.about-grid h2 { margin: 8px 0 10px; font-size: 1.5rem; }
.check-list, .about-list { display: grid; gap: 10px; }
.check-list li, .about-list li {
 padding: 12px 14px; border-radius: 8px;
 background: var(--card-light); border: 1px solid var(--border-light);
 font-weight: 600;
}
.check-list li::before { content: "→ "; color: var(--coral); font-family: var(--mono); }
.status-list { display: grid; gap: 10px; }
.status-list li {
 display: flex; align-items: center; gap: 10px; font-weight: 600;
 padding: 12px; background: var(--card-light); border-radius: 8px; border: 1px solid var(--border-light);
}
.status-list .ok {
 width: 10px; height: 10px; border-radius: 50%; background: var(--mint); display: inline-block;
}
.contact-grid {
 display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start;
}
.contact-form {
 background: var(--card-light); border: 1px solid var(--border-light);
 border-radius: var(--r-lg); padding: 22px;
}
.contact-form label { color: var(--title-light); }
.scan-form label { color: var(--title-light); }
.usage-factors label { color: var(--title-light); }
.changelog article {
 padding: 18px 0; border-bottom: 1px solid var(--border-light);
}
.changelog time { font-family: var(--mono); font-size: 0.75rem; color: var(--cobalt); }
.changelog h3 { margin: 6px 0 8px; }
.legal-prose { max-width: 65ch; }
.cookie-panel { margin-top: 20px; display: grid; gap: 12px; max-width: 360px; }
.cookie-row {
 display: flex; justify-content: space-between; align-items: center;
 flex-direction: row; padding: 12px; border: 1px solid var(--border-light); border-radius: 8px;
}
.cookie-row input { width: auto; }

/* Auth — high contrast on light form panel */
.auth-body {
 min-height: 100dvh; margin: 0;
 font-family: var(--sans);
 background:
 radial-gradient(ellipse 60% 40% at 20% 10%, rgba(217, 255, 87, 0.1), transparent),
 var(--night);
 color: var(--title-dark);
 -webkit-font-smoothing: antialiased;
}
.auth-shell {
 width: min(440px, calc(100% - 40px)); margin: 0 auto;
 padding: 48px 0 40px; display: flex; flex-direction: column; gap: 20px;
}
.auth-brand {
 display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none;
 font-family: var(--sans); font-size: 1.35rem; font-weight: 800; letter-spacing: -0.01em;
}
.auth-brand:hover { text-decoration: none; color: #fff; }
.auth-card {
 background: rgba(42, 52, 186, 0.35); border: 1px solid var(--border-dark);
 border-radius: var(--r-lg); padding: 28px;
}
.auth-card h1 {
 font-family: var(--sans); font-size: 1.65rem; font-weight: 800;
 margin: 8px 0 10px; line-height: 1.25; letter-spacing: -0.01em; color: #fff;
}
.auth-card .lead { color: var(--body-dark); margin-bottom: 18px; line-height: 1.55; }
.auth-card .kicker { color: var(--lime); }
.auth-form {
 background: #FFFEFA;
 border: 1px solid rgba(255, 255, 255, 0.2);
 border-radius: var(--r-lg);
 padding: 22px;
}
.auth-form label {
 color: #171A35;
 font-weight: 700;
 font-size: 0.95rem;
}
.auth-form input {
 background: #fff;
 border: 1.5px solid #D4CCBE;
 color: #171A35;
 font-size: 1rem;
}
.auth-form input::placeholder { color: #8a8b9a; }
.auth-form input:focus {
 outline: 2px solid var(--cobalt);
 outline-offset: 1px;
 border-color: var(--cobalt);
}
.auth-alt { margin-top: 16px; font-size: 0.95rem; color: var(--body-dark); line-height: 1.5; }
.auth-alt a { color: var(--mint); font-weight: 600; }
.auth-alt .linkish { color: var(--lime); font-weight: 700; }
.auth-foot { font-size: 0.82rem; color: rgba(220, 225, 255, 0.7); text-align: center; line-height: 1.45; }
.auth-form .btn-primary { color: var(--night); font-weight: 800; }

/* Sample continuity record + ten questions */
.keyword-strip {
 display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding: 0;
}
.keyword-strip li {
 font-family: var(--mono); font-size: 0.68rem; font-weight: 600;
 letter-spacing: 0.06em; text-transform: uppercase;
 padding: 6px 10px; border-radius: 999px;
 border: 1px solid rgba(217, 255, 87, 0.45); color: var(--lime);
}
.sample-record {
 background: var(--card-light); border: 1px solid var(--border-light);
 border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow);
}
.sample-head {
 display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
 margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--border-light);
}
.sample-head strong { font-family: var(--sans); font-size: 1.25rem; font-weight: 800; margin-right: auto; }
.sample-vers { display: flex; gap: 6px; flex-wrap: wrap; }
.ver {
 font-family: var(--mono); font-size: 0.72rem; font-weight: 700;
 padding: 6px 10px; border-radius: 8px;
 border: 1px solid var(--border-light); background: var(--paper);
}
.ver.is-on { background: var(--cobalt); color: #fff; border-color: var(--lime); }
.sample-grid {
 display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.sample-list { display: grid; gap: 8px; margin-top: 8px; }
.sample-list li {
 font-size: 0.9rem; padding: 10px 12px; border-radius: 8px;
 background: var(--paper); border-left: 3px solid var(--cobalt);
}
.sample-list .is-coral { border-left-color: var(--coral); }
.sample-list .is-mint { border-left-color: var(--mint); }
.sample-list .is-risk { border-left-color: var(--risk); }
.sample-list .is-ghost { opacity: 0.55; }
.sample-list .strike, .strike { text-decoration: line-through; color: var(--body-light); }
.sample-list time, .sample-list .strike { font-family: var(--mono); font-size: 0.72rem; }
.coral-add { color: var(--coral); font-weight: 700; }
.mint-done { color: var(--mint); font-weight: 700; }
.ten-q {
 display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
 counter-reset: tq; list-style: none; padding: 0;
}
.ten-q li {
 counter-increment: tq; padding: 14px 16px 14px 48px; position: relative;
 background: var(--card-light); border: 1px solid var(--border-light); border-radius: var(--r);
 font-size: 0.95rem;
}
.ten-q li::before {
 content: counter(tq, decimal-leading-zero);
 position: absolute; left: 14px; top: 14px;
 font-family: var(--mono); font-size: 0.72rem; font-weight: 700; color: var(--coral);
}

.wave-legend {
 display: flex; flex-wrap: wrap; gap: 12px 18px; margin-bottom: 14px;
 font-size: 0.82rem; color: var(--body-dark);
}
.wave-legend i {
 display: inline-block; width: 18px; height: 8px; border-radius: 2px; margin-right: 6px; vertical-align: middle;
}
.lg-meet { background: var(--mint); }
.lg-slack { background: var(--ai); }
.lg-task { background: var(--coral); }
.lg-doc { background: var(--warn); height: 4px !important; }

.louver-key {
 display: flex; flex-wrap: wrap; gap: 12px 18px; margin-bottom: 12px; font-size: 0.82rem;
}
.lv-hint {
 grid-column: 1 / -1; font-family: var(--mono); font-size: 0.68rem; color: var(--ai);
}
.louver { grid-template-columns: 140px 1fr 1fr; }
.city-bldg .bldg-roof, .city-bldg .bldg-floors, .city-bldg .bldg-base {
 display: block; font-family: var(--mono); font-size: 0.58rem; opacity: 0.85; line-height: 1.3;
}
.orbit-label {
 position: absolute; left: 50%; top: 8%; transform: translateX(-50%);
 font-family: var(--mono); font-size: 0.68rem; color: var(--lime); z-index: 1;
}
.o2 .orbit-label { top: auto; bottom: 8%; }
.o3 .orbit-label { left: 8%; top: 50%; transform: none; }

.thread-timeline { margin-top: 12px; display: grid; gap: 6px; }
.thread-timeline li {
 padding: 8px 10px; border-left: 3px solid var(--ai); font-size: 0.85rem; color: var(--body-dark);
}

.studio-toolbar {
 display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center;
 margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--border-light);
}
.level-switch, .export-strip { display: flex; flex-wrap: wrap; gap: 6px; }
.level-switch .chip.is-on { background: var(--lime); color: var(--night); border-color: var(--lime); }
.seg-meta { font-size: 0.78rem; color: var(--body-light); width: 100%; }
.fact-lock {
 font-size: 0.85rem; color: var(--lime); margin-bottom: 10px;
 padding: 10px; border: 1px dashed var(--lime); border-radius: 8px;
}

.docs-grid {
 display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 8px;
}
.doc-card {
 padding: 18px; border-radius: var(--r);
 background: rgba(42, 52, 186, 0.35); border: 1px solid var(--border-dark);
}
.doc-card h3 { margin: 8px 0 10px; font-size: 1.1rem; }
.doc-card p, .doc-list { font-size: 0.88rem; color: var(--body-dark); }
.doc-list { display: grid; gap: 8px; margin-top: 8px; }
.doc-card code { font-family: var(--mono); font-size: 0.78rem; color: var(--mint); }

.hub-grid {
 display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px;
}
.hub-card {
 text-align: left; padding: 14px; border-radius: var(--r);
 background: var(--card-light); border: 1px solid var(--border-light);
 display: flex; flex-direction: column; gap: 4px;
}
.hub-card:hover, .hub-card.is-on { border-color: var(--cobalt); }
.hub-card small { font-size: 0.75rem; color: var(--body-light); }
.hub-detail {
 padding: 18px; border-radius: var(--r); background: var(--card-light);
 border: 1px solid var(--border-light);
}
.hub-detail ul { margin-top: 10px; display: grid; gap: 8px; font-size: 0.9rem; }

.usage-factors {
 display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
 gap: 10px; margin-top: 14px;
}
.usage-factors label { font-size: 0.78rem; margin: 0; }
.cal-cell span {
 display: block; font-size: 0.55rem; font-weight: 700; line-height: 1.1;
 color: var(--lime); padding: 2px; overflow: hidden;
}
.cal-cell:not(.is-on) span { color: transparent; }

/* English file picker — hide native browser locale UI */
.file-field { display: block; margin-top: 6px; }
.file-field-ui { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.file-field-name {
 font-size: 0.85rem; color: var(--body-light); font-weight: 500;
 max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.scan-form .file-field-ui .btn { color: var(--cobalt); border-color: var(--cobalt); }

/* Responsive */
@media (max-width: 960px) {
 .nav-main { display: none; }
 .nav-toggle { display: inline-flex; }
 .edition-top, .stage-headline, .scan-layout, .mobius,
 .studio-layout, .prism-layout, .price-layout, .about-grid, .contact-grid,
 .sample-grid, .ten-q, .docs-grid, .hub-grid {
 grid-template-columns: 1fr;
 }
 .solution-catalog { grid-template-columns: repeat(2, 1fr); }
 .not-row { grid-template-columns: 1fr; }
 .footer-grid { grid-template-columns: 1fr 1fr; }
 .stage-board { flex-direction: column; min-height: 0; }
 .stage-col, .stage-col--next { flex: 1 1 auto !important; width: 100%; }
 .stage-split { display: none; }
 .louver { grid-template-columns: 1fr; }
 .cadence { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 560px) {
 .footer-grid { grid-template-columns: 1fr; }
 .solution-catalog { grid-template-columns: 1fr; }
 .header-actions .btn-ghost { display: none; }
}
