/* ============================================================
   DUO LANDING — "Un espacio sagrado"
   Warm, organic, editorial. Two-circles motif from the logo.
   ============================================================ */

@import url("https://api.fontshare.com/v2/css?f[]=general-sans@300,400,500,600,700&display=swap");

/* ---------- TOKENS (Palette: Arcilla / default) ---------- */
:root {
  /* surfaces */
  --paper:        #FBF6EE;
  --cream:        #F4ECDE;
  --cream-deep:   #ECE0CC;
  --shell:        #E7D8C0;

  /* ink */
  --ink:          #2B1F18;
  --ink-soft:     #5A4B40;
  --mute:         #8E7C6B;
  --mute-soft:    #B6A593;
  --hairline:     rgba(43, 31, 24, 0.10);
  --hairline-strong: rgba(43, 31, 24, 0.18);

  /* logo-derived warm accents */
  --rose:         #D78878;   /* left circle */
  --rose-deep:    #B0584A;
  --rose-soft:    #EFC4B7;
  --peach:        #E2B289;   /* right circle */
  --peach-soft:   #F2D7BB;
  --clay:         #C28A6A;
  --terracotta:   #A8543B;
  --wine:         #5B2A29;

  /* secondary cool note */
  --sage:         #7B8A6F;
  --sage-deep:    #4F5E45;
  --olive:        #8B7E4F;

  /* component */
  --note-yellow:  #F0DDA0;
  --note-pink:    #F3C9C0;
  --note-sage:    #C7CFB4;

  /* type */
  --font-sans: "General Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* radius */
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 36px;
  --r-pill: 999px;

  /* shadow (warm, soft) */
  --shadow-sm: 0 1px 2px rgba(43,31,24,0.05), 0 2px 8px rgba(43,31,24,0.04);
  --shadow-md: 0 8px 24px -8px rgba(43,31,24,0.12), 0 2px 6px rgba(43,31,24,0.05);
  --shadow-lg: 0 30px 60px -20px rgba(43,31,24,0.22), 0 10px 20px -10px rgba(43,31,24,0.10);

  /* grain */
  --grain-opacity: 0.05;
}

/* palette: terracotta — deeper, more saturated */
[data-palette="terracotta"] {
  --paper: #F6EDDF;
  --cream: #EBDCC4;
  --cream-deep: #DFC9AC;
  --rose: #C26852;
  --rose-deep: #8C3F2E;
  --peach: #D29464;
  --clay: #A66242;
  --terracotta: #813A22;
  --wine: #44181A;
  --ink: #221511;
}

/* palette: sand — bleached, sun-warm, lighter */
[data-palette="sand"] {
  --paper: #FBF7EE;
  --cream: #F4ECDA;
  --cream-deep: #EBE0C8;
  --shell: #E0D2B5;
  --rose: #E0A493;
  --rose-deep: #B0735F;
  --peach: #E8C9A4;
  --clay: #C9A47C;
  --terracotta: #B27858;
  --ink: #2F2519;
  --mute: #A08F76;
}

/* ---------- RESET / BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-feature-settings: "ss01" on, "ss02" on, "cv11" on;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { max-width: 100%; display: block; }

::selection { background: var(--rose); color: var(--paper); }

/* ---------- LAYOUT HELPERS ---------- */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
}

/* ---------- GRAIN OVERLAY (the warm artisanal texture) ---------- */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.17  0 0 0 0 0.12  0 0 0 0 0.09  0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* ---------- TYPOGRAPHY ---------- */
.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: currentColor;
  opacity: 0.5;
}

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0;
  color: var(--ink);
}

.h-display {
  font-size: clamp(54px, 9.2vw, 152px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.92;
}

.h-1 {
  font-size: clamp(40px, 5.5vw, 88px);
  font-weight: 500;
  letter-spacing: -0.028em;
  line-height: 0.98;
}

.h-2 {
  font-size: clamp(32px, 4vw, 60px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.02;
}

.h-3 {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.lede {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.5;
  color: var(--ink-soft);
  font-weight: 400;
  max-width: 36ch;
  text-wrap: pretty;
}

.body { color: var(--ink-soft); }
.muted { color: var(--mute); }

.italic-soft {
  font-style: italic;
  font-weight: 400;
  color: var(--terracotta);
}

/* small label inside content */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--terracotta);
  padding: 6px 14px;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.5);
  white-space: nowrap;
}
.tag .dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--rose);
  box-shadow: 0 0 0 4px rgba(215,136,120,0.18);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: var(--r-pill);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 4px 14px rgba(43,31,24,0.18), inset 0 1px 0 rgba(255,255,255,0.07);
}
.btn-primary:hover {
  background: var(--terracotta);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(168,84,59,0.32);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--hairline-strong);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn-icon { width: 18px; height: 18px; }

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .3s ease, backdrop-filter .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(251, 246, 238, 0.78);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--hairline);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 32px; height: 32px;
  border-radius: 50%;
  position: relative;
  display: inline-block;
}
.brand-mark::before, .brand-mark::after {
  content: ""; position: absolute; top: 0;
  width: 22px; height: 22px; border-radius: 50%;
  top: 50%; transform: translateY(-50%);
}
.brand-mark::before { left: 0;  background: var(--rose);  mix-blend-mode: multiply; }
.brand-mark::after  { left: 10px; background: var(--peach); mix-blend-mode: multiply; }
.brand-word {
  font-size: 19px; font-weight: 600;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex; align-items: center; gap: 36px;
}
.nav-link {
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 500;
  transition: color .2s ease;
}
.nav-link:hover { color: var(--terracotta); }
.nav-cta {
  font-size: 13px;
  padding: 11px 20px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--paper);
  font-weight: 500;
  transition: background .2s ease;
}
.nav-cta:hover { background: var(--terracotta); }

@media (max-width: 800px) {
  .nav-links { gap: 16px; }
  .nav-links .nav-link { display: none; }
}

/* ---------- TWO-CIRCLES MOTIF ---------- */
.duo-circles {
  position: relative;
  display: inline-block;
}
.duo-circles .c1, .duo-circles .c2 {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: multiply;
}
.duo-circles .c1 { background: var(--rose); }
.duo-circles .c2 { background: var(--peach); }

/* Big background motif used as decorative element */
.duo-bg-motif {
  position: absolute;
  pointer-events: none;
  display: block;
  z-index: 0;
}
.duo-bg-motif .c1, .duo-bg-motif .c2 {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: multiply;
  width: 100%;
  height: 100%;
}
.duo-bg-motif .c1 { left: 0; background: var(--rose); opacity: 0.85; }
.duo-bg-motif .c2 { left: 45%; background: var(--peach); opacity: 0.90; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 80px;
  overflow: hidden;
}

/* Hero A — "Sanctuary" / editorial poster */
.hero-a {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 56px;
}
.hero-a-headline {
  position: relative;
  z-index: 2;
  padding: 56px 0 0;
}
.hero-a-headline h1 {
  text-align: center;
  text-wrap: balance;
}
.hero-a-headline .sub {
  text-align: center;
  margin: 36px auto 0;
  font-size: clamp(16px, 1.2vw, 19px);
  max-width: 52ch;
  color: var(--ink-soft);
  line-height: 1.55;
}
.hero-a-circles {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-a-circles .c1, .hero-a-circles .c2 {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: multiply;
  filter: blur(0.5px);
}
.hero-a-circles .c1 {
  width: 56vmin; height: 56vmin;
  top: 8%; left: 18%;
  background: radial-gradient(circle at 35% 35%, var(--rose), var(--rose-deep) 90%);
  opacity: 0.78;
}
.hero-a-circles .c2 {
  width: 56vmin; height: 56vmin;
  top: 8%; left: 46%;
  background: radial-gradient(circle at 35% 35%, var(--peach), var(--clay) 90%);
  opacity: 0.82;
}
.hero-a-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.hero-a-strip {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
  flex-wrap: wrap;
}
.hero-a-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
}
.hero-a-meta .label { color: var(--mute); }
.hero-a-meta .value { color: var(--ink); font-weight: 500; }

/* Hero B — "Diptych" */
.hero-b {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
  min-height: calc(100vh - 220px);
}
@media (max-width: 900px) {
  .hero-b { grid-template-columns: 1fr; }
}
.hero-b-left { position: relative; z-index: 2; }
.hero-b-left .h-display { max-width: 12ch; }
.hero-b-left .lede { margin: 32px 0; }
.hero-b-right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.hero-b-actions {
  display: flex; gap: 12px; margin-top: 12px; flex-wrap: wrap;
}

/* Hero C — "Letter" */
.hero-c {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}
.hero-c-paper {
  background: var(--paper);
  border-radius: var(--r-xl);
  padding: 80px 80px 56px;
  max-width: 880px;
  margin: 0 auto;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    var(--shadow-lg);
  border: 1px solid var(--hairline);
  position: relative;
}
@media (max-width: 720px) {
  .hero-c-paper { padding: 56px 28px 36px; }
}
.hero-c-paper::before {
  content: "";
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 96px; height: 22px;
  background: rgba(215,136,120,0.32);
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(43,31,24,0.08);
}
.hero-c-paper .salutation {
  font-style: italic;
  color: var(--terracotta);
  margin-bottom: 24px;
  font-size: 19px;
}
.hero-c-paper .h-1 { text-wrap: balance; }
.hero-c-paper .lede {
  margin: 32px auto 36px;
  max-width: 52ch;
}
.hero-c-actions {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}

/* hero variants visibility */
.hero-variant { display: none; }
[data-hero="a"] .hero-variant-a { display: block; }
[data-hero="b"] .hero-variant-b { display: block; }
[data-hero="c"] .hero-variant-c { display: block; }

/* ---------- PHONE MOCKUP ---------- */
.phone {
  position: relative;
  width: 300px;
  height: 612px;
  background: linear-gradient(160deg, #1a1410, #0e0a07);
  border-radius: 46px;
  padding: 10px;
  box-shadow:
    0 40px 80px -20px rgba(43,31,24,0.45),
    0 12px 24px -10px rgba(43,31,24,0.25),
    inset 0 0 0 1.5px rgba(255,255,255,0.04);
}
.phone::before {
  content: "";
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 28px;
  background: #0a0805;
  border-radius: 20px;
  z-index: 5;
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 38px;
  overflow: hidden;
  background: var(--paper);
  position: relative;
}
.phone-tilt-r { transform: rotate(3deg); }
.phone-tilt-l { transform: rotate(-3deg); }

/* ---------- APP MINI UI (inside phone) ---------- */
.app-ui {
  padding: 56px 18px 18px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%);
}
.app-greet { display: flex; justify-content: space-between; align-items: center; }
.app-greet .who { font-size: 10px; color: var(--mute); }
.app-greet .names { font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.app-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--cream-deep);
  position: relative; overflow: hidden;
}
.app-avatar::before, .app-avatar::after {
  content: ""; position: absolute; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; border-radius: 50%; mix-blend-mode: multiply;
}
.app-avatar::before { left: -2px; background: var(--rose); }
.app-avatar::after  { left: 12px; background: var(--peach); }

.app-card {
  background: rgba(255,255,255,0.7);
  border-radius: 16px;
  padding: 12px;
  border: 1px solid var(--hairline);
}
.app-card .ttl {
  font-size: 10px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.app-checkins { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.app-checkin {
  padding: 8px;
  border-radius: 12px;
  text-align: center;
  background: var(--cream);
}
.app-checkin.alt { background: var(--rose-soft); }
.app-checkin .emoji { font-size: 18px; }
.app-checkin .lab { font-size: 8px; color: var(--mute); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 2px; }
.app-checkin .val { font-size: 12px; font-weight: 600; color: var(--terracotta); }
.app-checkin.alt .val { color: var(--rose-deep); }

.app-mimu {
  background: linear-gradient(135deg, rgba(215,136,120,0.18), rgba(226,178,137,0.18));
  border-radius: 14px;
  padding: 10px 12px;
  border: 1px solid var(--hairline);
}
.app-mimu .head { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.app-mimu .dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--rose), var(--rose-deep));
  color: white; font-size: 8px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.app-mimu .name { font-size: 9px; font-weight: 600; color: var(--terracotta); letter-spacing: 0.06em; text-transform: uppercase; }
.app-mimu p { font-size: 10.5px; line-height: 1.45; color: var(--ink); margin: 0; }

.app-note {
  background: var(--note-yellow);
  padding: 10px 12px;
  border-radius: 6px;
  transform: rotate(-1.5deg);
  box-shadow: 0 3px 10px rgba(43,31,24,0.10);
  position: relative;
}
.app-note p { font-size: 10px; color: #6e5b1a; margin: 0; line-height: 1.4; font-weight: 500; }
.app-note .from { font-size: 8px; color: #8c742d; margin-top: 4px; }

.app-tab {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  background: rgba(255,255,255,0.85);
  border-radius: 16px;
  padding: 8px 4px;
  border: 1px solid var(--hairline);
}
.app-tab-item { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.app-tab-item svg { width: 14px; height: 14px; color: var(--mute); }
.app-tab-item span { font-size: 8px; color: var(--mute); font-weight: 500; }
.app-tab-item.active svg, .app-tab-item.active span { color: var(--rose-deep); }

/* ---------- SECTION HEADERS ---------- */
.section {
  position: relative;
  padding: 140px 0;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 64px;
  margin-bottom: 80px;
}
@media (max-width: 900px) {
  .section-head { flex-direction: column; align-items: flex-start; gap: 24px; margin-bottom: 56px; }
  .section { padding: 96px 0; }
}
.section-head .left { max-width: 22ch; }
.section-head .right { max-width: 42ch; }

/* ---------- FEATURES — staggered editorial layout ---------- */
.features {
  position: relative;
  background: var(--paper);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.feature {
  position: relative;
  border-radius: var(--r-lg);
  padding: 40px 36px;
  background: var(--cream);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  border: 1px solid var(--hairline);
  transition: transform .4s ease, box-shadow .4s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature .num {
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 500;
  color: var(--mute);
  text-transform: uppercase;
}
.feature h3 {
  margin: 24px 0 12px;
  font-size: clamp(22px, 1.8vw, 28px);
  font-weight: 500;
  letter-spacing: -0.018em;
}
.feature p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
  max-width: 30ch;
  margin: 0;
}
.feature .visual {
  margin-top: auto;
  padding-top: 28px;
  display: flex;
  align-items: flex-end;
}

/* sizing for staggered grid */
.feature-1 { grid-column: span 5; background: var(--cream-deep); min-height: 440px; }
.feature-2 { grid-column: span 7; background: var(--ink); color: var(--paper); }
.feature-2 .num, .feature-2 p { color: rgba(251,246,238,0.7); }
.feature-2 h3 { color: var(--paper); }
.feature-3 { grid-column: span 4; }
.feature-4 { grid-column: span 4; background: var(--rose-soft); }
.feature-5 { grid-column: span 4; background: var(--shell); }
.feature-6 { grid-column: span 12; background: linear-gradient(135deg, var(--peach-soft), var(--rose-soft) 80%); min-height: 280px; }
.feature-6 .feature-inner {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center;
}
.feature-6 h3 { font-size: clamp(28px, 2.5vw, 40px); max-width: 14ch; }

@media (max-width: 900px) {
  .feature-1, .feature-2, .feature-3, .feature-4, .feature-5, .feature-6 {
    grid-column: span 12;
  }
  .feature-6 .feature-inner { grid-template-columns: 1fr; }
}

/* feature visuals: mini illustrations */
.viz-pulse {
  height: 80px; width: 100%;
  background: repeating-linear-gradient(90deg, transparent 0 8px, var(--rose-deep) 8px 9px);
  -webkit-mask: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
          mask: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  position: relative;
}
.viz-pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, transparent 45%, var(--rose-deep) 50%, transparent 55%);
  animation: pulse-wave 3s infinite ease-in-out;
}
@keyframes pulse-wave {
  0%, 100% { transform: scaleY(0.3); }
  50% { transform: scaleY(1); }
}

.viz-bars {
  display: flex; align-items: flex-end; gap: 6px; height: 80px; width: 100%;
}
.viz-bars span {
  flex: 1;
  background: var(--peach);
  border-radius: 3px 3px 0 0;
}

.viz-chat {
  display: flex; flex-direction: column; gap: 6px; width: 100%;
}
.viz-chat .bubble {
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.15);
  max-width: 90%;
  word-break: break-word;
}
.viz-chat .bubble.me { background: var(--rose-soft); color: var(--ink); align-self: flex-end; }

.viz-notes {
  display: flex; gap: 10px; width: 100%; transform: translateY(8px);
}
.viz-notes .note {
  flex: 1; padding: 14px;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(43,31,24,0.10);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}
.viz-notes .note:nth-child(1) { background: var(--note-yellow); color: #6e5b1a; transform: rotate(-3deg); }
.viz-notes .note:nth-child(2) { background: var(--note-pink); color: var(--rose-deep); transform: rotate(2deg); }
.viz-notes .note:nth-child(3) { background: var(--note-sage); color: var(--sage-deep); transform: rotate(-1deg); }

.viz-orbit {
  position: relative;
  width: 100%; height: 100px;
}
.viz-orbit .star {
  position: absolute;
  background: var(--terracotta);
  border-radius: 50%;
}

/* ---------- MIMU SECTION ---------- */
.mimu {
  background: linear-gradient(180deg, var(--cream) 0%, var(--paper) 60%, var(--cream) 100%);
  position: relative;
  overflow: hidden;
}
.mimu .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (max-width: 900px) {
  .mimu .container { grid-template-columns: 1fr; gap: 48px; }
}

.chat-card {
  background: var(--paper);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--hairline);
  max-width: 460px;
  margin: 0 auto;
  position: relative;
}
.chat-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 25px;
  background: linear-gradient(135deg, rgba(215,136,120,0.20), transparent 50%);
  z-index: -1;
}
.chat-header {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--hairline);
}
.mimu-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  position: relative; overflow: hidden;
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--hairline-strong);
}
.mimu-avatar::before, .mimu-avatar::after {
  content: ""; position: absolute; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; mix-blend-mode: multiply;
}
.mimu-avatar::before { left: -2px; background: var(--rose); }
.mimu-avatar::after  { left: 16px; background: var(--peach); }

.chat-header .name { font-weight: 600; font-size: 15px; }
.chat-header .role { font-size: 12px; color: var(--mute); }
.chat-status {
  margin-left: auto;
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--sage-deep); font-weight: 500;
}
.chat-status .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--sage);
  animation: ping 1.5s infinite;
}
@keyframes ping {
  0%, 100% { box-shadow: 0 0 0 0 var(--sage); opacity: 1; }
  70% { box-shadow: 0 0 0 6px transparent; opacity: 1; }
}

.chat-body {
  padding: 22px 0 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.bubble {
  font-size: 14px;
  line-height: 1.5;
  padding: 12px 16px;
  border-radius: 18px;
  max-width: 84%;
}
.bubble.me {
  background: var(--rose-soft);
  align-self: flex-end;
  border-bottom-right-radius: 6px;
  color: var(--ink);
}
.bubble.them {
  background: var(--cream);
  align-self: flex-start;
  border-bottom-left-radius: 6px;
  color: var(--ink);
  border: 1px solid var(--hairline);
}
.chat-input {
  display: flex; align-items: center; gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
}
.chat-input .fake-input {
  flex: 1;
  background: var(--cream);
  padding: 10px 16px;
  border-radius: var(--r-pill);
  font-size: 13px;
  color: var(--mute);
}
.chat-input .send {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  color: var(--paper);
}

.mimu-attrs {
  margin-top: 40px;
  display: flex; flex-direction: column;
}
.mimu-attr {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--hairline);
}
.mimu-attr:last-child { border-bottom: 1px solid var(--hairline); }
.mimu-attr-num {
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  color: var(--mute);
  letter-spacing: 0.08em;
  padding-top: 4px;
}
.mimu-attr-body h4 { font-size: 17px; font-weight: 500; margin: 0 0 4px; letter-spacing: -0.01em; }
.mimu-attr-body p { font-size: 14px; color: var(--ink-soft); margin: 0; max-width: 42ch; }

/* ---------- TOOLS (BENTO) ---------- */
.tools {
  background: var(--cream);
}
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 16px;
}
.bento-tile {
  position: relative;
  padding: 32px;
  border-radius: var(--r-lg);
  background: var(--paper);
  border: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.bento-tile h3 {
  font-size: clamp(20px, 1.6vw, 24px);
  margin: 12px 0 8px;
  letter-spacing: -0.015em;
}
.bento-tile p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
  max-width: 36ch;
}
.bento-glyph { color: var(--terracotta); }

.bt-quotes { grid-column: span 5; background: var(--paper); grid-row: span 2; }
.bt-widgets { grid-column: span 4; background: var(--shell); }
.bt-therapist { grid-column: span 3; background: var(--ink); color: var(--paper); }
.bt-therapist h3 { color: var(--paper); }
.bt-therapist p { color: rgba(251,246,238,0.65); }
.bt-therapist .bento-glyph { color: var(--peach); }
.bt-notifs { grid-column: span 7; background: var(--rose-soft); }
.bt-onboard { grid-column: span 12; background: linear-gradient(120deg, var(--peach-soft), var(--cream) 70%); }

@media (max-width: 900px) {
  .bento-tile { grid-column: span 12; grid-row: span 1; }
}

.bento-tile .pull-quote {
  font-style: italic;
  font-size: 18px;
  line-height: 1.4;
  color: var(--terracotta);
  margin-top: 28px;
  max-width: 22ch;
}

.widgets-stack {
  margin-top: auto;
  display: flex;
  gap: 10px;
  transform: translateY(8px);
}
.widget {
  flex: 1;
  background: var(--paper);
  border-radius: var(--r-md);
  padding: 14px;
  font-size: 12px;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.widget.note-y { background: var(--note-yellow); color: #6e5b1a; transform: rotate(-2deg); }
.widget.note-p { background: var(--note-pink); color: var(--rose-deep); transform: rotate(2deg); }

.notif-list { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.notif {
  background: rgba(251,246,238,0.85);
  border-radius: var(--r-md);
  padding: 12px 14px;
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--hairline);
}
.notif-icon {
  width: 36px; height: 36px; border-radius: 12px;
  background: var(--cream-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.notif-text { font-size: 12px; color: var(--ink); }
.notif-text .ttl { font-weight: 500; }
.notif-text .when { color: var(--mute); font-size: 11px; }

.onboard-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
@media (max-width: 760px) {
  .onboard-inner { grid-template-columns: 1fr; }
}
.onboard-flow {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.onboard-chip {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
}
.onboard-chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- HOW IT WORKS ---------- */
.how {
  background: var(--paper);
}
.steps {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
}
.step {
  position: relative;
  padding: 56px 36px 40px;
  border-radius: var(--r-lg);
  background: var(--cream);
  min-height: 320px;
  display: flex;
  flex-direction: column;
}
.step:nth-child(2) { background: var(--cream-deep); margin-top: 32px; }
.step:nth-child(3) { background: var(--shell); margin-top: 64px; }
.step .num {
  position: absolute;
  top: 28px;
  left: 36px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--terracotta);
}
.step h3 {
  margin-top: 56px;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.step p {
  color: var(--ink-soft);
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.55;
  max-width: 28ch;
}
.step .mark {
  margin-top: auto;
  align-self: flex-end;
  font-size: 80px;
  font-weight: 500;
  color: rgba(43,31,24,0.08);
  line-height: 1;
  letter-spacing: -0.05em;
}

/* ---------- CTA ---------- */
.cta {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.cta .container { position: relative; z-index: 2; text-align: center; padding-top: 60px; padding-bottom: 60px; }
.cta h2 {
  color: var(--paper);
  max-width: 18ch;
  margin: 0 auto;
  text-wrap: balance;
}
.cta .lede {
  margin: 28px auto 40px;
  color: rgba(251,246,238,0.65);
  text-align: center;
}
.cta-actions {
  display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
}
.cta .btn-primary { background: var(--paper); color: var(--ink); }
.cta .btn-primary:hover { background: var(--rose); color: var(--ink); }
.cta .btn-ghost { color: var(--paper); border-color: rgba(251,246,238,0.20); }
.cta .btn-ghost:hover { background: var(--paper); color: var(--ink); }

.cta-circles {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.30;
}
.cta-circles .c1, .cta-circles .c2 {
  position: absolute; top: 50%; transform: translateY(-50%);
  border-radius: 50%;
  mix-blend-mode: screen;
  width: 500px; height: 500px;
  filter: blur(40px);
}
.cta-circles .c1 { left: 80px; background: var(--rose); }
.cta-circles .c2 { left: 380px; background: var(--peach); }

.cta-meta {
  margin-top: 40px;
  display: flex; justify-content: center; gap: 32px;
  font-size: 13px; color: rgba(251,246,238,0.50);
  flex-wrap: wrap;
}
.cta-meta .dot { color: rgba(251,246,238,0.30); }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--paper);
  padding: 80px 0 40px;
  border-top: 1px solid var(--hairline);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer h4 {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0 0 20px;
}
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: var(--ink-soft); font-size: 14px; transition: color .2s ease; }
.footer-links a:hover { color: var(--terracotta); }
.footer-brand { max-width: 38ch; }
.footer-brand p { color: var(--ink-soft); font-size: 14px; line-height: 1.55; margin: 16px 0 0; }
.footer-base {
  margin-top: 80px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--mute);
  flex-wrap: wrap; gap: 16px;
}

/* ---------- REVEAL ANIMATIONS ----------
   Disabled — default state is visible. The IntersectionObserver in
   index.html still adds `.in` for anyone who wants to layer animations
   later, but base styles never hide content. */
.reveal { opacity: 1; }

/* float for phone */
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.float-anim { animation: float-y 7s ease-in-out infinite; }

/* circle drift */
@keyframes drift1 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(20px, -10px) scale(1.03); } }
@keyframes drift2 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-20px, -16px) scale(0.98); } }

.hero-a-circles .c1 { animation: drift1 14s ease-in-out infinite; }
.hero-a-circles .c2 { animation: drift2 16s ease-in-out infinite; }

/* image-slot styling override */
image-slot {
  --slot-bg: var(--cream-deep);
  --slot-border: var(--hairline-strong);
  --slot-color: var(--mute);
}

/* scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 2px;
  background: var(--terracotta);
  z-index: 200;
  transition: width 0.1s ease-out;
}

/* legal page support */
.legal {
  max-width: 720px;
  margin: 140px auto 96px;
  padding: 0 24px;
}
.legal h1 { font-size: 48px; margin-bottom: 16px; }
.legal h2 { font-size: 22px; margin-top: 40px; }
.legal p, .legal li { color: var(--ink-soft); font-size: 16px; line-height: 1.6; }
