:root {
  --ink: #15131a;
  --ink-soft: #403d48;
  --muted: #706b78;
  --line: rgba(22, 18, 31, 0.12);
  --line-strong: rgba(22, 18, 31, 0.2);
  --paper: #fffdfb;
  --paper-soft: #faf8ff;
  --surface: rgba(255, 255, 255, 0.76);
  --violet: #9857e8;
  --violet-dark: #7131c6;
  --violet-soft: #efe3ff;
  --brand: #ff4d33;
  --brand-bright: #ff6a54;
  --brand-dark: #e32e18;
  --brand-deep: #c42416;
  --brand-muted: #ff9b8a;
  --brand-glow: rgba(255, 77, 51, 0.32);
  --brand-soft: #ffe8e4;
  --peach: #f2a365;
  --peach-soft: #fff0e2;
  --mint: #78d6ae;
  --mint-soft: #e7fbf2;
  --blue: #70a8ef;
  --blue-soft: #eaf3ff;
  --danger: #ff5339;
  --hero: #08070b;
  --hero-soft: #121018;
  --hero-muted: rgba(239, 234, 247, 0.68);
  --max: 1160px;
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 34px;
  --shadow-sm: 0 8px 24px rgba(22, 18, 31, 0.08);
  --shadow: 0 22px 65px rgba(39, 24, 58, 0.12);
  --shadow-dark: 0 28px 80px rgba(0, 0, 0, 0.46);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--hero);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, sans-serif;
  line-height: 1.55;
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

button,
input {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(255, 77, 51, 0.55);
  outline-offset: 3px;
}

.skip-link {
  background: #fff;
  border-radius: 0 0 10px 0;
  color: #111;
  left: 0;
  padding: 10px 16px;
  position: fixed;
  top: -60px;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

.wrap {
  margin-inline: auto;
  width: min(var(--max), calc(100% - 48px));
}

.site-header {
  border-bottom: 1px solid transparent;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
  z-index: 50;
}

.site-header.scrolled,
.site-header.menu-visible {
  backdrop-filter: blur(22px) saturate(150%);
  background: rgba(8, 7, 11, 0.78);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.nav-shell {
  align-items: center;
  display: flex;
  gap: 22px;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  align-items: center;
  color: #fff;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 760;
  gap: 11px;
  letter-spacing: -0.025em;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  height: 40px;
  width: 40px;
}

.brand-mark img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 6px;
}

.nav-links > a:not(.button) {
  border-radius: 999px;
  color: rgba(246, 242, 251, 0.68);
  font-size: 0.88rem;
  font-weight: 620;
  padding: 9px 12px;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}

.nav-links > a:not(.button):hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.menu-toggle {
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #fff;
  display: none;
  height: 42px;
  justify-content: center;
  padding: 0;
  width: 42px;
}

.menu-toggle svg {
  height: 20px;
  width: 20px;
}

.button {
  align-items: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.93rem;
  font-weight: 760;
  gap: 9px;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(180deg, var(--brand-bright) 0%, var(--brand-dark) 100%);
  box-shadow: 0 12px 30px var(--brand-glow), inset 0 1px rgba(255, 255, 255, 0.26);
  color: #fff;
}

.button-primary:hover {
  box-shadow: 0 16px 38px rgba(255, 77, 51, 0.45), inset 0 1px rgba(255, 255, 255, 0.28);
}

.button-dark {
  background: var(--ink);
  box-shadow: 0 12px 28px rgba(21, 19, 26, 0.18);
  color: #fff;
}

.button-ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: #fff;
}

.button svg {
  flex: 0 0 auto;
  height: 18px;
  width: 18px;
}

.button-small {
  min-height: 42px;
  padding: 0 18px;
}

.app-store-badge {
  display: inline-flex;
  flex: 0 0 auto;
  line-height: 0;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.app-store-badge:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.app-store-badge img {
  display: block;
  height: 40px;
  width: auto;
}

.app-store-badge--small img {
  height: 32px;
}

.app-store-badge--hero img {
  height: 50px;
}

.hero-actions .app-store-badge,
.sidebar-cta .app-store-badge,
.article-callout .app-store-badge,
.article-cta .app-store-badge {
  align-self: center;
}

.nav-links .app-store-badge {
  margin-left: 4px;
}

.nav-cta {
  margin-left: 4px;
}

.hero {
  background-color: var(--hero);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(ellipse 72% 66% at 18% 15%, rgba(152, 87, 232, 0.22), transparent 64%),
    radial-gradient(ellipse 45% 50% at 88% 18%, rgba(242, 163, 101, 0.12), transparent 68%),
    radial-gradient(ellipse 52% 42% at 76% 100%, rgba(112, 168, 239, 0.11), transparent 68%);
  background-position: center top;
  background-size: 64px 64px, 64px 64px, 100% 100%, 100% 100%, 100% 100%;
  color: #fff;
  min-height: max(760px, 100svh);
  overflow: hidden;
  padding: 136px 0 88px;
  position: relative;
}

.hero::after {
  background: linear-gradient(180deg, transparent 0%, rgba(8, 7, 11, 0.25) 72%, #08070b 100%);
  bottom: 0;
  content: "";
  height: 220px;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
}

.hero-layout {
  align-items: center;
  display: grid;
  gap: clamp(44px, 6vw, 82px);
  grid-template-columns: minmax(0, 1.12fr) minmax(270px, 0.66fr);
  position: relative;
  z-index: 2;
}

.eyebrow {
  align-items: center;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  color: var(--brand-muted);
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 760;
  gap: 8px;
  letter-spacing: 0.08em;
  margin-bottom: 22px;
  padding: 7px 13px;
  text-transform: uppercase;
}

.eyebrow-dot {
  background: var(--brand);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(255, 77, 51, 0.12), 0 0 18px rgba(255, 77, 51, 0.58);
  height: 7px;
  width: 7px;
}

.hero h1 {
  font-size: clamp(2.6rem, 5.2vw, 5.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.98;
  margin: 0;
  max-width: 780px;
  text-wrap: balance;
}

.hero h1 .accent {
  background: linear-gradient(120deg, #fff 0%, #ffb0a0 42%, #f0b37f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 .hero-line,
.title-line {
  display: block;
}

.hero-lead {
  color: var(--hero-muted);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.6;
  margin: 26px 0 30px;
  max-width: 650px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-note {
  color: rgba(239, 234, 247, 0.52);
  font-size: 0.82rem;
  margin: 13px 0 0;
}

.hero-visual {
  min-height: 510px;
  position: relative;
}

.phone {
  background: linear-gradient(150deg, #24212c, #09090c);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 48px;
  box-shadow: var(--shadow-dark), 0 0 90px rgba(255, 77, 51, 0.14);
  margin-inline: auto;
  max-width: 275px;
  overflow: hidden;
  padding: 9px;
  position: relative;
  transform: rotate(2.5deg);
  z-index: 2;
}

.phone::before {
  background: #050507;
  border-radius: 0 0 17px 17px;
  content: "";
  height: 27px;
  left: 50%;
  position: absolute;
  top: 8px;
  transform: translateX(-50%);
  width: 108px;
  z-index: 3;
}

.phone img {
  border-radius: 40px;
  height: auto;
  width: 100%;
}

.floating-card {
  backdrop-filter: blur(18px) saturate(140%);
  background: rgba(24, 21, 31, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 15px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.33);
  color: #fff;
  padding: 12px 14px;
  position: absolute;
  z-index: 4;
}

.floating-card strong,
.floating-card span {
  display: block;
}

.floating-card strong {
  font-size: 0.84rem;
  margin-bottom: 3px;
}

.floating-card span {
  color: rgba(239, 234, 247, 0.62);
  font-size: 0.69rem;
}

.floating-card--streak {
  left: 2px;
  top: 82px;
  transform: rotate(-4deg);
}

.floating-card--urge {
  bottom: 58px;
  right: -6px;
  transform: rotate(3deg);
}

.floating-icon {
  align-items: center;
  background: var(--brand);
  border-radius: 10px;
  display: inline-flex !important;
  float: left;
  height: 28px;
  justify-content: center;
  margin-right: 10px;
  width: 28px;
}

.hero-proof {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 72px;
  padding-top: 22px;
  position: relative;
  z-index: 2;
}

.proof-row {
  align-items: center;
  color: rgba(239, 234, 247, 0.57);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.83rem;
  font-weight: 650;
  gap: 12px 28px;
  justify-content: center;
}

.proof-item {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

.proof-item svg {
  color: var(--brand-muted);
  height: 17px;
  width: 17px;
}

.section {
  overflow: hidden;
  padding: 110px 0;
  position: relative;
}

.section.article-body {
  overflow: visible;
}

.section-grid::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  content: "";
  inset: 0;
  mask-image: radial-gradient(ellipse 76% 70% at 50% 45%, #000 12%, transparent 78%);
  pointer-events: none;
  position: absolute;
}

.section-tint {
  background:
    radial-gradient(ellipse 70% 70% at 100% 0%, rgba(152, 87, 232, 0.18), transparent 65%),
    radial-gradient(ellipse 62% 65% at 0% 100%, rgba(242, 163, 101, 0.11), transparent 65%),
    #0d0b11;
  color: #fff;
}

.section-soft {
  background:
    radial-gradient(ellipse 60% 65% at 0% 20%, rgba(112, 168, 239, 0.14), transparent 67%),
    radial-gradient(ellipse 55% 60% at 100% 82%, rgba(120, 214, 174, 0.12), transparent 67%),
    #0a0910;
  color: #fff;
}

.section-dark {
  background:
    radial-gradient(ellipse 70% 75% at 0% 0%, rgba(152, 87, 232, 0.18), transparent 62%),
    radial-gradient(ellipse 52% 65% at 100% 100%, rgba(242, 163, 101, 0.11), transparent 62%),
    #0d0b11;
  color: #fff;
}

.section-head {
  margin: 0 auto 54px;
  max-width: 760px;
  position: relative;
  text-align: center;
  z-index: 1;
}

.section h2,
.article-page h1 {
  font-size: clamp(1.95rem, 3.5vw, 3.35rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}

.section-head > p {
  color: var(--hero-muted);
  font-size: 1.08rem;
  line-height: 1.65;
  margin: 20px auto 0;
  max-width: 650px;
}

.pain-layout {
  align-items: center;
  display: grid;
  gap: clamp(48px, 8vw, 100px);
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  position: relative;
  z-index: 1;
}

.home-pain {
  padding-block: 90px;
}

.pain-copy h2,
.split-copy h2 {
  font-size: clamp(1.9rem, 3.3vw, 3.15rem);
}

.pain-copy > p,
.split-copy > p {
  color: var(--hero-muted);
  font-size: 1.06rem;
  line-height: 1.75;
  margin: 22px 0 0;
}

.recognition-list {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.recognition-list li {
  align-items: center;
  display: flex;
  gap: 12px;
  font-weight: 650;
}

.recognition-list svg {
  background: rgba(255, 77, 51, 0.12);
  border-radius: 50%;
  color: var(--brand-muted);
  flex: 0 0 auto;
  height: 27px;
  padding: 6px;
  width: 27px;
}

.pain-visual {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 460px;
  position: relative;
}

.pain-visual--app {
  min-height: 470px;
}

.pain-visual--app::before {
  background: radial-gradient(circle, rgba(0, 122, 255, 0.2), rgba(152, 87, 232, 0.12) 42%, transparent 70%);
  content: "";
  filter: blur(18px);
  height: 420px;
  left: 50%;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 420px;
}

.urge-app-shot {
  animation: urge-app-float 7s ease-in-out infinite;
  filter: drop-shadow(0 30px 45px rgba(0, 0, 0, 0.44)) drop-shadow(0 0 30px rgba(0, 122, 255, 0.1));
  height: 455px;
  max-width: 100%;
  object-fit: contain;
  position: relative;
  width: auto;
  z-index: 1;
}

.feature-track {
  display: flex;
  flex-direction: column;
  margin-inline: auto;
  max-width: 780px;
  position: relative;
  z-index: 1;
}

.feature-paths {
  height: 100%;
  inset: 0;
  overflow: visible;
  pointer-events: none;
  position: absolute;
  width: 100%;
  z-index: 0;
}

.feature-path-shadow,
.feature-path-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-path-shadow {
  filter: url(#healing-path-glow);
  opacity: 0.18;
  stroke: url(#healing-path-gradient);
  stroke-width: 10;
}

.feature-path-line {
  animation: healing-path-flow 18s linear infinite;
  stroke: url(#healing-path-gradient);
  stroke-dasharray: 8 10;
  stroke-width: 2.5;
}

.feature-row {
  align-items: start;
  display: grid;
  flex: 0 0 285px;
  grid-template-columns: 44fr 12fr 44fr;
  min-height: 285px;
  position: relative;
  z-index: 1;
}

.feature-row--left .feature-card { grid-column: 1; }
.feature-row--right .feature-card { grid-column: 3; }

.feature-card {
  background: linear-gradient(145deg, rgba(31, 27, 40, 0.94), rgba(17, 15, 23, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 26px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  padding: 0 0 20px;
  position: relative;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card::after {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 68%);
  content: "";
  height: 180px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  right: -70px;
  top: -80px;
  transition: opacity 0.35s ease;
  width: 180px;
}

.feature-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 30px 75px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(-7px) scale(1.008);
}

.feature-card:hover::after { opacity: 1; }

.feature-media {
  background: transparent;
  border: 0;
  border-radius: 26px 26px 0 0;
  height: 174px;
  margin-bottom: 6px;
  overflow: hidden;
  position: relative;
}

.feature-card h3 {
  color: #fff;
  font-size: 1.14rem;
  font-weight: 720;
  letter-spacing: -0.025em;
  margin: 0;
  padding: 0 20px;
}

.feature-card > p {
  color: var(--hero-muted);
  font-size: 0.86rem;
  line-height: 1.62;
  margin: 7px 0 0;
  padding: 0 20px;
}

.feature-media--streak {
  align-items: center;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.streak-glow {
  animation: streak-pulse 4.5s ease-in-out infinite;
  background: conic-gradient(from 20deg, var(--brand), var(--peach), var(--violet), var(--brand));
  border-radius: 50%;
  filter: blur(18px);
  height: 112px;
  opacity: 0.24;
  position: absolute;
  top: 42px;
  width: 112px;
}

.streak-number { color: #fff; font-size: 3.35rem; font-weight: 750; letter-spacing: -0.08em; line-height: 0.95; margin-top: 5px; z-index: 1; }
.streak-days { color: rgba(255, 255, 255, 0.58); font-size: 0.67rem; margin-top: 5px; z-index: 1; }
.streak-week { display: flex; gap: 7px; margin-top: 16px; z-index: 1; }
.streak-week span { align-items: center; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; color: rgba(255,255,255,.34); display: flex; font-size: .5rem; height: 20px; justify-content: center; width: 20px; }
.streak-week .done { background: rgba(255,77,51,.15); border-color: rgba(255,106,84,.25); color: var(--brand-muted); }
.streak-week .today { background: var(--brand); border-color: var(--brand); box-shadow: 0 0 15px rgba(255,77,51,.5); color: #fff; }

.feature-media--chat { background: transparent; }
.chat-demo { display: grid; gap: 8px; padding: 35px 24px 58px; }
.bubble { border-radius: 15px; font-size: .63rem; line-height: 1.3; max-width: 79%; padding: 8px 10px; }
.bubble-out { background: linear-gradient(135deg, var(--brand), var(--brand-deep)); color: #fff; justify-self: end; }
.bubble-safe { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.08); color: rgba(239,234,247,.68); justify-self: start; }
.ghost-compose { align-items: center; background: transparent; bottom: 17px; display: flex; gap: 8px; left: 24px; position: absolute; right: 24px; z-index: 2; }
.ghost-compose > span { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.09); border-radius: 99px; color: rgba(255,255,255,.3); flex: 1; font-size: .55rem; padding: 7px 10px; }
.ghost-compose b { align-items: center; background: var(--brand); border-radius: 50%; color: #fff; display: flex; font-size: .72rem; height: 25px; justify-content: center; width: 25px; }

.feature-media--plan {
  background:
    radial-gradient(circle at 50% 42%, rgba(152, 87, 232, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent);
  isolation: isolate;
  overflow: hidden;
  padding: 0;
}

.feature-media--plan::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.09), transparent);
  content: "";
  filter: blur(12px);
  height: 1px;
  left: 12%;
  position: absolute;
  top: 49%;
  width: 76%;
  z-index: 5;
}

.plan-stack-glow {
  animation: plan-glow 6s ease-in-out infinite;
  background: linear-gradient(115deg, rgba(255, 77, 51, 0.28), rgba(152, 87, 232, 0.46), rgba(112, 168, 239, 0.2));
  border-radius: 50%;
  filter: blur(34px);
  height: 120px;
  left: 15%;
  opacity: 0.58;
  position: absolute;
  top: 25px;
  width: 70%;
  z-index: 0;
}

.plan-stack-card {
  align-items: center;
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  background: linear-gradient(135deg, rgba(43, 39, 54, 0.78), rgba(17, 15, 23, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.11);
  display: grid;
  gap: 10px;
  grid-template-columns: 32px minmax(0, 1fr);
  left: 8%;
  min-height: 60px;
  padding: 9px 12px;
  position: absolute;
  width: 84%;
}

.plan-stack-card > span:last-child {
  min-width: 0;
}

.plan-stack-card strong,
.plan-stack-card small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plan-stack-card strong {
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.plan-stack-card small {
  color: rgba(239, 234, 247, 0.5);
  font-size: 0.62rem;
  line-height: 1.35;
  margin-top: 3px;
}

.plan-stack-icon {
  align-items: center;
  color: rgba(255, 255, 255, 0.74);
  display: flex;
  font-size: 1.45rem;
  height: 34px;
  justify-content: center;
  line-height: 1;
  width: 34px;
}

.plan-stack-card--before {
  filter: blur(2px);
  opacity: 0.34;
  top: -25px;
  transform: scale(0.91);
  z-index: 1;
}

.plan-stack-card--focus {
  animation: plan-card-float 6s cubic-bezier(0.45, 0, 0.2, 1) infinite;
  background: linear-gradient(135deg, rgba(49, 43, 62, 0.9), rgba(19, 16, 27, 0.88));
  border: 1.5px solid rgba(177, 104, 255, 0.95);
  box-shadow: 0 0 0 1px rgba(152, 87, 232, 0.15), 0 18px 48px rgba(72, 22, 126, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  min-height: 72px;
  top: 30px;
  z-index: 4;
}

.plan-stack-card--focus strong {
  font-size: 0.86rem;
  overflow: visible;
  text-overflow: unset;
  white-space: normal;
}

.plan-stack-card--focus small {
  color: rgba(239, 234, 247, 0.62);
  font-size: 0.66rem;
  overflow: visible;
  text-overflow: unset;
  white-space: normal;
}

.plan-stack-card--after {
  filter: blur(0.55px);
  opacity: 0.72;
  top: 98px;
  transform: scale(0.94);
  z-index: 3;
}

.plan-stack-card--last {
  filter: blur(2px);
  opacity: 0.24;
  top: 158px;
  transform: scale(0.87);
  z-index: 2;
}

.feature-media--sos {
  align-items: center;
  align-content: center;
  background: radial-gradient(circle at 50% 46%, rgba(255, 77, 51, 0.18), transparent 55%);
  display: grid;
  gap: 15px;
  grid-template-columns: 74px minmax(0, 1fr);
  padding: 18px 20px 20px;
}

.feature-card--sos .feature-media {
  height: auto;
  min-height: 200px;
}

.sos-badge {
  align-items: center;
  background: linear-gradient(145deg, #ff735f, #d82d1c);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 23px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.35), 0 18px 36px rgba(216, 45, 28, 0.32);
  color: #fff;
  display: flex;
  font-size: 1rem;
  font-style: italic;
  font-weight: 900;
  height: 74px;
  justify-content: center;
  transform: rotate(-4deg);
}

.sos-actions {
  display: grid;
  gap: 8px;
}

.sos-actions .sos-action {
  align-items: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.88);
  display: flex;
  font-size: 0.72rem;
  font-weight: 680;
  gap: 9px;
  padding: 9px 10px;
}

.sos-emoji {
  background: transparent;
  border: 0;
  box-shadow: none;
  display: block;
  flex: 0 0 auto;
  font-size: 1.65rem;
  line-height: 1;
  padding: 0;
}

.feature-media--habits {
  background: radial-gradient(circle at 20% 25%, rgba(120, 214, 174, 0.14), transparent 52%);
  display: grid;
  gap: 9px;
  padding: 22px 24px;
}

.habit-item {
  align-items: center;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.82);
  display: grid;
  font-size: 0.76rem;
  gap: 12px;
  grid-template-columns: 1.35rem 1fr;
  padding: 10px 12px;
}

.habit-emoji {
  display: flex;
  flex: 0 0 auto;
  font-size: 1.05rem;
  line-height: 1;
}

.habit-item.done {
  opacity: 0.72;
}

.habit-item.active {
  background: linear-gradient(105deg, rgba(152, 87, 232, 0.18), rgba(255, 255, 255, 0.05));
  border-color: rgba(152, 87, 232, 0.34);
  box-shadow: 0 12px 28px rgba(113, 49, 198, 0.16);
  color: #fff;
}

.feature-media--life {
  align-items: center;
  background: radial-gradient(circle at center, rgba(112, 168, 239, 0.16), transparent 58%);
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.feature-media--life::before,
.feature-media--life::after {
  border: 1px solid rgba(152, 87, 232, 0.13);
  border-radius: 50%;
  content: "";
  height: 116px;
  position: absolute;
  width: 116px;
}

.feature-media--life::after {
  height: 165px;
  opacity: 0.48;
  width: 165px;
}

.life-center {
  align-items: center;
  animation: life-float 5s ease-in-out infinite;
  background: linear-gradient(145deg, rgba(177, 104, 255, 0.96), rgba(91, 57, 185, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(152, 87, 232, 0.08), 0 18px 38px rgba(72, 22, 126, 0.35);
  color: #fff;
  display: flex;
  font-size: 0.8rem;
  font-weight: 820;
  height: 66px;
  justify-content: center;
  position: relative;
  width: 66px;
  z-index: 2;
}

.life-chip {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(28, 25, 37, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.67rem;
  font-weight: 720;
  padding: 7px 10px;
  position: absolute;
  z-index: 3;
}

.life-chip--friends { left: 18%; top: 20px; }
.life-chip--sleep { right: 14%; top: 53px; }
.life-chip--goals { bottom: 18px; left: 22%; }

.home-steps {
  padding-block: 92px;
}

.home-steps .section-head {
  margin-bottom: 42px;
}

@keyframes healing-path-flow { to { stroke-dashoffset: -180; } }
@keyframes plan-card-float { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-4px) scale(1.008); } }
@keyframes plan-glow { 0%, 100% { opacity: .42; transform: scale(.94); } 50% { opacity: .66; transform: scale(1.07); } }
@keyframes urge-app-float { 0%, 100% { transform: translateY(0) rotate(-.3deg); } 50% { transform: translateY(-8px) rotate(.3deg); } }
@keyframes life-float { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-4px) scale(1.025); } }
@keyframes progress-ring-draw { from { stroke-dasharray: 0 100; } to { stroke-dasharray: 60 100; } }

.steps {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  position: relative;
  z-index: 1;
}

.step {
  background: rgba(24, 21, 31, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
  padding: 26px;
}

.step-number {
  align-items: center;
  background: var(--ink);
  border-radius: 12px;
  color: #fff;
  display: flex;
  font-size: 0.78rem;
  font-weight: 820;
  height: 38px;
  justify-content: center;
  margin-bottom: 24px;
  width: 38px;
}

.step h3 {
  font-size: 1.16rem;
  margin: 0 0 9px;
}

.step p {
  color: var(--hero-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}

.steps-cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

.split {
  align-items: center;
  display: grid;
  gap: clamp(48px, 8vw, 100px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  position: relative;
  z-index: 1;
}

.check-list {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
}

.check-list li {
  align-items: flex-start;
  display: flex;
  gap: 12px;
}

.check {
  align-items: center;
  background: rgba(120, 214, 174, 0.15);
  border-radius: 50%;
  color: #78d6ae;
  display: flex;
  flex: 0 0 auto;
  height: 25px;
  justify-content: center;
  margin-top: 1px;
  width: 25px;
}

.check svg {
  height: 15px;
  width: 15px;
}

.progress-board {
  background: linear-gradient(145deg, rgba(31, 27, 40, 0.94), rgba(17, 15, 23, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 30px;
  box-shadow: var(--shadow-dark);
  padding: 24px;
}

.progress-overview {
  align-items: center;
  display: grid;
  gap: 20px;
  grid-template-columns: 118px minmax(0, 1fr);
}

.progress-ring {
  height: 118px;
  position: relative;
  width: 118px;
}

.progress-ring svg {
  height: 100%;
  overflow: visible;
  transform: rotate(-90deg);
  width: 100%;
}

.progress-ring circle {
  fill: none;
  stroke-linecap: round;
  stroke-width: 10;
}

.progress-ring-track {
  stroke: rgba(255, 255, 255, 0.075);
}

.progress-ring-value {
  animation: progress-ring-draw 1.5s cubic-bezier(0.16, 1, 0.3, 1) both;
  filter: drop-shadow(0 0 8px rgba(255, 77, 51, 0.38));
  stroke: var(--brand);
  stroke-dasharray: 60 100;
}

.progress-ring-label {
  align-items: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  inset: 0;
  justify-content: center;
  position: absolute;
}

.progress-ring-label strong {
  font-size: 2rem;
  font-weight: 760;
  letter-spacing: -0.07em;
  line-height: 0.95;
}

.progress-ring-label small {
  color: var(--hero-muted);
  font-size: 0.72rem;
  font-weight: 700;
  margin-top: 6px;
}

.day-grid {
  display: grid;
  gap: 4px;
  grid-auto-flow: column;
  grid-template-columns: repeat(13, minmax(0, 1fr));
  grid-template-rows: repeat(7, auto);
}

.day {
  aspect-ratio: 1;
  border: 1px solid transparent;
  border-radius: 3px;
  min-width: 0;
}

.day--strong { background: #22c55e; }
.day--urge { background: #eab308; }
.day--contact { background: #ef4444; }
.day--empty { background: rgba(55, 65, 81, 0.25); }

.day.today {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.progress-legend {
  align-items: center;
  color: var(--hero-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.64rem;
  gap: 8px 13px;
  justify-content: center;
  margin-top: 18px;
}

.progress-legend span {
  align-items: center;
  display: inline-flex;
  gap: 5px;
}

.progress-legend i { border-radius: 2px; height: 9px; width: 9px; }
.legend-strong { background: #22c55e; }
.legend-urge { background: #eab308; }
.legend-contact { background: #ef4444; }
.legend-empty { background: rgba(55, 65, 81, 0.45); }

.faq-list {
  display: grid;
  gap: 12px;
  margin: 0 auto;
  max-width: 840px;
  position: relative;
  z-index: 1;
}

.faq-item {
  background: rgba(24, 21, 31, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  font-size: 1rem;
  font-weight: 740;
  list-style: none;
  padding: 20px 56px 20px 22px;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  color: var(--brand-muted);
  content: "+";
  font-size: 1.45rem;
  font-weight: 500;
  position: absolute;
  right: 22px;
  top: 14px;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  color: var(--hero-muted);
  line-height: 1.72;
  padding: 0 22px 22px;
}

.faq-answer p {
  margin: 0;
}

.cta-band {
  align-items: stretch;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(ellipse 70% 100% at 0% 0%, rgba(152, 87, 232, 0.3), transparent 65%),
    radial-gradient(ellipse 58% 90% at 100% 100%, rgba(242, 163, 101, 0.18), transparent 62%),
    #0d0b11;
  background-size: 48px 48px, 48px 48px, 100% 100%, 100% 100%, 100% 100%;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-dark);
  color: #fff;
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  grid-template-columns: minmax(0, 1.05fr) minmax(220px, 0.82fr);
  overflow: hidden;
  padding: clamp(34px, 6vw, 70px);
  position: relative;
  z-index: 1;
}

.cta-band-copy {
  align-self: center;
  z-index: 2;
}

.cta-band h2 {
  font-size: clamp(1.85rem, 3.3vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  max-width: 700px;
}

.cta-band p {
  color: var(--hero-muted);
  font-size: 1.04rem;
  margin: 17px 0 0;
  max-width: 600px;
}

.cta-band-actions {
  margin-top: 24px;
}

.cta-band-button {
  align-self: flex-start;
}

.cta-band-visual {
  align-self: stretch;
  min-height: clamp(280px, 40vw, 400px);
  pointer-events: none;
}

.cta-band-phone {
  bottom: 25%;
  margin: 0;
  max-width: 320px;
  position: absolute;
  right: clamp(34px, 6vw, 70px);
  top: auto;
  transform: rotate(2.5deg);
  transform-origin: bottom center;
  width: min(42%, 320px);
}

.site-footer {
  background: #08070b;
  color: rgba(239, 234, 247, 0.66);
  padding: 72px 0 32px;
}

.footer-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1.4fr repeat(3, minmax(120px, 0.7fr));
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 18px 0 0;
  max-width: 340px;
}

.footer-col h2 {
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  margin: 9px 0;
  text-decoration: none;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  font-size: 0.78rem;
  gap: 18px;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 24px;
}

.article-hero {
  background-color: var(--hero);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(ellipse 72% 70% at 50% 0%, rgba(152, 87, 232, 0.2), transparent 64%);
  background-size: 64px 64px, 64px 64px, 100% 100%;
  color: #fff;
  padding: 144px 0 82px;
}

.article-hero-layout {
  display: block;
  max-width: 860px;
}

.article-hero-copy {
  min-width: 0;
}

.article-page h1 {
  max-width: 900px;
}

.article-intro {
  color: var(--hero-muted);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  line-height: 1.65;
  margin: 24px 0 0;
  max-width: 780px;
}

.article-byline {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 30px;
}

.article-author {
  align-items: center;
  display: flex;
  gap: 11px;
}

.article-author img {
  background: #1d1822;
  border: 1px solid rgba(255, 106, 84, 0.3);
  border-radius: 50%;
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.25);
  height: 48px;
  image-rendering: -webkit-optimize-contrast;
  object-fit: cover;
  width: 48px;
}

.article-author strong,
.article-author small {
  display: block;
}

.article-author strong {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.84rem;
  font-weight: 720;
}

.article-author small {
  color: rgba(239, 234, 247, 0.48);
  font-size: 0.7rem;
  margin-top: 1px;
}

.article-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-meta > span {
  align-items: center;
  backdrop-filter: blur(12px);
  background: rgba(255, 77, 51, 0.075);
  border: 1px solid rgba(255, 106, 84, 0.14);
  border-radius: 999px;
  color: var(--brand-muted);
  display: inline-flex;
  gap: 7px;
  min-height: 34px;
  padding: 0 11px;
}

.article-meta svg {
  height: 14px;
  width: 14px;
}

.article-meta b {
  color: rgba(239, 234, 247, 0.68);
  font-size: 0.7rem;
  font-weight: 650;
}

.article-layout {
  align-items: start;
  display: grid;
  gap: clamp(36px, 5vw, 64px);
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  padding-bottom: 0;
  padding-top: 0;
}

.section .article-layout {
  color: #fff;
}

.article-content {
  min-width: 0;
}

.article-featured {
  background:
    linear-gradient(145deg, rgba(255, 77, 51, 0.18), rgba(152, 87, 232, 0.12)),
    rgba(24, 21, 31, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
  margin: 0 0 42px;
  overflow: hidden;
  position: relative;
}

.article-featured img {
  aspect-ratio: 16 / 9;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.article-content > section:first-of-type h2 {
  margin-top: 8px;
}

.article-callout {
  background: rgba(255, 77, 51, 0.08);
  border: 1px solid rgba(255, 77, 51, 0.18);
  border-radius: 22px;
  color: #fff;
  margin-bottom: 38px;
  padding: 24px;
}

.article-callout strong {
  color: var(--brand-muted);
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.article-callout p {
  color: var(--hero-muted);
  line-height: 1.7;
  margin: 0;
}

.article-cta {
  align-items: center;
  background:
    radial-gradient(ellipse 70% 80% at 100% 20%, rgba(255, 77, 51, 0.12), transparent 55%),
    rgba(18, 16, 24, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  color: #fff;
  display: grid;
  gap: clamp(20px, 4vw, 40px);
  grid-template-columns: minmax(0, 1fr) minmax(160px, 210px);
  margin-top: 56px;
  overflow: hidden;
  padding: clamp(24px, 3.5vw, 32px) clamp(24px, 3.5vw, 32px) 0;
  position: relative;
}

.article-cta-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  padding-bottom: clamp(24px, 3.5vw, 32px);
  position: relative;
  z-index: 1;
}

.article-cta h2 {
  color: #fff;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 720;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0;
  max-width: 22ch;
}

.article-cta-button {
  align-self: start;
  min-height: 52px;
  width: auto;
}

.article-cta-note {
  color: rgba(239, 234, 247, 0.45);
  font-size: 0.78rem;
  line-height: 1.4;
  margin: 0;
}

.article-cta-visual {
  align-self: end;
  justify-self: end;
  position: relative;
  width: min(100%, 210px);
}

.article-cta-phone {
  margin-inline: 0;
  max-width: 210px;
  transform: rotate(0deg) translateY(18px);
  width: 100%;
}

.article-cta-phone::before {
  height: 18px;
  top: 6px;
  width: 72px;
}

.article-cta-phone img {
  border-radius: 28px;
}

.article-content h2 {
  color: #fff;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 56px 0 18px;
}

.article-content .article-cta h2 {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 720;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0;
  max-width: 22ch;
}

.article-content h3 {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 34px 0 10px;
}

.article-content section[id],
.article-content h3[id] {
  scroll-margin-top: 104px;
}

.article-content p,
.article-content li {
  color: var(--hero-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.article-content .article-cta-note {
  color: rgba(239, 234, 247, 0.45);
  font-size: 0.78rem;
  line-height: 1.4;
  margin: 0;
}

.article-content p {
  margin: 0 0 20px;
}

.article-content ul,
.article-content ol {
  margin: 0 0 24px;
  padding-left: 24px;
}

.article-content li + li {
  margin-top: 9px;
}

.article-content li:has(> .article-task) {
  list-style: none;
  margin-left: -1.4em;
}

.article-task {
  align-items: flex-start;
  display: flex;
  gap: 12px;
}

.article-task-box {
  align-items: center;
  border: 1px solid rgba(255, 106, 84, 0.46);
  border-radius: 6px;
  color: var(--brand-muted);
  display: inline-flex;
  flex: 0 0 20px;
  font-size: 0.78rem;
  height: 20px;
  justify-content: center;
  margin-top: 5px;
}

.article-table-wrap {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  margin: 10px 0 32px;
  overflow-x: auto;
}

.article-table-wrap table {
  border-collapse: collapse;
  color: var(--hero-muted);
  font-family: inherit;
  font-size: 0.94rem;
  line-height: 1.55;
  min-width: 680px;
  width: 100%;
}

.article-table-wrap th,
.article-table-wrap td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: inherit;
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}

.article-table-wrap th {
  background: rgba(255, 77, 51, 0.1);
  color: #fff;
  font-weight: 700;
}

.article-table-wrap tbody tr:last-child td {
  border-bottom: 0;
}

.article-content a:not(.button) {
  color: var(--brand-muted);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article-content .faq-list {
  margin-top: 26px;
}

.article-content .faq-item {
  background: rgba(24, 21, 31, 0.78);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}

.article-content .faq-answer {
  color: var(--hero-muted);
}

.article-content .faq-item summary::after {
  color: var(--brand-muted);
}

.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: calc(100vh - 112px);
  max-height: calc(100svh - 112px);
  overflow: hidden;
  position: sticky;
  top: 96px;
}

.toc {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #fff;
  display: flex;
  flex: 0 1 auto;
  flex-direction: column;
  max-height: calc(100vh - 112px - 220px);
  max-height: calc(100svh - 112px - 220px);
  min-height: 0;
  overflow: hidden;
  padding: 0;
}

.toc h2 {
  color: var(--brand-muted);
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.14em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.toc-links {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.toc a {
  border-left: 2px solid transparent;
  border-radius: 0;
  color: rgba(239, 234, 247, 0.72);
  display: block;
  font-size: 1rem;
  font-weight: 520;
  letter-spacing: -0.015em;
  line-height: 1.45;
  margin: 0;
  padding: 10px 4px 10px 14px;
  text-decoration: none;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
  width: 100%;
}

.toc a.toc-link--level-2 {
  max-width: none;
}

.toc a.toc-link--level-3 {
  font-size: 0.88rem;
  font-weight: 450;
  padding-left: 42px;
  position: relative;
}

.toc a.toc-link--level-3::before {
  background: rgba(239, 234, 247, 0.28);
  border-radius: 50%;
  content: "";
  height: 4px;
  left: 24px;
  position: absolute;
  top: 18px;
  width: 4px;
}

.toc a:hover {
  color: #fff;
}

.toc a.is-active,
.toc a.is-active:hover {
  background: transparent;
  border-left-color: var(--brand-bright);
  color: #fff;
  font-weight: 620;
}

.toc a.is-active::before {
  background: var(--brand-bright);
}

.toc a:focus-visible {
  outline: 2px solid var(--brand-muted);
  outline-offset: 2px;
}

.sidebar-cta {
  background:
    radial-gradient(ellipse 90% 80% at 100% 0%, rgba(255, 77, 51, 0.14), transparent 55%),
    rgba(24, 21, 31, 0.78);
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  color: #fff;
  display: grid;
  flex: 0 0 auto;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) 72px;
  overflow: hidden;
  padding: 18px 16px 18px 18px;
}

.sidebar-cta-copy {
  min-width: 0;
}

.sidebar-cta h2 {
  color: #fff;
  font-size: 0.98rem;
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin: 0;
  text-transform: none;
}

.sidebar-cta-heading {
  align-items: center;
  display: flex;
  gap: 11px;
  margin-bottom: 10px;
}

.sidebar-cta-icon {
  display: block;
  flex: 0 0 auto;
  height: 40px;
  width: 40px;
}

.sidebar-cta-icon img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.sidebar-cta p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.8rem;
  line-height: 1.4;
  margin: 0 0 14px;
}

.sidebar-cta-button {
  min-height: 42px;
  padding: 0 14px;
  width: 100%;
}

.sidebar-cta-visual {
  align-self: center;
  width: 72px;
}

.sidebar-cta-phone {
  border-radius: 18px;
  margin-inline: 0;
  max-width: 72px;
  padding: 3px;
  transform: none;
  width: 100%;
}

.sidebar-cta-phone::before {
  border-radius: 0 0 8px 8px;
  height: 8px;
  top: 3px;
  width: 28px;
}

.sidebar-cta-phone img {
  border-radius: 15px;
}

.resource-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  position: relative;
  z-index: 1;
}

.resource-card {
  background: rgba(24, 21, 31, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  min-height: 280px;
  overflow: hidden;
  padding: 0;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.resource-card:hover {
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.38);
  transform: translateY(-3px);
}

.resource-card-media {
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(145deg, rgba(255, 77, 51, 0.22), rgba(152, 87, 232, 0.16)),
    rgba(18, 16, 24, 0.95);
  display: block;
  overflow: hidden;
  width: 100%;
}

.resource-card-media img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.resource-card:hover .resource-card-media img {
  transform: scale(1.03);
}

.resource-card h3,
.resource-card p,
.resource-card strong {
  padding-left: 24px;
  padding-right: 24px;
}

.resource-card h3 {
  font-size: 1.14rem;
  font-weight: 700;
  margin: 20px 0 9px;
}

.resource-card p {
  color: var(--hero-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
}

.resource-card strong {
  color: #fff;
  font-size: 0.88rem;
  margin-top: auto;
  padding-bottom: 24px;
  padding-top: 22px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .nav-links {
    align-items: stretch;
    background: rgba(10, 9, 14, 0.97);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: none;
    flex-direction: column;
    left: 0;
    padding: 18px 24px 28px;
    position: absolute;
    right: 0;
    top: 72px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links > a:not(.button) {
    padding: 12px;
  }

  .nav-links .button {
    margin-top: 8px;
    width: 100%;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-layout,
  .pain-layout,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    margin-inline: auto;
    max-width: 470px;
    width: 100%;
  }

  .pain-copy,
  .split-copy {
    text-align: center;
  }

  .recognition-list,
  .check-list {
    text-align: left;
  }

  .feature-paths { display: none; }

  .feature-track {
    gap: 18px;
    max-width: 500px;
  }

  .feature-track::before {
    background: linear-gradient(var(--brand), var(--violet), var(--mint));
    border-radius: 99px;
    bottom: 30px;
    content: "";
    left: 18px;
    opacity: 0.22;
    position: absolute;
    top: 30px;
    width: 2px;
  }

  .feature-row {
    display: block;
    flex: none;
    min-height: 0;
    padding-left: 38px;
  }

  .feature-row--left .feature-card,
  .feature-row--right .feature-card {
    grid-column: auto;
  }

  .feature-row::before {
    background: #17131e;
    border: 2px solid var(--violet);
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(152,87,232,.1);
    content: "";
    height: 10px;
    left: 13px;
    position: absolute;
    top: 28px;
    width: 10px;
  }

  .steps,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-featured {
    margin-bottom: 28px;
  }

  .article-sidebar {
    display: none;
  }

  .article-cta {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 44px;
    padding: 24px 24px 0;
    text-align: center;
  }

  .article-cta-copy {
    align-items: center;
    padding-bottom: 8px;
  }

  .article-cta h2,
  .article-content .article-cta h2 {
    max-width: 22ch;
  }

  .article-cta-button {
    align-self: center;
    width: min(100%, 320px);
  }

  .article-cta-visual {
    justify-self: center;
    width: min(100%, 190px);
  }

  .article-cta-phone {
    max-width: 190px;
    transform: translateY(16px);
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .wrap {
    width: min(var(--max), calc(100% - 32px));
  }

  .nav-shell {
    min-height: 64px;
  }

  .nav-links {
    top: 64px;
  }

  .hero {
    min-height: auto;
    padding: 112px 0 64px;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 10.5vw, 3.15rem);
    letter-spacing: -0.025em;
  }

  .hero-actions {
    align-items: center;
    flex-direction: column;
  }

  .hero-actions .button {
    min-width: 220px;
  }

  .hero-note {
    margin-inline: auto;
    max-width: 300px;
  }

  .hero-visual {
    min-height: 440px;
  }

  .phone {
    max-width: 220px;
  }

  .floating-card--streak {
    left: 0;
    top: 54px;
  }

  .floating-card--urge {
    bottom: 34px;
    right: 0;
  }

  .hero-proof {
    margin-top: 44px;
  }

  .proof-row {
    align-items: flex-start;
    flex-direction: column;
    padding-left: 18px;
  }

  .section {
    padding: 78px 0;
  }

  .home-pain,
  .home-steps {
    padding-block: 66px;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .pain-visual {
    min-height: 360px;
  }

  .pain-visual--app {
    min-height: 390px;
  }

  .urge-app-shot {
    height: 380px;
  }

  .feature-media {
    height: 174px;
  }

  .feature-card--sos .feature-media {
    height: auto;
    min-height: 200px;
  }

  .progress-board {
    padding: 18px;
  }

  .progress-overview {
    gap: 14px;
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .progress-ring {
    height: 96px;
    width: 96px;
  }

  .progress-ring-label strong {
    font-size: 1.65rem;
  }

  .day-grid {
    gap: 3px;
  }

  .progress-legend {
    font-size: 0.57rem;
    gap: 7px 10px;
  }

  .cta-band {
    grid-template-columns: 1fr;
  }

  .cta-band-visual {
    min-height: 260px;
  }

  .cta-band-phone {
    bottom: 25%;
    left: 50%;
    max-width: 280px;
    right: auto;
    top: auto;
    transform: rotate(2.5deg) translateX(-50%);
    transform-origin: bottom center;
    width: min(72%, 280px);
  }

  .cta-band-button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .article-hero {
    padding: 112px 0 64px;
  }

  .article-byline {
    align-items: flex-start;
    flex-direction: column;
  }

  .article-meta {
    gap: 7px;
  }

  .article-layout {
    padding-top: 48px;
  }

  .article-featured {
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

.footer-link-button {
  appearance: none;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-align: left;
}

.analytics-consent-backdrop {
  bottom: 0;
  display: flex;
  justify-content: center;
  left: 0;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
  pointer-events: none;
  position: fixed;
  right: 0;
  z-index: 1000;
}

.analytics-consent {
  animation: analytics-consent-enter 180ms ease-out;
  align-items: center;
  background: rgba(18, 16, 24, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.52);
  color: #fff;
  display: grid;
  font-family: inherit;
  gap: 26px;
  grid-template-columns: minmax(0, 1fr) auto;
  max-width: 1160px;
  min-width: 0;
  padding: 22px 24px;
  pointer-events: auto;
  width: 100%;
}

.analytics-consent-copy { min-width: 0; }
.analytics-consent-copy strong { display: block; font-size: 20px; line-height: 1.25; }
.analytics-consent-copy p { color: var(--hero-muted); font-size: 15px; line-height: 1.5; margin: 7px 0 0; overflow-wrap: anywhere; }
.analytics-consent-copy a { color: #fff; font-weight: 750; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.analytics-consent-actions { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.analytics-consent-actions button { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px; color: #fff; cursor: pointer; font: inherit; font-size: 14px; font-weight: 800; min-height: 48px; min-width: 120px; padding: 9px 20px; transition: background 160ms ease, border-color 160ms ease, transform 160ms ease; white-space: nowrap; }
.analytics-consent-actions button:hover { background: rgba(255, 77, 51, 0.14); border-color: rgba(255, 77, 51, 0.42); transform: translateY(-1px); }
.analytics-consent-actions button:focus-visible { outline: 3px solid rgba(255, 77, 51, 0.42); outline-offset: 2px; }

@keyframes analytics-consent-enter {
  from { opacity: 0; transform: translateY(10px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 680px) {
  .analytics-consent-backdrop { padding: 0 0 calc(8px + env(safe-area-inset-bottom)); }
  .analytics-consent { gap: 16px; grid-template-columns: 1fr; max-width: calc(100vw - 16px); padding: 18px; width: calc(100vw - 16px); }
  .analytics-consent-copy strong { font-size: 19px; }
  .analytics-consent-copy p { font-size: 14px; margin-top: 6px; }
  .analytics-consent-actions { width: 100%; }
  .analytics-consent-actions button { min-width: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .analytics-consent { animation: none; }
}
