:root {
  --ink: #17191f;
  --paper: #f5f3ea;
  --white: #ffffff;
  --cobalt: #244ce8;
  --deep-cobalt: #172e93;
  --lime: #dfff6c;
  --muted-ink: #666b76;
  --muted-paper: #d5dcfa;
  --line-dark: rgba(23, 25, 31, 0.18);
  --line-light: rgba(255, 255, 255, 0.22);
  --max: 1180px;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-spring: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink); font-size: 1rem; line-height: 1.55; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 4px; }
.site-header :focus-visible, .hero :focus-visible, .powers-section :focus-visible,
.privacy-section :focus-visible, .site-footer :focus-visible { outline-color: var(--lime); }
.site-header.paper :focus-visible, .language-menu-list :focus-visible,
.paper-footer :focus-visible { outline-color: var(--cobalt); }
.skip-link { position: fixed; z-index: 100; left: 1rem; top: -5rem; padding: .75rem 1rem; background: var(--lime); color: var(--ink); font-weight: 800; }
.skip-link:focus { top: 1rem; }

.site-header { height: 76px; padding: 0 max(1.25rem, calc((100vw - var(--max)) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 2rem; background: var(--cobalt); color: var(--white); border-bottom: 1px solid var(--line-light); position: relative; z-index: 10; }
.site-header.paper { background: var(--paper); color: var(--ink); border-color: var(--line-dark); }
.brand { min-height: 44px; display: inline-flex; align-items: center; justify-self: start; gap: .7rem; font-weight: 950; font-stretch: condensed; letter-spacing: -.04em; text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; transition: transform 360ms var(--ease-spring), box-shadow 360ms var(--ease-out); }
.site-header nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2rem); }
.site-header nav a { min-height: 44px; display: inline-flex; align-items: center; font-size: .9rem; font-weight: 750; text-decoration: none; transition: color 180ms ease, opacity 180ms ease; }
.site-header nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: clamp(.7rem, 2vw, 1.35rem); }
.language-menu { position: relative; }
.language-menu summary { min-width: 46px; min-height: 44px; padding: .45rem .65rem; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; border: 1px solid var(--line-light); border-radius: 8px; cursor: pointer; font-size: .78rem; font-weight: 900; letter-spacing: .06em; list-style: none; user-select: none; transition: background-color 180ms ease, border-color 180ms ease, transform 180ms var(--ease-out); }
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 220ms var(--ease-spring); }
.language-menu[open] summary::after { transform: translateY(2px) rotate(225deg); }
.language-menu-list { position: absolute; z-index: 30; top: calc(100% + .65rem); right: 0; width: max-content; min-width: 188px; padding: .55rem !important; display: grid !important; grid-template-columns: repeat(2, minmax(72px, 1fr)); gap: .25rem !important; border: 1px solid var(--line-dark); border-radius: 12px; background: var(--white); color: var(--ink); box-shadow: 0 20px 54px rgba(5, 12, 47, .2); animation: menu-in 180ms var(--ease-out) both; }
.language-menu-list a { min-height: 44px; padding: .55rem .65rem; display: flex; align-items: center; border-radius: 7px; font-size: .82rem !important; white-space: nowrap; }
.language-menu-list a[aria-current="page"] { background: var(--lime); text-decoration: none !important; }
.site-header.paper .language-menu summary { border-color: var(--line-dark); }

.hero { min-height: calc(100svh - 76px); overflow: hidden; isolation: isolate; position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr); align-items: center; gap: clamp(2rem, 7vw, 7rem); padding: clamp(4rem, 7vw, 7.5rem) max(1.25rem, calc((100vw - var(--max)) / 2)); background: var(--cobalt); color: var(--white); }
.hero-copy { max-width: 690px; position: relative; z-index: 1; }
.eyebrow { margin: 0 0 1.25rem; display: flex; align-items: center; gap: .65rem; color: var(--muted-paper); font-size: .78rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow span { width: 24px; height: 4px; background: var(--lime); }
.eyebrow.dark { color: var(--muted-ink); }
.hero h1 { margin: 0; font-size: clamp(3.2rem, 7.2vw, 6.8rem); line-height: .93; letter-spacing: -.075em; font-weight: 930; }
.hero h1 em { color: var(--lime); font-style: normal; }
.hero-intro { max-width: 610px; margin: 2rem 0 0; color: var(--muted-paper); font-size: clamp(1.05rem, 1.7vw, 1.28rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { min-height: 52px; padding: .85rem 1.15rem; display: inline-flex; align-items: center; justify-content: center; gap: .8rem; border: 1px solid var(--line-light); border-radius: 10px; font-weight: 850; text-decoration: none; transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), background-color 180ms ease, border-color 180ms ease; }
.button span { transition: transform 220ms var(--ease-spring); }
.button-primary { background: var(--lime); color: var(--ink); border-color: var(--lime); box-shadow: 0 0 0 rgba(11, 18, 55, 0); }
.button-quiet { color: var(--white); }
.release-note { margin: 1rem 0 0; color: var(--muted-paper); font-size: .85rem; }
.hero-visual { position: relative; z-index: 1; min-height: 720px; display: grid; place-items: center; }
.hero-deck { position: absolute; inset: 0; pointer-events: none; }
.hero-deck-card { position: absolute; top: 50%; left: 50%; width: 150px; aspect-ratio: 3 / 4; margin: -100px 0 0 -75px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 14px; color: var(--cobalt); box-shadow: 6px 8px 0 rgba(5,12,47,.22); transform: translate(var(--deal-x), var(--deal-y)) rotate(var(--deal-angle)); }
.hero-deck-card::before { content: ""; position: absolute; inset: 9px; border: 1px solid currentColor; border-radius: 8px; }
.hero-deck-card .bloom-mark { width: 80px; height: 80px; }
.hero-deck-card:nth-child(1) { --deal-x: -155px; --deal-y: -190px; --deal-angle: -19deg; background: var(--lime); }
.hero-deck-card:nth-child(2) { --deal-x: 145px; --deal-y: -110px; --deal-angle: 18deg; background: #ffcfc4; }
.hero-deck-card:nth-child(3) { --deal-x: -120px; --deal-y: 200px; --deal-angle: -13deg; background: #d9ceff; }
.app-preview { width: min(78%, 340px); margin: 0; position: relative; z-index: 1; }
.phone-frame { width: 100%; padding: 9px; border: 1px solid rgba(255,255,255,.48); border-radius: 42px; background: #0d1d68; box-shadow: 0 36px 80px rgba(6, 19, 83, .38); transform: rotate(3deg); position: relative; z-index: 1; }
.phone-frame img { width: 100%; height: auto; border-radius: 33px; }
.screenshot-caption { margin: 1.5rem 0 0; color: var(--muted-paper); text-align: center; font-size: .8rem; }
.scoring-shot .screenshot-caption { color: var(--muted-ink); }
.turn-card { position: absolute; z-index: 2; right: 0; bottom: 14%; width: 190px; padding: 1rem; display: grid; gap: .1rem; background: var(--lime); color: var(--ink); border: 1px solid var(--ink); border-radius: 10px; box-shadow: 12px 12px 0 var(--ink); transform: rotate(-4deg); }
.turn-card strong { font-size: .78rem; letter-spacing: .08em; }
.turn-card span { font-size: .9rem; }

.facts { background: var(--ink); color: var(--white); display: grid; grid-template-columns: repeat(4, 1fr); padding: 2.2rem max(1.25rem, calc((100vw - var(--max)) / 2)); border-top: 1px solid rgba(255,255,255,.12); }
.facts div { display: grid; gap: .1rem; padding: 0 1.5rem; border-left: 1px solid rgba(255,255,255,.16); }
.facts div:first-child { border-left: 0; padding-left: 0; }
.facts strong { font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1; color: var(--lime); font-variant-numeric: tabular-nums; }
.facts span { color: #c9cbd2; font-size: .85rem; }

.rules-section { padding: clamp(5rem, 9vw, 9rem) max(1.25rem, calc((100vw - var(--max)) / 2)); }
.section-heading { display: grid; grid-template-columns: .55fr 1.45fr; gap: 3rem; align-items: start; margin-bottom: 4rem; }
.section-heading h2, .privacy-section h2, .closing-section h2 { margin: 0; max-width: 800px; font-size: clamp(2.5rem, 5.2vw, 5rem); line-height: .98; letter-spacing: -.06em; }
.rule-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-dark); }
.rule-list li { display: grid; grid-template-columns: .5fr 1.5fr; gap: 3rem; padding: 2.2rem 0; border-bottom: 1px solid var(--line-dark); }
.rule-number { color: var(--cobalt); font-weight: 900; font-variant-numeric: tabular-nums; }
.rule-list h3 { margin: 0 0 .55rem; font-size: clamp(1.3rem, 2vw, 1.75rem); }
.rule-list p { margin: 0; max-width: 620px; color: var(--muted-ink); font-size: 1.03rem; }

.powers-section { padding: clamp(5rem, 9vw, 8rem) max(1.25rem, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(3rem, 7vw, 7rem); background: var(--ink); color: var(--white); }
.powers-copy { align-self: center; }
.powers-copy h2 { margin: 0; font-size: clamp(2.8rem, 5vw, 5rem); line-height: .98; letter-spacing: -.06em; }
.powers-copy > p:last-child { color: #c9cbd2; max-width: 480px; margin-top: 1.5rem; }
.power-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 1rem; }
.power-card { min-height: 340px; padding: 1.25rem; display: flex; flex-direction: column; justify-content: flex-end; border-radius: 14px; color: var(--ink); border: 1px solid rgba(255,255,255,.38); transform-origin: bottom center; }
.power-card:nth-child(1) { transform: rotate(-3deg); }
.power-card:nth-child(3) { transform: rotate(3deg); }
.power-card-head { margin-bottom: 2rem; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.power-card-head span { font-weight: 900; }
.power-icon { width: 58px; height: 58px; padding: 9px; border: 1.5px solid currentColor; border-radius: 50%; fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.power-card h3 { margin: 0; font-size: 2rem; }
.power-card p { margin: .5rem 0 0; font-size: .92rem; line-height: 1.4; }
.power-peek { background: #ccefe7; color: #154f47; }
.power-spy { background: #ffcfc4; color: #7f321c; }
.power-swap { background: #d9ceff; color: #49358c; }
.power-card h3, .power-card p { color: var(--ink); }
.power-card > p { min-height: 5.6em; }
.power-demo { margin-top: auto; padding-top: 1.3rem; }
.demo-label { display: block; margin-bottom: .75rem; font-size: .65rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; opacity: .75; }
.demo-stage { position: relative; min-height: 113px; display: flex; align-items: flex-start; justify-content: center; gap: 18px; }
.demo-slot { position: relative; width: 52px; flex: 0 0 52px; text-align: center; }
.demo-owner { display: block; height: 26px; font-size: .62rem; line-height: 1.25; font-weight: 750; }
.demo-card { position: relative; width: 52px; height: 72px; }
.demo-card-back, .demo-card-front { position: absolute; inset: 0; display: grid; place-items: center; border: 1.5px solid var(--ink); border-radius: 6px; font-size: 2.15rem; font-weight: 900; box-shadow: 3px 4px 0 rgba(23,25,31,.18); }
.demo-card-back { background: var(--lime); color: var(--cobalt); }
.demo-card-rival .demo-card-back { background: var(--cobalt); color: var(--lime); }
.demo-card .bloom-mark { width: 38px; height: 38px; }
.demo-card-front { display: none; background: var(--paper); color: var(--ink); }
.demo-card[data-revealed="true"] .demo-card-back { display: none; }
.demo-card[data-revealed="true"] .demo-card-front { display: grid; }
.demo-controls { display: none; }
.has-motion .demo-controls { display: grid; }
.demo-play { width: 100%; min-height: 44px; padding: .55rem .65rem; display: flex; align-items: center; justify-content: space-between; gap: .4rem; border: 1px solid rgba(23,25,31,.35); border-radius: 7px; background: transparent; color: var(--ink); font: inherit; font-size: .78rem; font-weight: 800; cursor: pointer; transition: background-color 180ms ease, border-color 180ms ease; }
.demo-play:hover, .demo-play:focus-visible { background: rgba(255,255,255,.45); border-color: var(--ink); }
.demo-play:active { background: rgba(255,255,255,.7); }
.demo-play[aria-disabled="true"] { cursor: progress; opacity: .6; }
.power-card .demo-play:focus-visible { outline-color: var(--cobalt); }
.power-card .demo-status { min-height: 3.6em; margin: .65rem 0 0; font-size: .71rem; line-height: 1.3; }
.reading-progress { position: fixed; top: 0; left: 0; z-index: 100; width: 100%; height: 3px; background: var(--lime); transform: scaleX(0); transform-origin: left; pointer-events: none; }

.scoring-section { padding: clamp(5rem, 9vw, 9rem) max(1.25rem, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; overflow: hidden; }
.scoring-shot { min-height: 680px; display: grid; place-items: center; position: relative; }
.scoring-shot .app-preview { width: min(78%, 330px); }
.phone-frame-paper { background: var(--ink); border-color: var(--ink); box-shadow: 20px 24px 0 var(--lime); transform: rotate(-2.5deg); }
.scoring-copy h2 { margin: 0; max-width: 720px; font-size: clamp(2.6rem, 5.3vw, 5.2rem); line-height: .98; letter-spacing: -.06em; }
.score-rules { margin-top: 2.5rem; border-top: 1px solid var(--line-dark); }
.score-rules > div { display: grid; grid-template-columns: minmax(130px, .42fr) 1fr; gap: 1.5rem; padding: 1.35rem 0; border-bottom: 1px solid var(--line-dark); }
.score-rules strong { color: var(--cobalt); }
.score-rules p { margin: 0; color: var(--muted-ink); }

.privacy-section { display: grid; grid-template-columns: .55fr 1.45fr; gap: 3rem; padding: clamp(5rem, 9vw, 9rem) max(1.25rem, calc((100vw - var(--max)) / 2)); background: var(--deep-cobalt); color: var(--white); }
.privacy-mark { color: var(--lime); font-size: clamp(6rem, 17vw, 13rem); line-height: .8; }
.privacy-section > div:last-child > p:not(.eyebrow) { max-width: 690px; color: var(--muted-paper); font-size: 1.05rem; }
.text-links { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 2rem; font-weight: 800; }
.text-links a { min-height: 48px; padding: .72rem 1rem; display: inline-flex; align-items: center; gap: .75rem; border: 1px solid var(--line-light); border-radius: 9px; text-decoration: none; transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), border-color 180ms ease, background-color 180ms ease; }
.text-links a span { transition: transform 220ms var(--ease-spring); }
.text-links a:first-child { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.text-links a:hover { border-color: var(--white); }

.closing-section { display: grid; grid-template-columns: .55fr 1.45fr; gap: 3rem; align-items: center; padding: clamp(5rem, 9vw, 9rem) max(1.25rem, calc((100vw - var(--max)) / 2)); }
.closing-section img { width: min(180px, 60%); height: auto; aspect-ratio: 1; border-radius: 24%; }

.site-footer { padding: 3rem max(1.25rem, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: 1fr auto; gap: 2rem; background: var(--ink); color: var(--white); }
.site-footer > div { display: grid; gap: .3rem; }
.site-footer > div strong { letter-spacing: -.04em; }
.site-footer > div span, .site-footer > p { color: #aeb1bc; font-size: .82rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.5rem; font-size: .88rem; font-weight: 750; }
.site-footer .language-nav { grid-column: 1 / -1; padding-top: 1.25rem; align-items: center; gap: .55rem 1rem; border-top: 1px solid rgba(255,255,255,.15); }
.language-nav span { margin-right: .35rem; color: #aeb1bc; font-size: .7rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.language-nav a { padding: .25rem 0; text-decoration: none; }
.language-nav a[aria-current="page"] { color: var(--lime); text-decoration: underline; text-decoration-thickness: 2px; }
.site-footer > p { grid-column: 1 / -1; margin: 0; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.15); }
.paper-footer { background: var(--paper); color: var(--ink); border-top: 1px solid var(--line-dark); }
.paper-footer > div span, .paper-footer > p { color: var(--muted-ink); }
.paper-footer > p { border-color: var(--line-dark); }
.paper-footer .language-nav { border-color: var(--line-dark); }
.paper-footer .language-nav span { color: var(--muted-ink); }
.paper-footer .language-nav a[aria-current="page"] { color: var(--deep-cobalt); }

.legal-main { padding: 0 max(1.25rem, calc((100vw - var(--max)) / 2)) clamp(5rem, 9vw, 9rem); }
.legal-hero { padding: clamp(4.5rem, 9vw, 8rem) 0; border-bottom: 1px solid var(--line-dark); }
.legal-hero h1 { margin: 0; max-width: 940px; font-size: clamp(3.5rem, 8vw, 7.5rem); line-height: .92; letter-spacing: -.075em; }
.legal-hero > p:last-child { max-width: 750px; margin: 2rem 0 0; color: var(--muted-ink); font-size: clamp(1.05rem, 1.8vw, 1.3rem); }
.legal-layout { display: grid; grid-template-columns: minmax(230px, .62fr) minmax(0, 1.38fr); gap: clamp(3rem, 8vw, 8rem); padding-top: 4rem; }
.legal-summary { align-self: start; position: sticky; top: 2rem; padding: 1.5rem; border: 1px solid var(--ink); border-radius: 10px; background: var(--lime); box-shadow: 8px 8px 0 var(--ink); }
.legal-summary h2 { margin: 0 0 1rem; font-size: 1.2rem; }
.legal-summary p { font-size: .92rem; }
.legal-summary dl { margin: 0; }
.legal-summary dl div { display: grid; gap: .1rem; padding: .72rem 0; border-top: 1px solid rgba(23,25,31,.25); }
.legal-summary dt { color: #4a4d32; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.legal-summary dd { margin: 0; font-weight: 850; }
.legal-summary nav { display: grid; gap: .5rem; margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid rgba(23,25,31,.25); font-size: .82rem; font-weight: 750; }
.legal-copy { max-width: 760px; }
.legal-copy section { padding: 0 0 2.8rem; margin-bottom: 2.8rem; border-bottom: 1px solid var(--line-dark); scroll-margin-top: 2rem; }
.legal-copy h2 { margin: 0 0 1.2rem; font-size: clamp(1.65rem, 3vw, 2.4rem); letter-spacing: -.035em; }
.legal-copy h3 { margin: 1.8rem 0 .5rem; font-size: 1.1rem; }
.legal-copy p, .legal-copy li { color: #363a45; font-size: 1.02rem; }
.legal-copy ul { padding-left: 1.25rem; }
.legal-copy li + li { margin-top: .55rem; }
.legal-copy a { color: #173dbd; font-weight: 700; }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: page-out 160ms ease both; }
::view-transition-new(root) { animation: page-in 260ms var(--ease-out) both; }

.home .site-header { animation: header-in 360ms var(--ease-out) backwards; }
.hero-copy > * { animation: hero-copy-in 540ms var(--ease-spring) backwards; }
.hero-copy > :nth-child(1) { animation-delay: 80ms; }
.hero-copy > :nth-child(2) { animation-delay: 150ms; }
.hero-copy > :nth-child(3) { animation-delay: 230ms; }
.hero-copy > :nth-child(4) { animation-delay: 310ms; }
.hero-copy > :nth-child(5) { animation-delay: 390ms; }
.hero-visual .phone-frame { animation: phone-in 700ms 180ms var(--ease-spring) backwards; }
.hero-visual .turn-card { animation: turn-card-in 520ms 360ms var(--ease-spring) backwards; }

@keyframes header-in {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: none; }
}

@keyframes hero-copy-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@keyframes phone-in {
  from { opacity: 0; transform: translateY(36px) rotate(7deg) scale(.965); }
  to { opacity: 1; transform: rotate(3deg); }
}

@keyframes turn-card-in {
  from { opacity: 0; transform: translate(24px, 18px) rotate(-9deg) scale(.9); }
  to { opacity: 1; transform: rotate(-4deg); }
}

@keyframes section-in {
  from { translate: 0 16px; }
  to { translate: none; }
}

@keyframes card-in {
  from { translate: 0 20px; }
  to { translate: none; }
}

@keyframes page-out {
  to { opacity: 0; transform: translateY(-5px); }
}

@keyframes page-in {
  from { opacity: 0; transform: translateY(7px); }
}

@keyframes menu-in {
  from { opacity: 0; transform: translateY(-6px) scale(.985); }
  to { opacity: 1; transform: none; }
}

@supports (animation-timeline: view()) {
  .facts > div,
  .section-heading,
  .rule-list li,
  .powers-copy,
  .scoring-copy,
  .privacy-section > *,
  .closing-section > * {
    animation: section-in linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }

  .power-card,
  .scoring-shot {
    animation: card-in linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }

  .facts > div:nth-child(2),
  .rule-list li:nth-child(2),
  .power-card:nth-child(2) { animation-range: entry 5% entry 100%; }

  .facts > div:nth-child(3),
  .rule-list li:nth-child(3),
  .power-card:nth-child(3) { animation-range: entry 10% entry 100%; }

  .facts > div:nth-child(4) { animation-range: entry 15% entry 100%; }
}

@media (hover: hover) and (pointer: fine) {
  .brand:hover img,
  .brand:focus-visible img { transform: rotate(-5deg) scale(1.07); box-shadow: 0 7px 18px rgba(8, 18, 74, .22); }
  .site-header nav a:hover { opacity: .72; }
  .language-menu summary:hover,
  .language-menu summary:focus-visible { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .5); transform: translateY(-1px); }
  .site-header.paper .language-menu summary:hover,
  .site-header.paper .language-menu summary:focus-visible { background: var(--white); border-color: rgba(23, 25, 31, .45); }
  .language-menu-list a:hover,
  .language-menu-list a:focus-visible { opacity: 1; background: #edf0fb; }
  .button:hover,
  .button:focus-visible { transform: translateY(-3px); }
  .button-primary:hover,
  .button-primary:focus-visible { box-shadow: 0 9px 0 rgba(11, 18, 55, .32); }
  .button-quiet:hover,
  .button-quiet:focus-visible { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .52); }
  .button-quiet:hover span,
  .button-quiet:focus-visible span,
  .text-links a:hover span,
  .text-links a:focus-visible span { transform: translateX(4px); }
  .hero .button-primary:hover span,
  .hero .button-primary:focus-visible span { transform: translateY(4px); }
  .text-links a:hover,
  .text-links a:focus-visible { transform: translateY(-3px); box-shadow: 0 8px 0 rgba(5, 12, 47, .32); }
}

.button:active { transform: translateY(1px) scale(.985); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 610px; }
  .hero-visual .app-preview, .scoring-shot .app-preview { width: min(72vw, 330px); }
  .hero-deck-card { width: 110px; margin-left: -55px; margin-top: -73px; }
  .hero-deck-card:nth-child(1) { --deal-x: -135px; --deal-y: -140px; }
  .hero-deck-card:nth-child(2) { --deal-x: 135px; --deal-y: -65px; }
  .hero-deck-card:nth-child(3) { --deal-x: -105px; --deal-y: 160px; }
  .hero-deck-card .bloom-mark { width: 64px; height: 64px; }
  .facts { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .facts div:nth-child(3) { border-left: 0; padding-left: 0; }
  .section-heading, .privacy-section, .closing-section { grid-template-columns: 1fr; }
  .powers-section { grid-template-columns: 1fr; }
  .scoring-section { grid-template-columns: 1fr; }
  .scoring-shot { min-height: 620px; order: 2; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-summary { position: static; max-width: 680px; }
  .legal-summary nav { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
  .site-header { height: auto; min-height: 72px; padding-top: .55rem; padding-bottom: .35rem; display: grid; grid-template-columns: 1fr auto; gap: .2rem .8rem; align-items: center; }
  .site-header nav { gap: .8rem; flex-wrap: wrap; justify-content: flex-end; }
  .site-header nav a { font-size: .8rem; }
  .header-actions { display: contents; }
  .header-actions > nav { grid-column: 1 / -1; grid-row: 2; gap: .65rem; justify-content: space-between; }
  .language-menu { grid-column: 2; grid-row: 1; }
  .language-menu summary { min-width: 44px; min-height: 44px; padding: .35rem .5rem; }
  .language-menu-list { top: calc(100% + .55rem); right: 0; left: auto; width: min(82vw, 300px); grid-template-columns: repeat(3, 1fr); }
  .hero { min-height: auto; padding-top: 4.5rem; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
  .hero-actions { display: grid; }
  .hero-visual { min-height: 580px; }
  .hero-deck-card { width: 85px; margin-left: -42px; margin-top: -57px; }
  .hero-deck-card:nth-child(1) { --deal-x: -110px; --deal-y: -160px; --deal-angle: -15deg; }
  .hero-deck-card:nth-child(2) { --deal-x: 110px; --deal-y: -75px; --deal-angle: 15deg; }
  .hero-deck-card:nth-child(3) { --deal-x: -95px; --deal-y: 130px; }
  .hero-deck-card .bloom-mark { width: 48px; height: 48px; }
  .turn-card { right: .5rem; width: 170px; }
  .facts { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .facts div { padding-left: 1rem; }
  .rule-list li { grid-template-columns: 54px 1fr; gap: 1rem; }
  .power-grid { grid-template-columns: 1fr; }
  .power-card { min-height: 230px; transform: none !important; }
  .power-card > p { min-height: 0; }
  .power-demo { margin-top: 1.2rem; }
  .demo-stage { min-height: 133px; gap: 36px; }
  .demo-slot { width: 66px; flex-basis: 66px; }
  .demo-card { width: 66px; height: 92px; }
  .demo-card .bloom-mark { width: 46px; height: 46px; }
  .demo-owner { font-size: .72rem; }
  .demo-label, .power-card .demo-status { font-size: .8rem; }
  .power-card .demo-status { min-height: 2.6em; }
  .demo-play { min-height: 48px; font-size: .9rem; }
  .scoring-shot { min-height: 580px; }
  .score-rules > div { grid-template-columns: 1fr; gap: .35rem; }
  .privacy-mark { font-size: 7rem; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer > p { grid-column: 1; }
  .legal-summary nav { grid-template-columns: 1fr 1fr; }
  .legal-hero h1 { font-size: clamp(2.8rem, 12vw, 4.4rem); overflow-wrap: anywhere; hyphens: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .reading-progress { display: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
  .brand:hover img,
  .brand:focus-visible img,
  .button:hover,
  .button:focus-visible,
  .button:active,
  .language-menu summary:hover,
  .language-menu summary:focus-visible,
  .text-links a:hover,
  .text-links a:focus-visible { transform: none !important; }
  .button:hover span,
  .button:focus-visible span,
  .text-links a:hover span,
  .text-links a:focus-visible span { transform: none !important; }
}
