/* =========================================================
   Notice — marketing site
   ========================================================= */

:root {
  --white: #FFFFFF;
  --bg: #FFFFFF;
  --bg-subtle: #F7F8FB;
  --bg-soft: #EEF1F6;

  /* Text */
  --text: #1A2B4A;
  --text-soft: #4A5670;
  --text-muted: #8A93A6;

  /* Borders / cards */
  --border: #E8EBF0;
  --border-strong: #DDE2EA;
  --card-shadow: 0 1px 2px rgba(26, 43, 74, 0.04);
  --card-shadow-lg: 0 20px 60px rgba(26, 43, 74, 0.10);

  /* Brand */
  --sky: #5B9BF0;
  --sky-soft: #E8F0FC;
  --sky-hover: #4A8AE0;
  --mint-bg: #E8F2EC;

  /* Mood palette */
  --mood-sage: #A8C868;
  --mood-pastel: #C9DD83;
  --mood-beige: #D4C098;
  --mood-lavender: #B5A8D2;
  --mood-rose: #E5A8A0;

  /* Type */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --max-width: 1080px;
  --max-width-narrow: 720px;
  --radius: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: var(--max-width-narrow); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}
.nav a { color: var(--text-soft); text-decoration: none; transition: color 0.15s ease; }
.nav a:hover { color: var(--text); }
.nav__cta {
  background: var(--sky);
  color: var(--white) !important;
  padding: 9px 18px;
  border-radius: 999px;
  transition: background 0.15s ease;
}
.nav__cta:hover { background: var(--sky-hover); }


/* ============ "What Notice does" — alternating feature rows ============ */
.features {
  padding: 48px 0 104px;
  background: #F7F9FC;
}

.does__header {
  text-align: center;
  margin-bottom: 72px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
}
.does__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--sky);
  margin-bottom: 14px;
  letter-spacing: 0;
}
.does__title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0 0 14px;
}
.does__intro {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-soft);
  margin: 0;
}

.does__rows {
  display: flex;
  flex-direction: column;
  gap: 72px;
  max-width: 1100px;
  margin: 0 auto;
}

.does__row {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.does__row--reverse .does__row-text  { order: 2; }
.does__row--reverse .does__row-visual { order: 1; }

/* ---- Text column ---- */
.does__row-text {
  max-width: 460px;
  justify-self: center;
}
.does__caption {
  font-size: 13px;
  font-weight: 600;
  color: var(--sky);
  margin-bottom: 14px;
  letter-spacing: 0;
}
.does__heading {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--text);
  margin: 0 0 18px;
}
.does__body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-soft);
  margin: 0 0 24px;
}
.does__bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.does__bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
}
.does__bullets li svg {
  flex-shrink: 0;
  color: var(--sky);
  background: var(--sky-soft);
  border-radius: 50%;
  padding: 4px;
  box-sizing: content-box;
  width: 12px;
  height: 12px;
}

/* ---- Visual column (the white card) ---- */
.does__row-visual {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 1px 3px rgba(26, 43, 74, 0.04), 0 14px 32px -16px rgba(26, 43, 74, 0.10);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ---- Shared visual pieces ---- */
.does-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.does-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.015em;
}
.does-card-time,
.does-card-meta {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 500;
}
.does-card-footnote {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 500;
}
.does-divider {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}
.does-sub-label {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0;
}
.does-selected {
  box-shadow: 0 0 0 3px white, 0 0 0 5px var(--sky);
}

/* ===== Row 1: mood card ===== */
.does-moods-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  justify-items: center;
  gap: 8px;
  padding: 4px 0;
}
.does-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.does-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  background: rgba(212, 192, 152, 0.25);
  color: #8B6F47;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.does-tag--more {
  background: rgba(212, 192, 152, 0.15);
  color: var(--text-muted);
  font-weight: 500;
}
/* Picker sections (Underneath all that / What's on your mind) */
.does-picker {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.does-picker-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 2px;
}
.does-picker-title {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1.25;
}
.does-picker-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}
/* ===== Row 2: habits card ===== */
.does-habits-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.does-habit {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 24px;
  gap: 14px;
  align-items: center;
  min-height: 52px;
}
.does-habit-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.does-habit-icon svg { width: 18px; height: 18px; }
.does-habit-icon--sky      { background: var(--sky-soft);            color: var(--sky); }
.does-habit-icon--lavender { background: rgba(181, 168, 210, 0.30); color: #6E5F94; }
.does-habit-icon--pastel   { background: rgba(168, 200, 104, 0.28); color: #6B8A3F; }
.does-habit-icon--beige    { background: rgba(212, 192, 152, 0.32); color: #8A7148; }
.does-habit-icon--rose     { background: rgba(229, 168, 160, 0.26); color: #8C5C53; }
.does-habit-body { min-width: 0; }
.does-habit-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: -0.005em;
}
.does-habit-meta-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.does-habit-meta {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 500;
}
.does-habit-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  background: #EEF1F6;
  color: var(--text-soft);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 500;
}
.does-habit-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  background: transparent;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: transparent;
}
.does-habit-check--done {
  background: var(--sky);
  border-color: var(--sky);
  color: white;
}
.does-habit-check svg { width: 12px; height: 12px; }

.does-week-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.does-week-cell {
  height: 32px;
  border-radius: 7px;
  background: #EEF1F6;
}
.does-week-cell--done {
  background: var(--mood-sage);
}
.does-week-cell--today {
  box-shadow: 0 0 0 2px white, 0 0 0 4px var(--sky);
}
.does-week-labels {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
}

/* ===== Row 3: insight card ===== */
.does-pattern-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.does-pattern-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #C95C56;
}
.does-pattern-label svg { width: 14px; height: 14px; }
.does-pattern-when {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 500;
}
.does-pattern-headline {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin: 0;
}
.does-pattern-sub {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-soft);
  margin: 0;
}
.does-pattern-chart {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.does-pattern-chart svg {
  width: 100%;
  height: auto;
  display: block;
}
.does-pattern-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
}
.does-pattern-day--low {
  color: #C95C56;
  font-weight: 700;
}
.does-insight-compare {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.does-compare-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 44px;
  gap: 10px;
  align-items: center;
  font-size: 12.5px;
  color: var(--text-soft);
}
.does-compare-label { font-weight: 500; }
.does-compare-row em {
  font-style: normal;
  font-weight: 600;
  color: var(--text);
  text-align: right;
}
.does-compare-bar {
  height: 6px;
  background: #EEF1F6;
  border-radius: 999px;
  overflow: hidden;
}
.does-compare-bar > span {
  display: block;
  height: 100%;
  border-radius: 999px;
}

/* ---- Responsive ---- */
@media (max-width: 880px) {
  .features {
    padding: 64px 0 80px;
  }
  .does__header {
    margin-bottom: 56px;
  }
  .does__rows { gap: 56px; }
  .does__row,
  .does__row--reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .does__row--reverse .does__row-text  { order: 1; }
  .does__row--reverse .does__row-visual { order: 2; }
  .does__row-text {
    max-width: 100%;
    justify-self: stretch;
    text-align: left;
  }
}
@media (max-width: 540px) {
  .features { padding: 48px 0 64px; }
  .does__rows { gap: 48px; }
  .does__row-visual { padding: 22px; }
  .does__heading { font-size: 26px; }
}


/* ---------- "See it in action" — editorial showcase ---------- */
.mockups {
  position: relative;
  padding: 96px 0 104px;
  background: #FCFDFE;
  overflow: hidden;
}
.mockups__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.mockups__blob--1 {
  top: 8%;
  left: -100px;
  width: 280px;
  height: 280px;
  background: var(--sky);
  opacity: 0.07;
}
.mockups__blob--2 {
  bottom: 6%;
  right: -100px;
  width: 260px;
  height: 260px;
  background: var(--mood-sage);
  opacity: 0.09;
}
.mockups__blob--3 {
  top: 50%;
  left: 48%;
  transform: translateX(-50%);
  width: 220px;
  height: 220px;
  background: var(--mood-rose);
  opacity: 0.06;
}
.mockups__container {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.mockups__header {
  text-align: center;
  margin: 0 auto 64px;
  max-width: 640px;
}
.mockups__eyebrow {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 14px;
  letter-spacing: 0;
}
.mockups__title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(34px, 4.2vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0 0 16px;
}
.mockups__lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-soft);
  margin: 0 auto;
  max-width: 580px;
}
.mockups__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
  align-items: start;
}
.mockup-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.mockup-item__img {
  filter: drop-shadow(0 30px 60px rgba(26, 43, 74, 0.10)) drop-shadow(0 8px 16px rgba(26, 43, 74, 0.04));
}
.mockup-item__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--sky);
  letter-spacing: 0;
  margin-top: 4px;
}
.mockup-item__desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-soft);
  margin: 0;
  max-width: 240px;
}

/* ---------- Download CTA (dark navy character) ---------- */
.download {
  padding: 72px 0 80px;
  background: #F7F9FC;
}
.download__inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px;
}
.download__card {
  position: relative;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
  background:
    radial-gradient(circle at 1px 1px, rgba(122, 179, 245, 0.05) 1px, transparent 0) 0 0 / 20px 20px,
    linear-gradient(135deg, #1A2B4A 0%, #243456 50%, #1A2B4A 100%);
  border-radius: 28px;
  padding: 88px 40px 80px;
  box-shadow: 0 30px 80px -30px rgba(26, 43, 74, 0.45), 0 1px 2px rgba(26, 43, 74, 0.08);
  overflow: hidden;
  color: white;
}

/* Decorative blurred blobs */
.download__blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.download__blob--1 {
  top: -60px;
  right: -40px;
  width: 240px;
  height: 240px;
  background: var(--sky);
  opacity: 0.22;
  filter: blur(60px);
}
.download__blob--2 {
  bottom: -40px;
  right: 100px;
  width: 160px;
  height: 160px;
  background: var(--mood-sage);
  opacity: 0.16;
  filter: blur(50px);
}
.download__blob--3 {
  top: 50%;
  left: 6%;
  transform: translateY(-50%);
  width: 120px;
  height: 120px;
  background: var(--mood-rose);
  opacity: 0.14;
  filter: blur(40px);
}

/* Tiny accent dots */
.download__dot {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.download__dot--1 { top: 36px; left: 56px;   width: 8px; height: 8px; background: var(--sky); opacity: 0.7; }
.download__dot--2 { top: 80px; right: 88px;  width: 6px; height: 6px; background: var(--mood-sage); opacity: 0.65; }
.download__dot--3 { bottom: 120px; right: 64px; width: 7px; height: 7px; background: var(--mood-rose); opacity: 0.6; }
.download__dot--4 { top: 48%; right: 12%;    width: 6px; height: 6px; background: var(--mood-lavender); opacity: 0.55; }

/* Mascot anchored to bottom-left corner */
.download__mascot {
  position: absolute;
  left: 18px;
  bottom: 18px;
  width: 180px;
  height: 180px;
  z-index: 1;
  pointer-events: none;
}
.download__mascot svg { width: 100%; height: 100%; display: block; }

/* Foreground content layer */
.download__content {
  position: relative;
  z-index: 2;
}

/* Eyebrow with sparkle */
.download__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--sky);
  letter-spacing: 0;
  margin-bottom: 18px;
}
.download__sparkle {
  width: 14px;
  height: 14px;
  color: rgba(122, 179, 245, 0.85);
}

/* Heading */
.download__title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(40px, 5.2vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin: 0 0 36px;
}

/* Subtitle (two tones) */
.download__sub {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 auto 36px;
  max-width: 520px;
}
.download__sub-cancel {
  color: rgba(255, 255, 255, 0.55);
}

/* CTAs row */
.download__ctas {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Primary white button */
.download__primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: #FFFFFF;
  color: var(--text);
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.download__primary svg { width: 16px; height: 16px; }
.download__primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -6px rgba(0, 0, 0, 0.40);
}

/* "or" separator */
.download__or {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0;
}

/* App Store badge */
.download__badge {
  display: inline-block;
  line-height: 0;
  transition: transform 0.15s ease;
}
.download__badge:hover { transform: translateY(-2px); }
.download__badge img { height: 56px; width: auto; display: block; }

/* Trust signals row */
.download__trust {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  letter-spacing: 0;
}
.download__trust-dot { color: rgba(122, 179, 245, 0.55); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 96px 0 40px;
  background: #FFFFFF;
}
.site-footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Zone 1 — brand + tagline + mascot */
.site-footer__top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}
.site-footer__brand-block { max-width: 480px; }
.site-footer .brand { font-size: 22px; gap: 12px; }
.site-footer .brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
}
.site-footer__tagline {
  margin-top: 16px;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 440px;
}
.site-footer__mascot {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
}
.site-footer__mascot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Zone 2 — link columns */
.site-footer__columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 56px;
}
.footer-col__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.005em;
}
.footer-col__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col__links a {
  font-size: 14px;
  color: var(--text-soft);
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-col__links a:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Zone 3 — bottom bar */
.site-footer__bottom {
  padding-top: 24px;
  padding-bottom: 4px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}
.site-footer__copyright { font-weight: 500; }
.site-footer__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.site-footer__meta-dot { color: var(--border-strong); }

/* ---------- Document pages (privacy / terms / support) ---------- */
.doc-page { padding: 72px 0 96px; }
.doc-header { text-align: center; margin-bottom: 56px; }
.doc-header__eyebrow {
  font-size: 14px;
  font-weight: 500;
  color: var(--sky);
  margin-bottom: 14px;
}
.doc-header h1 {
  font-weight: 800;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 14px;
}
.doc-header__meta { font-size: 14px; color: var(--text-muted); }
.doc {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 56px;
  box-shadow: var(--card-shadow);
}
.doc h2 {
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-top: 40px;
  margin-bottom: 14px;
}
.doc h2:first-of-type { margin-top: 0; }
.doc h3 {
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  margin-top: 24px;
  margin-bottom: 10px;
}
.doc p {
  color: var(--text-soft);
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.7;
}
.doc ul {
  margin: 0 0 20px 22px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.7;
}
.doc ul li { margin-bottom: 8px; }
.doc a {
  color: var(--sky);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(91, 155, 240, 0.3);
  transition: border-color 0.15s ease;
}
.doc a:hover { border-bottom-color: var(--sky); }
.doc strong { color: var(--text); font-weight: 600; }
.contact-card {
  background: var(--sky-soft);
  border: 1px solid rgba(91, 155, 240, 0.18);
  border-radius: var(--radius);
  padding: 28px;
  margin: 28px 0 32px;
}
.contact-card h3 {
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  margin-bottom: 8px;
  margin-top: 0;
}
.contact-card p {
  font-size: 15px;
  color: var(--text-soft);
  margin-bottom: 14px;
}
.contact-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 15px;
  color: var(--sky);
  text-decoration: none;
  border: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .site-footer { padding: 72px 0 36px; }
  .site-footer__top {
    grid-template-columns: 1fr auto;
    gap: 32px;
    margin-bottom: 44px;
  }
  .site-footer__mascot { width: 80px; height: 80px; }
  .site-footer__columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 44px;
  }
}

@media (max-width: 1100px) {
  .mockups__grid { gap: 24px; max-width: 720px; }
  .mockup-item__img { max-width: 220px !important; }
}
@media (max-width: 700px) {
  .mockups__grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    gap: 48px;
  }
  .mockup-item__img { max-width: 260px !important; }
}

@media (max-width: 540px) {
  .site-header__inner { padding: 14px 20px; }
  .nav { gap: 18px; font-size: 13px; }
  .nav a:not(.nav__cta) { display: none; }
  .container { padding: 0 20px; }

  .mockups { padding: 64px 0 80px; }
  .mockups__header { margin-bottom: 48px; }

  .download { padding: 48px 0 64px; }
  .download__inner { padding: 0 16px; }
  .download__card { padding: 64px 22px 56px; border-radius: 22px; }
  .download__title { font-size: 34px; }
  .download__sub { font-size: 16px; margin-bottom: 28px; }
  .download__ctas { flex-direction: column; gap: 12px; }
  .download__badge img { height: 50px; }
  .download__primary { padding: 13px 24px; font-size: 14.5px; }
  .download__trust { gap: 6px; font-size: 12.5px; margin-top: 26px; }
  .download__mascot { width: 130px; height: 130px; left: 20px; bottom: 20px; }
  .download__blob--1 { width: 180px; height: 180px; }
  .download__blob--2 { width: 120px; height: 120px; right: 40px; }
  .download__blob--3 { display: none; }
  .download__dot--3, .download__dot--4 { display: none; }

  .doc-page { padding: 48px 0 72px; }
  .doc { padding: 28px 24px; }

  .site-footer { padding: 56px 0 28px; }
  .site-footer__inner { padding: 0 24px; }
  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .site-footer__mascot { width: 72px; height: 72px; }
  .site-footer__columns {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 40px;
  }
  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ============ PHERO: centered hero + dashboard preview ============ */

.phero {
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

/* ---- Top: centered text hero ---- */
.phero__top {
  padding: 88px 0 56px;
  text-align: center;
}
.phero__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}
.phero__title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(40px, 5.8vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--text);
  margin: 0 0 24px;
}
.phero__title-accent { color: var(--sky); }
.phero__lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-soft);
  margin: 0 auto 36px;
  max-width: 560px;
}
.phero__ctas {
  display: flex;
  align-items: center;
  justify-content: center;
}
.phero__badge {
  display: inline-block;
  line-height: 0;
  transition: transform 0.15s ease;
}
.phero__badge:hover {
  transform: translateY(-2px);
}
.phero__badge img {
  height: 60px;
  width: auto;
  display: block;
}


/* ---- Hero text responsive ---- */
@media (max-width: 700px) {
  .phero__top {
    padding: 64px 0 40px;
  }
}

@media (max-width: 540px) {
  .phero__top {
    padding: 48px 0 32px;
  }
  .phero__inner { padding: 0 20px; }
  .phero__badge img { height: 54px; }
}

/* ============ BENTO: dashboard preview ============ */

.bento {
  background: #F7F9FC;
  padding: 56px 0 40px;
}
.bento__grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

/* ---- Card base ---- */
.bento__card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(26, 43, 74, 0.04);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Mood face SVG file rendering */
.mood-face {
  display: block;
  flex-shrink: 0;
  border-radius: 50%;
}

/* ---- Shared typography ---- */
.bento__caption {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.bento__big {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.bento__huge {
  font-size: 44px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.035em;
  line-height: 1;
}
.bento__muted {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}
.bento__heading {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.012em;
  line-height: 1.35;
  margin: 0;
}
.bento__icon-pill {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--sky-soft);
  color: var(--sky);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bento__icon-pill svg { width: 18px; height: 18px; }
.bento__row-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

/* ---- Mood face (universal across cards) ---- */
.bento__face {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bento__face svg { width: 100%; height: 100%; display: block; }
.bento__face--lg { width: 56px; height: 56px; }
.bento__face--sm { width: 32px; height: 32px; }

/* ===== Card A — Notice noticed insight ===== */
.bento__pattern-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--sky);
  letter-spacing: 0.02em;
}
.bento__pattern-label svg { width: 14px; height: 14px; }
.bento__bars-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bento__bars-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 70px 44px;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-soft);
}
.bento__bars-list li em {
  font-style: normal;
  font-weight: 600;
  color: var(--text);
  text-align: right;
}
.bento__inline-bar {
  height: 6px;
  background: #EEF1F6;
  border-radius: 999px;
  overflow: hidden;
}
.bento__inline-bar > span {
  display: block;
  height: 100%;
  border-radius: 999px;
}

/* ===== Card B — Mood by day of week (bar chart) ===== */
.bento__bar-chart {
  min-height: 0;
}
.bento__bar-chart svg {
  width: 100%;
  height: auto;
  display: block;
}
.bento__day-axis {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.bento__day-axis--highlight span:nth-child(6) {
  color: var(--text);
  font-weight: 700;
}
.bento__footnote {
  font-size: 12.5px;
  color: var(--text-soft);
  font-weight: 500;
}

/* ===== Card C — Consistency (tall stat) ===== */
.bento__progress {
  height: 6px;
  background: #EEF1F6;
  border-radius: 999px;
  overflow: hidden;
}
.bento__progress > span {
  display: block;
  height: 100%;
  background: var(--sky);
  border-radius: 999px;
}

/* ===== Card D — Best day (short stat) ===== */
.bento__week-squares {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.bento__week-square {
  height: 38px;
  border-radius: 7px;
  background: #EEF1F6;
}
.bento__week-square--best {
  background: var(--mood-sage);
}
.bento__week-letters {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.05em;
  margin-top: 2px;
}
.bento__week-letters span:nth-child(6) { color: var(--mood-sage); }

/* ===== Card E — Mood distribution ===== */
.bento__moods-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.bento__mood-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.bento__mood-count {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
}
.bento__mix-bar {
  display: flex;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
}
.bento__mix-bar > span {
  display: block;
  height: 100%;
}

/* ===== Card F — Habit completion ===== */
.bento__habits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bento__habit {
  display: grid;
  grid-template-columns: 32px 1fr 38px;
  gap: 12px;
  align-items: center;
}
.bento__habit-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bento__habit-icon svg { width: 16px; height: 16px; }
.bento__habit-body { min-width: 0; }
.bento__habit-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 5px;
  letter-spacing: -0.005em;
}
.bento__habit-pct {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
  text-align: right;
}

/* ===== Card G — Top emotions (pill cloud) ===== */
.bento__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bento__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(229, 168, 160, 0.18);
  color: #8C5C53;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.bento__pill em {
  font-style: normal;
  font-weight: 500;
  color: #A56C5E;
  opacity: 0.7;
  font-size: 11.5px;
}
/* Emotion category tints — Lighter / Quieter / Tense / Heavier */
.bento__pill--lighter {
  background: rgba(168, 200, 104, 0.18);
  color: #6B8A3F;
}
.bento__pill--quieter {
  background: rgba(212, 192, 152, 0.22);
  color: #8B6F47;
}
.bento__pill--tense {
  background: rgba(229, 168, 160, 0.22);
  color: #B85F52;
}
.bento__pill--heavier {
  background: rgba(181, 168, 210, 0.22);
  color: #6F5F95;
}

/* ===== Card H — Recent reflection ===== */
.bento__reflection {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.bento__reflection-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.bento__reflection-meta { display: flex; flex-direction: column; gap: 1px; }
.bento__reflection-mood {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.bento__reflection-date {
  font-size: 11.5px;
  color: var(--text-muted);
}
.bento__reflection-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-soft);
  font-weight: 500;
  margin: 0;
}
.bento__tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  background: rgba(229, 168, 160, 0.18);
  color: #8C5C53;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

/* ---- Responsive: tablet ---- */
@media (max-width: 900px) {
  .bento__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---- Responsive: mobile ---- */
@media (max-width: 600px) {
  .bento {
    padding: 40px 0 72px;
  }
  .bento__grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
  .bento__card { padding: 22px; }
  .bento__huge { font-size: 38px; }
}

/* =========================================================
   Scroll-reveal utility
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

