@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700&family=Caveat:wght@400;700&display=swap");

:root {
  /* Core palette */
  --color-ls-bg: #FFFBF5;
  --color-ls-bg-surface: #FFF8F0;
  --color-ls-bg-sage: #EEF1E9;
  --color-ls-primary: #2B6B5E;
  --color-ls-primary-deep: #1F5249;
  --color-ls-primary-light: #E1F5EE;
  --color-ls-accent: #C4704B;
  --color-ls-accent-deep: #A75A38;
  --color-ls-accent-light: #FAECE7;
  --color-ls-muted: #B8A78C;
  --color-ls-text: #2D2A26;
  --color-ls-text-secondary: #6B6259;
  --color-ls-text-hint: #79716A; /* WCAG AA: 4.55:1 on surface */
  --color-ls-border: rgba(45, 42, 38, 0.1);
  --color-ls-border-strong: rgba(45, 42, 38, 0.18);
  --color-ls-reaction-loved: #E8593C;
  --color-ls-reaction-liked: #EF9F27;

  /* Fonts */
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;
  --font-brand: 'Fraunces', Georgia, serif;
  --font-kid: 'Caveat', 'Patrick Hand', cursive;

  /* Shadows */
  --shadow-book: 0 2px 8px rgba(45, 42, 38, 0.12);
  --shadow-card: 0 1px 4px rgba(45, 42, 38, 0.08);
  --shadow-lift: 0 12px 36px rgba(45, 42, 38, 0.12);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--color-ls-bg);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch' seed='3'/><feColorMatrix values='0 0 0 0 0.18 0 0 0 0 0.15 0 0 0 0 0.12 0 0 0 0.55 0'/></filter><rect width='180' height='180' filter='url(%23n)' opacity='0.45'/></svg>");
  background-repeat: repeat;
  background-attachment: fixed;
  color: var(--color-ls-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 880px; margin: 0 auto; padding: 0 20px; }

/* ----------------------------- Header ----------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 251, 245, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--color-ls-border);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand {
  font-family: var(--font-brand);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--color-ls-primary-deep);
  display: inline-flex; align-items: center; gap: 10px;
}
.brand__icon {
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand__icon svg { width: 100%; height: 100%; display: block; }
.brand__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-ls-accent);
  display: inline-block;
  margin-bottom: 4px;
}
.nav { display: none; gap: 28px; }
.nav a {
  font-size: 14px; color: var(--color-ls-text-secondary);
  font-weight: 500;
  transition: color .15s ease;
}
.nav a:hover { color: var(--color-ls-primary); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  height: 44px; padding: 0 18px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 15px; font-weight: 600;
  border: 1px solid transparent;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--color-ls-primary);
  color: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 8px 20px rgba(43,107,94,0.25);
}
.btn--primary:hover { background: var(--color-ls-primary-deep); }
.btn--outline {
  background: transparent;
  color: var(--color-ls-text);
  border-color: var(--color-ls-border-strong);
}
.btn--outline:hover { border-color: var(--color-ls-text); }
.btn--lg { height: 56px; padding: 0 28px; font-size: 16px; border-radius: 14px; }
.btn--xl { height: 64px; padding: 0 36px; font-size: 18px; border-radius: 16px; }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--color-ls-border); border-radius: 10px;
  background: var(--color-ls-bg-surface);
}
.menu-toggle svg { width: 18px; height: 18px; stroke: var(--color-ls-text); }

/* ----------------------------- Hero ----------------------------- */
.hero {
  padding: 40px 0 32px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 80% 0%, rgba(196,112,75,0.10), transparent 60%),
    radial-gradient(50% 40% at 10% 30%, rgba(43,107,94,0.08), transparent 60%);
  pointer-events: none;
}
.hero__inner { position: relative; display: grid; gap: 32px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-ls-accent-deep);
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #2EAD79;
  box-shadow: 0 0 0 0 rgba(46, 173, 121, 0.5);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(46,173,121,0.55); }
  70% { box-shadow: 0 0 0 10px rgba(46,173,121,0); }
  100% { box-shadow: 0 0 0 0 rgba(46,173,121,0); }
}
.hero h1 {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: clamp(34px, 7vw, 64px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  word-spacing: 0.08em;
  margin: 0 0 16px;
  color: var(--color-ls-text);
  text-wrap: balance;
}
.hero h1 em { font-style: italic; color: var(--color-ls-primary); font-weight: 700; }
.hero__sub {
  font-size: 15px;
  line-height: 1.55;
  color: var(--color-ls-text-secondary);
  max-width: 540px;
  margin: 0 0 24px;
  text-wrap: pretty;
}
.hero__ctas { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero__tagline {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--color-ls-text-hint);
}
.hero__tagline strong { color: var(--color-ls-text-secondary); font-weight: 600; }
.hero__textlink {
  display: inline-flex; align-items: center; gap: 4px;
  height: 44px; padding: 0 6px;
  font-family: var(--font-body);
  font-size: 15px; font-weight: 600;
  color: var(--color-ls-primary-deep);
  border-bottom: 1px solid transparent;
  transition: border-color .15s ease, color .15s ease;
}
.hero__textlink:hover { border-bottom-color: var(--color-ls-primary-deep); }
.hero__proof {
  margin: 18px 0 0;
  font-family: var(--font-body);
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--color-ls-text-hint);
}
.phone-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.phone-caption {
  font-family: var(--font-brand);
  font-style: italic;
  font-size: 13px;
  line-height: 1.4;
  color: var(--color-ls-text-hint);
  margin: 0;
  text-align: center;
  max-width: 240px;
}

/* Phone mockup */
.phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 16px 0 80px;
}
.phone {
  position: relative;
  width: 300px;
  height: 612px;
  border-radius: 46px;
  background: #1a1815;
  padding: 10px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 20px 50px rgba(45,42,38,0.18),
    0 40px 90px rgba(45,42,38,0.12);
  transform: rotate(-3deg);
}
.phone__notch {
  position: absolute;
  top: 18px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 24px;
  background: #0e0d0b;
  border-radius: 999px;
  z-index: 3;
}
.phone__screen {
  width: 100%; height: 100%;
  background: var(--color-ls-bg);
  border-radius: 38px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.status-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 26px 6px;
  font-size: 12px; font-weight: 600;
  color: var(--color-ls-text);
}
.status-bar__right { display: inline-flex; gap: 5px; align-items: center; }
.status-bar__right svg { width: 14px; height: 14px; }

.app-top {
  padding: 12px 18px 6px;
}
.app-top__title {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 17px;
  margin: 0;
}
.app-top__sub {
  font-size: 12.5px;
  color: var(--color-ls-text-secondary);
  margin: 2px 0 0;
}
.chips {
  display: flex; gap: 6px;
  padding: 12px 18px 14px;
  overflow: hidden;
}
.chip {
  font-size: 11px; font-weight: 500;
  height: 26px; padding: 0 10px;
  border-radius: 9999px;
  display: inline-flex; align-items: center;
  background: var(--color-ls-bg-surface);
  color: var(--color-ls-text-secondary);
  border: 1px solid var(--color-ls-border);
  white-space: nowrap;
}
.chip--active {
  background: var(--color-ls-primary-light);
  color: var(--color-ls-primary-deep);
  border-color: rgba(43,107,94,0.25);
  font-weight: 600;
}
.shelf-row-label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--color-ls-text-hint);
  padding: 4px 18px 8px;
}
.shelf-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0 18px 10px;
}
.cover {
  position: relative;
  aspect-ratio: 2/3;
  background: var(--color-ls-bg-surface);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-book);
}
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover__badge {
  position: absolute; top: 4px; right: 4px;
  background: var(--color-ls-primary);
  color: #fff;
  font-size: 10px; font-weight: 700;
  border-radius: 9999px;
  height: 18px; min-width: 18px;
  padding: 0 5px;
  display: inline-flex; align-items: center; justify-content: center;
}
.cover__fallback {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 8px;
  font-family: var(--font-brand);
  color: #fff;
  font-size: 9px;
}
.shelf-board {
  height: 8px;
  background: linear-gradient(180deg,#8B6F47 0%,#6B5334 100%);
  box-shadow: inset 0 -3px 6px rgba(0,0,0,0.18);
  margin: 4px 14px 14px;
  border-radius: 2px;
}
.tab-bar {
  margin-top: auto;
  display: grid; grid-template-columns: repeat(5,1fr);
  align-items: center;
  padding: 8px 8px 18px;
  background: var(--color-ls-bg-surface);
  border-top: 1px solid var(--color-ls-border);
}
.tab { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--color-ls-text-hint); font-size: 10px; }
.tab.is-active { color: var(--color-ls-primary); }
.tab svg { width: 20px; height: 20px; }
.tab--fab {
  width: 44px; height: 44px;
  background: var(--color-ls-primary);
  border-radius: 999px;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(45,42,38,0.22);
  align-self: center;
  justify-self: center;
}

/* Washi note */
.washi-note {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-30%) rotate(4deg);
  width: 240px;
  background: #fff;
  padding: 18px 18px 14px;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(45,42,38,0.18), 0 2px 4px rgba(45,42,38,0.08);
  z-index: 4;
}
.washi-note::before, .washi-note::after {
  content: "";
  position: absolute;
  width: 56px; height: 18px;
  top: -8px;
  background: repeating-linear-gradient(
    -45deg,
    rgba(196,112,75,0.55) 0 6px,
    rgba(196,112,75,0.35) 6px 12px
  );
  border-radius: 1px;
  box-shadow: 0 1px 2px rgba(45,42,38,0.1);
  opacity: 0.85;
}
.washi-note::before { left: 12px; transform: rotate(-6deg); }
.washi-note::after { right: 12px; transform: rotate(7deg); background: repeating-linear-gradient(-45deg, rgba(43,107,94,0.5) 0 6px, rgba(43,107,94,0.3) 6px 12px); }
.washi-note p {
  font-family: var(--font-kid);
  font-size: 22px;
  line-height: 1.25;
  color: var(--color-ls-text);
  margin: 0 0 6px;
}
.washi-note span {
  font-family: var(--font-kid);
  font-size: 16px;
  color: var(--color-ls-text-secondary);
}

/* ----------------------------- Sections ----------------------------- */
section { padding: 72px 0; position: relative; }
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-ls-accent-deep);
  margin: 0 0 12px;
}
.section-h {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: clamp(28px, 4.5vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: var(--color-ls-text);
  text-wrap: balance;
}
.section-sub {
  font-size: 15px;
  line-height: 1.55;
  color: var(--color-ls-text-secondary);
  max-width: 620px;
  margin: 0 0 32px;
  text-wrap: pretty;
}

/* ----------------------------- Ages band ----------------------------- */
.ages {
  background: var(--color-ls-bg-surface);
  border-bottom: 1px solid var(--color-ls-border);
  /* Torn-paper top edge — section reads as a scrapbook page taped over the hero */
  clip-path: polygon(
    0% 14px, 4% 5px, 8% 13px, 12% 6px, 16% 14px, 20% 4px,
    24% 12px, 28% 7px, 32% 15px, 36% 5px, 40% 11px, 44% 4px,
    48% 14px, 52% 6px, 56% 12px, 60% 7px, 64% 15px, 68% 4px,
    72% 11px, 76% 8px, 80% 13px, 84% 5px, 88% 14px, 92% 6px,
    96% 12px, 100% 8px,
    100% 100%, 0% 100%
  );
}
.ages__head { text-align: center; margin-bottom: 36px; }
.ages__head .section-h { margin-left: auto; margin-right: auto; max-width: 720px; }
.ages__head .section-h em { font-style: italic; color: var(--color-ls-accent); }
.ages-grid { display: grid; gap: 16px; }
.age-card {
  background: var(--color-ls-bg-surface);
  border: 1px solid var(--color-ls-border);
  border-radius: 20px;
  padding: 24px;
  display: flex; flex-direction: column;
  gap: 14px;
  box-shadow:
    0 1px 2px rgba(45, 42, 38, 0.06),
    0 8px 16px rgba(45, 42, 38, 0.08),
    0 20px 40px rgba(45, 42, 38, 0.12);
}
.age-card__spines {
  display: flex; align-items: flex-end; gap: 4px; height: 70px;
  padding: 4px;
}
.spine {
  border-radius: 3px;
  width: 14px;
  box-shadow: inset -1px 0 0 rgba(0,0,0,0.08);
  position: relative;
}
.spine::after {
  content: "";
  position: absolute; left: 2px; right: 2px; top: 8px;
  border-top: 1px solid rgba(255,255,255,0.25);
  border-bottom: 1px solid rgba(255,255,255,0.25);
  height: 6px;
}
.age-card__tag {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 14px;
  color: var(--color-ls-primary);
}
.age-card__title {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 22px;
  margin: 0;
  line-height: 1.2;
}
.age-card__body {
  font-size: 15px;
  color: var(--color-ls-text-secondary);
  margin: 0;
}

/* ----------------------------- Marquee ----------------------------- */
.marquee-section { overflow: hidden; }
.marquee-section .section-head { text-align: center; margin-bottom: 36px; }
.marquee-section .section-h { margin-left: auto; margin-right: auto; max-width: 720px; }
.marquee-section .live-row {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 16px;
  justify-content: center;
}
.marquee {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  padding: 12px 0 18px;
  mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}
.marquee__track {
  display: flex; gap: 16px;
  width: max-content;
  animation: marquee 90s linear infinite;
}
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.feed-card {
  width: 300px;
  flex: 0 0 300px;
  background: var(--color-ls-bg-surface);
  border: 1px solid var(--color-ls-border);
  border-radius: 16px;
  padding: 14px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  box-shadow: var(--shadow-card);
}
.feed-card__cover {
  aspect-ratio: 2/3;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-book);
}
.feed-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.feed-card__meta {
  font-size: 11.5px;
  color: var(--color-ls-text-secondary);
  font-weight: 500;
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 4px;
}
.avatar {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--color-ls-muted);
  color: #fff;
  font-size: 10px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.feed-card__title {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.25;
  margin: 0 0 1px;
}
.feed-card__author {
  font-size: 11.5px;
  color: var(--color-ls-text-secondary);
  margin: 0 0 6px;
}
.feed-card__quote {
  font-family: var(--font-kid);
  font-size: 16px;
  color: var(--color-ls-text);
  line-height: 1.25;
  margin: 0 0 8px;
  transform: rotate(-1.2deg);
  display: block;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 4px; }
.tag {
  font-size: 10.5px;
  font-weight: 500;
  padding: 2px 8px;
  height: 22px;
  display: inline-flex; align-items: center;
  border-radius: 9999px;
  background: var(--color-ls-primary-light);
  color: var(--color-ls-primary-deep);
  border: 1px solid rgba(43,107,94,0.15);
  white-space: nowrap;
}
.tag--accent {
  background: var(--color-ls-accent-light);
  color: var(--color-ls-accent-deep);
  border-color: rgba(196,112,75,0.18);
}
.tag--neutral {
  background: var(--color-ls-bg-surface);
  color: var(--color-ls-text-secondary);
  border-color: var(--color-ls-border);
}

/* ----------------------------- Scrapbook motif ----------------------------- */
/* Hero pocket — a tiny checkout-card peeking from behind the phone (desktop only) */
.hero-pocket { display: none; }
@media (min-width: 720px) {
  .hero-pocket {
    display: block;
    position: absolute;
    right: 170px;
    top: 132px;
    width: 174px;
    padding: 12px 14px 18px;
    background: #fffaf0;
    border: 1px solid rgba(45,42,38,0.18);
    box-shadow:
      0 2px 6px rgba(45,42,38,0.08),
      0 16px 28px rgba(45,42,38,0.10);
    transform: rotate(7deg);
    z-index: 0;
    pointer-events: none;
    font-family: var(--font-body);
    color: var(--color-ls-text);
  }
}
.hero-pocket__hd {
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--color-ls-text-hint);
  padding-bottom: 7px;
  margin-bottom: 6px;
  border-bottom: 1px dashed rgba(45,42,38,0.22);
}
.hero-pocket__row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.06em;
  padding: 4px 0;
  border-bottom: 1px dotted rgba(45,42,38,0.10);
}
.hero-pocket__row:last-of-type { border-bottom: none; }
.hero-pocket__dot  { color: var(--color-ls-text-hint); }
.hero-pocket__star { color: var(--color-ls-accent-deep); font-size: 13px; }
.hero-pocket__stamp {
  position: absolute;
  right: -12px; bottom: -14px;
  font-family: var(--font-body);
  font-size: 12px; font-weight: 800;
  letter-spacing: 0.22em;
  color: rgba(168,49,30,0.78);
  padding: 5px 9px 4px;
  border: 2px solid rgba(168,49,30,0.72);
  border-radius: 4px;
  transform: rotate(-12deg);
  background: rgba(255,250,240,0.65);
}

/* Dog-eared marquee feed cards
   Wrapper holds drop-shadow + flex sizing so the clip-path on the inner
   card doesn't kill the depth cue. The flap is a separate triangle layer. */
.feed-card-wrap {
  position: relative;
  width: 300px;
  flex: 0 0 300px;
  filter:
    drop-shadow(0 1px 3px rgba(45,42,38,0.08))
    drop-shadow(0 8px 18px rgba(45,42,38,0.06));
}
.feed-card-wrap .feed-card {
  width: 100%;
  flex: none;
  box-shadow: none;
  clip-path: polygon(
    0 0,
    calc(100% - 14px) 0,
    100% 14px,
    100% 100%,
    0 100%
  );
}
.dog-flap {
  position: absolute;
  top: 0; right: 0;
  width: 14px; height: 14px;
  background: linear-gradient(135deg,
    rgba(45,42,38,0.22) 0%,
    rgba(45,42,38,0.05) 100%);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
  z-index: 4;
  pointer-events: none;
}

/* Rubber-stamp tags inside feed cards (replaces the pill look) */
.feed-card .tag {
  background: transparent;
  border: 1.5px solid rgba(43,107,94,0.55);
  border-radius: 2px;
  color: rgba(43,107,94,0.88);
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 2px 6px 1px;
  height: auto;
  line-height: 1.4;
  display: inline-block;
  white-space: nowrap;
}
.feed-card .tag--accent {
  border-color: rgba(168,49,30,0.58);
  color: rgba(168,49,30,0.88);
}
.feed-card .tag:nth-child(1) { transform: rotate(-1.5deg); }
.feed-card .tag:nth-child(2) { transform: rotate(1deg); }
.feed-card .tag:nth-child(3) { transform: rotate(-0.5deg); }
.feed-card .tag-row { gap: 7px 6px; padding-top: 4px; }

/* ----------------------------- Catalog ----------------------------- */
.catalog { background: var(--color-ls-bg-surface); }
.catalog__layout {
  display: grid;
  gap: 40px;
  align-items: center;
}
.catalog__copy .section-h { max-width: 480px; }
.catalog__copy .section-h em { color: var(--color-ls-primary); font-style: italic; font-weight: 700; }
.catalog__copy .section-sub { max-width: 460px; margin-bottom: 0; }
.catalog-stage {
  position: relative;
  height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.index-card {
  position: absolute;
  width: 320px;
  background: #FFFBF0;
  background-image:
    repeating-linear-gradient(to bottom, transparent 0, transparent 27px, rgba(43,107,94,0.07) 27px, rgba(43,107,94,0.07) 28px);
  border-radius: 4px;
  padding: 20px 22px;
  box-shadow: 0 1px 3px rgba(45,42,38,0.08), 0 18px 36px rgba(45,42,38,0.14);
}
.index-card__head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 8px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(45,42,38,0.18);
}
.index-card__body {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: start;
}
.index-card__cover {
  aspect-ratio: 2/3;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(45,42,38,0.18), 0 2px 8px rgba(45,42,38,0.08);
  background: #E8D5C4;
}
.index-card__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.index-card__date {
  font-family: var(--font-brand);
  font-size: 12px;
  font-style: italic;
  color: var(--color-ls-text-secondary);
}
.index-card__num {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--color-ls-text-hint);
  text-transform: uppercase;
}
.index-card__title {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.2;
  margin: 0 0 2px;
  color: var(--color-ls-text);
}
.index-card__author {
  font-size: 12px;
  color: var(--color-ls-text-secondary);
  margin: 0 0 8px;
}
.index-card__tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 0;
}
.index-card__quote {
  font-family: var(--font-kid);
  font-size: 17px;
  line-height: 1.2;
  color: var(--color-ls-text);
  margin: 12px 0 0;
  display: block;
}
.index-card__tag {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 9999px;
  background: rgba(43,107,94,0.1);
  color: var(--color-ls-primary-deep);
  display: inline-flex; align-items: center;
  border: 1px solid rgba(43,107,94,0.1);
}
.index-card__tag--accent {
  background: rgba(196,112,75,0.14);
  color: var(--color-ls-accent-deep);
  border-color: rgba(196,112,75,0.15);
}
.catalog-phone {
  position: absolute;
  left: 18px; top: 50%;
  transform: translateY(-50%) rotate(-3deg);
  width: 210px;
  height: 432px;
  border-radius: 34px;
  background: #1a1815;
  padding: 7px;
  box-shadow: 0 18px 40px rgba(45,42,38,0.20), 0 2px 4px rgba(45,42,38,0.08);
  z-index: 2;
}
.catalog-phone__screen {
  width: 100%; height: 100%;
  background: var(--color-ls-bg);
  border-radius: 28px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.catalog-phone__notch {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 66px; height: 18px;
  background: #0e0d0b;
  border-radius: 999px;
  z-index: 3;
}
.catalog-phone__status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 22px 4px;
  font-size: 10px; font-weight: 700;
  color: var(--color-ls-text);
}
.catalog-phone__top {
  padding: 8px 14px 6px;
}
.catalog-phone__title {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 14px;
  margin: 0;
  line-height: 1.2;
}
.catalog-phone__count {
  font-size: 10.5px;
  color: var(--color-ls-text-secondary);
  margin: 2px 0 0;
}
.catalog-phone__chips {
  display: flex; gap: 4px; padding: 8px 14px 10px; overflow: hidden;
}
.catalog-phone__chip {
  font-size: 9px; font-weight: 500;
  height: 20px; padding: 0 8px;
  border-radius: 9999px;
  display: inline-flex; align-items: center;
  background: var(--color-ls-bg-surface);
  color: var(--color-ls-text-secondary);
  border: 1px solid var(--color-ls-border);
  white-space: nowrap;
}
.catalog-phone__chip--on {
  background: var(--color-ls-primary-light);
  color: var(--color-ls-primary-deep);
  border-color: rgba(43,107,94,0.25);
  font-weight: 600;
}
.catalog-phone__shelf-label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--color-ls-text-hint);
  padding: 4px 14px 6px;
}
.catalog-phone__shelf-label .num { color: var(--color-ls-primary); font-weight: 700; }
.catalog-phone__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 0 14px 6px;
}
.catalog-phone__cover {
  position: relative;
  aspect-ratio: 2/3;
  background: var(--color-ls-bg-surface);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(45,42,38,0.12);
}
.catalog-phone__cover img { width: 100%; height: 100%; object-fit: cover; }
.catalog-phone__badge {
  position: absolute; top: 2px; right: 2px;
  background: var(--color-ls-primary);
  color: #fff;
  font-size: 8px; font-weight: 700;
  border-radius: 9999px;
  height: 14px; min-width: 14px;
  padding: 0 4px;
  display: inline-flex; align-items: center; justify-content: center;
}
.catalog-phone__board {
  height: 5px;
  background: linear-gradient(180deg,#8B6F47 0%,#6B5334 100%);
  box-shadow: inset 0 -2px 4px rgba(0,0,0,0.18);
  margin: 3px 10px 8px;
  border-radius: 1.5px;
}

/* Catalog phone — chronological archive variant */
.catalog-phone__archtop {
  padding: 8px 14px 4px;
  display: flex; justify-content: space-between; align-items: baseline;
}
.catalog-phone__archtop h4 {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 15px;
  margin: 0;
  line-height: 1.2;
  color: var(--color-ls-text);
}
.catalog-phone__archtop .sort {
  font-size: 9px;
  font-weight: 600;
  color: var(--color-ls-primary-deep);
  display: inline-flex; align-items: center; gap: 2px;
}
.catalog-phone__archsub {
  font-size: 10.5px;
  color: var(--color-ls-text-secondary);
  margin: 0;
  padding: 0 14px 6px;
}
.catalog-phone__archsub b { color: var(--color-ls-text); font-weight: 600; }
.catalog-phone__searchbar {
  margin: 6px 14px 10px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid var(--color-ls-border);
  background: var(--color-ls-bg-surface);
  display: flex; align-items: center; gap: 6px;
  padding: 0 9px;
  font-size: 10px;
  color: var(--color-ls-text-hint);
}
.catalog-phone__searchbar svg { width: 11px; height: 11px; stroke: var(--color-ls-text-hint); }
.catalog-phone__divider {
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 14px 6px;
}
.catalog-phone__divider .month {
  font-family: var(--font-brand);
  font-style: italic;
  font-weight: 700;
  font-size: 12px;
  color: var(--color-ls-text);
}
.catalog-phone__divider .count {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ls-text-hint);
}
.catalog-phone__arch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px 5px;
  padding: 0 14px 10px;
}
.catalog-phone__arch-tile {
  display: flex; flex-direction: column;
  gap: 2px;
}
.catalog-phone__arch-cover {
  position: relative;
  aspect-ratio: 2/3;
  background: var(--color-ls-bg-surface);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(45,42,38,0.14);
}
.catalog-phone__arch-cover img { width: 100%; height: 100%; object-fit: cover; }
.catalog-phone__arch-cover .heart {
  position: absolute;
  top: 2px; left: 2px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: rgba(232,89,60,0.95);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 7px;
  line-height: 1;
}
.catalog-phone__arch-cover .reread {
  position: absolute;
  top: 2px; right: 2px;
  background: rgba(43,107,94,0.92);
  color: #fff;
  font-size: 7.5px;
  font-weight: 700;
  line-height: 1;
  border-radius: 9999px;
  padding: 2px 4px;
  min-width: 14px;
  text-align: center;
}
.catalog-phone__arch-tile .d {
  font-family: var(--font-body);
  font-size: 7.5px;
  font-weight: 600;
  color: var(--color-ls-text-hint);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.1;
}
.catalog-phone__navbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 14px 0;
  font-size: 10px;
  color: var(--color-ls-text-secondary);
}
.catalog-phone__navbar .back {
  display: inline-flex; align-items: center; gap: 3px;
  color: var(--color-ls-primary-deep);
  font-weight: 600;
}
.catalog-phone__navbar .back svg { width: 10px; height: 10px; }
.catalog-phone__hero {
  padding: 16px 14px 8px;
  display: flex; align-items: flex-end; gap: 12px;
}
.catalog-phone__bigcover {
  width: 86px;
  flex-shrink: 0;
  aspect-ratio: 2/3;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(45,42,38,0.18), 0 8px 18px rgba(45,42,38,0.18);
  background: #E8D5C4;
}
.catalog-phone__bigcover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.catalog-phone__heroinfo { min-width: 0; padding-bottom: 2px; }
.catalog-phone__hero-title {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.15;
  margin: 0 0 2px;
  color: var(--color-ls-text);
}
.catalog-phone__hero-author {
  font-size: 10px;
  font-style: italic;
  color: var(--color-ls-text-secondary);
  margin: 0 0 6px;
}
.catalog-phone__hero-tags {
  display: flex; gap: 4px; flex-wrap: wrap;
}
.catalog-phone__hero-tags .t {
  font-size: 8.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 9999px;
  background: var(--color-ls-primary-light);
  color: var(--color-ls-primary-deep);
  border: 1px solid rgba(43,107,94,0.18);
  line-height: 1;
  display: inline-flex; align-items: center;
}
.catalog-phone__hero-tags .t--accent {
  background: var(--color-ls-accent-light);
  color: var(--color-ls-accent-deep);
  border-color: rgba(196,112,75,0.18);
}
.catalog-phone__stats {
  display: flex; gap: 0;
  margin: 8px 14px 0;
  padding: 8px 0;
  border-top: 1px solid var(--color-ls-border);
  border-bottom: 1px solid var(--color-ls-border);
}
.catalog-phone__stat {
  flex: 1;
  text-align: center;
  display: flex; flex-direction: column;
  gap: 1px;
}
.catalog-phone__stat + .catalog-phone__stat { border-left: 1px solid var(--color-ls-border); }
.catalog-phone__stat .v {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 14px;
  color: var(--color-ls-primary-deep);
  line-height: 1;
}
.catalog-phone__stat .l {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ls-text-hint);
}
.catalog-phone__sect-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ls-text-hint);
  padding: 12px 14px 6px;
}
.catalog-phone__entries {
  padding: 0 14px;
  display: flex; flex-direction: column;
  gap: 9px;
}
.catalog-phone__entry {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 8px;
  align-items: start;
}
.catalog-phone__entry-date {
  font-family: var(--font-brand);
  font-style: italic;
  font-size: 9.5px;
  color: var(--color-ls-text-secondary);
  line-height: 1.2;
  padding-top: 1px;
}
.catalog-phone__entry-date strong {
  display: block;
  font-style: normal;
  font-weight: 700;
  color: var(--color-ls-text);
  font-size: 11px;
}
.catalog-phone__entry-body {
  border-left: 1.5px solid rgba(43,107,94,0.18);
  padding: 0 0 0 9px;
  min-width: 0;
}
.catalog-phone__entry-meta {
  font-size: 9px;
  color: var(--color-ls-text-secondary);
  margin: 0 0 3px;
  font-weight: 500;
}
.catalog-phone__entry-meta .heart { color: var(--color-ls-reaction-loved); }
.catalog-phone__entry-quote {
  font-family: var(--font-kid);
  font-size: 13px;
  line-height: 1.2;
  color: var(--color-ls-text);
  margin: 0;
  display: block;
}
.catalog-phone__entry-quote--plain {
  font-family: var(--font-body);
  font-size: 9.5px;
  font-style: italic;
  color: var(--color-ls-text-secondary);
}
.index-card--1 { transform: rotate(6deg) translate(80px, -120px); z-index: 3; }
.index-card--2 { transform: rotate(-3deg) translate(120px, 20px); z-index: 5; }
.index-card--3 { transform: rotate(7deg) translate(95px, 160px); z-index: 4; }

/* ----------------------------- Stars don't work ----------------------------- */
.stars { background: var(--color-ls-bg); }
.stars__layout {
  display: grid;
  gap: 40px;
  align-items: center;
}
.stars__copy .section-h { max-width: 460px; }
.stars__copy .section-h em { color: var(--color-ls-reaction-loved); font-style: italic; font-weight: 700; }
.stars__copy .section-sub { max-width: 440px; margin-bottom: 0; }
/* Diagonal scatter — cards thrown on a table */
.compare-stack {
  position: relative;
  display: block;
  padding: 28px 0 40px;
}
.compare-stack .compare-card--old {
  width: 88%;
  position: relative;
  transform: rotate(-3deg);
  transform-origin: top left;
  z-index: 1;
}
.compare-stack .compare-card--new {
  width: 88%;
  position: relative;
  margin-left: 12%;
  margin-top: -20px;
  transform: rotate(2deg);
  transform-origin: bottom right;
  z-index: 2;
}
.compare-card {
  border-radius: 22px;
  padding: 22px 24px;
  position: relative;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
  align-items: start;
}
.compare-card__cover {
  aspect-ratio: 2/3;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(45,42,38,0.12), 0 8px 18px rgba(45,42,38,0.08);
  background: #E8D5C4;
}
.compare-card__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.compare-card__body { min-width: 0; }
.compare-card__label {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  margin: 0 0 12px;
}
.compare-card__title {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 14px;
  letter-spacing: -0.005em;
  color: var(--color-ls-text);
}
.compare-card--old {
  background: #FFFCF6;
  box-shadow: 0 1px 3px rgba(45,42,38,0.05), 0 14px 32px rgba(45,42,38,0.06);
}
.compare-card--old .compare-card__label { color: var(--color-ls-text-hint); }
.stars-row {
  font-size: 22px;
  letter-spacing: 4px;
  margin: 0 0 16px;
  line-height: 1;
  display: inline-flex; gap: 2px;
}
.stars-row .star-filled { color: #EF9F27; }
.stars-row .star-empty { color: #D9D2C5; }
.compare-card__quote-grey {
  font-style: italic;
  color: var(--color-ls-text-hint);
  font-size: 14px;
  margin: 0;
  line-height: 1.55;
}
.compare-card--new {
  background: #CFE2D8;
  box-shadow: 0 1px 3px rgba(43,107,94,0.05), 0 14px 32px rgba(43,107,94,0.10);
}
.compare-card--new .compare-card__label { color: var(--color-ls-primary); }
.compare-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.compare-tag {
  font-size: 13px; font-weight: 500;
  padding: 6px 12px;
  border-radius: 9999px;
  background: rgba(255,251,245,0.7);
  color: var(--color-ls-text);
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid rgba(45,42,38,0.06);
  white-space: nowrap;
}
.compare-tag__dot {
  width: 8px; height: 8px; border-radius: 50%;
  display: inline-block;
  background: var(--color-ls-text-hint);
}
.compare-card__hand {
  font-style: italic;
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
  color: var(--color-ls-text-secondary);
  display: block;
}

/* ----------------------------- How it works ----------------------------- */
.how { background: var(--color-ls-bg-surface); }
.how__steps { display: grid; gap: 20px; margin-top: 36px; }
.step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  background: var(--color-ls-bg);
  border: 1px solid var(--color-ls-border);
  border-radius: 20px;
  padding: 24px;
}
.step__num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--color-ls-primary);
  color: #fff;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 18px;
  display: inline-flex; align-items: center; justify-content: center;
}
.step__title {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  margin: 12px 0 6px;
}
.step__body {
  font-size: 15px;
  color: var(--color-ls-text-secondary);
  margin: 0 0 14px;
}
.ui-mock {
  background: var(--color-ls-bg-surface);
  border: 1px solid var(--color-ls-border);
  border-radius: 14px;
  padding: 14px;
  font-size: 13px;
  color: var(--color-ls-text-secondary);
}
.ui-mock__field {
  height: 40px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--color-ls-border);
  display: flex; align-items: center; gap: 8px;
  padding: 0 12px;
  color: var(--color-ls-text-hint);
  font-size: 13px;
}
.ui-mock__field svg { width: 14px; height: 14px; stroke: var(--color-ls-text-hint); }
.ui-mock__row { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.mock-pill {
  padding: 6px 12px;
  border-radius: 9999px;
  background: #fff;
  border: 1px solid var(--color-ls-border);
  font-size: 12.5px;
  color: var(--color-ls-text);
  display: inline-flex; align-items: center; gap: 6px;
}
.mock-pill--filled { background: var(--color-ls-primary-light); border-color: rgba(43,107,94,0.25); color: var(--color-ls-primary-deep); font-weight: 600; }
.mock-pill__dot { width: 8px; height: 8px; border-radius: 50%; }
.mock-milestone {
  position: relative;
  background: #E8D5C4;
  border-radius: 12px;
  padding: 14px 12px 12px;
  transform: rotate(-1.5deg);
  box-shadow: 0 6px 18px rgba(45,42,38,0.12), 0 1px 2px rgba(45,42,38,0.06);
  max-width: 200px;
  margin: 4px auto;
}
.mock-milestone::before {
  content: "";
  position: absolute;
  width: 56px; height: 14px;
  top: -7px; left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  background: repeating-linear-gradient(-45deg, rgba(43,107,94,0.55) 0 6px, rgba(43,107,94,0.32) 6px 12px);
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(45,42,38,0.1);
}
.mock-milestone__hdr {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 11px;
  text-align: center;
  color: var(--color-ls-text);
  margin: 2px 0 8px;
}
.mock-milestone__cover {
  position: relative;
  width: 70px;
  aspect-ratio: 2/3;
  margin: 0 auto;
  border-radius: 4px;
  overflow: visible;
}
.mock-milestone__cover img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 3px 10px rgba(45,42,38,0.2);
}
.mock-milestone__stamp {
  position: absolute;
  right: -10px; top: -6px;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 9px;
  color: rgba(216,90,48,0.85);
  border: 1.5px solid rgba(216,90,48,0.75);
  padding: 2px 6px;
  border-radius: 3px;
  transform: rotate(12deg);
  letter-spacing: 0.12em;
  background: rgba(255,251,245,0.55);
}
.mock-milestone__title {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 11px;
  line-height: 1.2;
  text-align: center;
  margin: 10px 0 1px;
  color: var(--color-ls-text);
}
.mock-milestone__author {
  font-size: 9px;
  color: var(--color-ls-text-secondary);
  text-align: center;
  margin: 0 0 8px;
}
.mock-milestone__tags {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 3px;
  margin-bottom: 8px;
}
.mock-milestone__tag {
  font-size: 8.5px;
  padding: 2px 6px;
  border-radius: 9999px;
  background: rgba(255,251,245,0.7);
  color: var(--color-ls-text);
  border: 1px solid rgba(45,42,38,0.08);
  line-height: 1;
  white-space: nowrap;
}
.mock-milestone__foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 6px;
  border-top: 1px dashed rgba(45,42,38,0.18);
  font-size: 8.5px;
  color: var(--color-ls-text-secondary);
}
.mock-milestone__foot .date {
  font-family: var(--font-kid);
  font-size: 12px;
  color: var(--color-ls-text);
  line-height: 1;
}
.mock-card-mini {
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  border: 1px solid var(--color-ls-border);
  font-size: 12px;
}
.mock-card-mini__head { font-weight: 600; color: var(--color-ls-text); margin-bottom: 4px; }
.how__cta { margin-top: 32px; text-align: center; }

/* ----------------------------- Milestones ----------------------------- */
.milestones { background: var(--color-ls-bg); }
.milestones__layout {
  display: grid;
  gap: 36px;
  align-items: center;
  margin-top: 16px;
}
.milestone-stage {
  position: relative;
  height: 640px;
  display: flex; align-items: center; justify-content: center;
}
.milestone-card {
  position: relative;
  width: 320px;
  background: #FFFBF5;
  border-radius: 20px;
  padding: 0;
  box-shadow: 0 24px 60px rgba(45,42,38,0.22), 0 2px 6px rgba(45,42,38,0.08);
  transform: rotate(-2deg);
  z-index: 3;
}
.milestone-card__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 3/2;
  border-radius: 20px 20px 0 0;
  overflow: visible;
  background: linear-gradient(180deg, #F0E6D6 0%, #E2D4BD 65%, #D9C7A8 100%);
}
.milestone-card__scene {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}
.milestone-card__confetti {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 90px;
  pointer-events: none;
  z-index: 3;
}
.milestone-card__caption {
  position: absolute;
  top: 30px; left: 0; right: 0;
  text-align: center;
  font-family: var(--font-kid);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-ls-text);
  text-shadow:
    -1.5px -1.5px 0 #FFFBF5,
    1.5px -1.5px 0 #FFFBF5,
    -1.5px 1.5px 0 #FFFBF5,
    1.5px 1.5px 0 #FFFBF5,
    0 2px 4px rgba(45,42,38,0.18);
  z-index: 4;
  letter-spacing: 0.01em;
  line-height: 1;
}
.milestone-card__readstamp {
  position: absolute;
  left: -8px; bottom: -28px;
  width: 88px; height: 88px;
  border-radius: 50%;
  background: rgba(43,107,94,0.78);
  color: #FFFBF5;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.22em;
  box-shadow:
    inset 0 0 0 2px #FFFBF5,
    inset 0 0 0 4px rgba(43,107,94,0.7),
    0 2px 6px rgba(45,42,38,0.18);
  z-index: 6;
  transform: rotate(-10deg);
}
.milestone-card__coverpop {
  position: absolute;
  right: 18px; bottom: -36px;
  width: 112px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(45,42,38,0.28), 0 2px 6px rgba(45,42,38,0.18);
  z-index: 10;
  transform: rotate(2deg);
  line-height: 0;
}
.milestone-card__coverpop img { width: 100%; height: auto; display: block; }
.milestone-card__info {
  padding: 56px 22px 18px;
}
.milestone-card__title {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.15;
  margin: 0 0 4px;
  color: var(--color-ls-text);
  text-align: left;
  max-width: 62%;
  text-wrap: balance;
}
.milestone-card__author {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--color-ls-text-secondary);
  margin: 0 0 16px;
  text-align: left;
}
.milestone-card__tags {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 22px;
  justify-content: flex-start;
  max-width: 64%;
}
.milestone-card__tag {
  height: 30px;
  padding: 0 14px;
  border-radius: 9999px;
  border: 1.5px solid var(--color-ls-primary);
  color: var(--color-ls-primary);
  background: var(--color-ls-primary-light);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  display: inline-flex; align-items: center;
}
.milestone-card__foot {
  display: flex; justify-content: space-between; align-items: end;
  padding: 0; border: 0;
}
.milestone-card__date {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--color-ls-text-secondary);
  line-height: 1.45;
  text-align: left;
}
.milestone-card__date strong { display: block; color: var(--color-ls-text); font-weight: 600; }
.milestone-card__brand {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--color-ls-primary-deep);
  font-family: var(--font-brand);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.milestone-card__brand img { width: 22px; height: 22px; display: block; }

.milestone-bg {
  position: absolute;
  width: 240px;
  background: var(--color-ls-bg-surface);
  border-radius: 16px;
  padding: 16px;
  height: 360px;
  box-shadow: 0 8px 20px rgba(45,42,38,0.1);
  filter: blur(2px);
  opacity: 0.7;
}
.milestone-bg--1 { transform: rotate(7deg) translate(120px, -40px); background: #C2CFC0; z-index: 1; }
.milestone-bg--2 { transform: rotate(-9deg) translate(-130px, 60px); background: #D4B5B0; z-index: 1; }
.milestone-bg--3 { transform: rotate(4deg) translate(80px, 110px); background: #D5C4B0; z-index: 2; }

/* (milestone-peek removed) */

/* Section-boundary overlap — keepsake juts down into Friends */
.milestones {
  position: relative;
  z-index: 2;
}
.milestone-stage {
  margin-bottom: -48px;
}

/* ----------------------------- Friends ----------------------------- */
/* Friends feed — vertical sequence of scrapbook-y entry cards.
   Slight rotation + tight negative offset so they read as live entries
   pinned in a column, not a corporate-clean list. */
.friends-feed {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 10px 6px 28px;
  width: 100%;
}
.feed-entry {
  position: relative;
  background: #fff;
  padding: 14px 16px 16px;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid var(--color-ls-border);
  box-shadow:
    0 1px 3px rgba(45,42,38,0.05),
    0 12px 28px rgba(45,42,38,0.08);
}
.feed-entry + .feed-entry { margin-top: -4px; }
.feed-entry--1 { transform: rotate(-1.2deg); z-index: 3; margin-left: -6px; }
.feed-entry--2 { transform: rotate(0.9deg);  z-index: 2; margin-left: 14px; }
.feed-entry--3 { transform: rotate(-0.6deg); z-index: 1; margin-left: 4px;  }
.feed-entry__cover {
  width: 72px;
  aspect-ratio: 2 / 3;
  background: #E8D5C4;
  overflow: hidden;
  box-shadow: var(--shadow-book);
}
.feed-entry__cover img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.feed-entry__body { min-width: 0; }
.feed-entry__head {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--font-body);
  font-size: 13px;
  margin: 0 0 4px;
}
.feed-entry__avatar {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--color-ls-muted);
  color: #fff;
  font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.feed-entry__head strong { font-weight: 700; color: var(--color-ls-text); }
.feed-entry__time {
  margin-left: auto;
  font-size: 11.5px;
  color: var(--color-ls-text-hint);
}
.feed-entry__line {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-ls-text-secondary);
  margin: 0;
  line-height: 1.4;
}
.feed-entry__line em {
  font-family: var(--font-brand);
  font-style: italic;
  color: var(--color-ls-text);
  font-weight: 600;
}
.feed-entry__with {
  color: var(--color-ls-text-hint);
}
.feed-entry__meta {
  font-family: var(--font-body);
  font-size: 11.5px;
  color: var(--color-ls-text-hint);
  margin: 4px 0 6px;
  letter-spacing: 0.01em;
}
.feed-entry__quote {
  font-family: var(--font-kid);
  font-size: 16px;
  color: var(--color-ls-primary-deep);
  margin: 0;
  line-height: 1.25;
}
@media (max-width: 720px) {
  .feed-entry--1, .feed-entry--2, .feed-entry--3 {
    margin-left: 0;
    transform: rotate(-0.6deg);
  }
  .feed-entry--2 { transform: rotate(0.5deg); }
  .feed-entry--3 { transform: rotate(-0.3deg); }
}

.friends { background: var(--color-ls-bg-surface); }
.friends__stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 32px;
  max-width: 480px;
}
.stat-callout__title {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 6px;
  color: var(--color-ls-primary);
  letter-spacing: -0.01em;
}
.stat-callout__body {
  font-size: 13px;
  color: var(--color-ls-text-secondary);
  margin: 0;
  line-height: 1.5;
}
.friends-feed-card {
  background: var(--color-ls-bg);
  border-radius: 22px;
  padding: 6px 24px;
  box-shadow: 0 1px 3px rgba(45,42,38,0.05), 0 14px 32px rgba(45,42,38,0.07);
}
.friend-row {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--color-ls-border);
}
.friend-row:last-child { border-bottom: 0; }
.friend-row__avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff;
  font-family: var(--font-brand);
  font-size: 14px;
}
.friend-row__body { flex: 1; min-width: 0; }
.friend-row__line {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-ls-text);
  margin: 0 0 4px;
  font-weight: 500;
  line-height: 1.4;
}
.friend-row__line em {
  font-family: var(--font-brand);
  font-style: italic;
  font-weight: 700;
}
.friend-row__line .light { font-weight: 400; color: var(--color-ls-text); }
.friend-row__meta {
  font-size: 12px;
  color: var(--color-ls-text-hint);
  margin: 0 0 8px;
}
.friend-row__quote {
  font-family: var(--font-kid);
  font-size: 17px;
  margin: 0;
  color: var(--color-ls-text);
  line-height: 1.2;
  transform: rotate(-0.6deg);
  display: inline-block;
}
.book-tile {
  flex-shrink: 0;
  width: 54px;
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  font-family: var(--font-brand);
  font-weight: 400;
  font-size: 9px;
  line-height: 1.2;
  color: var(--color-ls-text);
  box-shadow: 0 2px 6px rgba(45,42,38,0.1);
  text-wrap: balance;
  overflow: hidden;
  align-self: flex-start;
}
.book-tile img { width: 100%; height: auto; display: block; }

/* ----------------------------- Founder ----------------------------- */
.founder {
  background: var(--color-ls-bg-sage);
  border-top: 1px solid var(--color-ls-border);
  border-bottom: 1px solid var(--color-ls-border);
}
.founder__inner {
  max-width: 580px;
  margin: 0 auto;
  text-align: left;
}
.founder__body {
  font-family: var(--font-brand);
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-ls-text);
  margin: 0 0 24px;
  text-wrap: pretty;
}
.founder__sig {
  font-family: var(--font-kid);
  font-size: 24px;
  color: var(--color-ls-primary-deep);
  margin: 0 0 4px;
}
.founder__sub {
  font-size: 13px;
  color: var(--color-ls-text-secondary);
  margin: 0;
}
.founder__doodle {
  margin: 0 0 24px;
  color: var(--color-ls-primary-deep);
  opacity: 0.6;
}

/* ----------------------------- FAQ ----------------------------- */
.faq { background: var(--color-ls-bg); }
.faq__head { margin-bottom: 32px; }
.faq__head .section-h em { color: var(--color-ls-primary); font-style: italic; }
.faq__list { display: grid; gap: 0; }
.faq-item {
  border-top: 1px solid var(--color-ls-border);
  padding: 22px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--color-ls-border); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.3;
  color: var(--color-ls-text);
  text-wrap: balance;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; }
.faq-item__icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--color-ls-bg-surface);
  border: 1px solid var(--color-ls-border);
  color: var(--color-ls-primary);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.faq-item__icon svg { width: 16px; height: 16px; }
.faq-item[open] .faq-item__icon {
  transform: rotate(45deg);
  background: var(--color-ls-primary);
  color: #fff;
  border-color: var(--color-ls-primary);
}
.faq-item p {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-ls-text-secondary);
  max-width: 60ch;
}

/* ----------------------------- Final CTA ----------------------------- */
.final-cta {
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(196,112,75,0.18), transparent 70%),
    var(--color-ls-accent-light);
  text-align: center;
  padding: 96px 0;
}
.final-cta h2 {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: clamp(32px, 6vw, 56px);
  line-height: 1.1;
  margin: 0 0 16px;
  color: var(--color-ls-text);
  text-wrap: balance;
}
.final-cta p {
  font-size: 17px;
  color: var(--color-ls-text-secondary);
  max-width: 520px;
  margin: 0 auto 44px;
  text-wrap: pretty;
}
.final-cta .final-cta__fine {
  margin-top: 44px;
  font-size: 13px;
  color: var(--color-ls-text-hint);
}

/* ----------------------------- Footer ----------------------------- */
.footer {
  padding: 48px 0 64px;
  background: var(--color-ls-bg);
  border-top: 1px solid var(--color-ls-border);
}
.footer__inner {
  display: grid; gap: 16px;
  text-align: left;
}
.footer__brand { font-family: var(--font-brand); font-size: 24px; font-weight: 600; color: var(--color-ls-primary-deep); letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 10px; }
.footer__brand-icon { width: 28px; height: 28px; flex-shrink: 0; }
.footer__brand-icon svg { width: 100%; height: 100%; display: block; }
.footer__links { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; color: var(--color-ls-text-secondary); }
.footer__legal { font-size: 13px; color: var(--color-ls-text-hint); }
.footer__tag { font-family: var(--font-brand); font-style: italic; font-size: 14px; color: var(--color-ls-text-secondary); }

/* ----------------------------- Hero choreography (page-load reveal) ----------------------------- */
.hero h1 .hw {
  display: inline-block;
}
.hero h1 .hw > span {
  display: inline-block;
}

@keyframes ls-fadeup {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes ls-phonein {
  to { opacity: 1; transform: translateY(0) rotate(-3deg); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero h1 .hw > span,
  .hero .hero__sub,
  .hero .hero__ctas,
  .hero .hero__proof {
    opacity: 0;
    transform: translateY(12px);
    animation: ls-fadeup 520ms cubic-bezier(.2,.7,.3,1) both;
  }

  /* Per-word delays — 60ms apart, starting at 100ms */
  .hero h1 .hw:nth-of-type(1) > span { animation-delay: 100ms; }
  .hero h1 .hw:nth-of-type(2) > span { animation-delay: 160ms; }
  .hero h1 .hw:nth-of-type(3) > span { animation-delay: 220ms; }
  .hero h1 .hw:nth-of-type(4) > span { animation-delay: 280ms; }
  .hero h1 .hw:nth-of-type(5) > span { animation-delay: 340ms; }
  .hero h1 .hw:nth-of-type(6) > span { animation-delay: 400ms; }
  .hero h1 .hw:nth-of-type(7) > span { animation-delay: 460ms; }

  .hero .hero__sub    { animation-delay: 580ms; }
  .hero .hero__ctas   { animation-delay: 660ms; }
  .hero .hero__proof  { animation-delay: 740ms; }

  /* Phone slides up + rotates into its final -3deg.
     The static `transform: rotate(-3deg)` on .phone is what the animation
     animates *to*, via the keyframe's to-state below. */
  .hero .phone {
    opacity: 0;
    transform: translateY(56px) rotate(0deg);
    animation: ls-phonein 880ms cubic-bezier(.2,.7,.3,1) 220ms both;
  }
}

/* ----------------------------- Responsive ----------------------------- */
@media (min-width: 720px) {
  section { padding: 96px 0; }
  .ages-grid { grid-template-columns: repeat(3, 1fr); }
  .catalog__layout { grid-template-columns: 1fr 1.15fr; gap: 60px; }
  .catalog-stage { height: 620px; }
  .stars__layout { grid-template-columns: 1fr 1.1fr; gap: 64px; }
  .how__steps { grid-template-columns: 1fr 1fr; }
  .friends__stats { grid-template-columns: 1fr 1fr; }
  .footer__inner {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}
@media (min-width: 960px) {
  .nav { display: flex; }
  .menu-toggle { display: none; }
  .hero { padding: 64px 0 32px; }
  .hero__inner {
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 48px;
  }
  .hero__text { text-align: left; }
  .phone-stage { padding: 0 0 60px; justify-content: flex-end; }
  .phone { width: 320px; height: 660px; }
  .milestones__layout {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
  .milestones .milestones__copy { order: 1; }
  .milestone-stage { order: 2; height: 620px; }
  .milestone-card { width: 320px; }
  .friends__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
  .step { grid-template-columns: 1fr 1fr; align-items: flex-start; }
  .step__col { display: flex; flex-direction: column; }
}
@media (max-width: 720px) {
  .hero h1 { font-size: 36px; }
  .phone { width: 280px; height: 572px; }
  .washi-note { width: 220px; }
  .milestone-stage { height: 580px; }
  .milestone-card { width: 280px; }
  .milestone-bg { width: 200px; height: 300px; }
  .index-card { width: 260px; }
  .index-card--1 { transform: rotate(-6deg) translate(-50px, -90px); }
  .index-card--2 { transform: rotate(2deg) translate(0, 30px); }
  .index-card--3 { transform: rotate(7deg) translate(50px, 150px); }
  .catalog-phone { display: none; }
  .catalog-stage { height: 400px; }
  .site-header .btn--primary {
    height: 36px;
    padding: 0 12px;
    font-size: 13px;
    border-radius: 10px;
    box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 4px 10px rgba(43,107,94,0.18);
  }
}

/* ── 4-column footer grid ── */
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.footer__col-title {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-ls-text-hint);
  margin: 0 0 12px;
}
.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__links a {
  font-size: 14px;
  color: var(--color-ls-text-secondary);
  transition: color 0.15s ease;
}
.footer__links a:hover { color: var(--color-ls-primary); }
.footer__coming-soon {
  font-size: 14px;
  color: var(--color-ls-text-hint);
  cursor: default;
}
.footer__note {
  font-size: 13px;
  color: var(--color-ls-text-hint);
  margin: 4px 0 0;
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--color-ls-border);
}
.footer__built {
  font-family: var(--font-brand);
  font-style: italic;
  font-size: 14px;
  color: var(--color-ls-text-secondary);
  margin: 0;
}
@media (min-width: 720px) {
  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
  }
}

/* Focus-visible states */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--color-ls-primary);
  outline-offset: 2px;
}
