:root {
  --ink: #171a18;
  --ink-soft: #4e544f;
  --paper: #f4f2ea;
  --white: #fffef9;
  --line: #d8d5c9;
  --lime: #c8f45d;
  --lime-dark: #9cc72e;
  --orange: #ff8c42;
  --red: #c84a36;
  --radius: 6px;
  --shadow: 0 18px 55px rgba(20, 24, 21, 0.09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 100; padding: 10px 14px; background: var(--lime); color: var(--ink); font-weight: 800; }
.skip-link:focus { top: 12px; }

.disclosure-bar { background: #0f1210; color: #d7dad5; font-size: 12px; border-bottom: 1px solid #303530; }
.disclosure-inner { min-height: 36px; display: flex; align-items: center; gap: 12px; }
.disclosure-inner p { margin: 0; }
.disclosure-label { color: var(--ink); background: var(--lime); padding: 2px 7px; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.disclosure-inner a { margin-left: auto; color: white; text-underline-offset: 3px; }

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(244, 242, 234, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.header-inner { height: 72px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 850; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 33px; height: 33px; background: var(--ink); color: var(--lime); transform: rotate(7deg); }
.brand-mark span { transform: rotate(-7deg); font: 800 18px/1 Georgia, serif; }
.nav { display: flex; align-items: center; gap: 25px; margin-left: auto; }
.nav a { color: #4b504b; text-decoration: none; font-size: 14px; font-weight: 670; }
.nav a:hover { color: var(--ink); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 11px 18px; color: var(--paper); background: var(--ink); border: 1px solid var(--ink); border-radius: 3px; font-size: 14px; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .18s ease, background .18s ease; }
.button:hover { background: #2a2f2b; transform: translateY(-1px); }
.button-small { min-height: 40px; padding: 8px 14px; }

.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; width: 540px; height: 540px; left: -310px; top: 80px; border: 1px solid #d4d1c4; border-radius: 50%; box-shadow: 0 0 0 70px transparent, 0 0 0 71px #d4d1c4, 0 0 0 140px transparent, 0 0 0 141px #d4d1c4; opacity: .58; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(28px, 4vw, 55px); align-items: center; padding-block: 64px 74px; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow, .kicker { margin: 0 0 14px; font-size: 11px; line-height: 1.35; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: #555c55; }
.eyebrow span { width: 22px; height: 2px; background: var(--lime-dark); }
h1, h2, h3, p { text-wrap: pretty; }
h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(49px, 6vw, 78px); line-height: .97; letter-spacing: -.055em; font-weight: 500; }
h1 em { color: #697068; font-weight: 400; }
.hero-copy h1 em { display: block; margin-top: 9px; font-size: .63em; line-height: 1.08; letter-spacing: -.035em; }
.lead { max-width: 590px; margin: 27px 0 0; color: #454b46; font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 28px; }
.text-link { font-size: 14px; font-weight: 800; text-underline-offset: 4px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 42px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); list-style: none; }
.hero-facts li { display: flex; flex-direction: column; padding-right: 12px; }
.hero-facts li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.hero-facts strong { font: 600 21px/1.2 Georgia, serif; }
.hero-facts span { margin-top: 4px; color: #646a65; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }

.calculator-zone { display: grid; grid-template-columns: minmax(0, 1fr) 158px; gap: 14px; align-items: start; min-width: 0; }
.calculator-card { position: relative; z-index: 2; min-width: 0; padding: 28px; color: #f4f5f1; background: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); }
.calculator-card::after { content: ""; position: absolute; right: -8px; top: -8px; width: 54px; height: 54px; border-top: 2px solid var(--lime); border-right: 2px solid var(--lime); pointer-events: none; }
.card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid #373d38; }
.card-heading h2 { margin: 0; font: 500 clamp(25px, 3vw, 34px)/1.15 Georgia, serif; letter-spacing: -.025em; }
.kicker { color: #778077; }
.calculator-card .kicker { color: var(--lime); }
.status-dot { display: inline-flex; align-items: center; gap: 7px; color: #aeb5ae; font-size: 11px; white-space: nowrap; }
.status-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(200, 244, 93, .1); }
.status-dot[data-state="error"]::before { background: var(--orange); box-shadow: 0 0 0 4px rgba(247, 141, 73, .1); }
.status-dot[data-state="shared"]::before { background: #9aa09b; box-shadow: 0 0 0 4px rgba(154, 160, 155, .1); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.field-group { min-width: 0; }
.field-label-row { display: flex; align-items: center; gap: 7px; min-height: 20px; }
.field-label-row label { color: #bdc3bd; font-size: 12px; font-weight: 750; }
.help-toggle { display: inline-grid; place-items: center; width: 18px; height: 18px; padding: 0; color: #9fa79f; background: transparent; border: 1px solid #596159; border-radius: 50%; font-size: 11px; font-weight: 850; line-height: 1; cursor: pointer; }
.help-toggle:hover, .help-toggle[aria-expanded="true"] { color: var(--ink); background: var(--lime); border-color: var(--lime); }
.input-wrap { display: flex; align-items: center; height: 45px; margin-top: 5px; padding: 0 11px; background: #222623; border: 1px solid #424842; border-radius: 3px; transition: border-color .18s ease, box-shadow .18s ease; }
.input-wrap:focus-within { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(200, 244, 93, .11); }
.input-wrap input { min-width: 0; width: 100%; color: white; background: transparent; border: 0; outline: 0; font-size: 15px; font-weight: 750; font-variant-numeric: tabular-nums; }
.input-wrap span { color: #8e968f; font-size: 11px; white-space: nowrap; }
.input-wrap-live { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; height: auto; min-height: 58px; padding-block: 5px; }
.input-wrap-live input { grid-column: 1 / -1; grid-row: 1; width: 100%; font: 750 13px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: -.025em; }
.input-wrap-live > span { grid-column: 1; grid-row: 2; font-size: 9px; line-height: 1.2; }
.current-value-button { grid-column: 2; grid-row: 2; align-self: end; margin-left: 9px; padding: 3px 6px; color: var(--lime); background: #303630; border: 1px solid #515951; border-radius: 2px; font-size: 9px; font-weight: 850; line-height: 1.15; letter-spacing: .02em; cursor: pointer; white-space: nowrap; }
.current-value-button:hover { color: var(--ink); background: var(--lime); border-color: var(--lime); }
.current-value-button:disabled { color: #858d86; background: #2a2f2b; cursor: wait; }
.field-help { margin: 7px 0 2px; padding: 9px 10px; color: #b6bdb7; background: #292e2a; border-left: 2px solid var(--lime); font-size: 11px; line-height: 1.45; }
.market-data-status { min-height: 17px; margin: 10px 0 0; color: #9da59e; font-size: 10px; line-height: 1.4; }
.market-data-status[data-state="success"] { color: var(--lime); }
.market-data-status[data-state="error"] { color: #ffc5a6; }
.advanced { margin-top: 16px; border-top: 1px solid #373d38; border-bottom: 1px solid #373d38; }
.advanced summary { padding: 12px 0; color: #c4cac4; font-size: 12px; font-weight: 750; cursor: pointer; }
.advanced-grid { grid-template-columns: repeat(3, 1fr); margin: 0 0 15px; }
.results { display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px; align-items: end; margin-top: 20px; padding: 20px; background: var(--lime); color: var(--ink); border-radius: 3px; }
.result-primary { display: flex; flex-direction: column; }
.result-primary > span { font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.result-primary strong { margin: 5px 0 1px; font: 600 clamp(23px, 3vw, 31px)/1.1 Georgia, serif; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.result-primary small { font-weight: 750; }
.result-breakdown { margin: 0; font-size: 11px; }
.result-breakdown div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border-bottom: 1px solid rgba(23, 26, 24, .18); }
.result-breakdown div:last-child { border: 0; }
.result-breakdown dd { margin: 0; font-weight: 850; font-variant-numeric: tabular-nums; }
.protection-note { margin: 12px 0 0; padding: 10px 12px; color: #ffd9c1; background: #43271d; border-left: 3px solid var(--orange); font-size: 12px; }
.calculator-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 12px; }
.reset-button { padding: 0; color: #abb2ab; background: none; border: 0; border-bottom: 1px dotted #747c75; font-size: 12px; cursor: pointer; }
.share-button { min-height: 38px; padding: 8px 13px; color: var(--ink); background: var(--lime); border: 1px solid var(--lime); border-radius: 3px; font-size: 12px; font-weight: 850; cursor: pointer; }
.share-button:hover { background: #d6ff72; }
.share-status { min-height: 18px; margin: 6px 0 0; color: var(--lime); font-size: 12px; text-align: right; }
.calculator-note { margin: 16px 0 0; color: #959d96; font-size: 11px; line-height: 1.55; }
.calculator-note a { color: #dfe4df; text-underline-offset: 3px; }

.promo-wrap { margin-top: 34px; }
.promo-card { display: grid; grid-template-columns: 90px 1fr auto auto; align-items: center; gap: 24px; padding: 24px 28px; color: #f8faf4; background: #252925; border-left: 5px solid var(--lime); box-shadow: var(--shadow); }
.promo-number { color: var(--lime); font: 500 66px/1 Georgia, serif; letter-spacing: -.08em; }
.promo-copy h2 { margin: 0; font: 500 26px/1.15 Georgia, serif; letter-spacing: -.02em; }
.promo-copy h2 span { display: block; color: var(--lime); }
.promo-copy p:last-child { max-width: 650px; margin: 9px 0 0; color: #b8beb9; font-size: 12px; line-height: 1.55; }
.promo-card .kicker { margin-bottom: 6px; color: #939b93; }
.code-box { min-width: 126px; padding: 12px 15px; border: 1px dashed #626a63; text-align: center; }
.code-box > span:first-child { display: block; color: #929a93; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.code-box strong { display: block; margin: 2px 0 3px; color: var(--lime); font-size: 18px; letter-spacing: .08em; }
.code-box button { color: #e5e8e3; background: none; border: 0; border-bottom: 1px solid #838b84; font-size: 10px; cursor: pointer; }
.copy-status { display: block; min-height: 13px; margin-top: 2px; color: var(--lime); font-size: 9px; }
.button-light { color: var(--ink); background: var(--lime); border-color: var(--lime); white-space: nowrap; }
.button-light:hover { background: #d6ff72; }

.community-card { display: grid; grid-template-columns: 68px minmax(0, 1fr) auto; align-items: center; gap: 25px; margin-top: 22px; padding: 28px; color: #f4f5ff; background: #252a52; border-top: 4px solid #8892ff; box-shadow: var(--shadow); }
.community-mark { display: grid; place-items: center; width: 58px; height: 58px; color: #252a52; background: #aeb5ff; border-radius: 18px; font: 800 31px/1 ui-sans-serif, sans-serif; transform: rotate(-5deg); }
.community-copy .kicker { margin-bottom: 5px; color: #aeb5ff; }
.community-copy h2 { margin: 0; font: 500 29px/1.15 Georgia, serif; letter-spacing: -.025em; }
.community-copy p { max-width: 720px; margin: 8px 0 0; color: #d1d4ef; font-size: 13px; line-height: 1.55; }
.community-copy .community-safety { color: #aeb3d2; font-size: 11px; }
.discord-button { color: #171a18; background: #aeb5ff; border-color: #aeb5ff; white-space: nowrap; }
.discord-button:hover { background: #c4c9ff; }

.ad-slot { display: grid; place-items: center; min-height: 112px; margin-top: 44px; padding: 18px; color: #888d87; background: #eeece3; border: 1px dashed #c7c4b9; text-align: center; }
.ad-slot span { font-size: 9px; font-weight: 850; text-transform: uppercase; letter-spacing: .17em; }
.ad-slot p { margin: 2px 0 0; font-size: 11px; }
.ad-slot-live { display: block; min-height: 0; padding: 12px 18px 16px; overflow: hidden; border-style: solid; }
.ad-slot-live .ad-label { display: block; margin-bottom: 8px; }
.ad-slot-live .aads-frame { max-width: 970px; }
.ad-slot-live iframe { max-width: 100%; min-height: 90px; }
.inline-ad-live { margin: 0 0 82px; }
.calculator-side-ad { position: relative; z-index: 1; min-width: 0; padding: 12px 10px 20px; color: #8b918b; background: rgba(255, 254, 249, .58); border: 1px solid #d3d0c5; border-radius: var(--radius); text-align: center; overflow: hidden; }
.calculator-side-ad > .ad-label { display: block; margin-bottom: 8px; font-size: 9px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.calculator-side-ad .aads-frame { min-width: 0; }
.calculator-side-ad iframe { width: 100% !important; min-height: 180px !important; }

.tutorial-preview { padding-block: 62px 0; }
.tutorial-preview-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.tutorial-preview-heading h2 { max-width: 720px; margin: 0; font: 500 clamp(34px, 4.5vw, 50px)/1.08 Georgia, serif; letter-spacing: -.038em; }
.tutorial-preview-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; white-space: nowrap; }
.tutorial-preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.tutorial-preview-grid > a { display: grid; grid-template-columns: 38px 1fr; gap: 15px; min-height: 165px; padding: 22px; background: var(--white); text-decoration: none; transition: background .18s ease, transform .18s ease; }
.tutorial-preview-grid > a:hover { position: relative; z-index: 1; background: #faffec; transform: translateY(-2px); }
.tutorial-preview-grid > a > span { color: #858c85; font: 400 17px/1.35 Georgia, serif; }
.tutorial-preview-grid small { color: #767d76; font-size: 10px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.tutorial-preview-grid h3 { margin: 22px 0 8px; font: 500 24px/1.15 Georgia, serif; letter-spacing: -.025em; }
.tutorial-preview-grid p { margin: 0; color: #626963; font-size: 13px; }

.article { display: grid; grid-template-columns: minmax(0, 760px) 290px; justify-content: space-between; gap: 70px; padding-block: 68px 78px; }
.article-main > section { padding-bottom: 54px; }
.section-number { display: flex; align-items: center; gap: 12px; margin: 0 0 15px; color: #6d746d; font-size: 10px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.section-number::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.article h2, .transparency h2 { margin: 0 0 24px; font: 500 clamp(34px, 4.5vw, 50px)/1.08 Georgia, serif; letter-spacing: -.038em; }
.article h3 { margin-bottom: 7px; line-height: 1.25; }
.article p { color: #474d48; }
.article .intro { color: #282d29; font: 400 21px/1.62 Georgia, serif; }
.process-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 34px 0; background: var(--line); border: 1px solid var(--line); }
.process-grid > div { padding: 23px; background: var(--white); }
.process-grid span { display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 18px; color: var(--ink); background: var(--lime); font-size: 11px; font-weight: 900; border-radius: 50%; }
.process-grid h3 { margin: 0; font-size: 16px; }
.process-grid p { margin: 7px 0 0; font-size: 13px; }
.definition-list { border-top: 1px solid var(--ink); }
.definition-list > div { display: grid; grid-template-columns: 100px 1fr; gap: 22px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.definition-list dt { font-weight: 850; }
.definition-list dd { margin: 0; color: #565c57; }
.formula-card { margin: 32px 0; padding: 26px; color: #edf0eb; background: var(--ink); border-left: 4px solid var(--lime); overflow-x: auto; }
.formula-card p { margin: 0; color: #e3e7e2; font: 400 15px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: nowrap; }
.formula-card p + p { margin-top: 13px; padding-top: 13px; border-top: 1px solid #383e39; }
.formula-card span { color: var(--lime); font-weight: 800; }
.calibration-check { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 25px 0 12px; background: var(--line); border: 1px solid var(--line); }
.calibration-check > div { display: flex; flex-direction: column; padding: 16px 18px; background: var(--white); }
.calibration-check span { color: #717771; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.calibration-check strong { margin-top: 3px; font: 600 18px/1.3 Georgia, serif; font-variant-numeric: tabular-nums; }
.callout { margin-top: 30px; padding: 22px 24px; border-left: 4px solid; }
.callout strong { display: block; margin-bottom: 5px; }
.callout p { margin: 0; font-size: 14px; }
.callout.neutral { background: #e5e2d7; border-color: #8f958e; }
.callout.warning { background: #f2dfd6; border-color: var(--red); }
.callout.warning a { font-weight: 800; text-underline-offset: 3px; }
.comparison-table { overflow-x: auto; margin: 28px 0 8px; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; background: var(--white); font-size: 13px; }
th, td { padding: 15px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { color: #676e67; background: #e8e5da; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }
td:nth-child(2) { font-weight: 850; }
.small-print { font-size: 12px; }
.check-list { display: grid; margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.check-list li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.check-list li > span { display: grid; place-items: center; width: 28px; height: 28px; background: var(--lime); border-radius: 50%; font-size: 12px; font-weight: 900; }
.check-list p { margin: 0; }
.risk-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 30px; }
.risk-grid > div { min-height: 185px; padding: 22px; background: var(--white); border: 1px solid var(--line); }
.compact-risk-grid { grid-template-columns: repeat(3, 1fr); }
.compact-risk-grid > div { min-height: 165px; }
.risk-grid > div > span { color: var(--red); font: 600 24px/1 Georgia, serif; }
.risk-grid h3 { margin: 28px 0 6px; font-size: 16px; }
.risk-grid p { margin: 0; font-size: 13px; line-height: 1.55; }
.steps { margin: 30px 0 38px; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.steps li { display: grid; grid-template-columns: 70px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.steps > li > span { color: #7a817a; font: 400 23px/1.3 Georgia, serif; }
.steps h3 { margin: 0; font-size: 16px; }
.steps p { margin: 5px 0 0; font-size: 14px; }
.article-cta { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 26px; padding: 28px; color: #ecf0e9; background: var(--ink); border-bottom: 4px solid var(--lime); }
.article-cta h3 { margin: 0; font: 500 25px/1.2 Georgia, serif; }
.article-cta h3 strong { color: var(--lime); }
.article-cta p:last-child { margin: 8px 0 0; color: #aeb5ae; font-size: 12px; }
.article-cta .kicker { margin: 0 0 6px; color: #858e86; }
.article-cta .button { color: var(--ink); background: var(--lime); border-color: var(--lime); white-space: nowrap; }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 20px 44px 20px 0; font-weight: 800; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 6px; top: 15px; font: 400 26px/1 Georgia, serif; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: -6px 40px 22px 0; font-size: 14px; }
.sources { margin: 28px 0 0; padding: 0; list-style: none; counter-reset: source; border-top: 1px solid var(--ink); }
.sources li { counter-increment: source; }
.sources a { display: grid; grid-template-columns: 1fr auto; gap: 18px; padding: 17px 0 17px 44px; border-bottom: 1px solid var(--line); text-decoration: none; position: relative; }
.sources a::before { content: counter(source, decimal-leading-zero); position: absolute; left: 0; color: #7d847d; font: 400 13px/1.8 Georgia, serif; }
.sources strong { font-size: 14px; }
.sources span { color: #717771; font-size: 11px; text-align: right; }
.sources a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.section-link { margin: 20px 0 0; font-size: 14px; font-weight: 800; }
.section-link a { text-underline-offset: 4px; }

.rail-card { position: sticky; top: 105px; padding: 21px; background: var(--white); border-top: 3px solid var(--ink); box-shadow: 0 10px 30px rgba(20,24,21,.05); }
.rail-card a { display: flex; gap: 12px; padding: 8px 0; color: #555b56; border-bottom: 1px solid #e4e1d6; font-size: 12px; text-decoration: none; }
.rail-card a span { color: #979d97; font-family: Georgia, serif; }
.rail-card a:hover { color: var(--ink); }
.rail-promo { margin-top: 22px; padding: 24px; color: #edf0eb; background: var(--ink); }
.rail-promo > span { color: #959d96; font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.rail-promo strong { display: block; margin: 6px 0; color: var(--lime); font-size: 25px; letter-spacing: .07em; }
.rail-promo p { margin: 0 0 18px; color: #bac1bb; font-size: 12px; }
.rail-promo a { color: white; font-size: 12px; font-weight: 800; text-underline-offset: 4px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 22px; color: #777d77; font-size: 12px; }
.breadcrumb a { text-underline-offset: 3px; }
.breadcrumb span { color: #a0a59f; }

.library-hero { position: relative; padding: 76px 0 72px; overflow: hidden; color: #f3f5ef; background: var(--ink); border-bottom: 5px solid var(--lime); }
.library-hero::after { content: ""; position: absolute; right: -130px; top: -210px; width: 470px; height: 470px; border: 1px solid #3c433d; border-radius: 50%; box-shadow: 0 0 0 55px transparent, 0 0 0 56px #3c433d, 0 0 0 110px transparent, 0 0 0 111px #3c433d; pointer-events: none; }
.library-hero .breadcrumb { position: relative; z-index: 1; color: #aeb5ae; }
.library-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 80px; align-items: end; }
.library-hero h1 { max-width: 760px; font-size: clamp(50px, 7vw, 84px); }
.library-hero h1 em { color: var(--lime); }
.library-hero .lead { color: #bbc1bb; }
.library-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; padding: 1px; background: #454b46; }
.library-stats div { min-height: 108px; padding: 18px; background: #222623; }
.library-stats strong { display: block; color: var(--lime); font: 500 34px/1 Georgia, serif; }
.library-stats span { display: block; margin-top: 9px; color: #aeb5ae; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }

.tutorial-library { padding-block: 76px 96px; }
.library-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; margin-bottom: 34px; }
.library-intro h2 { max-width: 620px; margin: 0; font: 500 clamp(36px, 5vw, 56px)/1.05 Georgia, serif; letter-spacing: -.04em; }
.library-intro p { margin: 0; color: #555c56; }
.library-controls { display: grid; grid-template-columns: 1fr auto; gap: 14px; margin-bottom: 20px; }
.library-search { display: flex; align-items: center; min-height: 50px; padding: 0 16px; background: var(--white); border: 1px solid var(--line); }
.library-search input { width: 100%; padding: 0; color: var(--ink); background: transparent; border: 0; outline: 0; font-size: 15px; }
.library-count { display: flex; align-items: center; padding: 0 17px; color: #626862; background: #e8e5da; border: 1px solid var(--line); font-size: 12px; font-weight: 800; white-space: nowrap; }
.tutorial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.tutorial-card { display: grid; grid-template-columns: 56px 1fr; gap: 18px; min-height: 230px; padding: 26px; color: var(--ink); background: var(--white); border: 1px solid var(--line); text-decoration: none; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.tutorial-card:hover { transform: translateY(-2px); border-color: #b5b1a4; box-shadow: 0 14px 34px rgba(20,24,21,.07); }
.tutorial-card[hidden] { display: none; }
.tutorial-index { color: #858b85; font: 400 24px/1 Georgia, serif; }
.tutorial-card small { color: #767d77; font-size: 10px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.tutorial-card h2 { margin: 28px 0 9px; font: 500 29px/1.1 Georgia, serif; letter-spacing: -.03em; }
.tutorial-card p { margin: 0; color: #5e655f; font-size: 14px; }
.tutorial-card .card-link { display: inline-block; margin-top: 20px; font-size: 12px; font-weight: 850; text-decoration: underline; text-underline-offset: 4px; }
.library-empty { margin: 24px 0 0; padding: 24px; color: #555c56; background: var(--white); border: 1px solid var(--line); }

.learning-path { padding: 70px 0; background: #e7e4d9; border-top: 1px solid #d0cdc1; }
.learning-path-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; }
.learning-path h2 { margin: 0; font: 500 clamp(36px, 4vw, 51px)/1.05 Georgia, serif; letter-spacing: -.04em; }
.path-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.path-list li { display: grid; grid-template-columns: 58px 1fr auto; gap: 15px; align-items: center; padding: 18px 0; border-bottom: 1px solid #c9c6ba; }
.path-list span { color: #7b817b; font: 400 18px/1 Georgia, serif; }
.path-list strong { font-size: 14px; }
.path-list a { font-size: 12px; font-weight: 800; text-underline-offset: 3px; }

.tutorial-header { padding: 54px 0 58px; background: #e9e6dc; border-bottom: 1px solid var(--line); }
.tutorial-header h1 { max-width: 880px; font-size: clamp(46px, 7vw, 76px); }
.tutorial-header .lead { max-width: 760px; }
.tutorial-meta { display: flex; flex-wrap: wrap; gap: 9px 22px; margin-top: 28px; color: #666d67; font-size: 12px; }
.tutorial-meta span { display: inline-flex; align-items: center; gap: 7px; }
.tutorial-meta span::before { content: ""; width: 6px; height: 6px; background: var(--lime-dark); border-radius: 50%; }
.tutorial-layout { display: grid; grid-template-columns: minmax(0, 760px) 280px; justify-content: space-between; gap: 72px; padding-block: 72px 98px; }
.tutorial-content h2 { margin: 58px 0 18px; font: 500 clamp(31px, 4vw, 44px)/1.08 Georgia, serif; letter-spacing: -.035em; }
.tutorial-content h2:first-child { margin-top: 0; }
.tutorial-content h3 { margin: 0 0 7px; font-size: 17px; line-height: 1.3; }
.tutorial-content p { color: #474d48; }
.tutorial-content a { text-underline-offset: 4px; }
.tutorial-steps { margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.tutorial-steps li { display: grid; grid-template-columns: 58px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.tutorial-steps > li > span { display: grid; place-items: center; width: 38px; height: 38px; color: var(--ink); background: var(--lime); border-radius: 50%; font-size: 12px; font-weight: 900; }
.tutorial-steps p { margin: 6px 0 0; font-size: 14px; }
.tutorial-note { margin: 28px 0; padding: 22px 24px; background: #e5e2d7; border-left: 4px solid #8f958e; }
.tutorial-note.warning { background: #f2dfd6; border-color: var(--red); }
.tutorial-note strong { display: block; margin-bottom: 5px; }
.tutorial-note p { margin: 0; font-size: 14px; }
.worked-example { margin: 28px 0; padding: 26px; color: #edf0eb; background: var(--ink); border-left: 4px solid var(--lime); }
.worked-example p { margin: 0; color: #dce1db; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; overflow-wrap: anywhere; }
.worked-example p + p { margin-top: 10px; }
.worked-example strong { color: var(--lime); }
.tutorial-table { overflow-x: auto; margin: 26px 0; border: 1px solid var(--line); }
.tutorial-source { margin-top: 54px; padding-top: 22px; border-top: 1px solid var(--ink); }
.tutorial-source h2 { margin: 0 0 12px; font: 700 13px/1.3 ui-sans-serif, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.tutorial-source ul { margin: 0; padding-left: 20px; }
.tutorial-source li { margin: 8px 0; color: #565d57; font-size: 13px; }
.tutorial-rail { position: sticky; top: 105px; }
.tutorial-rail-card { padding: 22px; background: var(--white); border-top: 3px solid var(--ink); box-shadow: 0 10px 30px rgba(20,24,21,.05); }
.tutorial-rail-card h2 { margin: 0 0 10px; font: 700 12px/1.3 ui-sans-serif, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.tutorial-rail-card a { display: block; padding: 9px 0; color: #555b56; border-bottom: 1px solid #e4e1d6; font-size: 12px; text-decoration: none; }
.tutorial-rail-card a:hover { color: var(--ink); }
.tutorial-rail .rail-promo { margin-top: 20px; }
.tutorial-related { padding: 64px 0 76px; background: #e7e4d9; border-top: 1px solid #d0cdc1; }
.tutorial-related h2 { margin: 0 0 25px; font: 500 38px/1.08 Georgia, serif; letter-spacing: -.035em; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.related-grid a { padding: 22px; background: var(--white); border: 1px solid var(--line); text-decoration: none; }
.related-grid small { color: #737a74; font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.related-grid strong { display: block; margin-top: 7px; font: 500 22px/1.2 Georgia, serif; }
.compare-hero { padding: 25px 0 32px; background: #e9e6dc; border-bottom: 1px solid var(--line); }
.compare-hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) 164px; align-items: center; gap: 34px; }
.compare-hero-copy { min-width: 0; }
.compare-hero .breadcrumb { margin-bottom: 18px; }
.compare-hero h1 { max-width: 1060px; font-size: clamp(43px, 5.4vw, 62px); }
.compare-hero h1 em { display: inline; }
.compare-hero .lead { max-width: 900px; margin-top: 14px; font-size: 16px; line-height: 1.55; }
.compare-miner-visual { display: grid; place-items: center; width: 164px; margin: 0; padding: 9px; overflow: hidden; background: rgba(255,254,249,.48); border: 1px solid #cbc8bc; border-radius: 18px; box-shadow: 0 16px 38px rgba(20,24,21,.11); }
.compare-miner-visual img { width: 100%; height: auto; object-fit: contain; }
.compare-workspace { padding-block: 20px 30px; }
.scenario-panel { display: grid; grid-template-columns: 240px minmax(0, 1fr); align-items: end; gap: 7px 22px; padding: 18px 20px; color: #f4f5f1; background: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); }
.scenario-heading { display: flex; align-items: flex-start; flex-direction: column; justify-content: space-between; gap: 8px; padding: 0; border: 0; }
.scenario-heading .kicker { margin-bottom: 5px; color: var(--lime); }
.scenario-heading h2 { margin: 0; font: 500 26px/1.12 Georgia, serif; letter-spacing: -.025em; }
.scenario-heading .status-dot { white-space: normal; }
.compare-scenario-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; }
.compare-field { min-width: 0; }
.compare-label-row { display: flex; align-items: center; gap: 8px; min-height: 24px; }
.compare-label-row label { color: #d0d5d0; font-size: 14px; font-weight: 750; }
.compare-help-toggle { display: inline-grid; place-items: center; width: 20px; height: 20px; padding: 0; color: #aeb5ae; background: transparent; border: 1px solid #626a63; border-radius: 50%; font-size: 12px; font-weight: 850; line-height: 1; cursor: pointer; }
.compare-help-toggle:hover, .compare-help-toggle[aria-expanded="true"] { color: var(--ink); background: var(--lime); border-color: var(--lime); }
.compare-input { display: flex; align-items: center; min-height: 44px; margin-top: 4px; padding: 0 10px; background: #222623; border: 1px solid #424842; border-radius: 3px; transition: border-color .18s ease, box-shadow .18s ease; }
.compare-input:focus-within { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(200,244,93,.11); }
.compare-input input { min-width: 0; width: 100%; color: #fff; background: transparent; border: 0; outline: 0; font-size: 16px; font-weight: 750; font-variant-numeric: tabular-nums; }
.compare-input > span { color: #969e97; font-size: 12px; white-space: nowrap; }
.compare-input > span:first-child { margin-right: 5px; }
.compare-input-live { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; min-height: 52px; padding-block: 4px; }
.compare-input-live input { grid-column: 1 / -1; grid-row: 1; font: 750 14px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: -.02em; }
.compare-input-live > span { grid-column: 1; grid-row: 2; align-self: end; font-size: 11px; }
.compare-input-live > button { grid-column: 2; grid-row: 2; margin-left: 10px; padding: 4px 8px; color: var(--lime); background: #303630; border: 1px solid #515951; border-radius: 2px; font-size: 11px; font-weight: 850; line-height: 1.2; cursor: pointer; }
.compare-input-live > button:hover { color: var(--ink); background: var(--lime); border-color: var(--lime); }
.compare-input-live > button:disabled { color: #858d86; background: #2a2f2b; cursor: wait; }
.compare-help { margin: 8px 0 0; padding: 10px 11px; color: #c3c9c3; background: #292e2a; border-left: 2px solid var(--lime); font-size: 13px; line-height: 1.45; }
.compare-market-status { grid-column: 2; min-height: 17px; margin: 0; color: #aeb5ae; font-size: 12px; line-height: 1.35; }
.compare-market-status[data-state="success"] { color: var(--lime); }
.compare-market-status[data-state="error"] { color: #ffc5a6; }

.miner-compare-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.miner-panel { min-width: 0; padding: 17px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--ink); box-shadow: 0 12px 36px rgba(20,24,21,.055); transition: border-color .18s ease, box-shadow .18s ease; }
.miner-panel[data-winner="true"] { border-top-color: var(--lime-dark); box-shadow: 0 16px 40px rgba(121,153,34,.12); }
.miner-heading { display: grid; grid-template-columns: 35px 1fr auto; align-items: center; gap: 10px; padding-bottom: 11px; border-bottom: 1px solid var(--line); }
.miner-heading > span { display: grid; place-items: center; width: 32px; height: 32px; color: var(--ink); background: var(--lime); border-radius: 50%; font-size: 13px; font-weight: 900; }
.miner-heading .kicker { margin: 0 0 2px; color: #747b75; }
.miner-heading h2 { margin: 0; font: 500 24px/1.05 Georgia, serif; }
.winner-badge { padding: 5px 8px; color: #3e5308; background: #e8f9b8; border: 1px solid #bddc68; font-size: 11px; line-height: 1.2; }
.miner-input-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-top: 11px; }
.light-field .compare-label-row label { color: #464c47; }
.light-field .compare-help-toggle { color: #666d67; border-color: #a9aea8; }
.light-field .compare-input { background: #f5f3eb; border-color: #cbc8bc; }
.light-field .compare-input input { color: var(--ink); }
.light-field .compare-input > span { color: #687069; }
.light-field .compare-help { color: #4e554f; background: #efede4; }
.miner-primary-result { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1px 14px; margin-top: 12px; padding: 11px 13px; color: var(--ink); background: var(--lime); }
.miner-primary-result > span { font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.miner-primary-result strong { grid-column: 2; grid-row: 1 / 3; margin: 0; font: 600 clamp(24px, 2.4vw, 31px)/1.05 Georgia, serif; font-variant-numeric: tabular-nums; letter-spacing: -.025em; white-space: nowrap; }
.miner-primary-result small { margin-top: 1px; font-size: 12px; font-weight: 750; }
.miner-result-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 8px 0 0; background: var(--line); border: 1px solid var(--line); }
.miner-result-list > div { display: flex; align-items: flex-start; flex-direction: column; justify-content: space-between; gap: 2px; min-width: 0; min-height: 55px; padding: 7px 8px; background: var(--white); }
.miner-result-list dt { color: #5f665f; font-size: 11px; line-height: 1.25; }
.miner-result-list dd { margin: 0; text-align: right; font-size: 14px; font-weight: 850; font-variant-numeric: tabular-nums; }

.comparison-verdict { display: grid; grid-template-columns: .55fr 1.45fr; align-items: center; gap: 22px; margin-top: 12px; padding: 16px 19px; color: #eff2ec; background: var(--ink); border-left: 4px solid var(--lime); }
.comparison-verdict .kicker { margin-bottom: 5px; color: #959d96; }
.comparison-verdict h2 { margin: 0; font: 500 23px/1.12 Georgia, serif; }
.verdict-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: #424842; border: 1px solid #424842; }
.verdict-grid > div { display: flex; flex-direction: column; min-width: 0; padding: 10px 13px; background: #252a26; }
.verdict-grid span { color: #aeb5ae; font-size: 12px; }
.verdict-grid strong { margin-top: 2px; color: var(--lime); font: 500 20px/1.15 Georgia, serif; }
.verdict-grid small { margin-top: 4px; color: #d2d7d2; font-size: 12px; }
.compare-protection-note { margin: 16px 0 0; padding: 15px 17px; color: #73321f; background: #f2dfd6; border-left: 4px solid var(--red); font-size: 14px; }
.compare-actions { display: flex; align-items: center; justify-content: flex-end; gap: 22px; margin-top: 10px; }
.compare-reset { color: #4d544e; }
.compare-workspace > .compare-disclaimer { margin: 8px 0 0; color: #5f665f; font-size: 12px; line-height: 1.45; }
.compare-ad { margin-bottom: 58px; padding: 10px 16px 16px; color: #777e78; background: rgba(255,254,249,.72); border: 1px solid var(--line); text-align: center; overflow: hidden; }
.compare-ad > .ad-label { display: block; margin-bottom: 5px; font-size: 10px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.compare-ad .aads-frame { max-width: 970px; }
.compare-ad iframe { max-width: 100%; min-height: 88px; }

.compare-guide { max-width: 930px; padding-bottom: 90px; }
.compare-guide > section { padding: 64px 0; border-top: 1px solid var(--line); }
.compare-guide h2 { max-width: 760px; margin: 0 0 22px; font: 500 clamp(34px, 4.5vw, 50px)/1.08 Georgia, serif; letter-spacing: -.038em; }
.compare-guide p { color: #474d48; }
.compare-principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 30px; background: var(--line); border: 1px solid var(--line); }
.compare-principles > div { padding: 22px; background: var(--white); }
.compare-principles span { color: #7b827c; font: 500 18px/1 Georgia, serif; }
.compare-principles h3 { margin: 27px 0 7px; font-size: 16px; }
.compare-principles p { margin: 0; font-size: 14px; line-height: 1.55; }
.compare-guide .article-cta { margin-top: 12px; }
.compare-sources { padding-bottom: 0 !important; }
.compare-sources h2 { margin-bottom: 14px; font: 750 13px/1.3 ui-sans-serif, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.compare-sources ul { margin: 0; padding-left: 19px; }
.compare-sources li { margin: 8px 0; color: #565d57; font-size: 14px; }
.compare-sources a { text-underline-offset: 4px; }

.transparency { padding: 70px 0; color: #eff2ec; background: var(--ink); border-top: 5px solid var(--lime); }
.transparency-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.section-number.light { color: #aeb5ae; }
.section-number.light::after { background: #454b46; }
.transparency h2 { margin: 0; }
.transparency p { margin-top: 0; color: #bbc2bb; }
.transparency strong { color: var(--lime); }

.footer { padding: 54px 0 90px; color: #565c57; background: #e7e4d9; }
.footer-grid { display: grid; grid-template-columns: 1fr .55fr 1.2fr; gap: 70px; }
.footer-brand { color: var(--ink); }
.footer-grid p { max-width: 460px; font-size: 12px; }
.footer-grid h2 { margin: 0 0 12px; color: var(--ink); font: 700 12px/1.3 ui-sans-serif, sans-serif; text-transform: uppercase; letter-spacing: .1em; }
.footer-grid > div:nth-child(2) a { display: block; margin: 7px 0; font-size: 12px; text-underline-offset: 3px; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 42px; padding-top: 17px; border-top: 1px solid #cbc8bd; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.mobile-hotbar { display: none; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
input:focus-visible { outline: 0; }

@media (max-width: 1040px) {
  .nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .calculator-card { max-width: none; }
  .calculator-zone { grid-template-columns: minmax(0, 1fr) 180px; max-width: 970px; }
  .promo-card { grid-template-columns: 74px 1fr auto; }
  .promo-card > .button { grid-column: 2 / 4; justify-self: start; }
  .community-card { grid-template-columns: 68px 1fr; }
  .community-card .button { grid-column: 2; justify-self: start; }
  .article { grid-template-columns: minmax(0, 760px); justify-content: center; }
  .article-rail { display: none; }
  .library-hero-grid { grid-template-columns: 1fr; gap: 45px; }
  .library-stats { max-width: 500px; }
  .tutorial-layout { grid-template-columns: minmax(0, 760px); justify-content: center; }
  .tutorial-aside { display: none; }
  .compare-hero-layout { grid-template-columns: minmax(0, 1fr) 142px; gap: 24px; }
  .compare-miner-visual { width: 142px; }
}

@media (max-width: 900px) {
  .compare-scenario-grid { grid-template-columns: 1fr 1fr; }
  .compare-scenario-grid .compare-field:last-child { grid-column: 1 / -1; }
  .miner-compare-grid { grid-template-columns: 1fr; }
  .comparison-verdict { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 1040px) {
  body { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .mobile-hotbar {
    position: fixed;
    z-index: 50;
    right: 10px;
    bottom: max(8px, env(safe-area-inset-bottom));
    left: 10px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: 62px;
    padding: 5px;
    color: #f4f2ea;
    background: rgba(23,26,24,.96);
    border: 1px solid #414741;
    border-radius: 12px;
    box-shadow: 0 16px 38px rgba(0,0,0,.28);
    backdrop-filter: blur(16px);
  }
  .mobile-hotbar a { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 2px; min-width: 0; min-height: 50px; padding: 4px 2px; color: #cbd0cb; border-radius: 8px; font-size: 12px; font-weight: 750; line-height: 1.1; text-decoration: none; white-space: nowrap; }
  .mobile-hotbar a[aria-current="page"] { color: var(--lime); background: #292e2a; }
  .mobile-hotbar .hotbar-app { color: var(--ink); background: var(--lime); }
  .hotbar-icon { font: 800 18px/1 ui-sans-serif, sans-serif; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 28px, 1160px); }
  .disclosure-inner { align-items: flex-start; gap: 8px; min-height: 0; padding-block: 8px; }
  .disclosure-inner p { line-height: 1.35; }
  .disclosure-inner a { display: none; }
  .header-inner { justify-content: space-between; height: 60px; }
  .header-inner > .button { display: none; }
  .brand { font-size: 14px; }
  .brand-mark { width: 30px; height: 30px; }
  .hero-grid { padding-block: 38px 48px; gap: 32px; }
  .calculator-zone { grid-template-columns: 1fr; }
  h1 { font-size: clamp(40px, 13vw, 56px); }
  .lead { margin-top: 20px; font-size: 16px; line-height: 1.55; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 13px; }
  .hero-facts { margin-top: 32px; }
  .hero-facts strong { font-size: 17px; }
  .hero-facts span { font-size: 10px; line-height: 1.3; }
  .calculator-card { padding: 21px 17px; margin-inline: 0; }
  .calculator-side-ad { margin-inline: 0; }
  .calculator-side-ad iframe { min-height: 100px !important; }
  .calculator-actions { align-items: flex-start; flex-direction: column; }
  .card-heading { align-items: flex-start; }
  .status-dot { font-size: 10px; }
  input { font-size: 16px !important; }
  .field-grid { gap: 11px; }
  .input-wrap { min-height: 48px; }
  .advanced-grid { grid-template-columns: 1fr; }
  .results { grid-template-columns: 1fr; gap: 14px; padding: 17px; }
  .result-breakdown { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
  .result-breakdown div { flex-direction: column; gap: 0; }
  .promo-wrap { width: 100%; margin-top: 0; }
  .promo-card { grid-template-columns: 1fr; gap: 18px; padding: 28px 22px; border-left: 0; border-top: 5px solid var(--lime); }
  .promo-number { display: none; }
  .code-box { justify-self: start; }
  .promo-card > .button { grid-column: auto; }
  .promo-card .button, .community-card .button { width: 100%; }
  .community-card { width: 100%; grid-template-columns: 1fr; margin-top: 0; padding: 26px 22px; }
  .community-mark { width: 50px; height: 50px; border-radius: 15px; }
  .community-card .button { grid-column: auto; }
  .ad-slot { min-height: 100px; margin-top: 34px; }
  .ad-slot-live { min-height: 0; padding-inline: 10px; }
  .ad-slot-live iframe { width: 100% !important; }
  .inline-ad-live { margin: 0 0 66px; }
  .article { padding-block: 54px 68px; }
  .tutorial-preview { padding-block: 58px 0; }
  .tutorial-preview-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
  .tutorial-preview-actions { align-items: flex-start; }
  .tutorial-preview-grid { grid-template-columns: 1fr; }
  .tutorial-preview-grid > a { min-height: 0; }
  .article-main > section { padding-bottom: 66px; }
  .article h2 { font-size: 36px; }
  .article .intro { font-size: 19px; }
  .process-grid, .risk-grid { grid-template-columns: 1fr; }
  .calibration-check { grid-template-columns: 1fr; }
  .formula-card { padding: 19px; }
  .formula-card p { font-size: 12px; white-space: normal; overflow-wrap: anywhere; }
  .comparison-table { margin-inline: -14px; }
  .article-cta { grid-template-columns: 1fr; }
  .article-cta .button { justify-self: start; }
  .sources a { grid-template-columns: 1fr; gap: 2px; }
  .sources span { text-align: left; }
  .transparency { padding: 55px 0; }
  .transparency-grid { grid-template-columns: 1fr; gap: 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 7px; }
  .library-hero { padding: 40px 0 46px; }
  .library-hero h1, .tutorial-header h1 { font-size: clamp(38px, 11.5vw, 50px); }
  .library-intro, .learning-path-grid { grid-template-columns: 1fr; gap: 20px; }
  .library-controls { grid-template-columns: 1fr; }
  .library-count { min-height: 42px; }
  .tutorial-grid { grid-template-columns: 1fr; }
  .tutorial-card { min-height: 0; padding: 22px 18px; }
  .tutorial-card h2 { margin-top: 18px; font-size: 26px; }
  .path-list li { grid-template-columns: 45px 1fr; }
  .path-list a { grid-column: 2; }
  .tutorial-header { padding: 32px 0 38px; }
  .tutorial-layout { padding-block: 44px 64px; }
  .tutorial-content h2 { margin-top: 46px; }
  .tutorial-steps li { grid-template-columns: 44px 1fr; gap: 14px; }
  .related-grid { grid-template-columns: 1fr; }
  .compare-hero { padding: 24px 0 30px; }
  .compare-hero-layout { display: block; }
  .compare-hero .breadcrumb { margin-bottom: 18px; }
  .compare-hero h1 { font-size: clamp(39px, 11.8vw, 52px); }
  .compare-hero .lead { margin-top: 13px; }
  .compare-miner-visual { width: 100%; height: 104px; margin-top: 18px; padding: 6px; border-radius: 13px; }
  .compare-miner-visual img { width: auto; height: 100%; margin-inline: auto; object-fit: contain; }
  .compare-workspace { width: 100%; padding-block: 0 62px; }
  .scenario-panel { display: block; padding: 24px 17px; border-radius: 0; }
  .scenario-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .compare-scenario-grid { grid-template-columns: 1fr; }
  .compare-scenario-grid .compare-field:last-child { grid-column: auto; }
  .compare-market-status { margin-top: 9px; font-size: 12px; }
  .miner-compare-grid { gap: 12px; margin-top: 12px; padding-inline: 14px; }
  .miner-panel { padding: 22px 17px; }
  .miner-heading { grid-template-columns: 38px 1fr; }
  .winner-badge { grid-column: 2; justify-self: start; }
  .miner-input-grid { grid-template-columns: 1fr; }
  .miner-primary-result { display: flex; align-items: flex-start; flex-direction: column; }
  .miner-primary-result strong { margin-top: 3px; font-size: 29px; white-space: normal; }
  .miner-result-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .comparison-verdict { margin-top: 12px; padding: 24px 18px; border-left: 0; border-top: 5px solid var(--lime); }
  .verdict-grid { grid-template-columns: 1fr; }
  .compare-protection-note, .compare-actions, .compare-workspace > .compare-disclaimer, .compare-workspace > .share-status { margin-inline: 14px; }
  .compare-actions { align-items: stretch; flex-direction: column-reverse; gap: 14px; }
  .compare-actions .share-button { width: 100%; }
  .compare-workspace > .share-status { text-align: center; }
  .compare-guide { padding-bottom: 75px; }
  .compare-guide > section { padding: 52px 0; }
  .compare-principles { grid-template-columns: 1fr; }
  .compare-ad { width: calc(100% - 28px); margin-bottom: 48px; padding-inline: 10px; }
  .compare-ad iframe { width: 100% !important; }
  .tutorial-table, .comparison-table { -webkit-overflow-scrolling: touch; overscroll-behavior-inline: contain; }
}

@media (max-width: 520px) {
  .shell { width: calc(100% - 22px); }
  .disclosure-inner { display: block; }
  .disclosure-label { display: inline-block; margin-bottom: 4px; }
  .field-grid { grid-template-columns: 1fr; }
  .hero-facts { gap: 0; }
  .hero-facts li { padding-right: 8px; }
  .hero-facts li + li { padding-left: 10px; }
  .calculator-card { padding-inline: 15px; }
  .results { padding: 15px; }
  .compare-workspace { padding-bottom: 52px; }
  .miner-compare-grid { padding-inline: 11px; }
  .miner-panel { padding: 18px 14px; }
  .miner-input-grid { grid-template-columns: 1fr; }
  .comparison-verdict { padding: 20px 14px; }
  .compare-protection-note, .compare-actions, .compare-workspace > .compare-disclaimer, .compare-workspace > .share-status { margin-inline: 11px; }
  .compare-ad { width: calc(100% - 22px); }
  .mobile-hotbar { right: 7px; left: 7px; }
}

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