/* ParlayMarket / Market Atlas. Native type, vector illustration, quiet motion. */
:root {
  color-scheme: dark;
  --page: #111310; --panel: #191c17; --raised: #20251e; --ink: #eeeee4;
  --muted: #a5ad9e; --line: #33392f; --accent: #bdacf5; --accent-ink: #211c30;
  --mint: #b5d4ab; --paper: #e9e5d9; --header: #111310f5;
  font-family: "Segoe UI", Arial, sans-serif; font-synthesis: none;
}
:root[data-theme="light"] {
  color-scheme: light;
  --page: #f4f2e9; --panel: #eae9df; --raised: #e1e3d7; --ink: #242c23;
  --muted: #596151; --line: #ced2c1; --accent: #65528e; --accent-ink: #fff;
  --mint: #426936; --header: #f4f2e9f5;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 105px; }
body { margin: 0; background: var(--page); color: var(--ink); line-height: 1.65; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
button { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { background: var(--accent); color: var(--accent-ink); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 500; line-height: 1.08; letter-spacing: -.055em; text-wrap: balance; }
h1 { font-size: clamp(56px, 5.55vw, 88px); }
h2 { font-size: clamp(36px, 3.5vw, 54px); }
h3 { font-size: 26px; letter-spacing: -.035em; line-height: 1.2; }
em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; color: var(--accent); }
svg { display: block; max-width: 100%; }
.section-shell { width: min(1320px, calc(100% - 96px)); margin-inline: auto; }
.section-space { padding-block: 112px; border-bottom: 1px solid var(--line); }
.eyebrow { font-size: 10px; font-weight: 600; letter-spacing: .14em; line-height: 1.5; color: var(--muted); margin-bottom: 25px; display: flex; align-items: center; gap: 9px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px color-mix(in srgb, var(--mint) 8%, transparent); }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 12px 22px; background: var(--accent); color: var(--accent-ink); }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; padding: 16px max(32px, calc((100vw - 1320px) / 2)); border-bottom: 1px solid var(--line); background: var(--header); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 600; letter-spacing: -.03em; white-space: nowrap; }
.brand-mark { width: 30px; height: 30px; background: var(--accent); border-radius: 7px; display: flex; align-items: flex-end; gap: 4px; padding: 6px 7px; transform: rotate(-4deg); }
.brand-mark i { background: var(--accent-ink); width: 6px; height: 10px; transform: skew(-14deg); }
.brand-mark i + i { height: 18px; }
.brand-beta { font: 9px Consolas, monospace; letter-spacing: .1em; color: var(--muted); align-self: flex-start; margin: 7px 0 0 -4px; }
.site-header nav { display: flex; align-items: center; gap: 30px; font-size: 12px; }
.site-header nav > a:not(.button), .site-footer nav a { min-height: 44px; display: inline-flex; align-items: center; }
.site-header nav > a:hover, .site-footer nav a:hover { color: var(--accent); }
.site-header nav .button:hover { color: var(--accent-ink); }
.theme-toggle { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--muted); display: grid; place-items: center; }
.theme-toggle svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.nav-toggle { color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 7px; padding: 10px 13px; min-height: 44px; font-size: 13px; }
.nav-toggle span { margin-left: 12px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 35px; background: var(--accent); color: var(--accent-ink); border: 1px solid transparent; padding: 15px 23px; border-radius: 8px; font-weight: 600; font-size: 14px; min-height: 52px; transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 5px 0 color-mix(in srgb, var(--accent) 18%, transparent); }
.button span { font-size: 21px; font-weight: 400; line-height: 1; }
.button-small { padding: 10px 17px; font-size: 12px; min-height: 44px; gap: 21px; }
.text-link { display: inline-flex; align-items: center; gap: 22px; min-height: 44px; font-size: 13px; font-weight: 500; }
.text-link span { color: var(--accent); font-size: 19px; transition: transform .2s; }
.text-link:hover span { transform: translate(3px, -2px); }
.hero { display: grid; grid-template-columns: 1fr 1.03fr; gap: 32px; align-items: center; padding-block: 82px 64px; }
.hero-copy { position: relative; z-index: 1; }
.hero .eyebrow { font-size: 9px; }
.hero h1 { margin: 0 -30px 25px 0; }
.hero-description { font-size: 16px; line-height: 1.8; color: var(--muted); max-width: 435px; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 30px; }
.hero-footnote { color: var(--muted); font-size: 11px; margin-top: 21px; display: flex; gap: 8px; align-items: center; }
.hero-footnote > span { color: var(--mint); font-size: 18px; }
.atlas { align-self: stretch; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.atlas-topline { display: flex; justify-content: space-between; color: var(--muted); font: 9px Consolas, monospace; letter-spacing: .09em; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.atlas-cross { font-size: 15px; }
.atlas-graphic { width: 100%; margin-block: 6px; }
.atlas-node rect, .map-node rect { fill: var(--panel); stroke: var(--line); }
.atlas-node text, .map-node text { fill: var(--ink); stroke: none; }
.svg-micro { font: 9px "Segoe UI", sans-serif; letter-spacing: 1px; }
.svg-label { font: 12px "Segoe UI", sans-serif; }
.atlas-destination rect { fill: var(--raised); stroke: var(--line); }
.atlas-destination text { fill: var(--ink); }
.atlas figcaption { display: flex; justify-content: space-between; gap: 14px; font-size: 10px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.atlas figcaption span:last-child { font: 9px Consolas, monospace; align-self: center; }
.context-strip { border-block: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 22px; align-items: center; padding-block: 25px; }
.context-strip p { font-size: 12px; line-height: 1.5; color: var(--muted); }
.context-strip strong { color: var(--ink); font-weight: 500; }
.context-strip div { display: flex; align-items: center; gap: 14px; font-size: 12px; line-height: 1.5; max-width: 230px; }
.context-strip div span { font: 10px Consolas, monospace; color: var(--accent); display: grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 50%; }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 0 80px; align-items: end; margin-bottom: 45px; }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading > p:last-child:not(.eyebrow) { color: var(--muted); font-size: 14px; max-width: 370px; padding-bottom: 4px; }
.flow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.flow-step { padding: 25px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.step-top { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font: 10px Consolas, monospace; letter-spacing: .04em; }
.step-top > span:last-child { font-size: 18px; color: var(--accent); }
.step-graphic { width: 100%; height: 165px; margin: 15px 0 26px; }
.flow-step p { font-size: 13px; line-height: 1.8; color: var(--muted); margin-top: 15px; }
.discovery-graphic { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; position: relative; background-image: radial-gradient(var(--line) 1px, transparent 1px); background-size: 14px 14px; }
.discovery-graphic > span { display: flex; justify-content: space-between; gap: 40px; align-items: center; background: var(--page); border: 1px solid var(--line); border-radius: 7px; padding: 7px 12px; font: 9px Consolas, monospace; width: 150px; }
.discovery-graphic > span:nth-child(1) { transform: translateX(-16px) rotate(-5deg); }
.discovery-graphic > span:nth-child(2) { border-color: var(--accent); transform: translateX(7px); }
.discovery-graphic > span:nth-child(3) { transform: translateX(-7px) rotate(4deg); }
.discovery-graphic i { width: 27px; height: 4px; background: var(--accent); border-radius: 3px; opacity: .65; }
.discovery-cross { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); color: var(--page); position: absolute; right: 17px; bottom: 23px; }
.section-note { color: var(--muted); font-size: 11px; margin-top: 22px; text-align: center; }
.lab-section { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.lab-copy > p:not(.eyebrow) { font-size: 15px; color: var(--muted); margin-top: 25px; max-width: 405px; }
.lab-copy > p.lab-aside { font-size: 13px; padding-left: 18px; border-left: 2px solid var(--line); margin-top: 24px; }
.lab-copy .text-link { margin-top: 24px; }
.probability-lab { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: 26px; }
.lab-topline { display: flex; justify-content: space-between; gap: 12px; align-items: center; color: var(--muted); font: 9px Consolas, monospace; letter-spacing: .05em; }
.lab-tag { background: var(--raised); padding: 5px 7px; border-radius: 4px; font-size: 9px; white-space: nowrap; }
.probability-visual { margin: 20px 0 12px; }
.probability-visual circle[data-prob-circle] { transition: opacity .25s; }
.probability-lab fieldset { border: 0; padding: 0; margin: 0; }
.probability-lab legend { font-size: 11px; color: var(--muted); margin-bottom: 10px; }
.sample-options { display: flex; gap: 9px; }
.sample-options label { display: flex; align-items: center; justify-content: center; gap: 10px; flex: 1; min-height: 45px; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; background: var(--page); font-size: 12px; }
.sample-options label:has(input:checked) { border-color: var(--accent); }
.sample-options input { margin: 0; width: 15px; height: 15px; accent-color: var(--accent); }
.sample-options b { margin-right: 9px; color: var(--muted); font: 10px Consolas, monospace; }
.lab-results { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 28px 0 18px; }
.lab-results span { display: block; color: var(--muted); font-size: 10px; }
.lab-results output { display: block; margin-top: 3px; font-size: 38px; letter-spacing: -.05em; line-height: 1.3; font-variant-numeric: tabular-nums; }
.lab-results > div:first-child output { color: var(--accent); }
.model-bar { height: 5px; border-radius: 3px; overflow: hidden; background: var(--line); }
.model-bar span { display: block; height: 100%; background: var(--accent); transition: width .35s; }
.model-equation { font: 10px/1.7 Consolas, monospace; color: var(--muted); margin-top: 13px; min-height: 34px; }
.lab-disclaimer { border-top: 1px solid var(--line); padding-top: 17px; margin-top: 13px; font-size: 10px; line-height: 1.8; color: var(--muted); }
.continuity-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 85px; align-items: center; }
.continuity-map { border-block: 1px solid var(--line); background-image: radial-gradient(var(--line) .7px, transparent .7px); background-size: 18px 18px; }
.continuity-map figcaption { font-size: 10px; color: var(--muted); padding: 0 25px 18px; }
.continuity-details article { display: flex; gap: 23px; border-bottom: 1px solid var(--line); padding-block: 22px; }
.continuity-details article:first-child { padding-top: 0; }
.detail-index { font: 10px Consolas, monospace; color: var(--accent); padding-top: 5px; }
.continuity-details h3 { font-size: 19px; letter-spacing: -.03em; }
.continuity-details p { font-size: 13px; color: var(--muted); margin-top: 10px; max-width: 420px; }
.continuity-details .text-link { margin: 18px 0 0 30px; }
.faq-section { display: grid; grid-template-columns: 1fr 1.1fr; gap: 90px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { padding: 22px 30px 22px 0; list-style: none; font-size: 14px; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 4px; top: 17px; color: var(--accent); font-size: 22px; font-weight: 300; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list p { color: var(--muted); font-size: 13px; padding: 0 20px 22px 0; }
.closing-section { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding-block: 88px; }
.closing-section .eyebrow { margin-bottom: 16px; }
.closing-section h2 { font-size: clamp(32px, 3.4vw, 50px); }
.closing-section .button { flex-shrink: 0; }
.site-footer { border-top: 1px solid var(--line); padding-block: 42px 25px; display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.site-footer .brand { font-size: 16px; }
.site-footer > div p { font-size: 12px; color: var(--muted); margin-top: 13px; }
.site-footer nav { display: flex; justify-content: flex-end; gap: 23px; flex-wrap: wrap; align-content: start; font-size: 11px; }
.footer-note { font-size: 10px; color: var(--muted); max-width: 450px; }
.footer-edition { color: var(--muted); font: 9px/1.8 Consolas, monospace; text-align: right; align-self: end; letter-spacing: .04em; }
@media(min-width: 1600px) { .hero { padding-block: 95px 80px; } }
@media(max-width: 1100px) {
  .section-shell { width: calc(100% - 64px); }
  .site-header nav { gap: 18px; }
  .site-header { padding-inline: 32px; }
  .hero { gap: 20px; padding-block: 65px; }
  .hero h1 { font-size: 60px; }
  .hero-description { font-size: 14px; max-width: 360px; }
  .hero-actions { gap: 18px; }
  .lab-section, .continuity-grid, .faq-section { gap: 45px; }
  .section-space { padding-block: 85px; }
  .flow-step { padding: 20px; }
  .context-strip { gap: 14px; }
}
@media(max-width: 850px) {
  .site-header { flex-wrap: wrap; min-height: 72px; padding-block: 13px; }
  .site-header nav { width: 100%; flex-wrap: wrap; }
  .site-header .nav-toggle:not([hidden]) { display: block; margin-left: auto; }
  .nav-ready #site-nav { display: none; }
  .nav-ready #site-nav.is-open { display: flex; padding-top: 16px; padding-bottom: 6px; border-top: 1px solid var(--line); }
  .hero { grid-template-columns: 1fr; padding-block: 65px 40px; gap: 45px; }
  .hero h1 { font-size: clamp(56px, 9vw, 78px); margin-right: 0; }
  .hero-description { max-width: 500px; font-size: 16px; }
  .atlas { max-width: 620px; width: 100%; justify-self: center; }
  .context-strip { grid-template-columns: 1fr 1fr; gap: 22px; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; }
  .section-heading .eyebrow { margin-bottom: 0; }
  .section-heading > p:last-child:not(.eyebrow) { max-width: 480px; }
  .flow-grid { gap: 14px; }
  .flow-step { padding: 17px; }
  .flow-step h3 { font-size: 22px; }
  .flow-step p { font-size: 12px; }
  .step-graphic { height: 130px; }
  .discovery-graphic > span { width: 118px; }
  .lab-section, .continuity-grid { grid-template-columns: 1fr 1.1fr; gap: 30px; }
  .probability-lab { padding: 20px; }
  .lab-topline { flex-wrap: wrap; }
  .sample-options { gap: 6px; }
  .sample-options label { gap: 5px; }
  .sample-options b { margin-right: 4px; }
  .faq-section { gap: 40px; }
  .closing-section { align-items: flex-start; flex-direction: column; gap: 28px; }
  .site-footer nav { gap: 14px; }
}
@media(max-width: 620px) {
  html { scroll-padding-top: 90px; }
  .section-shell { width: calc(100% - 40px); }
  .site-header { padding-inline: 20px; gap: 12px; }
  .brand { font-size: 16px; gap: 9px; }
  .brand-beta { font-size: 8px; }
  .site-header nav { flex-direction: column; align-items: stretch; gap: 6px; }
  .site-header nav > a:not(.button) { padding-block: 7px; font-size: 14px; }
  .theme-toggle { align-self: flex-start; }
  .site-header nav .button { margin-top: 8px; }
  .hero { padding-block: 45px 35px; gap: 35px; }
  .hero h1 { font-size: clamp(43px, 10.5vw, 63px); }
  .hero .eyebrow { font-size: 8px; letter-spacing: .09em; }
  .hero-description { font-size: 14px; }
  .hero-actions { gap: 18px; flex-wrap: wrap; margin-top: 24px; }
  .hero-actions .button { gap: 20px; padding: 13px 18px; font-size: 13px; }
  .hero-actions .text-link { font-size: 12px; gap: 12px; }
  .hero-footnote { font-size: 10px; }
  .atlas figcaption { font-size: 9px; }
  .atlas figcaption span:last-child { font-size: 8px; }
  .context-strip { gap: 18px 14px; }
  .context-strip div, .context-strip p { font-size: 11px; }
  .context-strip div { gap: 9px; }
  .context-strip div span { width: 25px; height: 25px; font-size: 9px; }
  .section-space { padding-block: 64px; }
  .eyebrow { font-size: 9px; margin-bottom: 18px; }
  h2 { font-size: clamp(32px, 8vw, 42px); }
  .section-heading { margin-bottom: 30px; }
  .flow-grid { grid-template-columns: 1fr; gap: 16px; }
  .flow-step { padding: 25px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 15px; }
  .step-top { grid-column: 1 / -1; }
  .step-graphic { grid-column: 2; grid-row: 2 / 4; height: 145px; margin-block: 15px; align-self: center; }
  .flow-step h3 { grid-column: 1; grid-row: 2; font-size: 24px; padding-top: 25px; }
  .flow-step p { grid-column: 1 / -1; grid-row: 4; font-size: 13px; margin-top: 0; }
  .section-note { font-size: 11px; text-align: left; }
  .lab-section, .continuity-grid, .faq-section { grid-template-columns: 1fr; gap: 32px; }
  .lab-copy > p:not(.eyebrow) { font-size: 14px; }
  .probability-lab { padding: 22px; }
  .lab-topline { font-size: 9px; }
  .lab-results output { font-size: 35px; }
  .sample-options label { gap: 9px; }
  .continuity-details article { gap: 18px; }
  .continuity-details p { font-size: 13px; }
  .faq-list summary { font-size: 14px; }
  .closing-section { padding-block: 60px; }
  .closing-section h2 { font-size: 37px; }
  .site-footer { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; }
  .site-footer nav { justify-content: flex-start; gap: 5px 20px; font-size: 12px; }
  .footer-edition { text-align: left; }
}
@media(prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
