/* SSENCE — landing styles
   Palette: app cream + terracotta, with deep pine and sage accents. */

:root {
  --paper: #F2EBDF;
  --paper-deep: #EAE0CE;
  --peach: #FAE9DE;
  --clay: #C03D2A;
  --clay-deep: #9E2F1F;
  --pine: #26382F;
  --pine-soft: #31463B;
  --sage: #B3CCA8;
  --sage-light: #C9DDBE;
  --linen: #D8CCB2;
  --ink: #241D14;
  --muted: #7C7263;
  --cream-on-dark: #F2EBDF;
  --line: rgba(36, 29, 20, 0.14);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Manrope", "Avenir Next", "Segoe UI", sans-serif;

  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; }

/* Film grain over everything — the cheapest way to lose the "flat vector" look */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 60;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- type & shared ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 480;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

.section-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
  margin: 0 0 1.1rem;
}
.eyebrow.light { color: var(--sage); }

.section-title {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  max-width: 24ch;
}

.section-lead {
  max-width: 44ch;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.accent {
  font-style: italic;
  color: var(--clay);
  position: relative;
  white-space: nowrap;
}
.accent-warm { font-style: italic; color: var(--sage-light); }

.squiggle {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.28em;
  width: 100%;
  height: 0.32em;
  color: var(--clay);
  opacity: 0.85;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  padding: 0.95rem 1.9rem;
  cursor: pointer;
  transition: transform 0.25s var(--ease-soft), box-shadow 0.25s var(--ease-soft), background 0.2s;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--clay);
  color: #FFF6EE;
  box-shadow: 0 10px 24px -10px rgba(192, 61, 42, 0.55);
}
.btn-primary:hover {
  background: var(--clay-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -12px rgba(192, 61, 42, 0.6);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); transform: translateY(-2px); }

.btn-cream {
  background: var(--paper);
  color: var(--clay-deep);
  box-shadow: 0 12px 26px -12px rgba(20, 10, 5, 0.5);
}
.btn-cream:hover { transform: translateY(-2px); background: #FFFDF8; }

.btn-small { padding: 0.6rem 1.25rem; font-size: 0.9rem; }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1.25rem, 4vw, 3rem);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(36, 29, 20, 0.06);
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.14em;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.wordmark-dot {
  width: 0.62em;
  height: 0.62em;
  border-radius: 50%;
  background: var(--clay);
  animation: dot-breathe 5s ease-in-out infinite;
}

@keyframes dot-breathe {
  0%, 100% { transform: scale(0.8); opacity: 0.75; }
  45%      { transform: scale(1.15); opacity: 1; }
  62%      { transform: scale(1.15); opacity: 1; }
}

.nav-links { display: flex; gap: 1.8rem; }
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  opacity: 0.78;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  max-width: 72rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 4vw, 3rem) clamp(2rem, 5vw, 4rem);
}

.hero-title {
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  font-weight: 440;
}

.hero-sub {
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
  max-width: 42ch;
  color: color-mix(in srgb, var(--ink) 82%, var(--muted));
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.9rem 0 1rem;
}

.hero-note { font-size: 0.9rem; color: var(--muted); }

/* hero visual */

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 30rem;
}

.blob {
  position: absolute;
  border-radius: 46% 54% 60% 40% / 45% 42% 58% 55%;
  filter: blur(2px);
  animation: blob-drift 16s ease-in-out infinite alternate;
}
.blob-a {
  width: 26rem; height: 26rem;
  background: var(--peach);
  top: 6%; right: -4%;
}
.blob-b {
  width: 13rem; height: 13rem;
  background: rgba(192, 61, 42, 0.14);
  bottom: 2%; left: 2%;
  animation-delay: -6s;
}

@keyframes blob-drift {
  from { transform: translate(0, 0) rotate(0deg); }
  to   { transform: translate(1.2rem, -1rem) rotate(9deg); }
}

.phone {
  position: relative;
  margin: 0;
  width: min(19rem, 78vw);
  border-radius: 2.6rem;
  background: #171310;
  padding: 0.55rem;
  box-shadow:
    0 30px 60px -22px rgba(30, 18, 10, 0.45),
    0 4px 14px rgba(30, 18, 10, 0.18);
  transform: rotate(2.5deg);
  transition: transform 0.6s var(--ease-soft);
}
.phone:hover { transform: rotate(0.5deg) translateY(-6px); }

.phone-screen {
  position: relative;
  border-radius: 2.1rem;
  background: var(--paper);
  overflow: hidden;
  padding: 1.1rem 1rem 0;
  height: 36rem;
  display: flex;
  flex-direction: column;
  font-size: 0.82rem;
}

.ps-top {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 0.4rem 0 0.9rem;
}
.ps-title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.16em;
  font-size: 1rem;
}
.ps-avatar {
  position: absolute;
  right: 0;
  width: 1.9rem; height: 1.9rem;
  border-radius: 50%;
  background: var(--peach);
  color: var(--clay);
  font-weight: 700;
  display: grid;
  place-items: center;
}

.ps-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  background: var(--peach);
  border-radius: 1rem;
  padding: 0.8rem 0.9rem;
}
.ps-card-text { display: grid; gap: 0.15rem; }
.ps-card-text span { color: var(--muted); font-size: 0.72rem; }
.ps-card-go { color: var(--clay); font-weight: 700; white-space: nowrap; }

.ps-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.4rem;
  padding-bottom: 3rem;
}
.ps-center h2 {
  font-size: 1.5rem;
  margin: 0;
}
.ps-center p { margin: 0; color: var(--muted); font-size: 0.8rem; max-width: 17ch; }
.ps-start {
  margin-top: 0.9rem;
  background: var(--clay);
  color: #FFF6EE;
  font-weight: 700;
  border-radius: 0.9rem;
  padding: 0.75rem 2.3rem;
}

.ps-panic {
  position: absolute;
  bottom: 3.4rem;
  left: 50%;
  transform: translateX(-50%);
  width: 4.4rem; height: 4.4rem;
  border-radius: 50%;
  background: var(--clay);
  color: #FFF6EE;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.78rem;
  box-shadow: 0 0 0 0.45rem rgba(242, 235, 223, 0.85), 0 8px 16px -6px rgba(158, 47, 31, 0.5);
}

.ps-tabbar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: space-around;
  padding: 1rem 0.6rem 1.1rem;
  background: #FBF7EF;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
}
.ps-tabbar .on { color: var(--clay); }

.float-chip {
  position: absolute;
  background: #FFFDF8;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 10px 24px -14px rgba(30, 18, 10, 0.4);
  animation: chip-float 7s ease-in-out infinite;
}
.float-chip em { font-style: normal; color: var(--clay); }
.chip-1 { top: 14%; left: -4%; }
.chip-2 { bottom: 12%; right: -6%; animation-delay: -3.2s; }

@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-0.7rem); }
}

/* ---------- marquee ---------- */

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
  background: var(--paper-deep);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  width: max-content;
  animation: marquee 36s linear infinite;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.06rem;
  color: color-mix(in srgb, var(--ink) 72%, var(--muted));
  white-space: nowrap;
}
.marquee-track i { color: var(--clay); font-style: normal; }
.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- problem (dark) ---------- */

.problem {
  background: var(--pine);
  color: var(--cream-on-dark);
  padding: clamp(4rem, 8vw, 7rem) 0;
  margin-top: -1px;
}

.problem .eyebrow { text-align: center; }
.problem .section-title {
  color: var(--cream-on-dark);
  text-align: center;
  margin-inline: auto;
}

.problem-sub {
  margin: 0.4rem 0 0;
  text-align: center;
  color: rgba(242, 235, 223, 0.6);
  font-size: 1.05rem;
}

/* one thread: straight, then wavering, then a knot — accumulation made visible.
   Stray thoughts hang along it, quiet at the top, louder near the tangle. */
.thread-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  margin-top: clamp(2rem, 4vw, 3.2rem);
}

.thread-stage {
  position: relative;
  width: min(100%, 44rem);
  display: flex;
  justify-content: center;
}

.thread {
  width: clamp(10rem, 22vw, 13.5rem);
  height: auto;
  color: var(--linen);
}

.thought {
  position: absolute;
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  line-height: 1.3;
  max-width: 36%;
  color: var(--cream-on-dark);
}
.thought span {
  display: inline-block;
  transform: rotate(var(--r, 0deg));
  opacity: var(--o, 0.7);
}

.t1 { top: 4%;  left: 58%;  font-size: 0.95rem; --o: 0.4;  --r: 2deg; }
.t2 { top: 23%; right: 58%; text-align: right; font-size: 1.05rem; --o: 0.55; --r: -2deg; }
.t3 { top: 41%; left: 58%;  font-size: clamp(1.15rem, 1.8vw, 1.45rem); color: var(--sage-light); --o: 1; --r: 1.5deg; }
.t4 { top: 56%; right: 58%; text-align: right; font-size: 1rem; --o: 0.55; --r: -1.5deg; }
.t5 { top: 70%; left: 57%;  font-size: 1.1rem;  --o: 0.75; --r: 2deg; }
.t6 { top: 84%; right: 59%; text-align: right; font-size: 1.25rem; --o: 0.85; --r: -1deg; }
.js .thread path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.js .thread.in path {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 3.6s cubic-bezier(0.5, 0, 0.7, 1) 0.2s;
}

.thread-caption {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: rgba(242, 235, 223, 0.55);
}

.problem-belief {
  margin: 3.6rem auto 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  line-height: 1.3;
  max-width: 30ch;
}
.problem-belief em { color: var(--sage-light); }

/* ---------- why (guide) ---------- */

.why { padding: clamp(4rem, 8vw, 7rem) 0; }

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.why-copy p { max-width: 52ch; }

.why-authority {
  border-left: 3px solid var(--clay);
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.why-quote {
  background: var(--peach);
  border-radius: 1.6rem;
  padding: clamp(2rem, 4vw, 3rem);
  transform: rotate(-1.5deg);
}
.why-quote p {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.35;
  color: var(--clay-deep);
}

/* ---------- plan ---------- */

.plan {
  background: var(--paper-deep);
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.steps {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  counter-reset: step;
}

.step {
  background: var(--paper);
  border-radius: 1.4rem;
  padding: 1.9rem 1.6rem 1.7rem;
  border: 1px solid var(--line);
  position: relative;
}
.step:nth-child(2) { transform: translateY(1.1rem); }
.step:nth-child(3) { transform: translateY(2.2rem); }

.step-num {
  display: inline-grid;
  place-items: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  background: var(--clay);
  color: #FFF6EE;
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.step h3 { font-size: 1.3rem; }
.step p { margin: 0; color: color-mix(in srgb, var(--ink) 76%, var(--muted)); font-size: 0.98rem; }

/* ---------- demo / breather ---------- */

.demo { padding: clamp(4rem, 8vw, 7.5rem) 0; }

.demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.demo-copy p { max-width: 46ch; }
.demo-hint { color: var(--muted); font-size: 0.95rem; }

.breather {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  padding: 2.5rem 1rem;
}

.breather-ring {
  width: 15rem;
  height: 15rem;
  border-radius: 50%;
  border: 1.5px dashed rgba(192, 61, 42, 0.4);
  display: grid;
  place-items: center;
}

.breather-circle {
  width: 60%;
  height: 60%;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #D65F45, var(--clay) 72%);
  box-shadow: 0 18px 40px -16px rgba(158, 47, 31, 0.55);
  transform: scale(0.72);
  transition: transform 4s cubic-bezier(0.37, 0, 0.63, 1);
}

.breather-phase {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--clay-deep);
  margin: 0;
  min-height: 1.6em;
}

/* ---------- shift ---------- */

.shift {
  background: var(--peach);
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.shift-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 1.4rem;
  align-items: center;
  margin-top: 2.6rem;
}

.shift-card {
  border-radius: 1.5rem;
  padding: 1.9rem 1.7rem;
}
.shift-card h3 { font-size: 1.55rem; }
.shift-card ul { margin: 0; padding-left: 1.1rem; }
.shift-card li { margin: 0.45rem 0; }

.shift-line {
  width: 7rem;
  height: 2.1rem;
  margin-bottom: 0.7rem;
}

.shift-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* point A — drained and washed out */
.shift-before {
  background: #E9DFCB;
  border: 1px solid var(--line);
  color: #8D8371;
  transform: rotate(-1.2deg) scale(0.97);
}
.shift-before .shift-line { color: #B5A88E; }
.shift-before .shift-eyebrow { color: #A2967D; }
.shift-before h3 { color: #6E6452; }

/* point B — warm and glowing */
.shift-after {
  background: linear-gradient(140deg, #CC4A32 0%, var(--clay) 48%, #A2321F 100%);
  color: #FFEFE3;
  transform: rotate(1deg) scale(1.04);
  box-shadow: 0 32px 64px -22px rgba(158, 47, 31, 0.65);
}
.shift-after .shift-line { color: #FFE7D9; }
.shift-after .shift-eyebrow { color: #FFE0CE; }
.shift-after h3 { color: #FFF6EE; }

.shift-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  color: var(--clay);
  font-family: var(--font-display);
}
.shift-arrow span { font-size: 2.4rem; line-height: 1; }
.shift-arrow em { font-size: 0.9rem; color: var(--clay-deep); white-space: nowrap; }

/* ---------- features ---------- */

.features { padding: clamp(4rem, 8vw, 7rem) 0; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 2.6rem;
}

.feature {
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  padding: 1.8rem 1.7rem;
  background: #F7F1E6;
  transition: transform 0.35s var(--ease-soft), box-shadow 0.35s var(--ease-soft);
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -22px rgba(30, 18, 10, 0.35);
}
.feature-mark {
  display: inline-block;
  color: var(--clay);
}
.feature-mark svg { width: 2.1rem; height: 2.1rem; }
.feature h3 { font-size: 1.3rem; margin-top: 0.7rem; }
.feature p { margin: 0; color: color-mix(in srgb, var(--ink) 76%, var(--muted)); font-size: 0.98rem; }

/* ---------- cta ---------- */

.cta {
  background: var(--clay);
  color: #FFF6EE;
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  width: 34rem; height: 34rem;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 246, 238, 0.25);
  top: -14rem; right: -10rem;
  animation: spin 60s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.cta-inner { text-align: center; position: relative; }
.cta-title {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  max-width: 22ch;
  margin-inline: auto;
}
.cta-sub { opacity: 0.88; margin-bottom: 2.2rem; }
.cta-note { margin-top: 1.1rem; font-size: 0.9rem; opacity: 0.75; }

/* ---------- footer ---------- */

.footer {
  background: var(--pine);
  color: rgba(242, 235, 223, 0.85);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer .wordmark { color: var(--cream-on-dark); }
.footer-brand p { color: rgba(242, 235, 223, 0.6); font-size: 0.95rem; }

.footer-col { display: grid; gap: 0.55rem; align-content: start; }
.footer-col h4 {
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242, 235, 223, 0.5);
}
.footer-col a {
  color: rgba(242, 235, 223, 0.85);
  text-decoration: none;
  font-size: 0.98rem;
}
.footer-col a:hover { color: var(--sage); }

.footer-fine {
  border-top: 1px solid rgba(242, 235, 223, 0.12);
  padding-top: 1.6rem;
  font-size: 0.85rem;
  color: rgba(242, 235, 223, 0.55);
}
.footer-disclaimer { max-width: 72ch; }

/* ---------- toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%) translateY(0.6rem);
  background: var(--pine);
  color: var(--cream-on-dark);
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 18px 40px -14px rgba(20, 10, 5, 0.5);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s var(--ease-soft);
  z-index: 80;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- reveal on scroll ----------
   hidden state only when JS is running (the <html class="js"> flag),
   so content stays visible with JS disabled */

.js .reveal {
  opacity: 0;
  transform: translateY(1.4rem);
  transition: opacity 0.7s var(--ease-soft), transform 0.7s var(--ease-soft);
}
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal:nth-child(2) { transition-delay: 0.08s; }
.js .reveal:nth-child(3) { transition-delay: 0.16s; }
.js .reveal:nth-child(4) { transition-delay: 0.24s; }
.js .reveal:nth-child(5) { transition-delay: 0.32s; }
.js .reveal:nth-child(6) { transition-delay: 0.4s; }

/* thoughts surface one by one as the thread draws past their level */
.js .thought {
  opacity: 0;
  transform: translateY(0.6rem);
  transition: opacity 0.9s var(--ease-soft), transform 0.9s var(--ease-soft);
}
.js .thread.in ~ .thought { opacity: 1; transform: none; }
.js .t1 { transition-delay: 0.45s; }
.js .t2 { transition-delay: 1.1s; }
.js .t3 { transition-delay: 1.7s; }
.js .t4 { transition-delay: 2.2s; }
.js .t5 { transition-delay: 2.7s; }
.js .t6 { transition-delay: 3.1s; }

/* keep the deliberate offsets once revealed */
.js .step.reveal { transform: translateY(2.6rem); }
.js .step.reveal.in:nth-child(1) { transform: translateY(0); }
.js .step.reveal.in:nth-child(2) { transform: translateY(1.1rem); }
.js .step.reveal.in:nth-child(3) { transform: translateY(2.2rem); }
.js .shift-before.reveal { transform: translateY(1.4rem) rotate(-1.2deg) scale(0.97); }
.js .shift-before.reveal.in { transform: rotate(-1.2deg) scale(0.97); }
.js .shift-after.reveal { transform: translateY(1.4rem) rotate(1deg) scale(1.04); }
.js .shift-after.reveal.in { transform: rotate(1deg) scale(1.04); }
.js .why-quote.reveal { transform: translateY(1.4rem) rotate(-1.5deg); }
.js .why-quote.reveal.in { transform: rotate(-1.5deg); }

/* ---------- legal pages ---------- */

.legal-main {
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 3rem) clamp(3rem, 7vw, 5rem);
}

.legal-main h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 460;
}

.legal-updated {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}

.legal-main h2 {
  font-size: 1.5rem;
  margin-top: 2.6rem;
}

.legal-main h3 { font-size: 1.15rem; margin-top: 1.8rem; }

.legal-main p, .legal-main li { color: color-mix(in srgb, var(--ink) 84%, var(--muted)); }
.legal-main ul { padding-left: 1.3rem; }
.legal-main li { margin: 0.4rem 0; }
.legal-main a { color: var(--clay); }

.legal-callout {
  background: var(--peach);
  border-radius: 1.1rem;
  padding: 1.2rem 1.4rem;
  font-size: 0.98rem;
}

/* ---------- responsive ---------- */

@media (max-width: 60rem) {
  .hero { grid-template-columns: 1fr; padding-top: 2rem; }
  .hero-visual { min-height: 0; margin-top: 1.5rem; }
  .float-chip { display: none; }
  .steps, .features-grid { grid-template-columns: 1fr; }
  .t6 { right: 63%; }
  .step:nth-child(2), .step:nth-child(3),
  .js .step.reveal.in:nth-child(2), .js .step.reveal.in:nth-child(3) { transform: none; }
  .why-grid, .demo-grid { grid-template-columns: 1fr; }
  .shift-grid { grid-template-columns: 1fr; }
  .shift-arrow span { display: inline-block; transform: rotate(90deg); }
  .shift-before, .shift-after,
  .js .shift-before.reveal.in, .js .shift-after.reveal.in { transform: none; }
  .js .shift-before.reveal, .js .shift-after.reveal { transform: translateY(1.4rem); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .desktop-br { display: none; }
}

@media (max-width: 26rem) {
  .footer-grid { grid-template-columns: 1fr; }
  .breather-ring { width: 12.5rem; height: 12.5rem; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .blob, .float-chip, .wordmark-dot, .cta::before { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .thread path { stroke-dashoffset: 0; transition: none; }
  .js .thought { opacity: 1; transform: none; transition: none; }
  .breather-circle { transition-duration: 0.6s; }
  .phone, .btn, .feature { transition: none; }
}
