:root {
  --paper: #faf8f0;
  --paper-deep: #f2eee2;
  --ink: #24322e;
  --muted: #586b62;
  --line: rgba(36, 50, 46, 0.13);
  --blue: #3b66f0;
  --orange: #fa6e40;
  --green: #80b49e;
  --yellow: #f4c854;
  --pink: #de88aa;
  --white: #fffef9;
  --shadow: 0 28px 80px rgba(36, 50, 46, 0.12);
  --radius: 32px;
  --content: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(59, 102, 240, 0.09), transparent 24rem),
    radial-gradient(circle at 92% 18%, rgba(250, 110, 64, 0.09), transparent 22rem),
    var(--paper);
  font-family: Inter, ui-rounded, "SF Pro Rounded", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }

.shell {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 18px 0;
  background: rgba(250, 248, 240, 0.84);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(36, 50, 46, 0.13);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-weight: 680;
  font-size: 0.93rem;
}

.nav-links a { transition: color 160ms ease; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--ink); }

.language-picker {
  position: relative;
}

.language-picker select {
  appearance: none;
  min-height: 42px;
  padding: 0 38px 0 15px;
  color: var(--ink);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%2324322e' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 750;
  cursor: pointer;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  align-items: center;
  gap: clamp(56px, 8vw, 112px);
  min-height: 790px;
  padding: 84px 0 96px;
}

.hero > * { min-width: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 24px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  content: "";
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 13px 0 0 var(--blue);
  margin-right: 12px;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(3.7rem, 7vw, 6.7rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 820;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button.primary { color: white; background: var(--ink); border-color: var(--ink); box-shadow: 0 14px 30px rgba(36, 50, 46, 0.18); }
.button.secondary { background: rgba(255, 254, 249, 0.72); }

.hero-note {
  display: flex;
  gap: 22px;
  margin-top: 32px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.hero-note span::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  content: "";
  background: var(--green);
  border-radius: 50%;
  vertical-align: 1px;
}

.hero-visual {
  position: relative;
  min-height: 620px;
}

.phone-stage {
  position: absolute;
  inset: 0 28px 0 0;
  overflow: hidden;
  background: linear-gradient(145deg, #e4ecce, #d8e6df 62%, #fce8da);
  border: 1px solid rgba(36, 50, 46, 0.08);
  border-radius: 48px;
  box-shadow: var(--shadow);
}

.phone-stage::before,
.phone-stage::after {
  position: absolute;
  content: "";
  border-radius: 50%;
  filter: blur(1px);
}

.phone-stage::before { width: 190px; height: 190px; left: -55px; bottom: 55px; background: rgba(59, 102, 240, 0.18); }
.phone-stage::after { width: 140px; height: 140px; right: -25px; top: 50px; background: rgba(250, 110, 64, 0.19); }

.phone {
  position: absolute;
  z-index: 2;
  width: min(68%, 340px);
  left: 50%;
  top: 60px;
  padding: 8px;
  background: var(--ink);
  border-radius: 47px;
  box-shadow: 0 28px 70px rgba(36, 50, 46, 0.28);
  transform: translateX(-50%) rotate(2.2deg);
}

.phone img { border-radius: 40px; }

.mascots {
  position: absolute;
  z-index: 3;
  width: 230px;
  right: -16px;
  bottom: 10px;
  filter: drop-shadow(0 22px 20px rgba(36, 50, 46, 0.16));
  transform: rotate(-5deg);
}

.floating-pill {
  position: absolute;
  z-index: 4;
  left: -22px;
  top: 120px;
  padding: 13px 18px;
  background: rgba(255, 254, 249, 0.94);
  border: 1px solid rgba(36, 50, 46, 0.08);
  border-radius: 999px;
  box-shadow: 0 18px 38px rgba(36, 50, 46, 0.14);
  font-weight: 820;
  transform: rotate(-4deg);
}

.section { padding: 112px 0; }

.section-kicker {
  margin-bottom: 14px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section h2 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.section-lead {
  max-width: 700px;
  margin-bottom: 54px;
  color: var(--muted);
  font-size: 1.12rem;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.game-card {
  min-height: 260px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(36, 50, 46, 0.08);
  border-radius: 28px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.game-card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(36, 50, 46, 0.09); }
.game-card:nth-child(1) { background: #e7ecfc; }
.game-card:nth-child(2) { background: #fce8da; }
.game-card:nth-child(3) { background: #deeae5; }
.game-card:nth-child(4) { background: #f5dfe7; }
.game-card:nth-child(5) { background: #f7edc9; }
.game-card:nth-child(6) { background: #e8e5f5; }

.game-number { color: rgba(36, 50, 46, 0.45); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; }
.game-card h3 { margin: 14px 0 4px; font-size: 1.45rem; letter-spacing: -0.035em; }
.game-card p { color: var(--muted); font-size: 0.92rem; }

.game-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin-top: 34px;
  color: white;
  background: var(--blue);
  border-radius: 24px;
  font-size: 2.2rem;
  font-weight: 900;
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.06);
}

.game-card:nth-child(2) .game-mark { background: var(--orange); }
.game-card:nth-child(3) .game-mark { color: var(--ink); background: #fffef9; }
.game-card:nth-child(4) .game-mark { background: var(--pink); }
.game-card:nth-child(5) .game-mark { color: var(--ink); background: var(--yellow); }
.game-card:nth-child(6) .game-mark { background: #8068c8; }

.feature-band {
  overflow: hidden;
  background: var(--ink);
  border-radius: 44px;
  color: white;
}

.feature-inner {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  min-height: 650px;
}

.feature-copy { padding: clamp(48px, 7vw, 88px); align-self: center; }
.feature-copy .section-kicker { color: #a8c2b6; }
.feature-copy h2 { color: white; }
.feature-copy p { color: rgba(255, 255, 255, 0.63); }

.mode-list { display: grid; gap: 12px; margin-top: 36px; }
.mode {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
}
.mode-icon { display: grid; place-items: center; width: 44px; height: 44px; background: white; border-radius: 14px; color: var(--ink); font-weight: 900; }
.mode strong { display: block; }
.mode small { color: rgba(255, 255, 255, 0.58); }

.phone-pair { position: relative; min-height: 650px; background: linear-gradient(160deg, rgba(59,102,240,.55), rgba(250,110,64,.42)); }
.phone-pair img {
  position: absolute;
  width: 47%;
  padding: 7px;
  background: #17221f;
  border-radius: 38px;
  box-shadow: 0 34px 60px rgba(0,0,0,.28);
}
.phone-pair img:first-child { left: 9%; top: 90px; transform: rotate(-6deg); }
.phone-pair img:last-child { right: 7%; top: 42px; transform: rotate(6deg); }
.phone-pair img { clip-path: inset(0 round 38px); }

.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trust-card { padding: 30px; background: rgba(255,254,249,.76); border: 1px solid var(--line); border-radius: 26px; }
.trust-card strong { display: block; margin-bottom: 9px; font-size: 1.15rem; }
.trust-card p { margin-bottom: 0; color: var(--muted); }

.language-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding-top: 28px;
}
.language-chip { padding: 9px 15px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .86rem; font-weight: 750; }

.cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  margin: 30px auto 110px;
  padding: clamp(38px, 6vw, 72px);
  background: #e4ecce;
  border: 1px solid rgba(36, 50, 46, 0.08);
  border-radius: 40px;
}
.cta h2 { margin-bottom: 10px; font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1; letter-spacing: -.05em; }
.cta p { margin-bottom: 0; color: var(--muted); }

.site-footer { padding: 34px 0 48px; border-top: 1px solid var(--line); }
.footer-row { display: flex; justify-content: space-between; gap: 24px; align-items: center; color: var(--muted); font-size: .86rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a:hover { color: var(--ink); }

.legal-hero { padding: 90px 0 58px; }
.legal-hero h1 { max-width: 850px; margin-bottom: 20px; font-size: clamp(3.2rem, 7vw, 6rem); }
.legal-hero p { max-width: 660px; color: var(--muted); font-size: 1.12rem; }

.language-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.language-tab { padding: 9px 15px; color: var(--muted); background: var(--white); border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 750; }
.language-tab[aria-pressed="true"] { color: white; background: var(--ink); border-color: var(--ink); }

.legal-wrap { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 80px; align-items: start; padding-bottom: 120px; }
.legal-aside { position: sticky; top: 112px; padding: 22px; background: rgba(255,254,249,.76); border: 1px solid var(--line); border-radius: 22px; }
.legal-aside strong { display: block; margin-bottom: 8px; }
.legal-aside p { margin: 0; color: var(--muted); font-size: .88rem; word-break: break-word; }
.legal-aside a { color: var(--blue); }
.legal-article { padding: 40px; background: rgba(255,254,249,.82); border: 1px solid var(--line); border-radius: 30px; box-shadow: 0 22px 60px rgba(36,50,46,.06); }
.legal-article[hidden] { display: none; }
.legal-article h2 { margin-bottom: 8px; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.045em; }
.legal-article .updated { margin-bottom: 34px; color: var(--muted); font-size: .9rem; }
.legal-article h3 { margin-top: 34px; margin-bottom: 8px; font-size: 1.18rem; }
.legal-article p, .legal-article li { color: #4d5c57; }
.legal-article ul { padding-left: 20px; }
.legal-article a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

.contact-card { margin-top: 30px; padding: 24px; background: #e7ecfc; border-radius: 20px; }
.contact-card p { margin-bottom: 12px; }
.contact-card .button { color: white; background: var(--blue); border: 0; text-decoration: none; }

@media (max-width: 900px) {
  .nav { flex-wrap: wrap; gap: 12px 22px; }
  .nav-links { order: 3; justify-content: center; width: 100%; gap: 24px; }
  .hero { grid-template-columns: 1fr; padding-top: 60px; }
  .hero-visual { min-height: 650px; }
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-inner { grid-template-columns: 1fr; }
  .feature-copy { order: 2; }
  .phone-pair { min-height: 570px; }
  .trust-grid { grid-template-columns: 1fr; }
  .legal-wrap { grid-template-columns: 1fr; gap: 20px; }
  .legal-aside { position: static; }
}

@media (max-width: 600px) {
  .shell { width: min(calc(100% - 28px), var(--content)); }
  .site-header { padding: 12px 0; }
  .brand span { display: none; }
  .language-picker select { max-width: 132px; }
  .hero { min-height: auto; padding: 54px 0 72px; gap: 44px; }
  h1 { font-size: clamp(3.3rem, 18vw, 5.1rem); }
  .actions { align-items: stretch; flex-direction: column; }
  .actions .button { width: 100%; }
  .hero-note { flex-direction: column; gap: 6px; }
  .hero-visual { min-height: 540px; }
  .phone-stage { right: 8px; border-radius: 34px; }
  .phone { top: 45px; width: 72%; border-radius: 38px; }
  .phone img { border-radius: 31px; }
  .mascots { width: 170px; right: -10px; }
  .floating-pill { left: -8px; top: 82px; font-size: .78rem; }
  .section { padding: 78px 0; }
  .game-grid { grid-template-columns: 1fr; }
  .game-card { min-height: 230px; }
  .feature-band { border-radius: 30px; }
  .phone-pair { min-height: 420px; }
  .phone-pair img { border-radius: 28px; }
  .cta { grid-template-columns: 1fr; margin-bottom: 72px; border-radius: 28px; }
  .footer-row { align-items: flex-start; flex-direction: column; }
  .legal-hero { padding-top: 56px; }
  .legal-article { padding: 26px 20px; border-radius: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
section[id] { scroll-margin-top: 150px; }
.nav-links a { min-height: 44px; display: inline-flex; align-items: center; }
.nav-links [aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 7px; }
.game-number { display: flex; justify-content: space-between; align-items: center; color: var(--muted); }
.access-badge { padding: 4px 10px; background: rgba(255,255,255,.6); border-radius: 30px; font-size: .68rem; letter-spacing: .03em; }
.plus-section { background: var(--paper-deep); border-block: 1px solid var(--line); }
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.plan { padding: clamp(26px, 4vw, 46px); background: var(--white); border: 1px solid var(--line); border-radius: 32px; }
.plan.plus { background: #e4ecce; }
.plan-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.plan h3 { font-size: 2rem; letter-spacing: -.04em; margin: 0; }
.plan .plan-note { margin: 20px 0 24px; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 24px 0; }
.plan li { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.plan li::before { content: '✓'; color: #356348; font-weight: 800; }
.plan .button { margin-top: 14px; }
.plan-footnote { max-width: 800px; margin: 28px 0 0; font-size: .92rem; color: var(--muted); }
.legal-article details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.legal-article summary { cursor: pointer; font-weight: 750; font-size: 1.1rem; padding: 6px 0; }
.legal-article details p { margin: 16px 0 0; }
.legal-article details[open] summary { color: #356348; }
.legal-aside a, .footer-links a { overflow-wrap: anywhere; }
.skip-link { position: fixed; z-index: 100; top: -100px; left: 16px; padding: 12px 20px; background: var(--ink); color: white; border-radius: 12px; }
.skip-link:focus { top: 12px; }
@media (max-width: 680px) {
  .plan-grid { grid-template-columns: 1fr; }
  .nav-links { gap: 18px; font-size: .84rem; }
  .plan h3 { font-size: 1.7rem; }
  .legal-hero h1 { font-size: clamp(2.5rem, 11vw, 4rem); line-height: 1.1; }
}
