/* ============================================================
   Pip Flashcards - Year pages
   Aesthetic: B "Playground" (bright, gamified) + C "Say it" panel.
   Uses pip-tokens.css variables.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; font-family: var(--font-base); color: var(--ink);
  background: var(--card); line-height: 1.5; font-weight: var(--fw-bold);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
mark { background: var(--blue-lt); color: var(--blue-dk); font-weight: 900; border-radius: 5px; padding: 0 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ── buttons (tactile, brand) ───────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: none; cursor: pointer;
  font-weight: 800; font-size: 17px; padding: 15px 26px; border-radius: 16px; letter-spacing: .2px;
  transition: transform .06s, box-shadow .06s, background .15s; }
.btn:active { transform: translateY(3px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 5px 0 var(--blue-dk); }
.btn-primary:active { box-shadow: 0 2px 0 var(--blue-dk); }
.btn-primary:hover { background: #1f82f0; }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 5px 0 var(--green-dk); }
.btn-green:active { box-shadow: 0 2px 0 var(--green-dk); }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: 0 5px 0 #D7E1EC, inset 0 0 0 1.5px var(--line); }
.btn-ghost:active { box-shadow: 0 2px 0 #D7E1EC, inset 0 0 0 1.5px var(--line); }
.btn-lg { font-size: 18px; padding: 18px 30px; }
.btn-sm { font-size: 14px; padding: 11px 18px; border-radius: 12px; box-shadow: 0 4px 0 var(--blue-dk); }
.btn-block { width: 100%; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; font-size: 12.5px; letter-spacing: .6px;
  text-transform: uppercase; color: var(--green-dk); background: var(--green-lt); padding: 8px 14px; border-radius: 999px; }
.section { padding: 76px 0; }
.section-head { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 900; letter-spacing: -1.2px; line-height: 1.08; }
.section-head p { margin-top: 14px; font-size: 18px; font-weight: 600; color: var(--ink2); }

/* badges */
.badge { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 12px; letter-spacing: .3px;
  padding: 5px 11px; border-radius: 999px; text-transform: uppercase; white-space: nowrap; }
.badge .d { width: 7px; height: 7px; border-radius: 50%; }
.badge-tricky { background: var(--coral-lt); color: #C0392B; }
.badge-tricky .d { background: var(--coral); }
.badge-ok { background: var(--green-lt); color: var(--green-dk); }
.badge-ok .d { background: var(--green); }

/* speaker / say-it */
.sayit { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--blue-dk);
  background: var(--blue-lt); border: none; cursor: pointer; padding: 8px 14px; border-radius: 999px; font-size: 15px;
  transition: transform .08s, background .15s; }
.sayit:hover { background: #d4e6fc; }
.sayit:active { transform: scale(.95); }
.sayit svg { display: block; }
.sayit.speaking { background: var(--blue); color: #fff; }

/* ── NAV ────────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.82);
  backdrop-filter: blur(18px) saturate(180%); -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(12,28,46,.06); }
.nav-in { display: flex; align-items: center; gap: 22px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 19px; letter-spacing: -.4px; }
.brand img { width: 36px; height: 36px; }
.nav-years { display: flex; gap: 4px; margin-left: 12px; background: var(--bg); padding: 4px; border-radius: 999px; }
.nav-years a { font-weight: 800; font-size: 14px; color: var(--ink2); padding: 7px 15px; border-radius: 999px; transition: color .15s; }
.nav-years a:hover { color: var(--ink); }
.nav-years a.on { background: var(--blue); color: #fff; box-shadow: 0 3px 0 var(--blue-dk); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.nav-right > a.txt { font-weight: 800; font-size: 15px; color: var(--ink2); }
.nav-right > a.txt:hover { color: var(--blue); }

/* ── HERO ───────────────────────────────────────────────── */
.hero { position: relative; padding: 56px 0 64px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(1000px 460px at 82% -10%, #E3F7EE 0%, transparent 58%),
              radial-gradient(880px 460px at 6% 8%, #E7F1FE 0%, transparent 55%); }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 36px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 900; letter-spacing: -1.8px; line-height: 1.03; margin-top: 18px; }
.hero h1 b { color: var(--green); }
.hero-sub { margin-top: 18px; font-size: 19px; font-weight: 600; color: var(--ink2); max-width: 500px; line-height: 1.5; }
.hero-cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hchip { display: inline-flex; align-items: center; gap: 7px; font-weight: 900; font-size: 13.5px; padding: 8px 14px; border-radius: 999px; white-space: nowrap; }
.hchip.count { background: #fff; color: var(--ink2); box-shadow: var(--shadow); }
.hchip.tricky { background: var(--coral-lt); color: #C0392B; }
.hchip.free { background: var(--xp-lt); color: #8B6000; }
.hero-mascot { display: flex; justify-content: center; align-items: center; }

/* ── DECK ───────────────────────────────────────────────── */
.deck-sec { background: var(--bg); }
.deck-wrap { max-width: 920px; margin: 0 auto; }
.deck-bar { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.deck-bar .prog-track { flex: 1; height: 12px; border-radius: 999px; background: #DCE6F1; overflow: hidden; }
.deck-bar .prog-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--green), var(--teal)); transition: width .4s cubic-bezier(.2,.7,.3,1); }
.deck-bar .prog-num { font-weight: 900; font-size: 15px; color: var(--ink2); white-space: nowrap; }
.deck-bar .ghosticon { width: 44px; height: 44px; border-radius: 12px; border: none; cursor: pointer; background: #fff;
  box-shadow: var(--shadow); color: var(--ink2); display: flex; align-items: center; justify-content: center; transition: transform .08s; }
.deck-bar .ghosticon:hover { color: var(--blue); }
.deck-bar .ghosticon:active { transform: scale(.92); }

.deck-stage { display: grid; grid-template-columns: 1fr 286px; gap: 22px; align-items: stretch; }
@media (max-width: 820px) { .deck-stage { grid-template-columns: 1fr; } }

.flip-scene { perspective: 1600px; }
.flip { position: relative; width: 100%; height: 440px; transform-style: preserve-3d; transition: transform .55s cubic-bezier(.2,.75,.3,1); cursor: pointer; }
.flip.flipped { transform: rotateY(180deg); }
.flip-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: 28px; overflow: hidden; background: #fff; box-shadow: var(--shadow-md); display: flex; flex-direction: column; }
.flip-back { transform: rotateY(180deg); }

.card-band { height: 84px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 24px;
  background: linear-gradient(135deg, var(--blue-d2), var(--blue) 55%, var(--teal)); color: #fff; }
.card-band .n { font-weight: 900; font-size: 12.5px; letter-spacing: .6px; opacity: .92; }
.card-band .badge { background: rgba(255,255,255,.92); }

.card-front-body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; text-align: center; }
.card-front-body .type { font-weight: 800; font-size: 13px; letter-spacing: .5px; text-transform: uppercase; color: var(--ink3); }
.card-front-body .word { font-size: clamp(40px, 7vw, 64px); font-weight: 900; letter-spacing: -2px; margin: 8px 0 18px; line-height: 1; }
.card-front-body .tap { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; font-weight: 800; font-size: 13px; color: var(--ink3); }

.card-back-body { flex: 1; padding: 22px 26px; display: flex; flex-direction: column; overflow-y: auto; }
.card-back-body .word2 { font-size: 28px; font-weight: 900; letter-spacing: -.7px; }
.card-back-body .mean { margin-top: 10px; font-size: 19px; font-weight: 700; line-height: 1.4; }
.card-back-body .ex { margin-top: 14px; background: var(--green-lt); border-radius: 16px; padding: 14px 16px; font-size: 16px; font-weight: 700; color: var(--green-dk); line-height: 1.45; }
.card-back-body .ex .lbl { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--green); margin-bottom: 5px; }
.card-back-body .ex mark { background: rgba(255,255,255,.72); color: var(--green-dk); }

/* say-it panel (C contribution) */
.sayit-panel { margin-top: 14px; display: flex; align-items: center; gap: 14px; background: var(--blue-lt); border-radius: 16px; padding: 14px 16px; }
.sayit-panel .col { min-width: 0; }
.sayit-panel .l { font-size: 10.5px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--blue); }
.sayit-panel .v { font-size: 22px; font-weight: 900; color: var(--blue-d2); letter-spacing: -.3px; margin-top: 2px; }
.sayit-panel .spk-big { margin-left: auto; flex: none; width: 52px; height: 52px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 0 var(--blue-dk); transition: transform .08s, box-shadow .08s; }
.sayit-panel .spk-big:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--blue-dk); }
.card-tip { margin-top: 12px; display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; font-weight: 700; color: #C0392B; line-height: 1.4; }

/* right rail: rate + mascot */
.deck-side { display: flex; flex-direction: column; gap: 14px; }
.rate-btn { border: none; cursor: pointer; border-radius: 20px; padding: 20px; text-align: left; transition: transform .08s, box-shadow .08s; }
.rate-btn:active { transform: translateY(3px); }
.rate-know { background: var(--green); color: #fff; box-shadow: 0 6px 0 var(--green-dk); }
.rate-know:active { box-shadow: 0 3px 0 var(--green-dk); }
.rate-learn { background: #fff; color: var(--ink); box-shadow: 0 6px 0 #E2E9F1, inset 0 0 0 1.5px var(--line); }
.rate-learn:active { box-shadow: 0 3px 0 #E2E9F1, inset 0 0 0 1.5px var(--line); }
.rate-btn .t { font-size: 20px; font-weight: 900; letter-spacing: -.4px; display: flex; align-items: center; gap: 8px; }
.rate-btn .s { display: block; font-size: 13px; font-weight: 800; margin-top: 4px; opacity: .9; }
.rate-learn .s { color: var(--ink3); }
.deck-mascot { flex: 1; min-height: 150px; background: #fff; border-radius: 20px; box-shadow: var(--shadow); display: flex;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 14px; }
.deck-mascot .xp { font-weight: 900; font-size: 15px; color: #8B6000; background: var(--xp-lt); padding: 5px 13px; border-radius: 999px; }
.deck-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 22px; }
.deck-nav .navbtn { width: 52px; height: 52px; border-radius: 50%; border: none; background: #fff; box-shadow: var(--shadow-md);
  color: var(--ink); font-size: 22px; font-weight: 900; cursor: pointer; transition: transform .08s; }
.deck-nav .navbtn:hover { color: var(--blue); }
.deck-nav .navbtn:active { transform: scale(.92); }
.deck-nav .dots { display: flex; gap: 6px; align-items: center; }
.deck-nav .dot { width: 8px; height: 8px; border-radius: 50%; background: #C4D4E3; }
.deck-nav .dot.on { background: var(--blue); width: 22px; border-radius: 999px; }

/* deck done state */
.deck-done { background: #fff; border-radius: 28px; box-shadow: var(--shadow-md); padding: 44px; text-align: center; }
.deck-done h3 { font-size: 30px; font-weight: 900; letter-spacing: -.8px; margin-top: 12px; }
.deck-done p { margin-top: 10px; font-size: 17px; font-weight: 600; color: var(--ink2); }
.deck-done .stats { display: flex; justify-content: center; gap: 30px; margin: 24px 0 26px; }
.deck-done .stat b { font-size: 34px; font-weight: 900; display: block; letter-spacing: -1px; }
.deck-done .stat span { font-size: 13px; font-weight: 800; color: var(--ink3); text-transform: uppercase; letter-spacing: .4px; }
.deck-done .stat.g b { color: var(--green); }
.deck-done .stat.c b { color: var(--coral); }

/* ── BROWSE ──────────────────────────────────────────────── */
.browse-tools { display: flex; align-items: center; gap: 12px; max-width: 920px; margin: 0 auto 22px; flex-wrap: wrap; }
.browse-search { flex: 1; min-width: 220px; display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--line);
  border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow); }
.browse-search input { border: none; outline: none; font-family: inherit; font-weight: 700; font-size: 16px; flex: 1; color: var(--ink); background: transparent; }
.browse-search input::placeholder { color: var(--ink3); }
.browse-filters { display: flex; gap: 8px; }
.browse-filters button { border: none; cursor: pointer; font-weight: 800; font-size: 13.5px; padding: 11px 16px; border-radius: 12px; background: #fff; color: var(--ink2); box-shadow: var(--shadow); transition: background .15s, color .15s; }
.browse-filters button.on { background: var(--ink); color: #fff; }
.browse-grid { max-width: 920px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 820px) { .browse-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .browse-grid { grid-template-columns: 1fr; } }
.bword { min-width: 0; border: 1.5px solid var(--line); border-radius: 16px; padding: 16px 18px; cursor: pointer; background: #fff; transition: box-shadow .15s, border-color .15s; }
.bword:hover { box-shadow: var(--shadow-md); }
.bword.open { grid-column: 1 / -1; border-color: var(--blue); box-shadow: var(--shadow-md); }
.bword .top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-width: 0; }
.bword .w { font-size: 21px; font-weight: 900; letter-spacing: -.4px; min-width: 0; }
.bword .say2 { margin-left: auto; font-weight: 800; font-size: 13.5px; color: var(--ink3); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.bword .top .badge { flex: none; }
.bword .body { display: none; }
.bword.open .body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
@media (max-width: 620px) { .bword.open .body { grid-template-columns: 1fr; } }
.bword .body .mean { font-size: 18px; font-weight: 700; line-height: 1.45; }
.bword .body .ex { margin-top: 10px; font-size: 15px; font-weight: 700; color: var(--ink2); font-style: italic; line-height: 1.5; }
.bword .body .side { background: var(--bg); border-radius: 14px; padding: 16px; }
.bword .body .side .l { font-size: 10.5px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--ink3); }
.bword .body .side .v { font-size: 20px; font-weight: 900; margin: 4px 0 0; display: flex; align-items: center; gap: 8px; }
.bword .body .side .why { margin-top: 12px; font-size: 13px; font-weight: 700; color: #C0392B; line-height: 1.4; }
.browse-empty { text-align: center; color: var(--ink3); font-weight: 700; padding: 30px; }

/* ── GAMES ──────────────────────────────────────────────── */
.games-sec { background: var(--bg); }
.game-wrap { max-width: 860px; margin: 0 auto; }
.game-tabs { display: flex; gap: 8px; justify-content: center; margin-bottom: 22px; }
.game-tabs button { border: none; cursor: pointer; font-weight: 800; font-size: 15px; padding: 12px 22px; border-radius: 14px; background: #fff; color: var(--ink2); box-shadow: var(--shadow); transition: transform .08s; }
.game-tabs button.on { background: var(--blue); color: #fff; box-shadow: 0 4px 0 var(--blue-dk); }
.game-tabs button:active { transform: translateY(1px); }
.game-card { background: #fff; border-radius: 26px; box-shadow: var(--shadow-md); padding: 30px; }
.game-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.game-head .ttl { font-size: 22px; font-weight: 900; letter-spacing: -.4px; }
.game-head .ttl span { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink3); letter-spacing: 0; }
.game-head .score { margin-left: auto; font-weight: 900; font-size: 15px; color: var(--green-dk); background: var(--green-lt); padding: 8px 14px; border-radius: 999px; }
.game-head .reset { border: none; cursor: pointer; background: var(--bg); color: var(--ink2); font-weight: 800; font-size: 13.5px; padding: 9px 14px; border-radius: 10px; }

/* match game */
.match-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.match-col { display: flex; flex-direction: column; gap: 10px; }
.match-tile { border: 2.5px solid var(--line); border-radius: 14px; padding: 16px 16px; cursor: pointer; font-weight: 800; background: #fff;
  transition: border-color .12s, background .12s, transform .08s; text-align: left; }
.match-tile:active { transform: scale(.98); }
.match-tile.word { font-size: 18px; font-weight: 900; letter-spacing: -.3px; }
.match-tile.mean { font-size: 14.5px; color: var(--ink2); line-height: 1.35; }
.match-tile.sel { border-color: var(--blue); background: var(--blue-lt); }
.match-tile.done { border-color: var(--green); background: var(--green-lt); color: var(--green-dk); cursor: default; opacity: .85; }
.match-tile.wrong { border-color: var(--coral); background: var(--coral-lt); animation: shake .35s; }
@keyframes shake { 0%,100%{transform:translateX(0)} 25%{transform:translateX(-6px)} 75%{transform:translateX(6px)} }
.match-win { text-align: center; padding: 26px 10px; }
.match-win h4 { font-size: 26px; font-weight: 900; letter-spacing: -.6px; margin-top: 10px; }
.match-win p { margin-top: 8px; font-weight: 600; color: var(--ink2); font-size: 16px; }

/* spell game */
.spell-q { text-align: center; }
.spell-q .lbl { font-weight: 800; font-size: 12.5px; letter-spacing: .5px; text-transform: uppercase; color: var(--ink3); }
.spell-q .def { font-size: 24px; font-weight: 800; line-height: 1.3; margin: 10px auto 4px; max-width: 520px; }
.spell-q .ex2 { font-size: 15px; font-weight: 700; color: var(--ink3); font-style: italic; max-width: 520px; margin: 0 auto; }
.spell-hint { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 800; color: var(--blue-dk); background: var(--blue-lt); padding: 8px 14px; border-radius: 999px; font-size: 14px; }
.spell-form { display: flex; gap: 10px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }
.spell-input { font-family: inherit; font-weight: 900; font-size: 22px; text-align: center; letter-spacing: 1px; color: var(--ink);
  border: 2.5px solid var(--line); border-radius: 14px; padding: 14px 18px; outline: none; min-width: 280px; transition: border-color .15s; }
.spell-input:focus { border-color: var(--blue); }
.spell-input.ok { border-color: var(--green); background: var(--green-lt); }
.spell-input.no { border-color: var(--coral); background: var(--coral-lt); }
.spell-feedback { text-align: center; margin-top: 18px; min-height: 28px; font-weight: 800; font-size: 16px; }
.spell-feedback.ok { color: var(--green-dk); }
.spell-feedback.no { color: #C0392B; }
.spell-feedback .ans { color: var(--ink); }
.spell-progress { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
.spell-progress i { width: 10px; height: 10px; border-radius: 50%; background: #D5E0EC; }
.spell-progress i.ok { background: var(--green); }
.spell-progress i.no { background: var(--coral); }
.spell-progress i.now { background: var(--blue); transform: scale(1.3); }

/* ── PRO TEASER ─────────────────────────────────────────── */
.pro { position: relative; border-radius: 32px; overflow: hidden; padding: 52px 44px; color: #fff;
  background: linear-gradient(135deg, var(--blue-d2) 0%, var(--blue) 52%, var(--teal) 120%); box-shadow: var(--shadow-blue); }
.pro::before { content: ""; position: absolute; top: -70px; right: -30px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.08); }
.pro::after { content: ""; position: absolute; bottom: -80px; left: -20px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,.06); }
.pro-grid { position: relative; display: grid; grid-template-columns: 1.3fr .7fr; gap: 30px; align-items: center; }
.pro .eye2 { font-weight: 900; font-size: 12.5px; letter-spacing: .6px; text-transform: uppercase; color: rgba(255,255,255,.82); }
.pro h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 900; letter-spacing: -1px; line-height: 1.1; margin-top: 12px; }
.pro .lead { margin-top: 14px; font-size: 17px; font-weight: 600; color: rgba(255,255,255,.92); max-width: 460px; line-height: 1.5; }
.pro-feats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pro-feat { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 13.5px; background: rgba(255,255,255,.14); padding: 9px 14px; border-radius: 999px; }
.pro-cta { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.pro-cta .btn { background: #fff; color: var(--blue-dk); box-shadow: 0 5px 0 rgba(7,50,114,.6); }
.pro-cta .btn:active { box-shadow: 0 2px 0 rgba(7,50,114,.6); }
.pro-cta .note { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.8); text-align: center; }
.pro-mascot { display: flex; justify-content: center; }

/* ── FOOTER ─────────────────────────────────────────────── */
.foot { padding: 50px 0 40px; border-top: 1px solid var(--line); margin-top: 76px; }
.foot-in { display: flex; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.foot .brand { font-size: 18px; }
.foot-tag { margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--ink3); max-width: 280px; line-height: 1.5; }
.foot-links { display: flex; gap: 50px; margin-left: auto; flex-wrap: wrap; }
.foot-col h5 { font-size: 12px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--ink3); margin-bottom: 12px; }
.foot-col a { display: block; font-weight: 700; font-size: 14.5px; color: var(--ink2); margin-bottom: 9px; }
.foot-col a:hover { color: var(--blue); }
.foot-base { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; gap: 14px; flex-wrap: wrap; align-items: center;
  font-size: 13px; font-weight: 700; color: var(--ink3); }

/* entrance */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); animation: rise .6s cubic-bezier(.2,.7,.3,1) forwards; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-mascot { order: -1; }
  .pro-grid { grid-template-columns: 1fr; }
  .pro-mascot { display: none; }
  .nav-years { display: none; }
}

.beyond{padding:8px 0 56px;}
.beyond .beyond-in{display:flex;gap:18px;align-items:flex-start;background:linear-gradient(135deg,#E7F1FE,#E4F4EA);border:1px solid var(--line);border-radius:20px;padding:26px 28px;}
.beyond-ic{font-size:30px;line-height:1;flex-shrink:0;}
.beyond h2{font-size:23px;font-weight:900;letter-spacing:-.4px;color:var(--ink);margin:0 0 8px;}
.beyond p{font-size:16px;line-height:1.6;font-weight:500;color:var(--ink2);margin:0;max-width:72ch;}
@media(max-width:620px){.beyond .beyond-in{flex-direction:column;gap:12px;}}
.fsocial{display:flex;gap:10px;margin-top:14px;flex-wrap:nowrap;}
.fsocial a{color:var(--ink3);display:inline-flex;transition:color .15s,transform .15s;}
.fsocial a:hover{color:var(--blue);transform:translateY(-2px);}
.fsocial svg{width:20px;height:20px;display:block;}

.fsocial a{flex-shrink:0;}
