/* ==========================================================================
   Innerbrook website
   Same design tokens as the app (web/src/app/globals.css):
   warm sand by day, deep dusk by night. Soft, unhurried, never clinical.
   ========================================================================== */

:root {
  --bg: #f5efe6;
  --bg-glow-1: #f9dcc8;
  --bg-glow-2: #dfe8df;
  --surface: #fffaf3;
  --surface-2: #f7efe4;
  --line: #e7dccd;
  --text: #2a2730;
  --muted: #6a6370;
  --accent: #3f7563;
  --accent-hover: #346453;
  --accent-soft: #dcebe3;
  --accent-ink: #ffffff;
  --care: #a94b36;
  --care-soft: #f8e4dc;
  --care-ink: #ffffff;
  --info-soft: #ece6f6;
  --focus: #6b5fb5;
  --breathe-ink: #1d3a2f;
  --mark: #fff0b8;
  --mark-ink: #4a3b00;

  --orb-1: #f4b69c;
  --orb-2: #c7a8e8;
  --orb-3: #8fc7b0;
  --orb-4: #f7d6a6;
  --orb-glow: rgba(214, 140, 110, 0.55);

  --shadow-sm: 0 1px 2px rgba(60, 40, 20, 0.06), 0 2px 8px -2px rgba(60, 40, 20, 0.08);
  --shadow-lg: 0 24px 60px -24px rgba(60, 40, 20, 0.35);
  --radius: 18px;
  --radius-sm: 12px;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Devanagari", sans-serif;

  --max: 1100px;
  --gutter: 16px;

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #13121a;
    --bg-glow-1: #2a1f33;
    --bg-glow-2: #14282a;
    --surface: #1d1c27;
    --surface-2: #252432;
    --line: #322f42;
    --text: #ece7f2;
    --muted: #a59fb3;
    --accent: #8cc4ae;
    --accent-hover: #a2d3bf;
    --accent-soft: #20342d;
    --accent-ink: #0d1814;
    --care: #f0947c;
    --care-soft: #3a231f;
    --care-ink: #2b1510;
    --info-soft: #262236;
    --focus: #b3a8f0;
    --breathe-ink: #ffffff;
    --mark: #4a3f12;
    --mark-ink: #ffe9a3;

    --orb-1: #e8957a;
    --orb-2: #9b7fd6;
    --orb-3: #5fae93;
    --orb-4: #e6b878;
    --orb-glow: rgba(155, 127, 214, 0.5);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
  }
}

@media (min-width: 720px) {
  :root {
    --gutter: 28px;
  }
}

/* ==========================================================================
   Base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: clip;
  background:
    radial-gradient(60rem 40rem at 15% -10%, var(--bg-glow-1), transparent 60%),
    radial-gradient(50rem 40rem at 110% 60%, var(--bg-glow-2), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

main:focus {
  outline: none;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.18;
  margin: 0;
  letter-spacing: -0.01em;
  font-variation-settings: "SOFT" 100;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.2rem, 7.4vw, 3.9rem);
}

h2 {
  font-size: clamp(1.7rem, 4.6vw, 2.5rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--accent-hover);
}

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

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 8px;
}

code {
  font-size: 0.9em;
  padding: 0.05em 0.35em;
  border-radius: 6px;
  background: var(--surface-2);
  overflow-wrap: anywhere;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.15s;
}

.skip-link:focus {
  top: 12px;
  color: var(--accent-ink);
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.875rem;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.2) blur(12px);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  margin-right: auto;
}

.brand:hover {
  color: var(--text);
}

.brand__dot {
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 50%;
  background: conic-gradient(from 210deg, var(--orb-1), var(--orb-2), var(--orb-3), var(--orb-4), var(--orb-1));
  box-shadow: 0 4px 14px -4px var(--orb-glow);
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  font-variation-settings: "SOFT" 100;
}

.nav {
  display: none;
}

.nav ul {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a,
.menu__panel a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.nav a:hover,
.menu__panel a:hover,
.nav a[aria-current="page"] {
  background: var(--surface-2);
  color: var(--text);
}

.help-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--care);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.help-link:hover {
  background: var(--care-soft);
  color: var(--care);
}

@media (max-width: 379px) {
  .site-header__inner {
    gap: 6px;
  }

  .brand__name {
    font-size: 1.25rem;
  }

  .help-link {
    padding: 8px;
  }

  .help-link .icon {
    display: none;
  }
}

.btn.header-cta {
  display: none;
}

/* Small-screen menu: a native <details>, so it works without JavaScript. */
.menu {
  position: relative;
}

.menu > summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}

.menu > summary::-webkit-details-marker {
  display: none;
}

.menu__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(260px, calc(100vw - 2 * var(--gutter)));
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.menu__panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.menu__panel a {
  width: 100%;
  border-radius: 10px;
  color: var(--text);
}

.menu__panel .btn {
  width: 100%;
  margin-top: 6px;
}

.menu__panel a.btn--primary,
.menu__panel a.btn--primary:hover {
  justify-content: center;
  border-radius: 999px;
  color: var(--accent-ink);
}

.menu__panel a.btn--primary:hover {
  background: var(--accent-hover);
}

@media (min-width: 900px) {
  .nav {
    display: block;
  }

  .btn.header-cta {
    display: inline-flex;
  }

  .menu {
    display: none;
  }
}

/* ==========================================================================
   Buttons, pills, tags
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border-radius: 999px;
  padding: 11px 22px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.1s;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn--primary:hover {
  background: var(--accent-hover);
  color: var(--accent-ink);
}

.btn--ghost {
  background: color-mix(in srgb, var(--surface) 60%, transparent);
  border-color: var(--line);
  color: var(--text);
}

.btn--ghost:hover {
  background: var(--surface-2);
  color: var(--text);
}

.btn--small {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 0.9rem;
}

.btn--call {
  flex-direction: column;
  gap: 2px;
  background: var(--care);
  color: var(--care-ink);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 1.15rem;
  min-width: 120px;
}

.btn--call:hover {
  color: var(--care-ink);
  filter: brightness(1.06);
}

.btn--call small {
  font-weight: 600;
  font-size: 0.78rem;
  opacity: 0.92;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 75%, transparent);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section {
  padding: 56px 0;
}

@media (min-width: 720px) {
  .section {
    padding: 96px 0;
  }
}

.section__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 44rem;
  margin-bottom: 32px;
}

.section__head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  align-items: center;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead {
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  color: var(--muted);
  max-width: 40rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.icon-chip {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
}

.icon-chip svg {
  width: 22px;
  height: 22px;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding: 28px 0 56px;
  overflow-x: clip;
}

.hero__grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.hero__copy .lead {
  color: var(--text);
  opacity: 0.86;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero__note {
  max-width: 36rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.hero__note a {
  color: var(--care);
  font-weight: 700;
}

/* Small screens: orb, then the words, then the sample conversation. */
.hero__visual {
  display: contents;
}

.hero__visual .orb {
  order: -1;
  justify-self: center;
}

.hero__visual .sample {
  justify-self: center;
}

@media (min-width: 900px) {
  .hero {
    padding: 56px 0 88px;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 48px;
  }

  .hero__visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }
}

/* The orb: the same layers as the app's talk button, but decorative here. */
.orb {
  --orb-size: min(44vw, 200px);
  position: relative;
  width: var(--orb-size);
  aspect-ratio: 1;
  margin-top: 18px;
  animation: breathe 7s ease-in-out infinite;
}

@media (min-width: 900px) {
  .orb {
    --orb-size: min(28vw, 300px);
    margin-top: 0;
  }
}

.orb__halo,
.orb__core,
.orb__sheen,
.orb__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
}

.orb__halo {
  inset: -12%;
  background: conic-gradient(from 90deg, var(--orb-1), var(--orb-2), var(--orb-3), var(--orb-4), var(--orb-1));
  filter: blur(34px);
  opacity: 0.5;
}

.orb__core {
  background: conic-gradient(from 0deg, var(--orb-1), var(--orb-2), var(--orb-3), var(--orb-4), var(--orb-1));
  box-shadow:
    inset 0 -14px 34px rgba(40, 20, 60, 0.18),
    0 22px 50px -20px var(--orb-glow);
  animation: swirl 22s linear infinite;
}

.orb__sheen {
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.6), transparent 38%),
    radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.12), transparent 45%);
}

.orb__ring {
  border: 1px solid color-mix(in srgb, var(--orb-2) 55%, transparent);
  opacity: 0;
  animation: ripple 7s ease-out infinite;
}

.orb__ring--2 {
  animation-delay: 3.5s;
}

.orb__icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.95);
  filter: drop-shadow(0 2px 6px rgba(40, 20, 60, 0.35));
}

.orb__icon svg {
  width: 22%;
  height: 22%;
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.045);
  }
}

@keyframes swirl {
  to {
    transform: rotate(360deg);
  }
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  70%,
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

/* Sample conversation */
.sample {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px 18px;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
}

.sample__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.msg {
  max-width: 92%;
  margin: 0;
  overflow-wrap: anywhere;
}

.msg--user {
  align-self: flex-end;
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 9px 14px;
  border-radius: 16px 16px 4px 16px;
  font-size: 0.95rem;
  color: var(--muted);
}

.msg--assistant {
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.5;
  padding: 2px 4px;
}

.msg__who {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 2px;
}

/* ==========================================================================
   How it works
   ========================================================================== */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step__num {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.step h3 {
  font-size: 1.35rem;
}

/* ==========================================================================
   Modes
   ========================================================================== */

.mode {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mode__top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mode--calm {
  overflow: hidden;
}

.breath {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}

.breath__circle {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--orb-3) 70%, white), var(--orb-3) 55%, var(--orb-2));
  box-shadow: 0 0 24px -6px var(--orb-glow);
  animation: breath-cycle 10s ease-in-out infinite;
}

.breath__words {
  display: grid;
  font-family: var(--font-display);
  font-size: 1rem;
}

.breath__words span {
  grid-area: 1 / 1;
}

.breath__in {
  animation: show-in 10s linear infinite;
}

.breath__out {
  opacity: 0;
  animation: show-out 10s linear infinite;
}

@keyframes breath-cycle {
  0% {
    transform: scale(0.55);
  }
  40% {
    transform: scale(1);
  }
  100% {
    transform: scale(0.55);
  }
}

@keyframes show-in {
  0%,
  38% {
    opacity: 1;
  }
  42%,
  100% {
    opacity: 0;
  }
}

@keyframes show-out {
  0%,
  38% {
    opacity: 0;
  }
  42%,
  97% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* ==========================================================================
   Safety
   ========================================================================== */

.safety {
  display: grid;
  gap: 24px;
  padding: 24px;
  border-radius: calc(var(--radius) + 6px);
  background: color-mix(in srgb, var(--care-soft) 70%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--care) 22%, var(--line));
}

@media (min-width: 900px) {
  .safety {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    padding: 40px;
  }
}

.safety__copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.safety__copy h2 {
  color: var(--text);
}

.not-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.not-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.not-list svg {
  margin-top: 3px;
  color: var(--care);
}

.helplines {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.helplines li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.helplines__info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1 180px;
}

.helplines__region {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.helplines__name {
  font-weight: 700;
}

.helplines__detail {
  font-size: 0.85rem;
  color: var(--muted);
}

.helplines__numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--care);
  color: var(--care-ink);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.tel:hover {
  color: var(--care-ink);
  filter: brightness(1.06);
}

.tel--quiet {
  background: transparent;
  color: var(--care);
  border: 1px solid color-mix(in srgb, var(--care) 45%, var(--line));
}

.tel--quiet:hover {
  color: var(--care);
  background: var(--care-soft);
}

/* ==========================================================================
   Privacy
   ========================================================================== */

.privacy {
  display: grid;
  gap: 24px;
}

@media (min-width: 900px) {
  .privacy {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 40px;
    align-items: start;
  }
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.check-list .icon-chip {
  width: 36px;
  height: 36px;
  border-radius: 12px;
}

.check-list .icon-chip svg {
  width: 18px;
  height: 18px;
}

.check-list strong {
  display: block;
  font-size: 1.05rem;
}

.leaves {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--info-soft);
  border-color: color-mix(in srgb, var(--focus) 20%, var(--line));
}

.leaves h3 {
  font-size: 1.2rem;
}

.leaves a {
  color: var(--accent-hover);
  font-weight: 700;
}

/* ==========================================================================
   Therapists, get the app
   ========================================================================== */

.feature {
  display: grid;
  gap: 20px;
  padding: 28px 24px;
  border-radius: calc(var(--radius) + 6px);
  background: color-mix(in srgb, var(--accent-soft) 60%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
}

@media (min-width: 900px) {
  .feature {
    grid-template-columns: minmax(0, 1.4fr) auto;
    align-items: center;
    padding: 40px;
    gap: 40px;
  }
}

.feature__copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.get {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.get .brand__dot {
  width: 56px;
  height: 56px;
  box-shadow: 0 14px 40px -10px var(--orb-glow);
}

.stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.store {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 170px;
  min-height: 52px;
  padding: 8px 18px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  color: var(--muted);
  text-align: left;
  line-height: 1.25;
}

.store small {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.store strong {
  color: var(--text);
  font-size: 1.05rem;
}

.store-badge {
  display: inline-block;
}

.store-badge img {
  height: 48px;
  width: auto;
}

.fineprint {
  max-width: 36rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq {
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s;
}

.faq details[open] {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  transform: rotate(225deg) translate(-2px, -2px);
}

.faq__body {
  padding: 0 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--text);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  margin-top: 32px;
  padding: 48px 0 32px;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 55%, transparent);
  font-size: 0.92rem;
}

.footer__grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 720px) {
  .footer__grid {
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  }
}

.footer__about {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 22rem;
}

.footer__col h2 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer__col a {
  display: inline-block;
  padding: 4px 0;
  color: var(--text);
  text-decoration: none;
}

.footer__col a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer__crisis {
  margin-top: 36px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--care-soft);
}

.footer__crisis a {
  color: var(--care);
  font-weight: 800;
  white-space: nowrap;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.85rem;
}

/* ==========================================================================
   Placeholders (things the founder still has to fill in)
   ========================================================================== */

mark.ph {
  background: var(--mark);
  color: var(--mark-ink);
  border-radius: 4px;
  padding: 0 0.2em;
  outline: 1px dashed color-mix(in srgb, var(--mark-ink) 45%, transparent);
  overflow-wrap: anywhere;
}

/* ==========================================================================
   Simple pages (support, 404) and legal documents
   ========================================================================== */

.page-head {
  padding: 40px 0 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-head h1 {
  font-size: clamp(2rem, 6vw, 3rem);
}

.page-body {
  padding: 24px 0 64px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.page-body > section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-body h2 {
  font-size: clamp(1.4rem, 3.6vw, 1.8rem);
}

.crisis-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--care-soft) 75%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--care) 25%, var(--line));
}

.crisis-panel h2 {
  color: var(--care);
}

.call-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.prose {
  max-width: 46rem;
}

.prose > * + * {
  margin-top: 1em;
}

.prose ul,
.prose ol {
  padding-left: 1.3em;
}

.prose li + li {
  margin-top: 0.4em;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.legal-nav a:hover {
  color: var(--text);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
}

.legal-nav a[aria-current="page"] {
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  color: var(--text);
}

.doc {
  max-width: 46rem;
  padding: 28px 0 64px;
  overflow-wrap: break-word;
}

.doc .legal-nav {
  padding: 0;
  margin: 0 0 20px;
}

.doc .legal-nav li + li {
  margin-top: 0;
}

.doc h1 {
  font-size: clamp(2rem, 6vw, 2.9rem);
  margin: 8px 0 20px;
}

.doc h2 {
  font-size: clamp(1.4rem, 3.6vw, 1.75rem);
  margin: 2.2em 0 0.6em;
  scroll-margin-top: 84px;
}

.doc h3 {
  font-size: 1.15rem;
  margin: 1.8em 0 0.5em;
  scroll-margin-top: 84px;
}

.doc p,
.doc ul,
.doc ol,
.doc .table-wrap,
.doc blockquote {
  margin: 0 0 1em;
}

.doc ul,
.doc ol {
  padding-left: 1.3em;
}

.doc li + li {
  margin-top: 0.35em;
}

.doc hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2em 0;
}

.doc blockquote {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border-left: 3px solid var(--line);
}

.doc blockquote > * + * {
  margin-top: 0.6em;
}

.doc blockquote p {
  margin: 0;
}

.doc .draft-banner {
  background: var(--mark);
  color: var(--mark-ink);
  border-left: 0;
  outline: 1px dashed color-mix(in srgb, var(--mark-ink) 40%, transparent);
}

.doc .draft-banner code {
  background: color-mix(in srgb, var(--mark-ink) 12%, transparent);
}

.doc .drafting-note {
  background: var(--info-soft);
  border-left-color: var(--focus);
}

.doc .callout {
  background: var(--care-soft);
  border-left-color: var(--care);
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}

.table-wrap:focus-visible {
  outline-offset: 2px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  min-width: 8rem;
}

tr:last-child td {
  border-bottom: 0;
}

th {
  background: var(--surface-2);
  font-weight: 700;
}

.toc {
  margin: 0 0 28px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.toc > summary {
  padding: 12px 16px;
  font-weight: 700;
  cursor: pointer;
}

.toc ol {
  margin: 0;
  padding: 0 16px 14px 36px;
  columns: 1;
}

@media (min-width: 720px) {
  .toc ol {
    columns: 2;
    column-gap: 32px;
  }
}

.toc li {
  break-inside: avoid;
  padding: 2px 0;
}

.toc a {
  color: var(--text);
}

.doc-meta {
  margin-top: 32px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ==========================================================================
   Motion preferences
   ========================================================================== */

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .breath__out {
    opacity: 0;
  }
}
