@font-face { font-family: Poppins; src: url(../fonts/Poppins-Regular.ttf); font-weight: 400; font-display: swap; }
@font-face { font-family: Poppins; src: url(../fonts/Poppins-SemiBold.ttf); font-weight: 600; font-display: swap; }
@font-face { font-family: Poppins; src: url(../fonts/Poppins-Bold.ttf); font-weight: 700; font-display: swap; }
@font-face { font-family: Baloo; src: url(../fonts/Baloo2-ExtraBold.ttf); font-display: swap; }

:root {
  --navy: #224385; --purple: #6B4F9E; --purple-band: #866CAF; --gold: #EAAD3C; --tint: #F3EFF9;
  --text: #2B2B33; --muted: #555b66; --line: #D5DCEA; --bg: #FFFFFF;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Poppins, system-ui, sans-serif; color: var(--text); background: var(--bg); line-height: 1.55; font-size: 17px; }
img { max-width: 100%; height: auto; }
a { color: var(--navy); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.hoa-pixel { position: absolute; width: 1px; height: 1px; left: 0; top: 0; opacity: 0; pointer-events: none; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
h1, h2, h3 { color: var(--navy); line-height: 1.15; }
h2 { font-size: 1.8rem; margin: 0 0 .6em; }
h3 { font-size: 1.1rem; margin: 0 0 .4em; }

.top { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 5; }
.top-in { display: flex; align-items: center; gap: 14px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.logo { height: 34px; width: auto; }
.series { font-weight: 700; color: var(--navy); font-size: .9rem; }
.top nav { margin-left: auto; display: flex; gap: 16px; flex-wrap: wrap; }
.top nav a { text-decoration: none; font-weight: 600; font-size: .9rem; }
.top nav { align-items: center; }
.series { text-decoration: none; }
.series:hover { text-decoration: underline; }

.hero { background: var(--navy); color: #fff; }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: center; padding-top: 40px; padding-bottom: 40px; }
.hero h1 { color: #fff; font-family: Baloo, Poppins, sans-serif; font-weight: 400; font-size: clamp(2.4rem, 6vw, 3.8rem); margin: .1em 0 0; }
.hero .sub { color: #F6D58A; font-weight: 700; font-size: 1.25rem; margin: 0 0 .8em; }
.pill { display: inline-block; background: var(--purple-band); color: #fff; font-weight: 700; font-size: .85rem; padding: 4px 14px; border-radius: 99px; margin: 0; }
.lede { font-size: 1.05rem; }
.facts { list-style: none; padding: 0; margin: 18px 0; display: flex; gap: 10px; flex-wrap: wrap; }
.facts li { background: rgba(255,255,255,.1); border-radius: 12px; padding: 8px 14px; font-size: .9rem; }
.facts b { display: block; color: #F6D58A; }
.hero-img { border-radius: 18px; border: 6px solid #fff; width: 100%; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 0; }
.btn { display: inline-block; background: var(--gold); color: #1f2a44; font-weight: 700; text-decoration: none; padding: 12px 20px; border-radius: 12px; }
.btn.ghost { background: transparent; color: #fff; border: 2px solid #fff; }

section { padding: 40px 0; }
.band { background: var(--tint); }
.three { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.three li { display: flex; gap: 12px; background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 16px; }
.three span { flex: 0 0 36px; height: 36px; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 700; display: flex; align-items: center; justify-content: center; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.card { background: #fff; border-radius: 16px; padding: 16px; display: flex; gap: 14px; border: 2px solid var(--line); }
.card > img { width: 96px; height: 124px; object-fit: cover; object-position: top; border-radius: 6px; border: 1px solid var(--line); flex: 0 0 96px; }
.card > img.wide { object-fit: contain; background: #fff; }
.card p { margin: 0 0 .5em; font-size: .92rem; }
.dl { display: flex; gap: 10px; flex-wrap: wrap; }
.dl a { background: var(--navy); color: #fff; text-decoration: none; font-weight: 700; font-size: .85rem; padding: 6px 12px; border-radius: 8px; }

.es { margin: 18px 0 0; font-size: .95rem; }
.es a { background: var(--navy); color: #fff; text-decoration: none; font-weight: 700; font-size: .85rem; padding: 6px 12px; border-radius: 8px; white-space: nowrap; display: inline-block; margin-top: 4px; }

.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: start; }
.rules li { margin-bottom: .4em; }
figure { margin: 0; }
figcaption { font-size: .85rem; color: var(--muted); font-style: italic; text-align: center; }
.see-it { max-width: 900px; margin: 36px auto 0; }
.see-it h3 { font-size: 1.3rem; }
.setup { margin: 0; }
.setup img, .turn img { border-radius: 12px; border: 2px solid var(--line); display: block; }
.turn { margin-top: 12px; background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 10px 14px; }
.turn summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 4px 0; }
.turn[open] summary { margin-bottom: 10px; }
.turn ol { font-size: .9rem; margin: 12px 0 4px; padding-left: 22px; }
.turn li { margin-bottom: .3em; }
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 24px; }
.tiles div { text-align: center; }
.tiles img { display: block; width: 100%; margin-bottom: 6px; }
.tiles img + img { width: 55%; margin: 0 auto 6px; }
.tiles span { font-weight: 700; color: var(--navy); font-size: .9rem; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.box { background: #fff; border-radius: 16px; padding: 20px; border: 2px solid var(--line); }
.box ul { padding-left: 20px; margin: 0; }
.box li { margin-bottom: .35em; font-size: .95rem; }
dl { margin: 0; }
dt { font-weight: 700; color: var(--navy); }
dd { margin: 0 0 .6em; font-size: .95rem; }
.note { font-size: .88rem; color: var(--muted); margin-top: 18px; }
.careers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.help { text-align: center; }

.foot { background: var(--navy); color: #fff; padding: 24px 0; }
.foot-in { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.foot .logos { background: #fff; border-radius: 10px; padding: 8px 12px; display: flex; gap: 14px; align-items: center; }
.foot .logos img { height: 40px; width: auto; }
.foot p { flex: 1 1 360px; font-size: .85rem; margin: 0; }

@media (max-width: 860px) {
  .hero-in, .split, .grid2, .grid3, .three { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .careers { grid-template-columns: repeat(2, 1fr); }
  .top nav { margin-left: 0; width: 100%; }
}
@media (max-width: 420px) {
  .card { flex-direction: column; }
  .card > img { width: 100%; height: 160px; flex: none; }
}
