/* fakebet.app shared styles. Mirrors the app: near-black surfaces, gold odds chips,
   green payouts, letter-spaced uppercase labels. Type is the app's Roboto, with
   Roboto Condensed for display. */

/* Self-hosted variable fonts (latin subset; covers Portuguese). Served from our own domain so
   text paints without waiting on a third-party font server. */
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/roboto-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Roboto Condensed'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/roboto-condensed-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #06080E;
  --surface: #0B0E15;
  --raised: #11151F;
  --raised-2: #171C28;
  --rule: #1B2130;
  --rule-strong: #2A3142;
  --text: #F4F6FA;
  --text-2: #A8B1C4;
  --text-3: #808A9E;
  --gold: #F5C742;
  --gold-hi: #FFD978;
  --gold-ink: #1F1A0A;
  --gold-line: rgba(245, 199, 66, 0.45);
  --gold-wash: rgba(245, 199, 66, 0.08);
  --green: #22C55E;
  --green-wash: rgba(34, 197, 94, 0.10);
  --red: #F87171;
  --display: 'Roboto Condensed', 'Roboto', 'Arial Narrow', sans-serif;
  --body: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --wrap: 1200px;
  --gutter: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-hi); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
.num { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--gold); color: var(--bg); padding: 10px 14px; border-radius: 6px; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* Letter-spaced label, as in the app ("BOOSTED FOR YOU", "MARKET PULSE") */
.label {
  display: inline-block;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-2);
}
.label.gold { color: var(--gold); }

/* Display type */
.display {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.92;
}
.h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
.h2 em { font-style: normal; color: var(--gold); }
.lede { color: var(--text-2); font-size: 18px; line-height: 1.6; max-width: 34em; }

/* Odds chip: gold outline on a dark gold fill, like the app's price buttons */
.chip {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 64px; padding: 3px 10px;
  border: 1px solid var(--gold-line); border-radius: 8px;
  background: var(--gold-ink); color: var(--gold);
  font-weight: 700; font-variant-numeric: tabular-nums;
}
.tag {
  display: inline-flex; align-items: center;
  padding: 2px 8px; border-radius: 4px;
  background: var(--raised-2); color: var(--text-2);
  font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); display: inline-block; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 8px;
  font: 700 15px/1 var(--body); text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-gold { background: var(--gold); color: #0A0A0A; border: 0; }
.btn-gold:hover { background: var(--gold-hi); color: #0A0A0A; }
.btn-line { background: transparent; color: var(--text); border: 1px solid var(--rule-strong); }
.btn-line:hover { border-color: var(--text-2); color: var(--text); }

/* Google Play badge (drawn to the official black badge layout) */
.play {
  display: inline-flex; align-items: center; gap: 12px;
  height: 60px; padding: 0 22px 0 16px;
  background: #000; color: #fff; text-decoration: none;
  border: 1px solid #A6A6A6; border-radius: 10px;
  transition: border-color .15s ease;
}
.play:hover { color: #fff; border-color: #fff; }
.play svg { width: 30px; height: 33px; flex: none; }
.play span { display: flex; flex-direction: column; line-height: 1; }
.play small { font: 500 11px/1 var(--body); letter-spacing: 0.04em; text-transform: uppercase; }
.play b { font: 500 23px/1.1 var(--body); letter-spacing: -0.01em; margin-top: 3px; }
.play.on-gold { border-color: #000; }

/* Notice strip + header */
.notice {
  border-bottom: 1px solid var(--rule);
  font-size: 12.5px; color: var(--text-3);
}
.notice .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.notice b { color: var(--text-2); font-weight: 500; }
.site-head {
  position: sticky; top: 0; z-index: 20;
  background: rgba(6, 8, 14, 0.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.site-head .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 32px; width: auto; }
.site-nav { display: flex; gap: 26px; margin-left: auto; }
.site-nav a { color: var(--text-2); text-decoration: none; font-size: 15px; font-weight: 500; padding: 10px 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); }

/* Footer */
.site-foot { border-top: 1px solid var(--rule); margin-top: 0; padding: 56px 0 40px; color: var(--text-3); font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 32px; }
.foot-grid img { height: 30px; width: auto; margin-bottom: 14px; }
.foot-grid h2 { font: 500 12px/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-2); margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.foot-grid ul a { color: var(--text-3); text-decoration: none; display: inline-block; padding: 8px 0; }
.foot-grid ul a:hover { color: var(--text); }
.foot-legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 24px; font-size: 13px; line-height: 1.6; }
.foot-legal p { max-width: 62em; }

/* Device frame for screenshots */
.device {
  position: relative;
  border-radius: 34px;
  padding: 9px;
  background: #0E1119;
  box-shadow: 0 0 0 1px #262C3B, 0 30px 80px -20px rgba(0, 0, 0, 0.8);
}
.device img { width: 100%; border-radius: 26px; }

/* Rules and section rhythm */
.section { padding: 84px 0; border-top: 1px solid var(--rule); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 44px; }
.section-head .label { margin-bottom: 14px; }

/* FAQ (shared by home and tools) */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.faq-list { border-top: 1px solid var(--rule); }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 0; min-height: 44px;
  font-weight: 700; font-size: 17px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform .2s ease;
}
.faq-list details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq-list details p { color: var(--text-2); padding: 0 40px 22px 0; }

/* Final promo band */
.promo-band { background: var(--gold); color: #0A0A0A; }
.promo-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 64px; padding-bottom: 64px; }
.promo-band .display { font-size: clamp(40px, 6vw, 76px); }
.promo-band p { font-size: 17px; margin-top: 12px; color: #2B2410; max-width: 34em; }
.promo-band .side { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; flex: none; }
.promo-band .side > small { font-size: 13px; color: #3A3115; }
.promo-band a:focus-visible { outline-color: #000; }

@media (max-width: 960px) {
  :root { --gutter: 24px; }
  .site-nav { display: none; }
  .site-head .btn { margin-left: auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .section { padding: 72px 0; }
  .promo-band .wrap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .notice .wrap > span:last-child { display: none; }
  .site-head .wrap { height: 60px; }
  .brand img { height: 28px; }
  .section { padding: 56px 0; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 28px; }
  .lede { font-size: 17px; }
  .foot-legal { flex-direction: column; }
}
/* ── Tool pages ─────────────────────────────────────────────── */
.crumbs { font-size: 13px; color: var(--text-3); }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs span { margin: 0 8px; }
.tool-top { padding-top: 36px; padding-bottom: 28px; }
.tool-top h1 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(38px, 5vw, 60px); line-height: 0.95; margin: 14px 0 12px; }
.tool-top p { color: var(--text-2); font-size: 17px; max-width: 46em; }

.tool { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: start; padding-bottom: 64px; }
.panel { background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; padding: 20px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }

.seg { display: inline-grid; grid-auto-flow: column; gap: 2px; padding: 3px; background: var(--bg); border: 1px solid var(--rule); border-radius: 10px; }
.seg button { min-height: 40px; padding: 0 14px; border: 0; border-radius: 7px; background: transparent; color: var(--text-2); font: 500 14px/1 var(--body); cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] { background: var(--gold-ink); color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold-line); }

.linkbtn { background: none; border: 0; color: var(--text-2); font: 500 14px/1 var(--body); cursor: pointer; padding: 12px 4px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--rule-strong); }
.linkbtn:hover { color: var(--text); }

.field-label { display: block; font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 6px; }
.input {
  width: 100%; min-height: 50px; padding: 0 14px;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--rule-strong); border-radius: 10px;
  font: 700 20px/1 var(--body); font-variant-numeric: tabular-nums;
  transition: border-color .15s ease;
}
.input::placeholder { color: #5E6780; font-weight: 500; }
.input:hover { border-color: #3A4256; }
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-wash); }
.input[aria-invalid="true"] { border-color: var(--red); }
.hint { font-size: 13.5px; color: var(--text-2); min-height: 21px; margin-top: 10px; }
.hint.err { color: var(--red); }

.stake-row { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--rule); }
.stake-row > div:first-child { width: 200px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.add {
  grid-column: 1 / -1; min-height: 46px; margin-top: 2px;
  border: 1px dashed var(--gold-line); border-radius: 10px; background: transparent;
  color: var(--gold); font: 700 15px/1 var(--body); cursor: pointer;
}
.add:hover { background: var(--gold-wash); }
.add:disabled { opacity: 0.4; cursor: default; background: transparent; }
.legcell { position: relative; min-width: 0; }
.legcell .field-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.legcell .input { padding-right: 48px; }
.legcell .x {
  position: absolute; right: 3px; bottom: 3px; width: 44px; height: 44px;
  border: 0; background: transparent; color: var(--text-3); border-radius: 8px; cursor: pointer;
  display: grid; place-items: center;
}
.legcell .x:hover { color: var(--text); background: var(--raised); }
.legcell .x svg { width: 16px; height: 16px; }
.mini { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.mini th { text-align: right; font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); padding: 12px 0 8px 8px; border-bottom: 1px solid var(--rule); }
.mini td { text-align: right; padding: 11px 0 11px 8px; border-bottom: 1px solid var(--rule); font-weight: 700; }
.mini th:first-child, .mini td:first-child { text-align: left; padding-left: 0; }
.mini td:first-child { color: var(--text-2); font-weight: 500; }
.mini tr:last-child td { border-bottom: 0; }
.mini .pos { color: var(--green); }
.mini .neg { color: var(--red); }
.quick { display: flex; gap: 6px; flex-wrap: wrap; }
.quick button { min-height: 44px; min-width: 52px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--rule-strong); background: transparent; color: var(--text-2); font: 700 14px/1 var(--body); cursor: pointer; font-variant-numeric: tabular-nums; }
.quick button:hover { color: var(--text); border-color: var(--text-3); }

/* Result card, styled after the app's bet slip */
.slip { position: sticky; top: 88px; background: var(--raised); border: 1px solid var(--rule-strong); border-radius: 14px; overflow: hidden; }
.slip-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--rule); }
.slip-head strong { font: 700 18px/1 var(--display); text-transform: uppercase; }
.slip-main { padding: 18px; background: var(--green-wash); border-bottom: 1px solid var(--rule); }
.slip-main .k { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2); }
.slip-main .v { font: 700 46px/1.05 var(--display); color: var(--green); font-variant-numeric: tabular-nums; margin-top: 4px; overflow-wrap: anywhere; }
.slip-main .s { color: var(--text-2); font-size: 14px; margin-top: 2px; }
.slip-main.gold { background: var(--gold-wash); }
.slip-main.gold .v { color: var(--gold); }
.kv { padding: 6px 18px; margin: 0; }
.kv div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.kv div:last-child { border-bottom: 0; }
.kv dt { color: var(--text-2); font-size: 14.5px; }
.kv dd { margin: 0; font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; text-align: right; }
.meter { height: 6px; border-radius: 3px; background: var(--rule-strong); overflow: hidden; margin: 2px 18px 0; }
.meter i { display: block; height: 100%; width: 0; background: var(--gold); border-radius: 3px; transition: width .25s ease; }
.slip-foot { padding: 16px 18px 18px; border-top: 1px solid var(--rule); display: grid; gap: 10px; }
.slip-foot .btn { width: 100%; min-height: 50px; font-size: 16px; }
.slip-foot small { color: var(--text-3); font-size: 12.5px; text-align: center; }

/* Article + side card */
.read { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; align-items: start; padding-top: 72px; padding-bottom: 80px; border-top: 1px solid var(--rule); }
.prose h2 { font: 700 30px/1.1 var(--display); text-transform: uppercase; margin: 44px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--text-2); font-size: 17px; line-height: 1.7; }
.prose p + p { margin-top: 14px; }
.prose ol, .prose ul { padding-left: 22px; margin: 12px 0; }
.prose li + li { margin-top: 8px; }
.prose strong { color: var(--text); }
.formula { margin: 18px 0; padding: 16px 18px; border-left: 3px solid var(--gold); background: var(--surface); border-radius: 0 10px 10px 0; font: 500 16px/1.6 ui-monospace, Menlo, Consolas, monospace; color: var(--text); overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; margin: 18px 0 6px; font-variant-numeric: tabular-nums; }
.table caption { text-align: left; color: var(--text-3); font-size: 13px; padding-bottom: 8px; }
.table th { text-align: left; font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule-strong); }
.table td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--rule); color: var(--text-2); font-size: 16px; }
.table td:first-child { color: var(--text); font-weight: 700; }
.table-scroll { overflow-x: auto; }

.side { position: sticky; top: 88px; display: grid; gap: 16px; }
.app-card { background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; overflow: hidden; }
.app-card .shot { position: relative; height: 230px; overflow: hidden; border-bottom: 1px solid var(--rule); background: var(--bg); }
.app-card .shot::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(rgba(6, 8, 14, 0), var(--bg)); pointer-events: none; }
.app-card .shot img { width: 78%; margin: 18px auto 0; border-radius: 18px 18px 0 0; box-shadow: 0 0 0 7px #0E1119, 0 0 0 8px #262C3B; }
.app-card .body { padding: 18px; }
.app-card h2 { font: 700 24px/1.05 var(--display); text-transform: uppercase; }
.app-card p { color: var(--text-2); font-size: 15px; margin: 8px 0 16px; }
.app-card .play { height: 52px; }
.app-card .play b { font-size: 20px; }
.app-card small { display: block; color: var(--text-3); font-size: 12.5px; margin-top: 12px; }
.related { border: 1px solid var(--rule); border-radius: 14px; padding: 6px 18px; }
.related h2 { font: 500 12px/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); padding: 14px 0 6px; }
.related a { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--rule); color: var(--text); text-decoration: none; font-weight: 500; }
.related h2 + a { border-top: 0; }
.related a::after { content: "→"; color: var(--gold); }
.related a:hover { color: var(--gold); }

/* "Real data" strip linking the tools to FakeBet's own data pages */
.data-strip { border-top: 1px solid var(--rule); padding: 56px 0; }
.data-strip h2 { margin-bottom: 18px; }
.data-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.data-cards a { display: grid; gap: 6px; padding: 20px; border: 1px solid var(--rule); border-radius: 14px; background: var(--surface); color: var(--text); text-decoration: none; transition: border-color .15s ease, background-color .15s ease; }
.data-cards a:hover { border-color: var(--gold-line); background: var(--raised); color: var(--text); }
.data-cards b { font: 700 22px/1.1 var(--display); text-transform: uppercase; }
.data-cards span { color: var(--text-2); font-size: 15px; }
.data-cards i { font-style: normal; color: var(--gold); font-weight: 700; font-size: 14px; margin-top: 4px; }
@media (max-width: 760px) { .data-cards { grid-template-columns: minmax(0, 1fr); } }

/* Phone-only result bar: keeps the answer in view while editing inputs */
.dock { display: none; }
@media (max-width: 960px) {
  .dock {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(17, 21, 31, 0.97); border-top: 1px solid var(--rule-strong);
    transform: translateY(110%); transition: transform .2s ease;
  }
  .dock.show { transform: none; }
  .dock small { display: block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
  .dock b { font: 700 26px/1.1 var(--display); color: var(--green); font-variant-numeric: tabular-nums; }
  .dock span { color: var(--text-2); font-size: 14px; text-align: right; font-variant-numeric: tabular-nums; }
}

@media (max-width: 960px) {
  .tool { grid-template-columns: minmax(0, 1fr); }
  .slip { position: static; }
  .read { grid-template-columns: minmax(0, 1fr); gap: 48px; padding-top: 56px; }
  .side { position: static; }
}
@media (max-width: 640px) {
  .tool-top { padding-top: 24px; padding-bottom: 20px; }
  .tool-top p { font-size: 16px; }
  .panel { padding: 16px; border-radius: 12px; }
  .seg button { padding: 0 11px; font-size: 13.5px; }
  .grid2 { gap: 8px; }
  .stake-row > div:first-child { width: 100%; }
  .stake-row .quick { width: 100%; }
  .stake-row .quick button { flex: 1; }
  .slip-main .v { font-size: 40px; }
  .prose h2 { font-size: 26px; }
  .prose p, .prose li { font-size: 16px; }
  .table td { font-size: 15px; }
}

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

/* Byline, citation box and guide components (data pages + /learn guides) */
.byline { color: var(--text-3); font-size: 14px; margin: 10px 0 14px; }
.byline a { color: var(--text-2); }
.answer { border-left: 3px solid var(--gold); background: var(--surface); border-radius: 0 12px 12px 0; padding: 18px 22px; margin: 0 0 32px; font-size: 18px; line-height: 1.6; color: var(--text); max-width: 46em; }
.answer b { color: var(--gold); }
.cite { margin: 40px 0 0; padding: 20px 22px; border: 1px solid var(--rule); border-radius: 14px; background: var(--surface); }
.prose .cite h2 { font: 500 12px/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); margin: 0 0 12px; }
.prose .cite p { font-size: 15px; line-height: 1.6; }
.prose .cite .cite-text { color: var(--text); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13.5px; overflow-wrap: anywhere; user-select: all; }
.keypoints { margin: 0 0 32px; padding: 18px 22px; border: 1px solid var(--rule); border-radius: 14px; }
.prose .keypoints h2 { font: 500 12px/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); margin: 0 0 10px; }
.prose .keypoints ul { margin: 0; }
.prose .keypoints li { font-size: 16px; }
.formula { margin: 16px 0; padding: 14px 18px; border-radius: 10px; background: var(--surface); border: 1px solid var(--rule); color: var(--text); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 15px; overflow-x: auto; }
.try { margin: 28px 0 0; padding: 18px 22px; border-radius: 14px; border: 1px solid var(--gold-line); background: var(--gold-wash); }
.prose .try p { color: var(--text); }
.guide-list { border-top: 1px solid var(--rule); }
.guide-list a { display: grid; gap: 4px; padding: 18px 4px; border-bottom: 1px solid var(--rule); color: var(--text); text-decoration: none; }
.guide-list a:hover { background: var(--surface); color: var(--text); }
.guide-list b { font: 700 22px/1.1 var(--display); text-transform: uppercase; }
.guide-list span { color: var(--text-2); font-size: 15.5px; }
