/* Porchlight's site: colours, type and the pieces Tailwind doesn't make (moved out of
   index.html so the page can run under a strict Content-Security-Policy). */
:root {
  --bg: #efebe2;
  --bg-elev: #f6f3ec;
  --surface: #ffffff;
  --oat: #f4f0e8;
  --tray: #e3ddd3;
  --line: #dad3c7;
  --line-strong: #cfc7b8;
  --ink: #1c2230;
  --ink-2: #4a505e;
  --ink-3: #585d6a;
  --primary: #26334d;
  --primary-hover: #1d2840;
  --on-primary: #ffffff;
  --primary-tint: #e9ecf2;
  --ember: #d96b43;
  --ember-tint: #fcede6;
  --ember-ink: #a5462a;
  --ok: #3f7d5c;
  --ok-tint: #e5efe8;
  --warn: #9c6118;
  --warn-tint: #f8eddd;
  --stop: #b2433a;
  --stop-tint: #f7e3e0;
  --m1: #3e4c72;
  --m2: #7092b5;
  --m3: #b8a88c;
  --m4: #f2c55a;
  --m5: #ec9f0c;
  --glow: #f4b740;
  --glow-tint: #fdf1d8;
  --glow-hi: #ffd56e;
  --face-ink: #1c2230;
  --face-ink-light: #f3efe9;
  --tone-sage: #3a6b66;
  --tone-plum: #6e4f6f;
  --tone-clay: #a0563c;
  --tone-dusk: #3e5277;
  --tone-moss: #5e6b3a;
  --tone-rose: #8e4e62;
  --shadow-sm: 0 1px 2px rgba(24, 32, 38, .07);
  --shadow: 0 2px 6px rgba(24, 32, 38, .05), 0 12px 32px rgba(60, 45, 25, .06);
  --shadow-lg: 0 28px 70px rgba(28, 34, 48, .16), 0 6px 18px rgba(28, 34, 48, .06);
  --f-display: "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;
  --f-body: "Figtree", -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "SF Pro Text", system-ui, sans-serif;
  --ease-ios: cubic-bezier(.32, .72, 0, 1);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #121419;
  --bg-elev: #171a21;
  --surface: #1b1e25;
  --oat: #23262f;
  --tray: #252934;
  --line: #343843;
  --line-strong: #444a57;
  --ink: #edeae4;
  --ink-2: #b4b7bf;
  --ink-3: #9a9ea8;
  --primary: #dce2ee;
  --primary-hover: #eef1f7;
  --on-primary: #18202f;
  --primary-tint: #282e3c;
  --ember: #e8825c;
  --ember-tint: #352520;
  --ember-ink: #f2a98b;
  --ok: #6db58c;
  --ok-tint: #1d2d24;
  --warn: #e0a656;
  --warn-tint: #33291a;
  --stop: #ee8277;
  --stop-tint: #3a2220;
  --m1: #6b7ca3;
  --m2: #93adc8;
  --m3: #aaa395;
  --m4: #eecb72;
  --m5: #f2b232;
  --glow: #f6be4f;
  --glow-tint: #3a3020;
  --glow-hi: #ffdb7d;
  --tone-sage: #4f8a83;
  --tone-plum: #8f6a90;
  --tone-clay: #b56a4f;
  --tone-dusk: #5a70a0;
  --tone-moss: #7b884f;
  --tone-rose: #a8657a;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .35);
  --shadow: 0 2px 6px rgba(0, 0, 0, .35), 0 12px 32px rgba(0, 0, 0, .28);
  --shadow-lg: 0 28px 70px rgba(0, 0, 0, .55), 0 6px 18px rgba(0, 0, 0, .3);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-family: var(--f-body); background: var(--bg); color: var(--ink); }
body { margin: 0; background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background .3s var(--ease-ios), color .3s var(--ease-ios); }
h1, h2, h3, .font-display { font-family: var(--f-display); letter-spacing: -0.022em; text-wrap: balance; }

/* Liquid Glass Navigation */
.glass-nav {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.8) blur(20px);
  backdrop-filter: saturate(1.8) blur(20px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}

/* Animated Porchlight Lantern SVG */
.logo-metal { fill: var(--primary); }
.logo-metal-ln { stroke: var(--primary); stroke-width: 1.8; stroke-linecap: round; fill: none; }
.logo-glass { fill: var(--glow); animation: glass 6.5s ease-in-out infinite; }
.logo-core { fill: #fff6df; animation: core 6.5s ease-in-out infinite; }
.logo-halo { fill: var(--glow); opacity: .14; transform-origin: 16px 17px; animation: halo 6.5s ease-in-out infinite; }
@keyframes halo { 0%, 100% { opacity: .08; transform: scale(.92); } 50% { opacity: .36; transform: scale(1.08); } }
@keyframes glass { 0%, 100% { fill: var(--glow); } 50% { fill: var(--glow-hi); } }
@keyframes core { 0%, 100% { opacity: .68; } 50% { opacity: 1; } }

/* Mood Faces */
.face { flex: none; display: block; overflow: visible; }
.face-1 { --fm: var(--m1); --fi: var(--face-ink-light); }
.face-2 { --fm: var(--m2); --fi: var(--face-ink); }
.face-3 { --fm: var(--m3); --fi: var(--face-ink); }
.face-4 { --fm: var(--m4); --fi: var(--face-ink); }
.face-5 { --fm: var(--m5); --fi: var(--face-ink); }
.face-body { fill: var(--fm); }
.face-hi { fill: #ffffff; opacity: .2; }
.face-feat { fill: var(--fi); }
.face-feat .ln { fill: none; stroke: var(--fi); stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.face-feat .brow { stroke-width: 1.8; }
.face-4 .cheek { fill: #e9895a; opacity: .35; }
.face-5 .cheek { fill: #e0722f; opacity: .35; }

/* iPhone Device Bezel */
.iphone-frame {
  background: var(--bg);
  border: 8px solid #1e222d;
  border-radius: 42px;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,.12);
  position: relative;
  overflow: hidden;
  transition: background .3s var(--ease-ios);
}
:root[data-theme="dark"] .iphone-frame { border-color: #2b303d; }
.dynamic-island {
  width: 90px;
  height: 23px;
  background: #0b0d12;
  border-radius: 99px;
  margin: 8px auto 8px;
}
.home-indicator {
  width: 110px;
  height: 4px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--ink) 32%, transparent);
  margin: 10px auto 6px;
}

/* Static Screen Elements Inside Phone Mockups */
.static-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  background: var(--oat);
  border: 1.5px solid var(--line-strong);
  color: var(--ink);
}
.static-chip.is-picked {
  background: var(--primary-tint);
  border-color: var(--primary);
  color: var(--ink);
}
.static-topic-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 10px;
  font-family: var(--f-display);
  font-weight: 650;
  font-size: 12.5px;
  background: var(--chip, var(--tone-sage));
  color: #ffffff;
}
.static-topic-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
}

/* Site Cards, Left-Menu Rows & Buttons */
.pl-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  transition: background .3s, border-color .3s;
}
.menu-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 11px 14px;
  border-radius: 16px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  background: transparent;
  border: 1.5px solid transparent;
  color: var(--ink-2);
  cursor: pointer;
  transition: background .18s var(--ease-ios), border-color .18s var(--ease-ios), color .18s var(--ease-ios);
  user-select: none;
}
.menu-row:hover { background: var(--oat); color: var(--ink); }
.menu-row[aria-pressed="true"] {
  background: var(--surface);
  border-color: var(--primary);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.pl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 14.5px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  cursor: pointer;
  transition: transform .14s var(--ease-ios), background .2s, border-color .2s;
  user-select: none;
}
.pl-btn:active { transform: scale(.96); }
.pl-btn-primary {
  background: var(--primary);
  border-color: transparent;
  color: var(--on-primary);
  box-shadow: 0 4px 14px color-mix(in srgb, var(--primary) 22%, transparent);
}
.pl-btn-primary:hover { background: var(--primary-hover); }

.pl-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  background: var(--oat);
  border: 1.5px solid var(--line-strong);
  color: var(--ink);
  cursor: pointer;
  transition: transform .14s var(--ease-ios), background .2s, border-color .2s;
  user-select: none;
}
.pl-chip:active { transform: scale(.95); }
.pl-chip[aria-pressed="true"] {
  background: var(--primary-tint);
  border-color: var(--primary);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--primary);
}

/* Segmented Control */
.pl-seg {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 99px;
  background: var(--tray);
}
.pl-seg-btn {
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 650;
  color: var(--ink-2);
  cursor: pointer;
  transition: background .2s var(--ease-ios), color .2s, box-shadow .2s;
}
.pl-seg-btn[aria-pressed="true"] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-sm), 0 0 0 1px var(--line);
}

/* Lantern Glow Overlay */
#lantern-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0;
  transition: opacity .75s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
#lantern-overlay.is-on { opacity: 1; }
.lantern-radial {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--glow) 46%, transparent) 0%, color-mix(in srgb, var(--glow) 16%, transparent) 48%, transparent 72%);
  transform: scale(.55);
  transition: transform 1.4s var(--ease-ios);
}
#lantern-overlay.is-on .lantern-radial { transform: scale(1.1); }
.lantern-pill {
  position: relative;
  z-index: 2;
  margin-top: 140px;
  padding: 8px 20px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
}

.av-badge {
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  flex: none;
}
.av-badge svg { width: 62%; height: 62%; }

/* Self-contained utility classes for all layouts, spacing, typography & responsive breakpoints */
.hidden { display: none !important; }
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.grid { display: grid; }
.place-items-center { place-items: center; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.flex-none { flex: none; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-stretch { align-items: stretch; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.self-start { align-self: flex-start; }
.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.space-y-1\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.375rem; }
.space-y-2\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.625rem; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.w-full { width: 100%; }
.h-full { height: 100%; }
.w-2\.5 { width: 0.625rem; } .h-2\.5 { height: 0.625rem; }
.w-5 { width: 1.25rem; } .h-5 { height: 1.25rem; }
.w-6 { width: 1.5rem; } .h-6 { height: 1.5rem; }
.w-7 { width: 1.75rem; } .h-7 { height: 1.75rem; }
.w-8 { width: 2rem; } .h-8 { height: 2rem; }
.w-9 { width: 2.25rem; } .h-9 { height: 2.25rem; }
.w-10 { width: 2.5rem; } .h-10 { height: 2.5rem; }
.w-11 { width: 2.75rem; } .h-11 { height: 2.75rem; }
.w-14 { width: 3.5rem; } .h-14 { height: 3.5rem; }
.w-20 { width: 5rem; } .h-20 { height: 5rem; }
.w-24 { width: 6rem; } .h-24 { height: 6rem; }
.max-w-md { max-width: 28rem; }
.max-w-xl { max-width: 36rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-\[390px\] { max-width: 390px; }
.min-w-0 { min-width: 0px; }
.min-h-\[86px\] { min-height: 86px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-1 { margin-top: 0.25rem; } .mt-1\.5 { margin-top: 0.375rem; } .mt-3 { margin-top: 0.75rem; }
.mb-1 { margin-bottom: 0.25rem; } .mb-1\.5 { margin-bottom: 0.375rem; } .mb-2 { margin-bottom: 0.5rem; }
.mb-2\.5 { margin-bottom: 0.625rem; } .mb-3 { margin-bottom: 0.75rem; } .mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; } .mb-6 { margin-bottom: 1.5rem; } .mb-7 { margin-bottom: 1.75rem; } .mb-8 { margin-bottom: 2rem; }
.mr-1 { margin-right: 0.25rem; }
.p-2 { padding: 0.5rem; } .p-2\.5 { padding: 0.625rem; } .p-3 { padding: 0.75rem; }
.p-3\.5 { padding: 0.875rem; } .p-4 { padding: 1rem; } .p-5 { padding: 1.25rem; } .p-6 { padding: 1.5rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-3\.5 { padding-left: 0.875rem; padding-right: 0.875rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.pt-2\.5 { padding-top: 0.625rem; } .pt-3 { padding-top: 0.75rem; } .pt-4 { padding-top: 1rem; } .pt-10 { padding-top: 2.5rem; }
.pb-4 { padding-bottom: 1rem; } .pb-14 { padding-bottom: 3.5rem; }
.text-left { text-align: left; } .text-center { text-align: center; }
.text-\[10px\] { font-size: 10px; } .text-\[11px\] { font-size: 11px; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.font-semibold { font-weight: 600; } .font-bold { font-weight: 700; }
.uppercase { text-transform: uppercase; }
.tracking-tight { letter-spacing: -0.025em; } .tracking-wider { letter-spacing: 0.05em; }
.leading-\[1\.06\] { line-height: 1.06; } .leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; } .leading-relaxed { line-height: 1.625; }
.rounded-lg { border-radius: 0.5rem; } .rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; } .rounded-full { border-radius: 9999px; }
.border { border-width: 1px; border-style: solid; border-color: var(--line); }
.border-2 { border-width: 2px; border-style: solid; }
.border-t { border-top: 1px solid var(--line); } .border-b { border-bottom: 1px solid var(--line); }
.relative { position: relative; } .absolute { position: absolute; } .fixed { position: fixed; } .sticky { position: sticky; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; } .top-4 { top: 1rem; } .right-4 { right: 1rem; }
.z-10 { z-index: 10; } .z-40 { z-index: 40; } .z-50 { z-index: 50; }
.select-none { user-select: none; -webkit-user-select: none; }
.overflow-hidden { overflow: hidden; }
@media (min-width: 640px) {
  .sm\:flex { display: flex !important; }
  .sm\:inline { display: inline !important; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:items-end { align-items: flex-end; }
  .sm\:self-auto { align-self: auto; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sm\:gap-6 { gap: 1.5rem; } .sm\:gap-8 { gap: 2rem; }
  .sm\:px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:p-5 { padding: 1.25rem; } .sm\:p-6 { padding: 1.5rem; } .sm\:p-7 { padding: 1.75rem; }
  .sm\:pt-14 { padding-top: 3.5rem; } .sm\:pb-16 { padding-bottom: 4rem; }
  .sm\:py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; } .sm\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
  .sm\:text-sm { font-size: 0.875rem; } .sm\:text-base { font-size: 1rem; }
  .sm\:text-lg { font-size: 1.125rem; } .sm\:text-2xl { font-size: 1.5rem; }
  .sm\:text-3xl { font-size: 1.875rem; } .sm\:text-4xl { font-size: 2.25rem; }
  .sm\:text-6xl { font-size: 3.75rem; }
}
@media (min-width: 768px) {
  .md\:inline { display: inline !important; }
  .md\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .md\:col-span-4 { grid-column: span 4 / span 4; }
  .md\:col-span-8 { grid-column: span 8 / span 8; }
  .md\:gap-6 { gap: 1.5rem; }
}


/* The plain pages (privacy, terms, support, invite): readable text, nothing more. */
.page { max-width: 42rem; margin: 0 auto; padding: 2.5rem 1rem 4rem; line-height: 1.65; }
.page h1 { font-family: var(--f-display); font-weight: 700; font-size: 2rem; line-height: 1.15; margin: 0 0 .4rem; }
.page h2 { font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; margin: 2rem 0 .5rem; }
.page p, .page ul { margin: 0 0 .9rem; color: var(--ink-2); }
.page ul { padding-left: 1.25rem; list-style: disc; }
.page li { margin-bottom: .35rem; }
.page a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.page strong { color: var(--ink); }
.page .updated { color: var(--ink-3); font-size: .9rem; margin-bottom: 1.5rem; }
.page .callout { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.1rem; margin: 1rem 0 1.25rem; }
.page-top { display: flex; align-items: center; justify-content: space-between; max-width: 42rem; margin: 0 auto; padding: 1rem; }
.page-top a { font-family: var(--f-display); font-weight: 700; color: var(--ink); text-decoration: none; }
.page-foot { border-top: 1px solid var(--line); color: var(--ink-3); font-size: .8rem; }
.page-foot div { max-width: 42rem; margin: 0 auto; padding: 1.25rem 1rem; display: flex; flex-wrap: wrap; gap: 1.25rem; }
.page-foot a { color: inherit; }

.page .callout-strong { border: 2px solid var(--ink); }
.page .callout h2 { margin-top: 0; }
.page .callout ul { margin-bottom: .5rem; }
.page .legal { font-size: .85rem; line-height: 1.55; letter-spacing: .01em; }

/* ---------- /therapists: a wider page, the feature table and the request form ---------- */
.page-wide { max-width: 48rem; }
.page-top .page-back { font-family: inherit; font-weight: 600; font-size: .9rem; color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }
.page .eyebrow-k { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 .4rem; }
.page .lead { font-size: 1.1rem; color: var(--ink-2); }
.page .table-wrap { overflow-x: auto; margin: 0 0 1.25rem; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.page table.map { width: 100%; border-collapse: collapse; font-size: .92rem; line-height: 1.5; }
.page table.map th, .page table.map td { text-align: left; vertical-align: top; padding: .7rem .85rem; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.page table.map thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.page table.map tbody th { color: var(--ink); font-weight: 700; min-width: 9rem; }
.page table.map tr:last-child th, .page table.map tr:last-child td { border-bottom: 0; }
.ask-form { display: grid; gap: .9rem; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 1.1rem; margin: 1rem 0 1.5rem; }
.ask-form .two { display: grid; gap: .9rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .ask-form .two { grid-template-columns: 1fr 1fr; } }
.ask-form label { display: grid; gap: .3rem; font-weight: 600; font-size: .9rem; color: var(--ink); }
.ask-form .opt { font-weight: 400; color: var(--ink-3); font-size: .8rem; }
.ask-form input, .ask-form textarea { font: inherit; font-weight: 400; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: .65rem .75rem; min-height: 44px; width: 100%; }
.ask-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: .35rem; }
.ask-form legend { font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: .3rem; }
.ask-form .choice { display: flex; align-items: center; gap: .55rem; font-weight: 400; min-height: 36px; }
.ask-form .choice input { width: auto; min-height: 0; accent-color: var(--primary); }
.ask-send { justify-self: start; min-height: 44px; padding: .7rem 1.4rem; border-radius: 999px; background: var(--primary); color: #fff; font-weight: 700; border: 0; cursor: pointer; }
.ask-send:disabled { opacity: .6; cursor: default; }
.ask-status { min-height: 1.2em; margin: 0; color: var(--ink-2); }
.ask-status.is-bad { color: #b3412a; }
.page .back-home { margin-top: 2rem; }
.ask-form .lbl { display: block; }
/* On a phone the table is one card per row: the feature, then each column with its name. */
@media (max-width: 600px) {
  .page table.map thead { display: none; }
  .page table.map, .page table.map tbody, .page table.map tr, .page table.map th, .page table.map td { display: block; width: auto; }
  .page table.map tr { padding: .8rem .9rem; border-bottom: 1px solid var(--line); }
  .page table.map tr:last-child { border-bottom: 0; }
  .page table.map th, .page table.map td { padding: 0; border: 0; }
  .page table.map tbody th { margin-bottom: .35rem; }
  .page table.map td { margin-top: .4rem; }
  .page table.map td::before { content: attr(data-k); display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
}

/* ---------- /therapists (the redesign): a product page, not a document ---------- */
.tp-body { background: var(--bg); color: var(--ink); }
.tp-in { max-width: 68rem; margin: 0 auto; padding-left: 1rem; padding-right: 1rem; }
.tp-nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.tp-nav-in { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding-top: .7rem; padding-bottom: .7rem; }
.tp-brand { display: flex; align-items: center; gap: .6rem; font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.tp-lamp { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--primary); flex: none; }
.tp-lamp .logo { width: 24px; height: 24px; }
.tp-nav-links { display: flex; align-items: center; gap: .9rem; }
.tp-link { font-weight: 600; font-size: .9rem; color: var(--ink-2); text-decoration: none; }
.tp-link:hover { text-decoration: underline; }
.tp-pill { display: inline-flex; align-items: center; min-height: 40px; padding: .45rem 1rem; border-radius: 999px; background: var(--primary); color: #fff; font-weight: 700; font-size: .9rem; text-decoration: none; white-space: nowrap; }
@media (max-width: 520px) { .tp-link { display: none; } }

.tp-hero { display: grid; gap: 2rem; align-items: center; padding-top: 2.5rem; padding-bottom: 2rem; }
@media (min-width: 880px) { .tp-hero { grid-template-columns: 1.05fr .95fr; padding-top: 3.5rem; } }
.tp-eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 .5rem; }
.tp-hero h1 { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.2rem, 6vw, 3.4rem); line-height: 1.04; letter-spacing: -.025em; margin: 0 0 .9rem; }
.tp-lead { font-size: 1.1rem; line-height: 1.6; color: var(--ink-2); margin: 0 0 1.1rem; max-width: 34rem; }
.tp-checks { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .45rem; }
.tp-checks li { display: flex; gap: .55rem; align-items: baseline; font-weight: 600; }
.tp-checks li::before { content: "✓"; color: #2f7a45; font-weight: 800; }
.tp-ctas { display: flex; flex-wrap: wrap; gap: .6rem; }
.tp-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 46px; padding: .7rem 1.3rem; border-radius: 999px; background: var(--primary); color: #fff; font-weight: 700; text-decoration: none; border: 1px solid var(--primary); }
.tp-btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.tp-note { font-size: .85rem; color: var(--ink-3); margin: .6rem 0 0; }

/* Two phones, one in front of the other. */
.tp-phones { position: relative; display: flex; justify-content: center; min-height: 420px; }
.tp-phone { margin: 0; width: min(56%, 250px); border-radius: 30px; padding: 7px; background: #1c2230; box-shadow: 0 24px 50px rgba(28, 34, 48, .22); }
.tp-phone img { display: block; width: 100%; height: auto; border-radius: 24px; }
.tp-phone-back { transform: rotate(-4deg) translateX(18%); }
.tp-phone-front { position: relative; transform: rotate(3deg) translate(-14%, 40px); }

.tp-sec { padding-top: 2.2rem; padding-bottom: 1rem; }
.tp-sec h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.5rem, 3.5vw, 2rem); letter-spacing: -.02em; margin: 0 0 1.1rem; }
.tp-sec.page { max-width: 68rem; padding-left: 1rem; padding-right: 1rem; }
.tp-cards, .tp-actions { display: grid; gap: 1rem; }
@media (min-width: 800px) { .tp-cards { grid-template-columns: repeat(3, 1fr); } .tp-actions { grid-template-columns: 1fr 1fr; } }
.tp-card, .tp-acard { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 1rem; }
.tp-card h3, .tp-acard h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; margin: 0 0 .35rem; }
.tp-card p, .tp-acard p { margin: 0; color: var(--ink-2); line-height: 1.55; font-size: .95rem; }
/* The three previews: one height, so the tags and titles under them line up. */
.tp-shot { background: var(--bg); border-radius: 14px; padding: .6rem; margin-bottom: .85rem; height: 280px; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: .5rem; }
.tp-shot img { display: block; width: 100%; height: auto; border-radius: 10px; }
.tp-card { display: flex; flex-direction: column; }
.tp-card .tp-tag { align-self: flex-start; display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8a5a0b; background: var(--glow-tint, #fdf1d8); border-radius: 99px; padding: .2rem .6rem; margin-bottom: .5rem; }
.tp-acard { display: flex; flex-direction: column; gap: .8rem; }
.tp-acard .tp-btn { align-self: flex-start; }
.tp-handout { display: block; max-width: 220px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: 0 8px 22px rgba(28, 34, 48, .12); }
.tp-handout img { display: block; width: 100%; height: auto; }
.tp-acard .ask-form { margin: 0; background: transparent; border: 0; padding: 0; }
.tp-home { margin: 2rem 0 1rem; }
.tp-home a { color: var(--primary); font-weight: 600; }
:root[data-theme="dark"] .tp-checks li::before { color: #6cc489; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tp-checks li::before { color: #6cc489; } }

.tp-sub { color: var(--ink-2); font-size: 1.05rem; margin: -.4rem 0 1.2rem; max-width: 40rem; }
.tp-skills { display: grid; gap: 1rem; }
@media (min-width: 720px) { .tp-skills { grid-template-columns: 1fr 1fr; } }
.tp-skill, .tp-who { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 1.1rem; }
.tp-skill h3, .tp-who h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; margin: .6rem 0 .3rem; }
.tp-who h3 { margin-top: 0; }
.tp-skill p, .tp-who p { margin: 0; color: var(--ink-2); line-height: 1.55; font-size: .95rem; }
.tp-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--glow-tint, #fdf1d8); color: var(--ink); }
.tp-ic svg { width: 22px; height: 22px; }
.tp-pills { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .8rem !important; }
.tp-pills span { font-size: .78rem; font-weight: 700; color: var(--primary); background: var(--oat); border: 1px solid var(--line); border-radius: 99px; padding: .25rem .65rem; }
.tp-fine { font-size: .78rem; color: var(--ink-3); margin: .9rem 0 0; }
.tp-who { border-top: 4px solid var(--glow, #f4b740); }
.tp-strip { font-size: .85rem; line-height: 1.6; color: var(--ink-2); background: var(--oat); border: 1px solid var(--line); border-radius: 14px; padding: .8rem 1rem; margin: 0 0 2rem; }
.tp-strip strong { color: var(--ink); }
.tp-note a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }

/* The founder: a letter above Pricing on the home page, and a short bio above "Start this week" on /therapists. */
.fn-card { max-width: 760px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 1.5rem; box-shadow: 0 10px 30px rgba(28, 34, 48, .06); }
@media (min-width: 640px) { .fn-card { padding: 2.25rem 2.5rem; } }
.fn-eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ember-ink, var(--ink-3)); margin: 0 0 .5rem; }
.fn-card h2, .fn-bio h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.5rem, 3.5vw, 2rem); letter-spacing: -.02em; line-height: 1.15; margin: 0 0 1rem; }
.fn-letter p { margin: 0 0 1rem; line-height: 1.7; color: var(--ink-2); font-size: 1rem; }
@media (min-width: 640px) { .fn-letter p { font-size: 1.05rem; } }
.fn-sign { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px dashed var(--line-strong, var(--line)); }
.fn-photo { display: block; width: 76px; height: 76px; border-radius: 999px; object-fit: cover; flex: none; background: var(--oat); box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--glow, #f4b740); }
.fn-name { display: block; font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; color: var(--ink); }
.fn-role { display: block; font-size: .9rem; color: var(--ink-3); margin-top: .1rem; }
.fn-bio { display: grid; gap: 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 1.25rem; margin-bottom: 2rem; }
@media (min-width: 760px) { .fn-bio { grid-template-columns: 1fr 3fr; gap: 2rem; padding: 1.75rem; align-items: start; } }
.fn-who { display: flex; align-items: center; gap: .9rem; }
@media (min-width: 760px) { .fn-who { flex-direction: column; text-align: center; gap: .75rem; padding-top: .25rem; } .fn-who .fn-photo { width: 132px; height: 132px; } }
.fn-bio .fn-lead { margin: 0 0 1rem; line-height: 1.65; color: var(--ink-2); }
.fn-points { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.fn-points li { position: relative; padding-left: 1.4rem; line-height: 1.55; color: var(--ink-2); font-size: .95rem; }
.fn-points li::before { content: ""; position: absolute; left: .2rem; top: .55em; width: .5rem; height: .5rem; border-radius: 99px; background: var(--glow, #f4b740); }
.fn-points strong { color: var(--ink); }
