/* ==========================================================================
   HALE · styles.css
   Calm, flat, premium dark. Charcoal #0B0F0D, emerald #34D399,
   amber #F2B95C for together-moments, coral #FF6B5C for SOS.
   Flat panels, solid accents, one spacing scale. No gradient soup.
   ========================================================================== */

:root {
  --bg:        #0B0F0D;
  --panel:     #111713;
  --panel-2:   #161E19;
  --line:      rgba(235, 245, 238, 0.08);
  --line-2:    rgba(235, 245, 238, 0.14);

  --emerald:   #34D399;
  --emerald-2: #6FE7BC;
  --amber:     #F2B95C;
  --coral:     #FF6B5C;

  --ink:       #ECF4EE;
  --ink-2:     #A7B5AB;
  --ink-3:     #66736B;
  --on-emerald:#04150E;
  --on-amber:  #1D1305;

  --font-sans: 'Sora', system-ui, -apple-system, sans-serif;
  --font-serif:'Fraunces', Georgia, serif;

  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 11px;
  --container: 1160px;
  --section-pad: clamp(80px, 9vw, 124px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 84px; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: rgba(52, 211, 153, 0.28); color: var(--ink); }

img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

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

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.container.narrow { max-width: 800px; }
.muted { color: var(--ink-3); }

/* ---------- Typography ---------- */
h1 {
  font-size: clamp(44px, 6.6vw, 84px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.04em;
}
h2 {
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 450;
  letter-spacing: -0.02em;
  color: var(--emerald);
  padding-right: 0.07em; /* protect the italic overhang */
}
.amber-text { color: var(--amber); }
.coral-text { color: var(--coral); }

.kicker {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 18px;
}
.kicker.amber { color: var(--amber); }
.kicker.coral { color: var(--coral); }

.body-lg {
  font-size: clamp(16px, 1.5vw, 18px);
  color: var(--ink-2);
  max-width: 56ch;
}
.body-lg.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Numbers never jitter or stretch layouts */
.stat b, .calc-v, .slider-val, .price-line b, .tl-when, .breath-count {
  font-variant-numeric: tabular-nums;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 13px 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn svg { width: 19px; height: 19px; flex-shrink: 0; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--emerald); color: var(--on-emerald); }
.btn-primary:hover { background: #4ADCA6; }

.btn-ghost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--ink);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.05); }

.btn-soft {
  background: rgba(52, 211, 153, 0.1);
  color: var(--emerald);
  border-color: rgba(52, 211, 153, 0.25);
  padding: 10px 18px;
  font-size: 14px;
}
.btn-soft:hover { background: rgba(52, 211, 153, 0.18); }

.btn-amber { background: var(--amber); color: var(--on-amber); }
.btn-amber:hover { background: #F7C677; }
.btn-amber:disabled { opacity: 0.85; cursor: default; }

.btn-coral { background: var(--coral); color: #fff; }
.btn-coral:hover { background: #FF7F72; }

/* ---------- Nav ---------- */
header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200;
  transition: transform 0.4s var(--ease-out), background 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}
header.scrolled {
  background: rgba(11, 15, 13, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom-color: var(--line);
}
header.hidden { transform: translateY(-100%); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}

.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo-mark { width: 30px; height: 30px; }
.logo-mark svg { width: 30px; height: 30px; }
.logo-word { font-weight: 800; font-size: 17px; letter-spacing: 0.16em; }

.nav-links { display: flex; gap: 30px; }
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--ink); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 11px;
  background: transparent;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6px;
}
.nav-burger span {
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease-out);
}
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.drawer {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 10px 28px 26px;
  background: rgba(11, 15, 13, 0.97);
  border-bottom: 1px solid var(--line);
}
.drawer a {
  padding: 13px 4px;
  font-size: 17px; font-weight: 600;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
}
.drawer a:hover { color: var(--ink); }
.drawer .btn { margin-top: 18px; border-bottom: none; color: var(--on-emerald); justify-content: center; }
header.menu-open .drawer { display: flex; }

@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 72px;
  overflow: hidden;
}

#orb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.4s ease 0.2s;
}
#orb.ready { opacity: 1; }

/* CSS fallback orb when WebGL is unavailable */
.hero.no-webgl::before {
  content: "";
  position: absolute;
  top: 50%; left: 72%;
  width: 620px; height: 620px;
  margin: -310px 0 0 -310px;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 38%, rgba(111, 231, 188, 0.28), rgba(52, 211, 153, 0.12) 38%, rgba(52, 211, 153, 0.04) 62%, transparent 72%);
  animation: orb-breathe 8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes orb-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.14); }
}
@media (max-width: 1020px) {
  .hero.no-webgl::before { left: 50%; top: 62%; }
}

.hero-fade {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(1100px 700px at 70% 40%, transparent 30%, rgba(11, 15, 13, 0.55) 75%, var(--bg) 100%),
    linear-gradient(180deg, rgba(11,15,13,0.5) 0%, transparent 22%, transparent 70%, var(--bg) 98%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}

/* One quiet entrance on load. No scroll-fade boxes anywhere else. */
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-copy { animation: rise 0.8s var(--ease-out) both; }
.hero-phone { animation: rise 0.8s var(--ease-out) 0.15s both; }

.hero h1 { margin-bottom: 24px; }
.hero .kicker { margin-bottom: 22px; }
.hero .lede {
  font-size: clamp(16px, 1.55vw, 18.5px);
  color: var(--ink-2);
  max-width: 50ch;
  margin-bottom: 34px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero-meta { font-size: 13.5px; color: var(--ink-3); }

@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero { padding-top: 110px; }
  .hero-copy { text-align: center; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
}

/* ---------- Phone frame (real screenshots) ---------- */
.hero-phone {
  display: flex;
  justify-content: center;
  perspective: 1400px;
}

.phone-frame {
  border-radius: 44px;
  padding: 10px;
  background: #1A211C;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
  will-change: transform;
}
.phone-frame img {
  border-radius: 35px;
  display: block;
  height: auto;
}
.hero-phone .phone-frame img { width: 310px; }

.shot { text-align: center; }
.shot .phone-frame { display: inline-block; }
.shot .phone-frame img { width: 290px; }
.shot-caption {
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-3);
}

@media (max-width: 480px) {
  .hero-phone .phone-frame img, .shot .phone-frame img { width: 264px; }
}

/* ---------- Stats ---------- */
.stats { padding: var(--section-pad) 0 0; }
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  border-top: 1px solid var(--line);
  padding-top: 40px;
}
.stat b {
  display: block;
  font-size: clamp(34px, 3.6vw, 44px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 8px;
  color: var(--emerald);
}
.stat span { font-size: 14px; color: var(--ink-2); line-height: 1.55; max-width: 30ch; display: block; }
@media (max-width: 720px) {
  .stats-row { grid-template-columns: 1fr; gap: 28px; }
  .stat span { max-width: none; }
}

/* ---------- Sections / shared ---------- */
.section { padding: var(--section-pad) 0; }
.section-head { max-width: 660px; margin: 0 auto 56px; text-align: center; }
.section-head .body-lg { margin: 18px auto 0; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split.reverse > .split-copy { order: 2; }
.split-copy h2 { margin-bottom: 22px; }
.split-copy .body-lg { margin-bottom: 28px; }

.feature-list { list-style: none; display: flex; flex-direction: column; gap: 18px; margin-bottom: 28px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.tick {
  flex-shrink: 0;
  width: 24px; height: 24px;
  margin-top: 2px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700;
  background: rgba(52, 211, 153, 0.13);
  color: var(--emerald);
}
.tick.amber-bg { background: rgba(242, 185, 92, 0.13); color: var(--amber); }
.tick.coral-bg { background: rgba(255, 107, 92, 0.13); color: var(--coral); }
.feature-list b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.015em; }
.feature-list li div span { font-size: 14px; color: var(--ink-2); }

@media (max-width: 940px) {
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split.reverse > .split-copy { order: 0; }
}

/* ---------- Demo cards (flat) ---------- */
.demo-card {
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: 28px;
}
.demo-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--ink-3);
  margin-bottom: 22px;
}

/* Buddy demo */
.bd-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}
.bd-person {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px 14px;
  text-align: center;
  position: relative;
  transition: border-color 0.3s ease;
}
.bd-person.done { border-color: rgba(52, 211, 153, 0.45); }
.bd-avatar {
  display: block;
  width: 42px; height: 42px;
  border-radius: 50%;
  margin: 0 auto 10px;
}
.bd-avatar.you { background: #2BAF7F; }
.bd-avatar.buddy { background: #5E6AD2; }
.bd-person b { display: block; font-size: 14.5px; }
.bd-person div span { font-size: 11.5px; color: var(--ink-3); display: block; min-height: 2.6em; }
.bd-state {
  position: absolute;
  top: 10px; right: 10px;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 11px;
  background: rgba(52, 211, 153, 0.16);
  color: var(--emerald);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.bd-state.show { opacity: 1; }
.bd-state.show::after { content: "✓"; }

.bd-link {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--amber);
  color: var(--on-amber);
}
.bd-link svg { width: 19px; height: 19px; }

.bd-streak {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 13.5px; color: var(--ink-2);
  padding: 11px;
  border: 1px dashed var(--line-2);
  border-radius: var(--r-sm);
  margin-bottom: 16px;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.bd-streak.synced { border-color: rgba(242, 185, 92, 0.5); color: var(--amber); border-style: solid; }
.bd-streak b { font-size: 15px; color: var(--ink); }
.bd-streak.synced b { color: var(--amber); }

.bd-after { font-size: 12.5px; color: var(--ink-3); text-align: center; margin-top: 14px; }

/* Chat demo */
.chat-thread { display: flex; flex-direction: column; gap: 12px; min-height: 320px; }
.chat-msg {
  max-width: 88%;
  padding: 13px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.45s var(--ease-out);
}
.chat-msg.show { opacity: 1; transform: translateY(0); }
.chat-msg.user {
  align-self: flex-end;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-bottom-right-radius: 5px;
}
.chat-msg.sage {
  align-self: flex-start;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-bottom-left-radius: 5px;
}
.chat-msg.sage::before {
  content: "Sage";
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 5px;
}
.chat-typing {
  align-self: flex-start;
  display: inline-flex;
  gap: 5px;
  padding: 14px 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  border-bottom-left-radius: 5px;
}
.chat-typing i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  animation: typing-bounce 1.2s infinite;
}
.chat-typing i:nth-child(2) { animation-delay: 0.15s; }
.chat-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-5px); opacity: 1; }
}

/* ---------- Calculator ---------- */
.calc {
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: 44px;
  margin-bottom: var(--section-pad);
}
.calc-controls { max-width: 560px; margin: 0 auto 36px; }
.calc-q { font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 13px; }
.calc-q:not(:first-child) { margin-top: 28px; }

.seg {
  display: inline-flex;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 4px;
  gap: 4px;
}
.seg-btn {
  border: none;
  background: transparent;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}
.seg-btn:hover { color: var(--ink); }
.seg-btn.active { background: rgba(52, 211, 153, 0.14); color: var(--emerald); }

.slider-row { display: flex; align-items: center; gap: 22px; }
input[type="range"] {
  flex: 1;
  appearance: none;
  -webkit-appearance: none;
  height: 5px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--emerald) var(--fill, 26%), rgba(255,255,255,0.09) var(--fill, 26%));
  outline-offset: 6px;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--emerald);
  border: 3px solid var(--bg);
  cursor: grab;
}
input[type="range"]::-webkit-slider-thumb:active { cursor: grabbing; }
input[type="range"]::-moz-range-thumb {
  width: 21px; height: 21px;
  border-radius: 50%;
  background: var(--emerald);
  border: 3px solid var(--bg);
  cursor: grab;
}
.slider-val {
  min-width: 78px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--emerald);
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: 8px 12px;
}

.calc-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.calc-cell {
  text-align: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px 14px;
}
.calc-k { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.09em; color: var(--ink-3); margin-bottom: 8px; }
.calc-v { font-size: clamp(26px, 2.8vw, 36px); font-weight: 700; letter-spacing: -0.03em; }
.calc-v.amber { color: var(--amber); }

.calc-equiv {
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(17px, 2vw, 20px);
  color: var(--amber);
  min-height: 1.6em;
}

@media (max-width: 720px) {
  .calc { padding: 30px 22px; }
  .calc-results { grid-template-columns: 1fr; }
}

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 720px; margin: 0 auto; }
.timeline-rail {
  position: absolute;
  left: 9px; top: 8px; bottom: 8px;
  width: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}
.timeline-rail span {
  display: block;
  width: 100%; height: 100%;
  transform: scaleY(0);
  transform-origin: top;
  background: var(--emerald);
}
.timeline-list { list-style: none; display: flex; flex-direction: column; }
.tl-item {
  display: grid;
  grid-template-columns: 20px 124px 1fr;
  gap: 22px;
  align-items: start;
  padding: 21px 0;
}
.tl-dot {
  width: 20px; height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--line-2);
  position: relative;
  z-index: 1;
  transition: border-color 0.3s ease;
}
.tl-item.lit .tl-dot { border-color: var(--emerald); }
.tl-item.lit .tl-dot::after {
  content: "";
  position: absolute; inset: 4px;
  border-radius: 50%;
  background: var(--emerald);
}
.tl-when {
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: -0.02em;
  color: var(--emerald);
  padding-top: 1px;
}
.tl-item.milestone .tl-when { color: var(--amber); }
.tl-item.milestone.lit .tl-dot { border-color: var(--amber); }
.tl-item.milestone.lit .tl-dot::after { background: var(--amber); }
.tl-what b { display: block; font-size: 16.5px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 3px; }
.tl-what span { font-size: 14px; color: var(--ink-2); }

@media (max-width: 600px) {
  .tl-item { grid-template-columns: 20px 1fr; }
  .tl-when { grid-column: 2; }
  .tl-what { grid-column: 2; }
}

/* ---------- Pricing ---------- */
.price-list { list-style: none; display: flex; flex-direction: column; margin-bottom: 28px; }
.price-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.price-list li:first-child { border-top: 1px solid var(--line); }
.price-list b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 2px; }
.price-list span { font-size: 14px; color: var(--ink-2); }
.price-line { font-size: 15px; color: var(--ink-2); }
.price-line b {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-right: 2px;
}

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 4px;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
  cursor: pointer;
  transition: color 0.15s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--emerald-2); }
.faq-x {
  position: relative;
  flex-shrink: 0;
  width: 22px; height: 22px;
}
.faq-x::before, .faq-x::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 14px; height: 2px;
  background: var(--emerald);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease-out);
}
.faq-x::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-x::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-body { padding: 0 4px; }
.faq-body p { padding-bottom: 24px; font-size: 14.5px; color: var(--ink-2); max-width: 64ch; }

/* ---------- Final CTA ---------- */
.final { padding-bottom: calc(var(--section-pad) + 20px); }
.final-card {
  text-align: center;
  border-radius: 28px;
  padding: clamp(56px, 7vw, 88px) 40px;
  background: var(--panel);
  border: 1px solid var(--line-2);
}
.final-card h2 { margin-bottom: 20px; }
.final-card .body-lg { margin: 0 auto 36px; }

.store-row { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  background: #fff;
  color: #0A0A0A;
  border-radius: 14px;
  padding: 13px 26px;
  transition: transform 0.2s ease;
}
.store-badge:hover { transform: translateY(-2px); }
.store-badge svg { width: 27px; height: 27px; }
.store-badge span { text-align: left; line-height: 1.15; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.store-badge small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: 0.02em; color: #555; }
.store-note { font-size: 12.5px; color: var(--ink-3); }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 64px 0 44px; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 48px;
}
.foot-brand p { margin-top: 16px; font-size: 14px; color: var(--ink-3); line-height: 1.7; }
.foot-col h3 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.foot-col a {
  display: block;
  font-size: 14.5px;
  color: var(--ink-2);
  padding: 5px 0;
  transition: color 0.15s ease;
}
.foot-col a:hover { color: var(--ink); }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.foot-bottom p { font-size: 12.5px; color: var(--ink-3); }
.foot-social { display: flex; gap: 16px; }
.foot-social a { color: var(--ink-3); transition: color 0.15s ease; }
.foot-social a:hover { color: var(--emerald); }
.foot-social svg { width: 19px; height: 19px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- SOS overlay ---------- */
.sos-overlay {
  position: fixed; inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 40px 24px;
  background: rgba(8, 11, 9, 0.96);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.sos-overlay.visible { opacity: 1; }
.sos-overlay[hidden] { display: none; }

.sos-close {
  position: absolute;
  top: 26px; right: 26px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink-2);
  font-size: 16px;
  transition: background 0.2s ease, color 0.2s ease;
}
.sos-close:hover { background: rgba(255, 255, 255, 0.08); color: var(--ink); }

.sos-stage { text-align: center; }
.breath-circle {
  width: 230px; height: 230px;
  margin: 0 auto 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid rgba(255, 107, 92, 0.55);
  background: rgba(255, 107, 92, 0.07);
  transform: scale(0.82);
  transition: transform 4s cubic-bezier(0.45, 0, 0.55, 1), border-color 1.5s ease, background 1.5s ease;
}
.breath-circle.inhale { transform: scale(1.18); }
.breath-circle.calm {
  border-color: rgba(52, 211, 153, 0.6);
  background: rgba(52, 211, 153, 0.07);
}
.breath-inner {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.breath-phase {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.breath-count {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 19px;
  color: var(--ink-2);
  margin-bottom: 16px;
}
.breath-cycles { font-size: 13px; color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }

.sos-overlay-note {
  max-width: 46ch;
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-3);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  html { scroll-behavior: auto; }
}
