:root {
  color-scheme: dark;
  --bg: #0d0e17;
  --panel: #1c1c2a;
  --panel-raised: #262438;
  --text: #f7f6fc;
  --muted: #bbb8ca;
  --accent: #bca5f7;
  --accent-soft: #e1c6ed;
  --border: rgba(232, 225, 255, .13);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); }
body {
  min-width: 320px;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  font: 400 16px/1.5 Onest, -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(ellipse 54% 66% at 9% 24%, rgba(99, 77, 146, .24), transparent 75%),
    radial-gradient(ellipse 45% 55% at 91% 72%, rgba(149, 88, 150, .12), transparent 72%),
    var(--bg);
}
a { -webkit-tap-highlight-color: transparent; }
.glow {
  position: fixed;
  z-index: 0;
  width: 36rem;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  opacity: .4;
  background: radial-gradient(circle, rgba(143, 110, 206, .13), transparent 67%);
}
.glow-top { top: -20rem; right: -16rem; }
.glow-bottom { bottom: -23rem; left: -16rem; }

.chooser {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  grid-template-areas: "header header" "hero platforms" "trust platforms";
  align-items: center;
  column-gap: clamp(40px, 6vw, 100px);
  width: min(calc(100% - 64px), 1220px);
  min-height: 100dvh;
  margin: 0 auto;
  padding: 24px 0 48px;
}
.chooser-header {
  grid-area: header;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 0;
  padding: 10px 0 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.brand img {
  display: block;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 15px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 12px 32px rgba(96, 65, 132, .16);
}
.brand span {
  display: grid;
  font-size: 17px;
  font-weight: 760;
  line-height: 1.1;
  letter-spacing: -.035em;
}
.brand b { color: var(--accent); }
.brand small { margin-top: 4px; color: var(--muted); font-size: 10px; font-weight: 580; letter-spacing: .01em; }
.languages {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(236, 231, 255, .045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .055);
}
.languages a {
  min-width: 39px;
  padding: 8px 9px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
  text-align: center;
  text-decoration: none;
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.languages a[aria-current="page"] { color: var(--text); background: rgba(230, 220, 255, .15); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); }
.languages a:hover { color: var(--text); transform: translateY(-1px); }
.languages a:focus-visible, .brand:focus-visible, .platform-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.hero { grid-area: hero; padding: 26px 0 12px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  color: #d7c9f5;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow span { color: var(--accent); font-size: 14px; }
.hero h1 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(42px, 4.8vw, 68px);
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: -.064em;
  text-wrap: balance;
}
.lead {
  max-width: 490px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.7;
  text-wrap: pretty;
}

.platform-list { grid-area: platforms; display: grid; gap: 12px; align-self: center; padding: 22px 0; }
.platform-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 17px;
  min-height: 104px;
  overflow: hidden;
  padding: 15px 17px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(125deg, rgba(38, 37, 55, .98), rgba(26, 26, 40, .98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 18px 45px rgba(4, 4, 15, .16);
  color: var(--text);
  text-decoration: none;
  transition: transform .58s var(--ease), border-color .58s var(--ease), box-shadow .58s var(--ease);
}
.platform-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(220px circle at var(--shine-x, 75%) var(--shine-y, 15%), rgba(229, 210, 255, .18), transparent 72%);
  transition: opacity .45s var(--ease);
  pointer-events: none;
}
.platform-card:hover, .platform-card:focus-visible { transform: translateY(-4px); border-color: rgba(204, 183, 250, .55); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 24px 58px rgba(3, 3, 14, .28); }
.platform-card:hover::before, .platform-card:focus-visible::before, .platform-card:active::before { opacity: 1; }
.platform-card:active { transform: translateY(-1px) scale(.985); }
.website {
  border-color: rgba(196, 169, 248, .44);
  background: linear-gradient(120deg, rgba(76, 53, 112, .97), rgba(72, 45, 86, .95));
}
.website:hover, .website:focus-visible { border-color: rgba(227, 204, 255, .72); }
.platform-icon {
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  background: #11111d;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
.platform-icon svg { display: block; width: 49px; height: 49px; }
.platform-icon img { display: block; width: 50px; height: 50px; }
.site-icon img { border-radius: 50%; }
/* MAX supplies a 4:3 image. Center-crop it in a square instead of letterboxing it. */
.max .platform-icon img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.platform-copy { display: grid; gap: 3px; min-width: 0; }
.platform-copy b { font-size: 18px; font-weight: 760; letter-spacing: -.035em; }
.platform-copy span { color: var(--muted); font-size: 13px; line-height: 1.48; }
.arrow {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 50%;
  background: rgba(255, 255, 255, .09);
  color: #f7f3ff;
  font-size: 22px;
  line-height: 1;
  transition: transform .45s var(--ease), background .45s var(--ease);
}
.website .arrow { background: linear-gradient(135deg, #865ca9, #a75d9f); }
.platform-card:hover .arrow { transform: translateX(4px); background: #70568e; }
.trust { grid-area: trust; display: flex; align-items: center; gap: 9px; align-self: start; margin: 0; padding: 4px 0 22px; color: var(--muted); font-size: 12px; }
.trust span { color: var(--accent); }

@media (min-width: 1021px) and (max-height: 690px) {
  .chooser { padding-bottom: 20px; }
  .hero { padding-top: 12px; }
  .platform-card { min-height: 88px; padding-block: 11px; }
  .platform-icon { width: 54px; height: 54px; }
  .platform-list { gap: 9px; }
}
@media (max-width: 1020px) {
  .chooser {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    grid-template-areas: "header" "hero" "platforms" "trust";
    width: min(calc(100% - 48px), 760px);
    min-height: 100dvh;
    align-content: start;
    padding-bottom: 32px;
  }
  .hero { padding: 46px 0 24px; }
  .hero h1 { max-width: 680px; font-size: clamp(42px, 6vw, 60px); }
  .lead { margin-top: 20px; max-width: 620px; }
  .platform-list { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; }
  .platform-card { grid-template-columns: 52px minmax(0, 1fr) 38px; min-height: 108px; gap: 11px; padding: 12px; }
  .platform-icon { width: 52px; height: 52px; border-radius: 16px; }
  .platform-icon svg, .platform-icon img { width: 45px; height: 45px; }
  .max .platform-icon img { width: 100%; height: 100%; }
  .platform-copy b { font-size: 16px; }
  .platform-copy span { font-size: 12px; }
  .arrow { width: 38px; height: 38px; font-size: 20px; }
  .trust { padding-top: 18px; justify-content: center; text-align: center; }
}
@media (max-width: 699px) {
  .chooser { width: min(calc(100% - 28px), 540px); padding-top: 14px; padding-bottom: 20px; }
  .chooser-header { flex-wrap: wrap; gap: 14px; padding-bottom: 0; }
  .brand img { width: 40px; height: 40px; border-radius: 13px; }
  .brand span { font-size: 15px; }
  .languages { width: 100%; justify-content: space-between; }
  .languages a { display: grid; flex: 1; min-width: 0; min-height: 40px; place-items: center; padding: 6px 5px; }
  .hero { padding: 30px 2px 22px; }
  .eyebrow { margin-bottom: 14px; font-size: 10px; }
  .hero h1 { font-size: clamp(31px, 8.5vw, 45px); line-height: 1.12; }
  .lead { margin-top: 14px; font-size: 14px; line-height: 1.58; }
  .platform-list { grid-template-columns: 1fr; gap: 10px; }
  .platform-card { grid-template-columns: 52px minmax(0, 1fr) 38px; min-height: 82px; padding: 11px 12px; border-radius: 20px; }
  .platform-icon { width: 52px; height: 52px; }
  .platform-copy b { font-size: 16px; }
  .platform-copy span { font-size: 12px; }
  .trust { padding: 17px 8px 0; font-size: 11px; }
}
@media (max-width: 360px) {
  .hero h1 { font-size: 30px; }
  .platform-card { grid-template-columns: 48px minmax(0, 1fr) 34px; gap: 9px; }
  .platform-icon { width: 48px; height: 48px; border-radius: 14px; }
  .arrow { width: 34px; height: 34px; }
}

@media (prefers-reduced-motion: no-preference) {
  .visual-ready [data-reveal] { opacity: 0; transform: translateY(18px); }
  .visual-ready [data-reveal].is-visible { opacity: 1; transform: translateY(0); transition: opacity .82s var(--ease), transform .82s var(--ease); }
  .visual-ready .hero h1.is-visible { transition-delay: .06s; }
  .visual-ready .hero .lead.is-visible { transition-delay: .12s; }
  .visual-ready .platform-card:nth-child(2).is-visible { transition-delay: .08s; }
  .visual-ready .platform-card:nth-child(3).is-visible { transition-delay: .16s; }
  .visual-ready .platform-card:nth-child(4).is-visible { transition-delay: .24s; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .languages { background: #272638; }
  .platform-card { background: #242436; }
  .website { background: #49355f; }
}
