/* PESTASLOT777 · responsive editorial interface */
:root {
  color-scheme: dark;
  --bg: #08111f;
  --surface: #111d2e;
  --surface-raised: #152339;
  --text: #f4f7fb;
  --muted: #a7b2c3;
  --gold: #d9b66f;
  --gold-light: #efd39b;
  --teal: #63c7c3;
  --line: rgba(198, 211, 231, .13);
  --cream: #ece8df;
  --ink: #172231;
  --radius: 18px;
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
button, input, select, textarea { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.25em; }
h1, h2, h3, h4 { color: inherit; margin: 0; line-height: 1.16; font-weight: 650; letter-spacing: -.04em; text-wrap: balance; }
h1 { font-size: clamp(42px, 5vw, 68px); }
h2 { font-size: clamp(32px, 3.6vw, 42px); }
h3 { font-size: 23px; letter-spacing: -.025em; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }
ul, ol { padding-left: 1.4em; }
button { border: 0; }
[hidden] { display: none !important; }
::selection { color: var(--bg); background: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.container { width: 100%; max-width: 1244px; margin-inline: auto; padding-inline: 32px; }
.section-space { padding-block: 88px; }
.icon { width: 24px; height: 24px; flex: 0 0 24px; stroke-width: 1.6; }
.muted, .small-note { color: var(--muted); }
.small-note { font-size: 13px; line-height: 1.65; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 100; border-radius: 8px; padding: 12px 20px; background: var(--gold); color: var(--bg); font-weight: 650; }
.skip-link:focus { top: 16px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; color: var(--gold); font-size: 11px; line-height: 1.4; font-weight: 650; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; flex: 0 0 22px; }
.btn { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 11px; padding: 13px 22px; border: 1px solid var(--gold); border-radius: 9px; background: var(--gold); color: #101824; font-size: 14px; line-height: 1.5; font-weight: 650; transition: background .18s, border-color .18s, transform .18s, box-shadow .18s; }
.btn:hover { background: var(--gold-light); border-color: var(--gold-light); box-shadow: 0 6px 24px rgba(217,182,111,.1); transform: translateY(-2px); }
.btn .icon { width: 18px; height: 18px; flex-basis: 18px; }
.btn-secondary { color: var(--text); background: transparent; border-color: rgba(226,234,245,.23); }
.btn-secondary:hover { color: var(--text); background: rgba(255,255,255,.045); border-color: rgba(226,234,245,.45); box-shadow: none; }
.btn-small { min-height: 43px; padding: 10px 17px; font-size: 12px; border-radius: 7px; }
.arrow-link { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; color: var(--gold); font-size: 13px; font-weight: 600; }
.arrow-link .icon { width: 18px; height: 18px; flex-basis: 18px; transition: transform .18s; }
.arrow-link:hover .icon { transform: translateX(4px); }

/* Navigation */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(8,17,31,.91); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.header-inner { min-height: 88px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { width: 40px; height: 42px; color: var(--gold); flex: 0 0 40px; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-wordmark { display: grid; line-height: 1; gap: 6px; }
.brand-wordmark strong { font-size: 19px; font-weight: 750; letter-spacing: .035em; }
.brand-wordmark strong span { color: var(--gold); }
.brand-wordmark small { color: #8c99ac; font-size: 8px; letter-spacing: .2em; text-transform: uppercase; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: 27px; margin-left: auto; }
.desktop-nav > a, .nav-dropdown > summary { display: flex; min-height: 44px; align-items: center; gap: 5px; color: #b7c0ce; font-size: 12px; white-space: nowrap; cursor: pointer; transition: color .18s; }
.desktop-nav > a:hover, .nav-dropdown > summary:hover, .desktop-nav [aria-current="page"], .nav-dropdown[open] > summary { color: var(--gold-light); }
.nav-dropdown { position: relative; }
.nav-dropdown summary { list-style: none; }
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary .icon { width: 13px; height: 13px; flex-basis: 13px; transition: transform .2s; }
.nav-dropdown[open] summary .icon { transform: rotate(180deg); }
.dropdown-menu { position: absolute; top: calc(100% + 9px); right: -20px; min-width: 220px; padding: 9px; border: 1px solid var(--line); border-radius: 12px; background: #111e30; box-shadow: 0 18px 50px rgba(0,0,0,.3); }
.dropdown-menu a { display: flex; align-items: center; gap: 12px; min-height: 45px; padding: 10px 13px; color: #c3ccda; font-size: 13px; border-radius: 6px; }
.dropdown-menu a:hover, .dropdown-menu a[aria-current="page"] { background: rgba(217,182,111,.08); color: var(--gold); }
.header-cta { margin-left: 6px; }
.menu-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 10px; margin-left: auto; background: transparent; color: var(--text); border: 1px solid var(--line); border-radius: 8px; }
.mobile-nav { display: none; }

/* Landing page hero */
.hero { display: grid; grid-template-columns: 1.03fr 1fr; gap: 12px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.hero-copy { position: relative; z-index: 1; min-width: 0; padding-bottom: 8px; }
.hero h1 { font-size: clamp(44px, 5.3vw, 68px); line-height: 1.075; letter-spacing: -.055em; max-width: 650px; }
.hero h1 span { color: var(--gold); }
.hero-description { color: #aebacb; font-size: 16px; line-height: 1.85; max-width: 490px; margin: 25px 0 29px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-notes { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; margin-top: 23px; color: #8f9bad; font-size: 11px; line-height: 1.6; }
.hero-notes > span, .hero-notes > p { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.hero-notes .icon { width: 13px; height: 13px; flex-basis: 13px; color: var(--gold); }
.hero-visual { position: relative; min-width: 0; isolation: isolate; }
.hero-visual::before { content: ""; position: absolute; inset: 15% 10%; background: rgba(152,103,40,.12); filter: blur(75px); border-radius: 50%; z-index: -1; }
.hero-visual picture { display: block; width: 100%; }
.hero-visual img { width: 100%; height: auto; border-radius: 14px; mix-blend-mode: lighten; -webkit-mask-image: radial-gradient(ellipse 75% 72% at 50% 48%, #000 50%, transparent 99%); mask-image: radial-gradient(ellipse 75% 72% at 50% 48%, #000 50%, transparent 99%); }
.hero-caption { position: absolute; bottom: 1%; right: 4%; display: flex; align-items: center; gap: 7px; padding: 7px 11px; border: 1px solid rgba(217,182,111,.15); border-radius: 6px; color: #a89c82; background: rgba(8,17,31,.7); font-size: 9px; letter-spacing: .05em; }
.hero-caption .icon { width: 12px; height: 12px; flex-basis: 12px; }
.intro-strip { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding-top: 27px; padding-bottom: 27px; border-block: 1px solid var(--line); }
.intro-item { display: grid; grid-template-columns: 32px 1fr; align-content: start; column-gap: 15px; padding: 0 29px; border-left: 1px solid var(--line); }
.intro-item:first-child { padding-left: 0; border-left: 0; }
.intro-item:last-child { padding-right: 0; }
.intro-item .step-number { grid-row: 1/3; color: var(--gold); font-size: 14px; line-height: 1.6; font-variant-numeric: tabular-nums; }
.intro-item strong { font-size: 13px; font-weight: 600; line-height: 1.6; }
.intro-item p { color: var(--muted); font-size: 11px; line-height: 1.7; margin: 5px 0 0; }
.intro-item a:hover strong { color: var(--gold); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 35px; margin-bottom: 33px; }
.section-heading .eyebrow { margin-bottom: 12px; }
.section-heading .section-copy { color: var(--muted); max-width: 370px; font-size: 14px; line-height: 1.8; margin: 0 0 2px; }
.section-heading > .arrow-link { flex-shrink: 0; }

/* Editorial guide cards */
.guide-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.guide-card { display: flex; flex-direction: column; position: relative; overflow: hidden; min-width: 0; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #0d1828; transition: border-color .2s, transform .2s, background .2s; }
.guide-card:hover { border-color: rgba(217,182,111,.34); transform: translateY(-3px); background: #111e30; }
.guide-card > .icon, .guide-card .card-icon { display: flex; width: 42px; height: 42px; align-items: center; justify-content: center; color: var(--gold); background: rgba(217,182,111,.08); border-radius: 10px; margin-bottom: 24px; padding: 9px; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-bottom: 12px; color: #8a97ab; font-size: 10px; letter-spacing: .035em; }
.card-meta > span + span::before { content: "·"; margin-right: 9px; }
.guide-card h3 { font-size: 22px; line-height: 1.25; margin-bottom: 13px; }
.guide-card p { margin-bottom: 23px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.card-link { display: flex; width: fit-content; align-items: center; gap: 8px; min-height: 36px; margin-top: auto; color: var(--gold); font-size: 11px; font-weight: 600; }
.card-link .icon { width: 16px; height: 16px; flex-basis: 16px; transition: transform .2s; }
.guide-card:hover .card-link .icon { transform: translateX(4px); }
.guide-card.featured { grid-row: span 2; background: linear-gradient(160deg,#172132 0%,#101b2a 55%,#0d1827 100%); border-color: rgba(217,182,111,.28); padding: 30px; }
.guide-card.featured h3 { font-size: 29px; line-height: 1.2; }
.guide-card.featured p { font-size: 14px; }
.featured-art { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 204px; margin: 1px -10px 30px; perspective: 500px; }
.reel-digit { display: flex; align-items: center; justify-content: center; width: 77px; height: 100px; border-radius: 12px; font-size: 67px; line-height: 1; font-weight: 800; color: #1d2430; background: linear-gradient(155deg,#f6e5bc,#d9b66f 55%,#a88442); border: 1px solid #f2dcae; box-shadow: 0 18px 35px rgba(0,0,0,.28), inset 0 2px 8px rgba(255,255,255,.38); transform: rotate(-9deg); }
.reel-digit:nth-child(2) { transform: translateY(-17px) rotate(-3deg); }
.reel-digit:nth-child(3) { transform: rotate(7deg); }

/* Introductory editorial */
.editorial-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 80px; align-items: center; }
.editorial-copy h2 { margin-bottom: 25px; }
.editorial-copy p { color: var(--muted); font-size: 15px; line-height: 1.9; }
.editorial-copy p:last-child { margin-bottom: 0; }
.editorial-note { padding: 37px 39px; background: #101c2c; border: 1px solid var(--line); border-radius: var(--radius); }
.quote-mark { display: block; color: var(--gold); font-size: 64px; line-height: .9; font-family: Georgia,serif; margin-bottom: 19px; }
.editorial-note blockquote { font-size: 25px; font-weight: 450; line-height: 1.5; letter-spacing: -.02em; margin: 0 0 23px; }
.editorial-note .small-note { margin: 0; font-size: 12px; }

/* Interactive concept section */
.concept-section { padding-block: 88px; background: var(--cream); color: var(--ink); }
.concept-section .eyebrow { color: #80622e; }
.concept-section .section-copy, .concept-section .muted, .concept-section .small-note { color: #65707b; }
.concept-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 70px; align-items: start; }
.concept-tabs { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 27px; }
.concept-tabs button { min-height: 44px; padding: 9px 17px; border-radius: 7px; border: 1px solid rgba(23,34,49,.14); color: #5f6872; background: transparent; font-size: 12px; font-weight: 600; transition: background .2s, color .2s; }
.concept-tabs button[aria-selected="true"] { color: var(--cream); background: var(--ink); border-color: var(--ink); }
.concept-tabs button:hover { border-color: var(--ink); }
.concept-panel h3 { font-size: 27px; line-height: 1.3; margin-bottom: 17px; }
.concept-panel p { font-size: 15px; color: #56616b; line-height: 1.9; margin-bottom: 19px; }
.concept-section .arrow-link { color: #6d5127; }
.concept-section :focus-visible { outline-color: #82602b; }
.concept-demo { padding: 30px; border: 1px solid rgba(23,34,49,.11); border-radius: var(--radius); background: #faf8f3; color: var(--ink); box-shadow: 0 13px 35px rgba(31,34,39,.035); }
.demo-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 28px; font-size: 14px; font-weight: 650; }
.demo-heading .icon { color: #9a783d; width: 20px; height: 20px; flex-basis: 20px; }
.demo-badge { display: inline-flex; align-items: center; width: fit-content; white-space: nowrap; color: #806535; border: 1px solid rgba(128,101,53,.18); border-radius: 5px; background: rgba(217,182,111,.1); padding: 4px 7px; font-size: 8px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.slider-label { display: flex; align-items: center; justify-content: space-between; gap: 15px; font-size: 12px; color: #69737d; margin-bottom: 17px; }
.slider-label output { font-size: 22px; line-height: 1.3; font-weight: 700; color: #1b2839; letter-spacing: -.035em; }
input[type="range"] { display: block; width: 100%; height: 25px; margin: 0 0 24px; border: 0; padding: 0; accent-color: #b79757; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 5px; border-radius: 5px; background: #e3ddcf; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; margin-top: -6px; border: 3px solid #fff; background: #b79757; box-shadow: 0 1px 5px rgba(0,0,0,.15); }
input[type="range"] { -webkit-appearance: none; appearance: none; }
input[type="range"]::-moz-range-track { height: 5px; border-radius: 5px; background: #e3ddcf; }
input[type="range"]::-moz-range-thumb { height: 14px; width: 14px; border: 3px solid #fff; border-radius: 50%; background: #b79757; box-shadow: 0 1px 5px rgba(0,0,0,.15); }
.return-bar { height: 12px; overflow: hidden; border-radius: 5px; background: #d6c39d; margin: 12px 0 23px; }
.return-fill { height: 100%; width: 96%; background: #284d4c; border-radius: 5px 0 0 5px; transition: width .15s; }
.demo-results { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin-top: 19px; padding-top: 20px; border-top: 1px solid #e3dfd6; }
.demo-results > div { display: grid; gap: 6px; }
.demo-results small, .demo-results span { font-size: 10px; color: #727a81; }
.demo-results strong { font-size: 26px; line-height: 1.3; letter-spacing: -.04em; font-weight: 650; }
.demo-results > div:first-child strong { color: #284d4c; }
.demo-disclaimer { font-size: 10px !important; color: #7a807f !important; line-height: 1.65 !important; margin: 21px 0 0 !important; }
.volatility-bars { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 25px; padding: 15px 4px 5px; }
.volatility-column { text-align: center; color: #6d7379; font-size: 11px; }
.bar-container { display: flex; gap: 4px; align-items: flex-end; height: 115px; margin-bottom: 16px; }
.bar-container i { display: block; flex: 1 1 0; background: #698d89; border-radius: 3px 3px 0 0; height: var(--height,40%); }
.volatility-column:nth-child(2) .bar-container i { background: #b2a077; }
.volatility-column:nth-child(3) .bar-container i { background: #8e754c; }
.random-visual { display: flex; justify-content: center; align-items: center; gap: 13px; min-height: 130px; }
.random-ball { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; border: 1px solid #e2d2ac; border-radius: 50%; background: linear-gradient(145deg,#e8d8b5,#ccb177); color: #493a20; font-size: 17px; font-weight: 650; box-shadow: 0 7px 14px rgba(128,101,53,.08); }
.random-ball:nth-child(2n) { background: #dce7e3; border-color: #c7dad3; color: #385d54; }
.random-ball:nth-child(2) { transform: translateY(-14px); }
.random-ball:nth-child(4) { transform: translateY(13px); }

/* Method and FAQ */
.steps-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 28px; }
.method-step { padding-top: 26px; border-top: 1px solid rgba(217,182,111,.35); }
.method-number { display: inline-block; margin-bottom: 25px; color: var(--gold); font-size: 12px; letter-spacing: .05em; }
.method-step h3 { font-size: 20px; margin-bottom: 13px; line-height: 1.3; }
.method-step p { color: var(--muted); font-size: 13px; line-height: 1.85; margin: 0; }
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.faq-intro h2 { margin-bottom: 21px; }
.faq-intro p { color: var(--muted); font-size: 14px; line-height: 1.85; max-width: 340px; }
.faq-list { border-top: 1px solid var(--line); min-width: 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 74px; padding: 22px 0; font-size: 15px; font-weight: 500; line-height: 1.5; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 24px; font-weight: 300; color: var(--gold); line-height: 1; flex: 0 0 18px; text-align: center; }
.faq-item[open] summary::after { content: "−"; }
.faq-item[open] summary { color: var(--gold-light); padding-bottom: 15px; }
.faq-item p { color: var(--muted); font-size: 13px; line-height: 1.9; padding-right: 28px; margin: 0 0 23px; }
.faq-item p a { text-decoration: underline; text-underline-offset: 3px; color: var(--gold); }
.final-cta { display: flex; align-items: center; justify-content: space-between; gap: 35px; margin-bottom: 88px; padding: 45px 48px; border: 1px solid rgba(217,182,111,.25); border-radius: var(--radius); background: radial-gradient(ellipse at 90% 100%,rgba(154,116,51,.11),transparent 65%),#101c2b; }
.final-cta .cta-copy { max-width: 710px; }
.final-cta h2 { font-size: 31px; margin-bottom: 12px; }
.final-cta p { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 0; }
.final-cta > .btn { flex-shrink: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 53px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 45px; padding-bottom: 43px; }
.footer-brand .brand { margin-bottom: 20px; }
.footer-brand p { max-width: 290px; font-size: 12px; line-height: 1.85; color: #8e9caf; }
.footer-links h3, .footer-links strong, .footer-note h3 { display: block; margin-bottom: 15px; color: #dbe2ed; font-size: 12px; letter-spacing: 0; font-weight: 600; }
.footer-links a { display: block; width: fit-content; padding: 6px 0; font-size: 11px; line-height: 1.8; color: #8e9caf; transition: color .15s; }
.footer-links a:hover { color: var(--gold); }
.footer-note p { color: #8e9caf; font-size: 11px; line-height: 1.85; }
.footer-note .icon { margin-bottom: 13px; color: var(--gold); width: 22px; height: 22px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 22px; border-top: 1px solid var(--line); color: #728196; font-size: 10px; line-height: 1.8; }
.footer-bottom p { margin: 0; }
.footer-bottom a:hover { color: var(--gold); }

/* Articles and utility pages */
.reading-progress { position: fixed; left: 0; top: 0; width: 0; height: 2px; z-index: 60; background: var(--gold); pointer-events: none; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; padding-top: 26px; color: #8492a5; font-size: 11px; line-height: 1.7; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .icon { width: 12px; height: 12px; flex-basis: 12px; color: #4b5b70; }
.breadcrumb [aria-current="page"] { color: #bdc7d6; }
.article-hero { padding-block: 58px 45px; border-bottom: 1px solid var(--line); margin-bottom: 50px; }
.article-hero .eyebrow { margin-bottom: 19px; }
.article-hero h1 { max-width: 920px; font-size: clamp(36px,4.5vw,56px); line-height: 1.13; letter-spacing: -.045em; }
.article-summary { max-width: 780px; margin: 24px 0; font-size: 19px; line-height: 1.85; color: #aebacc; }
.article-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 22px; color: #7f8ea2; font-size: 11px; }
.article-meta > span { display: inline-flex; align-items: center; gap: 7px; }
.article-meta .icon { width: 14px; height: 14px; flex-basis: 14px; color: #98a4b6; }
.article-layout { display: grid; grid-template-columns: minmax(0,760px) 250px; gap: 70px; align-items: start; padding-bottom: 70px; }
.article-content { min-width: 0; font-size: 16px; line-height: 1.9; color: #b9c4d3; }
.article-content h2 { color: var(--text); font-size: 30px; line-height: 1.25; margin: 0 0 20px; }
.article-content h3 { color: #e1e8f2; font-size: 21px; line-height: 1.35; margin: 30px 0 14px; }
.article-content h4 { color: #e1e8f2; font-size: 18px; line-height: 1.4; margin: 25px 0 13px; }
.article-content p { margin: 0 0 20px; }
.article-content li { margin-bottom: 10px; padding-left: 3px; }
.article-content ul, .article-content ol { margin: 16px 0 25px; padding-left: 1.35em; }
.article-content li::marker { color: #bfa36e; }
.article-content strong { color: #e3eaf4; font-weight: 600; }
.article-content a:not(.btn):not(.card-link):not(.arrow-link) { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(217,182,111,.38); }
.article-content a:hover { text-decoration-color: var(--gold); }
.article-section { margin-bottom: 54px; scroll-margin-top: 120px; }
.article-section:last-child { margin-bottom: 0; }
.article-content blockquote { margin: 26px 0; padding: 20px 24px; border-left: 2px solid var(--gold); color: #e4decf; background: #101c2b; font-size: 18px; line-height: 1.8; }
.article-content blockquote p:last-child { margin: 0; }
.table-wrap { overflow-x: auto; width: 100%; margin: 26px 0; border: 1px solid var(--line); border-radius: 12px; -webkit-overflow-scrolling: touch; }
.table-wrap table, .article-content table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; line-height: 1.75; }
.table-wrap th, .article-content th { padding: 15px 18px; background: #152134; color: #e8e8df; font-weight: 600; vertical-align: top; }
.table-wrap td, .article-content td { padding: 16px 18px; border-top: 1px solid var(--line); vertical-align: top; color: #a8b5c8; }
.table-wrap tr:nth-child(even) td { background: rgba(255,255,255,.015); }
.table-wrap th:first-child, .table-wrap td:first-child { min-width: 118px; }
.article-aside { position: sticky; top: 121px; }
.toc { padding: 22px 0 22px 23px; border-left: 1px solid var(--line); }
.toc > strong, .toc > h2, .toc > h3 { display: block; font-size: 10px; line-height: 1.6; font-weight: 650; letter-spacing: .11em; text-transform: uppercase; color: #d6c49f; margin: 0 0 15px; }
.toc nav { display: grid; }
.toc nav a { display: block; color: #8d9bb0; font-size: 11px; line-height: 1.6; padding: 7px 0; transition: color .15s; }
.toc nav a:hover, .toc nav a[aria-current="true"] { color: var(--gold); }
.aside-note { margin-top: 29px; padding: 20px; border-radius: 10px; background: #111d2d; }
.aside-note .icon { width: 21px; height: 21px; color: var(--gold); margin-bottom: 13px; }
.aside-note strong { font-size: 12px; font-weight: 600; }
.aside-note p { color: #8d9bae; font-size: 11px; line-height: 1.8; margin: 9px 0 0; }
.toc-mobile { display: none; }
.source-list { padding: 24px; background: #0e1a2a; border: 1px solid var(--line); border-radius: 12px; font-size: 12px; line-height: 1.8; }
.source-list h2, .source-list h3 { font-size: 16px; margin: 0 0 12px; letter-spacing: -.015em; }
.source-list ul { margin: 0; padding-left: 18px; }
.source-list li { margin-bottom: 8px; }
.source-list li:last-child { margin: 0; }
.source-list a { overflow-wrap: anywhere; }
.related-section { padding: 64px 0 80px; border-top: 1px solid var(--line); background: #0a1423; }
.related-section .section-heading { margin-bottom: 27px; }
.related-section h2 { font-size: 30px; }
.related-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.related-card { min-width: 0; display: flex; flex-direction: column; padding: 25px; border: 1px solid var(--line); border-radius: 13px; background: #101c2c; transition: border-color .18s,transform .18s; }
.related-card:hover { transform: translateY(-3px); border-color: rgba(217,182,111,.35); }
.related-card h3 { font-size: 21px; line-height: 1.3; margin: 12px 0; }
.related-card p { color: var(--muted); font-size: 12px; line-height: 1.8; margin-bottom: 20px; }
.related-card > .icon { color: var(--gold); margin-bottom: 12px; }
.article-faq { margin: 48px 0; }
.article-faq > h2 { margin-bottom: 25px; }
.article-faq .faq-item p { padding-right: 25px; }
.callout { margin: 27px 0; padding: 21px 24px; border-left: 3px solid var(--gold); background: rgba(217,182,111,.055); border-radius: 0 10px 10px 0; font-size: 14px; line-height: 1.85; }
.callout p:last-child { margin: 0; }
.formula-panel { margin: 27px 0; padding: 25px; border: 1px solid rgba(217,182,111,.2); border-radius: 12px; background: linear-gradient(125deg,rgba(217,182,111,.065),rgba(99,199,195,.035)); color: #e8d8b8; font-size: 18px; line-height: 1.65; }
.formula-panel p:last-child { margin-bottom: 0; }
.utility-page .article-hero h1 { font-size: clamp(34px,4vw,48px); }
.utility-page .article-summary { font-size: 18px; }
.error-page { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 65vh; padding-block: 90px; }
.error-page .error-number, .error-page > strong { color: var(--gold); font-size: clamp(90px,15vw,170px); line-height: 1; font-weight: 700; letter-spacing: -.08em; margin-bottom: 25px; }
.error-page h1 { font-size: 38px; margin-bottom: 20px; }
.error-page p { color: var(--muted); max-width: 480px; margin-bottom: 27px; }

/* Glossary */
.glossary-search { margin-bottom: 35px; padding: 22px; background: #111d2e; border: 1px solid var(--line); border-radius: 12px; }
.glossary-search label { display: block; margin-bottom: 10px; font-size: 12px; color: #d1d9e5; font-weight: 600; }
.search-field { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 0 13px; border: 1px solid rgba(198,211,231,.2); border-radius: 8px; background: #091322; }
.search-field > .icon { color: #75849a; width: 19px; height: 19px; flex-basis: 19px; }
.search-field input { min-width: 0; flex: 1; width: 100%; height: 47px; border: none; outline: none; color: #e9eef5; background: transparent; font-size: 13px; }
.search-field:focus-within { outline: 2px solid var(--gold); outline-offset: 3px; }
.search-field input::placeholder { color: #687890; }
.search-field button { display: flex; align-items: center; justify-content: center; width: 36px; min-height: 40px; padding: 6px; color: #aebacf; background: transparent; border-radius: 5px; font-size: 12px; }
.search-field button .icon { width: 17px; height: 17px; flex-basis: 17px; }
.glossary-search .small-note { margin: 10px 0 0; font-size: 11px; }
.glossary-entry { padding: 22px 0; margin: 0; border-bottom: 1px solid var(--line); scroll-margin-top: 120px; }
.glossary-entry h2, .glossary-entry h3 { font-size: 23px; margin: 0 0 12px; }
.glossary-entry p { font-size: 15px; margin: 0 0 12px; }
.glossary-entry p:last-child { margin-bottom: 0; }
.empty-search { padding: 35px 25px; border: 1px dashed rgba(217,182,111,.3); border-radius: 12px; color: var(--muted); text-align: center; font-size: 14px; }

/* Tablet */
@media (max-width: 1100px) {
  .header-inner { gap: 22px; }
  .desktop-nav { gap: 17px; }
  .brand-wordmark strong { font-size: 17px; }
  .brand-mark { width: 35px; flex-basis: 35px; }
  .header-cta { padding-inline: 13px; font-size: 11px; }
  .article-layout { grid-template-columns: minmax(0,1fr) 220px; gap: 42px; }
  .editorial-grid { gap: 48px; }
  .concept-grid { gap: 45px; }
  .faq-layout { gap: 55px; }
  .guide-card { padding: 24px; }
  .guide-card.featured { padding: 25px; }
}
@media (max-width: 900px) {
  .container { padding-inline: 26px; }
  .section-space { padding-block: 65px; }
  .header-inner { min-height: 75px; }
  .desktop-nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-nav:not([hidden]) { display: grid; gap: 2px; padding: 8px 26px 22px; border-top: 1px solid var(--line); max-height: calc(100svh - 76px); overflow-y: auto; }
  .mobile-nav a { display: flex; align-items: center; min-height: 45px; padding: 9px 12px; border-radius: 6px; color: #afbbcc; font-size: 14px; }
  .mobile-nav a:hover, .mobile-nav a[aria-current="page"] { color: var(--gold); background: rgba(217,182,111,.06); }
  .brand-wordmark strong { font-size: 18px; }
  .hero { grid-template-columns: 1fr; gap: 18px; padding-top: 55px; padding-bottom: 42px; }
  .hero-copy { max-width: 650px; }
  .hero h1 { font-size: clamp(44px,7.5vw,63px); max-width: 650px; }
  .hero-description { max-width: 590px; }
  .hero-visual { width: 100%; max-width: 580px; justify-self: center; margin-top: 0; }
  .hero-caption { right: 5%; }
  .intro-item { padding-inline: 17px; grid-template-columns: 26px 1fr; column-gap: 8px; }
  .intro-strip { padding-block: 24px; }
  .section-heading { gap: 25px; }
  .section-heading .section-copy { max-width: 300px; font-size: 13px; }
  .guide-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .guide-card.featured { grid-column: 1/-1; grid-row: auto; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; align-items: start; padding: 30px; }
  .guide-card.featured .featured-art { grid-column: 2; grid-row: 1/5; align-self: center; margin: 0; min-height: 200px; }
  .guide-card.featured > :not(.featured-art) { grid-column: 1; }
  .guide-card.featured p { margin-bottom: 12px; }
  .guide-card.featured h3 { font-size: 28px; }
  .editorial-grid { gap: 32px; }
  .editorial-note { padding: 29px; }
  .editorial-note blockquote { font-size: 22px; }
  .concept-section { padding-block: 65px; }
  .concept-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .concept-demo { padding: 23px; }
  .concept-tabs { gap: 6px; }
  .concept-tabs button { padding-inline: 12px; font-size: 11px; }
  .demo-results strong { font-size: 23px; }
  .steps-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 36px 28px; }
  .method-number { margin-bottom: 19px; }
  .faq-layout { grid-template-columns: .8fr 1.2fr; gap: 35px; }
  .faq-item summary { font-size: 14px; }
  .final-cta { margin-bottom: 65px; padding: 34px; gap: 25px; }
  .final-cta h2 { font-size: 27px; }
  .final-cta > .btn { padding-inline: 18px; font-size: 12px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 30px; }
  .footer-note { grid-column: 1/-1; display: flex; align-items: flex-start; gap: 13px; padding-top: 20px; border-top: 1px solid var(--line); }
  .footer-note .icon { margin: 2px 0 0; flex-shrink: 0; }
  .footer-note h3 { white-space: nowrap; margin: 2px 0 0; }
  .footer-note p { margin: 0; max-width: 700px; }
  .article-hero { padding-top: 45px; margin-bottom: 32px; }
  .article-hero h1 { font-size: clamp(34px,5.5vw,47px); }
  .article-summary { font-size: 18px; }
  .article-layout { grid-template-columns: minmax(0,1fr); gap: 0; max-width: 790px; padding-bottom: 55px; }
  .article-aside { display: none; }
  .toc-mobile { display: block; padding: 15px 19px; border: 1px solid var(--line); border-radius: 9px; background: #0e1a2a; margin-bottom: 33px; }
  .toc-mobile summary { color: var(--gold); cursor: pointer; font-size: 13px; line-height: 1.6; font-weight: 600; }
  .toc-mobile nav { display: grid; padding-top: 12px; }
  .toc-mobile nav a { display: block; padding-block: 7px; color: #b0bcce; font-size: 12px; line-height: 1.65; }
  .toc-mobile nav a:hover { color: var(--gold); }
  .related-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
  .related-card { padding: 22px; }
  .related-card h3 { font-size: 19px; }
}
@media (max-width: 700px) {
  .section-heading { align-items: flex-start; flex-direction: column; gap: 15px; }
  .section-heading .section-copy { max-width: 540px; }
  .section-heading > .arrow-link { margin-top: -7px; }
  .editorial-grid, .concept-grid, .faq-layout { grid-template-columns: 1fr; gap: 32px; }
  .editorial-copy h2 { max-width: 500px; }
  .editorial-note { max-width: 570px; }
  .concept-grid { gap: 27px; }
  .concept-demo { max-width: 570px; padding: 27px; }
  .concept-tabs { padding-bottom: 23px; }
  .concept-tabs button { padding-inline: 18px; font-size: 12px; }
  .faq-intro p { max-width: 500px; margin-bottom: 0; }
  .faq-layout { gap: 30px; }
  .final-cta { align-items: flex-start; flex-direction: column; gap: 23px; }
  .final-cta > .btn { padding-inline: 22px; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 25px; }
  .footer-brand { grid-column: 1/-1; }
  .footer-brand p { max-width: 460px; }
  .footer-links { grid-column: auto; }
  .footer-note { grid-column: auto; display: block; padding: 0; border: 0; }
  .footer-note .icon { margin: 0 0 13px; }
  .footer-note h3 { margin: 0 0 14px; }
  .related-grid { grid-template-columns: 1fr; }
  .related-card { padding: 26px; }
  .related-card h3 { font-size: 23px; }
  .related-card p { font-size: 13px; }
  .related-card .card-link { min-height: 40px; }
}
@media (max-width: 540px) {
  .container { padding-inline: 23px; }
  .section-space { padding-block: 56px; }
  h2 { font-size: 32px; line-height: 1.2; }
  .eyebrow { font-size: 9px; letter-spacing: .16em; gap: 8px; margin-bottom: 17px; }
  .eyebrow::before { width: 18px; flex-basis: 18px; }
  .header-inner { min-height: 72px; gap: 12px; }
  .brand { gap: 9px; }
  .brand-mark { width: 33px; height: 37px; flex-basis: 33px; }
  .brand-wordmark strong { font-size: 16px; letter-spacing: .025em; }
  .brand-wordmark small { font-size: 7px; letter-spacing: .17em; }
  .mobile-nav:not([hidden]) { padding-inline: 23px; }
  .hero { padding-top: 40px; padding-bottom: 31px; gap: 8px; }
  .hero h1 { font-size: clamp(37px,10vw,51px); line-height: 1.1; letter-spacing: -.045em; }
  .hero-description { margin-top: 22px; margin-bottom: 25px; font-size: 14px; line-height: 1.85; }
  .hero-actions { gap: 9px; }
  .hero-actions .btn { padding: 12px 15px; font-size: 12px; min-height: 47px; gap: 8px; }
  .hero-actions .btn .icon { width: 15px; height: 15px; flex-basis: 15px; }
  .hero-notes { margin-top: 18px; gap: 5px 13px; font-size: 10px; }
  .hero-visual { margin-top: 10px; }
  .hero-caption { bottom: 0; font-size: 8px; padding: 5px 8px; }
  .intro-strip { grid-template-columns: 1fr; gap: 20px; padding-block: 25px; }
  .intro-item, .intro-item:first-child, .intro-item:last-child { border-left: 0; padding: 0; grid-template-columns: 28px 1fr; gap: 10px; }
  .intro-item strong { font-size: 13px; }
  .intro-item p { font-size: 11px; margin-top: 3px; }
  .intro-item .step-number { font-size: 12px; }
  .section-heading { margin-bottom: 25px; gap: 13px; }
  .section-heading .section-copy { font-size: 13px; line-height: 1.85; }
  .guide-grid { grid-template-columns: 1fr; gap: 14px; }
  .guide-card { padding: 26px; }
  .guide-card > .icon, .guide-card .card-icon { margin-bottom: 20px; }
  .guide-card h3 { font-size: 24px; }
  .guide-card p { font-size: 13px; }
  .guide-card.featured { display: flex; padding: 28px; }
  .guide-card.featured .featured-art { width: 100%; min-height: 168px; margin: 0 0 20px; }
  .guide-card.featured h3 { font-size: 28px; max-width: 340px; }
  .guide-card.featured p { font-size: 13px; margin-bottom: 19px; }
  .reel-digit { width: 74px; height: 94px; font-size: 62px; }
  .card-link { font-size: 12px; min-height: 39px; }
  .editorial-grid { gap: 27px; }
  .editorial-copy p { font-size: 14px; }
  .editorial-note { padding: 28px; }
  .editorial-note blockquote { font-size: 23px; }
  .concept-section { padding-block: 56px; }
  .concept-panel h3 { font-size: 26px; }
  .concept-panel p { font-size: 14px; }
  .concept-tabs { gap: 7px; }
  .concept-tabs button { padding-inline: 15px; font-size: 12px; }
  .concept-demo { padding: 23px; border-radius: 14px; }
  .demo-heading { margin-bottom: 24px; font-size: 12px; gap: 10px; }
  .demo-badge { font-size: 7px; padding-inline: 6px; }
  .slider-label { font-size: 11px; }
  .slider-label output { font-size: 23px; }
  .demo-results { gap: 15px; }
  .demo-results strong { font-size: 24px; }
  .demo-results small, .demo-results span { font-size: 9px; }
  .demo-disclaimer { font-size: 10px !important; }
  .random-visual { gap: 8px; min-height: 125px; }
  .random-ball { width: 40px; height: 40px; font-size: 14px; }
  .volatility-bars { gap: 16px; }
  .steps-grid { grid-template-columns: 1fr; gap: 28px; }
  .method-step { position: relative; padding-top: 23px; }
  .method-number { margin-bottom: 13px; }
  .method-step h3 { font-size: 22px; }
  .method-step p { max-width: 440px; font-size: 13px; }
  .faq-item summary { min-height: 72px; gap: 16px; padding-block: 21px; font-size: 14px; }
  .faq-item p { font-size: 13px; padding-right: 12px; }
  .final-cta { padding: 29px; margin-bottom: 56px; border-radius: 15px; }
  .final-cta h2 { font-size: 28px; line-height: 1.2; }
  .final-cta p { font-size: 13px; }
  .site-footer { padding-top: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 27px; padding-bottom: 30px; }
  .footer-brand { grid-column: 1/-1; }
  .footer-brand p { margin-bottom: 0; }
  .footer-note { grid-column: 1/-1; display: flex; gap: 12px; padding-top: 23px; border-top: 1px solid var(--line); }
  .footer-note .icon { margin-top: 2px; flex-shrink: 0; }
  .footer-note h3 { white-space: normal; margin-bottom: 10px; }
  .footer-links a { font-size: 12px; padding-block: 7px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 5px; padding-block: 20px; font-size: 10px; }
  .breadcrumb { padding-top: 22px; gap: 7px; font-size: 10px; }
  .article-hero { padding-block: 35px 31px; margin-bottom: 27px; }
  .article-hero h1 { font-size: 36px; line-height: 1.15; }
  .article-summary { margin-block: 20px; font-size: 16px; line-height: 1.85; }
  .article-meta { gap: 8px 16px; font-size: 10px; }
  .article-layout { padding-bottom: 45px; }
  .article-content { font-size: 15px; line-height: 1.9; }
  .article-content h2 { font-size: 27px; line-height: 1.28; margin-bottom: 18px; }
  .article-content h3 { font-size: 21px; }
  .article-content p { margin-bottom: 19px; }
  .article-section { margin-bottom: 40px; scroll-margin-top: 105px; }
  .article-content blockquote { font-size: 16px; padding: 18px 21px; }
  .table-wrap table, .article-content table { font-size: 12px; min-width: 450px; }
  .table-wrap th, .table-wrap td, .article-content th, .article-content td { padding: 13px 15px; }
  .toc-mobile { padding: 15px 17px; margin-bottom: 29px; }
  .toc-mobile nav a { padding-block: 8px; }
  .source-list { padding: 21px; font-size: 11px; }
  .source-list h2, .source-list h3 { font-size: 16px; }
  .callout { padding: 19px 20px; font-size: 13px; }
  .formula-panel { padding: 20px; font-size: 16px; }
  .related-section { padding-block: 45px 55px; }
  .related-section h2 { font-size: 28px; }
  .article-faq { margin-block: 37px; }
  .article-faq .faq-item summary { font-size: 14px; }
  .article-faq .faq-item p { font-size: 13px; padding-right: 8px; }
  .utility-page .article-hero h1 { font-size: 35px; }
  .utility-page .article-summary { font-size: 16px; }
  .glossary-search { padding: 18px; margin-bottom: 26px; }
  .glossary-entry { padding-block: 21px; }
  .glossary-entry h2, .glossary-entry h3 { font-size: 23px; }
  .glossary-entry p { font-size: 14px; }
  .error-page { min-height: 60vh; padding-block: 70px; }
  .error-page h1 { font-size: 31px; }
  .error-page p { font-size: 14px; }
}
@media (max-width: 350px) {
  .container { padding-inline: 19px; }
  .hero h1 { font-size: 35px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-description { font-size: 13px; }
  .brand-wordmark strong { font-size: 14px; }
  .brand-wordmark small { font-size: 6px; }
  .brand-mark { width: 30px; flex-basis: 30px; }
  .guide-card, .guide-card.featured { padding: 23px; }
  .reel-digit { width: 64px; height: 86px; font-size: 56px; }
  .concept-demo { padding: 19px; }
  .concept-tabs button { padding-inline: 13px; }
  .demo-results strong { font-size: 21px; }
  .article-hero h1, .utility-page .article-hero h1 { font-size: 32px; }
  .final-cta { padding: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print {
  :root { color-scheme: light; }
  body { background: #fff; color: #111; font-size: 11pt; }
  .site-header, .site-footer, .article-aside, .toc-mobile, .reading-progress, .related-section, .glossary-search, .hero-actions, .final-cta { display: none !important; }
  .container { max-width: none; padding: 0; }
  .article-layout { display: block; padding: 0; }
  .article-hero { padding-top: 10px; margin-bottom: 25px; }
  .article-hero h1 { font-size: 28pt; }
  .article-summary, .article-content, .article-content p, .article-content strong, .article-content h2, .article-content h3, .article-meta { color: #111; }
  .article-content a { color: #333 !important; }
  .article-section { break-inside: avoid; }
  .table-wrap { overflow: visible; }
  .table-wrap table { min-width: 0; }
  .table-wrap th, .table-wrap td { background: #fff; color: #111; border-color: #bbb; }
}

