/* Evolve Arena — theevolve.app
   Navy + gold, chunky "toy" buttons, sky/stone light sections between navy ones. */

:root {
  --navy-950: #050a24;
  --navy-900: #0a1238;
  --navy-800: #101c52;
  --navy-700: #1a2b7c;
  --royal: #2b52e6;
  --royal-2: #4a7bff;
  --sky-top: #a9d6ff;
  --sky-mid: #dff0ff;
  --stone: #fff6e6;
  --stone-2: #fde9c4;
  --gold-1: #ffeb8f;
  --gold-2: #ffc531;
  --gold-3: #ff9f0a;
  --gold-4: #9a4a00;
  --ink: #0b1033;
  --ink-2: #3c4675;
  --white: #fff;
  --display: "Lilita One", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --body: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --nav-h: 68px;
  --radius: 22px;
  --edge: 3px solid var(--navy-950);
  --lift: 0 6px 0 var(--navy-950);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--body);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold-2); color: var(--ink); padding: 10px 14px; border-radius: 10px; font-weight: 900; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }

.ic { width: 1.15em; height: 1.15em; flex: none; }
.wrap { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 24px; }

/* ---------- Section skins ---------- */
section { position: relative; padding: 104px 0; }
.sky, .stone { color: var(--ink); }
.sky { background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 55%, var(--stone) 100%); }
.stone {
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(255,255,255,.9), transparent 70%),
    var(--stone);
}
.sky p, .stone p { color: var(--ink-2); }

.title {
  font-family: var(--display);
  font-size: clamp(36px, 5.2vw, 64px);
  line-height: 1.02;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin-bottom: 18px;
  text-shadow: 0 4px 0 rgba(5, 10, 36, .55);
}
.sky .title, .stone .title { color: var(--navy-900); text-shadow: 0 3px 0 rgba(10, 18, 56, .14); }
.gold {
  background: linear-gradient(180deg, var(--gold-1) 0%, var(--gold-2) 48%, var(--gold-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 0 var(--gold-4));
  text-shadow: none;
  padding: 0 .04em;
}
.kicker {
  display: inline-block;
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
  color: var(--gold-2);
  background: rgba(255, 197, 49, .12);
  border: 2px solid rgba(255, 197, 49, .35);
}
.sky .kicker, .stone .kicker { color: var(--royal); background: rgba(43, 82, 230, .1); border-color: rgba(43, 82, 230, .28); }
.section-head { max-width: 760px; margin: 0 auto 52px; }
.section-head.center { text-align: center; }
.section-head p { font-size: 19px; color: rgba(255,255,255,.8); }
.sky .section-head p, .stone .section-head p { color: var(--ink-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 19px;
  letter-spacing: .03em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.05;
  padding: 14px 24px;
  border-radius: 16px;
  border: var(--edge);
  box-shadow: 0 5px 0 var(--navy-950), inset 0 3px 0 rgba(255,255,255,.55), inset 0 -5px 0 rgba(0,0,0,.16);
  transition: transform .12s ease, box-shadow .12s ease, filter .2s ease;
  white-space: nowrap;
}
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--navy-950), inset 0 3px 0 rgba(255,255,255,.4), inset 0 -3px 0 rgba(0,0,0,.16); }
.btn-gold { background: linear-gradient(180deg, #ffe46b 0%, #ffc12a 55%, #ffa514 100%); color: var(--navy-950); }
.btn-blue { background: linear-gradient(180deg, #6aaeff 0%, #3b6cf2 55%, #2448c9 100%); color: #fff; text-shadow: 0 2px 0 rgba(5,10,36,.45); }
.btn-sm { font-size: 16px; padding: 9px 16px; border-radius: 13px; box-shadow: 0 4px 0 var(--navy-950), inset 0 2px 0 rgba(255,255,255,.55), inset 0 -4px 0 rgba(0,0,0,.16); }
.btn-lg { padding: 12px 26px; font-size: 21px; min-height: 64px; }
.btn small { display: block; font-family: var(--body); font-weight: 800; font-size: 11px; letter-spacing: .02em; text-transform: none; opacity: .8; }
.btn-lg .ic { width: 26px; height: 26px; }

.round-btn {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: var(--edge);
  background: linear-gradient(180deg, #fff, #dfe8ff);
  color: var(--navy-900);
  box-shadow: 0 4px 0 var(--navy-950);
  transition: transform .12s ease, box-shadow .12s ease;
}
.round-btn:hover { transform: translateY(-1px); }
.round-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--navy-950); }
.round-btn .ic { width: 24px; height: 24px; }

.appstore {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 20px 10px 16px;
  min-height: 58px;
  background: #000; color: #fff;
  border-radius: 14px;
  border: 2px solid rgba(255,255,255,.18);
  text-decoration: none;
  font-weight: 800; font-size: 22px; line-height: 1.05;
  transition: transform .15s ease;
}
.appstore:hover { transform: translateY(-2px); }
.appstore .ic { width: 30px; height: 30px; }
.appstore small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; opacity: .85; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--nav-h);
  background: rgba(8, 14, 46, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 3px solid var(--gold-2);
  box-shadow: 0 6px 24px rgba(0,0,0,.25);
}
.nav-inner { height: 100%; max-width: 1320px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 40px; height: 40px; border-radius: 11px; border: 2px solid var(--navy-950); box-shadow: 0 3px 0 var(--navy-950); }
.brand-word { font-family: var(--display); font-size: 24px; letter-spacing: .02em; text-transform: uppercase; line-height: 1; display: inline-flex; gap: 6px; }
.brand-word b { font-weight: 400; color: #fff; }
.brand-word i { font-style: normal; color: var(--gold-2); }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  font-family: var(--display); font-size: 16px; letter-spacing: .05em; text-transform: uppercase;
  text-decoration: none; color: rgba(255,255,255,.86);
  padding: 8px 12px; border-radius: 10px;
  transition: color .15s ease, background .15s ease;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--gold-2); background: rgba(255,255,255,.06); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; margin-left: 4px; width: 46px; height: 46px; border-radius: 12px; border: 2px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); place-items: center; }
.nav-toggle .ic { width: 26px; height: 26px; }
.nav-toggle .ic-close { display: none; }

/* ---------- Key art ---------- */
.keyart { padding: 0; margin-top: var(--nav-h); background: var(--navy-900); }
.keyart-img { width: 100%; height: auto; max-height: calc(100vh - var(--nav-h) - 96px); min-height: 360px; object-fit: cover; object-position: center 42%; }
.keyart-fade { position: absolute; left: 0; right: 0; bottom: 96px; height: 70px; background: linear-gradient(180deg, transparent, rgba(10,18,56,.55)); pointer-events: none; }
.keyart-ribbon {
  position: relative;
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 18px;
  min-height: 96px; padding: 14px 20px 18px;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 18px, transparent 18px 36px),
    linear-gradient(180deg, var(--navy-800), var(--navy-900));
  border-top: 3px solid var(--gold-2);
}
.ribbon-tag {
  font-family: var(--display); text-transform: uppercase; letter-spacing: .08em; font-size: 15px;
  color: var(--gold-2);
  padding: 6px 12px; border-radius: 999px; border: 2px solid rgba(255,197,49,.4);
}

/* ---------- Intro ---------- */
.intro { overflow: hidden; }
.intro-grid { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: 72px; align-items: center; }
.intro-copy p { font-size: 19px; max-width: 600px; }
.intro-copy p b { color: var(--navy-900); }
.facts { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 620px; }
.facts li {
  background: #fff; border: var(--edge); border-radius: 18px; box-shadow: 0 5px 0 var(--navy-950);
  padding: 12px 10px 14px; text-align: center; color: var(--ink-2); font-size: 13.5px; line-height: 1.2;
}
.facts b {
  display: block; font-family: var(--display); font-weight: 400; font-size: 42px; line-height: 1;
  color: var(--royal); text-shadow: 0 3px 0 rgba(10,18,56,.15); margin-bottom: 4px;
}
.store-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.store-note { color: var(--ink-2); font-weight: 800; font-size: 15px; }

.phone { position: relative; width: 100%; max-width: 340px; margin: 0 auto; }
.phone-screen {
  position: relative;
  aspect-ratio: 620 / 1347;
  border-radius: 48px;
  padding: 11px;
  background: linear-gradient(160deg, #2b3366, #0a0f26 40%, #1a1f42);
  border: 3px solid var(--navy-950);
  box-shadow: 0 8px 0 var(--navy-950), 0 40px 70px -20px rgba(10,18,56,.55), inset 0 0 0 2px rgba(255,255,255,.12);
  overflow: hidden;
}
.phone-screen::after {
  content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 31%; height: 3.2%; border-radius: 999px; background: #000; z-index: 2;
}
.phone-screen img {
  position: absolute; inset: 11px; width: calc(100% - 22px); height: calc(100% - 22px);
  object-fit: cover; border-radius: 38px;
  opacity: 0; transition: opacity .7s ease;
}
.phone-screen img.is-on { opacity: 1; }
.phone-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.phone-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(10,18,56,.22); transition: background .3s ease, width .3s ease; }
.phone-dots i.is-on { width: 26px; border-radius: 999px; background: var(--royal); }

.clouds { position: absolute; inset: 0; pointer-events: none; }
.cloud { position: absolute; opacity: .9; }
.cloud.c1 { width: 520px; top: 40px; right: -120px; animation: drift 46s linear infinite alternate; }
.cloud.c2 { width: 220px; bottom: 60px; left: -40px; opacity: .7; animation: drift 38s linear infinite alternate-reverse; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-80px); } }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.news-card {
  display: flex; flex-direction: column;
  text-decoration: none; color: var(--ink);
  background: #fff;
  border: var(--edge); border-radius: var(--radius);
  box-shadow: var(--lift);
  padding: 12px 12px 20px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.news-card:hover { transform: translateY(-5px); box-shadow: 0 11px 0 var(--navy-950); }
.news-card h3 { font-family: var(--display); font-size: 23px; line-height: 1.08; text-transform: uppercase; color: var(--navy-900); margin: 4px 8px 8px; }
.news-card p { font-size: 15px; line-height: 1.45; margin: 0 8px; color: var(--ink-2); }
.news-art { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; margin-bottom: 14px; border: 2px solid var(--navy-950); }
.news-art > img { width: 100%; height: 100%; object-fit: cover; }
.art-mode { background: radial-gradient(90% 90% at 50% 100%, var(--c1), var(--c2)); }
.art-mode::before, .art-gift::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-conic-gradient(from 0deg at 50% 110%, rgba(255,255,255,.12) 0 8deg, transparent 8deg 20deg);
}
.art-mode .pose { position: absolute; bottom: -18%; height: 118%; width: auto; filter: drop-shadow(0 6px 10px rgba(0,0,0,.35)); transition: transform .35s ease; }
.art-mode .p1 { left: 6%; }
.art-mode .p2 { right: 6%; transform: scaleX(-1); }
.news-card:hover .art-mode .p1 { transform: translateY(-4px) rotate(-2deg); }
.art-label {
  position: absolute; left: 50%; top: 10px; transform: translateX(-50%);
  font-family: var(--display); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  color: #fff; background: rgba(5,10,36,.55); padding: 3px 10px; border-radius: 999px;
}
.art-gift { background: radial-gradient(80% 90% at 50% 100%, #5aa2ff, #1d3fae); display: grid; place-items: center; }
.chest-pop { position: relative; width: 62%; filter: drop-shadow(0 10px 14px rgba(0,0,0,.35)); animation: bob 3.2s ease-in-out infinite; }
.tag {
  align-self: flex-start; margin: 0 8px 6px;
  font-family: var(--display); font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 12px; border-radius: 999px; color: #fff; border: 2px solid var(--navy-950);
}
.tag-gold { background: linear-gradient(180deg, #ffd85a, #ffad1f); color: var(--navy-950); }
.tag-pink { background: #ff4f9a; }
.tag-purple { background: #8b5cf6; }
.tag-blue { background: var(--royal); }

/* ---------- Heroes ---------- */
.heroes {
  --cls: #ff7a2f;
  overflow: hidden;
  background:
    radial-gradient(70% 60% at 30% 55%, color-mix(in srgb, var(--cls) 34%, transparent), transparent 70%),
    radial-gradient(50% 50% at 90% 10%, rgba(74,123,255,.25), transparent 70%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  transition: background .6s ease;
}
.heroes-glow { position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 22px, transparent 22px 44px); pointer-events: none; }
.roster { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.roster-stage { position: relative; height: 560px; display: flex; align-items: flex-end; justify-content: center; }
.pedestal { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); width: 72%; height: 92px; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--cls) 70%, white 10%), transparent);
  opacity: .8; }
.pedestal i { position: absolute; inset: 14px 8%; border-radius: 50%; border: 3px solid rgba(255,255,255,.55); box-shadow: 0 0 30px var(--cls), inset 0 0 20px var(--cls); animation: ring 2.6s ease-in-out infinite; }
@keyframes ring { 50% { transform: scale(1.05); opacity: .7; } }
.roster-hero { position: relative; height: 520px; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(0,0,0,.45)); transform-origin: 50% 100%; }
.roster-hero.is-swap { animation: heroIn .45s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes heroIn { from { transform: translateY(24px) scale(.88); opacity: 0; } to { transform: none; opacity: 1; } }
.roster-stage .round-btn { position: absolute; top: 50%; z-index: 2; }
.roster-stage .prev { left: 0; }
.roster-stage .next { right: 0; }
.class-pill {
  display: inline-block; font-family: var(--display); font-size: 15px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--navy-950); background: var(--cls); padding: 5px 14px; border-radius: 999px; border: 2px solid var(--navy-950); box-shadow: 0 3px 0 var(--navy-950);
}
.hero-name { font-family: var(--display); font-size: clamp(56px, 8vw, 96px); line-height: .95; text-transform: uppercase; margin: 14px 0 4px; text-shadow: 0 5px 0 rgba(0,0,0,.4); }
.hero-role { font-family: var(--display); font-size: 21px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 14px; }
.hero-blurb { font-size: 18px; color: rgba(255,255,255,.85); max-width: 540px; min-height: 5.6em; }
.moves { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }
.move { background: rgba(255,255,255,.07); border: 2px solid rgba(255,255,255,.16); border-radius: 18px; padding: 14px 16px; font-size: 14.5px; line-height: 1.4; color: rgba(255,255,255,.78); }
.move b { display: block; font-family: var(--display); font-weight: 400; font-size: 22px; text-transform: uppercase; color: #fff; margin: 2px 0 4px; }
.move-label { display: inline-flex; align-items: center; gap: 4px; font-family: var(--display); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.move-super { border-color: rgba(255,197,49,.55); background: linear-gradient(160deg, rgba(255,197,49,.18), rgba(255,197,49,.04)); }
.move-super .move-label { color: var(--gold-2); }
.roster-picker { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 12px; margin-top: 44px; }
.pick {
  --c: #ff7a2f;
  position: relative; aspect-ratio: 3 / 4; padding: 0; overflow: hidden;
  border: var(--edge); border-radius: 16px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 85%, white 15%), color-mix(in srgb, var(--c) 60%, var(--navy-900)));
  box-shadow: 0 5px 0 var(--navy-950);
  transition: transform .18s ease, box-shadow .18s ease;
}
.pick img { position: absolute; left: 50%; top: 6%; width: 150%; max-width: none; transform: translateX(-50%); filter: drop-shadow(0 4px 4px rgba(0,0,0,.3)); }
.pick span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 4px 2px 5px;
  font-family: var(--display); font-size: 13px; letter-spacing: .04em; text-transform: uppercase;
  background: rgba(5,10,36,.8); color: #fff;
}
.pick:hover { transform: translateY(-4px); }
.pick[aria-selected="true"] { transform: translateY(-6px); box-shadow: 0 0 0 4px var(--gold-2), 0 10px 0 var(--navy-950); }
.pick[aria-selected="true"] span { background: var(--gold-2); color: var(--navy-950); }

/* ---------- Modes ---------- */
.mode-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px 26px; margin-top: 90px; }
.mode {
  position: relative;
  padding: 120px 24px 26px;
  border: var(--edge); border-radius: 24px;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 16px, transparent 16px 32px),
    linear-gradient(165deg, var(--m), var(--m2));
  box-shadow: 0 7px 0 var(--navy-950), inset 0 3px 0 rgba(255,255,255,.35);
  color: #fff;
  transition: transform .2s ease;
}
.mode:hover { transform: translateY(-6px) rotate(-.4deg); }
.mode-art { position: absolute; left: 0; right: 0; top: -78px; height: 190px; display: flex; justify-content: center; align-items: flex-end; pointer-events: none; }
.mode-art .pose { height: 190px; width: auto; margin: 0 -26px; filter: drop-shadow(0 8px 8px rgba(0,0,0,.35)); transition: transform .3s ease; }
.mode-art .pose:nth-child(2) { height: 176px; }
.mode-art .pose:nth-child(3) { height: 168px; transform: scaleX(-1); }
.mode-art .pose:nth-child(2):last-child { transform: scaleX(-1); }
.mode:hover .mode-art .pose:first-child { transform: translateY(-6px); }
.mode-size {
  display: inline-block; font-family: var(--display); font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
  background: #fff; color: var(--m2); padding: 3px 12px; border-radius: 999px; border: 2px solid var(--navy-950);
}
.mode h3 { font-family: var(--display); font-size: 34px; line-height: 1; text-transform: uppercase; margin: 10px 0 8px; text-shadow: 0 3px 0 rgba(5,10,36,.45); }
.mode p { color: rgba(255,255,255,.92); font-size: 16px; line-height: 1.45; margin: 0; }
.party {
  display: flex; align-items: center; gap: 14px; justify-content: center;
  max-width: 720px; margin: 48px auto 0; padding: 16px 22px;
  background: #fff; border: var(--edge); border-radius: 18px; box-shadow: var(--lift);
}
.party .ic { width: 34px; height: 34px; color: var(--royal); }
.party p { margin: 0; font-size: 17px; }
.party b { color: var(--navy-900); }

/* ---------- Training ---------- */
.training {
  background:
    radial-gradient(60% 60% at 85% 30%, rgba(74,123,255,.32), transparent 70%),
    radial-gradient(50% 50% at 10% 90%, rgba(255,197,49,.14), transparent 70%),
    linear-gradient(180deg, var(--navy-800), var(--navy-900));
}
.training-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.training-copy > p { font-size: 19px; color: rgba(255,255,255,.82); max-width: 560px; }
.train-buttons { display: grid; gap: 12px; margin-top: 24px; max-width: 560px; }
.train-btn {
  display: flex; align-items: center; gap: 16px; text-align: left;
  padding: 12px 16px; border-radius: 18px;
  background: rgba(255,255,255,.07); border: 2px solid rgba(255,255,255,.16);
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}
.train-btn .ic { width: 46px; height: 46px; padding: 10px; border-radius: 14px; background: var(--t); color: var(--navy-950); border: 2px solid var(--navy-950); box-shadow: 0 3px 0 var(--navy-950); }
.train-btn span { color: rgba(255,255,255,.72); font-size: 15px; line-height: 1.25; }
.train-btn b { display: block; font-family: var(--display); font-weight: 400; font-size: 21px; text-transform: uppercase; letter-spacing: .03em; color: #fff; }
.train-btn:hover { background: rgba(255,255,255,.12); border-color: var(--t); transform: translateX(4px); }
.train-btn:active { transform: translateX(4px) scale(.98); }
.train-btn.is-pulse .ic { animation: pulse .45s ease; }
@keyframes pulse { 40% { transform: scale(1.18) rotate(-6deg); } }

.power-card {
  position: relative;
  background: linear-gradient(170deg, #1d2f8a, #0e1747);
  border: 3px solid var(--gold-2); border-radius: 28px;
  box-shadow: 0 8px 0 var(--gold-4), 0 40px 80px -30px rgba(0,0,0,.6);
  padding: 26px;
}
.power-top { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.power-top img { width: 96px; height: 96px; object-fit: cover; object-position: 50% 0; border-radius: 22px; background: linear-gradient(180deg, #ff9a5c, #c2410c); border: var(--edge); box-shadow: 0 4px 0 var(--navy-950); }
.power-top h3 { font-family: var(--display); font-size: 30px; text-transform: uppercase; line-height: 1.05; margin: 4px 0 8px; }
.power-lvl { font-family: var(--display); font-size: 14px; letter-spacing: .08em; background: var(--gold-2); color: var(--navy-950); padding: 2px 10px; border-radius: 8px; border: 2px solid var(--navy-950); }
.power-lvl b { font-weight: 400; }
.power-xp { display: block; width: 180px; height: 12px; border-radius: 999px; background: rgba(255,255,255,.14); overflow: hidden; border: 2px solid var(--navy-950); }
.power-xp i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #5bf0ff, #4a7bff); transition: width .5s ease; }
.power-stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.power-stats li { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 12px; font-family: var(--display); font-size: 16px; letter-spacing: .05em; text-transform: uppercase; }
.power-stats i { height: 20px; border-radius: 999px; background: rgba(0,0,0,.35); border: 2px solid var(--navy-950); overflow: hidden; }
.power-stats b { display: block; height: 100%; width: 30%; border-radius: 999px; box-shadow: inset 0 3px 0 rgba(255,255,255,.35); transition: width .6s cubic-bezier(.2, 1.3, .4, 1); }
[data-bar="hp"] b { background: linear-gradient(180deg, #5ef08f, #22a55a); }
[data-bar="dmg"] b { background: linear-gradient(180deg, #ffa064, #ef5a1c); }
[data-bar="spd"] b { background: linear-gradient(180deg, #7ddcff, #1f9be0); }
[data-bar="rel"] b { background: linear-gradient(180deg, #c6a6ff, #7c4dff); }
.power-stats li.is-up span { color: var(--gold-2); }
.power-note { margin: 20px 0 0; font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.4; }
.power-pop { position: absolute; right: 26px; top: 26px; font-family: var(--display); font-size: 28px; color: var(--gold-2); text-shadow: 0 3px 0 var(--gold-4); opacity: 0; pointer-events: none; }
.power-pop.is-on { animation: pop 1s ease forwards; }
@keyframes pop { 0% { opacity: 0; transform: translateY(10px) scale(.8); } 20% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-30px); } }

.life-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 72px; }
.life { padding: 22px 24px; border-radius: 20px; background: rgba(255,255,255,.06); border: 2px solid rgba(255,255,255,.12); }
.life h3 { font-family: var(--display); font-size: 22px; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 8px; color: var(--gold-2); }
.life p { margin: 0; font-size: 15.5px; color: rgba(255,255,255,.78); line-height: 1.5; }

/* ---------- Rewards ---------- */
.rewards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.rewards-grid > div > p { font-size: 19px; max-width: 560px; }
.chests { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.chest { position: relative; width: 124px; padding: 0 0 6px; background: none; border: 0; text-align: center; }
.chest img { width: 124px; height: 124px; filter: drop-shadow(0 10px 8px rgba(10,18,56,.3)); animation: bob 3s ease-in-out infinite; }
.chest:nth-child(2) img { animation-delay: -.7s; }
.chest:nth-child(3) img { animation-delay: -1.4s; }
.chest:nth-child(4) img { animation-delay: -2.1s; }
.chest span { font-family: var(--display); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--navy-800); }
.chest.is-open img { animation: chestOpen .6s ease forwards; }
@keyframes chestOpen { 0% { transform: rotate(0); } 20% { transform: rotate(-8deg) scale(1.05); } 40% { transform: rotate(8deg) scale(1.08); } 60% { transform: rotate(-4deg) scale(1.12); } 100% { transform: scale(1.06); } }
@keyframes bob { 50% { transform: translateY(-8px); } }
.chest-hint { font-size: 14px !important; color: var(--ink-2); opacity: .8; }
.chest-loot { position: absolute; left: 50%; top: 0; transform: translateX(-50%); white-space: nowrap; font-family: var(--display); font-size: 20px; color: var(--royal); text-shadow: 0 2px 0 #fff; animation: pop 1.3s ease forwards; pointer-events: none; }
.skins { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.skin {
  margin: 0; position: relative; overflow: hidden;
  border: var(--edge); border-radius: 22px; box-shadow: var(--lift);
  background:
    radial-gradient(70% 60% at 50% 45%, color-mix(in srgb, var(--s) 70%, white), transparent 75%),
    linear-gradient(180deg, color-mix(in srgb, var(--s) 45%, var(--navy-800)), var(--navy-900));
  aspect-ratio: 4 / 5;
}
.skin img { position: absolute; left: 50%; bottom: 46px; height: 82%; width: auto; max-width: none; transform: translateX(-50%); filter: drop-shadow(0 10px 10px rgba(0,0,0,.4)); transition: transform .3s ease; }
.skin:hover img { transform: translateX(-50%) translateY(-6px) scale(1.03); }
.skin figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 14px 10px; background: rgba(5,10,36,.82); color: rgba(255,255,255,.75); font-size: 13px; line-height: 1.2; }
.skin figcaption b { display: block; font-family: var(--display); font-weight: 400; font-size: 19px; color: #fff; text-transform: uppercase; }

/* ---------- Worlds ---------- */
.worlds {
  overflow: hidden;
  background:
    radial-gradient(60% 40% at 50% 0%, rgba(74,123,255,.35), transparent 70%),
    linear-gradient(180deg, #0c1650, var(--navy-950));
}
.skyship { position: absolute; z-index: 0; pointer-events: none; opacity: .55; }
.worlds .wrap { position: relative; z-index: 1; }
.skyship.s1 { width: 120px; top: 26px; left: -140px; animation: fly 34s linear infinite; }
.skyship.s2 { width: 96px; top: 300px; right: -120px; animation: flyBack 41s linear infinite; animation-delay: -12s; }
@keyframes fly { from { transform: translateX(0) translateY(0); } 50% { transform: translateX(60vw) translateY(-14px); } to { transform: translateX(calc(100vw + 280px)) translateY(0); } }
@keyframes flyBack { from { transform: translateX(0) scaleX(-1); } to { transform: translateX(calc(-100vw - 260px)) scaleX(-1); } }
.world-strip { position: relative; z-index: 1; display: flex; gap: 14px; max-width: 1320px; margin: 0 auto; padding: 0 24px; height: 500px; }
.world {
  position: relative; flex: 1 1 0; min-width: 0; padding: 0; overflow: hidden;
  border: var(--edge); border-radius: 24px; background: var(--navy-800);
  box-shadow: 0 7px 0 var(--navy-950);
  transition: flex-grow .55s cubic-bezier(.2, .9, .3, 1), box-shadow .3s ease;
}
.world img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.world::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(5,10,36,.85)); }
.world span {
  position: absolute; left: 0; right: 0; bottom: 18px; z-index: 1; padding: 0 12px;
  font-family: var(--display); font-size: 26px; line-height: 1; text-transform: uppercase; color: #fff; text-align: center;
  text-shadow: 0 3px 0 rgba(0,0,0,.5);
}
.world small { display: block; font-size: 13px; letter-spacing: .1em; color: var(--w); margin-bottom: 6px; }
.world.is-open { flex-grow: 3.4; box-shadow: 0 0 0 4px var(--w), 0 7px 0 var(--navy-950); }
.world.is-open img { transform: scale(1.04); }
.world:not(.is-open) span { font-size: 17px; line-height: 1.05; }
.world:not(.is-open) small { font-size: 11px; }

/* ---------- Gallery ---------- */
.gallery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.gallery-head .title { margin: 0; }
.gallery-nav { display: flex; gap: 12px; }
.gallery-track {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 10px max(24px, calc((100vw - 1172px) / 2)) 24px;
  scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track img {
  flex: none; width: auto; height: min(560px, 120vw); aspect-ratio: 560 / 1217; object-fit: cover;
  border-radius: 24px; border: var(--edge); box-shadow: var(--lift);
  scroll-snap-align: center;
  background: var(--navy-800);
}

/* ---------- Follow ---------- */
.follow {
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 20px, transparent 20px 40px),
    radial-gradient(70% 80% at 20% 50%, #3d6bff, #1d3fae 70%);
}
.follow-grid { display: grid; grid-template-columns: 360px 1fr; gap: 72px; align-items: center; }
.follow p { font-size: 19px; color: rgba(255,255,255,.88); max-width: 560px; }
.phone-tilt { transform: rotate(-6deg); max-width: 300px; }
.follow-label { display: block; font-family: var(--display); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; margin: 26px 0 12px; color: rgba(255,255,255,.75); }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px;
  background: #fff; color: var(--navy-900); border: var(--edge); box-shadow: 0 4px 0 var(--navy-950);
  transition: transform .15s ease;
}
.socials a:hover { transform: translateY(-3px) rotate(-4deg); }
.socials .ic { width: 26px; height: 26px; }
.socials-sm a { width: 44px; height: 44px; border-radius: 13px; }
.socials-sm .ic { width: 21px; height: 21px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-grid > div > p { font-size: 18px; }
.faq-grid a { color: var(--royal); font-weight: 900; }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: var(--edge); border-radius: 18px; box-shadow: 0 4px 0 var(--navy-950); overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 20px; font-family: var(--display); font-size: 20px; line-height: 1.15; text-transform: uppercase; color: var(--navy-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px;
  background: var(--gold-2); border: 2px solid var(--navy-950); font-size: 22px; line-height: 1; transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 20px 18px; font-size: 16px; line-height: 1.55; }

/* ---------- Creators band ---------- */
.creators-band {
  padding: 0;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.14) 0 18px, transparent 18px 36px),
    linear-gradient(180deg, #ffd34d, #ffa514);
  border-top: var(--edge);
  border-bottom: var(--edge);
  color: var(--navy-950);
}
.creators-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 260px; padding-top: 44px; padding-bottom: 44px; }
.creators-band .title { color: var(--navy-950); text-shadow: 0 3px 0 rgba(255,255,255,.4); font-size: clamp(32px, 4.2vw, 50px); max-width: 720px; }
.creators-band .title .gold { background: none; -webkit-text-fill-color: #fff; color: #fff; filter: drop-shadow(0 3px 0 var(--navy-950)); }
.creators-band p { font-size: 18px; color: rgba(5,10,36,.82); max-width: 560px; }
.creators-band .btn { background: linear-gradient(180deg, #6aaeff, #2b52e6); color: #fff; text-shadow: 0 2px 0 rgba(5,10,36,.4); }
.creators-inner > div { position: relative; z-index: 1; max-width: 760px; }
.creators-hero { position: absolute; right: 40px; bottom: 0; width: auto; height: 360px; filter: drop-shadow(0 12px 12px rgba(5,10,36,.35)); pointer-events: none; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); padding: 56px 0 40px; color: rgba(255,255,255,.7); }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer .follow-label { margin: 22px 0 10px; font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 26px; padding: 24px 0 14px; }
.footer-links a { text-decoration: none; font-weight: 800; font-size: 15px; color: rgba(255,255,255,.85); }
.footer-links a:hover { color: var(--gold-2); }
.legal { font-size: 13px; line-height: 1.5; margin: 0; color: rgba(255,255,255,.5); max-width: 760px; }
.appstore-dark { border-color: rgba(255,255,255,.35); }

/* ---------- Reveal + confetti ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .9, .3, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
#confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 60; }

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
  .nav-links a { padding: 8px 8px; font-size: 15px; }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roster-picker { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .nav-toggle { display: grid; }
  .nav-cta { margin-left: auto; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px 16px 22px;
    background: var(--navy-900); border-bottom: 3px solid var(--gold-2);
    box-shadow: 0 30px 40px rgba(0,0,0,.4);
    transform: translateY(-10px); opacity: 0; visibility: hidden;
    transition: transform .2s ease, opacity .2s ease, visibility .2s;
  }
  .nav-links a { font-size: 22px; padding: 14px 10px; border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 0; }
  .nav.is-open .nav-links { transform: none; opacity: 1; visibility: visible; }
  .nav.is-open .ic-open { display: none; }
  .nav.is-open .ic-close { display: block; }

  section { padding: 80px 0; }
  .intro-grid, .training-grid, .rewards-grid, .follow-grid, .faq-grid { grid-template-columns: 1fr; gap: 48px; }
  .intro-grid .phone { order: 2; max-width: 300px; }
  .intro-copy { text-align: left; }
  .roster { grid-template-columns: 1fr; gap: 10px; }
  .roster-stage { height: 440px; }
  .roster-hero { height: 410px; }
  .roster-info { text-align: center; }
  .hero-blurb { margin-left: auto; margin-right: auto; min-height: 0; }
  .moves { text-align: left; }
  .mode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .life-grid { grid-template-columns: 1fr; margin-top: 48px; }
  .follow-grid { text-align: center; }
  .follow-grid .phone-tilt { order: 2; max-width: 240px; }
  .follow p { margin-left: auto; margin-right: auto; }
  .follow .socials { justify-content: center; }
  .power-card { max-width: 520px; width: 100%; margin: 0 auto; }
  /* Phones and tablets: put the hero card between the intro and the buttons so a tap shows its effect. */
  .training-grid { display: flex; flex-direction: column; gap: 0; }
  .training-copy { display: contents; }
  .training-copy .kicker { align-self: flex-start; }
  .power-card { order: 1; margin: 12px auto 28px; }
  .train-buttons { order: 2; width: 100%; max-width: 560px; margin: 0 auto; }
  .world-strip { height: 420px; }
}

@media (max-width: 760px) {
  :root { --nav-h: 60px; }
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  section { padding: 64px 0; }
  .brand-word { font-size: 20px; }
  .brand img { width: 34px; height: 34px; border-radius: 9px; }
  .nav-inner { padding: 0 12px; gap: 10px; }
  .nav-cta { font-size: 14px; padding: 8px 12px; }
  .keyart-img { max-height: none; height: min(160vw, calc(100svh - var(--nav-h) - 150px)); min-height: 420px; object-position: center top; }
  .keyart-fade { bottom: auto; top: calc(min(160vw, calc(100svh - var(--nav-h) - 150px)) - 70px); }
  .keyart-ribbon { padding: 16px; }
  .keyart-ribbon .btn-lg { flex: 1 1 100%; max-width: 360px; }
  .ribbon-tag { order: -1; }
  .section-head { margin-bottom: 36px; }
  .section-head p, .intro-copy p, .training-copy > p, .rewards-grid > div > p, .follow p { font-size: 17px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; margin: 0 -16px; padding: 4px 16px 14px; scrollbar-width: none; }
  .news-grid::-webkit-scrollbar { display: none; }
  .news-card { flex: 0 0 80%; scroll-snap-align: center; }
  .roster-stage { height: 360px; }
  .roster-hero { height: 340px; }
  .roster-stage .round-btn { width: 44px; height: 44px; }
  .moves { grid-template-columns: 1fr; }
  .roster-picker { display: flex; overflow-x: auto; scroll-snap-type: x proximity; gap: 10px; margin: 30px -16px 0; padding: 10px 16px 14px; scrollbar-width: none; }
  .roster-picker::-webkit-scrollbar { display: none; }
  .pick { flex: 0 0 76px; scroll-snap-align: start; }
  .mode-grid { grid-template-columns: 1fr; gap: 86px; margin-top: 96px; }
  .mode { padding-top: 112px; }
  .mode h3 { font-size: 30px; }
  .train-btn b { font-size: 19px; }
  .power-card { padding: 20px; }
  .power-stats li { grid-template-columns: 76px 1fr; font-size: 14px; }
  .chests { justify-content: space-between; gap: 4px; }
  .chest { width: 23%; }
  .chest img { width: 100%; height: auto; }
  .chest span { font-size: 12px; }
  .skins { gap: 12px; }
  .skin figcaption b { font-size: 16px; }
  .world-strip { overflow-x: auto; scroll-snap-type: x mandatory; height: 440px; gap: 12px; padding: 0 16px 12px; scrollbar-width: none; }
  .world-strip::-webkit-scrollbar { display: none; }
  .world, .world.is-open { flex: 0 0 72%; scroll-snap-align: center; }
  .world:not(.is-open) span { font-size: 24px; }
  .world:not(.is-open) small { font-size: 13px; }
  .gallery-head { margin-bottom: 18px; }
  .gallery-nav { display: none; }
  .gallery-track { gap: 14px; padding: 6px 16px 20px; }
  .gallery-track img { height: 470px; border-radius: 20px; }
  .creators-inner { flex-direction: column; align-items: flex-start; padding-top: 44px; padding-bottom: 0; }
  .creators-hero { position: static; height: 240px; margin: 0 auto -2px; align-self: center; }
  .footer-top { flex-direction: column; }
}

@media (max-width: 420px) {
  .nav-inner { gap: 8px; }
  .brand { gap: 8px; }
  .brand-word { font-size: 18px; gap: 5px; }
  .nav-cta .ic { display: none; }
  .nav-toggle { width: 42px; height: 42px; margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   Support page (/support/)
   ===================================================================== */
.help-hero { padding: calc(var(--nav-h) + 64px) 0 72px; overflow: hidden; }
.help-hero-inner { position: relative; display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: center; }
.help-hero-copy > p { font-size: 19px; max-width: 560px; }
.help-hero .title { font-size: clamp(42px, 6vw, 76px); }
.help-search {
  display: flex; align-items: center; gap: 12px;
  max-width: 600px; margin-top: 26px; padding: 0 18px;
  background: #fff; border: var(--edge); border-radius: 18px; box-shadow: var(--lift);
  color: var(--ink-2);
}
.help-search .ic { width: 24px; height: 24px; color: var(--royal); }
.help-search input {
  flex: 1; min-width: 0; height: 62px; border: 0; outline: 0; background: none;
  font: 800 17px/1 var(--body); color: var(--ink);
}
.help-search input::placeholder { color: #8a93b8; font-weight: 700; }
.help-search:focus-within { box-shadow: 0 0 0 4px var(--gold-2), var(--lift); }
.help-search-empty { margin-top: 16px; font-size: 16px !important; }
.help-search-empty a, .help-faq a, .contact-note a { color: var(--royal); font-weight: 900; }
.help-hero-art { position: relative; height: 440px; }
.help-hero-ion { position: absolute; right: 0; bottom: -6px; height: 430px; width: auto; filter: drop-shadow(0 16px 18px rgba(10,18,56,.3)); animation: bob 4s ease-in-out infinite; }
.help-bubble {
  position: absolute; left: 0; top: 36px;
  font-family: var(--display); font-size: 22px; text-transform: uppercase; color: var(--navy-900);
  background: #fff; border: var(--edge); border-radius: 18px; box-shadow: 0 4px 0 var(--navy-950);
  padding: 10px 16px; transform: rotate(-4deg);
}
.help-bubble::after { content: ""; position: absolute; right: 26px; bottom: -14px; width: 20px; height: 20px; background: #fff; border-right: var(--edge); border-bottom: var(--edge); transform: rotate(45deg); }

.topics { padding: 56px 0 0; }
.topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.topic {
  display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center;
  padding: 16px 18px; text-decoration: none; color: var(--ink);
  background: #fff; border: var(--edge); border-radius: 20px; box-shadow: var(--lift);
  transition: transform .18s ease, box-shadow .18s ease;
}
.topic:hover { transform: translateY(-4px); box-shadow: 0 10px 0 var(--navy-950); }
.topic-ic {
  grid-row: span 2; width: 64px; height: 64px; display: grid; place-items: center;
  border-radius: 18px; border: var(--edge); box-shadow: 0 4px 0 var(--navy-950);
  background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--tc) 55%, white), var(--tc));
  color: #fff;
}
.topic-ic img { width: 52px; height: 52px; }
.topic-ic .ic { width: 30px; height: 30px; filter: drop-shadow(0 2px 0 rgba(5,10,36,.35)); }
.topic b { font-family: var(--display); font-weight: 400; font-size: 21px; line-height: 1.05; text-transform: uppercase; color: var(--navy-900); align-self: end; }
.topic > span:last-child { font-size: 14px; color: var(--ink-2); line-height: 1.3; align-self: start; margin-top: 3px; }

.help-faq { padding-top: 64px; }
.help-faq-wrap { max-width: 900px; }
.faq-group { margin-bottom: 44px; scroll-margin-top: calc(var(--nav-h) + 20px); }
.faq-head {
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
  font-family: var(--display); font-size: clamp(26px, 3.2vw, 34px); text-transform: uppercase; color: var(--navy-900);
}
.faq-head::before { content: ""; width: 14px; height: 30px; border-radius: 6px; background: var(--tc); border: 2px solid var(--navy-950); box-shadow: 0 3px 0 var(--navy-950); }
.help-faq .faq summary { font-size: 19px; }

.contact {
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 20px, transparent 20px 40px),
    radial-gradient(60% 70% at 15% 40%, #2d4fd6, transparent 70%),
    linear-gradient(180deg, var(--navy-800), var(--navy-900));
}
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: start; }
.contact-copy { position: relative; min-height: 100%; }
.contact-copy > p { font-size: 19px; color: rgba(255,255,255,.85); max-width: 480px; }
.contact-email {
  display: inline-flex; align-items: center; gap: 14px; margin: 10px 0 26px;
  padding: 14px 20px; border-radius: 18px; text-decoration: none;
  background: rgba(255,255,255,.08); border: 2px solid rgba(255,197,49,.5);
  transition: background .2s ease, transform .15s ease;
}
.contact-email:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.contact-email .ic { width: 34px; height: 34px; color: var(--gold-2); }
.contact-email span { font-family: var(--display); font-size: 24px; letter-spacing: .01em; line-height: 1.1; }
.contact-email small { display: block; font-family: var(--body); font-weight: 800; font-size: 13px; color: rgba(255,255,255,.65); }
.contact-tips { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; max-width: 300px; position: relative; z-index: 1; }
.contact-tips li { position: relative; padding-left: 32px; color: rgba(255,255,255,.78); font-size: 16px; }
.contact-tips li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 6px; background: var(--gold-2); border: 2px solid var(--navy-950); }
.contact-tips b { color: #fff; }
.contact-hero { position: absolute; right: -24px; bottom: -104px; height: 300px; width: auto; opacity: .95; filter: drop-shadow(0 14px 14px rgba(0,0,0,.4)); pointer-events: none; }

.contact-card {
  position: relative; z-index: 1;
  background: #fff; color: var(--ink);
  border: var(--edge); border-radius: 26px; box-shadow: 0 8px 0 var(--navy-950), 0 40px 70px -30px rgba(0,0,0,.6);
  padding: 26px;
  display: grid; gap: 16px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-family: var(--display); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--navy-800); padding: 0; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; font: 700 16px/1.4 var(--body); color: var(--ink);
  background: #f2f5ff; border: 2px solid #cfd7f5; border-radius: 14px; padding: 13px 14px;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: 0; background: #fff; border-color: var(--royal); box-shadow: 0 0 0 4px rgba(43,82,230,.18); }
.issue-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.issue-chips label { cursor: pointer; }
.issue-chips input { position: absolute; opacity: 0; pointer-events: none; }
.issue-chips span {
  display: inline-block; font-family: var(--display); font-size: 15px; letter-spacing: .04em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 12px; border: 2px solid #cfd7f5; background: #f2f5ff; color: var(--navy-800);
  transition: transform .12s ease, background .15s ease;
}
.issue-chips label:hover span { transform: translateY(-2px); }
.issue-chips input:checked + span { background: var(--gold-2); border-color: var(--navy-950); color: var(--navy-950); box-shadow: 0 3px 0 var(--navy-950); }
.issue-chips input:focus-visible + span { outline: 3px solid var(--royal); outline-offset: 2px; }
.btn-block { width: 100%; }
.contact-note { margin: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }

@media (max-width: 980px) {
  .help-hero-inner { grid-template-columns: 1fr; }
  .help-hero-art { display: none; }
  .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-hero { display: none; }
}
@media (max-width: 760px) {
  .help-hero { padding: calc(var(--nav-h) + 40px) 0 48px; }
  .help-hero-copy > p { font-size: 17px; }
  .help-search input { height: 56px; font-size: 16px; }
  .topics { padding-top: 40px; }
  .topic-grid { grid-template-columns: 1fr; gap: 12px; }
  .topic { grid-template-columns: 54px 1fr; padding: 12px 14px; }
  .topic-ic { width: 54px; height: 54px; border-radius: 15px; }
  .topic-ic img { width: 44px; height: 44px; }
  .topic b { font-size: 19px; }
  .help-faq { padding-top: 44px; }
  .faq-group { margin-bottom: 34px; }
  .help-faq .faq summary { font-size: 17px; padding: 14px 16px; }
  .contact-card { padding: 18px; border-radius: 22px; }
  .field-row { grid-template-columns: 1fr; }
  .contact-email span { font-size: 20px; }
}
