/* Piggy Dash — farm board + glossy dock landing
   Differentiated layout: thick cream "game board" frames + bottom bubble dock
   (not top SaaS nav / side rail). Light-first sky→grass atmosphere. */

:root {
  --sky-top: #7ec8f0;
  --sky-mid: #b8e4f8;
  --sky-soft: #e8f6ff;
  --grass-a: #8bc94d;
  --grass-b: #6db33a;
  --cream: #f7eed9;
  --cream-deep: #ead9b4;
  --sand: #e8d4a8;
  --brown: #5d3a1a;
  --brown-soft: #7a5230;
  --ink: #2f1f12;
  --muted: #5c4632;
  --pink: #ff8fbf;
  --pink-deep: #f06a9e;
  --gloss: #3d9eff;
  --gloss-deep: #1f7fe0;
  --gold: #ffb020;
  --gold-deep: #f08a10;
  --alert: #e53935;
  --board-radius: 36px;
  --board-stroke: 10px;
  --dock-h: 92px;
  --topbar-h: 64px;
  --font-display: "Fredoka", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --shadow-board: 0 18px 40px rgba(45, 80, 40, 0.18);
  --shadow-bubble: 0 8px 0 rgba(20, 90, 160, 0.35), 0 14px 28px rgba(30, 90, 160, 0.25);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

[data-theme="dark"] {
  --sky-top: #1a3a55;
  --sky-mid: #234866;
  --sky-soft: #152a3d;
  --grass-a: #3d6b2a;
  --grass-b: #2f5420;
  --cream: #2a2418;
  --cream-deep: #3a3224;
  --sand: #3d3426;
  --brown: #f0e2c8;
  --brown-soft: #d4c0a0;
  --ink: #f5efe4;
  --muted: #cbb89a;
  --gloss: #4dabff;
  --gloss-deep: #2b8ce8;
  --shadow-board: 0 18px 40px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-h) + 12px);
  scroll-padding-bottom: calc(var(--dock-h) + 24px);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--ink);
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 38%, var(--sky-soft) 55%, var(--grass-a) 78%, var(--grass-b) 100%);
  background-attachment: fixed;
  line-height: 1.55;
  overflow-x: hidden;
  padding-bottom: calc(var(--dock-h) + 28px);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--cream);
  color: var(--ink);
  border-radius: 0 0 12px 0;
}

.skip-link:focus {
  left: 0;
}

/* —— Atmosphere —— */
.farm-sky {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.cloud {
  position: absolute;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  filter: blur(0.5px);
  opacity: 0.9;
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  background: inherit;
  border-radius: inherit;
}

.cloud--a {
  width: 120px;
  height: 40px;
  top: 8%;
  left: 8%;
  animation: drift 28s linear infinite;
}

.cloud--a::before {
  width: 50px;
  height: 50px;
  top: -28px;
  left: 18px;
}

.cloud--a::after {
  width: 40px;
  height: 40px;
  top: -20px;
  left: 55px;
}

.cloud--b {
  width: 160px;
  height: 48px;
  top: 14%;
  right: 12%;
  animation: drift 36s linear infinite reverse;
}

.cloud--b::before {
  width: 60px;
  height: 60px;
  top: -32px;
  left: 30px;
}

.cloud--b::after {
  width: 48px;
  height: 48px;
  top: -22px;
  left: 80px;
}

.cloud--c {
  width: 90px;
  height: 32px;
  top: 22%;
  left: 42%;
  animation: drift 42s linear infinite;
}

.cloud--c::before {
  width: 36px;
  height: 36px;
  top: -18px;
  left: 20px;
}

.hill {
  position: absolute;
  bottom: 0;
  width: 70%;
  height: 28%;
  border-radius: 50% 50% 0 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(110, 180, 70, 0.35), transparent 70%);
  opacity: 0.5;
}

.hill--back {
  left: -10%;
  height: 32%;
}

.hill--front {
  right: -15%;
  height: 26%;
}

.bush {
  position: absolute;
  bottom: 4%;
  width: 90px;
  height: 54px;
  border-radius: 50% 50% 40% 40%;
  background: radial-gradient(circle at 40% 40%, #9ad45a, #4f9a28);
  opacity: 0.55;
}

.bush--l {
  left: 2%;
}

.bush--r {
  right: 3%;
  width: 110px;
}

@keyframes drift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(40px);
  }
}

[data-theme="dark"] .cloud {
  background: rgba(180, 210, 235, 0.18);
}

/* —— Top bar —— */
.topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--topbar-h);
  padding: 0.65rem 1.25rem;
  background: color-mix(in srgb, var(--cream) 78%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 3px solid color-mix(in srgb, var(--cream-deep) 80%, transparent);
  transition: box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.topbar.is-scrolled {
  box-shadow: 0 8px 24px rgba(45, 80, 40, 0.12);
  background: color-mix(in srgb, var(--cream) 92%, transparent);
}

.topbar__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--brown);
}

.topbar__brand img {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  box-shadow: 0 4px 0 rgba(93, 58, 26, 0.15);
}

.topbar__name em {
  font-style: normal;
  color: var(--gold-deep);
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.theme-btn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--cream);
  border: 3px solid var(--cream-deep);
  color: var(--brown);
  transition: transform 0.2s var(--ease), background 0.2s;
}

.theme-btn:hover {
  transform: translateY(-2px);
}

.theme-btn svg {
  width: 20px;
  height: 20px;
}

.theme-btn .icon-moon {
  display: none;
}

[data-theme="dark"] .theme-btn .icon-sun {
  display: none;
}

[data-theme="dark"] .theme-btn .icon-moon {
  display: block;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: var(--cream);
  border: 3px solid var(--cream-deep);
}

.burger span {
  display: block;
  width: 18px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--brown);
}

.drawer {
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  right: 0;
  z-index: 70;
  background: var(--cream);
  border-bottom: 4px solid var(--cream-deep);
  padding: 1rem 1.25rem 1.25rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.drawer[hidden] {
  display: none !important;
}

.drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.drawer__nav a {
  padding: 0.75rem 1rem;
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--brown);
  transition: background 0.2s;
}

.drawer__nav a:hover {
  background: color-mix(in srgb, var(--grass-a) 25%, var(--cream));
}

/* —— Main —— */
main {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 2rem;
}

/* —— Board frames (game UI motif) —— */
.board {
  margin: 0 auto;
}

.board__rim {
  background: var(--cream);
  border: var(--board-stroke) solid var(--cream-deep);
  border-radius: var(--board-radius);
  box-shadow: var(--shadow-board), inset 0 0 0 3px rgba(255, 255, 255, 0.45);
  overflow: hidden;
}

.board__rim--check {
  background:
    linear-gradient(45deg, color-mix(in srgb, var(--grass-a) 35%, var(--cream)) 25%, transparent 25%),
    linear-gradient(-45deg, color-mix(in srgb, var(--grass-a) 35%, var(--cream)) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, color-mix(in srgb, var(--grass-a) 35%, var(--cream)) 75%),
    linear-gradient(-45deg, transparent 75%, color-mix(in srgb, var(--grass-a) 35%, var(--cream)) 75%),
    color-mix(in srgb, var(--grass-b) 18%, var(--cream));
  background-size: 28px 28px;
  background-position: 0 0, 0 14px, 14px -14px, -14px 0;
  padding: 1.25rem 0.5rem 1.5rem;
}

.board__rim--cta {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255, 143, 191, 0.25), transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(61, 158, 255, 0.2), transparent 45%),
    var(--cream);
}

/* —— Outline titles (game typography) —— */
.outline-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 5.5vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: #fffef8;
  -webkit-text-stroke: 0;
  text-shadow:
    0 0 0 var(--brown),
    2px 0 0 var(--brown),
    -2px 0 0 var(--brown),
    0 2px 0 var(--brown),
    0 -2px 0 var(--brown),
    3px 3px 0 var(--brown),
    -1px 3px 0 var(--brown),
    3px -1px 0 var(--brown),
    0 6px 0 rgba(240, 138, 16, 0.45);
}

.outline-title__accent {
  background: linear-gradient(180deg, #ffe566 0%, var(--gold) 55%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(2px 0 0 var(--brown)) drop-shadow(-2px 0 0 var(--brown)) drop-shadow(0 2px 0 var(--brown)) drop-shadow(0 -2px 0 var(--brown)) drop-shadow(3px 3px 0 var(--brown));
}

.outline-title--md {
  font-size: clamp(1.75rem, 4vw, 2.45rem);
  text-align: center;
}

[data-theme="dark"] .outline-title {
  color: #fff8e8;
  text-shadow:
    2px 0 0 #1a1208,
    -2px 0 0 #1a1208,
    0 2px 0 #1a1208,
    0 -2px 0 #1a1208,
    3px 3px 0 #1a1208,
    0 6px 0 rgba(240, 138, 16, 0.35);
}

/* —— Hero —— */
.hero {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 0.5rem;
}

.hero__banner {
  position: relative;
  aspect-ratio: 1024 / 500;
  max-height: min(42vh, 420px);
  overflow: hidden;
  background: var(--sky-mid);
}

.hero__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero__overlay {
  padding: 1.5rem 1.5rem 1.75rem;
  text-align: center;
  background: linear-gradient(180deg, color-mix(in srgb, var(--cream) 92%, transparent), var(--cream));
}

.hero__eyebrow {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brown-soft);
}

.hero__sub {
  margin: 0.85rem auto 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

/* Trail chapters */
.trail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.75rem;
}

.trail__step {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem 0.4rem 0.4rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  border: 3px solid var(--cream-deep);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brown-soft);
  opacity: 0.75;
  transition: opacity 0.2s, transform 0.2s, border-color 0.2s;
}

.trail__step span {
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background: var(--sand);
  color: var(--brown);
  font-size: 0.75rem;
}

.trail__step.is-active {
  opacity: 1;
  border-color: var(--gloss);
  transform: translateY(-2px);
  color: var(--brown);
}

.trail__step.is-active span {
  background: var(--gloss);
  color: #fff;
}

/* —— Sections —— */
.section {
  padding: 2.75rem 0 0.5rem;
}

.section__head {
  text-align: center;
  margin-bottom: 1.5rem;
}

.section__lead {
  margin: 0.65rem auto 0;
  max-width: 34rem;
  color: var(--muted);
}

/* Checker feature tiles */
.checker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.tile {
  position: relative;
  padding: 1.35rem 1.25rem 1.4rem;
  border-radius: 28px;
  background: color-mix(in srgb, var(--grass-a) 22%, var(--cream));
  border: 5px solid var(--cream-deep);
  box-shadow: 0 8px 0 color-mix(in srgb, var(--grass-b) 40%, transparent);
  transition: transform 0.22s var(--ease);
}

.tile--alt {
  background: color-mix(in srgb, var(--sand) 55%, var(--cream));
  box-shadow: 0 8px 0 color-mix(in srgb, var(--brown) 18%, transparent);
}

.tile:hover {
  transform: translateY(-4px);
}

.tile__icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  background: linear-gradient(160deg, #6ec4ff 0%, var(--gloss) 55%, var(--gloss-deep) 100%);
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.45), 0 6px 0 rgba(20, 90, 160, 0.28);
  color: #fff;
}

.tile__icon svg {
  width: 26px;
  height: 26px;
}

.tile h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--brown);
}

.tile p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* —— Screenshots rail —— */
.shot-rail {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 1rem 0.75rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--gloss) transparent;
}

.phone {
  flex: 0 0 auto;
  width: min(220px, 58vw);
  margin: 0;
  scroll-snap-align: center;
  text-align: center;
}

.phone img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  object-position: center;
  background: color-mix(in srgb, var(--sky-mid) 40%, var(--cream));
  border-radius: 22px;
  border: 5px solid var(--cream);
  box-shadow: 0 12px 24px rgba(40, 70, 30, 0.22);
}

.phone figcaption {
  margin-top: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brown);
}

/* —— Download CTA —— */
.section--download {
  padding-bottom: 1rem;
}

.cta-inner {
  padding: 2.25rem 1.5rem;
  text-align: center;
}

.cta-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 1rem;
  border-radius: 24px;
  box-shadow: 0 8px 0 rgba(93, 58, 26, 0.15);
}

.cta-inner p {
  margin: 0.75rem auto 0;
  max-width: 28rem;
  color: var(--muted);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

/* —— Glossy bubble buttons —— */
.bubble-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.7rem 1.35rem;
  border-radius: 18px;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(180deg, #7ec8ff 0%, var(--gloss) 45%, var(--gloss-deep) 100%);
  border: 3px solid #fff;
  box-shadow: var(--shadow-bubble), inset 0 3px 0 rgba(255, 255, 255, 0.45);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), filter 0.18s;
}

.bubble-btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.05);
}

.bubble-btn:active {
  transform: translateY(2px);
  box-shadow: 0 3px 0 rgba(20, 90, 160, 0.35), 0 6px 14px rgba(30, 90, 160, 0.2);
}

.bubble-btn svg {
  width: 20px;
  height: 20px;
}

.bubble-btn--sm {
  min-height: 42px;
  padding: 0.45rem 0.95rem;
  font-size: 0.9rem;
  border-radius: 14px;
}

.bubble-btn--store {
  background: linear-gradient(180deg, #ffd36a 0%, var(--gold) 48%, var(--gold-deep) 100%);
  box-shadow: 0 8px 0 rgba(160, 90, 10, 0.35), 0 14px 28px rgba(180, 100, 20, 0.22), inset 0 3px 0 rgba(255, 255, 255, 0.45);
}

.bubble-btn--store:active {
  box-shadow: 0 3px 0 rgba(160, 90, 10, 0.35), 0 6px 14px rgba(180, 100, 20, 0.2);
}

/* —— Floating dock —— */
.dock {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 90;
  display: flex;
  gap: 0.45rem;
  padding: 0.55rem 0.7rem 0.65rem;
  border-radius: 28px;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(14px);
  border: 4px solid var(--cream-deep);
  box-shadow: 0 12px 32px rgba(40, 70, 30, 0.22);
}

.dock__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  min-width: 64px;
  padding: 0.15rem;
  border-radius: 18px;
  color: var(--brown-soft);
  transition: color 0.2s, transform 0.2s;
}

.dock__item:hover,
.dock__item.is-active {
  color: var(--brown);
  transform: translateY(-2px);
}

.dock__bubble {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #7ec8ff 0%, var(--gloss) 50%, var(--gloss-deep) 100%);
  border: 3px solid #fff;
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.5), 0 5px 0 rgba(20, 90, 160, 0.3);
  color: #fff;
}

.dock__bubble svg {
  width: 22px;
  height: 22px;
}

.dock__item.is-active .dock__bubble {
  filter: brightness(1.08);
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.55), 0 5px 0 rgba(20, 90, 160, 0.35), 0 0 0 3px color-mix(in srgb, var(--pink) 55%, transparent);
}

.dock__item--cta .dock__bubble {
  background: linear-gradient(160deg, #ffd36a 0%, var(--gold) 50%, var(--gold-deep) 100%);
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.5), 0 5px 0 rgba(160, 90, 10, 0.3);
}

.dock__badge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--alert);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  font-family: var(--font-body);
}

.dock__label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
}

/* —— Footer —— */
.footer {
  position: relative;
  z-index: 1;
  margin-top: 1.5rem;
  padding: 2rem 1.25rem 1.5rem;
  background: color-mix(in srgb, var(--grass-b) 55%, #1f4a18);
  color: #f4ffe8;
}

.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.footer__brand img {
  width: 36px;
  height: 36px;
  border-radius: 12px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
}

.footer__links a {
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 0.95;
  transition: opacity 0.2s;
}

.footer__links a:hover {
  opacity: 1;
}

.footer__copy {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.85;
}

/* —— Modal —— */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.modal[hidden] {
  display: none !important;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 50, 40, 0.55);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.modal__panel {
  position: relative;
  z-index: 1;
  width: min(400px, 100%);
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: 28px;
  background: var(--cream);
  border: 6px solid var(--cream-deep);
  box-shadow: var(--shadow-board);
  text-align: center;
}

.modal__x {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--brown);
  background: var(--sand);
}

.modal__x svg {
  width: 18px;
  height: 18px;
}

.modal__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.75rem;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #7ec8ff, var(--gloss-deep));
  color: #fff;
}

.modal__icon svg {
  width: 28px;
  height: 28px;
}

.modal__panel h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--brown);
}

.modal__panel p {
  margin: 0.65rem 0 1.15rem;
  color: var(--muted);
}

/* —— Focus —— */
:focus-visible {
  outline: 3px solid var(--gloss);
  outline-offset: 3px;
}

/* —— Responsive —— */
@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .topbar__actions .bubble-btn--sm {
    display: none;
  }

  .checker {
    grid-template-columns: 1fr;
  }

  .hero__overlay {
    padding: 1.15rem 1.1rem 1.35rem;
  }

  .dock {
    bottom: 0.65rem;
    gap: 0.2rem;
    padding: 0.45rem 0.5rem 0.55rem;
    width: calc(100% - 1.2rem);
    max-width: 420px;
    justify-content: space-around;
  }

  .dock__item {
    min-width: 0;
    flex: 1;
  }

  .dock__bubble {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .board__rim {
    border-width: 7px;
    border-radius: 28px;
  }
}

@media (min-width: 900px) {
  .hero__overlay {
    padding: 1.75rem 2.25rem 2rem;
  }

  .phone {
    width: 200px;
  }

  .shot-rail {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .cloud,
  .tile,
  .bubble-btn,
  .dock__item {
    animation: none !important;
    transition: none !important;
  }
}
