/* Palette and type follow the app's V14 tokens. */
:root {
  --paper: #fffbf1;
  --ink: #352d4b;
  --muted: #7d618f;
  --purple: #785bd1;
  --purple-deep: #503b96;
  --lavender: #eae2fa;
  --lavender-line: #cec5ee;
  --sky: #c0eaf0;
  --sage: #e6eddb;
  --sage-ink: #4c6540;
  --coin: #ffd16b;
  --edge: #ebdbbf;
  --display: "Nunito", ui-rounded, system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
}
img { display: block; max-width: 100%; }
a { color: var(--purple-deep); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
  border-radius: 10px;
}
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }

/* Header */
.site-head { padding: 20px 0; position: relative; z-index: 2; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 900 26px/1 var(--display); }
.brand-face {
  width: 38px; height: 38px; flex: none;
  border-radius: 34%;
  background: #7566e8;
  box-shadow: inset 0 -4px 0 #5746b6;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.brand-face .eyes { gap: 5px; margin-top: -2px; }
.brand-face .eye { width: 7px; height: 14px; }
.site-head nav { display: flex; gap: 8px; font-weight: 600; font-size: 15px; }
.site-head nav a {
  color: var(--ink); text-decoration: none;
  background: rgba(255, 251, 241, .82);
  padding: 7px 14px; border-radius: 999px;
}
.site-head nav a:hover { text-decoration: underline; }

/* Buttons */
.store-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px 13px 18px;
  background: var(--ink); color: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 0 #1d1730;
  text-decoration: none; font-weight: 600; font-size: 16px;
  transition: transform .12s, box-shadow .12s;
}
.store-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #1d1730; }
.store-btn svg { width: 22px; height: 22px; }
.store-btn span { line-height: 1.15; }
.store-btn small { display: block; font-weight: 400; font-size: 11px; opacity: .8; }

/* Hero: Nuro in his meadow */
.hero {
  position: relative; z-index: 1;
  min-height: min(760px, 100svh);
  display: flex; flex-direction: column;
  background: var(--sky);
  overflow: hidden;
  border-radius: 0 0 44px 44px;
}
/* Time of day, matching the app's Home sky and ink */
.hero[data-part="morning"], .hero[data-part="evening"] { background: #fbdcbd; }
.hero[data-part="night"] { background: #343765; }
.hero[data-part="night"] .site-head .brand { color: #fff0ce; }
.hero[data-part="night"] .sticker { opacity: .75; }
.fireflies { display: none; position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.hero[data-part="evening"] .fireflies, .hero[data-part="night"] .fireflies { display: block; }
.fireflies i {
  position: absolute; width: 7px; height: 7px; border-radius: 50%;
  background: #fff3a6; box-shadow: 0 0 10px 3px rgba(255, 236, 140, .7);
  animation: glow 4s ease-in-out infinite;
}
.fireflies i:nth-child(1) { left: 58%; top: 58%; }
.fireflies i:nth-child(2) { left: 66%; top: 70%; animation-delay: -1s; }
.fireflies i:nth-child(3) { left: 84%; top: 62%; animation-delay: -2s; }
.fireflies i:nth-child(4) { left: 92%; top: 80%; animation-delay: -3s; }
.fireflies i:nth-child(5) { left: 50%; top: 76%; animation-delay: -1.5s; }
.fireflies i:nth-child(6) { left: 76%; top: 52%; animation-delay: -2.5s; }
.fireflies i:nth-child(7) { left: 40%; top: 66%; animation-delay: -.5s; }
@keyframes glow {
  0%, 100% { opacity: .2; transform: translate(0, 0); }
  50% { opacity: 1; transform: translate(6px, -10px); }
}
.hero-scene {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center bottom;
}
.hero-grid {
  position: relative; z-index: 1;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 24px;
  padding-bottom: 48px;
}
.hero-copy {
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  border-radius: 32px;
  padding: 36px;
  box-shadow: 0 5px 0 var(--edge);
  max-width: 520px;
}
.hero h1 {
  font: 900 clamp(44px, 6.4vw, 78px)/.98 var(--display);
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.hero-copy p { font-size: 19px; margin: 0 0 26px; color: #4a4163; }
.hero-copy .fine { font-size: 14px; color: var(--muted); margin: 14px 0 0; }

.nuro-stage {
  position: relative;
  justify-self: center;
  align-self: end;
  width: min(100%, 400px);
  margin-bottom: -8px;
}
.nuro {
  position: relative;
  display: block; width: 100%;
  aspect-ratio: 1;
  padding: 0; border: 0; background: none;
  cursor: pointer;
  animation: bob 3.2s ease-in-out infinite;
}
.nuro img { position: absolute; inset: 0; width: 100%; height: 100%; }
.nuro img { pointer-events: none; }
.nuro .wing {
  transform-origin: 75.45% 48.6%; /* flipper shoulder at (166,107) of 220 */
  transform: rotate(-77deg);
  animation: wave 1.8s ease-in-out .5s 2;
}
.nuro .pose { opacity: 0; transition: opacity .25s; }
.nuro.posed .pose { opacity: 1; }
.nuro.posed .wing, .nuro.posed .body { opacity: 0; }
.nuro .wing, .nuro .body { transition: opacity .25s; }
.nuro.poked { animation: hop .45s ease-out; }
.nuro.poked .wing { animation: wave .9s ease-in-out; }
@keyframes bob { 50% { transform: translateY(-6px); } }
@keyframes wave {
  0%, 100% { transform: rotate(-77deg); }
  20%, 60% { transform: rotate(-105deg); }
  40%, 80% { transform: rotate(-55deg); }
}
@keyframes hop {
  0%, 100% { transform: translateY(0) scale(1, 1); }
  30% { transform: translateY(0) scale(1.06, .94); }
  60% { transform: translateY(-22px) scale(.97, 1.03); }
}
.bubble {
  position: absolute; z-index: 3;
  left: -4%; top: -2%;
  max-width: 230px;
  background: #fff;
  border: 2.5px solid var(--ink);
  border-radius: 22px;
  padding: 10px 16px;
  font: 800 17px/1.3 var(--display);
  transform: rotate(-3deg);
}
.bubble::after {
  content: ""; position: absolute;
  right: 26px; bottom: -11px;
  width: 18px; height: 18px;
  background: #fff;
  border-right: 2.5px solid var(--ink);
  border-bottom: 2.5px solid var(--ink);
  transform: rotate(45deg) skew(8deg, 8deg);
}

/* Floating game stickers */
.stickers { position: absolute; inset: 0; pointer-events: none; }
.sticker {
  position: absolute; width: 64px; height: 64px;
  filter: drop-shadow(0 4px 0 rgba(53, 45, 75, .12));
  animation: drift 7s ease-in-out infinite;
}
.s1 { left: 47%; top: 14%; width: 78px; height: 78px; }
.s2 { left: 56%; top: 30%; animation-delay: -2s; }
.s3 { left: 88%; top: 44%; width: 72px; height: 72px; animation-delay: -4s; }
.s4 { left: 64%; top: 8%; width: 56px; height: 56px; animation-delay: -1s; }
.s5 { left: 4%; top: 78%; animation-delay: -3s; }
.s6 { left: 92%; top: 78%; width: 56px; height: 56px; animation-delay: -5s; }
.s7 { left: 40%; top: 84%; width: 54px; height: 54px; animation-delay: -6s; }
.s8 { left: 38%; top: 9%; width: 52px; height: 52px; animation-delay: -2.5s; }
.s9 { left: 50%; top: 56%; width: 50px; height: 50px; animation-delay: -4.5s; }
@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-14px) rotate(6deg); }
}

/* Lock screen with the eyes */
section { padding: 104px 0; }
.pause { background: #292927; color: #fff; margin-top: -44px; padding-top: 148px; }
.pause-grid { display: grid; grid-template-columns: 420px 1fr; gap: 72px; align-items: center; }
.phone {
  width: 340px; justify-self: center;
  aspect-ratio: 9 / 16;
  border-radius: 52px;
  padding: 12px;
  background: #3a3a37;
  box-shadow: 0 0 0 2px #4a4a46, 0 40px 80px -30px #000;
  transform: rotate(-4deg);
}
.phone-screen {
  height: 100%;
  border-radius: 42px;
  background: #292927;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 28px 26px; text-align: center;
}
.face {
  width: 168px; aspect-ratio: 1;
  border-radius: 34%;
  background: #7566e8;
  box-shadow: inset 0 -12px 0 #5746b6;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px;
  overflow: hidden;
}
.eyes {
  display: flex; gap: 22px; align-items: center; justify-content: center;
  transition: transform .25s ease-out;
}
.eye {
  width: 32px; height: 64px;
  background: #fff; border-radius: 50%;
  animation: blink 5s infinite;
}
@keyframes blink {
  0%, 93%, 100% { transform: scaleY(1); }
  96% { transform: scaleY(.1); }
}
.shield-title { font: 800 26px/1.2 var(--display); margin: 0 0 8px; }
.shield-sub { color: #a6a6a6; font-size: 15px; margin: 0 0 auto; }
.shield-btn {
  display: block; width: 100%;
  background: #7a60d8; color: #fff;
  border-radius: 16px; padding: 14px; font-weight: 600;
  margin: 28px 0 14px;
}
.shield-link { font-weight: 600; font-size: 15px; }
.pause-copy h2 {
  font: 900 clamp(34px, 4.6vw, 54px)/1.05 var(--display);
  margin: 0 0 18px; max-width: 16ch;
}
.pause-copy > p { color: #c9c4d6; font-size: 19px; max-width: 46ch; margin: 0 0 28px; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.facts li {
  background: #34343a; border-radius: 18px; padding: 14px 18px;
  color: #c9c4d6; max-width: 46ch;
}
.facts b { color: #fff; }

/* A day with Nuro */
.section-head { max-width: 640px; margin-bottom: 24px; }
.section-head h2, .world-copy h2 {
  font: 900 clamp(34px, 5vw, 56px)/1.04 var(--display);
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.section-head p { color: var(--muted); margin: 0; font-size: 18px; }
.journey .wrap { position: relative; }
.trail {
  display: block; width: 100%; height: 120px;
  margin-bottom: -60px;
}
.trail path { fill: none; stroke: #e8d9b5; stroke-width: 6; stroke-dasharray: 2 16; stroke-linecap: round; }
.postcards {
  list-style: none; margin: 0; padding: 0; position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  counter-reset: step;
}
.postcard {
  counter-increment: step;
  background: #fff;
  padding: 12px 12px 24px;
  border-radius: 26px;
  box-shadow: 0 4px 0 var(--edge), 0 18px 40px -24px rgba(53, 45, 75, .35);
}
.postcard:nth-child(1) { transform: rotate(-2deg); }
.postcard:nth-child(2) { transform: translateY(28px) rotate(1.5deg); }
.postcard:nth-child(3) { transform: rotate(-1deg); }
.scene {
  position: relative; aspect-ratio: 400 / 290;
  border-radius: 18px; overflow: hidden;
  margin-bottom: 18px;
}
.scene .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scene .mood { position: absolute; width: 46%; bottom: -5%; z-index: 2; }
.blob { position: absolute; border-radius: 50%; }

/* 1: a phone full of apps, three of them locked */
.scene-pick { background: var(--lavender); }
.scene-pick .blob { width: 70%; aspect-ratio: 1; left: -12%; top: 18%; background: #ddd2f7; }
.mini-phone {
  position: absolute; left: 9%; top: 10%;
  width: 46%; aspect-ratio: 9 / 13;
  background: #fff; border-radius: 22px;
  border: 3px solid var(--ink);
  padding: 22px 12px 12px;
  transform: rotate(-7deg);
  box-shadow: 6px 8px 0 #cfc3f1;
}
.notch { position: absolute; top: 8px; left: 50%; width: 30%; height: 6px; margin-left: -15%; border-radius: 6px; background: var(--ink); }
.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 9%; }
.app {
  position: relative; aspect-ratio: 1; border-radius: 28%;
  background: var(--c);
  box-shadow: inset 0 -3px 0 rgba(53, 45, 75, .12);
}
.app.locked { filter: saturate(.5) brightness(.95); }
.app i {
  position: absolute; right: -18%; bottom: -18%;
  width: 62%; aspect-ratio: 1; border-radius: 50%;
  background: var(--purple); color: #fff;
  display: grid; place-items: center;
  border: 2px solid #fff;
  animation: snap 4s ease-in-out infinite;
}
.app:nth-child(4) i { animation-delay: .25s; }
.app:nth-child(8) i { animation-delay: .5s; }
.app i svg { width: 62%; height: 62%; }
@keyframes snap {
  0%, 12% { transform: scale(0); }
  20% { transform: scale(1.25); }
  26%, 88% { transform: scale(1); }
  96%, 100% { transform: scale(0); }
}
.scene-pick .mood { right: 2%; }

/* 2: a memory board lighting up, coins popping out */
.scene-play { background: #f7e1c6; }
.scene-play .blob { width: 64%; aspect-ratio: 1; right: -10%; top: -20%; background: #fbd9a6; }
.board {
  position: absolute; right: 10%; top: 12%;
  width: 46%; aspect-ratio: 1;
  background: #fffdf6; border: 3px solid #6953b4; border-radius: 22%;
  padding: 10%;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 7%; align-content: center;
  transform: rotate(6deg);
  box-shadow: -6px 8px 0 #e8c08a;
}
.cell { aspect-ratio: 1; border-radius: 26%; background: #e9e1f8; }
.cell.lit { animation: lit 3s ease-in-out infinite; animation-delay: var(--d); }
@keyframes lit {
  0%, 8% { background: #e9e1f8; transform: scale(1); }
  14%, 40% { background: #9580e8; transform: scale(1.06); }
  48%, 100% { background: #e9e1f8; transform: scale(1); }
}
.coins { position: absolute; right: 8%; bottom: 8%; width: 40%; height: 30%; z-index: 3; }
.coin { position: absolute; width: 34px; height: 34px; animation: pop 3s ease-out infinite; }
.coin:nth-child(1) { left: 6%; bottom: 0; }
.coin:nth-child(2) { left: 40%; bottom: 0; animation-delay: .35s; }
.coin:nth-child(3) { left: 74%; bottom: 0; animation-delay: .7s; }
@keyframes pop {
  0%, 50% { transform: translateY(0) scale(0); opacity: 0; }
  60% { transform: translateY(-22px) scale(1.1); opacity: 1; }
  85% { transform: translateY(-30px) scale(1); opacity: 1; }
  100% { transform: translateY(-36px) scale(.9); opacity: 0; }
}
.scene-play .mood { left: 1%; }

/* 3: a break timer ticking down at night */
.ring {
  position: absolute; left: 9%; top: 11%;
  width: 46%; aspect-ratio: 1;
  display: grid; place-items: center;
}
.ring > svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 11; }
.ring .track { stroke: rgba(255, 255, 255, .22); fill: rgba(255, 251, 241, .94); }
.ring .left {
  stroke: #9fd18b; stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: 0;
  animation: drain 8s linear infinite;
}
@keyframes drain { to { stroke-dashoffset: 100; } }
.ring-time { font: 900 clamp(22px, 2.4vw, 30px)/1 var(--display); color: var(--ink); position: relative; margin-top: 16%; }
.ring-icon {
  position: absolute; top: 20%; color: var(--sage-ink);
  width: 20%; display: grid; place-items: center;
}
.ring-icon svg { width: 100%; }
.scene-break .mood { right: 3%; }

.postcard h3, .postcard p { margin-left: 12px; margin-right: 12px; }
.postcard h3 { font: 800 23px/1.2 var(--display); margin-top: 0; margin-bottom: 8px; }
.postcard h3::before {
  content: counter(step);
  display: inline-grid; place-items: center;
  width: 30px; height: 30px; margin-right: 10px;
  border-radius: 10px; background: var(--lavender); color: var(--purple-deep);
  font-size: 16px; vertical-align: 3px;
}
.postcard p { margin-bottom: 0; color: #5b5272; }
/* World and wardrobe */
.world { padding-top: 136px; }
.world-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.map-card {
  position: relative;
  border-radius: 36px;
  border: 10px solid #fff;
  box-shadow: 0 5px 0 var(--edge), 0 30px 60px -30px rgba(53, 45, 75, .4);
  transform: rotate(-2deg);
}
.map-card > img:first-child { width: 100%; border-radius: 26px; }
.medal { position: absolute; width: 92px; filter: drop-shadow(0 6px 0 rgba(53, 45, 75, .15)); }
.m1 { right: -34px; top: 8%; transform: rotate(12deg); }
.m2 { right: -18px; top: 34%; width: 80px; transform: rotate(-8deg); }
.m3 { left: -36px; bottom: 10%; transform: rotate(-14deg); }
.world-copy > p { color: var(--muted); font-size: 18px; max-width: 44ch; margin: 0 0 28px; }
.wardrobe {
  display: flex; align-items: flex-end;
  background: linear-gradient(transparent 78%, #ead9b9 78%, #ead9b9 86%, transparent 86%);
  padding: 0 4px;
}
.wardrobe img { width: 20%; min-width: 0; margin: 0 -1%; transition: transform .2s; }
.wardrobe img:hover { transform: translateY(-8px) rotate(-4deg); }

/* Price and privacy */
.honest { padding-top: 32px; }
.honest-grid { display: grid; grid-template-columns: 1fr; }
.panel {
  position: relative;
  border-radius: 32px; padding: 40px 40px 40px;
  overflow: hidden;
}
.panel h2 { font: 900 clamp(30px, 4vw, 40px)/1.08 var(--display); margin: 0 0 12px; max-width: 13ch; }
.panel p { margin: 0 0 12px; max-width: 36ch; }
.panel .mood { position: absolute; right: 18px; top: 22px; width: 130px; height: 130px; }
.panel.price { background: var(--purple); color: #fff; }
.panel.price p { color: #ece6ff; }
.panel.price a { color: #fff; }
.panel.privacy { background: var(--lavender); padding: 48px 260px 48px 56px; }
.panel.privacy .mood { width: 210px; height: 210px; right: 40px; top: auto; bottom: -10px; }
.panel.privacy h2 { max-width: 20ch; }
.panel.privacy p { max-width: 56ch; }
.big-price { font: 900 64px/1 var(--display); color: var(--coin); margin: 8px 0 16px; }
.big-price span { font-size: 22px; color: #fff; }

/* Footer */
.site-foot { padding: 24px 0 48px; font-size: 15px; color: var(--muted); }
.site-foot .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  border-top: 2px solid var(--edge); padding-top: 24px;
}
.site-foot .sign { display: flex; align-items: center; gap: 10px; }
.site-foot .sign img { width: 52px; height: 52px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-foot nav a { color: var(--ink); font-weight: 600; text-decoration: none; }
.site-foot nav a:hover { text-decoration: underline; }

/* Document pages */
.doc-head {
  background: var(--lavender);
  border-radius: 0 0 40px 40px;
  overflow: hidden;
}
.doc-head .wrap.title {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
}
.doc-head .title div { padding: 24px 0 48px; }
.doc-head h1 { font: 900 clamp(38px, 6vw, 62px)/1 var(--display); margin: 0 0 10px; }
.doc-head p { margin: 0; color: var(--muted); }
.doc-head .mood { width: 170px; height: 170px; flex: none; margin-bottom: -6px; }
.doc { padding: 56px 0 72px; }
.doc article { max-width: 70ch; }
.doc h2 { font: 800 26px/1.25 var(--display); margin: 44px 0 12px; }
.doc h2:first-child { margin-top: 0; }
.doc p { color: #463e5e; }
.doc a { word-break: break-word; }
mark.todo { background: #ffe9a7; color: var(--ink); padding: 0 4px; border-radius: 4px; }
.contact-card {
  background: #fff; border: 2px solid var(--edge); box-shadow: 0 4px 0 var(--edge);
  border-radius: 24px; padding: 26px 28px; margin-bottom: 48px;
}
.contact-card p { margin: 0 0 8px; }
.contact-card .mail { font: 900 clamp(22px, 4vw, 30px)/1.2 var(--display); color: var(--purple-deep); }

@media (max-width: 860px) {
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; padding-bottom: 0; }
  .hero-copy { padding: 26px; }
  .nuro-stage { width: min(78%, 300px); margin-top: 8px; }
  .bubble { font-size: 15px; left: -6%; }
  .honest-grid, .postcards, .pause-grid, .world-grid { grid-template-columns: 1fr; }
  .postcard:nth-child(n) { transform: none; }
  .trail { display: none; }
  .pause-grid, .world-grid { gap: 48px; }
  .phone { width: min(300px, 82%); }
  .medal { width: 64px; }
  .m1 { right: -10px; } .m2 { right: -6px; width: 56px; } .m3 { left: -10px; }
  .sticker { width: 44px; height: 44px; }
  .s1, .s3 { width: 52px; height: 52px; }
  .s2, .s9 { display: none; }
  section { padding: 72px 0; }
  .pause { padding-top: 116px; }
  .world { padding-top: 72px; }
  .panel, .panel.privacy { padding: 28px 28px 150px; }
  .panel.privacy .mood { width: 140px; height: 140px; right: 20px; }
  .panel .mood { width: 96px; height: 96px; right: 10px; top: 14px; }
  .doc-head .mood { width: 110px; height: 110px; }
}
@media (max-width: 420px) {
  .site-head nav a.opt { display: none; }
  .brand { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .nuro, .nuro .wing, .nuro.poked, .nuro.poked .wing, .sticker, .eye, .app i, .cell.lit, .coin, .ring .left, .fireflies i { animation: none; }
  .coin { opacity: 1; transform: translateY(-20px); }
  .eyes, .wardrobe img { transition: none; }
  .store-btn { transition: none; }
}
