/* Lullie — lullie.app
   Bold ink style: cream ground, 2px ink outlines, solid offset ink shadows only on things you can press. */

@font-face {
  font-family: "Fredoka";
  src: url("/assets/fonts/fredoka-latin.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("/assets/fonts/nunito-latin.woff2") format("woff2");
  font-weight: 600 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #221B36;
  --cream: #FFF6E9;
  --white: #FFFFFF;
  --text-2: #5B5470;
  --divider: #EADFCF;
  --link: #3B2FA0;

  --sleep: #6A5AE0;
  --sleep-light: #E6E2FF;
  --sleep-soft: #B3A8FF;
  --feed: #FF8A3D;
  --feed-light: #FFE2CC;
  --diaper: #2EC4A6;
  --diaper-light: #D2F5EC;
  --health: #FF5C8A;
  --health-light: #FFDDE7;
  --sun: #FFC93C;
  --sun-light: #FFF0C2;

  --sky: #7FC8F8;
  --coral: #FFB4A2;
  --lilac: #C9B6FF;

  --night-bg: #0E0B0A;
  --night-surface: #1A1412;
  --night-line: #4A3222;
  --night-amber: #E8935A;
  --night-text-2: #B57B52;

  --f-display: "Fredoka", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --f-body: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;

  --gutter: clamp(20px, 5vw, 48px);
  --content: 1200px;
  --section: clamp(96px, 11vw, 168px);
  --radius-xl: clamp(32px, 4vw, 52px);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; }
img { max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 2px; }
a:hover { color: #2A2075; }

:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--sleep);
  outline-offset: 4px;
  border-radius: 10px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -80px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  border-radius: 12px;
  font-weight: 900;
  text-decoration: none;
}
.skip-link:focus-visible { top: 16px; color: var(--white); }

.wrap {
  width: 100%;
  max-width: calc(var(--content) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--wide { --content: 1320px; }
.wrap--narrow { --content: 760px; }

/* ---------- Icons ---------- */

.i { width: 24px; height: 24px; flex: none; }
.i--sm { width: 18px; height: 18px; }

/* ---------- Buttons (raised: they're pressable) ---------- */

.btn {
  --shadow: var(--ink);
  --lift: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 60px;
  padding: 0 28px;
  border: 2px solid var(--ink);
  border-radius: 20px;
  background: var(--sun);
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 900;
  font-size: 19px;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 var(--lift) 0 var(--shadow);
  margin-bottom: var(--lift);
  transition: transform 160ms cubic-bezier(.3, 1.4, .5, 1), box-shadow 160ms cubic-bezier(.3, 1.4, .5, 1), background-color 160ms ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn:hover { color: var(--ink); background: #FFD25C; }
.btn:active {
  transform: translateY(var(--lift));
  box-shadow: 0 0 0 var(--shadow);
  transition-duration: 120ms;
  transition-timing-function: ease-out;
}
.btn:focus-visible { outline-offset: 6px; border-radius: 22px; }

.btn--ink {
  --shadow: var(--sleep);
  --lift: 3px;
  background: var(--ink);
  color: var(--white);
}
.btn--ink:hover { background: #2E2547; color: var(--white); }

.btn--small {
  min-height: 44px;
  padding: 0 18px;
  font-size: 16px;
  border-radius: 14px;
}
.btn--small:focus-visible { border-radius: 16px; }

/* ---------- Header ---------- */

.site-header { position: relative; z-index: 5; }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 96px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand__icon { --size: 44px; border-width: 2px; border-radius: 13px; transform: rotate(-6deg); }
.brand__name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.02em;
  padding-bottom: 4px;
}

/* ---------- Mochi app-icon tile ---------- */

.tile {
  position: relative;
  width: var(--size, 120px);
  aspect-ratio: 1;
  border: 3px solid var(--ink);
  border-radius: 26%;
  background: var(--sun);
  display: grid;
  place-items: center;
  flex: none;
}
.tile svg { width: 92%; height: 92%; margin-top: 6%; }
.tile--sleep { background: var(--sleep); }
.tile .tile__spark { position: absolute; width: 26%; height: 26%; right: 8%; top: 8%; margin: 0; }

/* ---------- Phone frame ---------- */

.phone {
  --w: 320px;
  --bezel: calc(var(--w) * 0.034);
  --screen: calc(var(--w) - 2 * var(--bezel));
  position: relative;
  width: var(--w);
  padding: var(--bezel);
  border-radius: calc(var(--w) * 0.175);
  background: var(--ink);
  box-shadow: inset 0 0 0 2px #3A3152;
  flex: none;
}
.phone img,
.phone picture {
  width: 100%;
  height: auto;
  aspect-ratio: 390 / 845;
  border-radius: calc(var(--w) * 0.142);
  background: var(--cream);
  overflow: hidden;
}
.phone::after {
  /* Dynamic Island */
  content: "";
  position: absolute;
  left: 50%;
  top: calc(var(--bezel) + var(--screen) * 0.028);
  width: calc(var(--screen) * 0.32);
  height: calc(var(--screen) * 0.094);
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000;
}
.phone--night {
  background: var(--night-surface);
  box-shadow: inset 0 0 0 2px var(--night-line);
}

/* ---------- Stickers (flat: not pressable) ---------- */

.sticker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  font-weight: 900;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
}
.sticker--sleep { background: var(--sleep-light); }
.sticker--feed { background: var(--feed-light); }
.sticker--diaper { background: var(--diaper-light); }
.sticker--sun { background: var(--sun-light); }

/* ---------- Section heads ---------- */

.section { padding-top: var(--section); }
.hero + .section { padding-top: clamp(72px, 7vw, 104px); }

.eyebrow {
  display: block;
  font-family: var(--f-body);
  font-weight: 900;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 18px;
}

.h2 {
  font-size: clamp(42px, 6vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.015em;
}

.lead {
  margin-top: 22px;
  max-width: 30em;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.5;
  color: var(--text-2);
}

/* ---------- Hero ---------- */

.hero { padding-top: 8px; }

.hero__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 24px;
  padding: clamp(40px, 5.4vw, 80px);
  padding-bottom: clamp(56px, 6vw, 88px);
  margin-bottom: 190px;
  background: var(--sleep);
  color: var(--white);
  border: 3px solid var(--ink);
  border-radius: var(--radius-xl);
}

.hero__sky {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
}

.hero__copy { position: relative; z-index: 2; }

.spark { position: absolute; width: 40px; height: 40px; }
.hero .spark--1 { left: 50%; top: 9%; width: 46px; height: 46px; }
.hero .spark--2 { left: 4.5%; bottom: 8%; width: 30px; height: 30px; }
.hero .spark--3 { right: 3.5%; bottom: 13%; width: 34px; height: 34px; }
.dot { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #FFFFFF; opacity: 0.55; }
.dot--1 { left: 36%; top: 7%; }
.dot--2 { left: 58%; bottom: 16%; }
.dot--3 { right: 4%; top: 6%; width: 5px; height: 5px; }
.dot--4 { left: 3%; top: 44%; width: 5px; height: 5px; }
.dot--5 { left: 46%; bottom: 7%; }

.hero__title { margin: 0; }
.wordmark {
  display: block;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(104px, 14.5vw, 212px);
  line-height: 0.86;
  letter-spacing: -0.025em;
  margin-left: -0.04em;
}
.tagline {
  display: block;
  margin-top: clamp(18px, 2vw, 28px);
  max-width: 12.5em;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(27px, 2.9vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.005em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: clamp(32px, 3.4vw, 48px);
}
.hero__note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 16px;
  color: var(--white);
  margin-bottom: 4px;
}

.hero__sub {
  margin-top: clamp(16px, 1.8vw, 24px);
  max-width: 26em;
  font-size: clamp(18px, 1.5vw, 21px);
  font-weight: 700;
  line-height: 1.45;
  color: var(--white);
}

.hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: clamp(28px, 3vw, 40px);
}
.hero__pills li {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  color: var(--white);
  font-weight: 800;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}

.hero__stage {
  position: relative;
  z-index: 1;
  align-self: start;
  justify-self: center;
  margin-bottom: -260px;
}
.hero__stage .phone { --w: clamp(280px, 26vw, 360px); position: relative; z-index: 2; }

.hero__icon {
  position: absolute;
  z-index: 1;
  --size: clamp(96px, 9vw, 128px);
  right: calc(var(--size) * -0.8);
  top: 3%;
  transform: rotate(9deg);
}
.hero__sticker { position: absolute; z-index: 3; width: max-content; }
.hero__sticker--a { right: calc(100% - 24px); top: 26%; transform: rotate(-7deg); }
.hero__sticker--b { left: calc(100% - 52px); top: 80%; transform: rotate(5deg); }

/* ---------- Screen run ---------- */

.run-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 24px 64px;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.run-head .lead { margin-top: 0; justify-self: end; max-width: 25em; }

.run {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 32px);
  align-items: start;
}
.run__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}
.run > li:nth-child(even) { margin-top: 64px; }
.run__item .phone { --w: 100%; width: 100%; padding: 8px; border-radius: 40px; }
.run__item .phone img { border-radius: 32px; }
.run__item .phone::after { top: 15px; width: 30%; height: 20px; }

.run__cap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  text-align: center;
}
.run__cap .sticker { height: 32px; font-size: 14px; padding: 0 12px; border-radius: 11px; }
.run__cap p {
  text-wrap: balance;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.2;
  max-width: 11em;
}

/* ---------- Split sections ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(48px, 7vw, 112px);
}

.facts { margin-top: clamp(36px, 4vw, 52px); display: grid; gap: 26px; }
.fact { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; align-items: start; }
.fact__tile {
  width: 52px;
  height: 52px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--white);
}
.fact__tile .i { width: 26px; height: 26px; }
.fact h3 { font-size: 24px; line-height: 1.15; margin-top: 2px; }
.fact p { margin-top: 4px; color: var(--text-2); font-size: 17px; line-height: 1.5; max-width: 26em; }

.bg-sleep { background: var(--sleep-light); }
.bg-feed { background: var(--feed-light); }
.bg-diaper { background: var(--diaper-light); }
.bg-sun { background: var(--sun-light); }
.bg-health { background: var(--health-light); }

/* ---------- Full featured ---------- */

.feature-card {
  margin-top: clamp(40px, 5vw, 64px);
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 56px);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 36px;
}
.feature { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: center; }
.feature__tile {
  width: 48px;
  height: 48px;
  border: 2px solid var(--ink);
  border-radius: 15px;
  display: grid;
  place-items: center;
}
.feature__tile .i { width: 24px; height: 24px; }
.feature__label {
  display: block;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.15;
}
.feature__detail {
  display: block;
  margin-top: 2px;
  font-size: 15px;
  line-height: 1.35;
  color: var(--text-2);
}

/* ---------- Crew illustration ---------- */

.crew-art { position: relative; padding-top: 56px; max-width: 520px; justify-self: center; width: 100%; }

.avatars {
  position: absolute;
  top: 0;
  right: 28px;
  z-index: 2;
  display: flex;
}
.avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 30px;
  line-height: 1;
  color: var(--ink);
}
.avatars .avatar + .avatar { margin-left: -16px; }
.avatar--sky { background: var(--sky); }
.avatar--coral { background: var(--coral); }
.avatar--lilac { background: var(--lilac); }
.avatar--invite { background: var(--sun); border-style: dashed; }
.avatar--invite .i { width: 30px; height: 30px; }

.log-card {
  position: relative;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 32px;
  padding: 30px 28px 12px;
}
.log-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.log-card__head h3 { font-size: 30px; }
.log-card__head span { font-size: 15px; color: var(--text-2); font-weight: 800; }

.log-row {
  display: grid;
  grid-template-columns: 74px 44px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
}
.log-row + .log-row { border-top: 2px dashed #EFE6D8; }
.log-row__time { font-size: 14px; font-weight: 800; color: var(--text-2); white-space: nowrap; }
.log-row__kind {
  width: 44px;
  height: 44px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  display: grid;
  place-items: center;
}
.log-row__kind .i { width: 22px; height: 22px; }
.log-row__title { font-weight: 900; font-size: 17px; line-height: 1.25; }
.log-row__sub { font-size: 14px; font-weight: 700; color: var(--text-2); line-height: 1.3; }
.log-row .avatar { width: 40px; height: 40px; border-width: 2px; font-size: 16px; }

.crew-art__sticker { position: absolute; left: -28px; bottom: -22px; transform: rotate(-5deg); z-index: 2; }

/* ---------- Night ---------- */

.night {
  position: relative;
  margin-top: var(--section);
  padding-block: clamp(72px, 8vw, 120px);
  background: var(--night-bg);
  color: var(--night-amber);
  overflow: hidden;
}
.night .eyebrow { color: var(--night-amber); }
.night .lead { color: var(--night-text-2); }
.night .lead a { color: var(--night-amber); }
.night .lead a:hover { color: #F2AE7E; }
.night :focus-visible { outline-color: var(--night-amber); }
.night .split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }

.night__stage {
  position: relative;
  justify-self: center;
  display: grid;
  place-items: center;
  padding: 24px;
}
.night__stage .phone { --w: clamp(280px, 27vw, 360px); position: relative; z-index: 1; }
.night__moon {
  position: absolute;
  z-index: 0;
  width: clamp(380px, 38vw, 520px);
  height: clamp(380px, 38vw, 520px);
  border-radius: 50%;
  border: 2px solid var(--night-line);
  background: var(--night-surface);
}
.night__stars { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.chip-night {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 2px solid var(--night-line);
  border-radius: 16px;
  background: var(--night-surface);
  color: var(--night-amber);
  font-weight: 900;
  font-size: 16px;
}

/* ---------- AI ---------- */

.ai .split { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }

.promise {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 36px;
  padding: 22px 24px;
  border: 2px solid var(--ink);
  border-radius: 24px;
  background: var(--diaper-light);
}
.promise__badge {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--diaper);
  display: grid;
  place-items: center;
}
.promise p {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(21px, 2vw, 25px);
  line-height: 1.2;
  padding-top: 2px;
}

.ai__stage {
  position: relative;
  min-height: 720px;
  justify-self: center;
  width: 100%;
  max-width: 560px;
}
.ai__stage .phone { position: absolute; --w: clamp(260px, 23vw, 320px); }
.ai__stage .phone--back { right: -40px; top: 0; transform: rotate(5deg); }
.ai__stage .phone--front { left: 0; top: 64px; transform: rotate(-4deg); z-index: 2; }

/* ---------- Privacy band ---------- */

.privacy-card {
  position: relative;
  background: var(--sun);
  border: 3px solid var(--ink);
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 88px);
}
.privacy-card .eyebrow { color: var(--ink); }
.privacy-card .lead { color: var(--ink); max-width: 28em; }
.privacy-card__icon { position: absolute; --size: clamp(92px, 9vw, 124px); right: clamp(28px, 5vw, 72px); top: calc(var(--size) * -0.38); transform: rotate(8deg); }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 2px dashed var(--ink);
}
.pillar { padding: 32px 32px 4px 0; }
.pillar + .pillar { padding-left: 32px; border-left: 2px dashed var(--ink); }
.pillar h3 { font-size: clamp(30px, 3vw, 40px); line-height: 1.05; }
.pillar p { margin-top: 10px; font-size: 17px; line-height: 1.5; max-width: 18em; }

.privacy-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  color: var(--ink);
  font-weight: 900;
}
.privacy-card__link:hover { color: var(--ink); }

/* ---------- Final call ---------- */

.final { text-align: center; padding-bottom: var(--section); }
.final__mark { position: relative; width: max-content; margin: 0 auto 36px; }
.final .tile { --size: 112px; transform: rotate(-5deg); }
.final__mark .spark { width: 34px; height: 34px; }
.final__mark .spark--1 { left: -54px; top: 6px; }
.final__mark .spark--2 { right: -46px; bottom: -2px; width: 26px; height: 26px; }
.final .lead { margin-inline: auto; }
.final .btn { margin-top: 40px; }

/* ---------- Footer ---------- */

.site-footer { padding-bottom: 48px; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  padding-top: 40px;
  border-top: 2px dashed var(--divider);
}
.footer-inner nav ul { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.site-footer nav a {
  color: var(--ink);
  font-weight: 900;
  font-size: 16px;
  text-decoration: none;
  padding: 10px 0;
}
.site-footer nav a:hover { text-decoration: underline; }
.site-footer small { display: block; width: 100%; color: var(--text-2); font-size: 15px; font-weight: 800; }
.site-footer small a { color: inherit; text-decoration-thickness: 1px; }
.site-footer .brand__name { font-size: 28px; }
.site-footer .brand__icon { --size: 38px; }

/* Footer bottom row: copyright left, the Calm / Bold look picker right (a drop-up <details> menu,
   no JavaScript; the links set a cookie and src/index.js (the Worker) serves the matching page). */
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; }
.footer-bottom small { width: auto; }
.look-picker { position: relative; }
.look-picker summary {
  display: inline-flex; align-items: center; gap: 6px;
  list-style: none; cursor: pointer; user-select: none;
}
.look-picker summary::-webkit-details-marker { display: none; }
.look-picker__chev { width: 12px; height: 12px; transform: rotate(180deg); transition: transform .15s ease; }
.look-picker[open] .look-picker__chev { transform: none; }
.look-picker ul {
  position: absolute; right: 0; bottom: calc(100% + 8px); z-index: 10;
  min-width: 140px; margin: 0; padding: 6px; list-style: none;
}
.look-picker li { margin: 0; }
.look-picker ul a { display: block; padding: 8px 12px; text-decoration: none; }
.look-picker summary {
  padding: 6px 14px; border: 2px solid var(--ink); border-radius: 999px; background: var(--white);
  box-shadow: 3px 3px 0 var(--ink); color: var(--ink); font-size: 14px; font-weight: 800;
}
.look-picker[open] summary { box-shadow: none; transform: translate(3px, 3px); }
.look-picker__label { color: var(--text-2); }
.look-picker ul {
  background: var(--white); border: 2px solid var(--ink); border-radius: 16px;
  box-shadow: 4px 4px 0 var(--ink);
}
.look-picker ul a { border-radius: 10px; color: var(--ink); font-size: 15px; font-weight: 800; }
.look-picker ul a:hover { background: var(--sun-light); }
.look-picker ul a[aria-current="true"] { background: var(--ink); color: var(--cream); }

/* ---------- Document pages (privacy, support) ---------- */

.doc { padding-block: clamp(32px, 5vw, 64px) var(--section); }
.doc__head { margin-bottom: clamp(36px, 5vw, 56px); }
.doc__head h1 { font-size: clamp(48px, 7vw, 84px); line-height: 0.98; letter-spacing: -0.015em; }
.doc__head .lead { margin-top: 18px; }
.doc__meta { margin-top: 14px; font-size: 15px; font-weight: 800; color: var(--text-2); }

.summary {
  background: var(--sun-light);
  border: 2px solid var(--ink);
  border-radius: 28px;
  padding: clamp(24px, 3.4vw, 36px);
  margin-bottom: 56px;
}
.summary h2 { font-size: 26px; margin-bottom: 14px; }
.summary ul { display: grid; gap: 10px; }
.summary li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; font-weight: 800; }
.summary li .i { width: 22px; height: 22px; margin-top: 3px; color: var(--ink); }

.prose h2 { font-size: clamp(26px, 3vw, 32px); line-height: 1.15; margin: 48px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #3E3654; font-size: 18px; line-height: 1.65; }
.prose p + p,
.prose ul + p { margin-top: 14px; }
.prose ul { margin-top: 12px; display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 24px; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sleep);
  border: 1.5px solid var(--ink);
}
.prose strong { color: var(--ink); font-weight: 900; }

.contact-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin-top: 56px;
  padding: clamp(24px, 3.4vw, 36px);
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 28px;
}
.contact-card h2 { font-size: 26px; margin: 0; }
.contact-card p { margin-top: 4px; color: var(--text-2); font-size: 17px; }

.faq { display: grid; gap: 14px; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group > h2 { font-size: clamp(26px, 3vw, 32px); margin-bottom: 18px; }
.faq details {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 22px;
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 16px 22px;
  cursor: pointer;
  list-style: none;
  font-weight: 900;
  font-size: 18px;
  line-height: 1.3;
  border-radius: 20px;
  transition: background-color 160ms ease;
  -webkit-tap-highlight-color: transparent;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: #FCF8F2; }
.faq summary:active { background: #F3ECE0; }
.faq summary:focus-visible { outline-offset: 2px; border-radius: 20px; }
.faq summary .i { transition: transform 200ms ease; }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq details[open] summary { border-radius: 20px 20px 0 0; }
.faq .answer { padding: 0 22px 20px; }
.faq .answer p, .faq .answer li { color: #3E3654; font-size: 17px; line-height: 1.6; }
.faq .answer p + p,
.faq .answer ol + p { margin-top: 10px; }
.faq .answer ol { list-style: decimal; padding-left: 22px; display: grid; gap: 4px; margin-top: 8px; }

/* ---------- 404 ---------- */

.lost { text-align: center; padding-block: clamp(48px, 9vw, 120px) var(--section); }
.lost .final__mark { margin-bottom: 44px; }
.lost .tile { --size: 136px; transform: rotate(-6deg); }
.lost h1 { font-size: clamp(44px, 6.5vw, 76px); line-height: 1; }
.lost .lead { margin-inline: auto; }
.lost .btn { margin-top: 36px; }

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .run-scroller {
    margin-inline: calc(-1 * var(--gutter));
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: thin;
    scrollbar-color: var(--ink) transparent;
  }
  .run-scroller:focus-visible { outline-offset: -3px; border-radius: 24px; }
  .run {
    display: flex;
    gap: 20px;
    width: max-content;
    padding: 4px var(--gutter) 28px;
  }
  .run__item { width: 236px; scroll-snap-align: start; }
  .run > li:nth-child(even) { margin-top: 0; }
}

@media (max-width: 1060px) {
  .hero__card { grid-template-columns: minmax(0, 1fr); padding-bottom: 0; margin-bottom: 120px; }
  .hero__copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .tagline { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__sub { margin-inline: auto; }
  .hero__pills { justify-content: center; max-width: 34em; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__stage { margin-top: 32px; margin-bottom: -120px; }
  .hero__stage .phone { --w: min(320px, 74vw); }

  .run-head { grid-template-columns: minmax(0, 1fr); }
  .run-head .lead { justify-self: start; }

  .split,
  .night .split,
  .ai .split { grid-template-columns: minmax(0, 1fr); }
  .night__stage { order: 2; }
  .crew-art { justify-self: stretch; max-width: 560px; margin-inline: auto; }
  .ai__stage { min-height: 0; height: clamp(560px, 150vw, 700px); max-width: 520px; margin-inline: auto; }

  .pillars { grid-template-columns: minmax(0, 1fr); }
  .pillar { padding: 26px 0 0; }
  .pillar + .pillar { padding-left: 0; border-left: 0; margin-top: 26px; border-top: 2px dashed var(--ink); }
  .pillar p { max-width: 30em; }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  .site-header .wrap { min-height: 76px; }
  .brand__name { font-size: 30px; }
  .brand__icon { --size: 38px; }

  .hero__card { padding: 44px 22px 0; border-radius: 34px; margin-bottom: 96px; }
  .hero__stage { margin-bottom: -96px; }
  .hero__note { font-size: 15px; }
  .hero__sub { font-size: 17px; }
  .hero__pills { gap: 6px; }
  .feature-card { border-radius: 34px; padding: 24px 20px; }
  .feature-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .feature { grid-template-columns: 42px minmax(0, 1fr); gap: 14px; }
  .feature__tile { width: 42px; height: 42px; border-radius: 13px; }
  .feature__tile .i { width: 21px; height: 21px; }
  .feature__label { font-size: 19px; }
  .hero__icon { --size: 80px; right: -30px; top: 5%; }
  .hero__sticker--a { right: auto; left: -12px; top: -18px; transform: rotate(-6deg); }
  .hero__sticker--b { display: none; }
  .hero .spark--1 { left: auto; right: 7%; top: 2.5%; width: 32px; height: 32px; }
  .hero .spark--2 { display: none; }
  .hero .spark--3 { right: 5%; bottom: auto; top: 36%; width: 26px; height: 26px; }
  .dot--1, .dot--3, .dot--4, .dot--5 { display: none; }
  .sticker { height: 36px; font-size: 15px; padding: 0 12px; }

  .facts { gap: 22px; }
  .fact { grid-template-columns: 46px minmax(0, 1fr); gap: 14px; }
  .fact__tile { width: 46px; height: 46px; border-radius: 14px; }
  .fact h3 { font-size: 21px; }
  .fact p { font-size: 16px; }

  .crew-art { padding-top: 46px; }
  .avatars { right: 16px; }
  .avatar { width: 60px; height: 60px; font-size: 24px; }
  .log-card { padding: 22px 18px 6px; border-radius: 26px; }
  .log-card__head h3 { font-size: 25px; }
  .log-row { grid-template-columns: 38px minmax(0, 1fr) 34px; gap: 12px; padding: 14px 0; }
  .log-row__time { display: none; }
  .log-row__kind { width: 38px; height: 38px; border-radius: 12px; }
  .log-row__kind .i { width: 19px; height: 19px; }
  .log-row__title { font-size: 16px; }
  .log-row .avatar { width: 34px; height: 34px; font-size: 14px; }
  .crew-art__sticker { left: -6px; bottom: -20px; }

  .night__moon { width: 340px; height: 340px; }
  .chip-night { font-size: 15px; min-height: 44px; padding: 0 14px; }

  .promise { padding: 18px; gap: 14px; }
  .promise__badge { width: 42px; height: 42px; }
  .ai__stage { height: 600px; }
  .ai__stage .phone { --w: 236px; }
  .ai__stage .phone--back { right: 0; }
  .ai__stage .phone--front { top: 72px; }

  .privacy-card { border-radius: 34px; padding: 56px 24px 36px; }
  .privacy-card__icon { --size: 84px; right: 22px; }

  .final .tile { --size: 96px; }

  .footer-inner { flex-direction: column; align-items: flex-start; }

  .faq summary { font-size: 17px; padding: 14px 18px; }
  .faq .answer { padding: 0 18px 18px; }
}

@media (max-width: 380px) {
  .wordmark { font-size: 96px; }
  .tagline { font-size: 25px; }
  .btn { padding: 0 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .btn:active { transform: none; box-shadow: 0 var(--lift) 0 var(--shadow); }
}

@media (forced-colors: active) {
  .btn, .sticker, .phone, .tile { border: 2px solid CanvasText; }
}
