/* ===== SealBound: the game's page on jimmsterstudios.com =====
   Scrolling down is a dive: sky (hero) -> sea -> deep sea -> the Thaw -> night, which is where
   the rest of the site lives. All art is pixel SVG drawn in the page until Scarlet's cartoon
   art arrives; every art box has a data-art name that matches ART-BRIEF-sealbound-page.md.
   This page doesn't use /styles.css; it has its own look, like the game. */

:root {
  --navy:   #12345f;
  --ink:    #0b2c55;
  --gold:   #ffd23f;
  --orange: #ff9f2e;
  --sky:    #dcefff;
  --night:  #0d1120;
  --ease:   cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: #07090f;
  color: #eef1f8;
  font-family: "Space Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

[id] { scroll-margin-top: 4.5rem; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.vh {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.sprites { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute; left: 50%; top: 0; z-index: 50;
  transform: translate(-50%, -140%);
  padding: 0.7rem 1.2rem; border-radius: 0 0 12px 12px;
  background: var(--gold); color: var(--ink); font-weight: 700; text-decoration: none;
  transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

/* ---------- buttons: chunky game buttons ---------- */

.sb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.45rem 1rem;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  color: #2a1600;
  text-decoration: none;
  background: var(--orange);
  border: 3px solid var(--navy);
  border-radius: 8px;
  box-shadow: inset 0 -4px 0 #d4720f, inset 0 3px 0 #ffc77a, 0 4px 0 var(--navy);
  cursor: pointer;
  transition: transform 0.15s var(--ease), background-color 0.15s var(--ease);
}
.sb-btn:hover { background: #ffad4a; transform: translateY(-2px); }
.sb-btn:active { transform: translateY(2px); box-shadow: inset 0 -2px 0 #d4720f, inset 0 2px 0 #ffc77a, 0 2px 0 var(--navy); }
.sb-btn .arrow { width: 8px; height: 13px; fill: currentColor; transition: transform 0.15s var(--ease); }
.sb-btn:hover .arrow { transform: translateX(3px); }
.sb-btn .down { width: 13px; height: 8px; fill: currentColor; }

.sb-btn-ghost {
  color: var(--ink);
  background: rgba(255,255,255,0.88);
  box-shadow: inset 0 -4px 0 #b9d4ee, inset 0 3px 0 #fff, 0 4px 0 var(--navy);
}
.sb-btn-ghost:hover { background: #fff; }
.sb-btn-ghost:active { box-shadow: inset 0 -2px 0 #b9d4ee, inset 0 2px 0 #fff, 0 2px 0 var(--navy); }

.sb-btn-sm {
  padding: 0.42rem 0.85rem 0.55rem;
  font-size: 0.88rem;
  border-width: 2px;
  border-radius: 6px;
  box-shadow: inset 0 -3px 0 #d4720f, inset 0 2px 0 #ffc77a, 0 2px 0 var(--navy);
}
.sb-btn-sm:hover { transform: translateY(-1px); }

.sb-btn-big { padding: 1.05rem 1.9rem 1.2rem; font-size: 1.2rem; }

/* ---------- top bar ---------- */

.sb-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem clamp(1rem, 4vw, 2.5rem);
  background: #0a1a36;
  border-bottom: 2px solid rgba(255,255,255,0.08);
}

.sb-bar-left { display: flex; align-items: center; gap: 1.1rem; min-width: 0; }

.sb-back {
  display: inline-flex; align-items: center; gap: 0.35rem;
  color: #a9c6ea; font-size: 0.85rem; font-weight: 500; text-decoration: none; white-space: nowrap;
}
.sb-back:hover { color: #fff; }

.sb-bar-logo { display: block; width: 125px; height: 21px; }

.sb-nav { display: flex; gap: 1.3rem; font-size: 0.9rem; }
.sb-nav a { color: #cfe3ff; text-decoration: none; }
.sb-nav a:hover { color: var(--gold); }

/* ---------- hero: the sky ---------- */

.sb-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.4rem, 6vw, 4.2rem) 0 0;
  text-align: center;
  color: var(--ink);
  background: linear-gradient(180deg, #3d93ff 0%, #6fb8ff 45%, #a9dcff 100%);
}

.sb-hero-inner { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; padding: 0 1rem; }

.sb-sun { position: absolute; top: 34px; right: 7%; width: 72px; height: 72px; }
.sb-cloud { position: absolute; z-index: 1; height: auto; opacity: 0.9; }
.sb-cloud-a { top: 70px; left: 4%; width: 170px; }
.sb-cloud-b { top: 210px; right: 3%; width: 120px; opacity: 0.75; }

.sb-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.8rem 0.3rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #3b2600;
  background: var(--gold);
  border: 2px solid var(--navy);
  border-radius: 4px;
  box-shadow: 0 3px 0 var(--navy);
}
.sb-pill-dot { width: 8px; height: 8px; background: #2fbf4a; border: 2px solid var(--navy); }

.sb-logo { display: block; width: min(640px, 94%); height: auto; margin: 1.3rem auto 0.6rem; }

.sb-hero-lede {
  margin: 0.4rem auto 0.5rem;
  max-width: 720px;
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  font-weight: 700;
  line-height: 1.3;
}

.sb-hero-sub { margin: 0 auto; max-width: 620px; font-size: 1.05rem; color: #16457a; }
.sb-hero-note { margin-top: 0.55rem; }                 /* the line under the intro: same look, a little gap */

.sb-hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 1.7rem; }

.sb-hero-meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.2rem;
  margin: 1.1rem 0 0; padding: 0; list-style: none;
  font-size: 0.88rem; font-weight: 700; color: #16457a;
}
.sb-hero-meta li { display: inline-flex; align-items: center; gap: 0.4rem; }
.sb-hero-meta li::before { content: ""; width: 8px; height: 8px; background: var(--navy); }

.sb-hero-scene { display: block; width: 100%; height: clamp(220px, 26vw, 340px); margin-top: 0.6rem; object-fit: cover; object-position: 50% 100%; }

/* ---------- sections ---------- */

.sb-sec { position: relative; padding: clamp(3.6rem, 7vw, 6rem) clamp(1rem, 4vw, 2.5rem); }
.sb-wrap { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto; }

.sb-eyebrow {
  display: inline-block;
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.sb-h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow: 0 3px 0 rgba(0,0,0,0.22);
}

.sb-intro { max-width: 680px; margin: 0 0 2.3rem; font-size: 1.08rem; color: #d6e9ff; }

.sb-center { text-align: center; }
.sb-center .sb-intro { margin-left: auto; margin-right: auto; }

/* the dive: each section starts where the last one ended */
.sb-sea-1   { background: linear-gradient(180deg, #2a6fc0 0%, #235fa8 100%); }
.sb-sea-2   { background: linear-gradient(180deg, #235fa8 0%, #1b4d8c 100%); }
.sb-deep    { background: linear-gradient(180deg, #1b4d8c 0%, #12356a 100%); }
.sb-thaw {
  background:
    radial-gradient(600px 300px at 15% 30%, rgba(176,102,255,0.16), transparent 70%),
    radial-gradient(600px 320px at 85% 70%, rgba(95,240,208,0.12), transparent 70%),
    linear-gradient(180deg, #12356a 0%, #142849 45%, #101a33 100%);
}
.sb-night-1 { background: linear-gradient(180deg, #101a33 0%, var(--night) 100%); }
.sb-night-2 { background: var(--night); }
.sb-night-3 { background: #0a0d18; }

/* soft light rays in the shallow water */
.sb-sea-1::before,
.sb-sea-2::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(100deg, rgba(255,255,255,0.045) 0 46px, transparent 46px 130px);
  -webkit-mask-image: linear-gradient(#000, transparent 75%);
          mask-image: linear-gradient(#000, transparent 75%);
}

/* pixel bubbles in the deep water (one tiny square, many shadows; never moves) */
.sb-deep::after,
.sb-thaw::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  pointer-events: none;
  box-shadow:
    8vw 120px 0 rgba(255,255,255,0.10), 12vw 340px 0 -1px rgba(255,255,255,0.08),
    22vw 610px 0 rgba(255,255,255,0.07), 46vw 90px 0 -1px rgba(255,255,255,0.09),
    63vw 460px 0 rgba(255,255,255,0.08), 78vw 200px 0 rgba(255,255,255,0.10),
    88vw 540px 0 -1px rgba(255,255,255,0.08), 93vw 300px 0 rgba(255,255,255,0.06),
    34vw 780px 0 rgba(255,255,255,0.06), 71vw 820px 0 -1px rgba(255,255,255,0.07);
}

/* ---------- cards ---------- */

.sb-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.8rem; }

.sb-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--ink);
  background: #fff;
  border: 3px solid var(--navy);
  border-radius: 14px;
  box-shadow: 0 6px 0 var(--navy), 0 26px 50px -24px rgba(0,0,0,0.6);
}

.sb-card-art { aspect-ratio: 16 / 9; border-bottom: 3px solid var(--navy); background: linear-gradient(180deg, #5aa8ff, #c4e8ff); }
.sb-card-art svg, .sb-card-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sb-art-dusk { background: linear-gradient(180deg, #3b4aa3 0%, #7f74c9 55%, #f2b6a6 100%); }

.sb-card-body { padding: 1.35rem 1.45rem 1.6rem; }
.sb-card h3 { margin: 0 0 0.5rem; font-size: 1.4rem; line-height: 1.2; }
.sb-card p { margin: 0 0 1rem; color: #2b4a70; }

.sb-mode {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.22rem 0.55rem 0.18rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1d4f8a;
  background: #e2f0ff;
  border-radius: 4px;
}
.sb-mode-story { color: #6a2fb8; background: #f0e6ff; }

.sb-list { display: grid; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.sb-list li { position: relative; padding-left: 1.65rem; font-weight: 500; }
.sb-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.38em;
  width: 0.78rem;
  height: 0.78rem;
  background: var(--gold);
  border: 2px solid var(--navy);
  border-radius: 2px;
}

/* ---------- pup section ---------- */

.sb-stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; counter-reset: stage; }

.sb-stage {
  position: relative;
  padding: 1rem 1rem 1.2rem;
  text-align: center;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.16);
  border-radius: 14px;
}
.sb-stage::before {
  counter-increment: stage;
  content: counter(stage);
  position: absolute;
  top: 0.7rem;
  left: 0.8rem;
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--gold);
  border: 2px solid var(--navy);
  border-radius: 4px;
}
.sb-stage-art { aspect-ratio: 19 / 11; margin: 0.4rem 0 0.6rem; }
.sb-stage-art svg, .sb-stage-art img { display: block; width: 100%; height: 100%; object-fit: contain; }
.sb-stage h3 { margin: 0; font-size: 1.08rem; color: #fff; }
.sb-stage p { margin: 0.3rem 0 0; font-size: 0.92rem; color: #cfe3ff; }
.sb-stage-big { border-color: rgba(255,210,63,0.6); background: rgba(255,210,63,0.1); }

.sb-buddies {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
  gap: 1.6rem;
  margin-top: 2rem;
  padding: 1.5rem 1.6rem;
  background: rgba(7, 20, 45, 0.35);
  border: 2px solid rgba(255,255,255,0.14);
  border-radius: 14px;
}
.sb-buddies h3 { margin: 0 0 0.4rem; font-size: 1.3rem; color: #fff; }
.sb-buddies p { margin: 0; color: #cfe3ff; }

.sb-swatches { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.sb-swatches li {
  display: flex; align-items: center; gap: 0.45rem;
  padding: 0.35rem 0.65rem 0.35rem 0.4rem;
  font-size: 0.85rem; font-weight: 600; color: #fff;
  background: rgba(255,255,255,0.08); border-radius: 6px;
}
.sb-swatches i { display: block; width: 18px; height: 18px; border: 2px solid var(--navy); border-radius: 3px; background: var(--c); }

/* ---------- story section ---------- */

.sb-story { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 2.4rem; align-items: center; margin-bottom: 3rem; }
.sb-story .sb-intro { margin-bottom: 1rem; }
.sb-story-art { overflow: hidden; border: 3px solid var(--navy); border-radius: 14px; box-shadow: 0 6px 0 var(--navy); }

.sb-cast-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }

.sb-cast {
  padding: 1rem 1rem 1.2rem;
  text-align: center;
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(255,255,255,0.14);
  border-radius: 14px;
}
.sb-cast-art {
  aspect-ratio: 19 / 12;
  margin-bottom: 0.8rem;
  border-radius: 10px;
  background: radial-gradient(circle at 50% 85%, rgba(255,255,255,0.25), transparent 70%), var(--bg, #2a5d9c);
}
.sb-cast-art svg, .sb-cast-art img { display: block; width: 100%; height: 100%; object-fit: contain; }
.sb-cast h3 { margin: 0; font-size: 1.05rem; line-height: 1.25; color: #fff; }
.sb-cast .role { display: block; margin-top: 0.2rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.sb-cast p { margin: 0.55rem 0 0; font-size: 0.9rem; color: #cfe3ff; }
.sb-cast-villain { border-color: rgba(255,92,120,0.5); }
.sb-cast-villain .role { color: #ff8fa3; }

.sb-realms-title { margin: 3rem 0 1rem; font-size: 1.25rem; color: #fff; }
.sb-realms { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.sb-realm {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 112px;
  padding: 0.8rem 0.8rem 0.85rem;
  color: #fff;
  background: var(--g);
  border: 2px solid rgba(255,255,255,0.22);
  border-radius: 10px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.55);
}
.sb-realm b { font-size: 0.95rem; line-height: 1.2; }
.sb-realm span { font-size: 0.78rem; opacity: 0.92; }
.sb-realm-light { color: var(--ink); text-shadow: 0 1px 0 rgba(255,255,255,0.6); }

/* ---------- the Thaw ---------- */

.sb-mobs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }

.sb-mob {
  padding: 1rem 1rem 1.2rem;
  background: rgba(7, 14, 30, 0.55);
  border: 2px solid rgba(127, 233, 255, 0.22);
  border-radius: 14px;
}
.sb-mob-art { aspect-ratio: 4 / 3; margin-bottom: 0.7rem; border-radius: 10px; background: radial-gradient(circle at 50% 75%, rgba(127,233,255,0.16), transparent 70%); }
.sb-mob-art svg, .sb-mob-art img { display: block; width: 100%; height: 100%; object-fit: contain; }
.sb-mob h3 { margin: 0; font-size: 1.1rem; color: #fff; }
.sb-mob p { margin: 0.35rem 0 0; font-size: 0.92rem; color: #c6d8ee; }

.sb-boss {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: 1.8rem;
  margin-top: 1.2rem;
  padding: 1.4rem;
  background: rgba(40, 12, 40, 0.45);
  border: 2px solid rgba(255, 92, 120, 0.45);
  border-radius: 14px;
}
.sb-boss .sb-mob-art { aspect-ratio: 31 / 16.5; margin: 0; background: radial-gradient(circle at 50% 70%, rgba(176,102,255,0.22), transparent 70%); }
.sb-boss h3 { margin: 0.2rem 0 0.4rem; font-size: 1.6rem; color: #fff; }
.sb-boss p { margin: 0; color: #e6d6ea; }

.sb-tag-boss {
  display: inline-block;
  padding: 0.2rem 0.55rem 0.15rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #fff;
  background: #e0335a;
  border: 2px solid #5a1020;
  border-radius: 4px;
}

.sb-tip {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 1.4rem 0 0;
  padding: 0.9rem 1.1rem;
  font-weight: 600;
  color: #ffd6dc;
  background: rgba(224, 51, 90, 0.12);
  border-left: 4px solid #ff4d6d;
  border-radius: 6px;
}
.sb-tip svg { flex: none; width: 34px; height: 20px; }

/* ---------- together ---------- */

.sb-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }

.sb-tile {
  padding: 1.2rem 1.1rem 1.3rem;
  background: rgba(255,255,255,0.05);
  border: 2px solid rgba(255,255,255,0.12);
  border-radius: 14px;
}
.sb-tile-ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 0.8rem;
  background: var(--gold);
  border: 2px solid var(--navy);
  border-radius: 8px;
  box-shadow: 0 3px 0 var(--navy);
}
.sb-tile-ico svg { width: 24px; height: 24px; fill: var(--navy); }
.sb-tile h3 { margin: 0 0 0.35rem; font-size: 1.08rem; color: #fff; }
.sb-tile p { margin: 0; font-size: 0.92rem; color: #b9c6dd; }

/* ---------- what's in the beta ---------- */

.sb-roadmap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }

.sb-road {
  padding: 1.5rem 1.6rem 1.7rem;
  background: rgba(255,255,255,0.04);
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 14px;
}
.sb-road h3 { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 1rem; font-size: 1.25rem; color: #fff; }
.sb-road ul { display: grid; gap: 0.55rem; margin: 0; padding: 0; list-style: none; }
.sb-road li { position: relative; padding-left: 1.8rem; color: #d5deee; }
.sb-road li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 1rem;
  height: 1rem;
  border-radius: 3px;
}
.sb-road-now { border-color: rgba(47,191,74,0.45); }
.sb-road-now li::before { background: #2fbf4a; box-shadow: inset 0 0 0 3px #1b7a2e; }
.sb-road-soon li::before { background: transparent; border: 2px dashed var(--gold); }
.sb-road-note { margin: 1.2rem 0 0; font-size: 0.9rem; color: #9aa3bd; }

.sb-badge-now, .sb-badge-soon {
  padding: 0.18rem 0.5rem 0.14rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 4px;
}
.sb-badge-now  { color: #0c3a17; background: #5ee07a; }
.sb-badge-soon { color: #3b2600; background: var(--gold); }

/* ---------- how to join ---------- */

.sb-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 1.8rem 0 0; padding: 0; list-style: none; counter-reset: step; }

.sb-step {
  padding: 1.3rem 1.2rem 1.4rem;
  background: rgba(255,255,255,0.05);
  border: 2px solid rgba(255,255,255,0.12);
  border-radius: 14px;
}
.sb-step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  margin-bottom: 0.8rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #2a1600;
  background: var(--orange);
  border: 2px solid var(--navy);
  border-radius: 6px;
  box-shadow: inset 0 -3px 0 #d4720f, 0 3px 0 var(--navy);
}
.sb-step h3 { margin: 0 0 0.35rem; font-size: 1.1rem; color: #fff; }
.sb-step p { margin: 0; font-size: 0.93rem; color: #b9c6dd; }
.sb-step strong { color: #fff; }

.sb-join-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 1.4rem; margin: 2.2rem 0 0; }
.sb-join-cta small { color: #9aa3bd; font-size: 0.9rem; }

.sb-safe {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.3rem;
  align-items: start;
  margin-top: 2.6rem;
  padding: 1.5rem 1.6rem;
  background: rgba(47,191,74,0.07);
  border: 2px solid rgba(47,191,74,0.35);
  border-radius: 14px;
}
.sb-safe svg { width: 44px; height: 52px; }
.sb-safe h3 { margin: 0 0 0.6rem; font-size: 1.2rem; color: #fff; }
.sb-safe ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.45rem 1.6rem; margin: 0; padding: 0; list-style: none; }
.sb-safe li { position: relative; padding-left: 1.4rem; color: #cfe8d5; font-size: 0.95rem; }
.sb-safe li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 0.6rem; height: 0.6rem; background: #5ee07a; }

/* ---------- FAQ ---------- */

.sb-faq { max-width: 820px; margin: 1.6rem auto 0; }
.sb-faq details {
  margin-bottom: 0.7rem;
  background: rgba(255,255,255,0.04);
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 12px;
}
.sb-faq details[open] { border-color: rgba(255,210,63,0.4); }
.sb-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  list-style: none;
}
.sb-faq summary::-webkit-details-marker { display: none; }
.sb-faq summary::after { content: "+"; flex: none; font-size: 1.3rem; line-height: 1; color: var(--gold); }
.sb-faq details[open] summary::after { content: "\2013"; }
.sb-faq p { margin: 0; padding: 0 1.2rem 1.1rem; color: #c6d3ea; }

/* ---------- final call ---------- */

.sb-final {
  text-align: center;
  background:
    radial-gradient(500px 240px at 50% 30%, rgba(61,147,255,0.22), transparent 70%),
    linear-gradient(180deg, #0a0d18 0%, #07090f 100%);
}
.sb-final .sb-final-pup { display: block; width: min(360px, 80%); height: auto; margin: 0 auto 1.2rem; }
.sb-final p { margin: 0.4rem 0 1.6rem; color: #c6d3ea; font-size: 1.08rem; }

.sb-foot {
  padding: 2rem 1rem 2.6rem;
  text-align: center;
  font-size: 0.86rem;
  color: #9aa3bd;
  background: #07090f;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.sb-foot a { color: #cfe3ff; }
.sb-foot p { margin: 0.35rem 0; }

/* ---------- motion: pixel-choppy and tiny ---------- */

.sb-bob  { animation: sb-bob 1.6s steps(1, end) infinite; }
.sb-gull { animation: sb-glide 9s steps(9, end) infinite alternate; }
@keyframes sb-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-0.5px); } }
@keyframes sb-glide { from { transform: translate(0, 0); } to { transform: translate(-8px, 1px); } }

html.calm .sb-bob, html.calm .sb-gull { animation: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sb-bob, .sb-gull { animation: none; }
  .sb-btn, .sb-btn .arrow { transition: none; }
}

/* ---------- smaller screens ---------- */

@media (max-width: 1080px) {
  .sb-cast-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sb-realms { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sb-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .sb-nav { display: none; }
  .sb-duo, .sb-story, .sb-roadmap, .sb-boss, .sb-buddies { grid-template-columns: minmax(0, 1fr); }
  .sb-stages, .sb-mobs, .sb-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sb-cloud-b { display: none; }
}

@media (max-width: 560px) {
  .sb-back span { display: none; }
  .sb-cast-grid, .sb-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sb-realms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sb-steps { grid-template-columns: minmax(0, 1fr); }
  .sb-safe { grid-template-columns: minmax(0, 1fr); }
  .sb-safe ul { grid-template-columns: minmax(0, 1fr); }
  .sb-hero-ctas .sb-btn { width: 100%; }
  .sb-sun { display: none; }
  .sb-cloud-a { width: 110px; top: 60px; }
}
