:root {
    color-scheme: light;
    font-family: Nunito, ui-rounded, "Trebuchet MS", system-ui, sans-serif;
    color: #171027;
    background: #e5d9fb;
    --cloud-light: #f4ebfe;
    --cloud-soft: #e9dcf9;
    --waitlist-yellow: #ffe477;
    --waitlist-yellow-hover: #ffda59;
    --violet: #5423d9;
    --violet-hover: #4618c0;
    --muted: #565662;
  }

  *, *::before, *::after { box-sizing: border-box; }
  [hidden] { display: none !important; }
  body {
    margin: 0;
    background: linear-gradient(165deg, #e3d0f8 0%, #ebddfc 51%, #e2d0f8 100%);
  }

  main {
    position: relative;
    isolation: isolate;
    overflow: hidden;
  }

  main::before {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
  }

  main::before {
    inset: 0;
    background:
      radial-gradient(ellipse 51px 72px at 50px 100%, var(--cloud-light) 98%, transparent 100%) left 32px / 170px 74px no-repeat,
      radial-gradient(ellipse 48px 45px at 98px 100%, var(--cloud-light) 98%, transparent 100%) left 32px / 170px 74px no-repeat,
      radial-gradient(ellipse 32px 23px at 134px 100%, var(--cloud-light) 98%, transparent 100%) left 32px / 170px 74px no-repeat,
      radial-gradient(ellipse 53px 65px at 100% 100%, var(--cloud-light) 98%, transparent 100%) right 148px / 122px 70px no-repeat,
      radial-gradient(ellipse 42px 28px at 68% 100%, var(--cloud-light) 98%, transparent 100%) right 148px / 122px 70px no-repeat,
      radial-gradient(ellipse 60px 75px at 12px 100%, var(--cloud-light) 98%, transparent 100%) left bottom / 125px 120px no-repeat,
      radial-gradient(ellipse 59px 78px at 100% 100%, var(--cloud-light) 98%, transparent 100%) right bottom / 122px 105px no-repeat;
  }

  .card-matcher-clouds {
    position: absolute;
    z-index: -1;
    pointer-events: none;
    inset-block-start: clamp(-174px, -16.5vw, -64px);
    inset-inline-start: 50%;
    inline-size: 100vw;
    block-size: clamp(158px, 33vw, 350px);
    transform: translateX(-50%);
    background: linear-gradient(transparent, #decaf870 44%, #decaf830 70%, transparent);
  }

  .card-matcher-clouds .distant-clouds,
  .card-matcher-clouds::before,
  .card-matcher-clouds::after {
    position: absolute;
    inset: 0;
  }

  .card-matcher-clouds .distant-clouds {
    background: linear-gradient(#f1e8fe 19%, #f1e8fead 32%, transparent 46%);
    mask-image:
      radial-gradient(ellipse 8.7% 23.4% at 1.2% 41.4%, #000 99%, transparent),
      radial-gradient(ellipse 7% 18% at 11.6% 51.5%, #000 99%, transparent),
      radial-gradient(ellipse 7.5% 22.5% at 100.4% 22.2%, #000 99%, transparent),
      radial-gradient(ellipse 6% 17% at 93.2% 32.4%, #000 99%, transparent);
  }

  /* The brighter bank rises at the sides and leaves a low opening at the centre. */
  .card-matcher-clouds::before {
    content: "";
    background: linear-gradient(#f4ecfe 33%, #f2e9fd 52%, #efe4fc 63%, transparent 91%);
    mask-image:
      radial-gradient(ellipse 8% 23% at 5.5% 67%, #000 99%, transparent),
      radial-gradient(ellipse 9.9% 29% at 16.4% 57.4%, #000 99%, transparent),
      radial-gradient(ellipse 6% 23% at 26.4% 61.2%, #000 99%, transparent),
      radial-gradient(ellipse 11% 23% at 36.5% 68%, #000 99%, transparent),
      radial-gradient(ellipse 8.4% 19% at 47% 71.1%, #000 99%, transparent),
      radial-gradient(ellipse 11.4% 24% at 60.1% 70.2%, #000 99%, transparent),
      radial-gradient(ellipse 10% 23% at 77.4% 74.8%, #000 99%, transparent),
      radial-gradient(ellipse 9.4% 23% at 87.6% 62%, #000 99%, transparent),
      radial-gradient(ellipse 8.5% 29% at 97.7% 60.7%, #000 99%, transparent),
      linear-gradient(transparent 71%, #000 71%);
  }

  .card-matcher-clouds::after {
    content: "";
    background: linear-gradient(#e6d5fa 52%, #ebddfb 69%, transparent 96%);
    mask-image:
      radial-gradient(ellipse 8.8% 25.5% at 3% 78%, #000 99%, transparent),
      radial-gradient(ellipse 8.4% 19.3% at 13.7% 76%, #000 99%, transparent),
      radial-gradient(ellipse 9.4% 20.5% at 26.6% 76%, #000 99%, transparent),
      radial-gradient(ellipse 9.4% 26.5% at 35.8% 79%, #000 99%, transparent),
      radial-gradient(ellipse 10.8% 21.5% at 48.9% 79%, #000 99%, transparent),
      radial-gradient(ellipse 12.5% 25% at 63.4% 80%, #000 99%, transparent),
      radial-gradient(ellipse 9.8% 25% at 77.5% 81.7%, #000 99%, transparent),
      radial-gradient(ellipse 7.2% 17% at 86.4% 84.7%, #000 99%, transparent),
      radial-gradient(ellipse 9.4% 22% at 95.2% 85.3%, #000 99%, transparent),
      linear-gradient(transparent 82%, #000 82%);
  }

  .waitlist-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(234px, 30%);
    align-items: center;
    gap: clamp(38px, 7vw, 108px);
    width: min(calc(100% - clamp(52px, 14vw, 150px)), 1180px);
    min-height: clamp(590px, 67vw, 765px);
    margin-inline: auto;
    padding-block: 44px;
  }

  .waitlist-hero .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: clamp(24px, 4vw, 44px);
    font-size: clamp(1.45rem, 3.1vw, 2.25rem);
    font-weight: 900;
    letter-spacing: -.055em;
    line-height: 1;
  }

  .waitlist-hero .brand-mark {
    display: block;
    width: 48px;
    height: 48px;
    flex: none;
    border-radius: 12px;
    object-fit: cover;
  }

  .waitlist-hero .waitlist-info-trigger,
  .waitlist-hero .waitlist-info-close {
    display: grid;
    place-items: center;
    flex: none;
    inline-size: 44px;
    min-block-size: 44px;
    padding: 0;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    font: 26px/1 system-ui, sans-serif;
  }

  .waitlist-hero .waitlist-info-trigger { font-size: 20.8px; }
  .waitlist-hero .waitlist-info-trigger:hover,
  .waitlist-hero .waitlist-info-close:hover {
    background: #5423d910;
    color: var(--violet);
  }

  .waitlist-hero .waitlist-info-fallback {
    font-weight: 800;
    -webkit-text-stroke: .45px currentColor;
  }

  .waitlist-hero .waitlist-info-symbol {
    font-family: 'Material Symbols Outlined';
    font-weight: 700;
    font-feature-settings: 'liga';
    letter-spacing: normal;
    white-space: nowrap;
  }

  .waitlist-hero .waitlist-info-dialog {
    inline-size: min(420px, calc(100% - 32px));
    padding: 0;
    border: 1px solid #dacbf2;
    border-radius: 16px;
    background: #fcf9ff;
    color: inherit;
    box-shadow: 0 16px 42px #21113335;
  }

  .waitlist-hero .waitlist-info-dialog::backdrop { background: #21113355; }
  .waitlist-hero .waitlist-info-body { padding: 18px 22px 23px; }

  .waitlist-hero .waitlist-info-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-block-end: 5px;
  }

  .waitlist-hero .waitlist-info-heading h2 {
    margin: 0;
    font-size: 1.375rem;
    font-weight: 900;
    letter-spacing: -.02em;
  }

  .waitlist-hero #waitlist-info-copy {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
  }

  .waitlist-hero #waitlist-info-copy a {
    color: var(--violet);
    font-weight: 800;
    text-underline-offset: 3px;
  }

  .waitlist-hero h1 {
    margin: 0 0 20px;
    font-size: clamp(2.4rem, 4.65vw, 4.55rem);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -.06em;
  }

  .waitlist-hero h1 span { display: block; }

  .waitlist-hero .intro {
    max-width: 33em;
    margin: 0 0 26px;
    color: var(--muted);
    font-size: clamp(1.025rem, 1.55vw, 1.25rem);
    line-height: 1.55;
  }

  .waitlist-hero .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .waitlist-hero .form-row {
    display: flex;
    width: 100%;
    max-width: 532px;
  }

  .waitlist-hero input, .waitlist-hero button { min-height: 52px; font: inherit; }
  .waitlist-hero input {
    width: 100%;
    min-width: 0;
    padding: 0 15px;
    border: 1px solid #cdccd4;
    border-radius: 10px 0 0 10px;
    background: #fff;
    color: #17171e;
  }

  .waitlist-hero input::placeholder { color: #686876; opacity: 1; }

  .waitlist-hero button { border: 0; cursor: pointer; font-weight: 800; }
  .waitlist-hero .join {
    flex: none;
    padding-inline: 18px;
    border-radius: 0 10px 10px 0;
    color: #36134c;
    background: var(--waitlist-yellow);
  }

  .waitlist-hero .join:not(:disabled):hover { background: var(--waitlist-yellow-hover); }
  .waitlist-hero .join:disabled { cursor: default; }
  .waitlist-hero :where(input, button):focus-visible {
    position: relative;
    z-index: 1;
    outline: 3px solid var(--violet);
    outline-offset: 3px;
  }

  .waitlist-hero .form-note, .waitlist-hero .success p {
    margin: 13px 0 0;
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.5;
  }

  .waitlist-hero .success {
    padding: 17px 19px;
    border: 1px solid #d8c9fa;
    border-radius: 12px;
    background: #f2edff;
  }

  .waitlist-hero .success h2 { margin: 0; font-size: 1.28rem; }
  .waitlist-hero .success p { margin-top: 5px; overflow-wrap: anywhere; }
  .waitlist-hero .reset {
    min-height: 44px;
    padding: 0;
    color: var(--violet-hover);
    background: none;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .waitlist-hero .phone {
    position: relative;
    width: min(100%, 318px);
    aspect-ratio: 10 / 20.5;
    margin: 0 auto;
    padding: 8px;
    border: 1px solid #29292d;
    border-radius: 47px;
    background: linear-gradient(135deg, #5a5b64, #17171c 12%, #101014 70%, #4c4d53);
    box-shadow: inset 0 0 0 2px #595962, 0 28px 48px -27px #17171b55, 0 7px 16px -7px #17171b5c;
    container-type: inline-size;
  }

  .waitlist-hero .phone::before, .waitlist-hero .phone::after {
    content: "";
    position: absolute;
    width: 3px;
    border-radius: 2px;
    background: #29292d;
  }
  .waitlist-hero .phone::before { top: 23%; bottom: 66%; left: -3px; }
  .waitlist-hero .phone::after { top: 29%; bottom: 63%; right: -3px; }

  .waitlist-hero .phone-screen {
    position: relative;
    height: 100%;
    overflow: hidden;
    padding: 12px 6.2cqw 22px;
    border: 1px solid #07070a;
    border-radius: 39px;
    background: #fbfafc;
  }

  .waitlist-hero .phone-status {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 5px;
    min-height: 24px;
    padding-inline: 4px;
    font-size: .7rem;
    font-weight: 900;
  }

  .waitlist-hero .phone-camera {
    width: clamp(52px, 23cqw, 72px);
    height: clamp(17px, 8cqw, 24px);
    border-radius: 99px;
    background: #101013;
  }

  .waitlist-hero .phone-battery {
    position: relative;
    justify-self: end;
    width: 17px;
    height: 9px;
    border: 1px solid currentColor;
    border-radius: 2px;
  }
  .waitlist-hero .phone-battery::before, .waitlist-hero .phone-battery::after {
    content: "";
    position: absolute;
    border-radius: 1px;
    background: currentColor;
  }
  .waitlist-hero .phone-battery::before { inset: 1px; }
  .waitlist-hero .phone-battery::after { top: 2px; right: -3px; width: 1px; height: 3px; }

  .waitlist-hero .app-header {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 27px;
    margin: 7cqw 0;
    font-size: clamp(.83rem, 5.2cqw, 1rem);
    font-weight: 900;
    letter-spacing: -.04em;
  }

  .waitlist-hero .app-back {
    position: absolute;
    left: 0;
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    border-radius: 7px;
    background: #eee5ff;
    color: #32136e;
    font-size: 1.25rem;
    line-height: 1;
  }

  .waitlist-hero .game-title {
    margin: 0;
    text-align: center;
    font-size: clamp(1.08rem, 8.5cqw, 1.65rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -.044em;
  }

  .waitlist-hero .game-instruction {
    margin: 7px 0 0;
    text-align: center;
    color: var(--muted);
    font-size: clamp(.65rem, 4.25cqw, .81rem);
    line-height: 1.35;
  }

  .waitlist-hero .game-progress {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin: 8cqw 8% 9cqw;
  }

  .waitlist-hero .game-progress::before {
    content: "";
    position: absolute;
    top: calc(50% - 1px);
    inset-inline: 6px;
    height: 2px;
    background: linear-gradient(90deg, var(--violet) 33.33%, #d9cafa 33.33%);
  }

  .waitlist-hero .checkpoint {
    z-index: 1;
    display: grid;
    place-items: center;
    width: clamp(13px, 5.8cqw, 18px);
    aspect-ratio: 1;
    border: 2px solid #d9cafa;
    border-radius: 50%;
    background: #fbfafc;
    color: #fff;
    font-size: .66rem;
    font-weight: 800;
    line-height: 1;
  }

  .waitlist-hero .checkpoint-complete {
    border-color: var(--violet);
    background: var(--violet);
  }

  .waitlist-hero .cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4cqw;
    text-align: center;
  }

  .waitlist-hero .card-column {
    display: grid;
    gap: clamp(6px, 3cqw, 9px);
  }

  .waitlist-hero .card-label {
    font-size: clamp(.68rem, 4.5cqw, .88rem);
    font-weight: 900;
  }

  .waitlist-hero .word-card {
    display: grid;
    place-items: center;
    min-height: clamp(31px, 17cqw, 52px);
    padding: 4px;
    border: 1px solid #d6d3df;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 2px #e5e2e9;
    font-size: clamp(.74rem, 5.5cqw, 1.05rem);
    font-weight: 800;
  }

  .waitlist-hero .word-card-matched {
    border-color: #8762ea;
    background: #eee4ff;
    box-shadow: 0 2px #daccf8;
    color: #301174;
  }

  .waitlist-hero .phone-screen::after {
    content: "";
    position: absolute;
    inset: auto 30% 7px;
    height: 4px;
    border-radius: 99px;
    background: #17171e;
  }

  @media (max-width: 700px) {
    .waitlist-hero {
      min-height: 0;
      grid-template-columns: minmax(0, 1fr);
      gap: 40px;
      width: min(calc(100% - 40px), 488px);
      padding-block: 40px 48px;
    }
    .waitlist-hero .brand { margin-bottom: 24px; }
    .waitlist-hero .phone { width: min(82%, 280px); }
  }

  @media (max-width: 375px) {
    .waitlist-hero .form-row { display: grid; gap: 8px; }
    .waitlist-hero .form-row input, .waitlist-hero .join { border-radius: 10px; }
  }

  .card-matcher-demo {
    --accent: var(--violet);
    --accent-dark: var(--violet-hover);
    --accent-soft: #eee6ff;
    --ink-muted: var(--muted);
    --border: #e5e1ed;
  }

  .card-matcher-demo {
    position: relative;
    width: min(calc(100% - 48px), 846px);
    margin-inline: auto;
    padding-block: clamp(34px, 4.5vw, 62px) clamp(28px, 5vw, 68px);
  }

  .card-matcher-demo .section-intro { text-align: center; margin-bottom: clamp(28px, 5.8vw, 60px); }
  .card-matcher-demo #card-matcher-title {
    margin: 0;
    font-size: clamp(2.3rem, 5.5vw, 3.65rem);
    font-weight: 900;
    letter-spacing: -.055em;
    line-height: 1.07;
  }

  .card-matcher-demo .language-picker {
    min-width: 0;
    margin: 0 0 17px;
    padding: 0 0 20px;
    border: 0;
    border-bottom: 1px solid var(--border);
  }

  .card-matcher-demo .language-select {
    display: block;
    inline-size: min(100%, 280px);
    min-block-size: 48px;
    margin-inline: auto;
    padding: 10px 14px;
    border: 1px solid #ae88ef;
    border-radius: 12px;
    background: #f8f4ff;
    color: #321379;
    font: inherit;
    font-size: 1.05rem;
    font-weight: 850;
    cursor: pointer;
  }
  .card-matcher-demo .language-select:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
  }

  .card-matcher-demo .game-panel {
    padding: clamp(16px, 4vw, 40px);
    border: 1px solid #f8f3ff;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 18px 40px -25px #28134e33, 0 2px 5px #28134e09;
  }

  .card-matcher-demo .progress-labels {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px 12px;
    font-weight: 900;
  }

  .card-matcher-demo .round-count { color: #321379; }
  .card-matcher-demo .matched-count { color: var(--ink-muted); font-size: .91rem; }

  .card-matcher-demo .round-track {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 13px;
    --completed: 0%;
  }
  .card-matcher-demo .round-track::before {
    content: "";
    position: absolute;
    inset-inline: 10px;
    top: calc(50% - 2px);
    height: 4px;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--accent) var(--completed), #e8defb var(--completed));
  }

  .card-matcher-demo .checkpoint {
    z-index: 1;
    display: grid;
    place-items: center;
    width: 21px;
    aspect-ratio: 1;
    border: 2px solid #cdb9f6;
    border-radius: 50%;
    background: #fff;
    color: #fff;
    font-size: .8rem;
    font-weight: 900;
    line-height: 1;
  }
  .card-matcher-demo .checkpoint[data-state="active"] {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
  }
  .card-matcher-demo .checkpoint[data-state="complete"] {
    border-color: var(--accent);
    background: var(--accent);
  }

  .card-matcher-demo .feedback {
    display: flex;
    align-items: center;
    min-height: 39px;
    margin: 6px 0;
    color: #4e2c78;
    font-size: .92rem;
    font-weight: 750;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }
  .card-matcher-demo .feedback[data-tone="correct"] { color: #21593f; }
  .card-matcher-demo .feedback[data-tone="retry"] { color: #9b234a; }

  .card-matcher-demo .board {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(10px, 3.6vw, 26px);
  }

  .card-matcher-demo .word-column h3 {
    margin: 0 0 9px;
    font-size: .97rem;
    font-weight: 900;
    text-align: center;
  }
  .card-matcher-demo .word-list { display: grid; gap: 8px; }

  .card-matcher-demo button { font: inherit; cursor: pointer; }
  .card-matcher-demo button:disabled { cursor: default; }

  .card-matcher-demo .word-card {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 53px;
    padding: 8px 25px;
    border: 1px solid #c7abf1;
    border-radius: 11px;
    background: #fff;
    color: #201b2a;
    box-shadow: 0 2px #efedf3;
    font-size: clamp(.94rem, 2vw, 1.12rem);
    font-weight: 850;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .card-matcher-demo .word-card[data-state="neutral"]:hover { border-color: #9777eb; background: #faf7ff; }
  .card-matcher-demo .word-card[data-state="selected"] {
    border-color: var(--accent);
    background: var(--accent-soft);
    box-shadow: 0 2px #dbcef9;
    color: #301174;
  }
  .card-matcher-demo .word-card[data-state="matched"] {
    border-color: #9bc7ad;
    background: #edf8f0;
    box-shadow: 0 2px #deeee3;
    color: #1d5338;
  }

  .card-matcher-demo .match-mark {
    position: absolute;
    inset-inline-end: 11px;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #278648;
    color: #fff;
    font-size: .74rem;
    font-weight: 900;
  }

  .card-matcher-demo .game-controls {
    display: flex;
    justify-content: center;
    gap: clamp(12px, 4vw, 36px);
    margin-top: 20px;
  }

  .card-matcher-demo .restart, .card-matcher-demo .next {
    min-height: 44px;
    padding-inline: 14px;
    border: 0;
    border-radius: 10px;
    font-weight: 850;
  }

  .card-matcher-demo .restart { background: transparent; color: #4b2c86; }
  .card-matcher-demo .restart:hover { text-decoration: underline; text-underline-offset: 3px; }

  .card-matcher-demo .next { min-inline-size: clamp(110px, 20vw, 180px); background: var(--accent); color: #fff; }
  .card-matcher-demo .next:not(:disabled):hover { background: var(--accent-dark); }
  .card-matcher-demo .next:disabled { background: #d6bcf9; color: #4f376e; }

  .card-matcher-demo button:focus-visible {
    z-index: 2;
    outline: 3px solid var(--accent);
    outline-offset: 3px;
  }

  @media (max-width: 480px) {
    .card-matcher-demo { width: calc(100% - 28px); }
    .card-matcher-demo .game-panel { border-radius: 17px; }
    .card-matcher-demo .word-card { min-height: 49px; padding-inline: 16px; }
    .card-matcher-demo .match-mark { inset-inline-end: 5px; width: 16px; height: 16px; font-size: .67rem; }
  }

  html { min-inline-size: 280px; scroll-padding-top: 100px; }
  body { display: flex; flex-direction: column; min-block-size: 100svh; }
  body > main { display: flex; flex-direction: column; flex: 1; }
  body > .site-header, body > .site-footer { flex: none; }
  a { color: inherit; }
  button, input, summary { -webkit-tap-highlight-color: transparent; }
  a, button, summary { touch-action: manipulation; }

  .skip-link {
    position: fixed;
    z-index: 20;
    inset-block-start: 12px;
    inset-inline-start: 12px;
    padding: 12px 18px;
    border-radius: 8px;
    background: #fff;
    color: #27105a;
    transform: translateY(-160%);
  }
  .skip-link:focus { transform: translateY(0); }

  .site-header {
    position: sticky;
    z-index: 10;
    inset-block-start: 0;
    border-bottom: 1px solid #d0cbd4;
    background: #E8D7FA;
  }
  .header-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    inline-size: min(calc(100% - 64px), 1180px);
    min-block-size: 80px;
    margin-inline: auto;
  }
  .site-logo { display: flex; align-items: center; flex: 0 0 auto; }
  .site-logo img {
    display: block;
    inline-size: 178px;
    block-size: 32px;
    object-fit: contain;
    object-position: left center;
  }
  .join-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-block-size: 43px;
    padding: 9px 26px;
    border: 1px solid #ffe477;
    border-radius: 12px;
    background: var(--waitlist-yellow);
    box-shadow: 0 3px 0 #e8c454;
    color: #2c095a;
    font-weight: 900;
    font-size: 1rem;
    text-decoration: none;
    white-space: nowrap;
  }
  .join-link:hover { background: var(--waitlist-yellow-hover); }
  .primary-nav { display: flex; align-items: center; gap: 29px; margin-inline-start: auto; }
  .nav-link {
    display: inline-flex;
    align-items: center;
    min-block-size: 44px;
    color: #52475f;
    font-size: .95rem;
    font-weight: 750;
    text-decoration: none;
    text-underline-offset: 6px;
  }
  .nav-link:hover { color: #5423d9; text-decoration: underline; }
  .nav-link[aria-current="page"] { color: #5423d9; font-weight: 900; }
  .site-header a:focus-visible {
    outline: 3px solid #8d65e6;
    outline-offset: 5px;
    border-radius: 5px;
  }


  .waitlist-main { min-block-size: 0; }
  .waitlist-hero {
    position: relative;
    z-index: 1;
    flex: 1;
    min-height: 0;
    min-block-size: 0;
    padding-block: 48px 64px;
  }
  .waitlist-hero .intro { max-inline-size: 570px; }
  .waitlist-hero .phone { margin-inline: auto 0; }
  .waitlist-hero #waitlist, .waitlist-hero .success { scroll-margin-block-start: 130px; }
  .landing-clouds {
    position: absolute;
    z-index: -1;
    inset-inline: 0;
    inset-block-end: 0;
    block-size: clamp(180px, 23vw, 310px);
  }
  .landing-clouds .card-matcher-clouds { inset-block-start: 0; block-size: 100%; }
  .site-footer {
    position: relative;
    background: #200162;
    color: #fff;
  }
  .footer-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    inline-size: min(calc(100% - 64px), 1180px);
    min-block-size: 84px;
    margin-inline: auto;
    padding-block: 15px;
  }
  .footer-logo { display: flex; flex: none; align-items: center; }
  .footer-logo img {
    display: block;
    inline-size: 145px;
    block-size: 40px;
    object-fit: contain;
    object-position: left center;
  }
  .footer-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-inline-start: auto;
  }
  .footer-nav button {
    min-block-size: 36px;
    padding: 4px 0;
    border: 0;
    background: transparent;
    color: #f4ecff;
    font: inherit;
    font-size: .8rem;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
  }
  .footer-nav button:hover { text-decoration: underline; text-underline-offset: 4px; }
  .footer-copyright {
    margin: 0;
    padding-inline-start: 28px;
    border-inline-start: 1px solid #a08cc4;
    color: #f4ecff;
    font-size: .73rem;
    line-height: 1.7;
    white-space: nowrap;
  }
  .site-footer a:focus-visible, .footer-nav button:focus-visible {
    outline: 2px solid #ffe477;
    outline-offset: 5px;
    border-radius: 3px;
  }
  .footer-dialog {
    inline-size: min(calc(100% - 40px), 480px);
    padding: 30px;
    border: 1px solid #ddd1ef;
    border-radius: 20px;
    background: #fffdfd;
    color: #241238;
    box-shadow: 0 24px 80px #20016233;
  }
  .footer-dialog::backdrop { background: #20016266; }
  .footer-dialog form { display: flex; justify-content: flex-end; margin-bottom: 4px; }
  .dialog-close {
    display: grid;
    place-items: center;
    inline-size: 34px;
    block-size: 34px;
    border: 0;
    border-radius: 8px;
    background: #eee5fc;
    color: #200162;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
  }
  .dialog-close:focus-visible { outline: 2px solid #5423d9; outline-offset: 3px; }
  .footer-dialog h2 { margin: 0 0 14px; font-size: 1.6rem; font-weight: 900; }
  .footer-dialog p { margin: 0; color: #5c4c6f; line-height: 1.7; }

  @media (max-width: 900px) {
    .footer-inner { flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
    .footer-copyright { inline-size: 100%; border: 0; padding: 0; text-align: center; }
  }
  @media (max-width: 600px) {
    .footer-inner {
      justify-content: center;
      gap: 12px;
      inline-size: calc(100% - 36px);
      padding-block: 20px;
    }
    .footer-logo { justify-content: center; inline-size: 100%; }
    .footer-logo img { inline-size: 132px; block-size: 32px; }
    .footer-nav { justify-content: center; flex-wrap: wrap; gap: 10px 22px; margin-inline-start: 0; }
    .footer-nav button { min-block-size: 34px; }
  }

  .game-main { min-block-size: 0; }
  .game-main .card-matcher-demo {
    padding-block-start: clamp(58px, 7.5vw, 98px);
    padding-block-end: 36px;
  }
  .game-main .card-matcher-clouds { inset-block-start: -20px; }
  .game-main .section-intro { margin-bottom: 38px; }
  .game-main .game-panel { background: #fffdfef2; }
  .game-main .card-matcher-demo #card-matcher-title { position: relative; z-index: 1; }

  .questions-main { min-block-size: 0; }
  .questions-page {
    position: relative;
    inline-size: min(calc(100% - 40px), 800px);
    margin-inline: auto;
    padding-block: clamp(58px, 7.5vw, 98px) 70px;
  }
  .questions-page > h1 {
    position: relative;
    margin: 0 0 44px;
    font-size: clamp(2.3rem, 5.5vw, 3.65rem);
    font-weight: 900;
    letter-spacing: -.055em;
    text-align: center;
  }
  .questions-page > .card-matcher-clouds { inset-block-start: -20px; }
  .question-list {
    overflow: hidden;
    border: 1px solid #f6effe;
    border-radius: 24px;
    background: #fffdfcf5;
    box-shadow: 0 14px 35px -22px #28134e33;
  }
  .question-list details + details { border-block-start: 1px solid #ece3f5; }
  .question-list summary {
    position: relative;
    padding: 25px 56px 25px 28px;
    font-size: 1.075rem;
    font-weight: 850;
    cursor: pointer;
    list-style: none;
  }
  .question-list summary::-webkit-details-marker { display: none; }
  .question-list summary::after {
    content: "+";
    position: absolute;
    inset-inline-end: 28px;
    inset-block-start: 22px;
    color: #6b42b6;
    font-size: 1.4rem;
    font-weight: 600;
  }
  .question-list details[open] summary::after { content: "−"; }
  .question-list summary:focus-visible { outline: 3px solid #8d65e6; outline-offset: -6px; border-radius: 9px; }
  .question-list p { margin: 0; padding: 0 28px 26px; color: #62546f; line-height: 1.7; }
  .question-list p a { color: #5423d9; font-weight: 800; }

  @media (min-width: 1440px) {
    .waitlist-hero { grid-template-columns: minmax(0, 1fr) 330px; }
  }
  @media (max-width: 700px) {
    html { scroll-padding-top: 140px; }
    .header-inner {
      flex-wrap: wrap;
      gap: 0 20px;
      inline-size: calc(100% - 36px);
      min-block-size: 112px;
      padding-block: 12px;
    }
    .site-logo { margin-inline-end: auto; }
    .site-logo img { inline-size: 155px; block-size: 30px; }
    .join-link { min-block-size: 40px; padding: 9px 12px; font-size: .83rem; }
    .primary-nav { justify-content: space-between; gap: 12px; inline-size: 100%; margin-block-start: 10px; }
    .nav-link { min-block-size: 31px; font-size: .87rem; }
    .waitlist-hero { min-block-size: 0; padding-block: 56px 115px; gap: 50px; }
    .waitlist-hero .phone { margin-inline: auto; }
    .landing-clouds { block-size: 190px; }
    .game-main .section-intro { margin-bottom: 30px; }
    .game-main .card-matcher-demo { padding-block-start: 48px; }
    .questions-page { padding-block-start: 48px; }
    .questions-page > h1 { margin-bottom: 32px; }
  }
  @media (max-width: 350px) {
    .header-inner { inline-size: calc(100% - 28px); gap: 0 12px; }
    .site-logo img { inline-size: 140px; }
    .join-link { padding-inline: 9px; font-size: .76rem; }
    .primary-nav { gap: 8px; }
    .nav-link { font-size: .76rem; }
  }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; }
  }
