/* Kaze Investment Analysis Ltd. | kaze.finance */
:root {
  /* Sumi (charcoal) + ochre palette */
  --bg: #121211;
  --bg-2: #1a1917;
  --surface: #1f1e1b;
  --panel: #1a1917;
  --panel-2: #252420;
  --line: rgba(240, 232, 214, 0.08);
  --line-2: rgba(240, 232, 214, 0.14);
  --text: #ece7dc;
  --text-2: #b8b2a5;
  --muted: #8a857b;
  --faint: #67625a;
  --accent: #c9a54e;
  --accent-2: #dcc07a;
  --accent-ink: #1c1708;
  --glow: rgba(201, 165, 78, 0.25);
  --up: #d9645a;
  --down: #6fae86;
  --gold: #c9a54e;
  --series-a: #c9a54e;
  --series-b: #7f9bb8;
  --radius: 14px;
  --sans: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
  --display: "Space Grotesk", "Zen Kaku Gothic New", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 1240px;
  --header-h: 60px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.85; color: var(--text);
  background: var(--bg); letter-spacing: 0.02em; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.35; font-weight: 700; letter-spacing: .01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.num, .mono { font-family: var(--mono); font-feature-settings: "tnum"; letter-spacing: 0; }
::selection { background: rgba(201,165,78,.3); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; position: relative; }
.section-sm { padding: 72px 0; position: relative; }
main > .section:nth-of-type(even) { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grad-text { color: var(--accent); }

.chip {
  display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 16px 0 12px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--line-2); font-size: 12.5px; color: var(--text-2); letter-spacing: .06em;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent);  animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.kicker { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: .2em; text-transform: uppercase; display: inline-flex; gap: 10px; align-items: center; }
.kicker::before { content: "//"; color: var(--faint); }
.h-display { font-family: var(--display); font-size: clamp(40px, 7vw, 88px); line-height: 1.12; letter-spacing: -.01em; font-weight: 700; }
.h-section { font-family: var(--display); font-size: clamp(30px, 4.2vw, 50px); line-height: 1.25; margin-top: 16px; letter-spacing: -.005em; }
.lead { font-size: 17px; color: var(--text-2); line-height: 2; }
.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head .lead { margin-top: 20px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 24px; border-radius: 10px;
  font-size: 15px; font-weight: 700; letter-spacing: .04em; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .2s, box-shadow .25s, background .2s, border-color .2s, color .2s;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-2); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 13px; border-radius: 8px; }
.btn-block { width: 100%; }
.arrow::after { content: "→"; transition: transform .2s; display: inline-block; margin-left: 8px; }
.btn:hover .arrow::after { transform: translateX(4px); }

/* Header */
.header { position: sticky; top: 0; z-index: 60; background: rgba(26,25,23,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header.scrolled { background: rgba(26,25,23,.97); }
.header .wrap { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark { width: 34px; height: 34px; object-fit: contain; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text b { font-family: var(--display); font-size: 17px; letter-spacing: .14em; }
.logo-text small { font-family: var(--mono); font-size: 8.5px; color: var(--muted); letter-spacing: .16em; margin-top: 3px; }
/* nav clips instead of pushing the layout; app.js switches to the menu button when links stop fitting (e.g. after page translation) */
.nav { display: flex; gap: 2px; flex: 1 1 auto; min-width: 0; overflow: hidden; height: 100%; }
.nav a:first-child { margin-left: auto; }
.nav a { font-size: 13.5px; padding: 0 12px; display: flex; align-items: center; color: var(--text-2); transition: color .2s, box-shadow .2s; white-space: nowrap; flex-shrink: 0; }
.nav a:hover { color: var(--text); }
.nav a.active { color: var(--accent-2); box-shadow: inset 0 -2px 0 var(--accent); }
.header-cta { display: flex; gap: 10px; }
.menu-btn { display: none; flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel); cursor: pointer; position: relative; margin-left: auto; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { position: absolute; left: 10px; width: 18px; height: 1.5px; background: var(--text); content: ""; transition: transform .25s, top .25s, background .2s; }
.menu-btn span { top: 19px; }
.menu-btn span::before { left: 0; top: -6px; }
.menu-btn span::after { left: 0; top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-btn span::after { top: 0; transform: rotate(-45deg); }

.status-bar { border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11px; color: var(--muted); background: var(--bg); }
.status-bar .wrap { display: flex; gap: 22px; align-items: center; height: 28px; overflow: hidden; white-space: nowrap; }
.status-bar b { color: var(--text-2); font-weight: 600; }
.status-bar .live { color: var(--accent); display: inline-flex; align-items: center; gap: 8px; }
.status-bar .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.status-bar .r { margin-left: auto; }

/* Hero */
.hero { padding: 90px 0 40px; text-align: center; position: relative; }
.hero-glow { position: absolute; inset: 0 0 auto; height: 980px; pointer-events: none; z-index: -1;
  background: linear-gradient(180deg, rgba(18,18,17,.45) 0%, rgba(18,18,17,.68) 45%, var(--bg) 92%), linear-gradient(90deg, rgba(18,18,17,.7), transparent 30%, transparent 70%, rgba(18,18,17,.7)), url("https://images.unsplash.com/photo-1614541129217-9d45d7738fe2?auto=format&fit=crop&q=70&w=2000") center 30% / cover; }
.hero h1 { margin-top: 28px; }
.hero .lead { max-width: 700px; margin: 28px auto 0; }
.cmd {
  max-width: 680px; margin: 40px auto 0; display: flex; align-items: center; gap: 14px; height: 64px; padding: 0 10px 0 22px;
  border-radius: 18px; background: rgba(11, 15, 25, .75); border: 1px solid var(--line-2); text-align: left;
  box-shadow: 0 0 0 6px rgba(201,165,78,.05), 0 30px 60px -20px rgba(0,0,0,.6); backdrop-filter: blur(12px);
}
.cmd svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 2; flex-shrink: 0; }
.cmd .q { flex: 1; color: var(--text); font-size: 15.5px; overflow: hidden; white-space: nowrap; text-overflow: clip; min-width: 0; }
.cmd kbd { font-family: var(--mono); font-size: 11px; color: var(--muted); border: 1px solid var(--line-2); border-radius: 6px; padding: 2px 7px; }
.cmd .go { height: 46px; padding: 0 20px; border-radius: 12px; display: inline-flex; align-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 14px; white-space: nowrap; }
.typing-caret::after { content: ""; display: inline-block; width: 2px; height: 1.1em; background: var(--accent); margin-left: 2px; vertical-align: -3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-actions { display: flex; justify-content: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 12.5px; color: var(--muted); }

/* Terminal mock */
.terminal {
  margin-top: 72px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--surface);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.8);
  overflow: hidden; text-align: left; position: relative;
}
.term-top { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--muted); }
.term-top .dots { display: flex; gap: 6px; }
.term-top .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.term-top .tabs-mini { display: flex; gap: 4px; }
.term-top .tabs-mini span { padding: 4px 10px; border-radius: 6px; }
.term-top .tabs-mini span.on { background: var(--panel-2); color: var(--text); }
.term-top .tag { margin-left: auto; color: var(--gold); border: 1px solid rgba(201,165,78,.3); padding: 2px 8px; border-radius: 6px; font-size: 10.5px; }
.term-grid { display: grid; grid-template-columns: 230px minmax(0, 1fr) 360px; min-height: 440px; }
.term-col { padding: 18px; border-right: 1px solid var(--line); min-width: 0; }
.term-col:last-child { border-right: 0; }
.term-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; color: var(--faint); text-transform: uppercase; margin-bottom: 12px; }
.idx { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.idx:last-child { border-bottom: 0; }
.idx small { display: block; font-size: 12px; color: var(--muted); }
.idx b { font-family: var(--mono); font-size: 17px; font-weight: 600; }
.idx span { font-family: var(--mono); font-size: 12px; margin-left: 6px; }
.term-chart-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.term-chart-head h4 { font-size: 18px; }
.term-chart-head h4 small { font-family: var(--mono); color: var(--muted); font-size: 12px; margin-left: 8px; font-weight: 400; }
.term-chart-head .px { font-family: var(--mono); font-size: 28px; font-weight: 600; line-height: 1.1; }
.range { display: flex; gap: 4px; font-family: var(--mono); font-size: 11px; }
.range span { padding: 3px 9px; border-radius: 6px; color: var(--muted); border: 1px solid transparent; }
.range span.on { color: var(--accent); border-color: rgba(201,165,78,.4); background: rgba(201,165,78,.08); }
.hero-chart { margin-top: 14px; }
.hero-chart svg { width: 100%; height: 260px; display: block; }
.hero-chart .line { stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: draw 3s ease forwards .3s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.term-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: 10px; overflow: hidden; margin-top: 14px; }
.term-metrics div { background: var(--surface); padding: 10px 12px; }
.term-metrics small { display: block; font-size: 11px; color: var(--muted); }
.term-metrics b { font-family: var(--mono); font-size: 14px; font-weight: 600; }
.ai-msg { font-size: 13.5px; line-height: 1.9; color: var(--text-2); }
.ai-q { background: rgba(201,165,78,.08); border: 1px solid rgba(201,165,78,.25); border-radius: 12px; padding: 10px 14px; color: var(--text); font-size: 13px; margin-bottom: 14px; }
.ai-head { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.ai-head .logo-mark { width: 22px; height: 22px; }
.cite { display: inline-grid; place-items: center; min-width: 18px; height: 17px; padding: 0 4px; border-radius: 4px; background: rgba(201,165,78,.15); color: var(--accent-2); font: 700 10px var(--mono); vertical-align: 2px; margin-left: 2px; }
.mini-table { width: 100%; border-collapse: collapse; font-size: 12.5px; margin: 10px 0; }
.mini-table th, .mini-table td { padding: 7px 6px; border-bottom: 1px solid var(--line); text-align: right; }
.mini-table th:first-child, .mini-table td:first-child { text-align: left; }
.mini-table th { font-weight: 500; color: var(--muted); font-size: 11px; }
.mini-table td { font-family: var(--mono); color: var(--text); }
.mini-table td:first-child { font-family: var(--sans); color: var(--text-2); }
.sources { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.sources span { font-size: 11px; padding: 3px 9px; border: 1px solid var(--line-2); border-radius: 6px; color: var(--muted); font-family: var(--mono); }
.research-label { margin-top: 14px; font-size: 11px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.research-label::before { content: "i"; width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--faint); display: grid; place-items: center; font-size: 9.5px; font-weight: 700; flex-shrink: 0; }

/* Ticker */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); overflow: hidden; position: relative; }
.ticker::before, .ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(90deg, var(--bg-2), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--bg-2), transparent); }
.ticker-track { display: flex; width: max-content; animation: tick 70s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: flex; gap: 10px; align-items: baseline; padding: 14px 26px; font-size: 13px; white-space: nowrap; border-right: 1px solid var(--line); }
.ticker-item .code { font-family: var(--mono); color: var(--faint); font-size: 11.5px; }
.ticker-item .name { color: var(--text-2); }
.ticker-item .num { font-size: 13px; }
@keyframes tick { to { transform: translateX(-50%); } }
.up { color: var(--up); }
.down { color: var(--down); }
.flat { color: var(--muted); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.stat { padding: 34px 30px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--display); font-size: clamp(36px, 4vw, 52px); line-height: 1; font-weight: 700; }
.stat b em { font-style: normal; font-size: .45em; color: var(--muted); margin-left: 4px; }
.stat span { display: block; margin-top: 12px; font-size: 13.5px; color: var(--muted); }

/* Glass card */
.glass { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); position: relative; overflow: hidden; transition: border-color .3s, transform .3s; }
.glass.hover:hover { border-color: rgba(201,165,78,.4); transform: translateY(-3px); }
.glass.hover::after { content: none; }
.glass.hover:hover::after { opacity: 1; }
.pad { padding: 32px; }
.icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(201,165,78,.1); border: 1px solid rgba(201,165,78,.25); color: var(--accent); }
.icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon.v { background: rgba(127,155,184,.12); border-color: rgba(127,155,184,.3); color: #9db3cb; }
.glass h3 { font-size: 20px; margin-top: 20px; }
.glass p { color: var(--text-2); font-size: 14.5px; margin-top: 10px; line-height: 1.95; }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.bento > * { min-width: 0; }
.b-4 { grid-column: span 4; } .b-3 { grid-column: span 3; } .b-2 { grid-column: span 2; }
.bento-visual { margin-top: 26px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 72px; align-items: center; }
.split.rev > :first-child { order: 2; }

.asset { padding: 28px; }
.asset-img { display: block; width: calc(100% + 56px); max-width: none; height: 150px; margin: -28px -28px 22px; object-fit: cover; filter: saturate(.75) brightness(.85); border-bottom: 1px solid var(--line); transition: filter .4s, transform .6s; }
.asset:hover .asset-img { filter: saturate(1) brightness(1); }
.asset .code { font-family: var(--mono); font-size: 11.5px; color: var(--accent); letter-spacing: .14em; }
.asset h3 { margin-top: 10px; font-size: 22px; }
.asset .big { font-family: var(--sans); font-weight: 900; font-size: 92px; line-height: 1; position: absolute; right: 14px; bottom: -12px; color: rgba(240,232,214,.04); }
.asset ul { margin-top: 16px; display: grid; gap: 4px; position: relative; }
.asset li { font-size: 13.5px; color: var(--text-2); display: flex; gap: 10px; align-items: center; }
.asset li::before { content: ""; width: 5px; height: 5px; border-radius: 1px; background: var(--accent); transform: rotate(45deg); flex-shrink: 0; }

/* Heatmap */
.heatmap { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 74px; grid-auto-flow: dense; gap: 4px; }
.tile {
  border-radius: 8px; padding: 10px 12px; display: flex; flex-direction: column; justify-content: space-between; cursor: pointer; min-width: 0;
  border: 1px solid rgba(240,232,214,.06); transition: transform .15s, box-shadow .15s, filter .15s; position: relative; overflow: hidden;
}
.tile:hover, .tile:focus-visible { transform: scale(1.02); box-shadow: 0 0 0 1px rgba(240,232,214,.5); z-index: 2; outline: none; }
.tile b { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.tile small { font-family: var(--mono); font-size: 10.5px; opacity: .7; }
.tile .c { font-family: var(--mono); font-size: 13px; font-weight: 600; }
.tile.w4 { grid-column: span 4; grid-row: span 2; } .tile.w4 b { font-size: 16px; } .tile.w4 .c { font-size: 18px; }
.tile.w3 { grid-column: span 3; grid-row: span 2; } .tile.w3 b { font-size: 14px; } .tile.w3 .c { font-size: 16px; }
.tile.w2 { grid-column: span 2; }
.heat-legend { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 14px; flex-wrap: wrap; }
.heat-legend .bar { display: flex; height: 10px; border-radius: 3px; overflow: hidden; }
.heat-legend .bar i { width: 26px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; position: relative; }
.step { padding: 34px 30px; }
.step .n { font-family: var(--mono); font-size: 13px; color: var(--accent); display: flex; align-items: center; gap: 12px; }
.step .n::after { content: ""; height: 1px; flex: 1; background: var(--line-2); }
.step h3 { font-size: 21px; margin-top: 22px; }

/* Lists */
.check-list { display: grid; gap: 14px; margin-top: 28px; }
.check-list li { display: flex; gap: 14px; font-size: 15px; color: var(--text-2); }
.check-list li::before { content: "✓"; flex-shrink: 0; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: rgba(201,165,78,.12); color: var(--accent); font-size: 12px; font-weight: 700; margin-top: 4px; border: 1px solid rgba(201,165,78,.3); }
.x-list li::before { content: "×"; background: rgba(217,100,90,.1); color: var(--up); border-color: rgba(217,100,90,.3); font-size: 14px; }

/* Tables */
.table-wrap { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 780px; }
.table th { text-align: left; font-weight: 500; font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .1em; padding: 14px 18px; border-bottom: 1px solid var(--line); background: rgba(27,26,24,.9); white-space: nowrap; position: sticky; top: 0; z-index: 1; }
.table td { padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table .r { text-align: right; } .table .c { text-align: center; }
.table.clickable tbody tr { cursor: pointer; transition: background .15s; }
.table.clickable tbody tr:hover, .table.clickable tbody tr:focus-visible { background: rgba(201,165,78,.05); outline: none; }
.table th.sortable { cursor: pointer; user-select: none; }
.table th.sortable:hover { color: var(--text); }
.table th .sort-ind { opacity: .5; margin-left: 4px; }
.table th.sorted { color: var(--accent); } .table th.sorted .sort-ind { opacity: 1; }
.stock-name b { display: block; font-weight: 700; }
.stock-name small { color: var(--faint); font-size: 11.5px; font-family: var(--mono); }
.pill { display: inline-block; font-size: 11.5px; padding: 2px 10px; border-radius: 6px; background: var(--panel-2); color: var(--text-2); white-space: nowrap; border: 1px solid var(--line); }
.risk { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12.5px; }
.risk-bar { display: flex; gap: 2px; }
.risk-bar i { width: 4px; height: 12px; border-radius: 1px; background: var(--line-2); }
.risk-bar i.on { background: var(--accent); }
.risk-label { font-family: var(--sans); font-size: 11px; color: var(--muted); }
.star { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; display: inline-grid; place-items: center; color: var(--muted); font-size: 15px; transition: all .2s; }
.star:hover { border-color: var(--gold); color: var(--gold); }
.star.on { background: rgba(201,165,78,.12); border-color: var(--gold); color: var(--gold); }

/* Toolbar */
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.tabs { display: inline-flex; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 4px; gap: 2px; flex-wrap: wrap; }
.tabs button { border: 0; background: transparent; padding: 7px 16px; border-radius: 9px; font-size: 13.5px; cursor: pointer; color: var(--text-2); }
.tabs button.on { background: rgba(201,165,78,.15); color: var(--text); box-shadow: 0 0 0 1px rgba(201,165,78,.4) inset; }
.input, .select { height: 44px; border: 1px solid var(--line-2); border-radius: 11px; padding: 0 14px; background: rgba(27,26,24,.8); font-size: 14px; outline: none; transition: border-color .2s, box-shadow .2s; color: var(--text); }
.select option { background: var(--surface); }
.input::placeholder { color: var(--faint); }
.input:focus, .select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(201,165,78,.12); }
.search { position: relative; flex: 1; min-width: 220px; }
.search .input { width: 100%; padding-left: 42px; }
.search svg { position: absolute; left: 15px; top: 14px; width: 16px; height: 16px; stroke: var(--muted); fill: none; stroke-width: 2; }
.result-count { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-left: auto; }

/* Drawer */
.drawer-bg { position: fixed; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 80; }
.drawer { position: fixed; right: 0; top: 0; bottom: 0; width: min(500px, 100%); background: var(--bg-2); border-left: 1px solid var(--line-2); z-index: 90; transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1); overflow-y: auto; }
.drawer-open .drawer-bg { opacity: 1; pointer-events: auto; }
.drawer-open .drawer { transform: none; }
.drawer-head { padding: 26px 28px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.drawer-head h3 { font-size: 22px; }
.drawer-close { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel); cursor: pointer; font-size: 18px; flex-shrink: 0; }
.drawer-close:hover { border-color: var(--accent); }
.drawer-body { padding: 24px 28px 40px; display: grid; gap: 22px; }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.kv div { background: var(--surface); padding: 12px 14px; }
.kv small { display: block; font-size: 11.5px; color: var(--muted); }
.kv b { font-family: var(--mono); font-size: 15px; font-weight: 600; }
.drawer h4 { font-size: 13px; margin-bottom: 8px; color: var(--text-2); font-weight: 500; }
.chart-frame { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }

/* Watchlist */
.watch-empty { padding: 32px; text-align: center; color: var(--muted); font-size: 14px; border: 1px dashed var(--line-2); border-radius: var(--radius); }
.watch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.watch-card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: grid; gap: 6px; }
.watch-card .top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.watch-card .top b { font-size: 14.5px; }
.watch-card .px { font-family: var(--mono); font-size: 19px; font-weight: 600; }
.watch-card .rm { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 16px; }
.watch-card .rm:hover { color: var(--up); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; align-items: stretch; }
.plan { padding: 38px 32px; display: flex; flex-direction: column; }
.plan.featured { border-color: rgba(201,165,78,.55); background: var(--panel-2); }
.plan .badge { position: absolute; top: 20px; right: 20px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; color: var(--accent); border: 1px solid rgba(201,165,78,.5); padding: 3px 10px; border-radius: 6px; }
.plan h3 { font-family: var(--mono); font-size: 12.5px; letter-spacing: .2em; color: var(--accent); margin-top: 0; font-weight: 500; }
.plan .jp { font-size: 24px; font-weight: 700; margin-top: 6px; }
.plan .price { margin-top: 24px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.plan .price b { font-family: var(--display); font-size: 54px; line-height: 1; letter-spacing: -.02em; }
.plan .price b small { font-size: 28px; margin-right: 2px; }
.plan .price span { color: var(--muted); font-size: 14px; }
.plan .tax { font-size: 12px; color: var(--muted); margin-top: 6px; }
.plan .desc { font-size: 14px; color: var(--text-2); margin-top: 16px; min-height: 50px; }
.plan .check-list { margin: 26px 0 34px; gap: 11px; }
.plan .check-list li { font-size: 14px; }
.plan .btn { margin-top: auto; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 880px; margin: 0 auto; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 0 24px; transition: border-color .2s; }
.faq details[open] { border-color: rgba(201,165,78,.35); }
.faq summary { cursor: pointer; padding: 20px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-size: 15.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 20px; line-height: 1.2; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; color: var(--text-2); font-size: 14.5px; }

/* Founder */
.founder { display: grid; grid-template-columns: 440px minmax(0,1fr); gap: 80px; align-items: center; }
.founder-photo { position: relative; border-radius: 24px; padding: 1px; background: var(--line-2); }
.founder-photo img { border-radius: 23px; width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; object-position: center 20%; }
.founder-photo .cap { position: absolute; left: 18px; right: 18px; bottom: 18px; background: rgba(20,19,18,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line-2); border-radius: 14px; padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.founder-photo .cap b { font-size: 18px; display: block; }
.founder-photo .cap small { color: var(--muted); font-size: 12px; }
.founder-photo .cap .mono { font-size: 10.5px; color: var(--accent); letter-spacing: .14em; }
.quote { font-size: clamp(21px, 2.5vw, 29px); line-height: 1.8; margin-top: 24px; font-weight: 700; }
.quote em { font-style: normal; color: var(--accent-2); }
.sign { margin-top: 30px; display: flex; gap: 14px; align-items: center; }
.sign .line { width: 40px; height: 1px; background: var(--accent); }
.sign b { font-size: 18px; }
.sign small { color: var(--muted); font-size: 13px; display: block; }
.prose { margin-top: 28px; display: grid; gap: 18px; color: var(--text-2); line-height: 2.1; }

/* CTA */
.cta { border-radius: 20px; padding: 88px 40px; text-align: center; position: relative; overflow: hidden; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(26,25,23,.78), rgba(26,25,23,.9)), url("https://images.unsplash.com/photo-1547823065-4cbbb2d4d185?auto=format&fit=crop&q=70&w=1600") center 60% / cover, var(--panel-2); }
.cta > * { position: relative; }
.cta h2 { font-family: var(--display); font-size: clamp(28px, 4vw, 48px); }
.cta p { color: var(--text-2); margin-top: 16px; }
.cta .hero-actions { margin-top: 34px; }

/* Page hero */
.page-hero { padding: 88px 0 64px; position: relative; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.page-hero::before { content: none; }
.page-hero.has-img { background: linear-gradient(90deg, var(--bg-2) 30%, rgba(26,25,23,.82) 60%, rgba(26,25,23,.55)), var(--hero-img) center / cover, var(--bg-2); }
.page-hero h1 { font-family: var(--display); font-size: clamp(34px, 5.4vw, 64px); margin-top: 18px; line-height: 1.2; }
.page-hero .lead { margin-top: 22px; max-width: 760px; }
.crumbs { font-family: var(--mono); font-size: 12px; color: var(--muted); display: flex; gap: 10px; }
.crumbs a:hover { color: var(--accent); }

/* Feature rows */
.feature-row { padding: 96px 0; border-bottom: 1px solid var(--line); }
.feature-row:last-child { border-bottom: 0; }
.feature-row h2 { font-family: var(--display); font-size: clamp(26px, 3.2vw, 38px); margin-top: 16px; }
.feature-row .lead { margin-top: 16px; font-size: 16px; }
.mock { padding: 26px; }
.mock-title { font-family: var(--mono); font-size: 11.5px; color: var(--muted); display: flex; justify-content: space-between; margin-bottom: 16px; letter-spacing: .06em; }
.gauge-row { display: grid; gap: 14px; }
.gauge { display: grid; grid-template-columns: 110px minmax(0,1fr) 40px; gap: 14px; align-items: center; font-size: 13px; color: var(--text-2); }
.gauge-track { height: 6px; background: var(--panel-2); border-radius: 3px; position: relative; overflow: hidden; }
.gauge-track i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: var(--accent); }
.gauge-track i.hot { background: var(--up); }
.gauge .num { text-align: right; color: var(--text); }
.score-big { display: flex; align-items: center; gap: 22px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.score-ring { width: 92px; height: 92px; position: relative; flex-shrink: 0; }
.score-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-size: 32px; }
.score-big p { font-size: 13px; color: var(--muted); margin-top: 4px; }
.alert-item { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.alert-item:last-child { border-bottom: 0; }
.alert-item .what { flex: 1; min-width: 0; }
.alert-item .what small { display: block; color: var(--muted); font-size: 12px; }
.toggle { width: 42px; height: 24px; border-radius: 12px; background: var(--line-2); position: relative; flex-shrink: 0; cursor: pointer; border: 0; transition: background .2s, box-shadow .2s; }
.toggle::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--text); transition: transform .2s; }
.toggle.on { background: var(--accent); }
.toggle.on::after { transform: translateX(18px); }
.news-item { padding: 14px 0; border-bottom: 1px solid var(--line); }
.news-item:last-child { border-bottom: 0; }
.news-item .meta { font-size: 11px; color: var(--muted); display: flex; gap: 10px; font-family: var(--mono); align-items: center; flex-wrap: wrap; }
.news-item b { font-size: 14px; display: block; margin-top: 6px; }
.news-item p { font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.8; }
.tag-pos, .tag-neg, .tag-neu { font-family: var(--sans); font-size: 10.5px; padding: 1px 8px; border-radius: 4px; font-weight: 700; }
.tag-pos { background: rgba(217,100,90,.15); color: var(--up); }
.tag-neg { background: rgba(111,174,134,.15); color: var(--down); }
.tag-neu { background: var(--panel-2); color: var(--text-2); }

/* Compare */
.compare-pickers { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 16px; align-items: end; margin-bottom: 24px; }
.compare-pickers label { font-family: var(--mono); font-size: 11.5px; color: var(--muted); display: block; margin-bottom: 8px; letter-spacing: .1em; }
.compare-pickers .select { width: 100%; height: 54px; font-size: 15px; }
.picker-a .select { border-left: 3px solid var(--series-a); }
.picker-b .select { border-left: 3px solid var(--series-b); }
.vs { width: 50px; height: 50px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line-2); color: var(--text); display: grid; place-items: center; font-size: 18px; cursor: pointer; transition: border-color .2s, transform .2s; }
.vs:hover { border-color: var(--accent); transform: rotate(180deg); }
.compare-grid { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 20px; }
.compare-grid > div { display: grid; gap: 20px; align-content: start; min-width: 0; }
.compare-table { min-width: 0; }
.compare-table td:not(:first-child), .compare-table th:not(:first-child) { text-align: right; font-family: var(--mono); }
.compare-table td:first-child { color: var(--text-2); }
.compare-table .better { color: var(--text); font-weight: 600; }
.compare-table .better::before { content: "◆ "; font-size: 8px; color: var(--accent); vertical-align: 2px; }
.swatch { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }
.overlap-viz { display: grid; place-items: center; padding: 10px 0 0; }
.overlap-num { text-align: center; }
.overlap-num b { font-family: var(--display); font-size: 48px; }
.overlap-num small { display: block; color: var(--muted); font-size: 12.5px; }
.holding-row { display: grid; grid-template-columns: minmax(0,1fr) 64px 64px; gap: 8px; font-size: 13px; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--text-2); }
.holding-row span:not(:first-child) { text-align: right; font-family: var(--mono); }
.holding-row.head { color: var(--muted); font-family: var(--mono); font-size: 11px; }
.chart-box { position: relative; }
.chart-box svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart-legend { display: flex; gap: 18px; font-size: 13px; color: var(--text-2); margin: 6px 0 8px; flex-wrap: wrap; }
.chart-tip { position: absolute; pointer-events: none; background: rgba(20,19,18,.95); border: 1px solid var(--line-2); color: var(--text); font-size: 12px; padding: 8px 12px; border-radius: 10px; opacity: 0; transition: opacity .12s; white-space: nowrap; z-index: 5; line-height: 1.8; }
.chart-tip b { font-family: var(--mono); }
.ai-summary { padding: 22px 24px; border-left: 2px solid var(--accent); }
.ai-summary h4 { font-size: 14px; display: flex; gap: 8px; align-items: center; }
.ai-summary p { font-size: 14px; color: var(--text-2); margin-top: 10px; line-height: 1.95; }

/* Forms */
.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 8px; }
.field label .req { color: var(--accent); font-size: 10.5px; margin-left: 8px; border: 1px solid rgba(201,165,78,.5); padding: 0 6px; border-radius: 4px; font-weight: 500; }
.field .input, .field .select { width: 100%; height: 52px; }
.field textarea.input { height: 170px; padding: 14px; resize: vertical; line-height: 1.8; }
.field .err, .err { font-size: 12.5px; color: var(--up); margin-top: 6px; display: none; }
.field.invalid .input, .field.invalid .select { border-color: var(--up); }
.field.invalid .err { display: block; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); }
.agree input { width: 18px; height: 18px; margin-top: 5px; accent-color: var(--accent); }
.agree a, .link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.form-success { display: none; text-align: center; padding: 48px 24px; }
.form-success .ok { width: 68px; height: 68px; border-radius: 50%; background: rgba(201,165,78,.12); border: 1px solid rgba(201,165,78,.4); color: var(--accent); display: grid; place-items: center; font-size: 28px; margin: 0 auto 18px; }
.form-success h3 { font-size: 24px; }
.form-success p { color: var(--text-2); margin-top: 10px; }
.sent .form { display: none; }
.sent .form-success { display: block; }

.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { padding: 20px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 15px; }
.info-table th { width: 180px; font-weight: 500; color: var(--muted); font-family: var(--sans); }
.info-table td { color: var(--text); }

/* Legal */
.legal { max-width: 840px; margin: 0 auto; padding: 0 24px; }
.legal .updated { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 36px; }
.legal h2 { font-size: 20px; margin: 52px 0 16px; display: flex; gap: 12px; align-items: center; }
.legal h2::before { content: ""; width: 4px; height: 20px; border-radius: 2px; background: var(--accent); }
.legal p, .legal li { font-size: 15px; color: var(--text-2); line-height: 2.05; }
.legal p + p { margin-top: 14px; }
.legal ol, .legal ul.dots { padding-left: 1.4em; margin: 12px 0; }
.legal ul.dots { list-style: disc; }
.legal li::marker { color: var(--accent); }
.legal ol li + li, .legal ul.dots li + li { margin-top: 6px; }
.legal .box { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 24px 28px; margin-top: 18px; }
.toc { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 22px 28px; }
.toc b { font-family: var(--mono); font-size: 11.5px; color: var(--accent); letter-spacing: .16em; }
.toc ol { columns: 2; margin-top: 10px; padding-left: 1.4em; }
.toc a { font-size: 14px; color: var(--text-2); }
.toc a:hover { color: var(--accent); }

.notice-strip { border: 1px solid rgba(201,165,78,.3); background: rgba(201,165,78,.06); border-radius: 12px; padding: 14px 18px; font-size: 13px; color: #e9d3a1; display: flex; gap: 12px; align-items: flex-start; }
.notice-strip::before { content: "!"; flex-shrink: 0; width: 20px; height: 20px; border-radius: 6px; background: var(--gold); color: #1a1405; display: grid; place-items: center; font-weight: 900; font-size: 12px; margin-top: 2px; }
.sample-note { font-size: 12px; color: var(--muted); margin-top: 14px; }

.values { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.value .k { font-weight: 900; font-size: 56px; line-height: 1; color: var(--accent); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 80px 0 32px; font-size: 14px; color: var(--text-2); background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
.footer-grid > * { min-width: 0; }
.footer-about { margin-top: 20px; line-height: 2; font-size: 13.5px; max-width: 360px; color: var(--muted); }
.footer h4 { font-family: var(--mono); font-size: 11.5px; letter-spacing: .18em; color: var(--accent); margin-bottom: 18px; font-weight: 500; }
.footer li + li { margin-top: 10px; }
.footer a:hover { color: var(--text); }
.footer-legal { margin-top: 64px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 14px; font-size: 12px; line-height: 2; color: var(--muted); background: var(--bg); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 28px; font-size: 12.5px; color: var(--muted); }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-word { font-family: var(--display); font-weight: 700; font-size: clamp(80px, 20vw, 260px); line-height: .8; letter-spacing: .02em; text-align: center; margin-top: 48px; background: linear-gradient(180deg, rgba(201,165,78,.12), transparent 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track, .hero-chart .line, .chip .dot { animation: none; stroke-dashoffset: 0; }
  html { scroll-behavior: auto; }
}

.mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }

/* Responsive */
.nav-compact .nav { display: none; }
.nav-compact .menu-btn { display: block; margin-left: 0; }
.nav-compact .header-cta { margin-left: auto; }
.nav-compact.menu-open .nav { display: flex; flex-direction: column; justify-content: flex-start; height: auto; overflow: auto; max-height: calc(100vh - var(--header-h) - 24px); position: fixed; top: calc(var(--header-h) + 8px); left: 16px; right: 16px; padding: 8px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; gap: 2px; margin: 0; box-shadow: 0 30px 60px rgba(0,0,0,.6); }
.nav-compact.menu-open .nav a { margin-left: 0; font-size: 15px; padding: 12px 14px; border-radius: 8px; white-space: normal; }
.nav-compact.menu-open .nav a.active { box-shadow: inset 3px 0 0 var(--accent); background: var(--panel-2); }
@media (max-width: 1120px) {
  .term-grid { grid-template-columns: minmax(0,1fr) 340px; }
  .term-col.idx-col { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .section { padding: 84px 0; }
  .term-grid { grid-template-columns: minmax(0,1fr); }
  .term-col { border-right: 0; border-bottom: 1px solid var(--line); }
  .split, .founder, .compare-grid { grid-template-columns: minmax(0,1fr); gap: 48px; }
  .split.rev > :first-child { order: 0; }
  .founder { max-width: 540px; }
  .bento { grid-template-columns: minmax(0,1fr); }
  .b-4, .b-3, .b-2 { grid-column: auto; }
  .grid-3, .plans, .steps, .values { grid-template-columns: minmax(0,1fr); }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .heatmap { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 64px; }
  .tile.w4 { grid-column: span 3; } .tile.w3 { grid-column: span 3; } .tile.w2 { grid-column: span 2; }
  .feature-row { padding: 64px 0; }
  .plan .desc { min-height: 0; }
}
@media (max-width: 640px) {
  .page-hero.has-img { background: linear-gradient(180deg, rgba(26,25,23,.88), rgba(26,25,23,.94)), var(--hero-img) center / cover, var(--bg-2); }
  .wrap { padding: 0 16px; }
  .legal { padding: 0 16px; }
  body { font-size: 15px; }
  .status-bar .r { display: none; }
  .header .wrap { gap: 10px; }
  .header-cta .btn { height: 34px; padding: 0 12px; font-size: 12.5px; }
  .logo-text small { display: none; }
  .hero { padding-top: 56px; }
  .cmd { height: 56px; padding: 0 8px 0 16px; }
  .cmd kbd { display: none; }
  .cmd .go { height: 40px; padding: 0 14px; font-size: 13px; }
  .term-metrics { grid-template-columns: 1fr 1fr; }
  .grid-2, .grid-4, .form-row, .footer-grid { grid-template-columns: minmax(0,1fr); }
  .stat { padding: 24px 20px; }
  .pad, .glass.pad { padding: 24px; }
  .compare-pickers { grid-template-columns: minmax(0,1fr); }
  .vs { margin: 0 auto; }
  .info-table th { width: 100px; font-size: 13.5px; }
  .toc ol { columns: 1; }
  .gauge { grid-template-columns: 84px minmax(0,1fr) 34px; font-size: 12px; }
  .heatmap { grid-template-columns: repeat(4, 1fr); }
  .tile.w4, .tile.w3 { grid-column: span 2; } .tile.w2 { grid-column: span 2; }
  .cta { padding: 64px 22px; }
}
