/* ==========================================================
   Nerd Meets Sports Tutoring (Math) — site styles
   Colors: "Arcade night" palette. Change them in :root below.
   ========================================================== */

:root {
  --bg: #1A1535;        /* deep navy background */
  --bg-2: #211A44;      /* alternate section background */
  --bg-3: #2C2458;      /* cards */
  --bg-deep: #120E28;   /* inputs, footer */
  --line: #3B3170;      /* borders */
  --shadow: #0E0B21;    /* hard cartoon shadows */

  --ink: #F4EEDC;       /* cream text */
  --ink-2: #C9C1DF;     /* softer text */

  --teal: #2EC4B6;
  --orange: #FF9F1C;
  --pink: #FF5D8F;

  --radius: 18px;
  --max: 1160px;

  --font-display: "Lilita One", "Arial Black", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-pixel: "Press Start 2P", ui-monospace, monospace;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background-color: var(--bg);
  background-image: radial-gradient(rgba(244, 238, 220, 0.07) 1.2px, transparent 1.7px);
  background-size: 32px 32px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--teal); }
p { margin: 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.01em;
  margin: 0;
}

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.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-link {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  background: var(--orange); color: var(--bg); font-weight: 800;
  padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20, 16, 44, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--line);
}

.nav {
  max-width: var(--max); margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}

.brand {
  display: flex; align-items: center; gap: 12px;
  color: var(--ink); text-decoration: none; flex-shrink: 0;
}
.brand-mark { width: 46px; height: 46px; }
.brand-logo {
  height: 72px; width: auto; background: #fff;
  border-radius: 12px; padding: 3px 6px; box-shadow: 4px 4px 0 var(--pink);
}
.brand-tag {
  font-weight: 800; font-size: 0.78rem; line-height: 1.3;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal);
}
.footer-badge {
  width: min(100%, 250px); height: auto; background: #fff;
  border-radius: 16px; padding: 10px; box-shadow: 6px 6px 0 var(--teal);
}
.brand-name { font-family: var(--font-display); font-size: 1.3rem; line-height: 1; }
.brand-name small {
  display: block; margin-top: 5px;
  font-family: var(--font-body); font-weight: 800; font-size: 0.72rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal);
}

.nav-links {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 4px;
}
.nav-links a:not(.btn) {
  display: block; color: var(--ink); text-decoration: none;
  font-weight: 800; font-size: 1rem; padding: 8px 12px; border-radius: 10px;
  transition: background 0.15s, color 0.15s;
}
.nav-links a:not(.btn):hover { background: var(--bg-3); color: var(--orange); }
.nav-links a[aria-current="page"] { color: var(--orange); background: var(--bg-3); }
.nav-links li:last-child { margin-left: 10px; }

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger { display: none; }

@media (max-width: 1080px) {
  .nav { flex-wrap: wrap; }
  .nav-burger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 50px; height: 50px; padding: 0 12px; cursor: pointer;
    border: 3px solid var(--line); border-radius: 12px;
  }
  .nav-burger span:not(.sr-only) { display: block; height: 3px; background: var(--ink); border-radius: 2px; }
  .nav-toggle:focus-visible + .nav-burger { outline: 3px solid var(--teal); outline-offset: 3px; }
  .nav-links {
    display: none; flex-basis: 100%;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 8px 0 14px;
  }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-links a:not(.btn) { padding: 12px 14px; font-size: 1.1rem; }
  .nav-links li:last-child { margin: 10px 0 0; }
  .nav-links .btn { width: 100%; }
}

@media (max-width: 420px) {
  .brand-logo { height: 60px; }
}

/* ---------- Buttons (arcade-button press) ---------- */
.btn {
  --btn-bg: var(--orange);
  --btn-edge: #B8650A;
  --btn-ink: #1A1535;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-size: 1.25rem; letter-spacing: 0.03em; line-height: 1;
  color: var(--btn-ink); background: var(--btn-bg); text-decoration: none;
  padding: 18px 30px; border: none; border-radius: 14px; cursor: pointer;
  box-shadow: 0 6px 0 var(--btn-edge), 0 12px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.12s, box-shadow 0.12s, filter 0.12s;
}
.btn:hover {
  filter: brightness(1.06); transform: translateY(-2px);
  box-shadow: 0 8px 0 var(--btn-edge), 0 16px 28px rgba(0, 0, 0, 0.4);
}
.btn:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 var(--btn-edge), 0 4px 10px rgba(0, 0, 0, 0.3);
}
.btn-icon { width: 22px; height: 22px; flex-shrink: 0; }

.btn-sm { font-size: 1.02rem; padding: 12px 18px; box-shadow: 0 4px 0 var(--btn-edge); }
.btn-sm:hover { box-shadow: 0 6px 0 var(--btn-edge); }

.btn-teal { --btn-bg: var(--teal); --btn-edge: #178478; }
.btn-dark { --btn-bg: #1A1535; --btn-edge: #06041A; --btn-ink: var(--ink); }

.btn-ghost {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 3px var(--line);
}
.btn-ghost:hover {
  filter: none; transform: none; color: var(--teal);
  box-shadow: inset 0 0 0 3px var(--teal);
}
.btn-ghost:active { transform: translateY(2px); box-shadow: inset 0 0 0 3px var(--teal); }

/* ---------- Page hero (top of each page) ---------- */
.hero { position: relative; padding: clamp(56px, 8vw, 104px) 20px clamp(64px, 8vw, 104px); }

.hero-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 5vw, 72px); align-items: center;
}

.hero h1 {
  font-size: clamp(2.8rem, 6.4vw, 4.9rem);
  text-shadow: 0.055em 0.055em 0 var(--pink);
  margin-bottom: 22px;
}
.hero h1 .hl { color: var(--orange); }

.lead {
  font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 600;
  color: var(--ink-2); max-width: 30ch; margin-bottom: 36px;
}

.hero-art svg { width: 100%; height: auto; filter: drop-shadow(10px 10px 0 rgba(0, 0, 0, 0.35)); }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-art { max-width: 460px; width: 100%; margin: 0 auto; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 104px) 20px; }
.section-alt { background: var(--bg-2); border-block: 3px solid var(--line); }
.container { max-width: var(--max); margin: 0 auto; }

.section-head { text-align: center; max-width: 680px; margin: 0 auto clamp(36px, 5vw, 56px); }
.section-head h2, .split h2 { font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: 14px; }
.section-head p, .split-copy p { color: var(--ink-2); font-size: 1.2rem; }
.split-copy p + p { margin-top: 12px; }
.split-copy .btn, .split-copy .chips { margin-top: 28px; }
.split-copy .chips { justify-content: flex-start; }

.center { text-align: center; }
.center-cta { text-align: center; margin-top: 44px; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }

.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 72px); align-items: center;
}
.split.reverse .split-art { order: -1; }
.split-art svg { width: 100%; height: auto; filter: drop-shadow(8px 8px 0 rgba(0, 0, 0, 0.3)); }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; text-align: center; }
  .split.reverse .split-art { order: 0; }
  .split-art { max-width: 480px; margin: 0 auto; width: 100%; }
  .split-copy .chips { justify-content: center; }
}

/* ---------- Cards ---------- */
.card {
  --accent: var(--teal);
  background: var(--bg-3); border: 3px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: 6px 6px 0 var(--shadow);
  transition: transform 0.18s, box-shadow 0.18s;
}
.card:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--accent); }
.card h3 { font-size: 1.55rem; margin: 18px 0 8px; }
.card p { color: var(--ink-2); font-size: 1.05rem; }

.accent-teal { --accent: var(--teal); }
.accent-orange { --accent: var(--orange); }
.accent-pink { --accent: var(--pink); }

.icon {
  --accent: var(--teal);
  width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  border: 2px solid color-mix(in srgb, var(--accent) 45%, transparent);
}
.card .icon, .badge .icon { --accent: inherit; }
.icon svg { width: 34px; height: 34px; }

/* ---------- Scoreboard (key numbers) ---------- */
.scoreboard {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #0F0C24; border: 4px solid var(--line); border-radius: 22px;
  box-shadow: 8px 8px 0 var(--teal); overflow: hidden;
}
.scoreboard-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.score { padding: 34px 14px 30px; text-align: center; }
.score + .score { border-left: 3px dashed var(--line); }
.score-num {
  font-family: var(--font-pixel); font-size: clamp(1.4rem, 3.1vw, 2.35rem); line-height: 1.25;
  color: var(--orange); text-shadow: 0 0 14px rgba(255, 159, 28, 0.5);
}
.score:nth-child(4n+2) .score-num { color: var(--teal); text-shadow: 0 0 14px rgba(46, 196, 182, 0.5); }
.score:nth-child(4n+3) .score-num { color: var(--pink); text-shadow: 0 0 14px rgba(255, 93, 143, 0.5); }
.score-label { margin-top: 14px; font-weight: 800; color: var(--ink-2); }

@media (max-width: 760px) {
  .scoreboard { grid-template-columns: 1fr 1fr; }
  .scoreboard .score:nth-child(3) { border-left: none; }
  .scoreboard .score:nth-child(n+3) { border-top: 3px dashed var(--line); }
  .scoreboard-3 { grid-template-columns: 1fr; }
  .scoreboard-3 .score + .score { border-left: none; border-top: 3px dashed var(--line); }
}

/* ---------- Badges ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 36px; }
.badge {
  display: flex; align-items: center; gap: 12px; text-align: left;
  background: var(--bg-3); border: 3px solid var(--line); border-radius: 999px;
  padding: 8px 22px 8px 8px; font-weight: 800;
}
.badge .icon { width: 46px; height: 46px; border-radius: 999px; }
.badge .icon svg { width: 26px; height: 26px; }

/* ---------- Numbered steps ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 28px;
}
.step { text-align: center; padding: 8px; }
.step-num {
  width: 76px; height: 76px; margin: 0 auto 20px; display: grid; place-items: center;
  font-family: var(--font-pixel); font-size: 1.4rem; color: #1A1535;
  background: var(--accent, var(--teal)); border-radius: 20px;
  box-shadow: 0 7px 0 rgba(0, 0, 0, 0.4);
}
.step h3 { font-size: 1.55rem; margin-bottom: 8px; }
.step p { color: var(--ink-2); max-width: 28ch; margin: 0 auto; }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; list-style: none; margin: 0; padding: 0; }
.chip {
  padding: 10px 20px; border-radius: 999px; font-weight: 800;
  background: var(--bg-3); border: 2px solid var(--line);
}
.chip:nth-child(3n+1) { border-color: color-mix(in srgb, var(--teal) 60%, transparent); }
.chip:nth-child(3n+2) { border-color: color-mix(in srgb, var(--orange) 60%, transparent); }
.chip:nth-child(3n+3) { border-color: color-mix(in srgb, var(--pink) 60%, transparent); }

/* ---------- Method levels ---------- */
.levels { list-style: none; margin: 0 auto; padding: 0; max-width: 880px; display: grid; gap: 30px; position: relative; }
.levels::before {
  content: ""; position: absolute; left: 43px; top: 46px; bottom: 46px;
  border-left: 4px dashed var(--line);
}
.level { display: grid; grid-template-columns: 90px 1fr; gap: 26px; align-items: start; position: relative; }
.level-badge {
  width: 90px; height: 90px; border-radius: 22px; display: grid; place-items: center;
  background: var(--accent); color: #1A1535;
  font-family: var(--font-pixel); font-size: 1.6rem;
  box-shadow: 0 7px 0 rgba(0, 0, 0, 0.4);
}
.level-badge svg { width: 46px; height: 46px; }
.level .card h3 { margin-top: 0; font-size: 1.75rem; }
.level .chips { justify-content: flex-start; margin-top: 18px; }
.level .chip { font-size: 0.95rem; padding: 8px 16px; }

@media (max-width: 600px) {
  .levels::before { display: none; }
  .level { grid-template-columns: 1fr; gap: 14px; }
  .level-badge { width: 64px; height: 64px; font-size: 1.15rem; border-radius: 18px; }
  .level-badge svg { width: 34px; height: 34px; }
}

/* ---------- Reviews ---------- */
.review { display: flex; flex-direction: column; gap: 16px; }
.stars { display: flex; gap: 4px; color: var(--orange); }
.stars svg { width: 24px; height: 24px; }
.review blockquote { margin: 0; font-size: 1.15rem; font-weight: 600; color: var(--ink); flex-grow: 1; }
.review cite { font-style: normal; font-weight: 800; color: var(--teal); }

/* ---------- Arcade cabinet photo frame (About) ---------- */
.cabinet {
  width: min(100%, 380px); margin: 0 auto;
  background: linear-gradient(180deg, #2C2458, #221B45);
  border: 4px solid var(--line); border-radius: 28px 28px 18px 18px;
  padding: 18px 18px 22px; box-shadow: 12px 12px 0 var(--pink);
}
.cabinet-marquee {
  background: linear-gradient(90deg, var(--pink), var(--orange));
  color: #1A1535; font-family: var(--font-display); font-size: 1.75rem; text-align: center;
  padding: 12px; border-radius: 14px; margin-bottom: 16px;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.18);
}
.cabinet-screen {
  position: relative; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden;
  background: #0F0C24; border: 4px solid #0F0C24;
  box-shadow: inset 0 0 0 3px var(--teal), 0 0 26px rgba(46, 196, 182, 0.28);
}
.cabinet-screen img { width: 100%; height: 100%; object-fit: cover; }
.cabinet-screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.06) 0 2px, transparent 2px 4px);
}
.photo-placeholder { height: 100%; display: grid; place-items: center; }
.photo-placeholder svg { width: 70%; }
.cabinet-controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 20px; }
.joystick { position: relative; width: 14px; height: 30px; background: #0F0C24; border-radius: 7px; margin: 12px 24px 0 0; }
.joystick::before {
  content: ""; position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 26px; border-radius: 50%; background: var(--pink);
}
.cab-btn { width: 24px; height: 24px; border-radius: 50%; box-shadow: 0 4px 0 rgba(0, 0, 0, 0.45); }
.cab-btn.teal { background: var(--teal); }
.cab-btn.orange { background: var(--orange); }
.cab-btn.pink { background: var(--pink); }

/* ---------- Call-to-action band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  max-width: var(--max); margin: 0 auto; text-align: center;
  padding: clamp(48px, 6vw, 68px) 28px; border-radius: 28px;
  background: linear-gradient(120deg, var(--pink), var(--orange));
  color: #1A1535; box-shadow: 10px 10px 0 var(--shadow);
}
.cta-band::before { /* cartoon halftone dots */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(26, 21, 53, 0.14) 1.6px, transparent 2.2px);
  background-size: 18px 18px;
}
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-bottom: 12px; }
.cta-band p { font-size: 1.2rem; font-weight: 700; margin-bottom: 30px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.35fr 0.9fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-grid .card:hover { transform: none; box-shadow: 6px 6px 0 var(--shadow); }
.contact-grid h2 { font-size: 2rem; margin-bottom: 8px; }
.contact-grid .card > p { margin-bottom: 26px; }

.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.field label, .field legend { display: block; font-weight: 800; margin-bottom: 8px; padding: 0; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bg-deep); border: 2px solid var(--line); border-radius: 12px;
  padding: 14px 16px; transition: border-color 0.15s, box-shadow 0.15s;
}
.field input::placeholder, .field textarea::placeholder { color: #8C84A8; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(46, 196, 182, 0.25);
}
.field textarea { min-height: 140px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 46px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%232EC4B6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 20px;
}
fieldset.field { border: none; margin: 0; padding: 0; min-width: 0; }

.toggle-group { display: flex; flex-wrap: wrap; gap: 10px; }
.toggle-group label { position: relative; margin: 0; cursor: pointer; font-weight: 800; }
.toggle-group input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle-group span {
  display: inline-block; padding: 11px 20px; border-radius: 999px;
  background: var(--bg-deep); border: 2px solid var(--line);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.toggle-group input:checked + span { background: var(--teal); color: #1A1535; border-color: var(--teal); }
.toggle-group input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.form .btn { justify-self: start; margin-top: 6px; }
@media (max-width: 560px) { .form .btn { justify-self: stretch; } }

.info-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 20px; }
.info-list li { display: flex; gap: 16px; align-items: center; }
.info-list .icon { flex-shrink: 0; width: 54px; height: 54px; border-radius: 14px; }
.info-list .icon svg { width: 28px; height: 28px; }
.info-list a, .info-list strong {
  color: var(--ink); font-weight: 800; text-decoration: none; overflow-wrap: anywhere;
}
.info-list a:hover { color: var(--orange); }
.info-list span { display: block; color: var(--ink-2); font-weight: 600; font-size: 1rem; }

/* ---------- Social icons ---------- */
.socials { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.socials a {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--bg-3); border: 2px solid var(--line); color: var(--ink);
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.socials a:hover { background: var(--orange); border-color: var(--orange); color: #1A1535; transform: translateY(-2px); }
.socials svg { width: 22px; height: 22px; }

/* ---------- Footer ---------- */
.site-footer { background: #110D27; border-top: 3px solid var(--line); padding: 64px 20px 28px; }
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 44px;
}
@media (max-width: 820px) { .footer-inner { grid-template-columns: 1fr; gap: 36px; } }
.site-footer h2 { font-size: 1.35rem; margin-bottom: 16px; color: var(--orange); }
.footer-brand p { color: var(--ink-2); margin: 18px 0 22px; max-width: 34ch; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.footer-links.single { grid-template-columns: 1fr; }
.footer-links a { color: var(--ink); text-decoration: none; font-weight: 700; overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--teal); }
.footer-links li span { color: var(--ink-2); font-weight: 600; }
.footer-bottom {
  max-width: var(--max); margin: 48px auto 0; padding-top: 22px;
  border-top: 2px solid var(--line); color: var(--ink-2); font-size: 0.95rem; text-align: center;
}

/* ---------- Small animations ---------- */
.blink { animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.float { animation: float 3.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes float { 50% { transform: translateY(-10px); } }

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

/* ---------- Icon fills ---------- */
.info-list .icon { --accent: inherit; }
.stars svg, .level-badge svg { fill: currentColor; stroke: none; }

/* ---------- Embedded Google Form (Contact) ---------- */
.form-embed {
  background: #F1EBFA; border-radius: 14px; overflow: hidden;
  border: 3px solid var(--line);
}
.form-embed iframe { display: block; width: 100%; height: 1820px; border: 0; }
@media (max-width: 560px) { .form-embed iframe { height: 2150px; } }
.form-fallback { margin-top: 16px; font-size: 1rem; color: var(--ink-2); }
.form-fallback a { color: var(--orange); font-weight: 800; }
