/* ─────────────────────────────────────────────────────────────────────────
   Ozturk Studio — Rescue Squad
   Mobile-first, no JS, no external resources.
   Palette: grass #7AC74F · sky #87CEEB · sun #FFD93D · pink #FF8FA3
            orange #FFA07A · purple #B19CD9 · cream #FFF8DC · ink #2E2A26
   ───────────────────────────────────────────────────────────────────────── */

:root {
  --grass:  #7AC74F;
  --grass-dark: #4E9A38;
  --sky:    #87CEEB;
  --sun:    #FFD93D;
  --pink:   #FF8FA3;
  --orange: #FFA07A;
  --purple: #B19CD9;
  --cream:  #FFF8DC;
  --ink:    #2E2A26;
  --ink-soft: #6B6258;
  --paper:  #FFFCF4;

  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-pill: 999px;

  --shadow-soft: 0 8px 24px rgba(46, 42, 38, 0.08);
  --shadow-card: 0 14px 40px rgba(46, 42, 38, 0.10);

  --container: 1080px;
  --content:    720px;
}

/* ── Reset / base ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
               Roboto, "Noto Sans", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; text-decoration-color: rgba(46,42,38,0.25); }
a:hover { text-decoration-color: var(--ink); }
a:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ── Layout helpers ── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.content {
  width: 100%;
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ── Top brand bar ── */
.brand-bar {
  padding: 22px 0;
  display: flex; align-items: center; justify-content: center;
}
.brand-bar .brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 15px; letter-spacing: 0.02em;
  color: var(--ink); text-decoration: none;
}
.brand-dot {
  width: 22px; height: 22px; border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #fff, var(--grass) 70%);
  box-shadow: 0 2px 6px rgba(46,42,38,0.15);
}

/* ─────────────────────────────────────────────────────────────────────────
   HERO
   ───────────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 8px 0 56px;
  overflow: hidden;
  text-align: center;
}
.hero::before {
  /* gentle pastel wash behind everything in the hero */
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 100%;
  background:
    radial-gradient(60% 50% at 80% 20%, rgba(255,217,61,0.25), transparent 60%),
    radial-gradient(60% 60% at 20% 30%, rgba(135,206,235,0.25), transparent 60%),
    radial-gradient(80% 60% at 50% 100%, rgba(122,199,79,0.18), transparent 60%);
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }

.hero .eyebrow {
  display: inline-block;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: #fff;
  box-shadow: var(--shadow-soft);
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-soft);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(40px, 9vw, 76px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.hero .pitch {
  font-size: clamp(17px, 2.4vw, 21px);
  color: var(--ink-soft);
  max-width: 540px;
  margin: 0 auto 36px;
}

.mascot-stage {
  width: min(360px, 80vw);
  margin: 0 auto 28px;
  aspect-ratio: 1 / 1;
  position: relative;
  background:
    radial-gradient(80% 60% at 50% 80%, rgba(122,199,79,0.20), transparent 60%),
    radial-gradient(60% 60% at 50% 30%, rgba(135,206,235,0.20), transparent 60%);
  border-radius: 50%;
}
.mascot-stage svg {
  width: 100%; height: 100%;
}

.cta-row {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  margin-top: 8px;
}
.appstore-badge {
  /* visual placeholder for the App Store badge — sized at the Apple guideline ratio */
  width: 168px; height: 56px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--shadow-soft);
}
.appstore-badge .label {
  display: flex; flex-direction: column; line-height: 1.1; text-align: left;
}
.appstore-badge .label .top { font-size: 10px; opacity: 0.75; font-weight: 500; letter-spacing: 0.02em; }
.appstore-badge .label .bot { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.appstore-badge:focus-visible { outline-color: var(--sun); }
.appstore-badge .placeholder-tag {
  position: absolute;
  margin-top: 76px;
  font-size: 12px; color: var(--ink-soft);
  font-weight: 500; letter-spacing: 0.04em;
  background: transparent;
}
.cta-row small {
  font-size: 12px; color: var(--ink-soft);
  letter-spacing: 0.06em; text-transform: uppercase;
}

/* ─────────────────────────────────────────────────────────────────────────
   WHAT IS IT
   ───────────────────────────────────────────────────────────────────────── */
.what {
  padding: 56px 0;
  text-align: center;
}
.what h2 {
  font-size: clamp(26px, 4.5vw, 36px);
  font-weight: 800;
  margin-bottom: 18px;
}
.what p {
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--ink);
  max-width: 620px;
  margin: 0 auto 14px;
  text-wrap: pretty;
}

/* ─────────────────────────────────────────────────────────────────────────
   TRUST PILLS
   ───────────────────────────────────────────────────────────────────────── */
.trust {
  padding: 16px 0 64px;
}
.trust ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  background: #fff;
  font-weight: 700; font-size: 15px;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}
.pill .check {
  width: 26px; height: 26px;
  border-radius: 999px;
  background: var(--grass);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 900;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,0.08);
}
.pill .check svg { width: 14px; height: 14px; }

/* ─────────────────────────────────────────────────────────────────────────
   AGES STRIP
   ───────────────────────────────────────────────────────────────────────── */
.ages {
  background:
    linear-gradient(180deg, #FFE6BC 0%, #FFC79A 100%);
  padding: 56px 24px;
  text-align: center;
  border-radius: var(--r-xl);
  margin: 0 24px;
  position: relative;
  overflow: hidden;
}
.ages .eyebrow {
  display: inline-block;
  background: #fff;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-soft);
  margin-bottom: 14px;
  box-shadow: var(--shadow-soft);
}
.ages h2 {
  font-size: clamp(28px, 5.5vw, 44px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.ages .age-blobs {
  display: flex; justify-content: center; gap: 10px; flex-wrap: wrap;
  margin-top: 22px;
}
.age-blob {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 999px;
  font-weight: 900; color: #fff;
  font-size: 20px;
  box-shadow: var(--shadow-soft);
}
.age-blob.b0  { background: var(--pink); }
.age-blob.b3  { background: var(--orange); }
.age-blob.b5  { background: var(--sun); color: var(--ink); }
.age-blob.b7  { background: var(--grass); }
.age-blob.b10 { background: var(--purple); }

/* ─────────────────────────────────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────────────────────────────────── */
.site-footer {
  padding: 56px 24px 40px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 14px;
}
.site-footer nav {
  display: flex; justify-content: center; gap: 22px; flex-wrap: wrap;
  margin-top: 10px;
}
.site-footer a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(46,42,38,0.25);
  font-weight: 600;
}
.site-footer a:hover { text-decoration-color: var(--ink); }

/* ─────────────────────────────────────────────────────────────────────────
   DESKTOP / WIDER
   ───────────────────────────────────────────────────────────────────────── */
@media (min-width: 760px) {
  body { font-size: 18px; }
  .ages { margin: 0 32px; padding: 80px 32px; }
  .hero { padding: 24px 0 88px; }
  .mascot-stage { width: 420px; margin-bottom: 32px; }
  .what { padding: 88px 0; }
  .trust { padding: 24px 0 96px; }
}

@media (min-width: 1080px) {
  .ages { margin: 0 auto; max-width: 1020px; }
}

/* ─────────────────────────────────────────────────────────────────────────
   PRIVACY PAGE
   ───────────────────────────────────────────────────────────────────────── */
.legal {
  max-width: var(--content);
  margin: 0 auto;
  padding: 32px 24px 80px;
  font-size: 17px;
  line-height: 1.7;
}
.legal .back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; color: var(--ink-soft);
  text-decoration: none; font-weight: 600;
  margin-bottom: 24px;
}
.legal .back:hover { color: var(--ink); }

.legal h1 {
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.legal .updated {
  color: var(--ink-soft); font-size: 14px;
  margin-bottom: 32px;
}
.legal h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 36px 0 12px;
  letter-spacing: -0.01em;
}
.legal h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 24px 0 8px;
}
.legal p { margin: 0 0 14px; }
.legal ul, .legal ol {
  margin: 0 0 16px;
  padding-left: 24px;
  list-style: disc;
}
.legal ul li, .legal ol li { margin-bottom: 6px; }
.legal a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(46,42,38,0.3);
}
.legal a:hover { text-decoration-color: var(--ink); }
.legal hr {
  border: 0;
  height: 1px;
  background: rgba(46,42,38,0.12);
  margin: 32px 0;
}
.legal blockquote {
  margin: 16px 0;
  padding: 14px 18px;
  background: var(--cream);
  border-radius: var(--r-md);
  color: var(--ink);
}
.legal code {
  background: rgba(46,42,38,0.06);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 0.92em;
}
