/* Poker Benchmarks front page. The page's own rules; the widgets (the app's components, app/widgets.css)
   are scoped to their slots (.pbw), and the rules here stay out of them (:where(:not(.pbw *))). */
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --paper: #ffffff; --sunk: #f5f6f6; --ink: #031a26; --slate: #5b5e63; --felt: #007a47; --felt-deep: #01623f;
  --wash: #effaf4; --selected: #def5e9; --pale: #b5e9ce; --brick: #a44e45; --hair: #e1e4e5; --rule: #7c888e;
  --frame: #edf2f1; --edge: #dee7e5; --neon: #08dd74; --overprint: #c4f7de;
  --band: rgb(0 122 71 / .17); --gap: rgb(164 78 69 / .22);
  --font: "Archivo", system-ui, sans-serif;
  --wrap: 1320px; --gutter: 40px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--rule) var(--frame); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--font); font-feature-settings: "tnum", "lnum"; font-variant-numeric: tabular-nums lining-nums; -webkit-font-smoothing: antialiased; }
::selection { background: var(--overprint); color: var(--ink); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--frame); }
::-webkit-scrollbar-thumb { background: var(--rule); border-radius: 12px; border: 3px solid var(--frame); }
/* The app's focus ring: neon mint with an ink halo, so it reads on paper and on the frame. */
:focus-visible:where(:not(.pbw *)) { outline: none; box-shadow: 0 0 0 1px var(--paper), 0 0 0 3px var(--neon), 0 0 0 4px var(--ink); border-radius: 4px; }
a:where(:not(.pbw *)) { color: var(--felt); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:where(:not(.pbw *)):hover { color: var(--felt-deep); }
img { display: block; }
h1, h2, h3, p { margin: 0; }
button, input { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.num { font-variant-numeric: tabular-nums; }
.neg { color: var(--brick); }
.pos-fig { color: var(--felt); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: 8px; font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap; border: 1px solid transparent; transition: background-color .16s ease-out, border-color .16s ease-out, color .16s ease-out; cursor: pointer; }
.btn-primary { background: var(--felt); color: #fff; }
.btn-primary:hover { background: var(--felt-deep); color: #fff; }
.btn-ghost { background: var(--paper); color: var(--ink); border-color: var(--rule); }
.btn-ghost:hover { background: var(--wash); color: var(--ink); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn svg { width: 16px; height: 16px; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: var(--frame); border-bottom: 1px solid transparent; transition: border-color .2s ease-out; }
.top.scrolled { border-bottom-color: var(--edge); }
.top-row { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; flex: none; }
.brand .chip { width: 32px; height: 32px; }
.brand .word { height: 17px; width: auto; }
.nav { display: flex; gap: 4px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; padding: 8px 12px; border-radius: 8px; transition: background-color .15s ease-out; }
.nav a:hover { background: var(--paper); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.signin { color: var(--ink); font-weight: 600; font-size: 14px; text-decoration: none; padding: 8px 12px; border-radius: 8px; white-space: nowrap; }
.signin:hover { background: var(--paper); color: var(--ink); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 40px; height: 36px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--rule); background: var(--paper); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 16px; height: 16px; }
.menu-sheet { position: absolute; right: 0; top: 44px; width: min(280px, calc(100vw - 32px)); background: var(--paper); border: 1px solid var(--edge); border-radius: 12px; padding: 8px; box-shadow: 0 1px 2px rgb(3 26 38 / .1), 0 8px 24px -6px rgb(3 26 38 / .22); }
.menu-sheet a { display: block; padding: 10px 12px; color: var(--ink); text-decoration: none; font-weight: 600; border-radius: 4px; }
.menu-sheet a:hover { background: var(--wash); }
.menu-sheet hr { border: 0; border-top: 1px solid var(--hair); margin: 8px 0; }

/* Hero */
.hero { background: var(--frame); padding: 24px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
h1:where(:not(.pbw *)) { font-weight: 800; font-stretch: 112%; letter-spacing: -0.02em; font-size: clamp(2.6rem, 1rem + 3.55vw, 5.5rem); line-height: .98; text-wrap: balance; }
.lede { margin-top: 24px; font-size: 20px; line-height: 1.5; color: var(--ink); max-width: 36em; text-wrap: pretty; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta-note { margin-top: 16px; font-size: 14px; color: var(--slate); max-width: 36em; text-wrap: pretty; }
.promises { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.promises li + li { border-left: 1px solid var(--hair); }
.promises a { display: grid; grid-template-columns: 1fr 16px; gap: 4px 16px; padding: 16px 24px 0 0; color: var(--ink); text-decoration: none; }
.promises li + li a { padding-left: 24px; }
.promises li:last-child a { padding-right: 0; }
.promises b { font-weight: 600; transition: color .15s ease-out; }
.promises span { grid-column: 1; color: var(--slate); }
.promises svg { grid-column: 2; grid-row: 1; width: 16px; height: 16px; align-self: center; color: var(--slate); }
.promises a:hover b { color: var(--felt); }

/* Sheet */
.sheet { background: var(--paper); border: 1px solid var(--edge); border-radius: 16px; min-width: 0; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px; border-bottom: 1px solid var(--hair); flex-wrap: wrap; }
.sheet-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.sheet-title b { font-size: 16px; font-weight: 600; display: block; }
.sheet-title small, .sheet-meta { color: var(--slate); font-size: 13px; }
.sheet-foot { padding: 16px 24px; border-top: 1px solid var(--rule); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.heads { display: grid; padding: 12px 24px 8px; color: var(--slate); font-size: 12px; font-weight: 600; border-bottom: 1px solid var(--rule); }
.heads .r { text-align: right; }

/* Sections */
.sect { padding: 104px 0; border-top: 1px solid var(--hair); scroll-margin-top: 68px; }
.sect.framed { background: var(--frame); border-top-color: var(--edge); }
.sec-head { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: end; margin-bottom: 48px; }
h2:where(:not(.pbw *)) { font-weight: 800; font-stretch: 108%; letter-spacing: -0.02em; font-size: clamp(2rem, 1rem + 2vw, 3.25rem); line-height: 1.02; text-wrap: balance; }
.sec-head p { color: var(--slate); font-size: 18px; max-width: 40em; text-wrap: pretty; }
h3:where(:not(.pbw *)) { font-size: 18px; font-weight: 600; line-height: 1.3; }
.cap { font-size: 13px; color: var(--slate); }
.stack { display: grid; gap: 24px; }

/* The app's components on the sheets */
.sheet > [data-pb-widget] { padding: 24px; }
.hero-sheet > [data-pb-widget] { padding: 24px 24px 16px; }
.hero-sheet .sheet-foot { padding: 12px 24px 16px; border-top: 0; }
.sheet-note { padding: 12px 24px 16px; border-top: 1px solid var(--hair); color: var(--slate); font-size: 13px; line-height: 1.45; }
.sheet-note b { color: var(--ink); font-weight: 600; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0 0 18px; padding: 0; list-style: none; font-size: 14px; color: var(--slate); }
.facts b { color: var(--ink); font-weight: 600; }

/* Coach section */
.c-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 24px; align-items: stretch; }
.chat-sheet { display: flex; flex-direction: column; }
.chat-sheet > [data-pb-widget] { flex: 1; min-height: 0; padding: 4px 24px 20px; }
.c-promises { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.c-promises li { padding: 16px 24px 0 0; }
.c-promises li + li { padding-left: 24px; border-left: 1px solid var(--hair); }
.c-promises b { display: block; font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.c-promises span { color: var(--slate); font-size: 16px; }

/* Tracker */
.sw { display: inline-block; width: 10px; height: 10px; vertical-align: -1px; margin-right: 4px; border-radius: 1px; }
.sw.ref { width: 0; height: 12px; border-left: 2px dotted var(--slate); margin-right: 8px; }
.mix-bar { display: flex; height: 18px; border-radius: 2px; overflow: hidden; background: var(--sunk); }
.mix-bar i { display: block; height: 100%; }
.mix-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; font-size: 12px; color: var(--slate); }
.mix-legend b { color: var(--ink); font-weight: 600; }
.a-fold { background: #d3dadc; } .a-call { background: var(--pale); } .a-raise { background: var(--felt); } .a-jam { background: var(--ink); }
.counts { display: flex; gap: 0; margin-top: 16px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--hair); }
.counts div { padding: 10px 28px 10px 0; display: flex; align-items: baseline; gap: 8px; }
.counts div + div { padding-left: 28px; border-left: 1px solid var(--hair); }
.counts b { font-size: 28px; font-weight: 600; font-stretch: 108%; letter-spacing: -0.01em; }
.counts span { color: var(--slate); font-size: 16px; }
.t-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.fb { padding: 24px; display: grid; gap: 16px; }
.fb-ask { display: flex; gap: 8px; }
.fb-ask .field { flex: 1; min-width: 0; height: 44px; border: 1px solid var(--rule); border-radius: 8px; padding: 0 12px; font-size: 16px; background: var(--paper); display: flex; align-items: center; }
.fb-ask .field:focus { outline: none; box-shadow: 0 0 0 1px var(--paper), 0 0 0 3px var(--neon), 0 0 0 4px var(--ink); }
.fb-ask .btn { height: 44px; }
.fb-step { display: grid; grid-template-columns: 5.5rem 1fr; gap: 12px; align-items: baseline; font-size: 13px; color: var(--slate); }
.sentence { font-size: 18px; font-weight: 600; line-height: 1.6; color: var(--ink); transition: opacity .3s ease-out; }
.sentence mark { background: linear-gradient(to top, var(--overprint) 42%, transparent 42%); color: inherit; padding: 0 1px; }
.fb-count { font-size: 22px; font-weight: 600; color: var(--ink); font-stretch: 108%; }
.fb-step.busy .sentence, .fb-step.busy .fb-count { opacity: .4; }
table.ss { width: 100%; border-collapse: collapse; font-size: 14px; }
.ss th { text-align: left; font-size: 12px; font-weight: 600; color: var(--slate); padding: 12px 12px 8px; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.ss td { padding: 12px; border-bottom: 1px solid var(--hair); white-space: nowrap; }
.ss tr:last-child td { border-bottom: 0; }
.ss th:first-child, .ss td:first-child { padding-left: 24px; }
.ss th:last-child, .ss td:last-child { padding-right: 24px; }
.ss .r { text-align: right; }
.ss td b { font-weight: 600; }
.agg { padding: 24px; display: grid; gap: 16px; }
.agg-bar { position: relative; padding-top: 24px; }
.agg-bar .mix-bar { height: 22px; }
.agg-bar .mix-bar i { display: flex; align-items: center; padding-left: 8px; font-size: 12px; font-weight: 600; font-style: normal; color: #fff; white-space: nowrap; overflow: hidden; }
.agg-bar .mix-bar i.a-call, .agg-bar .mix-bar i.a-fold { color: var(--ink); }
.pool { position: absolute; top: 16px; height: 36px; width: 0; border-left: 2px dotted var(--ink); }
.pool span { position: absolute; bottom: 40px; left: -1px; transform: translateX(-50%); font-size: 12px; font-weight: 600; white-space: nowrap; }
.features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.features li { padding: 20px 24px 20px 0; border-bottom: 1px solid var(--hair); }
.features li:nth-child(even) { padding-left: 24px; padding-right: 0; border-left: 1px solid var(--hair); }
.features b { display: block; font-weight: 600; font-size: 16px; margin-bottom: 4px; }
.features span { color: var(--slate); font-size: 16px; }

/* Steps, pricing, FAQ */
.price { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.price > div { padding: 24px 32px 8px 0; }
.price > div + div { padding-left: 32px; padding-right: 0; border-left: 1px solid var(--hair); }
.price h3 { font-size: 24px; font-stretch: 108%; margin-bottom: 4px; }
.price .prem h3 { color: var(--felt); }
.price .for { color: var(--slate); font-size: 16px; margin-bottom: 12px; }
.price ul { list-style: none; padding: 0; margin: 0; }
.price li { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--hair); font-size: 16px; }
.price li svg { width: 16px; height: 16px; flex: none; color: var(--felt); }
.price-cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; color: var(--slate); font-size: 16px; }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 4px; font-size: 18px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--felt); }
.faq summary svg { width: 16px; height: 16px; flex: none; transition: transform .25s var(--ease); color: var(--slate); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 4px 24px; color: var(--slate); max-width: 72ch; font-size: 16px; }
.faq-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; }
.faq-side p { margin-top: 16px; color: var(--slate); font-size: 18px; max-width: 26em; text-wrap: pretty; }
.faq details { scroll-margin-top: 84px; }

/* Close + footer */
.close { background: var(--frame); padding: 112px 0; border-top: 1px solid var(--edge); }
.close-in { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: end; }
.close h2 { font-size: clamp(2.4rem, 1rem + 3vw, 4.5rem); font-stretch: 112%; line-height: .98; }
.close p { font-size: 20px; margin-bottom: 24px; }
footer { padding: 40px 0 48px; border-top: 1px solid var(--edge); font-size: 14px; color: var(--slate); }
.foot { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.foot nav { display: flex; gap: 24px; flex-wrap: wrap; }
.foot nav a { color: var(--ink); font-weight: 600; text-decoration: none; }
.foot nav a:hover { color: var(--felt); text-decoration: underline; }
.foot .who { display: grid; gap: 4px; }
.foot .who b { color: var(--ink); }

/* Responsive */
@media (max-width: 1180px) {
  .nav a { padding: 8px 8px; }
  .top-row { gap: 20px; }
}
@media (max-width: 1080px) {
  .hero-grid, .sec-head, .v-grid, .c-grid, .t-grid, .faq-grid, .close-in { grid-template-columns: 1fr; }
  .hero-grid { gap: 40px; }
  .hero-copy { padding-top: 16px; }
  .promises { margin-top: 40px; }
  .sec-head { gap: 16px; }
}
@media (max-width: 1080px) {
  /* The top bar holds eight links: below this width it would run past the window. */
  .nav { display: none; }
  .signin.top-signin { display: none; }
  .menu { display: block; }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .top-row { height: 60px; gap: 12px; }
  .brand .word { height: 15px; }
  .brand .chip { width: 28px; height: 28px; }
  .top .btn-sm { padding: 0 12px; font-size: 13px; }
  .hero { padding: 24px 0 48px; }
  .lede { font-size: 18px; margin-top: 16px; }
  .ctas .btn { flex: 1 1 auto; }
  .promises { grid-template-columns: 1fr; }
  .promises li + li { border-left: 0; border-top: 1px solid var(--hair); }
  .promises a, .promises li + li a { padding: 16px 0; }
  .sheet-head, .heads, .sheet-foot { padding-left: 16px; padding-right: 16px; }
  .sheet > [data-pb-widget], .hero-sheet > [data-pb-widget] { padding: 16px 12px; }
  .sheet-note { padding-left: 16px; padding-right: 16px; }
  .sect { padding: 64px 0; }
  .sec-head { margin-bottom: 28px; }
  .sec-head p { font-size: 16px; }
  .c-promises, .features, .price { grid-template-columns: 1fr; }
  .c-promises li, .c-promises li + li, .features li, .features li:nth-child(even), .price > div, .price > div + div { padding: 16px 0; border-left: 0; }
  .c-promises li + li, .price > div + div { border-top: 1px solid var(--hair); }
  .counts { flex-wrap: wrap; }
  .counts div, .counts div + div { padding: 10px 16px 10px 0; border-left: 0; }
  .counts b { font-size: 24px; }
  .fb { padding: 16px; }
  .fb-ask { flex-direction: column; }
  .fb-ask .field { flex: none; }
  .counts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; }
  .counts div, .counts div + div { flex-direction: column; gap: 0; }
  .fb-step { grid-template-columns: 1fr; gap: 4px; }
  .ss th:nth-child(2), .ss td:nth-child(2), .ss th:nth-child(4), .ss td:nth-child(4) { display: none; }
  .ss th:first-child, .ss td:first-child { padding-left: 16px; }
  .ss th:last-child, .ss td:last-child { padding-right: 16px; }
  .agg { padding: 16px; }
  .close { padding: 72px 0; }
}
@media (max-width: 370px) {
  .brand .word { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* The icon sprite takes no room. */
.defs { position: absolute; }

/* The brand and the footer's logo go to the top of the page, under the sticky bar to 0. */
#top { scroll-margin-top: 120px; }
#benchmarks { scroll-margin-top: 84px; }
.close .ctas { margin-top: 0; }
.foot-brand { justify-self: start; margin-bottom: 8px; }
.foot-brand .chip { width: 28px; height: 28px; }
.foot-brand .word { height: 15px; }

/* Each widget slot holds its place until app/widgets.js mounts the component into it, so the page
   does not move when it arrives: the heights the components take at each width (measured on the
   built page; beside the plan the coach's sheet stretches to the plan's). The hero's grid takes
   the side the window's height and the sheet's width leave it (widgets/page.css), so its slot is
   that side plus the sentence, controls and lines around it. */
:root { --slot-hero: calc(246px + min(489px, max(17rem, 100vh - 404px))); --slot-hands: 929px; --slot-costs: 1687px; --slot-range: 1071px; --slot-focus: 996px; --slot-coach: 0px; }
@media (max-width: 1319px) {
  :root { --slot-hero: calc(246px + min(31rem, max(17rem, 100vh - 404px), (100vw - 136px) * 7 / 12 - 206px)); --slot-hands: 1050px; --slot-costs: 1747px; --slot-range: 1753px; --slot-focus: 1310px; }
}
@media (max-width: 1080px) {
  :root { --slot-hero: calc(247px + min(31rem, max(17rem, 100vh - 404px), 100vw - 286px)); --slot-hands: 1350px; --slot-costs: 1873px; --slot-range: 1780px; --slot-focus: 960px; --slot-coach: 664px; }
}
@media (max-width: 760px) {
  :root { --slot-hero: calc(239px + min(31rem, max(17rem, 100vh - 404px), 100vw - 214px)); --slot-hands: 1500px; --slot-costs: 2186px; --slot-range: 1750px; --slot-focus: 1400px; --slot-coach: 670px; }
}
@media (max-width: 600px) {
  :root { --slot-hero: calc(332px + (100vw - 58px) * 12 / 13); }
}
@media (max-width: 480px) {
  :root { --slot-hero: calc(377px + (100vw - 58px) * 12 / 13); --slot-hands: 1559px; --slot-costs: 2690px; --slot-range: 1840px; --slot-focus: 1608px; }
}
[data-pb-widget="hero"]:empty { min-height: var(--slot-hero); }
[data-pb-widget="hands"]:empty { min-height: var(--slot-hands); }
[data-pb-widget="costs"]:empty { min-height: var(--slot-costs); }
[data-pb-widget="range"]:empty { min-height: var(--slot-range); }
[data-pb-widget="focus"]:empty { min-height: var(--slot-focus); }
[data-pb-widget="coach"]:empty { min-height: var(--slot-coach); }
