/* Inner State Check-in — calm, warm, mobile-first */
:root {
  --bg: #F5F1F6;
  --bg-2: #F8F4FA;
  --card: #FFFCFF;
  --ink: #2A1B33;
  --mut: #5E5168;
  --bd: #E4D8E6;
  --bd-soft: rgba(81, 27, 116, 0.10);
  --accent: #511B74;
  --accent-2: #6B3A8C;
  --accent-soft: #F0E7F5;
  --sage: #2F6A54;
  --sage-soft: #E6F0EB;
  --err: #9B3B3B;
  --warn-bg: #FBF3E6;
  --warn-bd: #E6D0A8;
  --warn-ink: #6A4A12;
  --shadow: 0 1px 2px rgba(42, 35, 38, 0.04), 0 10px 28px rgba(42, 35, 38, 0.06);
  --serif: "Iowan Old Style", Palatino, "Palatino Linotype", "New York", Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", "Segoe UI", "Helvetica Neue", system-ui, -apple-system, sans-serif;
  --radius: 20px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-display.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-italic.woff") format("woff");
  font-weight: 450;
  font-style: italic;
  font-display: swap;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 17px/1.55 var(--sans);
  color: var(--ink);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 90% 50% at 50% -10%, var(--bg-2), transparent 70%),
    linear-gradient(180deg, #F8F4FA 0%, var(--bg) 40%, #EFEAF3 100%);
  background-attachment: fixed;
  min-height: 100vh;
}
button, input, select, textarea { font: inherit; color: inherit; }

/* Header */
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  padding-top: max(14px, env(safe-area-inset-top, 0px));
  background: rgba(255, 252, 255, 0.90);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--bd-soft);
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark {
  width: 36px;
  height: 36px;
  display: block;
  flex-shrink: 0;
}
.product {
  font-family: "Newsreader", var(--serif);
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.2;
  min-width: 0;
}
.topbtns { display: flex; gap: 6px; flex-shrink: 0; }

/* Subtle disclaimer */
.banner {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--mut);
  text-align: center;
  padding: 10px 20px 0;
  background: transparent;
}

main { max-width: 720px; margin: 0 auto; padding: 8px 16px 32px; }

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--bd-soft);
  border-radius: var(--radius);
  padding: 24px 22px;
  margin: 14px 0;
  box-shadow: var(--shadow);
}
.narrow { max-width: 440px; margin: 20px auto; }

h1, h2, h3 { margin: 0 0 0.5em; color: var(--ink); }
h1 {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.4em;
}
h2 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
h3 { font-size: 1.02rem; font-weight: 600; }
.lede { color: var(--mut); margin: 0 0 1.2em; }
.form-intro { padding: 10px 6px 6px; }
.form-intro h2 { margin-bottom: 0.25em; }
.form-intro .lede { margin-bottom: 0; }

/* Form sections */
.block { margin: 12px 0; padding: 22px 20px 20px; }
.block h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}
.num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  flex-shrink: 0;
}
.q { margin: 0 0 12px; font-weight: 550; color: var(--ink); }
.opt { color: var(--mut); font-weight: 400; font-size: 0.86em; }

label { display: block; margin: 12px 0; font-size: 0.95rem; font-weight: 550; color: var(--ink); }
label > input, label > select, label > textarea { font-weight: 400; }
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--bd);
  border-radius: 12px;
  margin-top: 6px;
  background: #fff;
  appearance: none;
  -webkit-appearance: none;
}
select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%235C5155' d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
textarea { resize: vertical; min-height: 88px; line-height: 1.45; }
input:focus, select:focus, textarea:focus, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
}
input[type="date"], input[type="month"] { -webkit-appearance: none; min-height: 48px; }

.fields-2 { display: grid; gap: 4px 16px; }
@media (min-width: 560px) {
  .fields-2 { grid-template-columns: 1fr 1fr; }
}
.subfields { margin-top: 8px; padding-top: 4px; border-top: 1px solid var(--bd-soft); }
.cycle-field { margin-top: 22px; }

/* Buttons */
button {
  cursor: pointer;
  border-radius: 999px;
  padding: 11px 18px;
  border: 1px solid var(--bd);
  background: #fff;
  color: var(--accent);
  margin: 4px 4px 4px 0;
  min-height: 44px;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .1s ease;
}
button:active { transform: scale(0.98); }
.primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  font-weight: 600;
  width: 100%;
  margin: 8px 0 0;
}
.primary:hover { background: #3F145C; border-color: #3F145C; }
.ghost { border-color: var(--bd); color: var(--ink); background: transparent; }
.ghost:hover { background: var(--accent-soft); border-color: #D8C4CB; }
.danger { border-color: #E3C0C0; color: var(--err); background: #fff; }
.danger:hover { background: #FBF0F0; }
.small { padding: 6px 14px; font-size: 13px; min-height: 34px; font-weight: 600; }
.link { border: 0; padding: 0; font-size: 13px; color: var(--mut); text-decoration: underline; background: none; min-height: 0; margin-left: 8px; }
#btnDemo, #btnImportStart, #vUnlock .ghost { width: 100%; margin: 6px 0 0; }
#vUnlock .primary { width: 100%; }
#genPP { margin-top: 4px; }

.hidden { display: none !important; }
.muted, .hint { color: var(--mut); }
.hint { font-size: 13.5px; margin: 6px 0 10px; font-weight: 400; }
.err { color: var(--err); font-size: 0.92rem; }
.ok { color: var(--sage); }
.warn {
  background: var(--warn-bg);
  border: 1px solid var(--warn-bd);
  color: var(--warn-ink);
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 400;
  margin: 14px 0 4px;
  line-height: 1.45;
}
.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 14px; word-break: break-word; }
.big { font-size: 1.05rem; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 12px 14px; border-radius: 12px; margin: 12px 0; }
#ppSuggest:empty { display: none; }
.chk { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.chk input[type="checkbox"] {
  -webkit-appearance: checkbox; appearance: auto;
  width: 22px; height: 22px; min-width: 22px; padding: 0; margin: 2px 0 0;
  border-radius: 4px; accent-color: var(--accent); flex-shrink: 0; cursor: pointer;
}
.chk { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.chk span { flex: 1; min-width: 0; }
hr { border: 0; border-top: 1px solid var(--bd); margin: 22px 0 16px; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { margin: 0; font-weight: 400; }
.chip input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.chip span {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--bd);
  border-radius: 999px;
  font-size: 14.5px;
  background: #fff;
  color: var(--ink);
  line-height: 1.3;
  transition: background .12s ease, border-color .12s ease, color .12s ease;
}
.chip:hover span { border-color: #C9B0B8; background: var(--accent-soft); }
.chip input:checked + span {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  font-weight: 550;
}
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.choices { margin-bottom: 4px; }
.choices .chip span { padding: 10px 16px; }

/* Sliders */
.range { display: block; margin: 18px 0 8px; font-weight: 550; }
.range-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 2px; }
.range output {
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  min-width: 1.6em;
  text-align: right;
  font-size: 1.05rem;
}
.range input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 28px;
  padding: 0;
  margin: 4px 0 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.range input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  background: #D4C4DC;
  border-radius: 999px;
}
.range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -8px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--accent);
  box-shadow: 0 1px 4px rgba(42, 35, 38, 0.18);
  cursor: pointer;
}
.range input[type="range"]::-moz-range-track {
  height: 6px;
  background: #D4C4DC;
  border-radius: 999px;
  border: 0;
}
.range input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--accent);
  box-shadow: 0 1px 4px rgba(42, 35, 38, 0.18);
  cursor: pointer;
}
.range input[type="range"]:focus { outline: none; border-color: transparent; }
.range input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--accent); outline-offset: 2px; }
.range input[data-unset="1"] { opacity: 0.55; }
.range-ends {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--mut);
  font-weight: 400;
  margin-top: -2px;
}

/* Sticky save on mobile */
.savebar {
  position: sticky;
  bottom: 0;
  z-index: 8;
  margin: 8px -16px 0;
  padding: 16px 16px calc(14px + var(--safe-b));
  background: linear-gradient(to bottom, rgba(245, 241, 246, 0), var(--bg) 32%);
}
.savebar .primary { margin-top: 0; box-shadow: 0 8px 20px rgba(102, 50, 74, 0.22); }
#saveMsg { text-align: center; margin: 8px 0 0; min-height: 1.2em; font-weight: 600; }

/* Tabs */
.tabs {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  background: var(--card);
  border: 1px solid var(--bd-soft);
  border-radius: 999px;
  padding: 4px;
  margin: 12px 0 6px;
  box-shadow: 0 1px 2px rgba(42, 35, 38, 0.04);
  -webkit-overflow-scrolling: touch;
}
.tabs button {
  flex: 1 0 auto;
  border: 0;
  background: transparent;
  color: var(--mut);
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  min-height: 40px;
  white-space: nowrap;
  border-radius: 999px;
}
.tabs button.on { background: var(--accent); color: #fff; }
.tabs button:hover:not(.on) { background: var(--accent-soft); }

.demo {
  background: var(--accent-soft);
  border: 1px solid #D8C8E4;
  color: var(--accent);
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 550;
  margin: 8px 0;
}
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 12px 0 20px; }
.tile {
  background: #fff;
  border: 1px solid var(--bd-soft);
  border-radius: 16px;
  padding: 14px;
}
.tl { font-size: 13px; color: var(--mut); font-weight: 550; }
.tv { font-size: 1.6rem; font-weight: 700; color: var(--accent); letter-spacing: -0.02em; line-height: 1.2; margin: 4px 0 8px; }
.tv small { font-size: 12px; color: var(--mut); font-weight: 400; margin-left: 4px; letter-spacing: 0; }
.spark { width: 100%; height: 60px; display: block; }
.spark path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.spark circle { fill: var(--accent-2); }
.list { padding-left: 18px; }
.list li { margin: 10px 0; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.row .primary, .row .ghost { width: auto; margin: 0; }
.doc {
  white-space: pre-wrap;
  background: #F5F0F8;
  padding: 16px 18px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.5;
  border: 1px solid var(--bd-soft);
}
.sym-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 16px; padding: 0; list-style: none; }
.sym-list li {
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13.5px;
  font-weight: 550;
}

dialog {
  border: 0;
  border-radius: var(--radius);
  max-width: 560px;
  width: calc(100% - 32px);
  padding: 24px;
  box-shadow: var(--shadow);
  background: var(--card);
  color: var(--ink);
}
dialog::backdrop { background: rgba(42, 35, 38, 0.45); }
dialog h2 { font-family: var(--serif); }
dialog h3 { margin: 16px 0 6px; font-size: 0.95rem; }
dialog ul { margin: 0; padding-left: 1.2em; color: var(--mut); }
dialog p { color: var(--mut); }
dialog .primary { width: auto; min-width: 120px; margin-top: 16px; }

footer {
  text-align: center;
  color: var(--mut);
  font-size: 12.5px;
  line-height: 1.55;
  padding: 28px 24px calc(36px + var(--safe-b));
  max-width: 520px;
  margin: 0 auto;
}
footer p { margin: 0 0 8px; }
footer p:last-child { margin-bottom: 0; }
.foot-disclaimer { color: var(--mut); }
.foot-legal { font-size: 11.5px; color: #7A6E84; }
.foot-links { margin-top: 12px; }
footer a { color: var(--accent); }

#bodyOtherWrap.hidden, #cycleField.hidden, #lastPeriodWrap.hidden, #cycleNoPeriods.hidden, #tCheckin.hidden, #tDash.hidden, #tDoc.hidden, #tData.hidden, #tRead.hidden, #readList.hidden, #readArticle.hidden, #vApp.hidden, #vUnlock.hidden, #vImport.hidden { display: none !important; }

@media print {
  .top, .banner, .tabs, .noprint, footer, #demoBar, .tab:not(#tDoc), .savebar, .step-nav, .step-progress { display: none !important; }
  body { background: #fff; }
  .card { border: 0; box-shadow: none; }
  .doc { background: #fff; }
}

/* Welcome / unlock intro */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.lede.tight { margin: 0 0 1em; }
.unlock-card { margin: 0; }
#vUnlock .primary, #vUnlock .ghost, #btnDemo, #btnImportStart { width: 100%; margin: 6px 0 0; }

/* Post-save confirmation */
.save-done { text-align: center; padding: 28px 22px 24px; margin: 14px 0; }
.save-done h2 { margin-bottom: 0.35em; }
.save-done .lede { margin-bottom: 1.2em; }
.save-done .primary, .save-done .ghost { width: 100%; margin: 6px 0 0; }
.linkish {
  display: inline-block;
  width: 100%;
  margin: 14px 0 0;
  padding: 8px;
  border: 0;
  background: none;
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: 0;
}
.linkish:hover { background: none; color: #3F145C; }

@media (max-width: 420px) {
  .top { padding-left: 12px; padding-right: 10px; gap: 8px; }
  .topbtns { gap: 4px; flex-shrink: 0; }
  .topbtns .ghost, .topbtns a.btnlink { padding: 8px 9px; min-height: 38px; font-size: 14px; }
  .product { font-size: 1rem; line-height: 1.15; }
}


/* Consent + My data sharing */
#dlgConsent ul { margin: 0 0 16px; padding-left: 1.2em; color: var(--mut); }
#dlgConsent li { margin: 0 0 8px; }
#dlgConsent .chk { margin: 16px 0 8px; }
#dlgConsent .primary { width: 100%; margin-top: 8px; }
#dlgConsent .ghost { width: 100%; margin: 8px 0 0; }
#dlgConsent .consent-policy { margin: 16px 0 0; text-align: center; }
#dlgConsent .consent-policy a { color: var(--accent); font-weight: 600; }
#sharePanel { margin: 8px 0 20px; padding-top: 4px; }
#sharePanel .lede { margin-bottom: 10px; }
#sharePanel .row { margin: 8px 0; }
#sharePanel .row .ghost, #sharePanel .row .danger { width: auto; margin: 0 8px 8px 0; }
#shareMsg { min-height: 1.2em; }
#consentMsg { min-height: 1.2em; margin: 4px 0; }


/* Email updates sign-up */
.updates-card { margin: 18px 0 0; }
#tData .updates-card { margin: 18px 0 20px; }
.updates-card h2 {
  font-size: 1.25rem;
  margin-bottom: 0.35em;
}
.updates-card .lede { margin-bottom: 0.8em; font-size: 0.95rem; }
.updates-card .chk { margin: 14px 0 8px; }
.updates-card .primary { margin-top: 8px; }
.updates-links {
  text-align: center;
  margin: 14px 0 0;
  font-size: 0.9rem;
}
.updates-links a { color: var(--accent); font-weight: 600; }
#tData .primary { width: 100%; margin: 8px 0 0; }

/* ==========================================================
   Welcome screen, direction B: "Plum dusk"
   ========================================================== */
:root {
  --plum-950: #1F0A2E;
  --plum-900: #2A0F3D;
  --plum-700: #3F145C;
  --peach: #F2C6B0;
  --champagne: #E9D2B4;
  --rose: #C98A7D;
  --ivory: #FBF7F3;
  --blush: #F6EBEA;
  --display: "Newsreader", var(--serif);
}
html { scroll-behavior: smooth; }
body { overflow-x: clip; }
body:has(#vUnlock:not(.hidden)) { background: var(--ivory); }
body:has(#vUnlock:not(.hidden)) .top { background: rgba(31, 10, 46, 0.92); border-bottom-color: rgba(255, 255, 255, 0.06); }
body:has(#vUnlock:not(.hidden)) .product { color: #F6EEF4; }
body:has(#vUnlock:not(.hidden)) .brand-mark { filter: brightness(0) invert(1); opacity: 0.92; }
body:has(#vUnlock:not(.hidden)) .topbtns .ghost { color: #F6EEF4; border-color: rgba(255, 255, 255, 0.25); }
body:has(#vUnlock:not(.hidden)) .topbtns .ghost:hover { background: rgba(255, 255, 255, 0.08); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.welcome { max-width: 520px; margin: 0 auto 40px; position: relative; }

/* Hero */
.hero {
  position: relative;
  margin: -8px calc(50% - 50vw) 0;
  padding: 40px 28px 92px;
  text-align: center; color: #F6EEF4; overflow: hidden;
  background:
    radial-gradient(closest-side, rgba(242, 198, 176, 0.38), rgba(242, 198, 176, 0)) 50% 100% / 640px 380px no-repeat,
    radial-gradient(closest-side, rgba(146, 72, 170, 0.45), rgba(146, 72, 170, 0)) 50% 22% / 460px 400px no-repeat,
    linear-gradient(180deg, var(--plum-950) 0%, var(--plum-900) 45%, #4A1A68 100%);
}
.hero::after {
  content: ""; position: absolute; left: -15%; right: -15%; bottom: -1px; height: 54px;
  background: var(--ivory); border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.hero > * { position: relative; z-index: 1; }
.hero-mark { position: relative; width: 220px; margin: 0 auto 24px; padding-top: 40px; }
.moon-arc { position: absolute; left: 50%; top: 0; width: 316px; transform: translateX(-50%); overflow: visible; }
.moon-arc .arc { fill: none; stroke: rgba(233, 210, 180, 0.22); stroke-width: 1; stroke-dasharray: 2 5; }
.moon-arc .mo { fill: rgba(31, 10, 46, 0.6); stroke: rgba(233, 210, 180, 0.45); stroke-width: 1; }
.moon-arc .ml { fill: var(--champagne); }
.moon-arc .mf { filter: drop-shadow(0 0 6px rgba(242, 198, 176, 0.8)); }
.unlock-logo {
  display: block; width: 184px; height: auto; margin: 0 auto;
  filter: brightness(0) invert(1); opacity: 0.96;
}
.hero-title {
  font-family: var(--display); font-weight: 500; font-size: 2.3rem; line-height: 1.05;
  letter-spacing: -0.025em; color: #FFF8F4; margin: 0 0 18px;
}
.hero-title span {
  display: block; font-style: italic; font-weight: 450; font-size: 1.4rem;
  color: var(--peach); margin-top: 8px; letter-spacing: -0.005em;
}
.hero-hook {
  font-size: 1rem; line-height: 1.55; color: rgba(246, 238, 244, 0.78);
  max-width: 18em; margin: 0 auto 12px; text-wrap: balance;
}
.hero-cta {
  display: inline-block; padding: 15px 30px; border-radius: 999px;
  background: linear-gradient(180deg, #FFF9F4, #F6E6DA);
  color: var(--plum-900); text-decoration: none; font-weight: 650; font-size: 1rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.4) inset;
  transition: transform .15s ease, box-shadow .15s ease;
}
.hero-cta:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34); }
.hero-meta { margin: 16px 0 0; font-size: 0.8rem; letter-spacing: 0.03em; color: rgba(246, 238, 244, 0.62); }

/* Story */
.story { text-align: center; padding: 30px 12px 8px; }
.story-lead {
  font-family: var(--display); font-weight: 500; font-size: 1.62rem; line-height: 1.3;
  letter-spacing: -0.02em; color: var(--plum-900); margin: 0 auto 16px; max-width: 19em; text-wrap: balance;
}
.story-lead em { font-style: italic; font-weight: 450; color: var(--rose); }
.story-body { color: var(--mut); margin: 0 auto; max-width: 25em; font-size: 0.98rem; line-height: 1.6; }

/* Founder band */
.founder {
  margin: 44px calc(50% - 50vw) 0; padding: 48px 28px 46px; text-align: center;
  background:
    radial-gradient(closest-side, rgba(242, 198, 176, 0.55), rgba(242, 198, 176, 0)) 50% 0 / 520px 360px no-repeat,
    var(--blush);
}
.founder-media { position: relative; width: 176px; height: 176px; margin: 0 auto 26px; }
.founder-orbit { position: absolute; inset: -18px; width: calc(100% + 36px); height: calc(100% + 36px); overflow: visible; }
.orbit { fill: none; stroke: rgba(81, 27, 116, 0.25); stroke-width: 0.8; }
.orbit-dot { fill: var(--rose); }
.founder-media picture { display: block; }
.founder-photo {
  display: block; width: 176px; height: 176px; border-radius: 50%; object-fit: cover; object-position: 50% 30%;
  box-shadow: 0 16px 36px rgba(42, 15, 61, 0.22);
}
.founder figcaption { max-width: 30em; margin: 0 auto; }
.founder-note {
  margin: 0; font-family: var(--display); font-style: italic; font-weight: 450;
  font-size: 1.28rem; line-height: 1.45; color: var(--plum-900); text-wrap: pretty;
}
.founder-sign {
  margin: 18px 0 0; font-family: var(--display); font-size: 1.05rem; color: var(--ink); font-weight: 500;
}
.founder-sign::before { content: "— "; color: var(--rose); }
.founder-sign span { display: block; font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rose); font-weight: 650; margin-top: 4px; }
.founder-assurance {
  display: inline-flex; align-items: center; gap: 8px; margin: 22px 0 0;
  padding: 9px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(81, 27, 116, 0.10); color: var(--accent); font-size: 0.86rem; font-weight: 600;
}
.founder-assurance svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Benefits */
.benefits { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 12px; }
.benefits li {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border-radius: 22px; padding: 20px 20px;
  border: 1px solid rgba(81, 27, 116, 0.07);
  box-shadow: 0 1px 2px rgba(42, 15, 61, 0.04), 0 12px 30px rgba(42, 15, 61, 0.06);
}
.benefit-icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff;
  background: linear-gradient(145deg, #7A3A9E, var(--plum-900));
  box-shadow: 0 6px 14px rgba(81, 27, 116, 0.25);
}
.benefits li:nth-child(2) .benefit-icon { background: linear-gradient(145deg, #E2A88F, #B86F63); box-shadow: 0 6px 14px rgba(184, 111, 99, 0.28); }
.benefits li:nth-child(3) .benefit-icon { background: linear-gradient(145deg, #C9A27A, #8E6A45); box-shadow: 0 6px 14px rgba(142, 106, 69, 0.25); }
.benefit-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.benefits strong { display: block; font-family: var(--display); font-weight: 500; font-size: 1.18rem; line-height: 1.25; color: var(--ink); letter-spacing: -0.01em; }
.benefits p { margin: 5px 0 0; font-size: 0.93rem; color: var(--mut); line-height: 1.5; }

.time-line { text-align: center; color: var(--mut); font-size: 0.9rem; margin: 34px 0 14px; font-weight: 550; }
.unlock-card { scroll-margin-top: 84px; }

@media (min-width: 760px) {
  main:has(#vUnlock:not(.hidden)) { max-width: 1000px; }
  .welcome { max-width: 960px; }
  .welcome > .unlock-card, .welcome > .updates-card, .welcome > .time-line { max-width: 560px; margin-left: auto; margin-right: auto; }
  .hero { padding: 64px 28px 130px; background-size: 1100px 520px, 760px 560px, auto; }
  .hero::after { height: 90px; }
  .hero-mark { width: 300px; padding-top: 54px; }
  .moon-arc { width: 420px; }
  .unlock-logo { width: 236px; }
  .hero-title { font-size: 3.2rem; }
  .hero-title span { font-size: 1.8rem; }
  .hero-hook { font-size: 1.12rem; }
  .story { padding-top: 40px; }
  .story-lead { font-size: 2.1rem; }
  .founder { display: grid; grid-template-columns: auto minmax(0, 520px); justify-content: center; align-items: center; gap: 56px; text-align: left; padding: 72px 40px; margin-top: 64px; }
  .founder-media { width: 220px; height: 220px; margin: 0; }
  .founder-photo { width: 220px; height: 220px; }
  .founder figcaption { margin: 0; }
  .founder-note { font-size: 1.45rem; }
  .benefits { grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; }
  .benefits li { flex-direction: column; padding: 26px 24px; }
  .time-line { margin-top: 52px; }
}

/* Compact email sign-up in the hero */
.hero-updates {
  max-width: 360px; margin: 26px auto 0; padding: 18px 0 0;
  border-top: 1px solid rgba(233, 210, 180, 0.18); text-align: left;
}
.hero-updates-label {
  margin: 0 0 10px; text-align: center; font-family: var(--display); font-style: italic;
  font-size: 1.02rem; color: var(--peach); letter-spacing: 0.005em;
}
.hero-updates-row {
  display: flex; align-items: center; gap: 4px; padding: 4px;
  border-radius: 999px; background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: border-color .15s ease, background .15s ease;
}
.hero-updates-row:focus-within { border-color: rgba(242, 198, 176, 0.75); background: rgba(255, 255, 255, 0.12); }
.hero-updates .updates-email {
  flex: 1; min-width: 0; min-height: 40px; margin: 0; padding: 8px 14px;
  border: 0; border-radius: 999px; background: transparent; color: #FFF8F4; font-size: 16px; box-shadow: none;
}
.hero-updates .updates-email::placeholder { color: rgba(246, 238, 244, 0.5); }
.hero-updates .updates-email:focus { outline: none; box-shadow: none; }
.hero-updates .updates-btn {
  flex: none; margin: 0; min-height: 40px; padding: 8px 18px; border: 0;
  background: var(--peach); color: var(--plum-900); font-weight: 650; font-size: 0.92rem;
}
.hero-updates .updates-btn:hover { background: #F6D3C1; }
.hero-updates .updates-btn:focus-visible { outline: 2px solid #FFF8F4; outline-offset: 2px; }
.hero-updates-ack {
  margin: 12px 4px 0; font-size: 0.78rem; line-height: 1.45; color: rgba(246, 238, 244, 0.7);
}
.hero-updates-ack input[type="checkbox"] {
  -webkit-appearance: none; appearance: none; width: 18px; height: 18px; min-width: 18px; margin: 1px 0 0;
  border: 1.5px solid rgba(242, 198, 176, 0.7); border-radius: 5px; background: transparent;
  display: grid; place-items: center; transition: background .15s ease, border-color .15s ease;
}
.hero-updates-ack input[type="checkbox"]::after {
  content: ""; width: 5px; height: 9px; margin-top: -2px; border: solid var(--plum-900);
  border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .12s ease;
}
.hero-updates-ack input[type="checkbox"]:checked { background: var(--peach); border-color: var(--peach); }
.hero-updates-ack input[type="checkbox"]:checked::after { transform: rotate(45deg) scale(1); }
.hero-updates-ack input[type="checkbox"]:focus-visible { outline: 2px solid #FFF8F4; outline-offset: 2px; }
.hero-updates-ack .nw { white-space: nowrap; }
.hero-updates-ack a { color: var(--peach); font-weight: 600; text-underline-offset: 2px; }
.hero-updates .updates-msg { margin: 8px 4px 0; min-height: 0; font-size: 0.82rem; text-align: center; }
.hero-updates .updates-msg:empty { display: none; }
.hero-updates .updates-msg.ok { color: #BFE3D2; }
.hero-updates .updates-msg.err { color: #FFC9C1; }

/* One-time email prompt after a journal is created */
.updates-dlg { max-width: 440px; padding: 28px 26px 22px; text-align: left; }
.updates-dlg::backdrop { background: rgba(31, 10, 46, 0.55); backdrop-filter: blur(2px); }
.updates-dlg-mark {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin: 0 0 14px;
}
.updates-dlg-mark svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.updates-dlg h2 { font-size: 1.4rem; line-height: 1.2; margin: 0 0 8px; color: var(--ink); }
.updates-dlg .lede { font-size: 0.95rem; line-height: 1.55; margin: 0 0 16px; }
.updates-dlg .chk { margin: 14px 0 6px; font-size: 0.92rem; }
.updates-dlg .primary { width: 100%; margin: 10px 0 0; }
.updates-dlg .updates-later { width: 100%; margin: 8px 0 0; color: var(--mut); border-color: transparent; }
.updates-dlg .updates-later:hover { background: var(--accent-soft); color: var(--ink); }
.updates-dlg .updates-msg:empty { display: none; }
.updates-dlg .updates-links { margin-top: 10px; font-size: 0.85rem; }

/* After a successful sign-up, swap the form for the thank-you line */
.updates-done > label, .updates-done .hero-updates-row, .updates-done .updates-btn, .updates-done .updates-later, .updates-done .updates-links { display: none !important; }
.updates-dlg.updates-done .updates-msg { margin: 6px 0 4px; padding: 12px 14px; border-radius: 12px; background: var(--sage-soft); }
.hero-updates.updates-done .updates-msg { font-size: 0.95rem; margin-top: 4px; }
.hero-updates.updates-done .hero-updates-label { display: none; }

/* founder quote above weekly check-in */
.checkin-quote { max-width: none; margin: 0 0 18px; padding: 14px 0 0; border-top: 0; text-align: center; background: linear-gradient(var(--rose),var(--rose)) center top / 40px 2px no-repeat; }
.checkin-quote blockquote { margin: 0; font-family: var(--display); font-style: italic; font-size: 0.9rem; line-height: 1.45; color: var(--plum-900); text-wrap: pretty; }
.checkin-quote figcaption { margin-top: 6px; font-family: var(--display); font-size: 0.82rem; color: var(--ink); font-weight: 500; }
.checkin-quote figcaption::before { content: "— "; color: var(--rose); }
.checkin-quote figcaption span { margin-left: 6px; font-family: var(--sans); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rose); font-weight: 650; }

/* supplements "tell us more" toggle */
.supp-more-btn { display: inline-flex; align-items: center; margin-top: 14px; padding: 9px 16px; border-radius: 999px; border: 1.5px dashed var(--accent-2); background: var(--accent-soft); color: var(--accent); font: inherit; font-size: 0.92rem; font-weight: 600; cursor: pointer; }
.supp-more-btn:hover { background: #E7DAF0; }
.supp-more-btn[aria-expanded="true"] { border-style: solid; }
#suppMore { margin-top: 14px; }
#suppMore textarea { width: 100%; }


/* Same-as-last-week collapsed sections */
.block.is-collapsed { padding-top: 16px; padding-bottom: 16px; }
.block.is-collapsed h3 { margin-bottom: 8px; }
.stable-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.stable-copy { min-width: 0; flex: 1; }
.stable-same {
  margin: 0 0 2px;
  color: var(--accent);
  font-weight: 650;
  font-size: 0.95rem;
}
.stable-vals {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.4;
  font-weight: 400;
}
.stable-edit {
  flex-shrink: 0;
  margin: 0;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 650;
  cursor: pointer;
  min-height: 0;
}
.stable-edit:hover { background: #E7DAF0; }
.block.is-collapsed .stable-body { display: none; }

/* Weekly reminder on the saved screen */
#calReminderMsg { min-height: 1.2em; margin: 6px 0 0; }

/* How-it-is-different strip */
.diff { max-width: 34rem; margin: 28px auto 8px; padding: 26px 22px 20px; background: #fff; border-radius: 22px; box-shadow: 0 10px 30px -18px rgba(42,15,61,.35); }
.diff-title { margin: 0 0 6px; font-family: var(--display); font-size: 1.3rem; font-weight: 500; line-height: 1.2; color: var(--plum-900); text-align: center; }
.diff-sub { margin: 8px auto 18px; max-width: 26em; text-align: center; color: var(--ink); opacity: .78; font-size: .98rem; line-height: 1.45; }
.diff-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.diff-list li { display: grid; grid-template-columns: 14px 1fr; gap: 12px; align-items: start; padding-top: 14px; border-top: 1px solid var(--accent-soft); }
.diff-dot { width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 4px rgba(201,138,125,.18); }
.diff-list strong { display: block; font-weight: 650; color: var(--plum-900); font-size: 1rem; }
.diff-list p { margin: 3px 0 0; color: var(--ink); opacity: .8; font-size: .93rem; line-height: 1.45; }


/* Companion check-in */
#checkinHello {
  font-family: "Newsreader", var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 0.3em;
}
.loop-back {
  margin: 0 0 14px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.95rem;
  line-height: 1.45;
}
.step-progress {
  margin: 4px 0 10px;
  text-align: center;
  color: var(--mut);
  font-size: 0.88rem;
  font-weight: 650;
}
.step-nav {
  position: sticky;
  bottom: 0;
  z-index: 8;
  display: flex;
  gap: 10px;
  margin: 8px -16px 0;
  padding: 16px 16px calc(14px + var(--safe-b));
  background: linear-gradient(to bottom, rgba(245, 241, 246, 0), var(--bg) 32%);
}
.step-nav .ghost, .step-nav .primary {
  flex: 1;
  width: auto;
  margin: 0;
}
.step-nav .ghost:disabled {
  opacity: 0;
  pointer-events: none;
}
.checkin-step h3:focus { outline: none; }
.checkin-step { scroll-margin-top: 76px; }

@media (max-width: 720px) {
  #tCheckin.stepped .checkin-step { display: none; }
  #tCheckin.stepped .checkin-step.is-current { display: block; }
  #tCheckin.stepped:not(.is-step-0) .checkin-quote,
  #tCheckin.stepped:not(.is-step-0) .form-intro { display: none; }
  #tCheckin.stepped .num { display: none; }
}

/* Default anonymous sharing: switch */
.switch-row { display: flex; align-items: center; gap: 12px; cursor: pointer; margin: 14px 0 8px; font-weight: 400; -webkit-tap-highlight-color: transparent; }
.switch-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-row .switch { position: relative; flex: 0 0 auto; width: 48px; height: 28px; border-radius: 999px; background: var(--bd); transition: background .15s; }
.switch-row .switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .15s; }
.switch-row input:checked + .switch { background: var(--accent); }
.switch-row input:checked + .switch::after { transform: translateX(20px); }
.switch-row input:focus-visible + .switch { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.share-note { background: var(--accent-soft); border-radius: 12px; padding: 10px 12px; color: var(--ink); margin: 12px 0; }
#dlgConsent .lede b { font-weight: 600; color: var(--ink); }
#sharePanel .row .linkish { width: auto; margin: 0 8px 8px 0; }

/* Hero companion line */
.hero-companion { max-width: 26em; margin: -10px auto 22px; font-family: var(--display); font-style: italic; font-size: .98rem; line-height: 1.5; color: var(--champagne); opacity: .9; text-wrap: balance; }
.hero-companion span { display: block; margin-top: 0.35em; }

/* Example weekly picture (sample data) */
.ex { margin: 22px 0 4px; padding: 16px 14px 14px; border-radius: 18px; background: var(--ivory); border: 1px dashed rgba(201,138,125,.55); }
.ex-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ex-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--plum-700); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ex-note { font-size: .78rem; color: var(--mut); }
.ex-cap { text-wrap: pretty; margin: 10px 0 12px; font-size: .95rem; line-height: 1.35; color: var(--plum-900); }

/* Early recognition card */
.familiar { position: relative; max-width: 34rem; margin: 18px auto 8px; padding: 22px 22px 18px; border-radius: 22px; background: linear-gradient(160deg, #FFF9F4, var(--blush)); border: 1px solid rgba(201,138,125,.35); }
.familiar-x { position: absolute; top: 8px; right: 10px; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--mut); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.familiar-x:hover { background: rgba(81,27,116,.06); }
.familiar-title { margin: 0 0 10px; font-family: var(--display); font-size: 1.35rem; font-weight: 500; color: var(--plum-900); }
.familiar-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.familiar-list li { position: relative; padding-left: 20px; font-size: .95rem; line-height: 1.45; color: var(--ink); }
.familiar-list li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--rose); }
.familiar-foot { margin: 12px 0 14px; font-family: var(--display); font-style: italic; color: var(--plum-700); }
.familiar-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.familiar-cta { display: inline-block; padding: 10px 20px; border-radius: 999px; background: var(--plum-700); color: #fff; text-decoration: none; font-weight: 650; font-size: .92rem; }
.familiar-actions .linkish { width: auto; margin: 0; }

/* Compact "How you've been" */
.ratings-compact { display: grid; gap: 4px; }
.ratings-compact .range { margin: 4px 0; }
.impact { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--bd); }
.impact-q { margin-bottom: 6px; }
.tap5 { display: grid; gap: 4px; margin: 10px 0; }
.tap5-l { font-size: .92rem; color: var(--ink); }
.tap5-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.tap { display: block; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.tap input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tap span { display: flex; align-items: center; justify-content: center; height: 40px; border-radius: 12px; border: 1px solid var(--bd); background: #fff; font-weight: 600; color: var(--plum-700); font-variant-numeric: tabular-nums; }
.tap input:checked + span { background: var(--plum-700); border-color: var(--plum-700); color: #fff; }
.tap input:focus-visible + span { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.tap5-ends { display: flex; justify-content: space-between; font-size: .72rem; color: var(--mut); }

/* Pinned usual symptoms */
.sym-chips .chip.pinned { order: -1; }
.sym-chips .chip.pinned span::before { content: "★ "; color: #C9A27A; }
.sym-chips.pinning .chip span { border-style: dashed; }
.sym-chips.pinning .chip.pinned span { border-style: solid; border-color: #C9A27A; background: #FBF3E6; }
.sym-tools { display: flex; gap: 16px; flex-wrap: wrap; margin: 10px 0 6px; }
.sym-tools .linkish { width: auto; margin: 0; }
.pin-hint { margin: 4px 0 8px; }

/* Low-mood support card */
.carry { border: 1px solid rgba(201,138,125,.45); background: linear-gradient(160deg, #FFFCFF, var(--blush)); }
.carry h2 { font-family: var(--display); font-weight: 500; color: var(--plum-900); }
.carry-links { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.carry-links > li > a { font-weight: 650; color: var(--plum-700); }
.carry-links .hint { display: block; margin-top: 2px; }
.carry-inline { margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; font-size: .93rem; line-height: 1.5; }
.carry-inline a { color: var(--plum-700); font-weight: 650; }


/* One-page doctor brief (also embedded in the downloaded copy) */
.brief{--b-ink:#2A1B33;--b-mut:#5E5168;--b-acc:#511B74;--b-bd:rgba(81,27,116,.14);color:var(--b-ink);font:13px/1.4 "Avenir Next","Segoe UI","Helvetica Neue",system-ui,sans-serif;background:#fff}
.brief header{display:flex;align-items:center;gap:14px;border-bottom:2px solid var(--b-acc);padding-bottom:8px;margin-bottom:10px}
.brief .b-logo{width:86px;height:auto;flex:0 0 auto}
.brief h1{font-family:Palatino,"Palatino Linotype",Georgia,serif;font-size:1.3rem;margin:0;font-weight:600;color:var(--b-acc)}
.brief .b-meta{color:var(--b-mut);margin:2px 0 0;font-size:12px}
.brief .b-ex{text-align:center;background:#F0E7F5;color:var(--b-acc);padding:6px 10px;border-radius:8px;font-weight:600;font-size:12px;margin:0 0 8px}
.brief .b-cols{display:grid;grid-template-columns:1fr 1fr;gap:6px 18px}
.brief section{break-inside:avoid;margin:0}
.brief h2{font-family:Palatino,Georgia,serif;font-size:.98rem;color:var(--b-acc);margin:8px 0 4px;border-bottom:1px solid var(--b-bd);padding-bottom:2px;font-weight:600}
.brief p{margin:0 0 4px}
.brief ul{margin:0;padding:0;list-style:none}
.brief ul li{display:flex;justify-content:space-between;gap:8px;padding:2px 0;border-bottom:1px dotted var(--b-bd);margin:0}
.brief li b{font-weight:600;color:var(--b-acc);white-space:nowrap;font-variant-numeric:tabular-nums}
.brief ol{margin:0;padding-left:1.2em}
.brief ol li{padding:1px 0;margin:0}
.brief .b-trend{display:grid;grid-template-columns:1fr auto 110px;gap:8px;align-items:center;padding:2px 0;border-bottom:1px dotted var(--b-bd)}
.brief .b-trend svg{width:110px;height:24px}
.brief .b-tn{font-weight:600}
.brief .b-tv{color:var(--b-acc);font-weight:700;font-variant-numeric:tabular-nums;font-size:12px;white-space:nowrap}
.brief .b-hint{color:var(--b-mut);font-size:11px;font-weight:400}
.brief .b-none{color:var(--b-mut)}
.brief .b-sub{font-family:"Avenir Next","Segoe UI",system-ui,sans-serif;font-size:.62em;color:var(--b-mut);font-weight:400}
.brief .b-tight{margin:0 0 2px;font-size:12px}
.brief .b-note{margin:3px 0 0;font-size:11.5px;color:#4A3A10;background:#FBF6EA;border-left:3px solid #E6D0A8;padding:2px 6px;border-radius:4px}
.brief .b-warn{background:#FBF3E6;border:1px solid #E6D0A8;color:#6A4A12;padding:4px 8px;border-radius:6px;font-size:12px}
.brief .b-foot{margin-top:10px;padding-top:6px;border-top:1px solid var(--b-bd);color:var(--b-mut);font-size:10.5px;text-align:center}
@media (max-width:640px){.brief .b-cols{grid-template-columns:1fr}}
@media print{@page{size:letter;margin:10mm}.brief{font-size:10.5px;line-height:1.3}.brief .b-cols{grid-template-columns:1fr 1fr;gap:2px 16px}.brief h2{font-size:.92rem;margin:5px 0 2px}.brief .b-tight,.brief .b-meta,.brief .b-tv{font-size:10.5px}.brief .b-hint{font-size:9.5px}.brief .b-note{font-size:10px}.brief .b-trend{padding:1px 0}.brief .b-trend svg{height:16px}.brief ul li{padding:1px 0}.brief .b-logo{width:64px}.brief .b-foot{font-size:9px;margin-top:6px}}
#docBrief{margin:12px 0 0;padding:16px;border:1px solid var(--bd);border-radius:16px;overflow-x:auto}
@media print{#tDoc>h2,#tDoc>.muted{display:none!important}#docBrief{border:0;padding:0;margin:0}body{padding:0!important}main,#vApp,#tDoc{margin:0!important;padding:0!important;max-width:none!important}}
#tCheckin .sym-tools { gap: 6px 18px; margin: 8px 0 4px; }
#tCheckin .sym-tools .linkish { width: auto; flex: 0 0 auto; margin: 0; padding: 6px 0; font-size: .92rem; }


/* ==========================================================
   Front page reboot: microdosing + cycle tracking (Nov 2026)
   ========================================================== */
.hero-title { margin-bottom: 22px; text-wrap: balance; }
.hero-title span { text-wrap: balance; }
.hero-feats {
  list-style: none; margin: 0 auto 22px; padding: 0; max-width: 340px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.hero-feats li {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 600; line-height: 1.25; color: #FFF8F4; letter-spacing: 0.01em;
}
.hf-icon {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(233, 210, 180, 0.08); border: 1px solid rgba(233, 210, 180, 0.42);
  color: var(--champagne); box-shadow: 0 0 18px rgba(242, 198, 176, 0.12);
}
.hf-icon svg, .diff-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.hf-icon svg .fill, .diff-icon svg .fill { fill: currentColor; stroke: none; }
.hero-hook { margin-bottom: 18px; }
.hero-more {
  display: inline-flex; align-items: center; gap: 6px; padding: 11px 22px; border-radius: 999px;
  color: #FFF8F4; text-decoration: none; font-weight: 600; font-size: 0.95rem;
  border: 1px solid rgba(233, 210, 180, 0.5); background: rgba(255, 255, 255, 0.04);
  transition: background .15s ease, border-color .15s ease;
}
.hero-more:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(242, 198, 176, 0.85); }
.hero-more:focus-visible { outline: 2px solid #FFF8F4; outline-offset: 3px; }
.hero-more svg { width: 16px; height: 16px; fill: none; stroke: var(--peach); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-meta { margin-top: 14px; }
.story { scroll-margin-top: 72px; }

/* Mission band */
.mission {
  position: relative; max-width: 34rem; margin: 28px auto 0; padding: 30px 26px 30px; text-align: center;
  border-radius: 24px; color: #F6EEF4; overflow: hidden;
  background:
    radial-gradient(closest-side, rgba(242, 198, 176, 0.28), rgba(242, 198, 176, 0)) 50% 100% / 420px 240px no-repeat,
    linear-gradient(180deg, var(--plum-950), #3A1352);
  box-shadow: 0 18px 40px -22px rgba(42, 15, 61, 0.6);
}
.mission-art { display: block; width: 168px; height: auto; margin: 0 auto 14px; overflow: visible; }
.mission-art .line { fill: none; stroke: var(--champagne); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.mission-art .thin { stroke-width: 1; opacity: .7; }
.mission-art .ground { fill: none; stroke: rgba(233, 210, 180, 0.35); stroke-width: 1; stroke-dasharray: 2 5; }
.mission-art .mo { fill: rgba(31, 10, 46, 0.6); stroke: rgba(233, 210, 180, 0.45); stroke-width: 1; }
.mission-art .ml { fill: var(--champagne); }
.mission-art .star { fill: rgba(233, 210, 180, 0.6); }
.mission-eyebrow {
  margin: 0 0 12px; font-family: var(--sans); font-size: 0.72rem; font-weight: 650;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--peach);
}
.mission-text {
  margin: 0 auto; max-width: 24em; font-family: var(--display); font-weight: 450;
  font-size: 1.22rem; line-height: 1.45; color: #FFF8F4; text-wrap: pretty;
}
.mission-sub { margin: 16px auto 0; font-size: 0.92rem; color: rgba(246, 238, 244, 0.75); }

/* Point icons */
.diff-list li { grid-template-columns: 38px 1fr; gap: 14px; }
.diff-icon {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--plum-900); color: var(--champagne);
}
.diff-icon svg { width: 22px; height: 22px; }
.diff-list strong { margin-top: 1px; }


/* Main button, now after the story */
.journal-cta { text-align: center; margin: 36px 0 18px; }
.journal-cta .hero-cta {
  background: linear-gradient(180deg, #5E2384, var(--plum-900)); color: #FFF8F4;
  box-shadow: 0 12px 28px -10px rgba(42, 15, 61, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  padding: 16px 34px;
}
.journal-cta .hero-cta:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.journal-cta .time-line { margin: 12px 0 0; }

@media (min-width: 760px) {
  .hero-feats { max-width: 500px; gap: 16px; margin-bottom: 26px; }
  .hero-feats li { font-size: 0.88rem; }
  .hf-icon { width: 54px; height: 54px; }
  .hf-icon svg { width: 28px; height: 28px; }
  .mission { margin-top: 48px; padding: 40px 48px; }
  .mission-text { font-size: 1.4rem; }
  .journal-cta { margin-top: 52px; }
}

/* Mission inside the hero, under the title */
.mission.mission-hero { max-width: 24rem; margin: 6px auto 24px; padding: 20px 20px 22px; background: rgba(255,255,255,0.05); border: 1px solid rgba(233,210,180,0.28); box-shadow: none; }
.mission-hero .mission-art { width: 120px; margin-bottom: 8px; }
.mission-hero .mission-text { font-size: 1.12rem; }
.mission-hero .mission-sub { margin-top: 10px; font-size: .86rem; }

.hero-scroll { margin: 22px auto 0; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .82rem; letter-spacing: .04em; color: rgba(246,238,244,.7); text-decoration: none; }
a.hero-scroll:hover { color: #FFF8F4; }
.welcome > .ex { max-width: 34rem; margin: 8px auto 24px; scroll-margin-top: 72px; }
@media (min-width: 760px) {
  .hero-companion { font-size: 1.08rem; max-width: 34em; }
  .welcome > .ex { margin-top: 4px; margin-bottom: 32px; }
}
.hero-scroll svg { width: 20px; height: 20px; fill: none; stroke: var(--champagne); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; animation: heroNudge 2.4s ease-in-out infinite; }
@keyframes heroNudge { 0%,100% { transform: translateY(0); opacity: .7; } 50% { transform: translateY(4px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero-scroll svg { animation: none; } }

.hero-updates-sub { max-width: 22em; margin: -4px auto 12px; font-size: .85rem; line-height: 1.45; color: rgba(246,238,244,.72); text-wrap: balance; }

/* Rhythm wave example (front page) */
.ex { background: #fff; border-style: solid; border-color: rgba(201,138,125,.28); }
.wave { display: grid; grid-template-columns: 76px minmax(0, 1fr); column-gap: 8px; row-gap: 7px; align-items: center; margin-top: 4px; }
.wave-lanes { display: contents; }
.wave-plot { display: block; }
.wave-svg { display: block; width: 100%; height: auto; overflow: visible; }
.wave-lab { font-size: .74rem; line-height: 1.15; color: var(--plum-900); opacity: .82; }
.wave-felt { align-self: stretch; position: relative; }
.wave-felt b { position: absolute; left: 0; top: 58%; transform: translateY(-50%); font-weight: 650; font-size: .74rem; color: var(--plum-900); }
.wave-felt .wave-y {
  position: absolute; right: 0; left: auto;
  font-size: .62rem; font-weight: 550; letter-spacing: 0; text-transform: none;
  font-variant-numeric: tabular-nums; color: var(--mut); opacity: .9;
}
.wave-y-max { top: 26.5%; transform: translateY(-50%); }
.wave-y-min { top: 92.2%; transform: translateY(-50%); }
.wave-svg .wg-h { stroke: rgba(63,20,92,.12); stroke-dasharray: none; }
.wave-cells { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); justify-items: center; align-items: center; height: 22px; border-radius: 999px; background: linear-gradient(90deg, rgba(246,235,234,.0), rgba(246,235,234,.75) 12%, rgba(246,235,234,.75) 88%, rgba(246,235,234,0)); }
.wave-cells .wv { display: block; width: 9px; height: 9px; border-radius: 50%; }
.wv-off { width: 3px !important; height: 3px !important; background: rgba(63,20,92,.16); }
.wv-micro { width: 16px !important; height: 16px !important; border-radius: 0 !important; color: #C59A4E; }
.wv-micro svg { display: block; width: 100%; height: 100%; fill: rgba(217,185,138,.35); stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.wv-supp { background: linear-gradient(180deg, #E4C68E, #C9A27A); box-shadow: 0 0 0 3px rgba(201,162,122,.16); }
.wv-support { background: #fff; border: 2px solid var(--rose); width: 10px !important; height: 10px !important; }
.wave-wks { background: none; height: auto; }
.wave-wks i { font-style: normal; font-size: .64rem; letter-spacing: .04em; color: var(--mut); }
.wave-svg .wm-o { fill: #F6EFF5; stroke: rgba(197,154,78,.55); stroke-width: .9; }
.wave-svg .wm-l { fill: #E2C28E; }
.wave-svg .wg { stroke: rgba(63,20,92,.07); stroke-width: 1; stroke-dasharray: 2 4; }
.wave-svg .ws1 { stop-color: #3F145C; }
.wave-svg .ws2 { stop-color: #8E4F8A; }
.wave-svg .ws3 { stop-color: #C98A7D; }
.wave-svg .wf1 { stop-color: #C98A7D; stop-opacity: .26; }
.wave-svg .wf2 { stop-color: #C98A7D; stop-opacity: 0; }
.wave-svg .wave-area { fill: url(#waveFill); }
.wave-svg .wave-line { fill: none; stroke: url(#waveStroke); stroke-width: 3.2; stroke-linecap: round; }
.wave-svg .wp { fill: #fff; stroke: #8E4F8A; stroke-width: 1.6; }
@media (min-width: 640px) { .ex { padding: 18px 20px 16px; } .wave { grid-template-columns: 96px minmax(0, 1fr); column-gap: 12px; } .wave-lab, .wave-felt b { font-size: .82rem; } .wave-cells { height: 26px; } }

/* Read section (posts/*.md -> read/*.html and the in-app Read tab) */
a.btnlink {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--bd); border-radius: 999px; padding: 11px 18px; margin: 4px 4px 4px 0;
  min-height: 44px; color: var(--ink); text-decoration: none; font-size: 1rem; line-height: 1.2;
  transition: background .15s ease, border-color .15s ease;
}
a.btnlink:hover { background: var(--accent-soft); border-color: #D8C4CB; }
a.btnlink.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.topbtns a.btnlink { padding: 8px 14px; min-height: 40px; font-size: 15px; margin: 0; }
body:has(#vUnlock:not(.hidden)) .topbtns a.btnlink { color: #F6EEF4; border-color: rgba(255, 255, 255, 0.25); }
body:has(#vUnlock:not(.hidden)) .topbtns a.btnlink:hover { background: rgba(255, 255, 255, 0.08); }
body:has(#vApp:not(.hidden)) #lnkRead { display: none; }
.brand-link { text-decoration: none; color: inherit; }

.read-list-wrap { padding: 18px 6px 0; }
.read-title {
  font-family: "Newsreader", var(--serif); font-weight: 500; font-size: 2.1rem;
  letter-spacing: -0.025em; line-height: 1.15; margin: 0.2em 0 0.35em;
}
.read-kicker {
  display: block; font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent-2); margin: 0 0 6px;
}
.read-list { list-style: none; margin: 8px 0 0; padding: 0; }
.read-list li { margin: 0; }
.read-card {
  display: block; width: 100%; text-align: left; text-decoration: none; color: var(--ink);
  background: var(--card); border: 1px solid var(--bd-soft); border-radius: var(--radius);
  padding: 22px 22px 20px; margin: 12px 0; box-shadow: var(--shadow);
  transition: border-color .15s ease, transform .15s ease;
}
.read-card:hover { border-color: #D8C4CB; transform: translateY(-1px); }
.read-card-title {
  display: block; font-family: "Newsreader", var(--serif); font-size: 1.45rem; font-weight: 500;
  letter-spacing: -0.02em; line-height: 1.22; margin: 0 0 8px; color: var(--ink);
}
.read-card-desc { display: block; color: var(--mut); font-size: 15.5px; line-height: 1.5; }
.read-more { display: inline-block; margin-top: 12px; color: var(--accent); font-weight: 600; font-size: 14.5px; }
#tRead .read-card { box-shadow: none; background: var(--bg-2); }

.read-article { padding-top: 18px; }
.read-article.card { padding: 26px 24px 22px; margin-top: 18px; }
.read-dek { font-size: 1.08rem; margin-bottom: 1em; }
.read-back { margin: 0 0 10px; font-size: 14px; }
.read-back a { color: var(--accent); text-decoration: none; font-weight: 600; }
.read-back .link { margin: 0; font-size: 14px; color: var(--accent); font-weight: 600; text-decoration: none; }
.read-back-end { margin: 26px 0 0; padding-top: 14px; border-top: 1px solid var(--bd-soft); }
.read-takeaways {
  background: var(--accent-soft); border: 1px solid #E2D2EC; border-radius: 16px;
  padding: 16px 20px 12px; margin: 6px 0 22px;
}
.read-takeaways h2 {
  font-family: var(--sans); font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 8px;
}
.read-takeaways ul { margin: 0; padding-left: 1.15em; }
.read-takeaways li { margin: 0 0 8px; line-height: 1.45; }
.read-body { font-size: 17.5px; line-height: 1.7; }
.read-body h2 {
  font-family: "Newsreader", var(--serif); font-weight: 500; font-size: 1.5rem;
  margin: 1.6em 0 0.45em; letter-spacing: -0.02em;
}
.read-body h3 { margin: 1.3em 0 0.4em; }
.read-body p { margin: 0 0 1em; }
.read-body ul, .read-body ol { margin: 0 0 1.1em; padding-left: 1.2em; }
.read-body li { margin: 0 0 0.6em; }
.read-body a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
.read-body strong { color: var(--ink); font-weight: 650; }
.read-body hr { border: 0; border-top: 1px solid var(--bd); margin: 2em 0 1.2em; }
.read-body hr + p { font-size: 13.5px; line-height: 1.55; color: var(--mut); }
.read-body blockquote { margin: 1.2em 0; padding: 4px 0 4px 16px; border-left: 3px solid var(--accent-2); color: var(--mut); }
@media (max-width: 520px) {
  .read-title { font-size: 1.75rem; }
  .read-article.card { padding: 22px 18px 18px; }
  .read-body { font-size: 17px; }
  .topbtns a.btnlink { padding: 7px 12px; font-size: 14px; }
}
@media print { .read-page .top, .read-page footer, .read-back { display: none !important; } }
#tRead { scroll-margin-top: 84px; }
.topbtns a.btnlink { line-height: 1; padding-top: 0; padding-bottom: 0; height: 44px; }
@media (max-width: 440px) {
  .tabs button { padding: 9px 9px; font-size: 13.5px; }
}

/* Family and work (optional, step 1) */
.family-block { margin-top: 8px; }
.family-block .q { margin: 14px 0 8px; font-weight: 600; font-size: 15px; }
.family-block .chips { margin-bottom: 2px; }

/* About your body (optional, on-device only) */
.body-block { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--bd-soft); }
.body-title { font-family: var(--serif); font-size: 1.08rem; font-weight: 600; margin: 0 0 4px; }
.body-intro { margin: 0 0 10px; }
.body-q { margin: 12px 0 8px; font-weight: 600; font-size: 15px; }
.body-chips .chip span { font-size: 14.5px; }
.body-private { margin-top: 12px; font-size: 12.5px; }
.cycle-note { background: var(--sage-soft); color: var(--sage); border-radius: 12px; padding: 10px 14px; margin: 14px 0 4px; }
@media (max-width: 440px) { .tabs { gap: 0; } .tabs button { padding: 9px 6px; font-size: 13px; } }
@media (max-width: 390px) { .tabs button { padding: 8px 5px; font-size: 12.5px; letter-spacing: -0.01em; } }

/* Mood, cycle, movement and self-care steps (Nov 14, 2026) */
.mood-safety { margin: 12px 0 4px; padding: 10px 14px; border-radius: 14px; border: 1px solid rgba(201,138,125,.45); background: linear-gradient(160deg, #FFFCFF, #FBEFF0); font-size: .93rem; line-height: 1.5; }
.mood-safety p { margin: 0; }
.mood-safety a { color: var(--plum-700, #511B74); font-weight: 650; }
.stack-chips { flex-direction: column; align-items: flex-start; }
.stack-chips .chip span { border-radius: 16px; }
.sym-lesser { margin: 8px 0 4px; font-size: .9rem; }
.week-strip { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 6px; }
.week-strip li { display: grid; grid-template-columns: 48px 52px 1fr; grid-template-areas: "d m mv" "d m c"; gap: 0 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--bd-soft); border-radius: 12px; background: #fff; font-size: .9rem; }
.week-strip .ws-date { grid-area: d; color: var(--mut); font-variant-numeric: tabular-nums; }
.week-strip .ws-mood { grid-area: m; font-weight: 700; color: var(--accent); font-size: 1.1rem; line-height: 1.1; }
.week-strip .ws-mood small { display: block; font-size: .7rem; font-weight: 400; color: var(--mut); }
.week-strip .ws-move { grid-area: mv; }
.week-strip .ws-conn { grid-area: c; color: var(--mut); font-size: .85rem; }
.pattern-note { font-size: .9rem; }
.read-further { margin-top: 28px; }
.read-further h2, .read-further h3 { font-family: var(--display); font-weight: 500; }
.read-further h3 { font-size: 1.15rem; margin: 18px 0 0; }
.read-further .rf-blurb { margin-top: 2px; margin-bottom: 4px; }
.read-further .rf-note { margin-top: 4px; }
.read-further ul { list-style: none; padding: 0; margin: 8px 0 18px; display: grid; gap: 12px; }
.read-further li a { font-weight: 650; color: var(--plum-700, #511B74); }
.read-further .rf-src { display: block; font-size: .82rem; color: var(--mut); }
.read-further .rf-desc { display: block; font-size: .92rem; margin-top: 2px; }
.chip-group-label { margin: 12px 0 6px; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--mut); font-weight: 600; }
.move-lede { margin-bottom: .6em; }

/* Live rhythm wave on My trends (data-driven; no Example / Sample badges) */
.dash-wave { margin: 8px 0 18px; }
.wave-legend { margin: 0 0 8px; font-size: .9rem; line-height: 1.4; color: var(--plum-900); }
.wave-start { margin: 0 0 10px; font-family: var(--display); font-style: italic; font-size: .98rem; line-height: 1.4; color: var(--plum-700); }
.wave-caveat { margin: 10px 0 0; font-size: .85rem; }
.wave.wave-live {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  column-gap: 8px;
  align-items: stretch;
  margin-top: 4px;
}
.wave-live .wave-labs,
.wave-live .wave-track {
  display: grid;
  grid-template-rows: 112px repeat(5, 22px) auto;
  row-gap: 7px;
  align-items: center;
}
.wave-live .wave-scroll { min-width: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.wave-live .wave-track { min-width: 100%; }
.wave-over .wave-track { width: max-content; min-width: 100%; }
.wave-live .wave-plot { display: block; line-height: 0; }
.wave-live .wave-svg { width: 100%; height: 112px; overflow: visible; }
.wave-over .wave-svg { width: auto; }
.wave-live .wave-cells {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(246,235,234,.0), rgba(246,235,234,.75) 12%, rgba(246,235,234,.75) 88%, rgba(246,235,234,0));
}
.wave-live .wave-cells > .wv-slot {
  flex: 1 1 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}
.dash-wave .wave-svg .wave-area { fill: url(#dashWaveFill); }
.dash-wave .wave-svg .wave-line { fill: none; stroke: url(#dashWaveStroke); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.wave-live .wave-wks { background: none; height: auto; }
.wave-live .wave-wks i {
  font-style: normal;
  font-size: .58rem;
  letter-spacing: 0;
  color: var(--mut);
  white-space: nowrap;
}
.wv-move { background: #6E4A7A; box-shadow: 0 0 0 3px rgba(110,74,122,.14); }
.wv-conn { background: #C98A7D; box-shadow: 0 0 0 3px rgba(201,138,125,.16); }
.wave-svg .wp-hit { fill: transparent; stroke: none; cursor: pointer; }
.wave-svg .wp-on { fill: #8E4F8A; }
.wave-detail {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--ink);
  font-size: .88rem;
  line-height: 1.45;
  min-height: 3.2em;
}
.wave-pick {
  list-style: none;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 8px 0 0;
  padding: 0 0 4px;
}
.wave-pick li { margin: 0; flex: 0 0 auto; }
.wave-pick button {
  appearance: none;
  border: 1px solid var(--bd-soft);
  background: #fff;
  color: var(--plum-900);
  border-radius: 999px;
  padding: 6px 10px;
  min-height: 36px;
  font-size: .78rem;
  white-space: nowrap;
  cursor: pointer;
}
.wave-pick button[aria-pressed="true"] {
  background: var(--plum-700);
  border-color: var(--plum-700);
  color: #fff;
}
.dash-details { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin: 8px 0 16px; }
.dash-details .tile { padding: 10px; border-radius: 12px; }
.dash-details .tv { font-size: 1.25rem; margin: 2px 0 4px; }
.dash-details .spark { height: 40px; }
@media (min-width: 640px) {
  .wave.wave-live { grid-template-columns: 96px minmax(0, 1fr); column-gap: 12px; }
  .wave-live .wave-labs,
  .wave-live .wave-track { grid-template-rows: 128px repeat(5, 22px) auto; }
  .wave-live .wave-svg { height: 128px; }
  .wave-live .wave-cells { height: 26px; }
  .wave-live .wave-lab, .wave-live .wave-felt b { font-size: .82rem; }
}
@media (prefers-reduced-motion: reduce) {
  .dash-wave * { transition: none; }
}

#startJournal { scroll-margin-top: 84px; }
#vUnlock.welcome { padding-bottom: 28vh; }
.unlock-alt { margin: 8px 0 0; }
#vUnlock .unlock-alt .linkish {
  width: auto; margin: 0; padding: 8px 0; font-size: .9rem; font-weight: 600;
  min-height: 44px; text-align: left;
}
#newFromUnlockNote { margin: 0 0 10px; }

/* Once-or-often line (Nov 16, 2026) */
.hero-often { font-family: var(--display); font-style: italic; font-size: 1.08rem; line-height: 1.4; color: var(--peach); max-width: 22em; margin: 4px auto 0; text-wrap: balance; }
.cta-often { font-family: var(--display); font-style: italic; font-size: 1.15rem; color: var(--plum-900, #3a1250); margin: 0 0 14px; text-wrap: balance; }
.cal-label { margin: 14px 0 6px; }
.cal-row { gap: 8px; justify-content: center; flex-wrap: wrap; }
@media (min-width: 720px) { .hero-often { font-size: 1.2rem; } .cta-often { font-size: 1.3rem; } }

/* Hero reorder: about Inner State, then the check-in (Nov 16, 2026) */
.hero-often { margin: 0 auto 22px; }
.hero-forall { max-width: 24em; margin: -6px auto 0; font-family: var(--display); font-style: italic; font-size: .98rem; line-height: 1.5; color: var(--champagne); opacity: .9; text-wrap: balance; }
@media (min-width: 720px) { .hero-forall { font-size: 1.05rem; } }

/* Hero: one merged paragraph above the icons (Nov 16, 2026) */
.hero-hook.hero-one { max-width: 23em; margin: 0 auto 22px; }
.hero-hook.hero-one strong { color: var(--peach); font-weight: 600; }
.hero-feats + .hero-updates { margin-top: 18px; }

/* Hero design pass: matched About + Check-in cards (Nov 16, 2026) */
.mission-hero .mission-text-more { margin-top: .55em; }
.mission.mission-hero, .checkin-unit { width: 100%; max-width: 24rem; box-sizing: border-box; }
.mission.mission-hero { margin: 4px auto 14px; }
.checkin-unit {
  margin: 0 auto 20px; padding: 20px 20px 18px; text-align: center; border-radius: 24px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(233,210,180,0.28);
}
.checkin-unit .mission-eyebrow { margin-bottom: 10px; }
.checkin-unit .hero-hook.hero-one {
  max-width: none; margin: 0; font-size: 1rem; line-height: 1.55; color: rgba(246, 238, 244, 0.86); text-wrap: pretty;
}
.checkin-unit .hero-feats {
  max-width: none; margin: 16px 0 0; padding-top: 16px; border-top: 1px solid rgba(233,210,180,0.18);
}
.checkin-unit + .hero-updates { margin-top: 0; }
@media (min-width: 760px) {
  .mission.mission-hero, .checkin-unit { max-width: 34rem; }
  .mission.mission-hero { padding: 28px 40px 30px; margin-bottom: 18px; }
  .mission-hero .mission-text { font-size: 1.3rem; }
  .checkin-unit { padding: 26px 40px 24px; margin-bottom: 28px; }
  .checkin-unit .hero-hook.hero-one { font-size: 1.08rem; }
  .checkin-unit .hero-feats { margin-top: 20px; padding-top: 20px; }
}
/* Mobile tightening for the two hero cards */
@media (max-width: 759px) {
  .hero { padding-left: 18px; padding-right: 18px; }
  .mission.mission-hero, .checkin-unit { max-width: 26rem; padding: 18px 18px 18px; }
  .mission-hero .mission-art { width: 92px; margin-bottom: 4px; }
  .mission-hero .mission-text { font-size: 1.08rem; line-height: 1.42; }
  .checkin-unit .hero-hook.hero-one { font-size: .97rem; line-height: 1.52; }
  .checkin-unit .hero-feats { margin-top: 14px; padding-top: 14px; gap: 6px; }
  .checkin-unit .hf-icon { width: 40px; height: 40px; }
  .checkin-unit .hf-icon svg { width: 22px; height: 22px; }
  .hero-title { margin-bottom: 18px; }
}
.checkin-unit + .hero-updates { border-top: 0; padding-top: 2px; }

/* Check-in card: serif type to match About, with gold bullets (Nov 16, 2026) */
.checkin-unit .hero-one { font-family: var(--display); color: #FFF8F4; }
.checkin-intro { margin: 0 auto; max-width: 22em; font-family: var(--display); font-weight: 450; font-size: 1.08rem; line-height: 1.42; color: #FFF8F4; text-wrap: balance; }
.checkin-points { list-style: none; margin: 14px auto 0; padding: 0; width: fit-content; max-width: 100%; text-align: left; }
.checkin-points li { position: relative; padding-left: 20px; margin: 0; font-family: var(--display); font-weight: 450; font-size: 1.02rem; line-height: 1.38; color: #FFF8F4; }
.checkin-points li + li { margin-top: 7px; }
.checkin-points li::before { content: ""; position: absolute; left: 3px; top: .58em; width: 6px; height: 6px; background: var(--champagne); transform: rotate(45deg); box-shadow: 0 0 6px rgba(242,198,176,.55); }
.checkin-close { margin: 14px 0 0; font-family: var(--display); font-style: italic; font-size: 1.1rem; line-height: 1.35; }
.checkin-close strong { color: var(--peach); font-weight: 500; }
@media (min-width: 760px) {
  .checkin-intro { font-size: 1.3rem; }
  .checkin-points { margin-top: 18px; }
  .checkin-points li { font-size: 1.14rem; }
  .checkin-points li + li { margin-top: 9px; }
  .checkin-close { margin-top: 18px; font-size: 1.24rem; }
}
/* iteration: tighter bullets, no orphans, bold close */
.checkin-intro { max-width: none; text-wrap: pretty; }
.checkin-points li { text-wrap: balance; }
.checkin-close { font-style: normal; }
.checkin-close strong { font-weight: 600; }
@media (max-width: 759px) {
  .checkin-unit { padding: 16px 16px 16px; }
  .checkin-unit .mission-eyebrow { margin-bottom: 8px; }
  .checkin-intro { font-size: 1.04rem; line-height: 1.38; }
  .checkin-points { margin-top: 11px; }
  .checkin-points li { font-size: .97rem; line-height: 1.32; padding-left: 18px; }
  .checkin-points li::before { left: 2px; width: 5px; height: 5px; }
  .checkin-points li + li { margin-top: 5px; }
  .checkin-close { margin-top: 11px; font-size: 1.04rem; }
  .checkin-unit .hero-feats { margin-top: 12px; padding-top: 12px; }
  .checkin-unit .hero-feats li { gap: 6px; }
}
@media (max-width: 759px) { .checkin-intro { font-size: 1.08rem; line-height: 1.42; } }

/* Moon-phase bullets (Nov 16, 2026): waxing to full and back, like the arc above the logo */
.checkin-points li::before { content: ""; position: absolute; left: 0; top: .2em; width: 13px; height: 13px; transform: none; background: center / contain no-repeat; box-shadow: none; border-radius: 50%; filter: drop-shadow(0 0 3px rgba(242,198,176,.45)); }
.checkin-points li:nth-child(1)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Ccircle cx='7' cy='7' r='5.6' fill='rgba(31,10,46,0.6)' stroke='%23E9D2B4' stroke-opacity='0.55' stroke-width='0.9'/%3E%3Cpath d='M7,1.4000000000000004 A5.6,5.6 0 0 1 7,12.6 A2.4,5.6 0 0 0 7,1.4000000000000004Z' fill='%23E9D2B4'/%3E%3C/svg%3E"); }
.checkin-points li:nth-child(2)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Ccircle cx='7' cy='7' r='5.6' fill='rgba(31,10,46,0.6)' stroke='%23E9D2B4' stroke-opacity='0.55' stroke-width='0.9'/%3E%3Cpath d='M7,1.4000000000000004 A5.6,5.6 0 0 1 7,12.6Z' fill='%23E9D2B4'/%3E%3C/svg%3E"); }
.checkin-points li:nth-child(3)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Ccircle cx='7' cy='7' r='5.6' fill='rgba(31,10,46,0.6)' stroke='%23E9D2B4' stroke-opacity='0.55' stroke-width='0.9'/%3E%3Cpath d='M7,1.4000000000000004 A5.6,5.6 0 0 1 7,12.6 A3.2,5.6 0 0 1 7,1.4000000000000004Z' fill='%23E9D2B4'/%3E%3C/svg%3E"); }
.checkin-points li:nth-child(4)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Ccircle cx='7' cy='7' r='5.6' fill='rgba(31,10,46,0.6)' stroke='%23E9D2B4' stroke-opacity='0.55' stroke-width='0.9'/%3E%3Ccircle cx='7' cy='7' r='5.6' fill='%23E9D2B4'/%3E%3C/svg%3E"); }
.checkin-points li:nth-child(5)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Ccircle cx='7' cy='7' r='5.6' fill='rgba(31,10,46,0.6)' stroke='%23E9D2B4' stroke-opacity='0.55' stroke-width='0.9'/%3E%3Cpath d='M7,1.4000000000000004 A5.6,5.6 0 0 0 7,12.6 A3.2,5.6 0 0 0 7,1.4000000000000004Z' fill='%23E9D2B4'/%3E%3C/svg%3E"); }
.checkin-points li { padding-left: 22px; }
@media (max-width: 759px) { .checkin-points li { padding-left: 21px; } .checkin-points li::before { left: 0; width: 12px; height: 12px; top: .2em; } }
@media (min-width: 760px) { .checkin-points li { padding-left: 26px; } .checkin-points li::before { width: 15px; height: 15px; top: .2em; } }

/* General health lately (Nov 16, 2026) */
.health-block { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line, rgba(81,27,116,.12)); }
.health-block .health-hint { margin: 2px 0 8px; }
.health-block label { margin-top: 10px; }
.wave-wks i.wk-sick { position: relative; }
.wave-wks i.wk-sick::after, .wk-sick-dot { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #C77B6B; }
.wave-wks i.wk-sick::after { position: absolute; left: 50%; bottom: -7px; transform: translateX(-50%); }
.wave-sick-key { display: flex; align-items: center; gap: 8px; font-size: .85rem; margin: 8px 0 0; }
.wk-sick-dot { flex: 0 0 auto; }
