:root {
  --ink: #031a16;
  --felt: #052e26;
  --felt-light: #0d473a;
  --cream: #f5f1df;
  --paper: #fffcef;
  --green: #58f29c;
  --green-dark: #0b6b47;
  --gold: #ffbd4a;
  --red: #f34d55;
  --muted: #a9bdb3;
  --line: rgba(245, 241, 223, .16);
  --display: "Arial Narrow", "Helvetica Neue Condensed", "Franklin Gothic Medium", Arial, sans-serif;
  --body: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--cream); font-family: var(--body); font-size: 16px; line-height: 1.55; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; padding: .75rem 1rem; background: var(--cream); color: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 100; min-height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(1.25rem, 4vw, 4rem); background: rgba(3, 26, 22, .9); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.brand { display: inline-flex; gap: .75rem; align-items: center; font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 34px; aspect-ratio: 1; color: var(--ink); background: var(--green); border-radius: 50% 50% 46% 46%; font-size: 1.2rem; }
.site-nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.6vw, 2.4rem); }
.site-nav a { color: #d8e2dc; text-decoration: none; font-size: .94rem; }
.site-nav a:hover { color: white; }
.site-nav .header-cta { padding: .7rem 1.1rem; background: var(--green); color: var(--ink); font-weight: 800; border-radius: 5px; }
.menu-button { display: none; background: none; border: 0; padding: .5rem; }
.menu-button span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px; background: var(--cream); }

.hero { min-height: calc(100vh - 76px); display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr); align-items: center; gap: clamp(2rem, 4vw, 5rem); max-width: 1540px; margin: auto; padding: clamp(2.5rem, 4.5vw, 4.5rem) clamp(1.25rem, 5vw, 5.5rem) 3.5rem; overflow: hidden; }
.live-line, .section-kicker { margin: 0 0 1.25rem; color: var(--green); font-size: .92rem; font-weight: 800; letter-spacing: .015em; }
.live-line { display: flex; align-items: center; gap: .65rem; }
.live-line span { width: 9px; height: 9px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 6px rgba(88, 242, 156, .12); }
.hero h1, h2 { margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -.055em; line-height: .92; }
.hero h1 { max-width: 780px; font-size: clamp(3.8rem, 6.25vw, 6.8rem); text-transform: uppercase; }
.hero h1.credit-headline { font-size: clamp(3.35rem, 4.4vw, 5.2rem); }
.hero h1 strong { color: var(--green); font-weight: inherit; }
.hero-lede { max-width: 680px; margin: 2rem 0 2rem; color: #d1ded7; font-size: clamp(1.08rem, 1.6vw, 1.35rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.button { min-height: 56px; display: inline-flex; align-items: center; justify-content: center; padding: .9rem 1.35rem; border: 1px solid transparent; border-radius: 5px; font-weight: 900; text-decoration: none; line-height: 1.05; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--green); color: var(--ink); box-shadow: 0 12px 34px rgba(88, 242, 156, .14); }
.button-primary:hover { background: #7bffb3; }
.hero-actions .button-store { gap: .8rem; background: transparent; color: var(--cream); border-color: rgba(245,241,223,.32); }
.button-store small { display: block; margin-bottom: .18rem; color: var(--muted); font-size: .65rem; font-weight: 500; }
.store-icon { color: var(--green); font-size: 1.2rem; }
.platform-note { margin: 1rem 0 0; color: var(--muted); font-size: .88rem; }
.platform-note span { color: var(--gold); }

.table-stage { position: relative; min-height: 570px; padding: 1rem; background: #08251f; border: 1px solid rgba(88,242,156,.28); border-radius: 34px 8px 34px 8px; box-shadow: 0 45px 80px rgba(0,0,0,.3); transform: rotate(1.4deg); }
.table-stage::before { content: ""; position: absolute; inset: 10% -20% -15% 12%; z-index: -1; background: radial-gradient(circle, rgba(88,242,156,.12), transparent 65%); filter: blur(10px); }
.table-topbar { display: flex; justify-content: space-between; padding: .5rem .6rem 1rem; color: var(--muted); font-size: .85rem; }
.table-topbar strong { color: var(--green); }
.game-table { position: relative; min-height: 445px; overflow: hidden; background: radial-gradient(circle at 50% 50%, #17604e, #0a3b30 68%, #052820 69%); border: 8px solid #174338; border-radius: 48% 48% 42% 42%; box-shadow: inset 0 0 50px rgba(0,0,0,.24), 0 18px 30px rgba(0,0,0,.22); }
.seat { position: absolute; z-index: 4; display: flex; gap: .55rem; align-items: center; padding: .5rem .65rem; background: rgba(3,26,22,.82); border: 1px solid rgba(245,241,223,.15); border-radius: 9px; backdrop-filter: blur(6px); }
.seat strong, .seat small { display: block; }
.seat strong { font-size: .75rem; }
.seat small { color: var(--muted); font-size: .66rem; }
.avatar { display: grid; place-items: center; width: 34px; aspect-ratio: 1; flex: 0 0 auto; background: #224f46; border-radius: 50%; font-size: .75rem; font-weight: 900; }
.avatar-gold { background: var(--gold); color: var(--ink); }
.avatar-green { background: var(--green); color: var(--ink); }
.seat-partner { top: 18px; left: 50%; transform: translateX(-50%); }
.seat-left { left: 18px; top: 45%; }
.seat-right { right: 18px; top: 45%; }
.seat-you { bottom: 16px; left: 50%; transform: translateX(-50%); }
.trick { position: absolute; top: 41%; left: 50%; width: 120px; height: 100px; transform: translate(-50%, -50%); }
.card { position: absolute; display: flex; flex-direction: column; width: 54px; height: 74px; padding: 7px; background: var(--paper); color: var(--ink); border-radius: 5px; font-family: Georgia, serif; font-weight: 800; box-shadow: 0 9px 14px rgba(0,0,0,.22); }
.card span { font-size: 1.15rem; }
.card-one { left: 0; top: 12px; transform: rotate(-13deg); }
.card-two { left: 37px; top: 0; transform: rotate(4deg); }
.card-three { right: 0; top: 18px; transform: rotate(15deg); }
.red-card { color: var(--red) !important; }
.scoreboard { position: absolute; left: 50%; top: 71%; display: grid; grid-template-columns: 1fr auto; gap: .1rem 1rem; min-width: 190px; padding: .65rem .8rem; transform: translate(-50%, -50%); background: rgba(3,26,22,.78); border-radius: 8px; color: #d7e5df; font-size: .7rem; }
.scoreboard strong { color: white; text-align: right; }
.hand { position: absolute; bottom: 32px; left: 50%; display: flex; transform: translateX(-50%) rotate(-1.4deg); }
.playing-card { width: 66px; height: 92px; margin-left: -15px; padding: .45rem; background: var(--paper); border: 1px solid #d7d1bc; border-radius: 6px; color: var(--ink); font-family: Georgia, serif; font-size: 1.05rem; font-style: normal; font-weight: 900; box-shadow: 0 8px 20px rgba(0,0,0,.3); transform-origin: 50% 120%; }
.playing-card:nth-child(1) { transform: rotate(-10deg) translateY(8px); }
.playing-card:nth-child(2) { transform: rotate(-5deg) translateY(2px); }
.playing-card:nth-child(4) { transform: rotate(5deg) translateY(2px); }
.playing-card:nth-child(5) { transform: rotate(10deg) translateY(8px); }
.playing-card i { display: block; font-style: normal; font-size: 1.5rem; }
.turn-pill { position: absolute; right: 30px; bottom: 25px; display: flex; align-items: center; gap: .5rem; margin: 0; padding: .5rem .75rem; background: var(--gold); color: var(--ink); border-radius: 999px; font-size: .7rem; font-weight: 900; }
.turn-pill span { width: 6px; height: 6px; background: var(--ink); border-radius: 50%; }

.promise-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.promise-strip p { margin: 0; padding: 1.15rem clamp(1rem, 3vw, 3rem); border-right: 1px solid var(--line); text-align: center; font-size: .9rem; font-weight: 800; }
.promise-strip p:last-child { border: 0; }
.promise-strip span { margin-right: .4rem; color: var(--green); }
.promise-strip p:nth-child(3) span { color: var(--red); }

.partner-section, .play-section, .learn-section, .faq-section { max-width: 1480px; margin: auto; padding: clamp(5.5rem, 10vw, 10rem) clamp(1.25rem, 5vw, 5.5rem); }
.section-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1rem 5rem; align-items: end; margin-bottom: 3rem; }
.section-intro .section-kicker { grid-column: 1/-1; }
h2 { font-size: clamp(3.5rem, 7vw, 7.2rem); text-transform: uppercase; }
.section-intro > p:last-child, .play-heading > p:last-child, .learn-heading > p:last-child { max-width: 610px; margin: 0 0 .55rem; color: var(--muted); font-size: 1.12rem; }
.partner-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.choice { min-height: 390px; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: 6px; }
.choice-known { background: var(--cream); color: var(--ink); }
.choice-match { background: var(--felt-light); border: 1px solid rgba(88,242,156,.28); }
.choice h3, .platform-card h3, .learn-links h3 { margin: .35rem 0 .6rem; font-family: var(--display); font-size: clamp(1.9rem, 3vw, 3rem); line-height: 1; letter-spacing: -.035em; }
.choice p { max-width: 600px; margin-bottom: 0; }
.choice-label { font-size: .82rem; font-weight: 900; }
.choice-known .choice-label { color: var(--green-dark); }
.choice-match .choice-label { color: var(--green); }
.choice-visual { min-height: 150px; display: flex; align-items: center; justify-content: center; }
.portrait { display: grid; place-items: center; width: 82px; aspect-ratio: 1; border-radius: 50%; background: var(--ink); color: var(--cream); font-size: 1.3rem; font-weight: 900; border: 6px solid var(--cream); box-shadow: 0 0 0 1px rgba(3,26,22,.2); }
.portrait-two { background: var(--green-dark); }
.link-line { width: clamp(70px, 12vw, 170px); height: 3px; background: repeating-linear-gradient(90deg, var(--green-dark) 0 9px, transparent 9px 16px); }
.match-visual { position: relative; }
.portrait-you { background: var(--cream); color: var(--ink); border-color: var(--felt-light); z-index: 2; }
.portrait-found { background: var(--gold); color: var(--ink); border-color: var(--felt-light); z-index: 2; }
.match-pulse { width: clamp(70px, 12vw, 170px); height: 2px; background: var(--green); box-shadow: 0 0 16px var(--green); }
.center-action { text-align: center; padding-top: 2.5rem; }
.text-cta { display: inline-block; padding-bottom: .35rem; border-bottom: 3px solid var(--green); color: var(--cream); font-weight: 900; text-decoration: none; }
.text-cta:hover { color: var(--green); }

.action-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 8vw, 9rem); align-items: center; padding: clamp(5.5rem, 9vw, 9rem) clamp(1.25rem, 8vw, 10rem); background: var(--cream); color: var(--ink); }
.action-copy { max-width: 650px; }
.action-copy .section-kicker { color: var(--green-dark); }
.action-copy > p:not(.section-kicker) { margin: 1.6rem 0; font-size: 1.08rem; color: #315047; }
.check-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.check-list li { position: relative; padding: .7rem 0 .7rem 2rem; border-bottom: 1px solid rgba(3,26,22,.14); font-weight: 800; }
.check-list li::before { content: "♠"; position: absolute; left: 0; color: var(--green-dark); }
.action-section .button-primary { background: var(--ink); color: var(--cream); box-shadow: none; }
.score-panel { padding: clamp(1.2rem, 3vw, 2.5rem); background: var(--felt); color: var(--cream); border-radius: 30px 7px 30px 7px; box-shadow: 24px 24px 0 var(--gold); }
.score-head { display: flex; justify-content: space-between; margin-bottom: 2rem; color: var(--muted); font-size: .8rem; }
.score-head strong { color: var(--green); }
.team-score { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 0; border-top: 1px solid var(--line); }
.team-score > div { display: flex; align-items: center; gap: 1rem; }
.team-score p { margin: 0; font-weight: 900; }
.team-score small { display: block; color: var(--muted); font-weight: 500; }
.team-score > strong { font-family: var(--display); font-size: clamp(2.3rem, 5vw, 4rem); }
.team-score.winning > strong { color: var(--green); }
.mini-avatars { display: grid; place-items: center; width: 54px; aspect-ratio: 1; background: var(--green); color: var(--ink); border-radius: 50%; font-size: .65rem; font-weight: 900; }
.mini-avatars.opponents { background: #265d50; color: white; }
.progress-line { height: 7px; margin-top: 1rem; background: #214b40; border-radius: 10px; overflow: hidden; }
.progress-line span { display: block; width: 70%; height: 100%; background: var(--green); }
.score-note { margin: 1rem 0 0; color: var(--muted); font-size: .82rem; }

.play-section { background: var(--ink); }
.play-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1rem 5rem; align-items: end; margin-bottom: 3.5rem; }
.play-heading .section-kicker { grid-column: 1/-1; }
.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.platform-card { position: relative; min-height: 370px; display: flex; flex-direction: column; padding: 2rem; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; }
a.platform-card { transition: transform .2s ease, border-color .2s ease; }
a.platform-card:hover { transform: translateY(-5px); border-color: var(--green); }
.platform-card::after { content: ""; position: absolute; right: -50px; bottom: -65px; width: 180px; height: 180px; border: 1px solid rgba(88,242,156,.18); border-radius: 50%; box-shadow: 0 0 0 28px rgba(88,242,156,.035); }
.availability { align-self: flex-start; padding: .35rem .55rem; border: 1px solid currentColor; color: var(--green); border-radius: 999px; font-size: .72rem; font-weight: 900; }
.platform-icon { margin: 2.4rem 0 1rem; color: var(--green); font-size: 3rem; line-height: 1; }
.play-icon { font-size: 2.5rem; }
.apple-icon { color: var(--muted); }
.platform-card p { max-width: 300px; color: var(--muted); }
.platform-card > strong { margin-top: auto; color: var(--green); }
.platform-soon { opacity: .67; }
.platform-soon .availability, .platform-soon > strong { color: var(--gold); }

.credits-section { display: grid; grid-template-columns: 1fr 1fr; min-height: 620px; background: var(--gold); color: var(--ink); }
.credits-number { position: relative; min-height: 620px; display: grid; place-items: center; overflow: hidden; background: var(--ink); color: var(--cream); }
.credits-number strong { font-family: var(--display); font-size: clamp(10rem, 19vw, 21rem); line-height: .7; color: var(--green); letter-spacing: -.08em; }
.credits-number span, .credits-number small { position: absolute; z-index: 2; font-weight: 900; }
.credits-number span { top: 2rem; left: 2rem; font-size: clamp(1.3rem, 3vw, 2.5rem); }
.credits-number small { right: 2rem; bottom: 2rem; }
.credits-copy { align-self: center; max-width: 670px; padding: clamp(3rem, 8vw, 8rem); }
.credits-copy .section-kicker { color: var(--ink); }
.credits-copy h2 { font-size: clamp(3.8rem, 6vw, 6.7rem); }
.credits-copy > p:not(.section-kicker) { margin: 1.5rem 0; font-size: 1.12rem; }
.credits-copy .text-cta { border-color: var(--ink); color: var(--ink); }

.learn-section { background: var(--ink); }
.learn-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1rem 5rem; align-items: end; margin-bottom: 3.5rem; }
.learn-heading .section-kicker { grid-column: 1/-1; }
.learn-links { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.learn-links a { min-height: 350px; padding: 2rem; border-right: 1px solid var(--line); text-decoration: none; }
.learn-links a:last-child { border: 0; }
.learn-links a:hover strong { color: var(--cream); }
.learn-links span { display: inline-block; margin-bottom: 3rem; color: var(--green); font-size: 2.5rem; }
.learn-links .heart { color: var(--red); }
.learn-links p { color: var(--muted); }
.learn-links strong { display: inline-block; margin-top: 1.5rem; color: var(--green); }

.faq-section { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(2rem, 8vw, 8rem); border-top: 1px solid var(--line); }
.faq-section h2 { font-size: clamp(3.6rem, 6vw, 6rem); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 1.6rem 3rem 1.6rem 0; cursor: pointer; list-style: none; font-weight: 900; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: .2rem; color: var(--green); font-size: 1.4rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 680px; margin: -.3rem 0 1.6rem; color: var(--muted); }

.final-cta { position: relative; display: grid; justify-items: center; padding: clamp(5rem, 10vw, 9rem) 1.25rem; overflow: hidden; background: var(--green); color: var(--ink); text-align: center; }
.final-cta .section-kicker { color: var(--ink); }
.final-cta h2 { font-size: clamp(4.5rem, 10vw, 10rem); }
.final-cta > p:not(.section-kicker) { max-width: 580px; font-size: 1.18rem; }
.button-dark { margin-top: 1.2rem; background: var(--ink); color: var(--cream); }
.final-suits { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-around; opacity: .07; font-size: clamp(8rem, 22vw, 22rem); }

.site-footer { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; padding: 4rem clamp(1.25rem, 5vw, 5.5rem) 2rem; background: #02120f; }
.footer-brand { max-width: 340px; }
.footer-brand .brand-mark { margin-bottom: 1rem; }
.footer-brand > strong { font-size: 1.2rem; }
.footer-brand p { color: var(--muted); }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-links div { display: flex; flex-direction: column; gap: .55rem; }
.footer-links strong { margin-bottom: .5rem; color: white; }
.footer-links a, .footer-links span { color: var(--muted); font-size: .86rem; text-decoration: none; }
.footer-links a:hover { color: var(--green); }
.copyright { grid-column: 1/-1; margin: 2rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--line); color: #71867c; font-size: .78rem; }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 850px; }
  .table-stage { width: min(680px, 100%); margin: auto; }
  .section-intro, .play-heading, .learn-heading { grid-template-columns: 1fr; }
  .section-intro .section-kicker, .play-heading .section-kicker, .learn-heading .section-kicker { grid-column: auto; }
  .action-section { grid-template-columns: 1fr; }
  .action-copy { max-width: 820px; }
}

@media (max-width: 780px) {
  .site-header { min-height: 66px; }
  .menu-button { display: block; }
  .site-nav { position: absolute; top: 66px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 1.5rem; background: var(--ink); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .7rem; }
  .site-nav .header-cta { text-align: center; }
  .hero { min-height: auto; padding-top: 3rem; }
  .hero h1 { font-size: clamp(3.4rem, 16vw, 5.3rem); }
  .hero h1.credit-headline { font-size: clamp(3rem, 14vw, 4.4rem); }
  .table-stage { min-height: 500px; border-radius: 22px 6px 22px 6px; }
  .game-table { min-height: 390px; }
  .hand { bottom: 28px; }
  .playing-card { width: 55px; height: 78px; }
  .turn-pill { right: 18px; bottom: 16px; }
  .promise-strip { grid-template-columns: 1fr 1fr; }
  .promise-strip p:nth-child(2) { border-right: 0; }
  .promise-strip p:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .partner-choices, .platform-grid, .learn-links { grid-template-columns: 1fr; }
  .choice { min-height: 350px; }
  .platform-card { min-height: 315px; }
  .learn-links a { min-height: 290px; border-right: 0; border-bottom: 1px solid var(--line); }
  .credits-section { grid-template-columns: 1fr; }
  .credits-number { min-height: 430px; }
  .faq-section { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .brand { font-size: .9rem; }
  .brand-mark { width: 30px; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .table-stage { min-height: 430px; padding: .6rem; }
  .game-table { min-height: 335px; border-width: 5px; }
  .seat { padding: .35rem .45rem; }
  .avatar { width: 28px; }
  .seat-left { left: 4px; }
  .seat-right { right: 4px; }
  .seat strong { font-size: .65rem; }
  .seat small { display: none; }
  .scoreboard { top: 73%; min-width: 170px; }
  .playing-card { width: 48px; height: 70px; margin-left: -13px; font-size: .8rem; }
  .hand { bottom: 19px; }
  .turn-pill { display: none; }
  .promise-strip { grid-template-columns: 1fr; }
  .promise-strip p { border-right: 0; border-bottom: 1px solid var(--line); }
  .section-intro, .play-heading, .learn-heading { gap: 1rem; }
  h2 { font-size: clamp(3rem, 15vw, 4.6rem); }
  .choice-visual { min-height: 120px; }
  .portrait { width: 62px; }
  .credits-number strong { font-size: 10rem; }
  .footer-links { grid-template-columns: 1fr 1fr; }
}

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