:root {
  --bg: #f8f5ee;
  --surface: #ffffff;
  --ink: #15241d;
  --ink-soft: #41584d;
  --muted: #6c7d74;
  --green: #0e8a5f;
  --green-deep: #0a6b4a;
  --green-tint: #e6f3ec;
  --border: #dfe7e0;
  --crisis-bg: #fdecea;
  --crisis-border: #f3c4bd;
  --crisis-ink: #8a2d22;
  --radius: 16px;
  --maxw: 720px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}

a { color: var(--green-deep); }
a:hover { color: var(--green); }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

header.site {
  padding: 28px 0 8px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand .leaf {
  width: 38px;
  height: 38px;
  flex: none;
}

.brand .name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand .tag {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-top: -2px;
}

nav.top {
  margin-top: 14px;
  margin-left: -10px;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 4px;
  font-size: 15px;
}

nav.top a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 10px;
}
nav.top a:hover { color: var(--green-deep); background: var(--green-tint); }

main { padding: 12px 0 40px; }

/* Hero */
.hero {
  text-align: center;
  padding: 46px 0 30px;
}
.hero .biglogo {
  width: 84px;
  height: 84px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.hero p.lead {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 540px;
  margin: 0 auto 26px;
}

.btnrow {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid var(--green);
}
.btn.primary { background: var(--green); color: #fff; }
.btn.primary:hover { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.btn.ghost { background: transparent; color: var(--green-deep); }
.btn.ghost:hover { background: var(--green-tint); }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin: 38px 0;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 18px;
}
.feature h3 { margin: 0 0 4px; font-size: 16px; }
.feature p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* Content pages */
.page h1 {
  font-size: 32px;
  letter-spacing: -0.02em;
  margin: 22px 0 4px;
}
.page .updated { color: var(--muted); font-size: 14px; margin: 0 0 26px; }
.page h2 {
  font-size: 21px;
  margin: 34px 0 8px;
  letter-spacing: -0.01em;
}
.page h3 { font-size: 17px; margin: 22px 0 6px; }
.page ul { padding-left: 22px; }
.page li { margin: 5px 0; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 22px 16px;
  margin: 20px 0;
}

.notice {
  background: var(--green-tint);
  border: 1px solid #bfe0cd;
  border-radius: var(--radius);
  padding: 4px 20px;
  margin: 22px 0;
}

.crisis {
  background: var(--crisis-bg);
  border: 1px solid var(--crisis-border);
  border-radius: var(--radius);
  padding: 6px 20px 14px;
  margin: 26px 0;
  color: var(--crisis-ink);
}
.crisis h2, .crisis h3 { color: var(--crisis-ink); }
.crisis a { color: var(--crisis-ink); font-weight: 600; }

table.data {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 15px;
}
table.data th, table.data td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
table.data th { background: var(--green-tint); font-weight: 600; }

.step { margin: 18px 0; }
.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-right: 8px;
}

code {
  background: #eef2ee;
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 14px;
}

footer.site {
  border-top: 1px solid var(--border);
  margin-top: 30px;
  padding: 26px 0 50px;
  color: var(--muted);
  font-size: 14px;
}
footer.site nav { display: flex; flex-wrap: wrap; gap: 2px 4px; margin-bottom: 10px; margin-left: -10px; }
footer.site nav a {
  color: var(--ink-soft);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 10px;
}
footer.site nav a:hover { color: var(--green-deep); background: var(--green-tint); }
footer.site p a { color: var(--ink-soft); }

@media (max-width: 520px) {
  .hero h1 { font-size: 32px; }
  body { font-size: 16px; }
}

/* ============================================================
   Hallmark · macrostructure: Split Studio · genre: playful
   tone: soft · anchor hue: 158 (calm green) · theme: custom
   (paper oklch(97% 0.012 150) · accent oklch(52% 0.10 158) sage-green
    · display Fraunces italic-serif · body Satoshi)
   nav: N1 quiet wordmark · footer: Ft5 statement
   pre-emit critique: P5 H5 E5 S4 R5 V5
   SCOPE: every rule below is namespaced under .lp / .lp-* so the
   legal pages (privacy/terms/support/delete-account) are untouched.
   ============================================================ */

.lp {
  /* paper + ink, tinted toward the green anchor (hue 158) */
  --lp-paper:     oklch(97.5% 0.012 150);
  --lp-paper-2:   oklch(95%   0.018 152);
  --lp-paper-3:   oklch(99%   0.006 150);
  --lp-ink:       oklch(26%   0.028 168);
  --lp-ink-soft:  oklch(42%   0.026 165);
  --lp-muted:     oklch(56%   0.020 162);
  --lp-rule:      oklch(88%   0.018 158);

  --lp-accent:      oklch(52% 0.105 158);
  --lp-accent-deep: oklch(43% 0.105 162);
  --lp-accent-tint: oklch(94% 0.030 156);
  --lp-on-accent:   oklch(98% 0.010 150);

  /* deep green band for the help strip */
  --lp-forest:      oklch(31% 0.060 165);
  --lp-forest-2:    oklch(27% 0.055 168);
  --lp-on-forest:   oklch(95% 0.015 150);
  --lp-on-forest-soft: oklch(82% 0.024 156);

  --lp-focus:     oklch(58% 0.14 158);

  --font-display: "Fraunces", ui-serif, Georgia, serif;
  --font-body:    "Satoshi", ui-sans-serif, system-ui, sans-serif;

  /* 4pt-derived scale */
  --lp-s-2xs: 0.5rem;  --lp-s-xs: 0.75rem; --lp-s-sm: 1rem;
  --lp-s-md: 1.5rem;   --lp-s-lg: 2.25rem; --lp-s-xl: 3.5rem;
  --lp-s-2xl: 5rem;    --lp-s-3xl: 7.5rem;

  --lp-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --lp-ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --lp-dur: 240ms;

  --lp-radius: 18px;
  --lp-radius-sm: 12px;
  --lp-maxw: 1080px;

  background: var(--lp-paper);
  color: var(--lp-ink);
  font-family: var(--font-body);
  overflow-x: clip;
}
html:has(body.lp) { overflow-x: clip; }

/* soft ambient wash behind the page */
.lp body, body.lp {
  background:
    radial-gradient(120% 80% at 85% -10%, var(--lp-accent-tint) 0%, transparent 55%),
    radial-gradient(90% 70% at -10% 5%, var(--lp-paper-2) 0%, transparent 50%),
    var(--lp-paper);
}

.lp-wrap {
  max-width: var(--lp-maxw);
  padding: 0 24px;
}

/* ---- Nav (N1, quiet wordmark) ---- */
.lp-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--lp-s-md);
  padding: 28px 0 0;
}
.lp-brand .name { color: var(--lp-ink); font-weight: 500; }
.lp-brand .tag { color: var(--lp-muted); }
.lp-navlinks { margin-top: 0; gap: 6px 22px; align-items: center; }
.lp-navlinks a {
  color: var(--lp-ink-soft);
  font-weight: 500;
  font-size: 15px;
  border-radius: 999px;
  padding: 0 14px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: background var(--lp-dur) var(--lp-ease-out), color var(--lp-dur) var(--lp-ease-out);
}
.lp-navlinks a:hover { color: var(--lp-accent-deep); background: var(--lp-accent-tint); }
.lp-navlinks a:focus-visible { outline: 2px solid var(--lp-focus); outline-offset: 2px; }

.lp-main { padding: 0 0 var(--lp-s-2xl); }

/* ---- Hero ---- */
.lp-hero {
  position: relative;
  padding: clamp(3rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5.5rem);
  max-width: 760px;
}
.lp-eyebrow {
  margin: 0 0 var(--lp-s-md);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lp-accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.lp-eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 999px;
  background: var(--lp-accent);
}
.lp-h1 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: clamp(2.6rem, 7.5vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 var(--lp-s-md);
  color: var(--lp-ink);
  overflow-wrap: anywhere;
  min-width: 0;
}
.lp-h1 .lp-em {
  font-style: italic;
  font-weight: 400;
  color: var(--lp-accent-deep);
}
.lp-lead {
  font-size: clamp(1.0625rem, 2.2vw, 1.3125rem);
  line-height: 1.6;
  color: var(--lp-ink-soft);
  max-width: 54ch;
  margin: 0 0 var(--lp-s-lg);
}
.lp-btnrow { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border: 1.5px solid transparent;
  transition: transform var(--lp-dur) var(--lp-ease-out),
              background var(--lp-dur) var(--lp-ease-out),
              box-shadow var(--lp-dur) var(--lp-ease-out),
              color var(--lp-dur) var(--lp-ease-out);
}
.lp-btn-primary {
  background: var(--lp-accent);
  color: var(--lp-on-accent);
  box-shadow: 0 10px 26px -14px var(--lp-accent-deep);
}
.lp-btn-primary:hover { background: var(--lp-accent-deep); transform: translateY(-2px); box-shadow: 0 16px 30px -14px var(--lp-accent-deep); color: var(--lp-on-accent); }
.lp-btn-primary:active { transform: translateY(0); }
.lp-btn-ghost {
  background: transparent;
  color: var(--lp-accent-deep);
  border-color: var(--lp-rule);
}
.lp-btn-ghost:hover { background: var(--lp-paper-3); border-color: var(--lp-accent); transform: translateY(-2px); color: var(--lp-accent-deep); }
.lp-btn-ghost:active { transform: translateY(0); }
.lp-btn:focus-visible { outline: 2px solid var(--lp-focus); outline-offset: 3px; }

.lp-hero-note {
  margin: var(--lp-s-md) 0 0;
  font-size: 0.875rem;
  color: var(--lp-muted);
}

/* breathing orb — pure CSS.
   Hidden by default; only shown on wide screens (>=1100px) where the
   hero text block (max 760px) leaves a clear gutter on the right.
   Reserved space + a right offset guarantee it never overlaps the
   italic headline at any width. */
.lp-orb {
  display: none;
  position: absolute;
  top: clamp(2rem, 5vw, 3.5rem);
  right: 0;
  width: 168px; height: 168px;
  place-items: center;
  pointer-events: none;
}
.lp-orb-ring, .lp-orb-core { grid-area: 1 / 1; border-radius: 999px; }
.lp-orb-ring {
  width: 168px; height: 168px;
  border: 1.5px solid var(--lp-accent);
  opacity: 0.22;
  animation: lp-breathe 8s var(--lp-ease-in-out) infinite;
}
.lp-orb-ring:nth-child(2) { animation-delay: -4s; opacity: 0.14; }
.lp-orb-core {
  width: 92px; height: 92px;
  display: grid;
  place-items: center;
  background: var(--lp-paper-3);
  box-shadow: 0 18px 44px -20px var(--lp-accent-deep);
  animation: lp-breathe-core 8s var(--lp-ease-in-out) infinite;
}
.lp-orb-core svg { width: 46px; height: 46px; }
.lp-orb-label {
  grid-area: 1 / 1;
  align-self: end;
  justify-self: center;
  transform: translateY(26px);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lp-muted);
  white-space: nowrap;
}
@keyframes lp-breathe { 0%,100% { transform: scale(0.78); } 50% { transform: scale(1); } }
@keyframes lp-breathe-core { 0%,100% { transform: scale(0.9); } 50% { transform: scale(1.04); } }

/* ---- Split Studio rows ---- */
.lp-studio {
  display: flex;
  flex-direction: column;
  gap: clamp(3.5rem, 7vw, 6rem);
  padding: clamp(2rem, 5vw, 4rem) 0;
}
.lp-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.lp-row-flip .lp-row-text { order: 2; }
.lp-row-flip .lp-row-proof { order: 1; }
.lp-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lp-accent-deep);
}
.lp-h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.625rem, 3.4vw, 2.4rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0.5rem 0 0.75rem;
  color: var(--lp-ink);
  overflow-wrap: anywhere;
  min-width: 0;
}
.lp-row-text p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.62;
  color: var(--lp-ink-soft);
  max-width: 42ch;
}

/* proof column shared card */
.lp-row-proof {
  background: var(--lp-paper-3);
  border: 1px solid var(--lp-rule);
  border-radius: var(--lp-radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: 0 24px 60px -40px var(--lp-accent-deep);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* chat proof */
.lp-proof-chat { gap: 12px; }
.lp-bubble {
  max-width: 84%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.95rem;
  line-height: 1.45;
}
.lp-bubble-them { align-self: flex-end; background: var(--lp-paper-2); color: var(--lp-ink); border-bottom-right-radius: 5px; }
.lp-bubble-coco { align-self: flex-start; background: var(--lp-accent); color: var(--lp-on-accent); border-bottom-left-radius: 5px; }

/* mood proof */
.lp-proof-mood { gap: 16px; }
.lp-mood-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}
.lp-mood-grid .m { aspect-ratio: 1; border-radius: 7px; }
.m1 { background: var(--lp-accent-tint); }
.m2 { background: oklch(82% 0.07 158); }
.m3 { background: oklch(66% 0.10 158); }
.m4 { background: var(--lp-accent); }
.lp-mood-caption { margin: 0; font-size: 0.8125rem; color: var(--lp-muted); letter-spacing: 0.02em; }

/* journal proof */
.lp-proof-journal { gap: 0; }
.lp-journal { display: flex; flex-direction: column; gap: 14px; }
.lp-journal-line { height: 11px; border-radius: 999px; background: var(--lp-paper-2); }
.lp-journal-line.w90 { width: 90%; } .lp-journal-line.w80 { width: 80%; }
.lp-journal-line.w70 { width: 70%; } .lp-journal-line.w55 { width: 55%; }
.lp-journal-caret {
  width: 2px; height: 18px; background: var(--lp-accent);
  animation: lp-blink 1.1s steps(1) infinite;
}
@keyframes lp-blink { 0%,49% { opacity: 1; } 50%,100% { opacity: 0; } }

/* sound proof */
.lp-proof-sound { gap: 18px; }
.lp-wave { display: flex; align-items: center; gap: 6px; height: 64px; }
.lp-wave span {
  flex: 1;
  border-radius: 999px;
  background: linear-gradient(var(--lp-accent), var(--lp-accent-deep));
  animation: lp-wave 1.8s var(--lp-ease-in-out) infinite;
}
.lp-wave span:nth-child(odd) { animation-delay: -0.4s; }
.lp-wave span:nth-child(3n) { animation-delay: -0.9s; }
.lp-wave span:nth-child(4n) { animation-delay: -1.3s; }
@keyframes lp-wave { 0%,100% { height: 22%; } 50% { height: 100%; } }

/* ---- Help strip (deep forest band) ---- */
.lp-help {
  margin: clamp(2.5rem, 5vw, 4rem) 0;
  border-radius: var(--lp-radius);
  background: linear-gradient(145deg, var(--lp-forest), var(--lp-forest-2));
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.75rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}
.lp-help::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 260px; height: 260px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--lp-on-forest-soft) 0%, transparent 70%);
  opacity: 0.12;
}
.lp-help-inner { position: relative; max-width: 52ch; }
.lp-kicker-light { color: var(--lp-on-forest-soft); }
.lp-h2-light { color: var(--lp-on-forest); }
.lp-help-lead { margin: 0.75rem 0 0; font-size: 1.0625rem; line-height: 1.6; color: var(--lp-on-forest-soft); }

/* ---- Notice + crisis (landing skins of preserved blocks) ---- */
.lp-notice {
  background: var(--lp-paper-3);
  border: 1px solid var(--lp-rule);
  border-left: 4px solid var(--lp-accent);
  border-radius: var(--lp-radius-sm);
  padding: 4px 22px;
  margin: clamp(1.5rem, 4vw, 2.5rem) 0;
}
.lp-notice p { color: var(--lp-ink-soft); }
.lp-notice strong { color: var(--lp-ink); }

.lp-crisis {
  border-radius: var(--lp-radius-sm);
  padding: 8px 22px 16px;
  margin: clamp(1.5rem, 4vw, 2.5rem) 0;
}
.lp-crisis h2 { font-family: var(--font-display); font-weight: 500; font-size: 1.375rem; }

/* ---- Closing CTA ---- */
.lp-close {
  text-align: center;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(1rem, 3vw, 2rem);
}
.lp-close-line {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  line-height: 1.15;
  color: var(--lp-ink);
  margin: 0 0 var(--lp-s-md);
}

/* ---- Footer (Ft5 statement) ---- */
.lp-footer {
  border-top: 1px solid var(--lp-rule);
  color: var(--lp-muted);
}
.lp-footer a { color: var(--lp-ink-soft); }
.lp-footer a:hover { color: var(--lp-accent-deep); }
.lp-footer nav { gap: 10px 18px; }

/* ---- Responsive ---- */

/* Orb only appears on wide viewports where the 760px text block leaves a
   clear right-hand gutter. Reserve padding-right on the hero so the
   headline always wraps before reaching the orb — no overlap at any width. */
@media (min-width: 1100px) {
  .lp-orb { display: grid; }
  .lp-hero { padding-right: 220px; }
}

/* Stack the Split-Studio diptychs on tablets and phones. */
@media (max-width: 880px) {
  .lp-hero { max-width: 100%; }
  .lp-row { grid-template-columns: 1fr; gap: 1.75rem; }
  .lp-row-flip .lp-row-text { order: 1; }
  .lp-row-flip .lp-row-proof { order: 2; }
  .lp-row-text p { max-width: 60ch; }
}

@media (max-width: 600px) {
  .lp-nav { flex-direction: column; align-items: flex-start; gap: 12px; }
  .lp-navlinks { margin-left: -12px; flex-wrap: wrap; }
  .lp-row-proof { min-height: 0; padding: 1.25rem; }
  .lp-bubble { max-width: 92%; }
}

/* Phones: tighten the page gutter and ensure comfortable tap targets. */
@media (max-width: 430px) {
  .lp-wrap { padding: 0 18px; }
  .lp-navlinks a { padding: 9px 12px; }
  .lp-btn { padding: 14px 22px; min-height: 48px; }
  .lp-btnrow { gap: 10px; }
  .lp-btn-primary, .lp-btn-ghost { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-orb-ring, .lp-orb-core, .lp-journal-caret, .lp-wave span {
    animation: none !important;
  }
  .lp-orb-core { transform: scale(1); }
  .lp-orb-ring { transform: scale(0.9); }
  .lp-wave span { height: 60%; }
  .lp-btn { transition: background var(--lp-dur) var(--lp-ease-out), color var(--lp-dur) var(--lp-ease-out); }
  .lp-btn-primary:hover, .lp-btn-ghost:hover { transform: none; }
}
