:root {
  --ink: #071b45;
  --ink-deep: #04122e;
  --blue: #1455ff;
  --blue-light: #dce8ff;
  --yellow: #ffd32a;
  --orange: #ff8b24;
  --paper: #f6f7fb;
  --white: #ffffff;
  --muted: #62708a;
  --line: rgba(7, 27, 69, 0.14);
  --radius-xl: 34px;
  --radius-lg: 22px;
  --shadow: 0 20px 55px rgba(4, 18, 46, 0.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 14px;
  background: var(--yellow);
  border-radius: 8px;
  font-weight: 800;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  z-index: 5;
  top: 0;
  width: 100%;
  padding: 22px 0;
  color: var(--white);
}

.header-inner,
.container {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-weight: 950;
  font-size: 18px;
  letter-spacing: -0.06em;
}

.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 50% 50% 8px 50%;
  font-size: 17px;
  line-height: 1;
  transform: rotate(-8deg);
}

.brand small {
  margin-left: 2px;
  font-size: 9px;
  letter-spacing: 0.13em;
  opacity: 0.75;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 750;
}

.navigation a { text-decoration: none; }
.navigation a:hover, .footer-links a:hover { text-decoration: underline; }

.hero {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  padding: 150px 0 80px;
  color: var(--white);
  background: var(--ink-deep);
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero::before {
  width: min(64vw, 850px);
  aspect-ratio: 1;
  right: -11vw;
  top: -160px;
  border: 54px solid var(--blue);
  border-radius: 42% 58% 58% 42%;
  opacity: 0.98;
  transform: rotate(17deg);
}

.hero::after {
  width: 110px;
  height: 110px;
  right: 12%;
  bottom: 83px;
  background: var(--yellow);
  border-radius: 50% 50% 50% 7px;
  transform: rotate(25deg);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  min-height: 470px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  width: 18px;
  height: 3px;
  content: "";
  background: currentColor;
}

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

.hero h1 {
  max-width: 720px;
  margin-bottom: 25px;
  font-size: clamp(54px, 7.8vw, 106px);
  font-weight: 950;
  letter-spacing: -0.082em;
  line-height: 0.89;
}

.hero h1 em { color: var(--yellow); font-style: normal; }

.hero-copy {
  max-width: 510px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.5;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 49px;
  padding: 13px 19px;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover { transform: translateY(-3px); background: #ffe269; }
.button-arrow { font-size: 20px; line-height: 0; }

.character {
  position: relative;
  justify-self: center;
  width: min(100%, 410px);
  aspect-ratio: 0.93;
  margin: 30px 0 0;
}

.character .head {
  position: absolute;
  z-index: 2;
  top: 8%;
  left: 29%;
  width: 47%;
  aspect-ratio: 1;
  background: var(--orange);
  border: 12px solid var(--ink);
  border-radius: 48% 52% 44% 56%;
  transform: rotate(-9deg);
}

.character .eye { position: absolute; z-index: 3; width: 15px; height: 24px; background: var(--ink); border-radius: 50%; }
.character .eye.left { top: 33%; left: 46%; }
.character .eye.right { top: 30%; left: 62%; }

.character .smile {
  position: absolute;
  z-index: 3;
  top: 46%;
  left: 49%;
  width: 64px;
  height: 36px;
  border-bottom: 9px solid var(--ink);
  border-radius: 0 0 75px 75px;
  transform: rotate(-8deg);
}

.character .body {
  position: absolute;
  right: 12%;
  bottom: 0;
  width: 67%;
  height: 62%;
  background: var(--yellow);
  border: 12px solid var(--ink);
  border-radius: 55% 48% 20% 20%;
  transform: rotate(4deg);
}

.character .arm { position: absolute; z-index: 3; width: 33%; height: 22%; background: var(--orange); border: 11px solid var(--ink); border-radius: 100px; }
.character .arm.left { top: 53%; left: 0; transform: rotate(-33deg); }
.character .arm.right { top: 59%; right: 0; transform: rotate(32deg); }

.character .star {
  position: absolute;
  z-index: 4;
  right: 4%;
  top: 3%;
  color: var(--yellow);
  font-size: 86px;
  line-height: 1;
  transform: rotate(14deg);
}

.ticker {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  white-space: nowrap;
}

.ticker span { margin-right: 27px; font-size: 12px; font-weight: 850; letter-spacing: 0.13em; text-transform: uppercase; }
.ticker b { color: var(--yellow); font-size: 14px; }

.section { padding: 112px 0; }
.section-white { background: var(--white); }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 45px;
}

.section-kicker { margin-bottom: 16px; color: var(--blue); }

.section h2 {
  max-width: 700px;
  margin-bottom: 0;
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 950;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.section-lead {
  max-width: 340px;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

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

.card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.card:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.card-icon { display: grid; width: 52px; height: 52px; place-items: center; margin-bottom: 57px; border-radius: 16px; background: var(--blue-light); color: var(--blue); font-size: 27px; }
.card:nth-child(2) .card-icon { background: #fff3c4; color: #b86b00; }
.card:nth-child(3) .card-icon { background: #ffe3d0; color: #ce4d00; }
.card h3 { margin-bottom: 9px; font-size: 23px; letter-spacing: -0.045em; }
.card p { margin-bottom: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

.play-section { overflow: hidden; padding: 90px 0; background: var(--blue); color: var(--white); }
.play-layout { display: grid; grid-template-columns: 1fr 0.84fr; align-items: center; gap: 40px; }
.play-section .section-kicker { color: var(--yellow); }
.play-section h2 { max-width: 680px; }
.play-copy { max-width: 555px; margin: 24px 0 0; color: rgba(255, 255, 255, 0.8); font-size: 18px; line-height: 1.55; }

.orbit { position: relative; justify-self: center; width: 295px; height: 295px; border: 2px solid rgba(255, 255, 255, 0.4); border-radius: 50%; }
.orbit::before, .orbit::after { position: absolute; display: grid; place-items: center; border-radius: 50%; font-size: 44px; content: ""; }
.orbit::before { top: -17px; right: 34px; width: 86px; height: 86px; background: var(--yellow); content: "✦"; color: var(--ink); transform: rotate(15deg); }
.orbit::after { bottom: 4px; left: -26px; width: 100px; height: 100px; background: var(--orange); content: "●"; color: var(--ink); }
.orbit-center { display: grid; width: 146px; height: 146px; place-items: center; position: absolute; inset: 0; margin: auto; border-radius: 46% 54% 54% 46%; background: var(--ink); color: var(--white); font-size: 30px; font-weight: 950; letter-spacing: -0.09em; transform: rotate(-11deg); }

.legal-teaser { padding: 88px 0; background: var(--paper); }
.legal-teaser-inner { display: flex; align-items: center; justify-content: space-between; gap: 34px; padding: 41px 46px; border-radius: var(--radius-xl); background: var(--ink); color: var(--white); }
.legal-teaser h2 { max-width: 510px; margin-bottom: 0; font-size: clamp(30px, 4vw, 49px); font-weight: 900; letter-spacing: -0.06em; line-height: 0.96; }
.legal-links { display: flex; flex-wrap: wrap; gap: 10px; }
.legal-links .button { background: transparent; border-color: rgba(255,255,255,0.4); color: var(--white); }
.legal-links .button:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }

.site-footer { padding: 35px 0; background: var(--ink-deep); color: rgba(255, 255, 255, 0.73); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-inner .brand { color: var(--white); }
.footer-copy { margin: 0; font-size: 13px; }
.footer-links { display: flex; gap: 18px; font-size: 13px; }
.footer-links a { color: inherit; text-decoration: none; }

.legal-hero { position: relative; overflow: hidden; padding: 160px 0 82px; background: var(--ink-deep); color: var(--white); }
.legal-hero::after { position: absolute; right: -80px; bottom: -105px; width: 320px; height: 320px; border: 42px solid var(--blue); border-radius: 50%; content: ""; }
.legal-hero .container { position: relative; z-index: 1; }
.legal-hero h1 { max-width: 720px; margin-bottom: 18px; font-size: clamp(50px, 7vw, 90px); font-weight: 950; letter-spacing: -0.075em; line-height: 0.9; }
.legal-hero p { max-width: 560px; margin-bottom: 0; color: rgba(255, 255, 255, 0.72); font-size: 17px; line-height: 1.5; }
.updated { margin-top: 25px !important; color: var(--yellow) !important; font-size: 13px !important; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }

.legal-page { padding: 76px 0 110px; background: var(--white); }
.legal-content { width: min(780px, 100%); }
.legal-content .intro { margin-bottom: 42px; color: var(--muted); font-size: 20px; line-height: 1.55; }
.legal-content h2 { margin: 47px 0 15px; font-size: 29px; letter-spacing: -0.045em; }
.legal-content p, .legal-content li { color: #43516b; font-size: 16px; line-height: 1.7; }
.legal-content ul { padding-left: 23px; }
.legal-content li + li { margin-top: 6px; }
.legal-content a { color: var(--blue); font-weight: 700; }

.not-found { min-height: 100vh; display: grid; place-items: center; padding: 40px 24px; color: var(--white); background: var(--ink-deep); text-align: center; }
.not-found-box { max-width: 640px; }
.not-found h1 { margin: 22px 0; color: var(--yellow); font-size: clamp(100px, 20vw, 220px); line-height: 0.72; letter-spacing: -0.11em; }
.not-found p { max-width: 430px; margin: 0 auto 32px; color: rgba(255,255,255,0.74); font-size: 18px; line-height: 1.5; }

@media (max-width: 820px) {
  .hero { min-height: 660px; }
  .hero-grid, .play-layout { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; }
  .character { position: absolute; width: 270px; right: -28px; bottom: -2px; opacity: 0.95; }
  .hero::before { right: -200px; top: 295px; width: 540px; border-width: 35px; }
  .hero::after { right: 25%; bottom: 70px; width: 65px; height: 65px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .card-icon { margin-bottom: 28px; }
  .section-heading, .legal-teaser-inner { display: block; }
  .section-lead { margin-top: 20px; }
  .orbit { margin-top: 15px; }
  .legal-teaser h2 { margin-bottom: 25px; }
}

@media (max-width: 560px) {
  .header-inner, .container { width: min(100% - 32px, 1160px); }
  .site-header { padding: 18px 0; }
  .navigation { gap: 15px; font-size: 12px; }
  .brand small { display: none; }
  .hero { min-height: 0; padding: 127px 0 0; }
  .hero-grid { display: block; }
  .hero h1 { max-width: 330px; font-size: 59px; }
  .hero-copy { max-width: 310px; font-size: 16px; }
  .character { position: relative; right: auto; bottom: auto; width: 205px; margin: 28px -5px -12px auto; }
  .hero::before { top: 440px; }
  .hero::after { right: 18%; bottom: 42px; }
  .ticker { position: relative; margin-top: 0; }
  .ticker span { font-size: 10px; }
  .section, .legal-page { padding: 72px 0; }
  .play-section, .legal-teaser { padding: 72px 0; }
  .section h2 { font-size: 40px; }
  .legal-teaser-inner { padding: 31px 25px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .legal-hero { padding: 125px 0 60px; }
  .legal-content .intro { font-size: 18px; }
}
