/* Tick Tock Egg: the Morning nest look (cream ground, plum ink, yolk accent). */
@font-face {
  font-family: "Fredoka";
  src: url("/fonts/fredoka-latin.woff2") format("woff2");
  font-weight: 500 700;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito-latin.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --cream: #FBF4E6;
  --paper: #FFFDF8;
  --line: #E7D7BC;
  --ink: #2B2440;
  --muted: #6A5F7E;
  --yolk: #F6B233;
  --leaf: #3F7A57;
  --display: "Fredoka", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --body: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; }
a { color: var(--ink); }
a:hover { color: var(--muted); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; line-height: 1.1; }
p { margin: 0; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.narrow { max-width: 760px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.muted { color: var(--muted); }
.center { text-align: center; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--paper); padding: 8px 14px; border-radius: 999px; z-index: 10; }

/* Header and footer */
.site-header {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px; padding-top: 20px; padding-bottom: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 11px; border: 2px solid var(--ink); }
.brand span { font-family: var(--display); font-weight: 600; font-size: 24px; }
.site-nav { display: flex; gap: 8px; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 0 16px; border-radius: 999px; text-decoration: none; font-weight: 700;
  border: 2px solid transparent;
}
.site-nav a[aria-current="page"] { background: var(--paper); border-color: var(--line); }

.site-footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  padding-top: 36px; padding-bottom: 48px; color: var(--muted); font-size: 15px;
}
.site-footer.ruled { border-top: 2px solid var(--line); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }

/* Bands */
.band { background: var(--paper); border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); }

/* Home: hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 40px; padding-bottom: 72px; }
.hero-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.eyebrow { font-weight: 800; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--leaf); }
.hero h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.05; }
.lede { font-size: 20px; color: var(--muted); max-width: 520px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px;
  border-radius: 999px; background: var(--ink); color: var(--cream); font-weight: 800;
}
.hero-art { flex: 1 1 340px; min-width: 0; display: flex; justify-content: center; }
.phone-stack { position: relative; width: 300px; max-width: 100%; }
.phone-stack .screen { width: 100%; display: block; border-radius: 44px; border: 3px solid var(--ink); background: var(--paper); }
.phone-stack .peek {
  position: absolute; width: 140px; right: -36px; bottom: 40px;
  border-radius: 28px; border: 3px solid var(--ink); background: var(--cream);
}

/* Home: animals */
.animals { padding-top: 56px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 28px; align-items: center; }
.animals h2, .section-title { font-size: 36px; }
.animal-grid {
  width: 100%; margin: 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 20px;
}
.animal-grid figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.animal-grid img { width: 140px; }
.animal-grid figcaption { font-family: var(--display); font-weight: 600; font-size: 20px; }

/* Home: features */
.features { padding-top: 72px; padding-bottom: 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card {
  background: var(--paper); border: 2px solid var(--line); border-radius: 24px;
  padding: 28px; display: flex; flex-direction: column; gap: 10px;
}
.card h3 { font-size: 24px; }
.card p { color: var(--muted); }

/* Home: steps */
.steps { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-bottom: 72px; }
.steps-art { flex: 1 1 300px; min-width: 0; display: flex; justify-content: center; }
.steps-art img { width: 280px; border-radius: 42px; border: 3px solid var(--ink); }
.steps-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.steps ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.num {
  flex: 0 0 36px; height: 36px; border-radius: 999px; background: var(--yolk);
  display: flex; align-items: center; justify-content: center; font-weight: 800;
}

/* Home: plans */
.plans { padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 28px; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.plan { border: 2px solid var(--line); border-radius: 24px; padding: 28px; background: var(--cream); display: flex; flex-direction: column; gap: 12px; }
.plan.full { border: 3px solid var(--ink); }
.plan h3 { font-size: 26px; }
.plan ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }

/* Privacy and support */
.doc { padding-top: 32px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 28px; line-height: 1.6; }
.doc h1 { font-size: clamp(36px, 5vw, 52px); }
.doc > section { display: flex; flex-direction: column; gap: 10px; }
.doc h2 { font-size: 26px; }
.callout {
  background: var(--paper); border: 3px solid var(--ink); border-radius: 24px;
  padding: 24px 28px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center;
}
.callout > img { width: 72px; flex: 0 0 72px; align-self: flex-start; }
.callout > div { display: flex; flex-direction: column; gap: 6px; flex: 1 1 320px; }
.callout.split { justify-content: space-between; }
.pill-button {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px;
  border-radius: 999px; background: var(--yolk); border: 2px solid var(--ink);
  text-decoration: none; font-weight: 800;
}
.faq { display: flex; flex-direction: column; gap: 18px; }
.faq h2 { font-size: 30px; }
.faq-item { background: var(--paper); border: 2px solid var(--line); border-radius: 20px; padding: 20px 24px; display: flex; flex-direction: column; gap: 6px; }
.faq-item h3 { font-size: 21px; }

@media (max-width: 480px) {
  .hero { gap: 40px; padding-top: 16px; padding-bottom: 56px; }
  .phone-stack { width: 240px; }
  .phone-stack .peek { width: 112px; right: -24px; }
  .animal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .animal-grid img { width: 120px; }
  .animals h2, .section-title { font-size: 30px; }
  .callout { padding: 20px; }
}

/* Cookie choice (Google Analytics on this website only, never in the app) */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 36rem; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 14px 16px;
  border-radius: 20px; background: var(--ink); color: var(--cream); font-size: 15px; line-height: 1.45;
  box-shadow: 0 6px 24px rgba(43, 36, 64, .25);
}
.consent[hidden] { display: none; }
.consent p { flex: 1 1 16rem; }
.consent a { color: inherit; }
.consent div { display: flex; gap: 8px; }
.consent button {
  font: inherit; font-weight: 800; color: inherit; background: transparent;
  border: 2px solid rgba(251, 244, 230, .55); border-radius: 999px; min-height: 44px; padding: 0 18px; cursor: pointer;
}
.consent button:hover { background: rgba(251, 244, 230, .12); }
.consent button:focus-visible { outline: 3px solid var(--yolk); outline-offset: 2px; }
.consent-reset {
  font: inherit; font-weight: 800; color: var(--ink); background: var(--paper);
  border: 2px solid var(--line); border-radius: 999px; min-height: 44px; padding: 0 18px; cursor: pointer;
}
.consent-reset:hover { border-color: var(--ink); }
