@font-face {
  font-family: "Bricolage Grotesque";
  src: url("./fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("./fonts/dm-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
.hf-page {
  --paper: #faf7ef;
  --blue: #1748ef;
  --ink: #10162f;
  --muted: #4c5166;
  --rule: #d4d2ca;
  --display: "Bricolage Grotesque", sans-serif;
  --body: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --ease-out: cubic-bezier(0.2, 0, 0, 1);
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.hf-page *, .hf-page *::before, .hf-page *::after { box-sizing: border-box; }
.hf-page [hidden] { display: none !important; }
.hf-page h1, .hf-page h2, .hf-page h3, .hf-page p { margin: 0; }
.hf-page h1, .hf-page h2, .hf-page h3 { font-family: var(--display); }
.hf-page a { color: inherit; text-decoration: none; text-underline-offset: 5px; }
.hf-page button { font-family: inherit; cursor: pointer; }
.hf-page img { display: block; max-width: 100%; }
.hf-page button, .hf-page a { -webkit-tap-highlight-color: transparent; }
.hf-page :focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.hf-page ::selection { background: #dce3ff; color: var(--ink); }
.page-width { width: min(1144px, calc(100% - 96px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 16px; left: 16px; transform: translateY(-160%); padding: 12px 20px; z-index: 10; background: var(--ink); color: white !important; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 36px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; font: 800 34px/1 var(--display); letter-spacing: -1.2px; }
.brand img { border-radius: 11px; }
.site-header nav { display: flex; align-items: center; gap: 40px; font-size: 16px; font-weight: 500; }
.download-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 27px; background: var(--blue); color: #fff !important; border-radius: 10px; transition: background-color 150ms, transform 150ms var(--ease-out); }
.download-button:active, .store-link:active { transform: scale(.96); }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 480px; gap: 104px; padding-block: 72px 104px; align-items: start; }
.hero-copy { padding-top: 42px; }
.hero h1 { color: var(--blue); font-size: clamp(62px, 6.95vw, 100px); font-weight: 800; line-height: .99; letter-spacing: -.045em; }
.hero h1 span { display: block; }
.hero-description { font-size: 28px; line-height: 1.4; letter-spacing: -.7px; max-width: 390px; margin-top: 28px !important; }
.store-link { display: inline-block; border-radius: 11px; transition: transform 150ms var(--ease-out); }
.store-link img { width: 220px; height: auto; }
.hero-copy > .store-link { margin-top: 42px; }
.hero-hands { width: 330px; height: auto; margin: -36px 0 -12px 145px; pointer-events: none; }
.eyebrow { color: var(--blue); font-size: 12px; line-height: 1.4; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.sample h2 { font-size: 44px; line-height: 1.15; font-weight: 800; letter-spacing: -1.4px; margin-top: 12px; }
.game-board { background: #1247e8; color: #fff; margin-top: 24px; border-radius: 32px; padding: 28px 20px 16px; box-shadow: 0 4px 5px -4px #1027521c, 0 16px 30px -22px #10275238; }
.game-board :focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.game-board[data-transition="submit"] { overflow: hidden; }
.game-board[aria-busy="true"] .game-card { cursor: default; }
.game-header { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 9px; margin-bottom: 30px; }
.game-control { display: grid; place-items: center; border: 1px solid #ffffff21; border-radius: 50%; width: 44px; height: 44px; padding: 0; color: #fff; background: #ffffff19; transition: background-color 150ms, transform 150ms var(--ease-out), opacity 150ms; }
.game-control:active { transform: scale(.96); }
.game-control:disabled { opacity: .45; cursor: default; }
.game-control.is-hidden { visibility: hidden; }
.game-control img, .move-button img, .match-detail img { filter: brightness(0) invert(1); flex-shrink: 0; }
.game-heading { text-align: center; min-width: 0; }
.game-heading h3 { font: 700 19px/1.25 var(--body); letter-spacing: -.5px; }
.game-heading p { font-size: 13px; margin-top: 3px; color: #ffffffeb; }
.game-list { display: flex; flex-direction: column; list-style: none; padding: 0; margin: 0; gap: 20px; }
.game-row { position: relative; transform: translateY(0); }
.game-row.is-dragging { z-index: 2; }
.game-row.is-shifting { transition: transform 180ms ease-in-out; }
.game-card { width: 100%; height: 92px; padding: 12px 24px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 3px; border: 1px solid #ffffff52; border-radius: 999px; color: #fff; background: #ffffff20; box-shadow: inset 0 1px 1px #ffffff0d; font-family: var(--body); font-size: 25px; font-weight: 600; line-height: 1.2; letter-spacing: -.5px; transition: background-color 150ms, border-color 150ms, scale 150ms var(--ease-out); user-select: none; -webkit-user-select: none; touch-action: none; cursor: grab; }
.game-card[aria-pressed="true"] { border-color: #fff; background: #ffffff2b; }
.is-dragging .game-card { background: #3265ed; border-color: white; scale: 1.035; box-shadow: 0 8px 18px #072c9433; cursor: grabbing; }
.game-card.is-reveal { touch-action: pan-y; cursor: pointer; }
.game-control.is-guided { position: relative; }
.game-card.is-next, .game-control.is-guided { border-color: #fff; box-shadow: 0 0 0 2px #ffffff40, 0 0 20px #c0d6ff80, inset 0 0 12px #ffffff18; }
.game-card.is-next::after, .game-control.is-guided::after { content: ""; position: absolute; inset: -3px; border: 1px solid #fff; border-radius: inherit; box-shadow: 0 0 18px #c0d6ff; opacity: .35; pointer-events: none; animation: next-card-glow 1.8s ease-in-out infinite alternate; }
@keyframes next-card-glow { to { opacity: .8; } }
.game-board[data-transition="flip"] .game-card { backface-visibility: hidden; }
.game-card.is-revealed { cursor: default; }
.game-card.is-correct { border-color: #b1f6cb; border-width: 2px; }
.game-card.is-miss { border-color: #ffffff80; }
.match-detail { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 500; letter-spacing: 0; }
.game-card.is-correct .match-detail { color: #d7ffe5; }
.game-card.is-revealed .card-label { font-size: 21px; }
.game-bottom { min-height: 66px; display: flex; flex-direction: column; justify-content: center; align-items: center; padding-top: 8px; gap: 4px; }
.game-hint { text-align: center; font-size: 12px; line-height: 1.35; color: #fffffff2; }
.move-controls { width: 100%; display: flex; justify-content: center; align-items: center; gap: 6px; }
.move-controls > span { font-size: 12px; max-width: 124px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-right: auto; }
.move-button { display: inline-flex; justify-content: center; align-items: center; gap: 3px; min-width: 62px; min-height: 44px; padding: 0 8px; border: 0; border-radius: 22px; font-size: 12px !important; background: #ffffff15; color: #fff; }
.move-button:disabled { opacity: .4; cursor: default; }
.round-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px 16px; padding-top: 8px; }
.round-download { display: inline-flex; align-items: center; min-height: 48px; border-radius: 8px; }
.round-download img { width: 144px; height: auto; }
.try-again { border: 0; border-radius: 8px; min-height: 44px; padding: 4px 6px; font-size: 13px !important; font-weight: 500 !important; color: #fff; background: transparent; text-decoration: underline; text-underline-offset: 4px; }
.sample-fallback { margin-top: 24px !important; padding: 32px; border: 1px solid var(--rule); border-radius: 16px; }
.sample-fallback a { text-decoration: underline; }
.how-section { border-top: 1px solid var(--rule); padding-top: 64px; scroll-margin-top: 36px; }
.how-section > h2, .closing h2 { color: var(--blue); font-size: clamp(34px, 4.2vw, 60px); line-height: 1.12; font-weight: 800; letter-spacing: -.04em; text-wrap: balance; }
.how-section > h2 { text-align: center; }
.steps { list-style: none; padding: 0; margin: 64px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 88px; }
.step-number { font-size: 17px; font-weight: 700; color: var(--blue); font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 34px; line-height: 1.2; font-weight: 800; letter-spacing: -.9px; margin-top: 10px; }
.steps p { max-width: 295px; font-size: 24px; line-height: 1.45; letter-spacing: -.4px; margin-top: 12px; }
.closing { padding-block: 96px 56px; text-align: center; }
.closing h2 { font-size: clamp(34px, 3.9vw, 56px); }
.closing .store-link { margin-top: 28px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 30px 40px; border-top: 1px solid var(--rule); }
.footer-brand { font-size: 28px; gap: 9px; letter-spacing: -.8px; }
.footer-brand img { border-radius: 9px; }
.site-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; font-size: 14px; }
.site-footer nav a { min-height: 44px; display: inline-flex; align-items: center; }
.site-footer .social-link { justify-content: center; min-width: 44px; margin-inline: -7px; }
.legal-main { width: min(720px, calc(100% - 48px)); margin: 68px auto 104px; }
.legal-main h1 { font-size: clamp(40px, 5vw, 60px); letter-spacing: -.045em; line-height: 1.1; color: var(--blue); margin-bottom: 44px; }
.policy-content { font-size: 17px; line-height: 1.75; overflow-wrap: anywhere; }
.policy-content p { margin-block: 16px; }
.policy-content > strong { display: block; font-family: var(--display); font-size: 23px; line-height: 1.3; letter-spacing: -.5px; margin-top: 36px; }
.policy-content ul { padding-left: 24px; }
.policy-content li { margin-block: 12px; }
.policy-content a { color: var(--blue); text-decoration: underline; }
.policy-content > br { display: none; }
@media (hover: hover) and (pointer: fine) {
  .download-button:hover { background: #0837cd; }
  .site-header .how-link:hover, .site-footer nav a:hover { text-decoration: underline; }
  .game-control:hover:not(:disabled), .move-button:hover:not(:disabled) { background: #ffffff2e; }
  .game-card:hover:not(.is-revealed) { background: #ffffff28; }
}
@media (min-width: 1500px) { .hero { padding-top: 90px; } }
@media (max-width: 1199px) {
  .hero { grid-template-columns: minmax(0, 1fr) 390px; gap: 56px; }
  .hero h1 { font-size: clamp(53px, 6.15vw, 74px); }
  .hero-description { font-size: 23px; }
  .hero-hands { width: 250px; margin-left: 100px; }
  .game-card { height: 78px; }
  .game-heading h3 { font-size: 17px; }
  .steps { gap: 56px; }
  .steps p { font-size: 20px; }
}
@media (max-width: 959px) {
  .page-width { width: min(620px, calc(100% - 48px)); }
  .site-header { padding-block: 24px; }
  .site-header nav { gap: 24px; }
  .brand { font-size: 26px; }
  .hero { grid-template-columns: 1fr; gap: 64px; padding-block: 42px 72px; }
  .hero-copy { padding-top: 0; position: relative; }
  .hero h1 { font-size: clamp(58px, 9vw, 78px); letter-spacing: -.055em; }
  .hero-description { max-width: 370px; }
  .hero-copy > .store-link { margin-top: 30px; }
  .hero-hands { width: 175px; position: absolute; bottom: -16px; right: 0; margin: 0; }
  .sample { width: min(100%, 440px); justify-self: center; }
  .game-card { height: 82px; }
  .game-heading h3 { font-size: 19px; }
  .how-section { padding-top: 52px; }
  .steps { gap: 30px; margin-top: 44px; }
  .steps h3 { font-size: 27px; }
  .steps p { font-size: 17px; }
  .closing { padding-block: 76px 60px; }
  .site-footer { flex-direction: column; gap: 18px; padding-block: 28px; }
}
@media (max-width: 599px) {
  .page-width { width: calc(100% - 40px); }
  .site-header { gap: 12px; }
  .brand { font-size: 25px; gap: 9px; }
  .brand img { width: 36px; height: 36px; border-radius: 9px; }
  .site-header .how-link { display: none; }
  .download-button { font-size: 14px; padding-inline: 16px; min-height: 44px; border-radius: 9px; }
  .hero { padding-top: 34px; gap: 56px; }
  .hero h1 { font-size: clamp(45px, 11.4vw, 66px); line-height: 1.04; }
  .hero-description { font-size: 21px; max-width: 310px; margin-top: 24px !important; letter-spacing: -.45px; }
  .hero-copy > .store-link { margin-top: 28px; }
  .store-link img { width: 160px; height: auto; }
  .hero-hands { position: static; width: 156px; margin: -35px 0 0 auto; }
  .sample h2 { font-size: 34px; }
  .game-board { border-radius: 28px; padding: 18px 16px 10px; margin-top: 20px; }
  .game-header { gap: 6px; margin-bottom: 22px; }
  .game-heading h3 { font-size: 16px; letter-spacing: -.45px; }
  .game-heading p { font-size: 12px; }
  .game-card { height: 75px; font-size: 21px; }
  .game-list { gap: 16px; }
  .game-hint { font-size: 11px; }
  .how-section > h2, .closing h2 { font-size: 34px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps li { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 16px; }
  .step-number { grid-row: 1 / 3; padding-top: 5px; }
  .steps h3 { margin-top: 0; }
  .steps p { grid-column: 2; margin-top: 7px; max-width: 275px; font-size: 18px; }
  .site-footer nav { gap: 18px; font-size: 13px; }
  .footer-brand { font-size: 23px; }
  .legal-main { margin-top: 42px; margin-bottom: 64px; }
}
@media (max-width: 359px) {
  .page-width { width: calc(100% - 32px); }
  .hero h1 { font-size: 42px; }
  .hero-hands { width: 130px; margin-top: -20px; }
  .game-heading h3 { font-size: 14px; }
  .game-board { padding-inline: 12px; }
  .move-controls > span { max-width: 86px; }
}
@media (prefers-reduced-motion: reduce) {
  .hf-page *, .hf-page *::before, .hf-page *::after { animation: none !important; transition: none !important; }
  .is-dragging .game-card { scale: 1; }
  .download-button:active, .store-link:active, .game-control:active { transform: none; }
}
