:root {
  color-scheme: light;
  --blue: #3478f6;
  --blue-soft: #dbeaff;
  --ink: #132039;
  --muted: #738096;
  --cream: #fff7e9;
  --surface: rgba(255, 255, 255, 0.78);
  --line: rgba(39, 56, 88, 0.12);
  --green: #75c889;
  --green-dark: #42885d;
  --gold: #f3bb38;
  --wood: #ce8a45;
  --shadow: 0 22px 60px rgba(44, 65, 105, 0.14);
  --soft-shadow: 0 12px 32px rgba(44, 65, 105, 0.1);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 10%, rgba(255,255,255,.9) 0 32px, transparent 33px),
    radial-gradient(circle at 92% 18%, rgba(255,255,255,.85) 0 42px, transparent 43px),
    linear-gradient(180deg, #dff1ff 0%, #f7fbff 42%, #fff6e7 100%);
}
a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.brand-monster,
.mini-monster,
.room-monster,
.final-monster {
  image-rendering: pixelated;
  position: relative;
  display: inline-block;
  background: var(--green);
  border: 4px solid #273552;
  box-shadow: inset 0 -8px rgba(45, 122, 72, .2);
}
.brand-monster { width: 32px; height: 28px; border-radius: 9px 9px 10px 10px; }
.brand-monster::before,
.brand-monster::after,
.mini-monster::before,
.mini-monster::after,
.room-monster::before,
.room-monster::after,
.final-monster::before,
.final-monster::after {
  content: '';
  position: absolute;
  width: 9px;
  height: 9px;
  top: -9px;
  background: #e9fff1;
  border: 3px solid #273552;
  border-radius: 50%;
}
.brand-monster::before { left: 3px; }
.brand-monster::after { right: 3px; }
.site-header nav { display: flex; align-items: center; gap: 22px; color: var(--muted); font-weight: 750; }
.site-header nav a { text-decoration: none; }
.nav-app { color: var(--blue); }

.section-shell,
.section-card {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}
.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 56px;
  align-items: center;
  padding: 58px 0 42px;
}
.hero h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 1.08;
  letter-spacing: -0.075em;
}
.hero p {
  max-width: 620px;
  margin: 28px 0 0;
  color: #2d6bcf;
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 800;
  line-height: 1.8;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 36px; }
.app-store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
  padding: 12px 20px;
  border-radius: 18px;
  background: #10131a;
  color: white;
  text-decoration: none;
  box-shadow: var(--soft-shadow);
}
.apple-mark { font-size: 34px; line-height: 1; }
.app-store-button span:last-child { display: grid; font-size: 21px; font-weight: 850; line-height: 1.05; }
.app-store-button small { font-size: 10px; font-weight: 700; opacity: .82; }
.secondary-button {
  padding: 16px 22px;
  border: 1px solid rgba(52,120,246,.22);
  border-radius: 18px;
  background: rgba(255,255,255,.68);
  color: var(--blue);
  text-decoration: none;
  font-weight: 850;
}
.hero-note { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; color: var(--muted); font-weight: 750; }
.hero-note span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.48); }

.phone-stage { display: grid; place-items: center; }
.phone-frame {
  position: relative;
  width: 380px;
  min-height: 720px;
  padding: 54px 22px 24px;
  border: 12px solid #121722;
  border-radius: 58px;
  background: linear-gradient(180deg, #f5faff, #fff9ef);
  box-shadow: 0 28px 72px rgba(20, 31, 50, .28);
}
.phone-top { position: absolute; left: 50%; top: 13px; width: 118px; height: 30px; transform: translateX(-50%); border-radius: 0 0 18px 18px; background: #121722; }
.score-widget {
  position: relative;
  padding: 18px;
  min-height: 150px;
  border: 1px solid #cfe0ff;
  border-radius: 18px;
  background: #eef6ff;
}
.score-widget span { color: #3264b6; font-size: 13px; font-weight: 800; }
.score-widget strong { display: block; color: var(--blue); font-size: 44px; line-height: 1; letter-spacing: -.06em; }
.score-widget small { font-size: 16px; }
.score-meter { width: 150px; height: 8px; margin: 10px 0; border-radius: 99px; background: white; overflow: hidden; }
.score-meter i { display: block; height: 100%; background: var(--blue); }
.score-widget em { color: var(--muted); font-size: 12px; font-style: normal; }
.mini-monster { position: absolute; right: 22px; bottom: 20px; width: 74px; height: 72px; border-radius: 22px; }
.mini-monster::before { left: 10px; }
.mini-monster::after { right: 10px; }
.phone-section-title { display: flex; justify-content: space-between; margin: 26px 0 12px; font-size: 14px; }
.phone-section-title span { color: var(--muted); }
.task-preview { position: relative; padding: 17px; margin-bottom: 13px; border-radius: 17px; background: white; box-shadow: 0 8px 24px rgba(40,57,88,.08); }
.task-preview b { display: block; margin-bottom: 12px; }
.task-preview span { display: block; width: 190px; height: 8px; border-radius: 99px; background: #e8ecf4; overflow: hidden; }
.task-preview i { display: block; height: 100%; border-radius: inherit; background: var(--blue); }
.task-preview em { position: absolute; right: 16px; bottom: 14px; color: var(--muted); font-size: 12px; font-style: normal; font-weight: 800; }
.phone-tabs { position: absolute; left: 26px; right: 26px; bottom: 16px; height: 52px; display: grid; grid-template-columns: repeat(5, 1fr); place-items: center; border-radius: 24px; background: rgba(255,255,255,.88); }
.phone-tabs i { width: 18px; height: 18px; border: 3px solid #8a94a7; border-radius: 5px; }
.phone-tabs i.active { background: var(--blue); border-color: var(--blue); border-radius: 50%; }

.section-card {
  margin-top: 28px;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 34px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.section-card h2 { margin: 0 0 26px; text-align: center; color: #246bd4; font-size: clamp(26px, 4vw, 40px); letter-spacing: -.055em; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-grid article,
.score-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.76);
}
.feature-grid h3,
.score-grid h3 { margin: 16px 0 12px; font-size: 23px; color: var(--blue); letter-spacing: -.035em; }
.feature-grid p,
.split-card p,
.score-grid p { margin: 0; color: var(--muted); line-height: 1.8; font-weight: 650; }
.feature-icon { display: block; width: 52px; height: 52px; border-radius: 18px; background: var(--blue); position: relative; }
.feature-icon.timer::after { content: ''; position: absolute; inset: 13px; border: 4px solid white; border-radius: 50%; }
.feature-icon.progress::after { content: '✓'; position: absolute; inset: 0; display: grid; place-items: center; color: white; font-size: 30px; font-weight: 950; }
.feature-icon.score::after { content: '★'; position: absolute; inset: 0; display: grid; place-items: center; color: white; font-size: 28px; }

.split-card { display: grid; grid-template-columns: .85fr 1.15fr; gap: 32px; align-items: center; }
.split-card h2 { text-align: left; }
.care-pills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.care-pills span { padding: 12px 16px; border-radius: 999px; background: white; color: var(--blue); font-weight: 850; box-shadow: var(--soft-shadow); }
.room-preview { position: relative; min-height: 330px; overflow: hidden; border: 10px solid #151922; border-radius: 36px; background: linear-gradient(180deg, #f7edd7 0 48%, var(--wood) 48%); }
.room-window { position: absolute; left: 38px; top: 42px; width: 140px; height: 88px; border: 7px solid #9b6438; border-radius: 20px; background: linear-gradient(180deg, #9ed4ff 0 55%, #a7d18e 56%); }
.room-poster { position: absolute; right: 40px; top: 50px; width: 95px; height: 115px; display: grid; place-items: center; rotate: -2deg; border-radius: 8px; background: #fff7ce; color: #7a8c58; text-align: center; font-weight: 950; line-height: 1.25; }
.room-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 52%; background: repeating-linear-gradient(90deg, transparent 0 25px, rgba(103,62,28,.12) 25px 29px); }
.room-monster { position: absolute; left: 50%; bottom: 58px; width: 130px; height: 118px; transform: translateX(-50%); border-radius: 34px; }
.room-monster::before { left: 22px; }
.room-monster::after { right: 22px; }

.score-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
ul { margin: 0; padding: 0; list-style: none; }
li { position: relative; padding-left: 28px; margin: 14px 0; color: var(--muted); font-weight: 750; line-height: 1.55; }
li::before { content: '★'; position: absolute; left: 0; color: var(--gold); }
.week-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; margin: 22px 0 14px; }
.week-row span { display: grid; place-items: center; height: 34px; border-radius: 50%; background: #edf3ff; color: var(--blue); font-size: 12px; font-weight: 850; }
.routine-item { margin-top: 10px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: white; color: var(--muted); font-weight: 800; }
.routine-item.checked::before { content: '✓'; margin-right: 10px; color: #35b36b; }

.final-cta {
  position: relative;
  margin-top: 32px;
  margin-bottom: 34px;
  min-height: 190px;
  display: grid;
  grid-template-columns: 1fr auto 130px;
  gap: 28px;
  align-items: center;
  padding: 34px 42px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 34px;
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow);
}
.final-cta h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); letter-spacing: -.06em; }
.final-cta p { margin: 10px 0 0; color: var(--muted); font-weight: 700; }
.final-monster { width: 100px; height: 94px; border-radius: 28px; }
.final-monster::before { left: 14px; }
.final-monster::after { right: 14px; }

footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; padding: 0 20px 42px; color: var(--muted); font-size: 13px; }
footer a { text-decoration: none; }

@media (max-width: 900px) {
  .site-header nav a:not(.nav-app) { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 34px; }
  .phone-frame { width: min(370px, 100%); min-height: 680px; }
  .feature-grid,
  .split-card,
  .score-grid,
  .final-cta { grid-template-columns: 1fr; }
  .final-cta { text-align: center; justify-items: center; }
}

@media (max-width: 560px) {
  .site-header { padding: 14px 18px; }
  .brand { font-size: 21px; }
  .section-shell,
  .section-card { width: min(100% - 24px, 1120px); }
  .hero h1 { font-size: 43px; }
  .hero p { font-size: 17px; }
  .hero-actions { align-items: stretch; }
  .app-store-button,
  .secondary-button { width: 100%; justify-content: center; }
  .phone-frame { border-width: 9px; border-radius: 44px; transform: scale(.94); transform-origin: top center; margin-bottom: -38px; }
  .feature-grid article,
  .score-grid article { padding: 22px; }
  .room-preview { min-height: 300px; border-width: 7px; }
}

/* iOS PixelTasmon-inspired static monsters for the LP */
.brand-monster,
.mini-monster,
.room-monster,
.final-monster {
  background:
    radial-gradient(circle at 34% 43%, #1a140f 0 6%, transparent 7%),
    radial-gradient(circle at 66% 43%, #1a140f 0 6%, transparent 7%),
    radial-gradient(circle at 27% 62%, #f5857a 0 8%, transparent 9%),
    radial-gradient(circle at 73% 62%, #f5857a 0 8%, transparent 9%),
    linear-gradient(180deg, #7acb8c, #6dc180);
  border-color: #1a2440;
  border-radius: 30% 30% 24% 24%;
  box-shadow: inset 0 -10px rgba(45, 122, 72, .18), 5px 5px 0 rgba(0,0,0,.16);
}
.brand-monster::before,
.brand-monster::after,
.mini-monster::before,
.mini-monster::after,
.room-monster::before,
.room-monster::after,
.final-monster::before,
.final-monster::after {
  content: '✓';
  display: grid;
  place-items: center;
  color: #4d9e3d;
  font-size: 9px;
  line-height: 1;
  font-weight: 950;
  background: #f2fabe;
  border-color: #4d803d;
}
.mini-monster::before,
.mini-monster::after { font-size: 14px; }
.room-monster::before,
.room-monster::after { font-size: 18px; width: 26px; height: 26px; top: -20px; }
.final-monster::before,
.final-monster::after { font-size: 15px; width: 22px; height: 22px; top: -16px; }
.brand-monster::before { left: 2px; }
.brand-monster::after { right: 2px; }
.room-monster::before { left: 24px; }
.room-monster::after { right: 24px; }
