:root {
  --bg: #02040a;
  --surface: #0a0e17;
  --surface-2: #0d1320;
  --line: #1e293b;
  --line-soft: rgba(120, 180, 200, .14);
  --text: #f8fafc;
  --muted: #94a3b8;
  --cyan: #00f0ff;
  --cyan-soft: #8bf7ff;
  --gold: #fbbf24;
  --red: #ff5a67;
  --green: #63dda1;
  --shell: min(1312px, calc(100% - 48px));
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--text); font-family: var(--sans); line-height: 1.6; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .22; background-image: linear-gradient(rgba(48,216,232,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(48,216,232,.02) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(to bottom, #000, transparent 72%); z-index: -1; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 100; background: var(--text); color: #000; padding: 10px 16px; border-radius: 4px; }
.skip-link:focus { top: 12px; }

.site-header { position: fixed; z-index: 50; top: 0; width: 100%; height: 72px; margin: 0; padding: 0 64px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(2,4,10,.88); backdrop-filter: blur(12px); }
.brand { font-size: 24px; font-weight: 800; letter-spacing: -.04em; }
.brand > span { color: var(--cyan); }
.brand small { margin-left: 7px; color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: .15em; text-transform: uppercase; }
.site-header nav { display: flex; align-items: center; gap: 32px; color: var(--text); font-size: 14px; font-weight: 600; }
.site-header nav > a:not(.button):hover, .nav-link:hover { color: var(--cyan); }
.language { padding: 6px 12px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted) !important; font-family: var(--mono); font-size: 11px; font-weight: 400; white-space: nowrap; }
.nav-form { margin: 0; }
.nav-link { border: 0; padding: 0; background: none; cursor: pointer; color: #b9c5ca; }
.user-pill { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-family: var(--mono); font-size: 10px; text-transform: uppercase; }

.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 10px; padding: 0 22px; border: 1px solid var(--cyan); border-radius: 3px; background: var(--cyan); color: #031013; font-size: 12px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; transition: transform .2s, background .2s, box-shadow .2s; cursor: pointer; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(48,216,232,.16); background: #5ce3ef; }
.button-small { min-height: 38px; padding-inline: 16px; font-size: 10px; }
.site-header .button-small { min-height: 40px; padding-inline: 24px; border-color: var(--cyan); background: transparent; color: var(--cyan); }
.site-header .button-small::before { content: ">"; }
.button-full { width: 100%; }
.button-light { border-color: #d9f8fa; background: #eafcfd; color: #071114; }
.text-link { font-size: 13px; color: #dbe4e8; }
.text-link span { color: var(--cyan); margin-left: 7px; }

.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; color: var(--cyan-soft); font-family: var(--mono); font-size: 10px; letter-spacing: .16em; }
.eyebrow > span { display: block; width: 24px; height: 1px; background: var(--cyan); }
.eyebrow.simple { display: block; margin-bottom: 15px; color: var(--cyan); }

.hero { min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 20% 80%, rgba(0,240,255,.05), transparent 40%); }
.hero-copy { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: 64px 40px 64px max(32px, calc((100vw - 1312px) / 2)); }
.hero-copy h1 { max-width: 650px; margin: 0 0 24px; font-size: clamp(48px, 4.45vw, 64px); line-height: 1.1; letter-spacing: -.04em; font-weight: 800; }
.hero-copy h1 em { background: linear-gradient(90deg, var(--text), var(--cyan)); background-clip: text; color: transparent; font-style: normal; font-weight: 800; }
.hero .eyebrow { display: inline-block; width: max-content; margin-bottom: 24px; padding: 4px 16px; border: 1px solid var(--line); border-radius: 50px; background: rgba(0,240,255,.05); color: var(--cyan); font-size: 12px; }
.hero .eyebrow > span { display: none; }
.hero-lead { max-width: 600px; margin: 0 0 40px; color: var(--muted); font-size: 18px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.hero-button { min-height: 57px; padding: 0 40px; border-color: var(--text); border-radius: 4px; background: var(--text); color: #000; font-family: var(--mono); font-size: 14px; letter-spacing: 0; text-transform: none; }
.hero-visual { position: relative; min-width: 0; margin: 0; overflow: hidden; border-left: 1px solid var(--line); background: var(--surface); }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(2,11,15,.18), transparent 48%); pointer-events: none; }
.hero-visual picture { display: block; width: 100%; height: 100%; }
.hero-visual img { display: block; width: 100%; height: 100%; min-height: 100svh; object-fit: cover; object-position: center; }

.principles { padding-block: 128px; scroll-margin-top: 72px; }
.section-heading { display: block; max-width: 700px; margin-bottom: 64px; }
.section-number { color: var(--cyan); font-family: var(--mono); font-size: 10px; }
.section-heading h2, .intelligence h2, .closing h2 { margin: 0 0 16px; font-size: 40px; line-height: 1.2; letter-spacing: -.03em; font-weight: 800; }
.section-heading p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.principle-grid article { padding: 40px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); transition: transform .3s, border-color .3s; }
.principle-grid article:hover { transform: translateY(-5px); border-color: var(--cyan); }
.principle-grid article > span { color: var(--cyan); font-family: var(--mono); font-size: 18px; }
.principle-grid h3 { margin: 24px 0 16px; font-size: 20px; font-weight: 650; }
.principle-grid p { margin: 0; color: var(--muted); line-height: 1.7; font-size: 15px; }

.intelligence { padding-block: 128px; border: 0; background: var(--surface); scroll-margin-top: 72px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.news-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); transition: border-color .3s, box-shadow .3s; }
.news-card:hover { border-color: var(--cyan); box-shadow: 0 10px 30px rgba(14,165,233,.1); }
.news-card > img { display: block; width: 100%; height: 200px; border-bottom: 1px solid var(--line); object-fit: cover; }
.news-content { display: flex; flex: 1; flex-direction: column; padding: 32px; }
.news-tag { margin-bottom: 16px; color: var(--cyan); font-family: var(--mono); font-size: 12px; text-transform: uppercase; }
.news-content h3 { margin: 0 0 16px; font-size: 19px; line-height: 1.4; font-weight: 650; }
.news-content p { margin: 0 0 24px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.news-readmore { margin-top: auto; color: var(--gold); font-family: var(--mono); font-size: 12px; font-weight: 700; }
.news-readmore b { margin-left: 6px; color: var(--cyan); font-size: 12px; font-weight: 400; }
.open-intelligence { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 32px; padding: 28px 30px; border: 1px solid var(--line); border-radius: 8px; background: #06111b; }
.open-intelligence .eyebrow { margin-bottom: 8px; }
.open-intelligence p { margin: 0; color: var(--muted); font-size: 13px; }
.open-intelligence .text-link { flex: none; }
.closing { padding: 128px 64px; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg), #061121); text-align: center; }
.closing .section-number { display: block; margin-bottom: 20px; }
.closing p { max-width: 600px; margin: 0 auto 48px; color: var(--muted); font-size: 17px; }

.site-footer { width: 100%; min-height: 150px; margin: 0; padding: 32px 64px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; border-top: 1px solid var(--line); background: #000; color: var(--muted); font-size: 11px; }
.footer-brand { color: #dce7ea; font-size: 14px; font-weight: 650; }
.site-footer p { margin: 8px 0 0; }
.footer-links { display: flex; gap: 24px; }
.footer-links a:hover { color: var(--cyan); }
.powered { justify-self: end; font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }

.auth-page { min-height: calc(100vh - 150px); margin-top: 72px; display: grid; grid-template-columns: 1fr 440px; align-items: center; gap: 120px; padding-block: 80px; }
.auth-page.compact { min-height: 680px; }
.auth-intro h1 { margin: 0 0 24px; font-size: clamp(46px, 6vw, 74px); line-height: 1.04; letter-spacing: -.05em; font-weight: 520; }
.auth-intro p { max-width: 500px; color: var(--muted); line-height: 1.7; }
.auth-card { padding: 38px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.auth-card h2 { margin: 10px 0 28px; font-size: 26px; font-weight: 550; }
.auth-status { display: flex; gap: 8px; align-items: center; color: var(--green); font-family: var(--mono); font-size: 9px; letter-spacing: .12em; }
.auth-status span, .terminal-status span { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.auth-card form { display: grid; gap: 20px; }
.auth-card label { display: grid; gap: 8px; color: #a9b8bf; font-size: 12px; }
.auth-card input { width: 100%; height: 48px; padding: 0 14px; border: 1px solid #263744; border-radius: 2px; outline: 0; background: #070c12; color: var(--text); }
.auth-card input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(48,216,232,.08); }
.form-error, .form-success { margin-bottom: 20px; padding: 12px 14px; border: 1px solid rgba(255,90,103,.5); background: rgba(255,90,103,.08); color: #ffacb3; font-size: 12px; }
.form-success { border-color: rgba(99,221,161,.5); background: rgba(99,221,161,.08); color: var(--green); }
.auth-help { margin: 22px 0 0; color: #667984; text-align: center; font-size: 11px; }

/* Institutional terminal: faithful to Plataforma Capital terminal reference. */
.term-body { --term-bg: #050505; --term-panel: #0f1115; --term-line: #1e293b; --term-text: #e2e8f0; --term-dim: #64748b; --term-cyan: #00f0ff; --term-blue: #0ea5e9; --term-green: #39ff14; --term-red: #ff003c; --term-gold: #fbbf24; height: 100vh; overflow: hidden; background: var(--term-bg); color: var(--term-text); font-size: 14px; }
.term-body::before, .sim-body::before { display: none; }
.term-header { display: flex; height: 50px; flex-shrink: 0; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 2px solid var(--term-line); background: #000; }
.term-sys-id { display: flex; flex: none; align-items: center; gap: 16px; color: var(--term-cyan); font-family: var(--mono); font-size: 17px; font-weight: 700; }
.term-sys-id span { color: var(--term-dim); font-size: 12px; font-weight: 400; }
.term-ticker { min-width: 0; flex: 1; margin: 0 30px; overflow: hidden; color: var(--term-gold); font-family: var(--mono); font-size: 12px; white-space: nowrap; }
.term-ticker span { display: inline-block; animation: term-ticker 28s linear infinite; }
@keyframes term-ticker { to { transform: translateX(-100%); } }
.term-auth { display: flex; flex: none; align-items: center; gap: 10px; font-family: var(--mono); font-size: 10px; }
.term-auth > span { color: var(--term-dim); }
.term-auth > strong { max-width: 145px; overflow: hidden; color: var(--term-cyan); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.term-auth a, .term-auth button { padding: 5px 8px; border: 1px solid var(--term-cyan); background: #000; color: var(--term-cyan); font-family: inherit; font-size: 10px; cursor: pointer; }
.term-auth form { margin: 0; }
.term-main { display: grid; grid-template-columns: minmax(0, 1fr) 380px; grid-template-rows: auto 1fr; gap: 8px; height: calc(100vh - 50px); padding: 8px; overflow: hidden; }
.term-panel { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--term-line); background: var(--term-panel); }
.term-panel > header { display: flex; min-height: 29px; align-items: center; justify-content: space-between; padding: 6px 12px; border-bottom: 1px solid var(--term-line); background: #151a23; color: var(--term-blue); font-family: var(--mono); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.term-kpi-grid { display: grid; grid-column: 1 / 2; grid-row: 1 / 2; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--term-line); }
.term-kpi-box { display: flex; flex-direction: column; padding: 22px 24px; background: var(--term-panel); }
.term-kpi-box > span { margin-bottom: 8px; color: var(--term-dim); font-size: 11px; text-transform: uppercase; }
.term-kpi-box > strong { font-family: var(--mono); font-size: clamp(25px, 2.5vw, 35px); line-height: 1.1; }
.term-kpi-box > small { margin-top: 8px; color: var(--term-cyan); font-family: var(--mono); font-size: 11px; }
.term-kpi-box:nth-child(n+2) > small { color: var(--term-dim); }
.term-positive { color: var(--term-green); }
.term-data-section { display: grid; grid-column: 1 / 2; grid-row: 2 / 3; grid-template-rows: 1fr 1fr; gap: 8px; min-height: 0; overflow: hidden; }
.term-table-wrap { overflow: auto; }
.term-table-wrap table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; }
.term-table-wrap th { position: sticky; top: 0; padding: 8px 12px; border-bottom: 1px solid var(--term-line); background: #151a23; color: var(--term-dim); font-family: var(--mono); font-size: 11px; font-weight: 400; }
.term-table-wrap td { padding: 11px 12px; border-bottom: 1px solid #1a2233; color: #cbd5e1; font-family: var(--mono); font-size: 12px; }
.term-asset-name { color: #fff; font-family: var(--sans); font-weight: 500; }
.term-cyan { color: var(--term-cyan) !important; }
.term-gold { color: var(--term-gold) !important; }
.term-red { color: var(--term-red) !important; font-weight: 700; }
.term-chart-wrap { position: relative; min-height: 0; flex: 1; padding: 10px; }
.term-chart-wrap canvas { display: block; width: 100% !important; height: 100% !important; }
.term-sidebar { display: grid; grid-column: 2 / 3; grid-row: 1 / 3; grid-template-rows: 60% 40%; gap: 8px; min-height: 0; overflow: hidden; }
.term-timeline { padding: 15px; overflow-y: auto; }
.term-log-entry { position: relative; margin-bottom: 20px; padding-left: 16px; border-left: 2px solid var(--term-line); }
.term-log-entry::before { content: ""; position: absolute; top: 5px; left: -5px; width: 8px; height: 8px; border-radius: 50%; background: var(--term-cyan); }
.term-log-date { margin-bottom: 4px; color: var(--term-gold); font-family: var(--mono); font-size: 11px; }
.term-log-entry h3 { margin: 0 0 4px; color: #fff; font-size: 13px; }
.term-log-entry p { margin: 0; color: #a1a1aa; font-size: 11px; line-height: 1.5; }
.term-philosophy { padding: 15px; overflow-y: auto; background: repeating-linear-gradient(0deg, #0f1115, #0f1115 2px, #13171e 2px, #13171e 4px); }
.term-thesis-header { margin-bottom: 15px; padding-bottom: 4px; border-bottom: 1px dashed var(--term-blue); color: var(--term-blue); font-family: var(--mono); font-size: 11px; }
.term-thesis-text { color: #cbd5e1; font-size: 11px; line-height: 1.55; }
.term-thesis-text p { margin: 0 0 12px; }
.term-highlight { color: var(--term-gold); font-family: var(--mono); }
.term-dictamen { padding-left: 10px; border-left: 2px solid var(--term-cyan); color: #fff; }
.term-thesis-text small { color: var(--term-dim); font-family: var(--mono); font-size: 8px; letter-spacing: .08em; }

/* Prudence simulator: faithful CRT layout from the two reference HTML files. */
.sim-body { display: flex; position: relative; height: 100vh; align-items: center; justify-content: center; overflow: hidden; background: #020202; color: #00f0ff; font-family: var(--mono); text-transform: uppercase; }
.sim-body::after { content: ""; display: block; position: fixed; z-index: 2; inset: 0; pointer-events: none; background: linear-gradient(rgba(18,16,16,0) 50%, rgba(0,0,0,.25) 50%), linear-gradient(90deg, rgba(255,0,0,.06), rgba(0,255,0,.02), rgba(0,0,255,.06)); background-size: 100% 2px, 3px 100%; }
.sim-utility { display: flex; position: fixed; z-index: 20; top: 16px; right: 18px; align-items: center; gap: 8px; }
.sim-utility a, .sim-utility button { padding: 5px 8px; border: 1px solid #164c52; background: #020202; color: #64748b; font-family: var(--mono); font-size: 9px; text-transform: uppercase; cursor: pointer; }
.sim-utility form { margin: 0; }
.simulator { position: relative; z-index: 10; width: 90%; max-width: 800px; text-align: center; }
.sim-screen { display: none; flex-direction: column; align-items: center; gap: 32px; }
.sim-screen.active { display: flex; }
.sim-screen h1 { margin: 0; font-size: 40px; letter-spacing: 2px; text-shadow: 0 0 10px #00f0ff; }
.sim-screen h2 { margin: 0; color: #fff; font-size: 24px; }
.sim-screen p { margin: 0; line-height: 1.5; }
.sim-dim { color: #64748b; }
.sim-money { margin: 16px 0; font-size: 64px; font-weight: 800; text-shadow: 0 0 20px currentColor; }
.sim-log { width: 100%; height: 150px; margin: 0; padding: 16px; overflow-y: hidden; border: 1px solid #ff003c; background: rgba(255,0,60,.05); text-align: left; font-family: var(--mono); font-size: 14px; line-height: 1.45; white-space: pre-wrap; }
.sim-button, .sim-choice { padding: 22px; border: 2px solid #00f0ff; background: transparent; color: #00f0ff; font-family: var(--mono); font-size: 17px; font-weight: 700; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.sim-button { width: 300px; }
.sim-button:hover, .sim-choice.prudent:hover { background: #00f0ff; color: #000; box-shadow: 0 0 20px #00f0ff; }
.sim-return { display: inline-flex; align-items: center; justify-content: center; border-color: #39ff14; color: #39ff14; }
.decision-panel { display: none; width: 100%; gap: 16px; margin-top: 32px; opacity: 0; transition: opacity 1s; }
.decision-panel.ready { display: flex; opacity: 1; }
.sim-choice { flex: 1; }
.sim-choice small { display: block; margin-top: 5px; font-size: 13px; font-weight: 400; }
.sim-choice.danger { border-color: #ff003c; color: #ff003c; }
.sim-choice.danger:hover { background: #ff003c; color: #000; box-shadow: 0 0 20px #ff003c; }
.sim-red { color: #ff003c !important; text-shadow: 0 0 10px #ff003c !important; }
.sim-green { color: #39ff14 !important; text-shadow: 0 0 10px #39ff14 !important; }
.sim-result { width: 100%; padding: 32px; border: 1px solid; text-align: left; line-height: 1.8; }
.sim-result-loss { border-color: #ff003c; background: rgba(255,0,60,.1); }
.sim-result-loss span { color: #ff003c; }
.sim-result-win { border-color: #39ff14; background: rgba(57,255,20,.05); color: #00f0ff; }
.sim-result span, .sim-result strong { color: #fff; }
.sim-shake { animation: sim-shake .5s cubic-bezier(.36,.07,.19,.97) both infinite; }
@keyframes sim-shake { 10%,90% { transform: translate3d(-1px,0,0); } 20%,80% { transform: translate3d(2px,0,0); } 30%,50%,70% { transform: translate3d(-4px,0,0); } 40%,60% { transform: translate3d(4px,0,0); } }

.legal { min-height: 650px; max-width: 800px; margin-top: 72px; padding-block: 90px 120px; }
.legal h1 { margin: 0 0 40px; font-size: clamp(44px, 6vw, 68px); letter-spacing: -.05em; font-weight: 520; }
.legal p { color: #9badb6; font-size: 16px; line-height: 1.8; }
.legal-date { margin-top: 42px; color: #61747e !important; font-family: var(--mono); font-size: 10px !important; }
.not-found { min-height: 650px; margin-top: 72px; display: grid; place-content: center; justify-items: center; }
.not-found > span { color: var(--cyan); font-family: var(--mono); }
.not-found h1 { font-size: 52px; letter-spacing: -.04em; }

@media (max-width: 1100px) {
  .term-body { height: auto; min-height: 100vh; overflow: auto; }
  .term-header { position: sticky; z-index: 30; top: 0; }
  .term-ticker { display: none; }
  .term-main { display: block; height: auto; overflow: visible; }
  .term-kpi-grid { margin-bottom: 8px; }
  .term-data-section { grid-template-rows: 390px 390px; margin-bottom: 8px; overflow: visible; }
  .term-sidebar { grid-template-rows: auto auto; overflow: visible; }
  .term-sidebar > .term-panel:first-child { max-height: 560px; }
  .term-philosophy { overflow: visible; }
}

@media (max-width: 980px) {
  .site-header nav { gap: 16px; }
  .site-header nav > a:not(.button):not(.language), .user-pill { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 610px; padding-right: max(24px, calc((100vw - 720px) / 2)); padding-left: max(24px, calc((100vw - 720px) / 2)); }
  .hero-visual { border-top: 1px solid var(--line); border-left: 0; }
  .hero-visual, .hero-visual img { min-height: 520px; height: 520px; }
  .section-heading, .auth-page { grid-template-columns: 1fr; gap: 48px; }
  .principle-grid, .news-grid { grid-template-columns: 1fr 1fr; }
  .auth-page { max-width: 680px; }
}

@media (max-width: 700px) {
  :root { --shell: min(100% - 28px, 1312px); }
  .site-header { height: 72px; padding-inline: 14px; }
  .site-header nav { gap: 12px; }
  .site-header .button-small { min-height: 34px; padding-inline: 10px; }
  .brand small { display: none; }
  .language { padding: 5px 8px; }
  .hero { min-height: auto; }
  .hero-copy { min-height: 540px; padding: 64px 20px; }
  .hero-copy h1 { font-size: 49px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-visual, .hero-visual img { min-height: 420px; height: 420px; }
  .principles, .intelligence { padding-block: 80px; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle-grid article { min-height: 235px; }
  .principle-grid h3 { margin-top: 45px; }
  .news-grid { grid-template-columns: 1fr; }
  .news-content { min-height: 310px; padding: 26px 22px; }
  .open-intelligence { align-items: flex-start; flex-direction: column; }
  .closing { padding: 96px 28px; }
  .site-footer { grid-template-columns: 1fr; padding: 35px 20px; text-align: center; }
  .footer-links { justify-content: center; flex-wrap: wrap; }
  .powered { justify-self: center; }
  .auth-page { padding-block: 60px 80px; }
  .auth-card { padding: 26px 20px; }
  .term-header { min-height: 72px; height: auto; flex-wrap: wrap; gap: 8px; padding-block: 10px; }
  .term-sys-id { font-size: 14px; }
  .term-sys-id span { display: none; }
  .term-auth { flex-wrap: wrap; justify-content: flex-end; }
  .term-auth > span, .term-auth > strong { display: none; }
  .term-main { padding: 6px; }
  .term-kpi-grid { grid-template-columns: 1fr; }
  .term-kpi-box { padding: 18px; }
  .term-data-section { grid-template-rows: 360px 330px; }
  .term-panel > header { align-items: flex-start; flex-direction: column; gap: 4px; }
  .decision-panel { grid-template-columns: 1fr; }
  .sim-body { height: auto; min-height: 100vh; overflow: auto; padding: 90px 0 50px; }
  .simulator { width: calc(100% - 28px); }
  .sim-screen { gap: 24px; }
  .sim-screen h1 { font-size: 30px; }
  .sim-money { font-size: 44px; }
  .sim-log { height: 180px; font-size: 11px; }
  .decision-panel.ready { display: grid; }
  .sim-result { padding: 22px 16px; font-size: 11px; }
  .sim-button { max-width: 100%; }
}

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