:root {
  color-scheme: light;
  --bg: #c9f4ff;
  --ice: rgba(255, 255, 255, 0.74);
  --line: rgba(9, 88, 118, 0.16);
  --ink: #073042;
  --muted: rgba(7, 48, 66, 0.68);
  --accent: #ff8a3d;
  --blue: #1fadd1;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-width: 320px;
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

body::before {
  background-image: url('/assets/penguin-rescue-ice-tile.png');
  background-repeat: repeat;
  background-size: 220px 235px;
  opacity: 0.16;
}

body::after {
  background: linear-gradient(rgba(201, 244, 255, 0.78), rgba(91, 196, 220, 0.88));
}

a { color: inherit; }
.container { position: relative; z-index: 1; width: min(720px, calc(100% - 32px)); margin: 0 auto; }

.nav,
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav { padding: 18px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 0 0 2px rgba(255,255,255,.75); }
.links { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 0.94rem; }
.links a { text-decoration: none; }
.links a:hover { color: var(--ink); }

.hero,
.page { padding: clamp(44px, 10vw, 92px) 0; }
.hero { text-align: center; }
.icon {
  width: 108px;
  height: 108px;
  margin: 0 auto 24px;
  border-radius: 24px;
  box-shadow:
    0 24px 56px rgba(0, 74, 103, 0.22),
    0 0 0 6px rgba(255, 255, 255, 0.72);
}
h1 {
  margin: 0;
  color: #073042;
  font-size: clamp(2.7rem, 8vw, 5.2rem);
  font-weight: 950;
  line-height: 0.95;
  letter-spacing: -0.075em;
  text-shadow: 0 3px 0 rgba(255,255,255,.86), 0 8px 28px rgba(0, 91, 124, 0.18);
}
.page h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
.lede { max-width: 560px; margin: 18px auto 0; color: var(--muted); font-size: 1.12rem; }
.page > .lede { max-width: none; margin: 10px 0 0; font-size: 0.95rem; }
.store-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.store-actions a { display: inline-flex; width: 135px; transition: opacity 140ms ease, transform 140ms ease; }
.store-actions a:first-child { width: 120px; }
.store-actions a:hover { opacity: 0.92; transform: translateY(-1px); }
.store-actions img { display: block; width: 100%; height: auto; }
.note { margin-top: 16px; color: var(--muted); font-size: 0.92rem; }

.card {
  margin-top: 26px;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 24px 70px rgba(0, 74, 103, 0.14);
  backdrop-filter: blur(10px);
}
h2 { margin: 28px 0 8px; color: var(--blue); font-size: 1.25rem; }
h2:first-child { margin-top: 0; }
p,
li { color: var(--muted); }
ul { padding-left: 1.2rem; }
.card a { color: var(--ink); font-weight: 800; }

.footer { padding: 28px 0 38px; color: var(--muted); font-size: 0.92rem; }
@media (max-width: 560px) { .nav, .footer-inner { flex-direction: column; text-align: center; } }
