/* moodu.ai marketing site. Brand from the Moodu guidelines: blue #22284a, coral #fe7062, light gray #f9f9f9,
   dark gray #adadad; the app's deep navy background; Nunito (the app's font, standing in for Newake/Nexa).
   Built phone first: every block is laid out for a 390px screen, then widened. The blog is light. */
@font-face { font-family: Nunito; src: url(/fonts/Nunito_400Regular.ttf) format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Nunito; src: url(/fonts/Nunito_700Bold.ttf) format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: Nunito; src: url(/fonts/Nunito_800ExtraBold.ttf) format('truetype'); font-weight: 800; font-display: swap; }

:root {
  --bg: #1e1b3a;
  --bg-deep: #17152f;
  --surface: #2c3057;
  --surface-2: #363b61;
  --brand: #22284a;
  --coral: #fe7062;
  --coral-hover: #ff8578;
  --peri: #6c74e6;
  --green: #3bb273;
  --text: #f9f9f9;
  --dim: #c4c6dc;
  --muted: #8a8fb0;
  --line: rgba(249, 249, 249, 0.09);
  --radius: 22px;
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: Nunito, ui-rounded, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 14px; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.015em; }
h1 { font-size: clamp(38px, 6vw, 66px); line-height: 1.04; }
h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; }
h3 { font-size: 21px; line-height: 1.25; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.dim { color: var(--dim); }
.muted { color: var(--muted); }
.accent { color: var(--coral); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--dim); max-width: 600px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 50; background: var(--coral); color: #fff; padding: 8px 14px; border-radius: 10px; }

/* small label pill above every section heading */
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px 6px 10px; border-radius: 999px; background: rgba(254, 112, 98, 0.1); border: 1px solid rgba(254, 112, 98, 0.28); color: #ffb3aa; font-weight: 800; font-size: 13.5px; margin-bottom: 18px; }
.pill svg { color: var(--coral); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 0 28px;
  border-radius: 999px; background: var(--coral); color: #fff; font-weight: 800; font-size: 17px; border: 0; cursor: pointer;
  transition: background .15s, transform .15s, box-shadow .15s; box-shadow: 0 10px 30px rgba(254, 112, 98, 0.25);
}
.btn:hover { background: var(--coral-hover); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 2px var(--surface-2); }
.btn.ghost:hover { box-shadow: inset 0 0 0 2px var(--muted); }
.btn.small { min-height: 40px; padding: 0 18px; font-size: 15px; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center .btn-row { justify-content: center; }
.fine { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* announcement bar */
.topbar { display: block; background: var(--coral); color: #fff; text-align: center; font-weight: 800; font-size: 14px; padding: 8px 16px; }
.topbar span { opacity: .85; font-weight: 700; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(30, 27, 58, 0.88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 12px; height: 64px; }
.logo img { width: 104px; height: auto; }
.nav { display: none; gap: 26px; margin-left: 14px; font-weight: 700; font-size: 16px; color: var(--dim); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.signin { display: none; font-weight: 700; font-size: 16px; color: var(--dim); }
.signin:hover { color: var(--text); }
.menu-btn { display: block; background: none; border: 0; color: var(--text); padding: 8px; margin-right: -8px; cursor: pointer; }
.mobile-nav { display: none; border-top: 1px solid var(--line); padding: 8px 16px 18px; }
.mobile-nav.open { display: grid; }
.mobile-nav a { padding: 12px 0; font-weight: 800; font-size: 18px; color: var(--dim); border-bottom: 1px solid var(--line); }
.mobile-nav a:last-child { border-bottom: 0; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 40px 0 24px; }
.hero .wrap { position: relative; display: grid; gap: 34px; }
.hero-copy { text-align: center; }
.hero-copy .lead { margin: 18px auto 26px; }
.hero-copy .btn-row { justify-content: center; }
.hero-copy .btn { width: 100%; }
.trust { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; font-size: 14px; color: var(--dim); font-weight: 700; }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { color: var(--coral); flex: none; }

/* three app screens, fanned */
.trio { position: relative; height: 470px; margin: 0 -16px; overflow: hidden; }
.trio .phone { position: absolute; left: 50%; top: 10px; width: 210px; }
.trio .p-center { transform: translateX(-50%); z-index: 3; }
.trio .p-left { transform: translateX(-118%) translateY(36px) rotate(-7deg) scale(.86); z-index: 2; }
.trio .p-right { transform: translateX(18%) translateY(36px) rotate(7deg) scale(.86); z-index: 2; }

/* phone frame */
.phone { position: relative; aspect-ratio: 390 / 844; padding: 8px; border-radius: 40px; background: #0e0d22; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), inset 0 0 0 2px #2d2b55; }
.phone > img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 32px; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: #1e1b3a; container-type: inline-size; }

/* real screenshots that change state: crossfade between two captures, with a tap */
.flip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.flip .b { opacity: 0; animation: flipB 7s ease-in-out infinite; }
@keyframes flipB { 0%, 42% { opacity: 0; } 48%, 92% { opacity: 1; } 97%, 100% { opacity: 0; } }
.tap { position: absolute; width: 12cqw; aspect-ratio: 1; margin: -6cqw 0 0 -6cqw; border-radius: 50%; background: rgba(255, 255, 255, .55); box-shadow: 0 0 0 0 rgba(255, 255, 255, .5); opacity: 0; animation: tap 7s ease-out infinite; z-index: 2; }
@keyframes tap { 0%, 34% { opacity: 0; transform: scale(1.3); } 38% { opacity: 1; transform: scale(1); } 44% { opacity: .9; transform: scale(.85); box-shadow: 0 0 0 0 rgba(255, 255, 255, .45); } 52% { opacity: 0; transform: scale(1); box-shadow: 0 0 0 7cqw rgba(255, 255, 255, 0); } 100% { opacity: 0; } }

/* the chat screen, rebuilt in HTML from the real app so the reply can stream in */
.chat-ui { display: flex; flex-direction: column; height: 100%; color: #f9f9f9; }
/* cqw only resolves against an ancestor container, so text sizes go on the children of .screen */
.chat-ui .rows { font-size: 4.2cqw; line-height: 1.5; }
.chat-ui .ch-head { display: flex; align-items: center; gap: 4cqw; background: #373b61; padding: 5.5cqw 5cqw; }
.chat-ui .ch-head svg { width: 6cqw; flex: none; }
.chat-ui .ch-head b { font-size: 5.1cqw; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-ui .ch-head small { font-size: 3.2cqw; color: #8a8fb0; }
.chat-ui .rows { flex: 1; overflow: hidden; }
.chat-ui .row { display: grid; grid-template-columns: 10.5cqw 1fr; gap: 4.5cqw; padding: 5cqw 5cqw; background: #242648; }
.chat-ui .row.me { background: #1b1936; }
.chat-ui .av { width: 10.5cqw; height: 10.5cqw; border-radius: 2.8cqw; background: #fff; display: grid; place-items: center; }
.chat-ui .av img { width: 70%; }
.chat-ui .me .av { background: #6c74e6; color: #fff; font-weight: 800; font-size: 4cqw; }
.chat-ui .row p { margin: 0; white-space: pre-line; }
.chat-ui .row[hidden] { display: none; }
.dots { display: inline-flex; gap: 1.4cqw; padding-top: 2cqw; }
.dots i { width: 2cqw; height: 2cqw; border-radius: 50%; background: #c4c6dc; animation: dot 1s infinite; }
.dots i:nth-child(2) { animation-delay: .15s; }
.dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-1cqw); } }
.chat-ui .ch-input { background: #363b61; padding: 3.5cqw 4cqw 5cqw; }
.chat-ui .box { display: flex; align-items: center; gap: 3cqw; border: 1px solid rgba(249, 249, 249, .75); border-radius: 4cqw; padding: 3.5cqw 4cqw; min-height: 14cqw; }
/* one line, like a real text box: while typing, the newest words stay in view and older ones slide off the left */
.chat-ui .box [data-input] { flex: 1; min-width: 0; display: block; overflow: hidden; white-space: nowrap; color: #f9f9f9; font-size: 4cqw; }
.chat-ui .box [data-input]:empty::before { content: 'Send a message'; color: #a2a6c0; }
.chat-ui .box svg { width: 6.5cqw; flex: none; }
.chat-ui .caret { display: inline-block; width: 1.5px; height: 1em; background: var(--coral); vertical-align: -0.15em; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* sections */
section { position: relative; }
.section { padding: 72px 0; }
.section.alt { background: var(--bg-deep); }
.section-head { max-width: 700px; margin-bottom: 34px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head .lead { margin-top: 14px; }

/* topic cards from the app: swipe on phones, every card opens onboarding */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 168px; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 18px; margin: 0 -16px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.topic { scroll-snap-align: start; border-radius: 20px; overflow: hidden; position: relative; transition: transform .2s, box-shadow .2s; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3); }
.topic img { width: 100%; aspect-ratio: 400 / 486; object-fit: cover; }
.topic .go { position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; background: var(--coral); display: grid; place-items: center; color: #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, .3); transition: transform .2s; }
.topic:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); }
.topic:hover .go { transform: translateX(3px); }
.rail-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.rail-foot p { margin: 0; color: var(--muted); font-size: 14px; font-weight: 700; }
.rail-ctrl { display: none; gap: 10px; }
.round-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.round-btn:hover { background: var(--surface-2); }
.openers { display: grid; gap: 12px; margin-top: 26px; }
.bubble { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; }
.bubble img { width: 34px; height: 34px; border-radius: 9px; }
.bubble b { display: block; font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 2px; }
.bubble p { margin: 0; font-size: 16px; }
/* openers type in one at a time (site.js); without JS they're simply shown */
.js .openers[data-typer] .bubble { opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .35s ease; }
.js .openers[data-typer] .bubble.on { opacity: 1; transform: none; }
.bubble .dots { gap: 5px; padding-top: 8px; }
.bubble .dots i { width: 8px; height: 8px; }

/* sound familiar */
.pains { display: grid; gap: 12px; }
.pain { display: grid; grid-template-columns: 64px 1fr; align-items: stretch; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.pain .pi { position: relative; min-height: 84px; display: grid; place-items: center; background: rgba(0, 0, 0, 0.14); border-right: 1px solid var(--line); color: var(--dim); }
.pain .pi small { position: absolute; top: 7px; left: 8px; font-size: 11px; font-weight: 800; color: var(--muted); }
.pain p { margin: 0; padding: 16px 18px; font-size: 16.5px; font-weight: 700; line-height: 1.45; align-self: center; }

/* how it works stepper */
.stepper .bars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }
.stepper .bar { background: none; border: 0; padding: 0; text-align: left; color: var(--muted); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.stepper .bar i { display: block; height: 4px; border-radius: 2px; background: var(--surface-2); margin-bottom: 8px; overflow: hidden; position: relative; }
.stepper .bar i::after { content: ''; position: absolute; inset: 0; width: 0; background: var(--coral); }
.stepper .bar.done i::after { width: 100%; }
.stepper .bar.on { color: var(--coral); }
.stepper .bar.on i::after { animation: fill var(--step-ms, 9000ms) linear forwards; }
.stepper.paused .bar.on i::after { animation-play-state: paused; }
@keyframes fill { to { width: 100%; } }
.stages { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 16px; }
.stages::-webkit-scrollbar { display: none; }
.stage { scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 22px 20px 0; overflow: hidden; display: grid; gap: 18px; }
.stage .tag { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); font-weight: 700; font-family: ui-monospace, Menlo, monospace; }
.stage .tag b { color: var(--coral); border: 1px solid rgba(254, 112, 98, .4); border-radius: 6px; padding: 1px 6px; }
.stage h3 { font-size: 28px; margin: 10px 0 8px; }
.stage p { color: var(--dim); margin: 0; }
.stage-shot { overflow: hidden; height: 380px; display: flex; justify-content: center; }
.stage .phone { width: 240px; flex: none; }
.step-ctrl { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }

/* on your own vs with Moodu */
.versus { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.vs-head { display: grid; grid-template-columns: 1fr 1fr; }
.vs-head div { padding: 18px 16px; }
.vs-head div:last-child { background: rgba(254, 112, 98, 0.1); }
.vs-head small { display: block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.vs-head div:last-child small { color: var(--coral); }
.vs-head b { font-size: 19px; }
.vs-row { border-top: 1px solid var(--line); }
.vs-row .lbl { display: block; text-align: center; margin: 14px auto 0; width: max-content; font-size: 11.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.vs-cells { display: grid; grid-template-columns: 1fr 1fr; }
.vs-cells div { padding: 12px 16px 16px; font-size: 15px; line-height: 1.45; display: grid; grid-template-columns: 18px 1fr; gap: 8px; align-items: start; }
.vs-cells div:first-child { color: var(--muted); }
.vs-cells div:last-child { background: rgba(254, 112, 98, 0.06); font-weight: 700; }
.vs-cells svg { margin-top: 3px; }

/* mood tracker dashboard, built from the app's own mugs */
.dash { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 18px; display: grid; gap: 14px; }
.dash-top { display: flex; justify-content: space-between; align-items: center; }
.dash-top b { font-size: 18px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: rgba(59, 178, 115, .14); color: #7fdcaa; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.day { background: var(--bg); border-radius: 14px; padding: 8px 2px 6px; text-align: center; font-size: 11px; color: var(--muted); font-weight: 700; }
.day b { display: block; color: var(--text); font-size: 15px; }
.day img { width: 30px; margin: 4px auto 0; }
.day .empty { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--surface-2); margin: 8px auto 4px; }
.day.today { outline: 2px solid var(--coral); }
.mix { background: var(--bg); border-radius: 16px; padding: 14px; }
.mix-bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; align-items: end; height: 130px; }
.mix-bars div { display: grid; justify-items: center; gap: 6px; align-self: end; }
.mix-bars span { width: 26px; border-radius: 8px; background: var(--peri); display: block; transform-origin: bottom; }
.js .dash.in .mix-bars span { animation: grow 1s cubic-bezier(.2, .8, .2, 1) both; }
.mix-bars div:nth-child(2) span { animation-delay: .1s; }
.mix-bars div:nth-child(3) span { background: var(--coral); animation-delay: .2s; }
.mix-bars div:nth-child(4) span { animation-delay: .3s; }
@keyframes grow { from { transform: scaleY(0); } }
.mix-bars img { width: 30px; }
.mix-bars small { font-size: 11px; color: var(--muted); font-weight: 700; }
.mix p { margin: 10px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat { background: var(--bg); border-radius: 14px; padding: 10px 12px; }
.stat b { display: block; font-size: 22px; }
.stat small { color: var(--muted); font-size: 12px; font-weight: 700; }
.example { font-size: 12px; color: var(--muted); text-align: right; margin: -4px 4px 0; }

/* tools with mini previews */
.tools { display: grid; gap: 14px; }
.tool { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 14px; align-content: start; }
.tool-top { display: flex; align-items: center; gap: 12px; }
.tool .ic { width: 44px; height: 44px; border-radius: 13px; background: var(--surface-2); display: grid; place-items: center; color: var(--coral); flex: none; }
.tool h3 { font-size: 19px; }
.tool .sub { color: var(--muted); font-size: 14px; font-weight: 700; }
.mini { background: var(--bg); border-radius: 16px; padding: 14px; font-size: 15px; position: relative; }
.mini .meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-weight: 800; margin-bottom: 8px; }
.mini .prog { height: 5px; background: var(--surface-2); border-radius: 3px; overflow: hidden; margin-bottom: 12px; }
.mini .prog i { display: block; height: 100%; width: 40%; background: var(--coral); }
.mini p { margin: 0; }
.scale { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px; }
.scale span { text-align: center; font-size: 12px; font-weight: 800; padding: 7px 0; border-radius: 9px; background: var(--surface); color: var(--dim); }
.scale span.sel { background: var(--coral); color: #fff; }
.breath { position: relative; display: grid; place-items: center; height: 120px; }
.breath i { width: 70px; height: 70px; border-radius: 50%; background: radial-gradient(circle, rgba(254, 112, 98, .9), rgba(254, 112, 98, .35)); animation: breathe 8s ease-in-out infinite; box-shadow: 0 0 40px rgba(254, 112, 98, .35); }
.breath span { position: absolute; font-weight: 800; font-size: 13px; }
.breath span.out { opacity: 0; }
.breath span.in-t { animation: lblIn 8s infinite; }
.breath span.out { animation: lblOut 8s infinite; }
@keyframes breathe { 0%, 100% { transform: scale(.7); } 50% { transform: scale(1.25); } }
@keyframes lblIn { 0%, 45% { opacity: 1; } 50%, 95% { opacity: 0; } 100% { opacity: 1; } }
@keyframes lblOut { 0%, 45% { opacity: 0; } 50%, 95% { opacity: 1; } 100% { opacity: 0; } }
.note-line { display: flex; gap: 10px; align-items: center; }
.note-line img { width: 34px; }
.note-line b { display: block; font-size: 14px; }
.note-line small { color: var(--muted); font-size: 12px; }

/* photo band */
.photos { display: grid; gap: 12px; }
.photos figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 4; }
.photos img { width: 100%; height: 100%; object-fit: cover; }
.photos figcaption { position: absolute; inset: auto 0 0 0; padding: 60px 20px 18px; background: linear-gradient(transparent, rgba(23, 21, 47, 0.92)); font-weight: 800; font-size: 19px; line-height: 1.3; }

/* two column feature (privacy, safety) */
.split { display: grid; gap: 28px; align-items: start; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 16px; }
.checks li svg { margin-top: 2px; }
.checks b { display: block; font-weight: 800; }
.checks span { color: var(--dim); }
.text-link { color: var(--coral); font-weight: 800; }
.text-link:hover { color: var(--coral-hover); }
.stack { display: grid; gap: 16px; }
.mail { background: #fff; color: #1e1b3a; border-radius: 18px; overflow: hidden; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.mail-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #eef0f6; font-size: 12px; color: #6b6f86; font-weight: 700; }
.mail-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cfd3e0; }
.mail-bar span { margin-left: 8px; }
.mail-body { padding: 16px 18px 18px; }
.mail-body small { color: #6b6f86; font-size: 12.5px; }
.mail-body b { display: block; font-size: 15px; margin: 2px 0 12px; }
.mail-code { background: #1e1b3a; color: #f9f9f9; border-radius: 14px; padding: 16px; font-family: Menlo, monospace; font-size: 26px; letter-spacing: 8px; text-align: center; font-weight: 700; }

.crisis { border-left: 4px solid var(--coral); }
.crisis h3 { margin-bottom: 8px; }
.crisis ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.crisis li { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--line); padding-top: 10px; font-size: 15.5px; }
.crisis li b { white-space: nowrap; }
.flow { list-style: none; counter-reset: f; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.flow li { counter-increment: f; display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; color: var(--dim); font-size: 16px; }
.flow li::before { content: counter(f); width: 30px; height: 30px; border-radius: 9px; background: var(--surface-2); color: var(--coral); font-weight: 800; display: grid; place-items: center; font-size: 14px; }

/* pricing */
.plans { display: grid; gap: 16px; max-width: 900px; margin: 0 auto; }
.plan { position: relative; background: #2b2f5c; border: 2px solid rgba(249, 249, 249, 0.18); border-radius: 24px; padding: 26px 22px; display: flex; flex-direction: column; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
.plan.best { border-color: var(--coral); background: #3b4072; box-shadow: 0 0 0 5px rgba(254, 112, 98, 0.16), 0 30px 70px rgba(0, 0, 0, 0.45); }
.plan .badge { position: absolute; top: -13px; right: 22px; background: var(--coral); color: #fff; font-weight: 800; font-size: 13px; padding: 4px 12px; border-radius: 999px; }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.plan h3, .plan h2 { font-size: 21px; }
.plan .cancel { font-size: 12.5px; font-weight: 800; color: var(--coral); border: 1px solid rgba(254, 112, 98, .4); border-radius: 999px; padding: 3px 10px; }
.plan .price { font-size: 46px; font-weight: 800; line-height: 1; margin: 16px 0 6px; }
.plan .price small { font-size: 17px; color: #e6e7f2; font-weight: 700; }
.plan .note { color: #e6e7f2; font-size: 15.5px; margin-bottom: 18px; }
.plan .checks { margin-bottom: 22px; gap: 10px; }
.plan .checks li { font-size: 15.5px; }
.plan .checks span { color: #fff; }
.plan .fine { color: #b9bcd6; }
.plan .cancel { background: rgba(254, 112, 98, 0.14); border-color: rgba(254, 112, 98, 0.6); color: #ffb3aa; }
.plan .btn.ghost { box-shadow: inset 0 0 0 2px rgba(249, 249, 249, 0.5); }
.plan .btn { margin-top: auto; width: 100%; }
.plan .fine { text-align: center; margin-top: 10px; }
.includes { max-width: 900px; margin: 22px auto 0; }
.includes .checks { gap: 14px; }

/* faq */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-weight: 800; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: var(--coral); font-size: 26px; font-weight: 700; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--dim); padding-bottom: 6px; }

/* blog teaser on the home page */
.posts-row { display: grid; gap: 14px; }

/* closing call to action */
.final { position: relative; text-align: center; background: radial-gradient(120% 90% at 50% 0%, rgba(254, 112, 98, 0.16), transparent 60%), var(--surface); border: 1px solid var(--line); border-radius: 30px; padding: 46px 20px; overflow: hidden; }
.final .mugs { display: flex; justify-content: center; gap: 10px; margin-bottom: 20px; }
.final .mugs img { width: 52px; transition: transform .2s; }
.final .mugs img:hover { transform: translateY(-4px) rotate(-6deg); }
.final h2 { margin-bottom: 14px; }
.final .lead { margin: 0 auto 24px; }
.final .btn-row { justify-content: center; }

/* inner page header */
.page-head { padding: 46px 0 30px; }
.page-head h1 { font-size: clamp(34px, 4.6vw, 56px); margin-bottom: 16px; max-width: 900px; }

/* legal documents: a compact title band, readable 16px text, tight spacing, no contents box */
.legal-head { padding: 40px 0 22px; border-bottom: 1px solid var(--line); }
.legal-head h1 { font-size: clamp(30px, 3.6vw, 42px); }
.legal-head p { color: var(--muted); font-size: 15px; margin: 10px 0 0; }
.legal { max-width: 820px; padding: 30px 16px 70px; font-size: 16px; line-height: 1.65; color: var(--dim); }
.legal h2 { font-size: 23px; color: var(--text); margin: 28px 0 10px; }
.legal h3 { font-size: 18px; color: var(--text); margin: 18px 0 8px; }
.legal p { margin: 0 0 10px; }
.legal ul { margin: 0 0 10px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal strong { color: var(--text); }
.legal a { color: var(--coral); }
.legal .caps { text-transform: uppercase; font-size: 15px; }

/* footer */
.site-footer { background: var(--bg-deep); border-top: 1px solid var(--line); padding: 48px 0 30px; font-size: 16px; color: var(--text); }
.foot { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; }
.foot > :first-child { grid-column: 1 / -1; }
.foot .logo img { width: 108px; margin-bottom: 14px; }
.foot h4 { margin: 0 0 12px; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { color: var(--dim); }
.foot a:hover { color: var(--text); }
.foot-crisis { color: var(--dim); max-width: 400px; margin: 0; }
.foot-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

.notfound { padding: 110px 0; text-align: center; }
.notfound h1 { margin-bottom: 16px; }

/* reveal on scroll (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- light blog ---------- */
body.light { background: #fbfaf8; color: #1e1b3a; }
.light .site-header { background: rgba(251, 250, 248, 0.9); border-bottom-color: #ece9e3; }
.light .nav, .light .signin { color: #5b5f7a; }
.light .nav a:hover, .light .nav a[aria-current="page"], .light .signin:hover { color: #1e1b3a; }
.light .menu-btn { color: #1e1b3a; }
.light .mobile-nav { border-top-color: #ece9e3; }
.light .mobile-nav a { color: #3c4060; border-bottom-color: #ece9e3; }
.blog-head { padding: 46px 0 10px; text-align: center; }
.blog-head .eyebrow { display: inline-block; font-weight: 800; color: #d24e40; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; }
.blog-head h1 { font-size: clamp(36px, 5vw, 58px); color: #1e1b3a; }
.blog-head p { color: #5b5f7a; font-size: 18px; max-width: 560px; margin: 14px auto 0; }
.filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 6px 16px 4px; margin: 18px -16px 26px; }
.filters::-webkit-scrollbar { display: none; }
.filters button { flex: none; font: inherit; font-weight: 800; font-size: 14.5px; padding: 8px 16px; border-radius: 999px; border: 1px solid #e3dfd8; background: #fff; color: #3c4060; cursor: pointer; }
.filters button.on { background: #1e1b3a; border-color: #1e1b3a; color: #fff; }
.post-grid { display: grid; gap: 18px; padding-bottom: 70px; }
.post-card { display: grid; align-content: start; background: #fff; border: 1px solid #ece9e3; border-radius: 22px; overflow: hidden; transition: transform .2s, box-shadow .2s; color: #1e1b3a; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(30, 27, 58, 0.1); }
.post-card[hidden] { display: none; }
.post-card .pc-body { padding: 18px 20px 22px; }
.post-card h2, .post-card h3 { font-size: 21px; line-height: 1.25; margin: 10px 0 8px; color: #1e1b3a; }
.post-card p { color: #5b5f7a; font-size: 15.5px; margin: 0 0 12px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: 13px; color: #7a7e96; font-weight: 700; }
.cat { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: #ffe9e5; color: #c94436; }
.read-more { font-weight: 800; color: #d24e40; font-size: 15px; }
.post-card.featured h2 { font-size: clamp(24px, 3vw, 34px); }

/* designed covers: one soft color per category, a navy icon tile and a mood mug */
.cover { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; }
.cover::before { content: ''; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .45); right: -18%; top: -30%; }
.cover::after { content: ''; position: absolute; width: 38%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .3); left: -8%; bottom: -22%; }
.cover .tile { position: relative; z-index: 1; width: 76px; height: 76px; border-radius: 22px; background: #1e1b3a; color: var(--coral); display: grid; place-items: center; box-shadow: 0 14px 30px rgba(30, 27, 58, .25); }
.cover .mug { position: absolute; z-index: 1; width: 64px; right: 16%; bottom: 14%; transform: rotate(8deg); filter: drop-shadow(0 8px 14px rgba(30, 27, 58, .2)); }
.cover .lbl { position: absolute; z-index: 1; left: 18px; top: 16px; font-weight: 800; font-size: 13px; color: #1e1b3a; opacity: .7; letter-spacing: .04em; text-transform: uppercase; }
.c-sleep { background: linear-gradient(135deg, #dfe2ff, #f1eaff); }
.c-stress { background: linear-gradient(135deg, #ffe0d9, #fff1e6); }
.c-anxiety { background: linear-gradient(135deg, #d9f0ff, #e8f7f2); }
.c-loneliness { background: linear-gradient(135deg, #f6e3ff, #ffe8f0); }
.c-relationships { background: linear-gradient(135deg, #ffe3e8, #fff0e0); }
.c-grief { background: linear-gradient(135deg, #e3eadf, #f2efe4); }
.c-ai { background: linear-gradient(135deg, #e2e5ff, #ffe7e2); }
.c-mood { background: linear-gradient(135deg, #fff1cc, #ffe4d6); }

.article { max-width: 720px; margin: 0 auto; padding: 30px 16px 40px; }
.crumbs { font-size: 14px; font-weight: 700; color: #7a7e96; margin-bottom: 14px; }
.crumbs a { color: #7a7e96; }
.crumbs a:hover { color: #1e1b3a; }
.article h1 { font-size: clamp(32px, 4.6vw, 48px); line-height: 1.1; color: #1e1b3a; margin: 12px 0 16px; }
.byline { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; font-size: 14px; color: #7a7e96; font-weight: 700; }
.byline img { width: 40px; height: 40px; border-radius: 12px; }
.byline b { display: block; font-size: 15px; color: #1e1b3a; }
.article .cover { border-radius: 24px; margin-bottom: 30px; }
.prose { font-size: 18.5px; line-height: 1.75; color: #2f3350; }
.prose p { margin: 0 0 20px; }
.prose h2 { font-size: 27px; line-height: 1.25; color: #1e1b3a; margin: 40px 0 14px; }
.prose h3 { font-size: 21px; color: #1e1b3a; margin: 28px 0 10px; }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 24px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--coral); font-weight: 800; }
.prose a { color: #c94436; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose strong { color: #1e1b3a; }
.prose blockquote { margin: 26px 0; padding: 18px 22px; border-left: 4px solid var(--coral); background: #fff; border-radius: 0 16px 16px 0; color: #1e1b3a; font-weight: 700; }
.prose blockquote p:last-child { margin: 0; }
.post-cta { background: #1e1b3a; color: #f9f9f9; border-radius: 26px; padding: 28px 24px; margin: 40px 0 10px; display: grid; gap: 14px; }
.post-cta .row { display: flex; align-items: center; gap: 12px; }
.post-cta img { width: 44px; height: 44px; border-radius: 12px; }
.post-cta h2 { font-size: 24px; color: #fff; margin: 0; }
.post-cta p { color: var(--dim); margin: 0; font-size: 16px; }
.post-cta .fine { margin: 0; }
.post-safety { font-size: 14.5px; color: #7a7e96; border-top: 1px solid #ece9e3; padding-top: 18px; margin-top: 30px; }
.more { background: #f3f1ec; padding: 50px 0 70px; }
.more h2 { font-size: 28px; color: #1e1b3a; margin-bottom: 20px; }
.more .post-grid { padding-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .breath i, .breath span, .flip .b, .tap, .stepper .bar.on i::after, .dots i, .js .dash.in .mix-bars span { animation: none; }
  .js .openers[data-typer] .bubble { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- wider screens ---------- */
@media (min-width: 640px) {
  .wrap { padding: 0 24px; }
  .hero-copy .btn { width: auto; }
  .trio { margin: 0 -24px; }
  .rail { grid-auto-columns: 200px; margin: 0 -24px; padding: 4px 24px 18px; }
  .pains { grid-template-columns: 1fr 1fr; }
  .tools { grid-template-columns: 1fr 1fr; }
  .photos { grid-template-columns: repeat(3, 1fr); }
  .photos figure { aspect-ratio: 4 / 5; }
  .plans { grid-template-columns: 1fr 1fr; }
  .includes .checks { grid-template-columns: 1fr 1fr; }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .posts-row { grid-template-columns: repeat(3, 1fr); }
  .filters { justify-content: center; margin: 18px 0 30px; padding: 6px 0 4px; }
  .crisis li { flex-direction: row; justify-content: space-between; gap: 16px; }
  .openers { grid-template-columns: repeat(3, 1fr); }
  .foot { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .foot > :first-child { grid-column: auto; }
  .article { padding-top: 40px; }
}
@media (min-width: 980px) {
  body { font-size: 18px; }
  .site-header .wrap { height: 72px; gap: 20px; }
  .logo img { width: 118px; }
  .nav, .signin { display: flex; }
  .menu-btn, .mobile-nav, .mobile-nav.open { display: none; }
  .section { padding: 100px 0; }
  .hero { padding: 64px 0 50px; }
  .hero .wrap { grid-template-columns: 1fr 1fr; align-items: center; gap: 30px; }
  .hero-copy { text-align: left; }
  .hero-copy .lead { margin: 22px 0 30px; }
  .hero-copy .btn-row, .trust { justify-content: flex-start; }
  .trio { height: 640px; margin: 0; overflow: visible; }
  .hero-copy { position: relative; z-index: 4; }
  .trio .phone { width: 262px; top: 0; left: 57%; }
  .trio .p-left { transform: translateX(-111%) translateY(50px) rotate(-6deg) scale(.86); }
  .trio .p-right { transform: translateX(14%) translateY(50px) rotate(6deg) scale(.86); }
  .rail-ctrl { display: flex; }
  .rail { grid-auto-columns: 220px; }
  .stage { grid-template-columns: 1fr 1fr; align-items: center; padding: 0 0 0 44px; min-height: 500px; }
  .stage-shot { height: 500px; align-items: flex-start; padding-top: 40px; }
  .stage .phone { width: 270px; }
  .stage h3 { font-size: 36px; }
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .pains { grid-template-columns: repeat(3, 1fr); }
  .tools { grid-template-columns: repeat(4, 1fr); }
  .vs-head div, .vs-cells div { padding-left: 26px; padding-right: 26px; }
  .vs-cells div { font-size: 16px; }
  .post-grid { grid-template-columns: repeat(3, 1fr); }
  .post-card.featured { grid-column: 1 / -1; grid-template-columns: 1.2fr 1fr; align-items: center; }
  .post-card.featured .cover { aspect-ratio: auto; height: 100%; min-height: 320px; }
  .post-card.featured .pc-body { padding: 34px; }
  .final { padding: 70px 40px; }
}

/* home: the small "locked before it's saved" piece under Privacy */
.lockcard { display: grid; gap: 22px; margin-top: 40px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 24px 20px; }
.lc-copy h3 { font-size: 24px; margin-bottom: 8px; }
.lc-copy p { color: var(--dim); font-size: 16px; }
.lc-demo { background: var(--bg); border-radius: 18px; padding: 16px; display: grid; gap: 8px; }
.lc-row { background: var(--surface-2); border-radius: 12px; padding: 10px 14px; }
.lc-row small { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.lc-row p { margin: 0; font-size: 16px; }
.lc-row.enc p { font-family: ui-monospace, Menlo, monospace; font-size: 14px; color: var(--coral); word-break: break-all; }
.lc-mid { display: grid; place-items: center; color: var(--coral); }
.lc-mid svg { width: 20px; height: 20px; }

/* blog posts: thin reading bar, and a floating call to action that shows while reading */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 40; pointer-events: none; }
.read-progress i { display: block; height: 100%; width: 0; background: var(--coral); transition: width .1s linear; }
.float-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; display: flex; align-items: center; gap: 10px; background: #1e1b3a; color: #f9f9f9; border-radius: 18px; padding: 10px 10px 10px 12px; box-shadow: 0 18px 40px rgba(30, 27, 58, .35); transform: translateY(150%); transition: transform .35s ease; }
.float-cta.show { transform: none; }
.float-cta img { width: 40px; height: 40px; border-radius: 11px; flex: none; }
.fc-text { flex: 1; min-width: 0; line-height: 1.25; }
.fc-text b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-text small { color: var(--dim); font-size: 12.5px; }
.float-cta .btn.small { min-height: 38px; padding: 0 14px; font-size: 14px; flex: none; }
.fc-x { background: none; border: 0; color: var(--muted); font-size: 22px; line-height: 1; padding: 4px 6px; cursor: pointer; flex: none; }
.fc-x:hover { color: #fff; }
.article .cover { aspect-ratio: 21 / 9; }
@media (prefers-reduced-motion: reduce) { .float-cta { transition: none; } }
@media (min-width: 640px) {
  .lockcard { grid-template-columns: 1.1fr 1fr; align-items: center; padding: 30px; }
  .float-cta { left: auto; right: 24px; bottom: 24px; width: 400px; }
}

/* ---------- blog: dark/light switch (dark by default; the reader's choice is remembered) ---------- */
.logo .lg-navy { display: none; }
.light .logo .lg-white { display: none; }
.light .logo .lg-navy { display: block; }
.theme-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--text); display: grid; place-items: center; cursor: pointer; flex: none; }
.light .theme-btn { border-color: #e3dfd8; color: #1e1b3a; background: #fff; }
.theme-btn .sun { display: none; }
.blog:not(.light) .theme-btn .sun { display: block; }
.blog:not(.light) .theme-btn .moon { display: none; }
.blog .header-actions { gap: 10px; }

.blog:not(.light) .blog-head h1 { color: var(--text); }
.blog:not(.light) .blog-head p { color: var(--dim); }
.blog:not(.light) .blog-head .eyebrow { color: var(--coral); }
.blog:not(.light) .filters button { background: var(--surface); border-color: var(--line); color: var(--dim); }
.blog:not(.light) .filters button.on { background: var(--coral); border-color: var(--coral); color: #fff; }
.blog:not(.light) .post-card { background: var(--surface); border-color: var(--line); color: var(--text); }
.blog:not(.light) .post-card:hover { box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); }
.blog:not(.light) .post-card h2, .blog:not(.light) .post-card h3 { color: var(--text); }
.blog:not(.light) .post-card p { color: var(--dim); }
.blog:not(.light) .post-meta { color: var(--muted); }
.blog:not(.light) .cat { background: rgba(254, 112, 98, 0.16); color: #ffb3aa; }
.blog:not(.light) .read-more { color: var(--coral); }
.blog:not(.light) .cover::before { background: rgba(255, 255, 255, .07); }
.blog:not(.light) .cover::after { background: rgba(255, 255, 255, .05); }
.blog:not(.light) .cover .tile { background: #f9f9f9; }
.blog:not(.light) .cover .lbl { color: #f9f9f9; }
.blog:not(.light) .c-sleep { background: linear-gradient(135deg, #2f3473, #3b2f6b); }
.blog:not(.light) .c-stress { background: linear-gradient(135deg, #4b2d4a, #5b3640); }
.blog:not(.light) .c-anxiety { background: linear-gradient(135deg, #24456b, #25515a); }
.blog:not(.light) .c-loneliness { background: linear-gradient(135deg, #45306c, #5a2f57); }
.blog:not(.light) .c-relationships { background: linear-gradient(135deg, #5a2f48, #5b3a33); }
.blog:not(.light) .c-grief { background: linear-gradient(135deg, #33493d, #4a4636); }
.blog:not(.light) .c-ai { background: linear-gradient(135deg, #30366e, #5a3443); }
.blog:not(.light) .c-mood { background: linear-gradient(135deg, #5a4a2a, #5b3a30); }
.blog:not(.light) .crumbs, .blog:not(.light) .crumbs a, .blog:not(.light) .byline { color: var(--muted); }
.blog:not(.light) .crumbs a:hover { color: var(--text); }
.blog:not(.light) .article h1, .blog:not(.light) .byline b { color: var(--text); }
.blog:not(.light) .prose { color: #d9dbec; }
.blog:not(.light) .prose h2, .blog:not(.light) .prose h3, .blog:not(.light) .prose strong { color: #fff; }
.blog:not(.light) .prose a { color: #ff9a8f; }
.blog:not(.light) .prose blockquote { background: var(--surface); color: #fff; }
.blog:not(.light) .post-cta { background: var(--surface-2); border: 1px solid var(--line); }
.blog:not(.light) .post-safety { color: var(--muted); border-top-color: var(--line); }
.blog:not(.light) .more { background: var(--bg-deep); }
.blog:not(.light) .more h2 { color: var(--text); }
.blog:not(.light) .float-cta { background: var(--surface-2); border: 1px solid var(--line); }
