/* ==========================================================================
   LivOn4ever — shared styles
   Direction: heirloom editorial in the app's palette — sky-to-mint
   gradients, royal-blue actions, navy splash, cyan/green accents, and a
   voice waveform as the recurring motif.
   ========================================================================== */

:root {
  --paper: #f1fafd;
  --paper-2: #dff3fb;
  --card: #ffffff;
  --sky: #cdeefb;
  --mint: #e2f6ec;
  --ink: #0e2440;
  --ink-2: #3d5470;
  --ink-3: #6d8399;
  --line: rgba(14, 36, 64, 0.12);
  --ember: #1f5fc9;      /* app primary blue */
  --ember-2: #48c4f5;    /* logo sky blue */
  --gold: #62d6f5;       /* cyan highlight on navy */
  --leaf: #7dd742;       /* logo green */
  --leaf-ink: #3f9e1f;
  --night: #0b2140;      /* splash navy */
  --night-2: #15406c;
  --brand-grad: linear-gradient(95deg, #1f5fc9 0%, #2f9be8 55%, #3cc0e8 100%);
  --app-grad: linear-gradient(180deg, var(--sky) 0%, #d9f2f6 55%, var(--mint) 100%);

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

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

html { scroll-padding-top: 90px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.25;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.25 0 0 0 0 0.4 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--ember); color: #fff; }

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

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

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 200;
}
.skip:focus { left: 8px; }

/* ---------- Wordmark ---------- */
.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-variation-settings: "opsz" 48;
}
.wordmark > span {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.wordmark .four {
  color: var(--leaf-ink);
  -webkit-text-fill-color: var(--leaf-ink);
  font-style: italic;
  font-weight: 500;
  margin: 0 1px;
}
/* Brand logo image; the text wordmark is the fallback if assets/logo.png is missing */
.wordmark .logo { height: 50px; width: auto; filter: drop-shadow(0 2px 6px rgba(14, 36, 64, 0.12)); }
.wordmark.has-logo > span,
.wordmark.has-logo .wordmark-mark { display: none; }
.wordmark:not(.has-logo) .logo { display: none; }
.site-footer .wordmark .logo { height: 64px; filter: none; }
.wordmark-mark {
  width: 30px;
  height: 30px;
  flex: none;
}

/* ---------- Header ---------- */
/* Floating header capsule (in the spirit of dbapparel.co): logo + nav sit in
   a rounded navy capsule hovering over the page. Navy is the backdrop the
   logo's white "O" and sky/green letters read best on. Scrolling tightens it. */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 14px 16px 0;
  pointer-events: none;
}
.site-header .wrap {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
  padding: 0 14px 0 24px;
  border-radius: 999px;
  background: rgba(11, 33, 64, 0.8);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px -22px rgba(11, 33, 64, 0.55);
  transition: background 0.45s var(--ease), box-shadow 0.45s, height 0.45s var(--ease);
}
.site-header.scrolled .wrap {
  height: 62px;
  background: rgba(11, 33, 64, 0.92);
  box-shadow: 0 20px 44px -18px rgba(11, 33, 64, 0.65);
}
.site-header .wordmark .logo { height: 52px; filter: none; transition: height 0.45s var(--ease); }
.site-header.scrolled .wordmark .logo { height: 44px; }
.site-header .nav a { color: rgba(241, 250, 253, 0.8); }
.site-header .nav a:hover { color: #fff; }
.site-header .nav a::after { background: var(--leaf); }
.site-header .pill {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}
@media (max-width: 560px) {
  .site-header { padding: 10px 10px 0; }
  .site-header .wrap { height: 60px; padding: 0 12px 0 16px; }
  .site-header.scrolled .wrap { height: 54px; }
  .site-header .wordmark .logo { height: 42px; }
  .site-header.scrolled .wordmark .logo { height: 38px; }
}
.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.92rem;
  font-weight: 500;
}
.nav a {
  text-decoration: none;
  color: var(--ink-2);
  position: relative;
  transition: color 0.2s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1.5px;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 0 0 rgba(125, 215, 66, 0.55);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(125, 215, 66, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(125, 215, 66, 0); }
  100% { box-shadow: 0 0 0 0 rgba(125, 215, 66, 0); }
}

.header-actions { display: flex; align-items: center; gap: 10px; }

/* Burger button: hidden on desktop */
.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  padding: 0;
  flex: none;
}
.menu-toggle span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.35s var(--ease), opacity 0.2s, top 0.35s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-open .menu-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .site-header .wrap { position: relative; }
  .menu-open .wrap { background: rgba(11, 33, 64, 0.96); }

  /* The nav becomes a dropdown panel under the capsule */
  .site-header .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border-radius: 24px;
    background: rgba(11, 33, 64, 0.97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 50px -20px rgba(11, 33, 64, 0.7);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
  }
  .menu-open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s;
  }
  .site-header .nav a {
    font-family: var(--serif);
    font-size: 1.35rem;
    color: #fff;
    padding: 16px 18px;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-variation-settings: "opsz" 48;
  }
  .site-header .nav a + a { border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .site-header .nav a::after {
    content: "→";
    position: static;
    height: auto;
    background: none;
    transform: none;
    font-family: var(--sans);
    font-size: 1rem;
    color: var(--leaf);
  }
  .site-header .nav a:hover,
  .site-header .nav a:focus-visible { background: rgba(255, 255, 255, 0.06); }
}

/* ---------- Generic section ---------- */
section { position: relative; }
.section { padding: clamp(88px, 12vw, 160px) 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ember);
  margin: 0 0 22px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: currentColor;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin: 0;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
h2 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
h2 em, h1 em {
  font-style: italic;
  color: var(--ember);
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-right: 0.08em;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}

p { margin: 0 0 1.15em; }
.lede {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 1.62rem);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-variation-settings: "opsz" 36;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--app-grad);
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(92px + clamp(40px, 6vw, 72px)) 0 clamp(64px, 8vw, 96px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: 900px;
  height: 900px;
  right: -280px;
  top: -260px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 62%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  left: -300px;
  bottom: -360px;
  background: radial-gradient(circle, rgba(125, 215, 66, 0.22), rgba(125, 215, 66, 0) 65%);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(3.3rem, 9.4vw, 7.6rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
  margin: 28px 0 0;
}
.hero h1 .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}
.hero h1 .line > span {
  display: inline-block;
  animation: rise 1.1s var(--ease) both;
}
.hero h1 .line:nth-child(2) > span { animation-delay: 0.1s; }
.hero h1 .line:nth-child(3) > span { animation-delay: 0.2s; }
.hero h1 .line:nth-child(4) > span { animation-delay: 0.32s; }
@keyframes rise {
  from { transform: translateY(105%); }
  to { transform: translateY(0); }
}
.hero-sub {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  animation: fade 1s 0.6s both;
}
.hero-sub span { display: inline-flex; align-items: center; gap: 10px; }
.hero-sub span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ember);
}
.hero-cta {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  animation: fade 1s 0.75s both;
}
@keyframes fade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s, box-shadow 0.3s;
}
.btn-dark {
  background: var(--ember);
  color: #fff;
  box-shadow: 0 12px 28px -12px rgba(31, 95, 201, 0.7);
}
.btn-dark:hover { transform: translateY(-2px); background: #174fae; }
.btn-ghost {
  color: var(--ember);
  border: 1.5px solid var(--ember);
  background: rgba(255, 255, 255, 0.5);
}
.btn-ghost:hover { background: #fff; }
.btn svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateY(2px); }

/* Hero keepsake card with voice waveform */
.keepsake {
  margin: 0;
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  background:
    radial-gradient(120% 80% at 80% 0%, rgba(98, 214, 245, 0.28), transparent 60%),
    linear-gradient(160deg, var(--night-2), var(--night) 70%);
  color: var(--paper);
  padding: clamp(24px, 3.4vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow:
    0 50px 80px -40px rgba(14, 36, 64, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  animation: fade 1.2s 0.3s both;
  overflow: hidden;
  isolation: isolate;
}
.keepsake::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(241, 250, 253, 0.12);
  border-radius: 18px;
  pointer-events: none;
}
.keepsake-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(241, 250, 253, 0.6);
}
.rec {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
}
.rec::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--leaf);
  animation: blink 1.6s infinite;
}
@keyframes blink { 50% { opacity: 0.25; } }

.keepsake-quote {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.22;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 72, "SOFT" 100;
  margin: 0;
}
.keepsake-quote em { color: var(--gold); }

.wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 92px;
}
.wave i {
  flex: 1;
  min-width: 2px;
  border-radius: 3px;
  background: linear-gradient(to top, #48c4f5, #8dea3a);
  height: var(--h, 40%);
  transform-origin: center;
  animation: wave 1.8s ease-in-out infinite;
  animation-delay: var(--d, 0s);
  opacity: 0.92;
}
@keyframes wave {
  0%, 100% { transform: scaleY(0.45); }
  50% { transform: scaleY(1); }
}
.keepsake-foot {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(241, 250, 253, 0.55);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

@media (max-width: 560px) {
  .site-header .pill { display: none; }
}
@media (max-width: 900px) {
  .hero { min-height: 0; }
  .keepsake { width: 100%; }
  .hero .wrap { grid-template-columns: 1fr; }
  .keepsake { aspect-ratio: auto; min-height: 380px; gap: 28px; }
}

/* ---------- Marquee band ---------- */
.band {
  background: linear-gradient(90deg, #7dd742, #5fd3a8 50%, #48c4f5);
  color: var(--night);
  overflow: hidden;
  padding: 22px 0;
}
.band-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.band-track span {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  padding: 0 28px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 56px;
  font-variation-settings: "opsz" 72, "SOFT" 100;
}
.band-track span::after {
  content: "✦";
  font-style: normal;
  font-size: 0.8em;
  color: #fff;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- What is ---------- */
.what .wrap {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 110px);
}
.what h2 { position: sticky; top: 120px; }
.what-body p { color: var(--ink-2); font-size: 1.08rem; }
.what-body .lede { color: var(--ink); margin-bottom: 1.4em; font-size: clamp(1.3rem, 2.2vw, 1.62rem); }

.trio {
  margin: 48px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trio div {
  padding: 26px 18px 24px 0;
}
.trio div + div {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}
.trio b {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ember);
  font-variation-settings: "opsz" 144;
}
.trio span {
  display: block;
  margin-top: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.what .wrap.legacy { display: block; }
.legacy {
  margin-top: clamp(72px, 10vw, 120px);
  text-align: center;
}
.legacy blockquote {
  margin: 0 auto;
  max-width: 980px;
  font-family: var(--serif);
  font-size: clamp(2rem, 4.8vw, 3.9rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 144, "SOFT" 60;
}
.legacy blockquote span { display: block; }
.legacy blockquote span + span {
  color: var(--ember);
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.signoff {
  margin-top: 34px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.signoff strong {
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--ink);
  font-weight: 600;
}
.signoff-logo {
  width: auto;
  height: 52px;
  margin-bottom: 8px;
  filter: drop-shadow(0 4px 10px rgba(14, 36, 64, 0.18));
}
.why .signoff-logo,
.mission-card .signoff-logo { filter: none; }
.signoff strong .four { color: var(--leaf-ink); font-style: italic; font-weight: 500; }

@media (max-width: 860px) {
  .what .wrap { grid-template-columns: 1fr; }
  .what h2 { position: static; }
}
@media (max-width: 520px) {
  .trio { grid-template-columns: 1fr; }
  .trio div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Why (dark) ---------- */
.why {
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(63, 169, 245, 0.28), transparent 70%),
    radial-gradient(50% 40% at 0% 100%, rgba(125, 215, 66, 0.16), transparent 70%),
    var(--night);
  color: var(--paper);
  overflow: hidden;
}
.why .eyebrow { color: var(--gold); }
.why h2 em { background: linear-gradient(95deg, #62d6f5, #9be86a); -webkit-background-clip: text; background-clip: text; }
.why-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px 80px;
  align-items: end;
  padding-bottom: clamp(56px, 8vw, 96px);
  border-bottom: 1px solid rgba(241, 250, 253, 0.12);
}
.why-head h2 { font-size: clamp(2.6rem, 6.6vw, 5.4rem); }
.why-head p {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.5;
  color: rgba(241, 250, 253, 0.78);
  margin: 0;
  font-variation-settings: "opsz" 36;
}

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 100px);
  padding-top: clamp(56px, 8vw, 96px);
}
.because {
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-variation-settings: "opsz" 144;
}
.because li {
  padding: 18px 0;
  border-bottom: 1px solid rgba(241, 250, 253, 0.12);
}
.because li:first-child { padding-top: 0; }
.because li:nth-child(-n+2) { color: rgba(241, 250, 253, 0.42); }
.because li:nth-child(-n+2) s { text-decoration-thickness: 1.5px; text-decoration-color: rgba(98, 214, 245, 0.8); }
.because li:last-child { border-bottom: 0; color: #9be86a; font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }
.because-intro {
  font-size: 1.05rem;
  color: rgba(241, 250, 253, 0.78);
  margin-bottom: 28px;
}
.because-intro strong { color: var(--paper); font-weight: 600; }

.why-body p { color: rgba(241, 250, 253, 0.74); font-size: 1.06rem; }
.why-body .mission {
  margin: 34px 0;
  padding: 30px 30px 30px 32px;
  border-radius: var(--radius);
  background: rgba(241, 250, 253, 0.05);
  border: 1px solid rgba(241, 250, 253, 0.1);
  position: relative;
}
.why-body .mission::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 26px;
  bottom: 26px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(#62d6f5, #7dd742);
}
.why-body .mission p { color: var(--paper); margin: 0 0 1em; }
.why-body .mission p:last-child { margin: 0; }

.why-close {
  margin-top: clamp(72px, 10vw, 120px);
  text-align: center;
}
.why-close p {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.3;
  max-width: 900px;
  margin: 0 auto;
  letter-spacing: -0.02em;
  color: rgba(241, 250, 253, 0.86);
  font-variation-settings: "opsz" 96, "SOFT" 80;
}
.why-close p.final {
  margin-top: 26px;
  font-style: italic;
  color: var(--gold);
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.why .signoff { color: rgba(241, 250, 253, 0.5); }
.why .signoff strong { color: var(--paper); }
.why .signoff strong .four { color: var(--leaf); }

@media (max-width: 860px) {
  .why-head, .why-grid { grid-template-columns: 1fr; }
}

/* ---------- Founders ---------- */
.founders-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px 80px;
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 80px);
}
.founders-head .belief {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.3;
  color: var(--ember);
  margin: 4px 0 18px;
  font-variation-settings: "opsz" 72, "SOFT" 100;
}
.founders-head .copy p { color: var(--ink-2); }
.founders-head .copy p:last-child { margin-bottom: 0; }

.founder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.founder {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(26px, 3.4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.3s;
}
.founder:hover {
  transform: translateY(-4px);
  border-color: rgba(31, 95, 201, 0.35);
  box-shadow: 0 30px 60px -30px rgba(14, 36, 64, 0.35);
}
.founder-top {
  display: flex;
  align-items: center;
  gap: 18px;
}
.monogram {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: #fff;
  background: var(--ink);
  position: relative;
  font-variation-settings: "opsz" 72;
}
.monogram::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px dashed rgba(31, 95, 201, 0.55);
}
.founder:nth-child(1) .monogram { background: var(--ember); }
.founder:nth-child(2) .monogram { background: var(--leaf-ink); }
.founder:nth-child(3) .monogram { background: #48c4f5; }
.founder:nth-child(4) .monogram { background: var(--night-2); }
.founder h3 {
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 72;
}
.founder .role {
  /* app primary */
  margin-top: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember);
  line-height: 1.4;
}
.founder-bio p { color: var(--ink-2); font-size: 0.99rem; }
.founder-bio p:last-child { margin-bottom: 0; }

.mission-card {
  margin-top: 20px;
  border-radius: 28px;
  background: radial-gradient(70% 90% at 100% 100%, rgba(63, 169, 245, 0.35), transparent 60%), linear-gradient(150deg, var(--night-2), var(--night) 65%);
  color: var(--paper);
  padding: clamp(36px, 6vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 32px 80px;
  position: relative;
  overflow: hidden;
}
.mission-card::before {
  content: "4";
  position: absolute;
  right: -30px;
  bottom: -120px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 420px;
  line-height: 1;
  color: rgba(98, 214, 245, 0.07);
  pointer-events: none;
}
.mission-card h3 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1;
  font-variation-settings: "opsz" 144;
}
.mission-card h3 em {
  display: block;
  color: var(--gold);
  background: linear-gradient(95deg, #62d6f5, #9be86a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.mission-card .body { position: relative; z-index: 1; }
.mission-card p { color: rgba(241, 250, 253, 0.76); }
.mission-card p.strong {
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.4;
  font-variation-settings: "opsz" 48;
}
.mission-card .signoff { align-items: flex-start; color: rgba(241, 250, 253, 0.5); margin-top: 18px; }
.mission-card .signoff strong { color: var(--paper); }
.mission-card .signoff strong .four { color: var(--leaf); }

@media (max-width: 860px) {
  .founders-head, .mission-card { grid-template-columns: 1fr; }
  .founder-grid { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq { background: var(--app-grad); }
.faq .wrap {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 110px);
}
.faq-side { position: sticky; top: 120px; align-self: start; }
.faq-side p.lede { margin-top: 26px; font-size: 1.2rem; color: var(--ink-2); }

.help-card {
  margin-top: 36px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  padding: 26px 28px;
}
.help-card h3 {
  font-size: 1.5rem;
  font-variation-settings: "opsz" 48;
}
.help-card p { margin: 6px 0 16px; color: var(--ink-2); }
.mail-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1.5px solid var(--ember);
  padding-bottom: 2px;
  word-break: break-all;
}
.mail-link:hover { color: var(--ember); }
.mail-link svg { width: 18px; height: 18px; flex: none; color: var(--ember); }

.faq-list { border-top: 1px solid var(--line); counter-reset: q; }
.faq-item { border-bottom: 1px solid var(--line); counter-increment: q; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 44px 1fr 32px;
  align-items: center;
  gap: 12px;
  padding: 26px 0;
  font-family: var(--serif);
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  transition: color 0.2s;
  font-variation-settings: "opsz" 48;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: counter(q, decimal-leading-zero);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.faq-item summary:hover { color: var(--ember); }
.faq-item .icon {
  color: var(--ember);
  background: rgba(255, 255, 255, 0.6);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  position: relative;
  transition: background 0.3s, border-color 0.3s, transform 0.4s var(--ease);
}
.faq-item .icon::before,
.faq-item .icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.faq-item .icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.4s var(--ease); }
.faq-item[open] .icon { background: var(--ember); border-color: var(--ember); color: #fff; }
.faq-item[open] .icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item[open] summary { color: var(--ink); }
.faq-answer {
  padding: 0 44px 28px 56px;
  color: var(--ink-2);
  font-size: 1.04rem;
  max-width: 680px;
}
.faq-answer p { margin: 0; }

@media (max-width: 860px) {
  .faq .wrap { grid-template-columns: 1fr; }
  .faq-side { position: static; }
}
@media (max-width: 520px) {
  .faq-item summary { grid-template-columns: 30px 1fr 32px; }
  .faq-answer { padding: 0 0 24px 42px; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--night);
  color: rgba(241, 250, 253, 0.7);
  padding: clamp(64px, 9vw, 110px) 0 36px;
  position: relative;
  overflow: hidden;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(241, 250, 253, 0.12);
}
.site-footer .wordmark { font-size: 1.7rem; }
.site-footer .wordmark > span { background: linear-gradient(95deg, #8fdcff, #62d6f5); -webkit-background-clip: text; background-clip: text; }
.site-footer .wordmark .four { color: var(--leaf); -webkit-text-fill-color: var(--leaf); }
.footer-tag {
  margin: 20px 0 6px;
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.35;
  color: var(--paper);
  font-variation-settings: "opsz" 48, "SOFT" 80;
}
.footer-promise {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(241, 250, 253, 0.5);
  margin: 0;
}
.footer-col h4 {
  margin: 0 0 16px;
  /* cyan on navy */
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a {
  text-decoration: none;
  color: rgba(241, 250, 253, 0.82);
  transition: color 0.2s;
  word-break: break-word;
}
.footer-col a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--leaf); }
.footer-bottom {
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: 0.85rem;
  color: rgba(241, 250, 253, 0.45);
}
.footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom a { color: rgba(241, 250, 253, 0.7); text-decoration: none; }
.footer-bottom a:hover { color: var(--paper); }

@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ---------- Legal pages ---------- */
.legal-hero {
  background: var(--app-grad);
  padding: calc(92px + clamp(40px, 6vw, 80px)) 0 clamp(40px, 6vw, 64px);
  border-bottom: 1px solid var(--line);
}
.legal-hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.legal-meta {
  margin-top: 22px;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.back-link {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-2);
  margin-bottom: 30px;
}
.back-link:hover { color: var(--ember); }
.legal-body {
  padding: clamp(48px, 7vw, 88px) 0 clamp(80px, 10vw, 140px);
}
.legal-hero .wrap,
.legal-body .wrap { max-width: 860px; }
.legal-body h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin: 48px 0 14px;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 72;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--ink-2); }
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-body ul { margin: 0 0 1.15em; padding-left: 1.3em; }
.legal-body li { margin-bottom: 0.55em; padding-left: 0.2em; }
.legal-body li::marker { color: var(--ember); }
.legal-body a { color: var(--ember); font-weight: 600; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.legal-body a:hover { color: var(--night-2); }
.placeholder {
  border: 1.5px dashed rgba(31, 95, 201, 0.45);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  padding: 18px 22px;
  color: var(--ink-2);
  font-size: 0.95rem;
  margin-bottom: 1.2em;
}
.placeholder strong { color: var(--ember); }

/* ---------- Scroll reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--delay, 0s);
}
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
