:root {
  --ink: #18211c;
  --muted: #5d685f;
  --cream: #f6f0e3;
  --paper: #fffdf7;
  --forest: #16251e;
  --green: #254b3b;
  --green-soft: #dfe9df;
  --gold: #d0a85f;
  --red: #8e3c35;
  --line: rgba(24, 33, 28, .14);
  --shadow: 0 22px 60px rgba(22, 37, 30, .15);
  --radius: 24px;
  --sans: "DM Sans", system-ui, sans-serif;
  --serif: "Fraunces", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: var(--sans); line-height: 1.6; }
a { color: inherit; }
img { max-width: 100%; }
button, input { font: inherit; }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .7rem 1rem; background: white; border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.hidden-field { position: absolute; left: -9999px; }

.site-header { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 0 clamp(1.25rem, 5vw, 5rem); background: rgba(246, 240, 227, .88); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header nav { display: flex; gap: clamp(1rem, 3vw, 2rem); font-size: .95rem; font-weight: 600; }
.site-header nav a { text-decoration: none; color: var(--muted); }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--ink); }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-family: var(--serif); font-weight: 700; font-size: 1.2rem; text-decoration: none; }
.brand-peg { width: 12px; height: 28px; border-radius: 99px 99px 5px 5px; background: var(--red); box-shadow: inset 0 -4px 0 rgba(0,0,0,.12); transform: rotate(7deg); }

.section-shell { width: min(1180px, calc(100% - 2.5rem)); margin-inline: auto; }
.eyebrow { margin: 0 0 .7rem; text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; font-weight: 700; color: var(--red); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.08; }
h1 { font-size: clamp(3rem, 7vw, 6.4rem); letter-spacing: -.045em; margin: 0; }
h2 { font-size: clamp(2rem, 4.5vw, 3.8rem); letter-spacing: -.035em; margin: 0 0 1rem; }
h3 { font-size: 1.5rem; margin: 2rem 0 .5rem; }
p { margin: 0 0 1rem; }

.hero { min-height: 690px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(3rem, 7vw, 7rem); padding-block: clamp(4rem, 9vw, 8rem); }
.hero-lede { max-width: 650px; font-size: clamp(1.08rem, 2vw, 1.35rem); color: var(--muted); margin-top: 1.5rem; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin: 2rem 0 1rem; }
.microcopy { color: var(--muted); font-size: .9rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: .75rem 1.15rem; border-radius: 999px; border: 1px solid transparent; font-weight: 700; text-decoration: none; cursor: pointer; }
.button-primary { color: white; background: var(--green); box-shadow: 0 10px 25px rgba(37, 75, 59, .2); }
.button-primary:hover { background: var(--forest); transform: translateY(-1px); }
.button-secondary { border-color: var(--line); background: rgba(255,255,255,.55); }
.button-secondary:hover { background: white; }
.text-link { display: inline-flex; gap: .5rem; margin-top: 1.5rem; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--ink); }

.hero-art { min-height: 480px; position: relative; display: grid; place-items: center; }
.board { width: min(470px, 93%); aspect-ratio: 1.18; border-radius: 48% 48% 18% 18%; background: linear-gradient(135deg, #8a5b36, #c38a54 50%, #744a2d); box-shadow: var(--shadow), inset 0 0 0 10px rgba(77,43,23,.15); position: relative; transform: rotate(4deg); }
.board::before, .board::after { content: ""; position: absolute; inset: 13%; border: 7px dotted rgba(255,245,222,.7); border-radius: 48% 48% 25% 25%; }
.board::after { inset: 26%; border-color: rgba(78,47,27,.6); }
.board-track { position: absolute; inset: 39%; border: 5px dotted rgba(255,245,222,.7); border-radius: 40%; }
.board-label { position: absolute; inset: auto 0 14%; text-align: center; font-family: var(--serif); font-size: 2rem; color: rgba(255,246,225,.82); }
.peg { position: absolute; width: 12px; height: 38px; border-radius: 999px 999px 5px 5px; z-index: 3; box-shadow: 0 5px 8px rgba(0,0,0,.3); }
.peg-one { background: #e7dfca; left: 34%; top: 19%; }
.peg-two { background: #8e3c35; left: 40%; top: 23%; }
.card { width: 150px; aspect-ratio: .68; border-radius: 14px; position: absolute; z-index: 5; box-shadow: 0 20px 35px rgba(30,21,15,.26); border: 8px solid #fffdf7; }
.card-back { right: 0; top: 8%; transform: rotate(13deg); background: repeating-linear-gradient(45deg, #23483a 0 7px, #e8dcc2 7px 10px); }
.card-back span { position: absolute; inset: 12px; border: 2px solid rgba(255,255,255,.75); border-radius: 6px; }
.card-front { left: 0; bottom: 3%; transform: rotate(-13deg); background: #fffdf8; color: #a02f33; padding: 7px; font-family: Georgia, serif; }
.card-front b, .card-front em { display: block; font-size: 1.6rem; line-height: 1; }
.card-front i { font-size: 4rem; font-style: normal; display: grid; place-items: center; height: 70%; }
.card-front em { transform: rotate(180deg); text-align: left; font-style: normal; }

.quick-score { padding: clamp(4rem, 7vw, 7rem) 0; border-top: 1px solid var(--line); }
.quick-score > div:first-child { max-width: 660px; }
.score-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.4rem; }
.score-grid article { min-height: 190px; padding: 1.5rem; background: rgba(255,255,255,.52); border: 1px solid var(--line); border-radius: 18px; display: flex; flex-direction: column; }
.score-grid strong { font-family: var(--serif); font-size: 2rem; }
.score-grid span { color: var(--muted); margin: .6rem 0 auto; }
.score-grid b { color: var(--red); }

.app-preview { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; padding: clamp(5rem, 9vw, 9rem); background: var(--forest); color: white; border-radius: 36px; margin-block: 3rem; overflow: hidden; }
.app-preview .eyebrow { color: #ebc780; }
.app-preview p { color: rgba(255,255,255,.72); }
.phone-wrap { position: relative; display: grid; place-items: center; }
.phone { width: min(320px, 100%); aspect-ratio: .49; border: 9px solid #0d1210; border-radius: 42px; padding: 12px; background: #202823; box-shadow: 0 35px 80px rgba(0,0,0,.45); transform: rotate(-3deg); }
.phone-screen { height: 100%; border-radius: 27px; overflow: hidden; background: linear-gradient(#c2b18a 0 27%, #365846 27% 100%); padding: 1rem; display: flex; flex-direction: column; align-items: center; }
.phone-speaker { position: absolute; width: 94px; height: 17px; top: 21px; left: 50%; transform: translateX(-50%); border-radius: 0 0 14px 14px; background: #0d1210; z-index: 2; }
.game-topline { width: 100%; display: flex; justify-content: space-between; color: #19231e; font-size: .78rem; font-weight: 700; margin-top: .7rem; }
.mini-board { width: 88%; height: 135px; border-radius: 60px 60px 18px 18px; background: #ab7242; margin: 1.2rem 0; position: relative; border: 4px dotted rgba(255,255,255,.65); }
.mini-board::after { content: ""; position: absolute; inset: 22px; border: 3px dotted rgba(63,35,19,.6); border-radius: inherit; }
.mini-peg { position: absolute; width: 8px; height: 22px; border-radius: 8px; z-index: 2; }
.mini-peg.a { background: white; left: 34%; top: 15%; }.mini-peg.b { background: #913f36; left: 40%; top: 20%; }
.opponent { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #d6a859; color: #2a2419; font-family: var(--serif); font-size: 1.5rem; margin-top: .8rem; }
.game-message { font-size: .8rem; margin: .55rem 0 auto !important; color: rgba(255,255,255,.9) !important; }
.hand { display: flex; justify-content: center; margin-bottom: 1rem; }
.hand span { width: 57px; height: 82px; margin-left: -10px; border-radius: 8px; background: #fffdf8; color: #222; display: flex; align-items: flex-start; padding: 6px; font-family: Georgia, serif; box-shadow: 0 8px 16px rgba(0,0,0,.25); }
.coming-soon-chip { position: absolute; right: 0; top: 12%; background: var(--gold); color: #221c12; border-radius: 999px; padding: .55rem .9rem; font-weight: 800; transform: rotate(4deg); box-shadow: 0 12px 25px rgba(0,0,0,.26); }
.feature-list { display: grid; gap: .7rem; list-style: none; padding: 0; margin: 1.8rem 0; }
.feature-list li { display: flex; gap: .75rem; align-items: center; }
.feature-list li::before { content: ""; width: 10px; height: 18px; border-radius: 8px 8px 2px 2px; background: var(--gold); transform: rotate(8deg); }
.store-placements { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1rem 0 2rem; }
.store-placement { width: max-content; display: flex; align-items: center; gap: .8rem; padding: .7rem 1rem; border: 1px solid rgba(255,255,255,.25); border-radius: 12px; background: rgba(255,255,255,.08); margin: 0; }
.store-placement small, .store-placement strong { display: block; line-height: 1.1; }.store-placement small { font-size: .63rem; letter-spacing: .13em; }.store-placement strong { font-size: 1.25rem; }
.store-icon { font-size: 1.7rem; }
.waitlist { max-width: 540px; }
.waitlist label { display: block; font-weight: 700; margin-bottom: .55rem; }
.form-row { display: flex; gap: .65rem; }
.form-row input { flex: 1; min-width: 0; border-radius: 999px; border: 1px solid rgba(255,255,255,.24); padding: .8rem 1rem; background: rgba(255,255,255,.1); color: white; outline: none; }
.form-row input::placeholder { color: rgba(255,255,255,.45); }
.form-row input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(208,168,95,.18); }
.form-note { font-size: .82rem; margin-top: .55rem; }

.learn { padding: clamp(5rem, 9vw, 9rem) 0; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 8rem); }
.learn-copy { max-width: 500px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.steps li { display: grid; grid-template-columns: 54px 1fr; gap: 1rem; align-items: start; padding: 1.3rem; background: rgba(255,255,255,.52); border: 1px solid var(--line); border-radius: 16px; }
.steps li > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: white; font-family: var(--serif); font-weight: 700; }
.steps strong { font-size: 1.05rem; }.steps p { margin: .25rem 0 0; color: var(--muted); }

.faq { padding: clamp(4rem, 8vw, 8rem) 0; border-top: 1px solid var(--line); }
.faq h2 { max-width: 700px; }
details { border-top: 1px solid var(--line); padding: 1.25rem 0; max-width: 850px; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; font-size: 1.08rem; }
details p { color: var(--muted); max-width: 720px; margin-top: .75rem; }

.site-footer { padding: 3rem clamp(1.25rem, 5vw, 5rem); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); }
.site-footer .brand { color: var(--ink); }.site-footer p { margin: 0; }.site-footer nav { display: flex; gap: 1rem; }.site-footer nav a { text-decoration: none; }.copyright { grid-column: 1 / -1; font-size: .8rem; }

.rules-page { padding-bottom: 6rem; }
.rules-hero { padding: clamp(4rem, 8vw, 7rem) 0 3rem; max-width: 1000px; }
.rules-hero h1 { max-width: 850px; }.rules-hero > p:not(.eyebrow) { max-width: 750px; font-size: 1.2rem; color: var(--muted); margin-top: 1.2rem; }
.rules-jump { display: flex; gap: .55rem; flex-wrap: wrap; margin-top: 2rem; }
.rules-jump a { border: 1px solid var(--line); background: rgba(255,255,255,.5); padding: .55rem .8rem; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .9rem; }
.rules-content { max-width: 920px; }
.rules-content section { padding: 3rem 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.rules-content h2 { font-size: clamp(2rem, 4vw, 3rem); }
.rules-content p, .rules-content li { font-size: 1.05rem; }
.rule-card, .callout { padding: 1.4rem 1.5rem; border-radius: 16px; background: var(--green-soft); border-left: 5px solid var(--green); }
.rule-card { margin-bottom: 3rem; }.rule-card p, .callout p { margin-bottom: 0; }
.callout { margin: 1.5rem 0; }
.scoring-table-wrap { overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.55); }
table { width: 100%; border-collapse: collapse; min-width: 650px; }
caption { text-align: left; padding: 1rem; font-family: var(--serif); font-size: 1.4rem; font-weight: 700; }
th, td { padding: .9rem 1rem; text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
th { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.example-hand { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: center; padding: 1.5rem; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; }
.example-cards { display: flex; }
.example-cards span { width: 62px; height: 88px; margin-left: -16px; border-radius: 8px; background: white; border: 1px solid var(--line); box-shadow: 0 8px 14px rgba(0,0,0,.08); padding: 7px; font-family: Georgia, serif; }
.example-cards span:first-child { margin-left: 0; }.example-cards .starter-card { transform: translateY(-8px); border-color: var(--gold); }
.round-order { display: grid; gap: .7rem; padding-left: 1.2rem; }
.rules-end { margin-top: 4rem; padding: 2rem; text-align: center; border-radius: 22px; background: var(--forest); color: white; }.rules-end p { font-family: var(--serif); font-size: 1.6rem; }
.legal-page { width: calc(100% - 2.5rem); max-width: 850px; min-width: 0; padding-block: clamp(4rem, 8vw, 7rem); }.legal-page h1 { font-size: clamp(3rem, 7vw, 5rem); }.legal-page h2 { font-size: 1.7rem; margin-top: 2.5rem; }.legal-page .updated { color: var(--muted); }.legal-page p, .legal-page li { max-width: 760px; min-width: 0; font-size: 1.05rem; line-height: 1.75; color: var(--muted); overflow-wrap: anywhere; }.legal-page li { margin-top: .55rem; }.legal-page a { color: var(--green); font-weight: 700; }.legal-page code { padding: .08rem .3rem; border-radius: 4px; background: var(--green-soft); color: var(--ink); font-size: .9em; }.legal-crosslink { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.legal-page.section-shell { width: calc(100% - 2.5rem); }

@media (max-width: 900px) {
  .hero, .app-preview, .learn { grid-template-columns: 1fr; }
  .hero-art { order: -1; min-height: 360px; }
  .hero { padding-top: 2.5rem; }
  .score-grid { grid-template-columns: repeat(2, 1fr); }
  .app-preview { padding: 3rem 1.25rem; }
  .phone { width: 270px; }
  .site-footer { grid-template-columns: 1fr; }
  .copyright { grid-column: auto; }
}

@media (max-width: 620px) {
  .site-header { min-height: 66px; padding-inline: 1rem; }
  .site-header nav { gap: .8rem; font-size: .82rem; }.site-header nav a:first-child { display: none; }
  .brand { font-size: 1.05rem; }.brand-peg { height: 23px; width: 10px; }
  .section-shell { width: min(100% - 1.5rem, 1180px); }
  .hero { min-height: 0; }
  .hero-art { min-height: 290px; }
  .card { width: 94px; border-width: 5px; }.card-front i { font-size: 2.7rem; }
  .board { width: 290px; }
  .score-grid { grid-template-columns: 1fr; }.score-grid article { min-height: 150px; }
  .form-row { flex-direction: column; }.form-row .button { width: 100%; }
  .example-hand { grid-template-columns: 1fr; }.example-cards span { width: 55px; height: 78px; }
  .site-footer { padding-inline: 1rem; }
  .legal-page.section-shell { width: calc(100% - 1.5rem); max-width: calc(100% - 1.5rem); }
}

@media (prefers-reduced-motion: no-preference) {
  .button, .site-header nav a, .rules-jump a { transition: .18s ease; }
  .hero-art { animation: settle .8s ease-out both; }
  @keyframes settle { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}

/* Scoring calculator */
.calculator-page { padding-bottom: 6rem; }
.calculator-hero { padding: clamp(3.5rem, 7vw, 7rem) 0 2.5rem; display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.calculator-intro { position: sticky; top: 100px; }
.calculator-intro h1 { font-size: clamp(3rem, 6vw, 6rem); max-width: 720px; }
.calculator-intro > p:not(.eyebrow) { max-width: 620px; font-size: 1.15rem; color: var(--muted); }
.calculator-links { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.3rem; color: var(--muted); }
.calculator-shell { padding: clamp(1.25rem, 3vw, 2rem); border-radius: 28px; border: 1px solid var(--line); background: rgba(255,255,255,.58); box-shadow: 0 24px 70px rgba(49,38,28,.08); }
.calculator-heading-row { display: flex; gap: 1.5rem; align-items: center; justify-content: space-between; }
.calculator-heading-row h2 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); }
.crib-switch { display: inline-flex; align-items: center; gap: .65rem; padding: .75rem .95rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-weight: 700; white-space: nowrap; }
.crib-switch input { width: 1.1rem; height: 1.1rem; accent-color: var(--green); }
.selected-cards { display: grid; grid-template-columns: repeat(4, minmax(80px, 1fr)) 1px minmax(90px, 1.05fr); gap: .75rem; align-items: end; margin-top: 2rem; }
.card-slot-wrap { min-width: 0; }
.card-slot-wrap > span { display: block; margin: 0 0 .45rem .2rem; color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.card-slot { width: 100%; aspect-ratio: .7; min-height: 0; padding: .75rem .45rem; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; border: 2px solid var(--line); border-radius: 14px; background: #fffdf8; color: #201d18; box-shadow: 0 12px 25px rgba(41,30,20,.09); }
.card-slot b { font-family: Georgia, serif; font-size: clamp(1.65rem, 3vw, 2.65rem); line-height: 1; }
.card-slot small { color: var(--muted); font-family: var(--sans); font-size: .68rem; text-transform: uppercase; letter-spacing: .07em; }
.card-slot.is-red b { color: var(--red); }
.card-slot:hover, .card-slot:focus-visible { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 18px 32px rgba(41,30,20,.14); }
.card-slot.is-active { border-color: var(--green); box-shadow: 0 0 0 4px rgba(30,91,67,.12); }
.starter-divider { width: 1px; height: 72%; align-self: center; background: var(--line); }
.starter-slot { border-color: var(--gold); background: #fff9ec; }
.calculator-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.3rem; }
.calculator-error { min-height: 1.35rem; margin: 1rem 0 0; color: var(--red); font-weight: 700; }

.score-result { margin-top: 1rem; padding: clamp(2rem, 5vw, 4rem); display: grid; grid-template-columns: .55fr 1.45fr; gap: clamp(2rem, 6vw, 6rem); border-radius: 30px; background: var(--forest); color: white; }
.score-total-panel { display: flex; flex-direction: column; align-items: flex-start; }
.score-total-panel .eyebrow { color: #edcd91; }
.score-total { margin: .4rem 0 2rem; display: flex; align-items: baseline; gap: .65rem; }
.score-total strong { font-family: var(--serif); font-size: clamp(5rem, 13vw, 10rem); line-height: .8; color: white; }
.score-total span { color: rgba(255,255,255,.72); font-size: 1.1rem; }
.share-status { min-height: 1.4rem; color: #edcd91; margin-top: .7rem; }
.score-detail-panel h2 { color: white; font-size: clamp(2rem, 4vw, 3.2rem); }
.category-breakdown { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .6rem; margin: 1.5rem 0 2rem; }
.category-breakdown div { padding: 1rem .75rem; border: 1px solid rgba(255,255,255,.17); border-radius: 14px; background: rgba(255,255,255,.07); }
.category-breakdown dt { color: rgba(255,255,255,.62); font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; }
.category-breakdown dd { margin: .25rem 0 0; font-family: var(--serif); font-size: 2rem; }
.score-events { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.score-events li { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: .85rem 1rem; border-bottom: 1px solid rgba(255,255,255,.13); }
.score-events li strong { color: #edcd91; font-size: 1.1rem; }
.score-events .nothing-counts { justify-content: flex-start; color: rgba(255,255,255,.72); font-style: italic; }

.count-ritual { padding: clamp(4rem, 8vw, 7rem) 0; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.count-ritual h2 { font-size: clamp(2.4rem, 5vw, 4.5rem); }
.count-ritual p:not(.eyebrow) { color: var(--muted); max-width: 500px; }
.score-narration { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .65rem; }
.score-narration li { padding: .75rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.58); font-family: var(--serif); font-size: 1.12rem; }
.calculator-explainer { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.calculator-explainer article { padding: 1.5rem; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.46); }
.calculator-explainer h2 { font-size: 1.35rem; }
.calculator-explainer p { color: var(--muted); margin-bottom: 0; }

.card-picker-backdrop { position: fixed; inset: 0; z-index: 100; padding: 1.5rem; overflow-y: auto; background: rgba(11,18,15,.72); backdrop-filter: blur(8px); }
.card-picker-backdrop[hidden] { display: none; }
.card-picker { width: min(1050px, 100%); margin: min(8vh, 5rem) auto; padding: clamp(1.2rem, 3vw, 2rem); border-radius: 28px; background: var(--cream); box-shadow: 0 30px 90px rgba(0,0,0,.36); }
.picker-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.picker-heading h2 { font-size: clamp(2rem, 4vw, 3rem); }
.picker-close { width: 44px; height: 44px; min-height: 0; border-radius: 50%; padding: 0; display: grid; place-items: center; background: var(--ink); color: white; font-size: 1.8rem; line-height: 1; }
.picker-note { color: var(--muted); }
.card-picker-grid { display: grid; grid-template-columns: 38px repeat(13, minmax(52px, 1fr)); gap: .45rem; margin-top: 1.4rem; overflow-x: auto; padding-bottom: .5rem; }
.picker-suit { display: grid; place-items: center; min-width: 38px; color: var(--ink); font-size: 1.5rem; font-family: Georgia, serif; }
.picker-suit.is-red { color: var(--red); }
.picker-card { min-width: 52px; min-height: 64px; padding: .35rem; border: 1px solid var(--line); border-radius: 9px; background: #fffdf8; color: var(--ink); font-family: Georgia, serif; font-size: 1rem; }
.picker-card.is-red { color: var(--red); }
.picker-card:hover:not(:disabled), .picker-card:focus-visible { transform: translateY(-2px); border-color: var(--gold); }
.picker-card[aria-current="true"] { border-color: var(--green); box-shadow: 0 0 0 3px rgba(30,91,67,.15); }
.picker-card:disabled { opacity: .2; cursor: not-allowed; }

@media (max-width: 900px) {
  .calculator-hero, .score-result, .count-ritual { grid-template-columns: 1fr; }
  .calculator-hero > *, .calculator-shell { min-width: 0; }
  .calculator-intro { position: static; }
  .calculator-intro h1 { font-size: clamp(3rem, 12vw, 5.5rem); }
  .selected-cards { grid-template-columns: repeat(5, minmax(70px, 1fr)); }
  .starter-divider { display: none; }
  .category-breakdown { grid-template-columns: repeat(3, 1fr); }
  .calculator-explainer { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .calculator-page .calculator-hero,
  .calculator-page .calculator-intro,
  .calculator-page .calculator-shell,
  .calculator-page .selected-cards { width: 100%; max-width: 100%; }
  .calculator-page .calculator-intro h1 { max-width: 100%; overflow-wrap: anywhere; }
  .calculator-page .calculator-intro > p:not(.eyebrow) { max-width: 100%; overflow-wrap: anywhere; }
  .calculator-heading-row { align-items: flex-start; flex-direction: column; }
  .selected-cards { grid-template-columns: repeat(4, minmax(58px, 1fr)); gap: .45rem; }
  .starter-slot-wrap { grid-column: 2 / span 2; margin-top: .5rem; }
  .card-slot { border-radius: 10px; padding: .55rem .35rem; }
  .card-slot small { font-size: .55rem; }
  .score-result { border-radius: 0; width: 100%; padding-inline: 1.25rem; }
  .category-breakdown { grid-template-columns: repeat(2, 1fr); }
  .calculator-actions .button { width: 100%; }
  .card-picker-backdrop { padding: .5rem; }
  .card-picker { margin: .5rem auto; border-radius: 20px; min-height: calc(100vh - 1rem); }
}

@media (prefers-reduced-motion: no-preference) {
  .card-slot, .picker-card { transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
  .score-total strong { animation: score-pop .28s ease-out both; }
  .score-narration li { animation: count-in .35s ease-out both; animation-delay: calc(var(--count-step, 0) * 45ms); }
  @keyframes score-pop { from { opacity: .3; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }
  @keyframes count-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}

/* Companion homepage redesign and instructional guide */
.brand em, .footer-brand em { font-style: normal; font-weight: 400; }
.hero-product { min-height: 0; grid-template-columns: minmax(0, 1fr) minmax(390px, 500px); gap: clamp(3rem, 7vw, 7rem); padding-block: clamp(4rem, 7vw, 7rem); }
.hero-product h1 { max-width: 700px; }
.experienced-note { max-width: 590px; color: var(--muted); font-size: .98rem; }
.store-button { min-height: 52px; display: inline-flex; align-items: center; gap: .7rem; padding: .65rem 1rem; border-radius: 12px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.1); color: white; text-decoration: none; }
.store-button small, .store-button strong { display: block; line-height: 1.1; }.store-button small { font-size: .62rem; letter-spacing: .12em; }.store-button strong { font-size: 1.08rem; }.store-icon { font-size: 1.4rem; }
.store-button-muted { color: var(--muted); border-color: var(--line); background: rgba(255,255,255,.5); cursor: default; }
.hero-actions .button { min-height: 52px; }
.launch-note { color: var(--red); font-size: .84rem; font-weight: 700; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 2rem 0 0; }.hero-proof div { display: flex; align-items: baseline; gap: .45rem; }.hero-proof dt { font: 700 1.65rem/1 var(--serif); }.hero-proof dd { margin: 0; color: var(--muted); font-size: .82rem; }
.hero-game { min-width: 0; }
.game-stage { display: grid; justify-items: center; }.game-caption { width: min(100%, 470px); display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin-bottom: .75rem; font-size: .82rem; font-weight: 700; color: var(--muted); }.game-caption a { text-decoration: none; border-bottom: 1px solid currentColor; }.live-dot { display: inline-block; width: 8px; height: 8px; margin-right: .4rem; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(142,60,53,.12); }
.portrait-frame { width: min(100%, 470px); padding: 12px; border-radius: 34px; background: linear-gradient(135deg, #81532f, #bd8651 50%, #70472c); box-shadow: 0 25px 60px rgba(48,30,18,.24), inset 0 0 0 2px rgba(255,244,215,.22); }.portrait-bezel { padding: 9px; border-radius: 25px; background: #111813; }.game-mount { position: relative; overflow: hidden; width: 100%; aspect-ratio: 430 / 780; border-radius: 17px; background: #14271e; }.game-embed { display: block; width: 100%; height: 100%; border: 0; background: #14271e; }.mount-placeholder { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; padding: 2rem; color: white; text-align: center; background: radial-gradient(circle at 50% 30%, #3d6a50, #14271e 65%); }.mount-placeholder .eyebrow { color: #ebc780; }.mount-placeholder strong { font: 700 clamp(1.55rem, 4vw, 2.4rem)/1.05 var(--serif); }.mount-placeholder > span:not(.eyebrow) { max-width: 260px; color: rgba(255,255,255,.72); font-size: .9rem; }.button-light { color: var(--forest); background: #fff8e9; box-shadow: 0 10px 25px rgba(0,0,0,.15); }.button-light:hover { background: white; }.frame-note { margin: .8rem 0 0; color: var(--muted); font-size: .78rem; }
.confidence-strip { border-block: 1px solid var(--line); background: rgba(255,255,255,.35); }.confidence-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.2rem; color: var(--muted); font-size: .84rem; font-weight: 700; }.mini-peg-mark { display: inline-block; width: 7px; height: 16px; margin-right: .45rem; vertical-align: -3px; border-radius: 99px 99px 3px 3px; background: var(--red); transform: rotate(7deg); }
.basics { padding-block: clamp(5rem, 9vw, 9rem); }.section-heading { margin-bottom: 2.5rem; }.split-heading { display: grid; grid-template-columns: 1fr .7fr; gap: 3rem; align-items: end; }.split-heading > p, .resource-heading > p:last-child { max-width: 510px; margin: 0; color: var(--muted); font-size: 1.1rem; }.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: 0; margin: 0; list-style: none; }.step-grid li { display: grid; grid-template-columns: 42px 1fr; gap: 1rem; padding: 1.3rem; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.52); }.step-grid li > span { color: var(--red); font: 700 1.1rem/1 var(--serif); }.step-grid h3 { margin: 0; font-size: 1.2rem; }.step-grid p { margin: .35rem 0 0; color: var(--muted); font-size: .9rem; }.start-callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; padding: 1.35rem 1.5rem; border-radius: 16px; background: var(--green-soft); }.start-callout p { margin: 0; }.start-callout strong { font-family: var(--serif); }.start-callout .text-link { margin-top: 0; }
.learning-section { padding-block: clamp(5rem, 9vw, 9rem); background: var(--forest); color: white; }.learning-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }.eyebrow-gold { color: #ebc780; }.learning-copy h2 { max-width: 620px; }.learning-copy > p:not(.eyebrow) { max-width: 540px; color: rgba(255,255,255,.72); }.learning-sequence { display: grid; gap: .8rem; padding: 0; margin: 0; list-style: none; }.learning-sequence li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: center; padding: 1rem 1.2rem; border: 1px solid rgba(255,255,255,.15); border-radius: 14px; background: rgba(255,255,255,.07); }.learning-sequence li > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--forest); font-weight: 800; }.learning-sequence strong { font-size: 1.05rem; }.learning-sequence p { margin: .15rem 0 0; color: rgba(255,255,255,.62); }
.resources { padding-block: clamp(5rem, 9vw, 9rem); }.resource-heading { max-width: 720px; }.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }.resource-card { min-height: 300px; display: flex; flex-direction: column; padding: 1.6rem; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.52); }.resource-number { color: var(--red); font: 700 1.2rem/1 var(--serif); }.resource-card .eyebrow { margin-top: 2.7rem; }.resource-card h3 { margin: 0; font-size: 1.8rem; }.resource-card > p:not(.eyebrow) { color: var(--muted); }.resource-card .text-link { margin-top: auto; align-self: flex-start; }
.android-band { padding-block: clamp(3.5rem, 6vw, 6rem); background: var(--forest); color: white; }.android-inner { display: flex; align-items: center; justify-content: space-between; gap: 3rem; }.android-band h2 { margin-bottom: .6rem; }.android-band p:not(.eyebrow) { max-width: 620px; margin: 0; color: rgba(255,255,255,.72); }.android-actions { display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; }.android-actions > small { color: rgba(255,255,255,.62); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .7fr; gap: 3rem; }.footer-grid .brand { color: var(--ink); }.footer-grid p { max-width: 280px; color: var(--muted); }.footer-grid nav { display: grid; align-content: start; gap: .45rem; }.footer-grid nav strong { margin-bottom: .25rem; color: var(--ink); }.footer-grid nav a, .footer-grid nav span { color: var(--muted); text-decoration: none; font-size: .9rem; }.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }

/* How-to pillar */
.guide-page { padding-bottom: 6rem; }.guide-hero { padding-block: clamp(3rem, 7vw, 7rem); }.breadcrumbs { display: flex; gap: .55rem; margin-bottom: 2.5rem; color: var(--muted); font-size: .85rem; }.breadcrumbs a { text-decoration: none; }.guide-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 5rem; align-items: center; }.guide-hero h1 { max-width: 800px; }.guide-intro { max-width: 670px; margin: 1.5rem 0; color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.3rem); }.guide-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }.guide-actions .text-link { margin-top: 0; }.guide-board-art { position: relative; width: 300px; aspect-ratio: 1.15; justify-self: center; border-radius: 45% 45% 18% 18%; background: linear-gradient(135deg, #81532f, #bd8651 50%, #70472c); box-shadow: var(--shadow), inset 0 0 0 9px rgba(77,43,23,.15); transform: rotate(4deg); }.guide-board-track { position: absolute; inset: 15%; display: grid; grid-template-columns: repeat(9, 1fr); grid-template-rows: repeat(4, 1fr); gap: .5rem; padding: 1rem; border: 4px dotted rgba(255,245,222,.7); border-radius: 42%; }.guide-board-track i { width: 6px; height: 6px; align-self: center; justify-self: center; border-radius: 50%; background: rgba(255,245,222,.75); }.guide-board-track i:nth-child(n+19) { background: rgba(78,47,27,.55); }.guide-peg { position: absolute; width: 10px; height: 30px; border-radius: 99px 99px 4px 4px; box-shadow: 0 4px 6px rgba(0,0,0,.25); }.guide-peg-a { left: 38%; top: 10%; background: #fff4dc; }.guide-peg-b { left: 45%; top: 15%; background: var(--red); }.guide-board-number { position: absolute; bottom: 17%; left: 0; right: 0; text-align: center; color: rgba(255,246,225,.85); font: 700 1.8rem/1 var(--serif); }
.quick-version { padding-block: clamp(4rem, 7vw, 7rem); background: var(--forest); color: white; }.quick-version-inner { max-width: 1100px; }.quick-title-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: end; }.quick-title-wrap h2 { margin: 0; }.quick-title-wrap > p:last-child { max-width: 460px; margin: 0; color: rgba(255,255,255,.68); }.fast-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem 2rem; padding: 0; margin: 3rem 0 0; list-style: none; }.fast-list li { display: grid; grid-template-columns: 34px 1fr; gap: .8rem; align-items: start; padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.14); }.fast-list li > span { color: #ebc780; font: 700 .9rem/1 var(--serif); }.fast-list p { margin: 0; color: rgba(255,255,255,.82); }.quick-finish { display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; margin-top: 2rem; color: #ebc780; }.quick-finish span { color: rgba(255,255,255,.62); }
.guide-layout { display: grid; grid-template-columns: 220px minmax(0, 800px); gap: clamp(2.5rem, 7vw, 7rem); padding-top: 5rem; }.guide-toc { position: sticky; top: 100px; align-self: start; }.guide-toc > strong { display: block; margin-bottom: .8rem; font-family: var(--serif); }.guide-toc nav { display: grid; gap: .25rem; }.guide-toc nav a { display: flex; gap: .55rem; padding: .35rem 0; color: var(--muted); font-size: .84rem; text-decoration: none; }.guide-toc nav a span { color: var(--red); font-weight: 700; }.toc-play { display: inline-flex; margin-top: 1.2rem; padding: .65rem .8rem; border-radius: 10px; background: var(--green); color: white; font-size: .8rem; font-weight: 700; text-decoration: none; }.guide-article { min-width: 0; }.guide-article section { padding: 4rem 0; border-top: 1px solid var(--line); scroll-margin-top: 95px; }.guide-article section:first-child { padding-top: 0; border-top: 0; }.section-number { margin: 0 0 .65rem; color: var(--red); font: 700 .8rem/1 var(--sans); letter-spacing: .14em; }.guide-article h2 { margin-bottom: 1rem; font-size: clamp(2rem, 4vw, 3.2rem); }.section-lede { color: var(--muted); font-size: 1.16rem; }.guide-article p, .guide-article li { font-size: 1.03rem; }.plain-language-note, .rule-alert, .crib-flush-note { margin: 1.6rem 0; padding: 1.2rem 1.35rem; border-radius: 14px; background: var(--green-soft); border-left: 5px solid var(--green); }.plain-language-note strong, .rule-alert strong, .crib-flush-note strong { display: block; }.plain-language-note { color: var(--ink); }.rule-alert { display: flex; gap: 1rem; align-items: center; background: #fff4d8; border-left-color: var(--gold); }.rule-alert > span { color: var(--red); font: 700 2.4rem/1 Georgia, serif; }.rule-alert p, .crib-flush-note p { margin: .25rem 0 0; }.deal-visual { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; margin: 1.8rem 0; padding: 1.2rem; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.5); }.mini-hand { display: flex; padding-left: 14px; }.playing-card { position: relative; display: inline-flex; flex-direction: column; justify-content: space-between; width: 54px; height: 78px; margin-left: -14px; padding: .35rem; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); color: var(--ink); box-shadow: 0 6px 12px rgba(35,26,18,.1); font-family: Georgia, serif; }.playing-card b { font-size: 1.35rem; line-height: 1; }.playing-card i { align-self: center; font-size: 1.7rem; font-style: normal; line-height: 1; }.playing-card.red-card { color: var(--red); }.deal-arrow { color: var(--red); font: 700 1.8rem/1 var(--serif); }.deal-result { display: grid; gap: .2rem; }.deal-result strong { font: 700 1.2rem/1 var(--serif); }.deal-result span { color: var(--muted); font-size: .86rem; }.rule-table-wrap { overflow-x: auto; margin: 1.7rem 0; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.5); }.rule-table-wrap table { min-width: 650px; }.count-order { display: grid; gap: .7rem; padding: 0; margin: 1.6rem 0; list-style: none; }.count-order li { display: grid; grid-template-columns: 34px 1fr; gap: .8rem; align-items: start; padding: .8rem 1rem; border-radius: 12px; background: rgba(255,255,255,.5); }.count-order li > span { color: var(--red); font: 700 1rem/1 var(--serif); }.count-order strong { font-size: 1rem; }.count-order p { margin: .2rem 0 0; color: var(--muted); font-size: .9rem; }.score-definition-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin-top: 1.7rem; }.score-definition-grid article { padding: 1.1rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.5); }.score-definition-grid article > span { color: var(--red); font: 700 1.5rem/1 var(--serif); }.score-definition-grid h3 { margin: .5rem 0 .25rem; font-size: 1.25rem; }.score-definition-grid p { margin: 0; color: var(--muted); font-size: .92rem; }.worked-example { padding: 1.35rem; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }.worked-cards { display: flex; align-items: center; padding-left: 14px; margin-bottom: 1.4rem; }.worked-cards .playing-card { width: 60px; height: 88px; }.worked-cards .starter-card { border: 2px solid var(--gold); transform: translateY(-7px); }.worked-cards .starter-card::before { content: "starter"; position: absolute; left: 50%; bottom: -1.25rem; color: var(--red); font: 700 .55rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; transform: translateX(-50%); }.worked-cards .starter-divider { width: 1px; height: 62px; margin: 0 1rem 0 .35rem; background: var(--line); }.worked-example .score-events { display: grid; gap: .3rem; padding: 0; margin: 0; list-style: none; }.worked-example .score-events li { display: grid; grid-template-columns: 1.1fr 1fr auto; gap: .8rem; align-items: center; padding: .6rem 0; border-bottom: 1px solid var(--line); }.worked-example .score-events span { font-weight: 700; }.worked-example .score-events p { margin: 0; color: var(--muted); font-size: .9rem; }.worked-example .score-events strong { color: var(--red); }.event-color { display: inline-block; width: 8px; height: 8px; margin-right: .45rem; border-radius: 50%; background: var(--red); }.event-color.gold { background: var(--gold); }.event-color.green { background: var(--green); }.score-total { display: flex; justify-content: flex-end; align-items: baseline; gap: .55rem; margin: 1.2rem 0 0; }.score-total span { color: var(--muted); }.score-total strong { font: 700 3rem/1 var(--serif); }.score-total em { color: var(--muted); font-style: normal; }.learn-by-playing-callout { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding: 2rem; border-radius: 22px; background: var(--forest); color: white; }.learn-by-playing-callout p:not(.eyebrow) { color: rgba(255,255,255,.72); }.guide-faq details { max-width: none; }.next-resources { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; padding-top: 3rem; border-top: 1px solid var(--line); }.next-resources .eyebrow { grid-column: 1 / -1; }.next-resources a { display: grid; gap: .25rem; padding: 1.1rem; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.5); text-decoration: none; }.next-resources a span { color: var(--red); font-size: .85rem; }.next-resources a strong { font-family: var(--serif); }

@media (max-width: 900px) {
  .hero-product { grid-template-columns: 1fr; }.hero-game { order: -1; }.hero-product .hero-copy { max-width: 720px; }.hero-game .portrait-frame { width: min(470px, 100%); }.split-heading, .learning-grid, .guide-hero-grid { grid-template-columns: 1fr; }.guide-board-art { justify-self: start; }.step-grid { grid-template-columns: repeat(2, 1fr); }.resource-grid { grid-template-columns: 1fr; }.resource-card { min-height: 0; }.android-inner { align-items: flex-start; flex-direction: column; }.guide-layout { grid-template-columns: 1fr; padding-top: 3rem; }.guide-toc { position: static; }.guide-toc nav { grid-template-columns: repeat(2, 1fr); }.toc-play { margin-top: 1rem; }.footer-grid { grid-template-columns: 1fr 1fr; }.footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body { overflow-x: hidden; }.section-shell { width: calc(100% - 1.5rem); }.site-header nav { gap: 0; }.site-header nav a:not(.header-play-link) { display: none; }.site-header nav .header-play-link { display: inline-flex; padding: .45rem .8rem; border-radius: 999px; background: var(--green); color: white; }.hero-product { grid-template-columns: minmax(0, 1fr); padding-block: 2rem 4rem; }.hero-product > *, .guide-hero-grid > * { min-width: 0; max-width: 100%; }.hero-product .hero-copy { order: 0; width: min(100%, 350px); }.hero-product .hero-game { order: 1; width: 100%; }.hero-product h1 { width: 100%; font-size: clamp(2.6rem, 12vw, 4rem); overflow-wrap: break-word; }.hero-lede, .experienced-note, .launch-note, .guide-intro { max-width: 100%; overflow-wrap: anywhere; }.hero-game .portrait-frame { width: 100%; max-width: 100%; }.hero-actions { align-items: stretch; flex-direction: column; }.hero-actions > * { width: 100%; }.store-button { justify-content: center; }.hero-proof { gap: 1rem; }.hero-proof div { min-width: 0; }.confidence-inner { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; }.confidence-inner span { font-size: .76rem; }.split-heading, .quick-title-wrap { display: block; }.split-heading > p, .quick-title-wrap > p:last-child { margin-top: 1rem; }.quick-title-wrap h2 { max-width: 350px; font-size: 2.3rem; overflow-wrap: break-word; }.step-grid, .fast-list, .score-definition-grid, .learn-by-playing-callout, .next-resources { grid-template-columns: 1fr; }.basics { padding-block: 4.5rem; }.start-callout { align-items: flex-start; flex-direction: column; }.guide-hero { padding-block: 2rem 3.5rem; }.guide-hero-grid { gap: 2rem; }.guide-hero-grid > div:first-child { width: min(100%, 350px); }.guide-hero h1 { width: 100%; font-size: clamp(2.7rem, 13vw, 4.5rem); overflow-wrap: break-word; }.guide-board-art { width: min(300px, 80vw); }.guide-toc nav { grid-template-columns: 1fr; }.guide-article section { padding-block: 3.2rem; }.guide-article p, .guide-article li { font-size: 1rem; }.deal-visual { align-items: flex-start; flex-direction: column; }.deal-arrow { transform: rotate(90deg); }.worked-cards { overflow-x: auto; padding-bottom: 1rem; }.worked-example .score-events li { grid-template-columns: 1fr auto; }.worked-example .score-events p { grid-column: 1 / -1; grid-row: 2; }.footer-grid { grid-template-columns: 1fr; gap: 2rem; }.footer-grid > div:first-child { grid-column: auto; }.footer-bottom { flex-direction: column; }
}

/* Keep the existing calculator's larger result treatment isolated from guide examples. */
.calculator-page .score-total { margin: .4rem 0 2rem; display: flex; align-items: baseline; gap: .65rem; justify-content: flex-start; }
.calculator-page .score-total strong { font-family: var(--serif); font-size: clamp(5rem, 13vw, 10rem); line-height: .8; color: white; }
.calculator-page .score-total span { color: rgba(255,255,255,.72); font-size: 1.1rem; }
.board-concept { position: relative; max-width: 560px; margin: 2rem 0; padding: 2rem 2rem 1.5rem; border-radius: 30px 30px 18px 18px; background: linear-gradient(135deg, #81532f, #bd8651 50%, #70472c); color: #fff4dc; box-shadow: inset 0 0 0 7px rgba(77,43,23,.16), 0 18px 35px rgba(48,30,18,.13); }
.board-concept-track { display: flex; justify-content: space-between; gap: .7rem; padding: 1rem; border: 4px dotted rgba(255,245,222,.72); border-radius: 30px; }
.board-concept-track i, .board-concept-track b { display: block; width: 9px; height: 9px; border-radius: 50%; background: rgba(255,245,222,.82); }.board-concept-track b { width: 10px; height: 31px; margin-top: -12px; border-radius: 99px 99px 4px 4px; background: #fff4dc; box-shadow: 0 4px 5px rgba(0,0,0,.2); }.board-concept-track b + b { background: var(--red); }
.board-concept > strong { display: block; margin-top: .7rem; text-align: center; font: 700 1.7rem/1 var(--serif); }.board-concept > span { display: block; margin-top: .25rem; text-align: center; color: rgba(255,246,225,.72); font-size: .8rem; }
.starter-visual { display: flex; align-items: center; gap: 1.5rem; margin: 1.7rem 0; padding: 1.2rem; border-radius: 18px; background: #fff4d8; }.starter-visual .starter-card { flex: 0 0 auto; border: 2px solid var(--gold); }.starter-visual .starter-card small { color: var(--red); font: 700 .55rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; }.starter-visual p { margin: .25rem 0 0; color: var(--muted); }
.pegging-visual { margin: 1.7rem 0; padding: 1.35rem; border-radius: 18px; background: var(--forest); color: white; }.peg-sequence { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; font-family: Georgia, serif; }.peg-sequence span { display: grid; place-items: center; width: 48px; height: 64px; border-radius: 7px; background: var(--paper); color: var(--ink); box-shadow: 0 5px 10px rgba(0,0,0,.18); }.peg-sequence b { color: #ebc780; font-size: 1.1rem; }.peg-sequence .peg-score { padding: .45rem .7rem; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; }.pegging-visual p { margin: .9rem 0 0; color: rgba(255,255,255,.7); font-size: .9rem; }
.menu-toggle { display: none; border: 1px solid var(--line); border-radius: 999px; padding: .45rem .8rem; background: transparent; color: var(--ink); font-weight: 700; }
.game-proof { padding-block: clamp(4rem, 8vw, 7rem); }.proof-heading { max-width: 720px; margin-bottom: 2rem; }.proof-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }.proof-card { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: clamp(1rem, 3vw, 2rem); align-items: center; min-width: 0; margin: 0; padding: 1rem; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.52); }.proof-card img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 12px 26px rgba(35,26,18,.14); }.proof-card figcaption { display: grid; gap: .5rem; }.proof-card figcaption strong { font: 700 1.35rem/1.12 var(--serif); }.proof-card figcaption span { color: var(--muted); font-size: .9rem; line-height: 1.45; }
.mount-placeholder[hidden] { display: none !important; }
.proof-card { overflow: hidden; }
@media (max-width: 900px) { .proof-card { grid-template-columns: minmax(120px, 180px) 1fr; } }
@media (max-width: 720px) { .proof-grid, .proof-heading, .proof-card { width: 100%; min-width: 0; }.proof-grid { grid-template-columns: 1fr; }.proof-card { grid-template-columns: 120px minmax(0, 1fr); }.proof-card figcaption, .proof-heading > div { min-width: 0; }.proof-card figcaption strong, .proof-heading h2 { width: 100%; overflow-wrap: anywhere; }.proof-card figcaption strong { font-size: 1.15rem; }.rules-page .section-shell, .rules-content, .rules-hero > *, .rules-content section { width: 100%; min-width: 0; max-width: 100%; }.rules-hero > p:not(.eyebrow), .rules-content h2, .rules-content p { overflow-wrap: anywhere; } }
@media (max-width: 720px) { .game-proof, .proof-heading, .proof-grid, .proof-card, .rules-hero, .rules-content { width: calc(100vw - 24px) !important; max-width: calc(100vw - 24px) !important; }.proof-heading h2, .rules-hero h1, .rules-hero > p, .rules-content h2, .rules-content p { width: 100% !important; max-width: 100% !important; overflow-wrap: anywhere; word-break: break-word; } }
.hero-product .hero-game.is-loaded { display: block; }
.play-to-learn-bridge { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr); gap: clamp(2rem, 7vw, 6rem); align-items: start; padding-block: 2.75rem; border-block: 1px solid var(--line); }
.play-to-learn-bridge h2 { max-width: 700px; margin-bottom: 1rem; font-size: clamp(2rem, 4vw, 3.2rem); }
.play-to-learn-bridge p:not(.eyebrow) { max-width: 700px; color: var(--muted); }
.play-to-learn-bridge p:last-child { margin-bottom: 0; }
.play-to-learn-mobile { padding: 1.4rem 1.5rem; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.52); }
.play-to-learn-mobile h3 { margin: 0 0 .55rem; font-size: 1.35rem; }
.play-to-learn-mobile p { margin: 0; }
.menu-toggle { display: inline-flex !important; min-width: 56px; min-height: 34px; justify-content: center; }
@media (max-width: 720px) { .menu-toggle { position: fixed !important; top: 15px; right: 12px; z-index: 100; background: var(--paper) !important; } }
@media (min-width: 721px) { .menu-toggle { display: none !important; } }
@media (max-width: 1000px) {
  .menu-toggle { display: inline-flex !important; margin-left: auto; }
  .site-header nav { display: none; width: 100%; padding: .6rem 0 .9rem; gap: .25rem; }
  .site-header nav.is-open { display: grid; }
  .site-header nav.is-open a, .site-header nav.is-open .header-play-link { display: block; padding: .65rem .2rem; border-radius: 8px; background: transparent; color: var(--ink); }
  .site-header nav.is-open .header-play-link { color: var(--green); }
}

@media (max-width: 1000px) {
  .legal-page.section-shell { width: min(366px, calc(100vw - 24px)) !important; max-width: min(366px, calc(100vw - 24px)) !important; }
  .legal-page p, .legal-page li { max-width: 100%; }
}

@media (max-width: 720px) {
  .site-header { position: sticky; }
  .site-header .menu-toggle { display: inline-flex !important; position: absolute; right: 1rem; top: 1rem; z-index: 60; min-width: 56px; min-height: 34px; justify-content: center; background: var(--paper); }
  .site-header { flex-wrap: wrap; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .site-header nav { display: none; width: 100%; padding: .6rem 0 .9rem; gap: .25rem; }
  .site-header nav.is-open { display: grid; }
  .site-header nav.is-open a, .site-header nav.is-open .header-play-link { display: block; padding: .65rem .2rem; border-radius: 8px; background: transparent; color: var(--ink); }
  .site-header nav.is-open .header-play-link { color: var(--green); }
  .hero-product .hero-game { display: none; }
  .hero-product .hero-game.is-loaded { display: block; }
  .play-to-learn-bridge { grid-template-columns: 1fr; gap: 1rem; padding-block: 2.5rem; }
  .play-to-learn-bridge h2 { font-size: 2.2rem; }
}
