:root {
  color-scheme: light;
  --ink: #101010;
  --muted: #555;
  --paper: #fff;
  --line: #e1e1e1;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #111; outline-offset: 5px; }
.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
header, footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
header { min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.25rem; font-weight: 800; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: 12px 22px; }
nav a { text-underline-offset: 4px; }
header nav a, footer a { font-size: .9rem; }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 6vw, 74px); padding-block: 42px 68px; }
.kicker { color: #424242; font-weight: 750; font-size: .84rem; letter-spacing: .1em; text-transform: uppercase; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(3.35rem, 8vw, 6.3rem); line-height: .98; letter-spacing: -.075em; }
.hero h1 { margin-block: 15px 22px; }
.intro { color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 1.55; max-width: 35ch; }
.button { display: inline-block; margin-top: 26px; padding: 13px 21px; border: 1px solid #111; border-radius: 12px; color: white; background: #111; text-decoration: none; font-weight: 700; }
.button:hover { background: white; color: #111; }
.button:active { transform: translateY(1px); }
.features { margin-bottom: 62px; border-top: 1px solid var(--line); padding-top: 31px; }
.features > h2 { font-size: clamp(2rem, 5vw, 3.15rem); letter-spacing: -.045em; margin-bottom: 22px; }
.features p, .legal p, .legal li { line-height: 1.65; color: var(--muted); }
footer { border-top: 1px solid var(--line); padding-block: 24px; color: var(--muted); }
.legal { max-width: 700px; margin: 52px auto 70px; }
.legal h1 { font-size: clamp(2.7rem, 8vw, 4.5rem); }
.legal h1 + p { margin-top: 18px; }
.legal h2 { margin-top: 28px; margin-bottom: 8px; font-size: 1.3rem; }
.legal p + p { margin-top: 10px; }
.legal ul { padding-left: 22px; margin-block: 8px; }
@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; padding-block: 34px 42px; }
}

.landing > header {
  min-height: 64px;
  margin-top: 18px;
  padding: 10px 14px 10px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.landing > header nav a { text-decoration: none; font-weight: 650; }
.landing > header nav a:hover { text-decoration: underline; }
.apple-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 20px;
  border-color: #000;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}
.apple-download img { flex: none; }
.apple-download:hover { background: #292929; color: #fff; }
.nav-download { margin: 0; min-height: 42px; padding: 9px 15px; font-size: .95rem; }
.nav-download img { width: 17px; height: 17px; }
.showcase { padding-block: clamp(48px, 8vw, 110px) 58px; }
.showcase h1 {
  font-size: clamp(3.2rem, 7.6vw, 6rem);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -.055em;
}
.showcase .intro {
  color: var(--ink);
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.phone-stage {
  margin: 0;
  padding: 34px 14px 15px;
  display: grid;
  justify-items: center;
  gap: 13px;
  background: repeating-radial-gradient(circle at 50% 43%, transparent 0 43px, #0000000c 44px 45px), #f4f4f4;
  border-radius: 34px;
}
.phone-stage figcaption { font-size: .75rem; color: var(--muted); }
.phone {
  width: min(100%, 286px);
  border: 7px solid #151515;
  border-radius: 35px;
  padding: 13px 11px 7px;
  background: #fff;
  box-shadow: 0 13px 22px #0003, 0 0 0 1px #777;
  font-variant-numeric: tabular-nums;
}
.phone-top, .phone-title, .alarm-row { display: flex; align-items: center; justify-content: space-between; }
.phone-top { padding: 0 5px; font-size: .7rem; font-weight: 800; }
.phone-top i { background: #151515; border-radius: 20px; width: 64px; height: 16px; }
.phone-title { padding: 18px 1px 10px; font-size: 1.35rem; font-weight: 800; letter-spacing: -.05em; }
.phone-title span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 12px; background: #eee; }
.next-alarm { position: relative; isolation: isolate; background: #eaeaea; border-radius: 18px; min-height: 128px; padding: 18px 9px; overflow: hidden; font-size: .75rem; }
.next-alarm strong { display: block; margin-top: 4px; letter-spacing: -.055em; font-size: clamp(1.75rem, 4vw, 2.4rem); }
.next-alarm small { font-size: .7rem; letter-spacing: 0; }
.next-alarm img { position: absolute; right: -13px; bottom: -12px; width: 45%; height: auto; z-index: -1; filter: grayscale(1); }
.phone-label { margin-block: 15px 5px; font-weight: 800; }
.alarm-row { padding: 9px 1px; border-bottom: 1px solid var(--line); }
.alarm-row small { display: block; color: var(--muted); font-size: .66rem; }
.toggle { display: block; width: 29px; height: 17px; padding: 2px; border-radius: 20px; background: #161616; }
.toggle::after { content: ""; display: block; margin-left: auto; width: 13px; height: 13px; border-radius: 50%; background: white; }
.home-indicator { width: 75px; height: 4px; border-radius: 9px; background: #151515; margin: 19px auto 0; }

.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.tile {
  padding: clamp(22px, 3.5vw, 40px);
  min-height: 265px;
  border: 1px solid var(--line);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  overflow: hidden;
}
.tile h3 { margin: 0 0 8px; font-size: clamp(1.55rem, 3vw, 2.35rem); line-height: 1.02; letter-spacing: -.06em; }
.tile p { max-width: 36ch; }
.quests {
  grid-column: span 7;
  min-height: 310px;
  background: radial-gradient(ellipse at 75% 100%, #343434, transparent 68%), #111;
  color: #fff;
  border-color: #111;
}
.quests p { color: #c6c6c6; }
.sounds { grid-column: span 5; background: #f4f4f4; }
.bedtime { grid-column: span 4; background: #ededed; }
.schedule { grid-column: span 8; background: #fafafa; }
.quest-art, .schedule-art { display: flex; gap: clamp(7px, 1.5vw, 17px); }
.quest-art { justify-content: center; padding-block: 6px 10px; }
.quest-art span {
  text-align: center;
  flex: 1;
  max-width: 150px;
  padding: 14px 5px;
  border: 1px solid #ffffff30;
  border-radius: 13px;
  color: #fff;
  background: #2d2d2d;
  font-weight: 800;
  font-size: clamp(1.25rem, 4vw, 2.15rem);
}
.quest-art span:first-child { transform: translateY(8px) rotate(-7deg); }
.quest-art span:last-child { transform: translateY(8px) rotate(7deg); }
.quest-art span:nth-child(2) { background: #fff; color: #111; }
.tile small { display: block; font-size: .75rem; }
.quest-art span:not(:nth-child(2)) small { color: #d0d0d0; }
.sound-art, .bedtime-art, .schedule-art div { border: 1px solid var(--line); background: #fff; border-radius: 14px; }
.sound-art, .bedtime-art { display: flex; align-items: center; gap: 12px; padding: 13px; }
.sound-art > span, .bedtime-art > span { display: grid; place-items: center; border-radius: 8px; width: 38px; height: 38px; flex: none; background: #111; color: #fff; font-size: 1.4rem; }
.sound-art small, .bedtime-art small, .schedule-art small { color: var(--muted); }
.waveform { display: flex; height: 38px; flex: 1; align-items: center; justify-content: flex-end; gap: 3px; }
.waveform i { width: 3px; height: var(--height); border-radius: 2px; background: #555; }
.schedule-art div { flex: 1; min-width: 0; padding: 12px 15px; }
.schedule-art strong { font-size: clamp(1.6rem, 4vw, 2.5rem); letter-spacing: -.07em; }
.schedule-art sub { font-size: .73rem; vertical-align: baseline; letter-spacing: 0; }
.ratings { border-top: 1px solid var(--line); padding-block: 29px 60px; }
.ratings h2 { font-size: clamp(2rem, 5vw, 3.15rem); letter-spacing: -.045em; }
.ratings > p { color: var(--muted); margin-top: 8px; }
.review-grid { margin-top: 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.review { border: 1px solid var(--line); border-radius: 16px; background: #fafafa; padding: 22px; display: flex; flex-direction: column; gap: 9px; }
.review h3 { margin: 0; }
.review p { color: var(--muted); line-height: 1.55; }
.review .stars { color: #111; letter-spacing: .13em; }
.review small { color: var(--muted); margin-top: auto; padding-top: 7px; }
.download { text-align: center; padding-block: 25px; }
.download img { display: block; margin: 0 auto 22px; }
@media (max-width: 720px) {
  .landing > header nav { order: 3; flex-basis: 100%; row-gap: 6px; padding: 3px 0; }
  .showcase { padding-block: 42px; }
  .phone-stage { width: min(100%, 440px); justify-self: center; }
  .bento, .review-grid { grid-template-columns: 1fr; }
  .bento .tile { grid-column: auto; min-height: 200px; }
  .bento .quests { min-height: 250px; }
}

@media (max-width: 375px) {
  .wrap { width: calc(100% - 32px); }
  .showcase h1 { font-size: 2.9rem; }
  .landing > header { gap: 10px; padding-inline: 10px; }
  .landing .brand { font-size: 1.05rem; }
  .nav-download { padding-inline: 8px; }
  .waveform { display: none; }
}
