/* ===========================================================
   PhantomTech Labs — site styles
   Palette: dark navy base (Cosmofy-inspired) + PhantomVR sage accent
   =========================================================== */

:root {
  --bg: #05111D;
  --bg-elevated: #0B1A29;
  --bg-card: #0E2235;
  --border: #1C2E3E;
  --text: #F2F2F0;
  --text-dim: #9AA7B2;
  --text-faint: #5E6B76;

  --sage: #8FC7A6;
  --sage-deep: #5F7E66;
  --sand: #C8B596;

  --ink: #111111;
  --ink-mid: #6B6B6B;
  --ink-line: #9A9A9A;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --max-w: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

.eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
}

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

/* ---------- Background texture ---------- */
.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  pointer-events: none;
}

/* ---------- Nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 17, 29, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 36px; width: auto; border-radius: 9px; }
.nav-logo .logo-text { font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.nav-logo .logo-text .dim { color: var(--text-dim); font-weight: 400; }

.nav-links {
  display: flex;
  gap: 26px;
  font-size: 14.5px;
  color: var(--text-dim);
}
.nav-links a:hover { color: var(--text); }
.nav-links .active { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  border: none;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(180deg, #ffffff, #d9d9d9);
  color: #0B1A29;
  border: none;
  outline: none;
  transition: background 0.18s ease, color 0.18s ease;
}
.btn-primary:focus,
.btn-primary:focus-visible,
.btn-primary:active {
  outline: none;
  border: none;
  box-shadow: none;
}
.btn-primary:hover {
  background: linear-gradient(180deg, var(--sage), var(--sage-deep));
  color: #07140F;
}
.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--sage); }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--text);
  cursor: pointer;
}
.mobile-toggle svg { pointer-events: none; }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.25s ease;
}
.mobile-nav.open { max-height: 320px; }
.mobile-nav a {
  padding: 16px 32px;
  font-size: 15px;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a.active, .mobile-nav a:hover { color: var(--text); }
.mobile-nav .btn { margin: 16px 32px 20px; justify-content: center; border-bottom: none; }
.mobile-nav .btn-primary,
.mobile-nav .btn-primary:hover,
.mobile-nav .btn-primary.active { color: #0B1A29; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: visible;
  min-height: calc(100vh - 85px);
  display: flex;
  align-items: center;
  padding: 56px 0;
}
.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(ellipse at center, rgba(143,199,166,0.18), transparent 65%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  overflow: visible;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  border-radius: 999px;
  padding: 6px 14px 6px 6px;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.pill .tag {
  background: var(--sage);
  color: #0B1A29;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
}
h1 {
  font-size: 56px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0 0 18px;
}
h1 .accent {
  color: var(--sage);
  font-weight: 700;
  font-size: 1.05em;
  text-shadow: 0 0 28px rgba(143,199,166,0.55), 0 0 64px rgba(143,199,166,0.28);
}
.hero p.lede {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 0 24px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: flex-start;
  margin-bottom: 16px;
}
.hero-note {
  font-size: 12.5px;
  color: var(--text-faint);
  font-family: 'Space Mono', monospace;
}

/* --- Hero split layout: copy left, graphic right --- */
.hero-split {
  display: flex;
  align-items: center;
  gap: 88px;
  text-align: left;
}
.hero-copy {
  flex: 0 1 460px;
  min-width: 0;
}

.hero-graphic {
  flex: 1 1 0;
  position: relative;
  min-width: 0;
  display: flex;
  justify-content: center;
  overflow: visible;
}

.hero-stage {
  position: relative;
  display: flex;
  justify-content: center;
  overflow: visible;
}

.hero-bigtype {
  position: absolute;
  top: 80%;
  left: 64%;
  transform: translate(-50%, -52%);
  font-size: clamp(60px, 9.5vw, 148px);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--bg);
  text-shadow:
    -1px -1px 0 rgba(201,209,217,0.22),
     1px -1px 0 rgba(201,209,217,0.22),
    -1px  1px 0 rgba(201,209,217,0.22),
     1px  1px 0 rgba(201,209,217,0.22),
     0px -1px 0 rgba(201,209,217,0.22),
     0px  1px 0 rgba(201,209,217,0.22),
    -1px  0px 0 rgba(201,209,217,0.22),
     1px  0px 0 rgba(201,209,217,0.22);
  z-index: 0;
  pointer-events: none;
  user-select: none;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  animation: ptlTypeReveal 1.3s cubic-bezier(.3,.8,.2,1) 0.35s forwards;
}
@keyframes ptlTypeReveal {
  0%   { opacity: 0; clip-path: inset(0 100% 0 0); }
  12%  { opacity: 1; }
  100% { opacity: 1; clip-path: inset(0 0% 0 0); }
}

.hero-visual {
  position: relative;
  margin-top: 0;
  z-index: 1;
  display: flex;
  justify-content: center;
}
.hero-visual::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(ellipse at center, rgba(143,199,166,0.26), transparent 62%);
  filter: blur(20px);
  z-index: -1;
  pointer-events: none;
}

.fig-wrap {
  position: relative;
  display: inline-block;
  line-height: 0;
  opacity: 0;
  transform: translateY(16px);
  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.5));
  animation: ptlImgIn 0.9s cubic-bezier(.2,.8,.2,1) 0.5s forwards;
}
.fig {
  display: block;
  max-height: 62vh;
  height: 520px;
  width: auto;
}
.fig-real {
  clip-path: inset(0 50% 0 0);
}
.fig-mirror {
  position: absolute;
  top: 0;
  left: 0;
  clip-path: inset(0 0 0 50%);
  will-change: opacity, filter;
  opacity: 0;
  filter: blur(14px);
  animation: ptlMirrorMaterialize 2.4s cubic-bezier(.25,.65,.3,1) 0.7s forwards;
}
@keyframes ptlImgIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ptlMirrorMaterialize {
  from { opacity: 0; filter: blur(14px); }
  to   { opacity: 1; filter: blur(0); }
}
.hero-visual .floor-glow {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 380px;
  height: 60px;
  background: radial-gradient(ellipse at center, rgba(143,199,166,0.35), transparent 70%);
  filter: blur(6px);
  animation: ptlGlowPulse 4s ease-in-out infinite;
}
@keyframes ptlGlowPulse {
  0%, 100% { opacity: 0.8; transform: translateX(-50%) scale(1); }
  50%      { opacity: 1;   transform: translateX(-50%) scale(1.08); }
}

.chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(11,26,41,0.78);
  border: 1px solid rgba(143,199,166,0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: 'Space Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--text);
  box-shadow: 0 14px 34px rgba(0,0,0,0.4);
  opacity: 0;
  white-space: nowrap;
  animation: ptlChipIn 0.7s ease forwards;
  z-index: 2;
}
.chip-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 8px var(--sage);
  flex-shrink: 0;
  animation: ptlDotPulse 2.4s ease-in-out infinite;
}
@keyframes ptlDotPulse {
  0%, 100% { box-shadow: 0 0 8px var(--sage); }
  50%      { box-shadow: 0 0 16px var(--sage); }
}
.chip-headset { top: 1%; left: 49.45%; animation-delay: 1.1s; }
.chip-mirrored { bottom: 30%; left: 1.93%; animation-delay: 1.3s; }
.chip-reflection {
  bottom: -2%;
  left: 78.03%;
  transform: translateX(-50%);
  animation-name: ptlChipInCenter;
  animation-delay: 1.5s;
}

@keyframes ptlChipIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ptlChipInCenter {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-faint);
  text-decoration: none;
  font-family: 'Space Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  z-index: 3;
  transition: color 0.2s ease;
  animation: ptlScrollCueIn 0.8s ease 2.2s forwards;
}
.scroll-cue:hover { color: var(--sage); }
.scroll-cue svg {
  animation: ptlScrollBounce 1.8s ease-in-out infinite;
}
@keyframes ptlScrollCueIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes ptlScrollBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

@media (max-width: 980px) {
  .hero { min-height: 0; display: block; padding: 48px 0 40px; }
  .hero-split { flex-direction: column; text-align: center; gap: 0; }
  .hero-copy { flex: none; width: 100%; }
  .hero-copy .hero-ctas { justify-content: center; }
  .hero-copy .lede { margin-left: auto; margin-right: auto; }
  .hero-graphic { width: 100%; margin-top: 32px; }
  .scroll-cue { display: none; }
}

@media (max-width: 760px) {
  .hero-bigtype { display: none; }
  .chip { font-size: 10px; padding: 6px 10px; }
  .chip-headset { top: 2%; left: 46.3%; }
  .chip-mirrored { bottom: 30%; left: 0; }
  .chip-reflection { bottom: -3%; left: 78.03%; }
  .fig { height: 380px; max-height: 50vh; }
}

/* ---------- Trust strip ---------- */
.trust {
  min-height: 170px;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  scroll-margin-top: 70px;
}
.trust .small-label {
  font-size: 15px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  font-family: 'Space Mono', monospace;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .trust .small-label { white-space: normal; max-width: 500px; font-size: 13px; }
}

/* ---------- Section heading ---------- */
.section-head {
  max-width: 620px;
  margin: 0 0 56px;
}
.section-head h2 {
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 10px 0 14px;
  line-height: 1.15;
}
.section-head p {
  color: var(--text-dim);
  font-size: 16px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

section { padding: 100px 0; position: relative; }
section.tight { padding: 72px 0; }

/* ---------- Featured product ---------- */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.feature-split .copy .logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.feature-split .copy .logo-row img { height: 44px; width: auto; }
.feature-split h2 { font-size: 34px; margin: 0 0 16px; letter-spacing: -0.015em; }
.feature-split p.desc { color: var(--text-dim); font-size: 16px; margin-bottom: 26px; }

.bullet-list { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-direction: column; gap: 14px; }
.bullet-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text); }
.bullet-list svg { flex-shrink: 0; margin-top: 2px; }

.visual-panel {
  position: relative;
  background: linear-gradient(160deg, rgba(143,199,166,0.14), rgba(14,34,53,0.4));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.visual-panel img {
  max-height: 560px;
  width: auto;
  position: relative;
  z-index: 2;
}
.founder-photo {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background-color: var(--bg-card);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}
.visual-panel .chip {
  position: absolute;
  background: rgba(10, 22, 36, 0.85);
  border: 1px solid var(--border);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 12.5px;
  z-index: 3;
}
.visual-panel .chip.top { top: 28px; right: 28px; }
.visual-panel .chip.bottom { bottom: 28px; left: 28px; }
.chip .chip-label { color: var(--text-faint); font-size: 11px; margin-bottom: 3px; }
.chip .chip-value { color: var(--sage); font-weight: 600; }

/* ---------- Mission band ---------- */
.mission {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 80px 0;
}
.mission .wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
.mission blockquote {
  margin: 0;
  font-size: 26px;
  line-height: 1.45;
  font-weight: 500;
  max-width: 760px;
  letter-spacing: -0.01em;
}
.mission cite {
  display: block;
  margin-top: 22px;
  font-style: normal;
  color: var(--text-dim);
  font-size: 14px;
}

/* ---------- Feature grid ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  position: relative;
  background: var(--bg-card);
  background-size: cover;
  background-position: center top;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,17,29,0.25) 0%, rgba(5,17,29,0.55) 45%, rgba(5,17,29,1) 82%, rgba(5,17,29,1) 100%);
  z-index: -1;
}
.feature-card .icon-wrap {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(143,199,166,0.16);
  border: 1px solid rgba(143,199,166,0.3);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.feature-card h3 { font-size: 18px; margin: 0 0 10px; font-weight: 600; color: var(--text); }
.feature-card p { color: var(--text-dim); font-size: 14.5px; margin: 0; min-height: 87px; }

/* ---------- Coming soon ---------- */
.soon-card {
  position: relative;
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 30px;
  background-color: rgba(255,255,255,0.015);
  background-size: cover;
  background-position: center top;
  background-clip: padding-box;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
  filter: grayscale(0.3);
}
.soon-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,17,29,0.35) 0%, rgba(5,17,29,0.6) 40%, rgba(5,17,29,1) 78%, rgba(5,17,29,1) 100%);
  z-index: -1;
}
.soon-card .lock {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(10,22,36,0.7);
  border: 1px solid var(--border);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.soon-card h3 { font-size: 16px; margin: 0 0 8px; color: var(--text); }
.soon-card p { font-size: 13.5px; color: var(--text-dim); margin: 0; }
.soon-card .tag {
  display: inline-block; margin-top: 16px;
  font-family: 'Space Mono', monospace; font-size: 11px;
  color: var(--sand); border: 1px solid var(--border);
  background: rgba(10,22,36,0.7);
  padding: 4px 10px; border-radius: 999px;
}

/* ---------- Newsletter ---------- */
.cta-band {
  position: relative;
  border: 1px solid var(--border);
  background-color: var(--bg-elevated);
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  padding: 56px;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  overflow: hidden;
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(5,17,29,0.95) 0%, rgba(5,17,29,0.8) 45%, rgba(5,17,29,0.5) 100%);
  z-index: -1;
}
.cta-band h3 { font-size: 24px; margin: 0 0 6px; font-weight: 600; }
.cta-band p { color: var(--text-dim); margin: 0; font-size: 14.5px; }
.cta-form { display: flex; gap: 10px; }
.cta-form input {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 12px 18px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  min-width: 240px;
}
.cta-form input::placeholder { color: var(--text-faint); }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 36px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 52px;
}
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { color: var(--text-faint); font-size: 14px; max-width: 280px; margin: 0 0 20px; }
.social-row { display: flex; gap: 12px; }
.social-row a {
  width: 34px; height: 34px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim);
}
.footer-col h4 {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin: 0 0 18px;
  font-weight: 500;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--text-dim); font-size: 14px; }
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-faint);
  font-size: 12.5px;
}
.footer-bottom .legal-links { display: flex; gap: 20px; }
.footer-bottom .legal-links a:hover { color: var(--text-dim); }

/* ---------- Page header (About / Contact) ---------- */
.page-header {
  position: relative;
  overflow: hidden;
  padding: 150px 0 60px;
  text-align: center;
}
.page-header h1 { font-size: 46px; }
.page-header p { color: var(--text-dim); font-size: 16px; max-width: 560px; margin: 0 auto; }

/* ---------- Stats row ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.stat { text-align: center; }
.stat .num { font-size: 36px; font-weight: 600; color: var(--sage); }
.stat .label { color: var(--text-faint); font-size: 13.5px; margin-top: 4px; }

/* ---------- Contact form ---------- */
.contact-form {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.field label { display: block; font-size: 13.5px; color: var(--text-dim); margin-bottom: 8px; }
.field label .optional { color: var(--text-faint); font-weight: 400; }
.field input, .field textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 14.5px;
  resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sage); }
.field textarea { min-height: 140px; }
.form-disclaimer { font-size: 12.5px; color: var(--text-faint); }
.form-disclaimer a { color: var(--text-dim); text-decoration: underline; }
.form-status { font-size: 13.5px; margin: 0; min-height: 1em; }
.form-status.success { color: var(--sage); }
.form-status.error { color: #e2918c; }
.cta-band .form-status { margin-top: 10px; }
.share-prompt {
  margin: 10px 0 0;
  font-size: 13.5px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.share-prompt[hidden] { display: none; }
.share-copy-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 12.5px;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.share-copy-btn:hover { border-color: var(--sage); color: var(--sage); }

/* ---------- Legal pages ---------- */
.legal-content {
  max-width: 720px;
  margin: 0 auto;
}
.legal-content .updated {
  color: var(--text-faint);
  font-size: 13px;
  font-family: 'Space Mono', monospace;
  margin-bottom: 44px;
}
.legal-content h2 {
  font-size: 21px;
  font-weight: 600;
  margin: 44px 0 14px;
  letter-spacing: -0.01em;
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 16px;
}
.legal-content ul {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 16px;
  padding-left: 22px;
}
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--sage); text-decoration: underline; }

/* ---------- Wellness disclaimer bar ---------- */
.disclaimer-bar {
  font-size: 12px;
  color: var(--text-faint);
  text-align: center;
  padding-top: 18px;
}

/* ---------- FAQ ---------- */
.faq-content { max-width: 760px; margin: 0 auto; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group-label {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0 0 18px;
}
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 19px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 15.5px;
  font-weight: 500;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }
.faq-item summary:focus-visible { outline: 2px solid var(--sage); outline-offset: -2px; }
.faq-item .faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage);
  transition: transform 0.2s ease;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item .faq-answer {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.7;
}

/* ---------- Devlog ---------- */
.devlog-content { max-width: 680px; margin: 0 auto; }
.devlog-list { display: flex; flex-direction: column; }
.devlog-entry {
  position: relative;
  padding-left: 32px;
  padding-bottom: 46px;
  border-left: 1px solid var(--border);
}
.devlog-entry:last-of-type { border-left-color: transparent; padding-bottom: 0; }
.devlog-entry::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 5px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--sage);
  box-shadow: 0 0 0 4px var(--bg);
}
.devlog-date {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 8px;
}
.devlog-entry h3 { font-size: 19px; font-weight: 600; margin: 0 0 10px; letter-spacing: -0.01em; }
.devlog-entry p { color: var(--text-dim); font-size: 14.5px; line-height: 1.75; margin: 0; }
.devlog-next {
  margin-top: 36px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
}
.devlog-next .label {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 10px;
}
.devlog-next p { color: var(--text-dim); font-size: 14.5px; line-height: 1.7; margin: 0; }

/* ---------- How it works ---------- */
.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}
.how-step .how-num {
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  color: var(--sage);
  margin-bottom: 12px;
}
.how-step h3 { font-size: 16.5px; font-weight: 600; margin: 0 0 8px; letter-spacing: -0.005em; }
.how-step p { color: var(--text-dim); font-size: 13.5px; line-height: 1.65; margin: 0; }
.how-video-placeholder {
  position: relative;
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 32px;
}
.how-video-placeholder .play-badge {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage);
}
.how-video-placeholder .how-video-label { color: var(--text-dim); font-size: 14.5px; }
.how-video-placeholder .how-video-sub { color: var(--text-faint); font-size: 12.5px; font-family: 'Space Mono', monospace; letter-spacing: 0.04em; }

/* ---------- Mobile ---------- */
@media (max-width: 1040px) {
  .nav-links { display: none; }
  .site-nav .btn-sm { display: none; }
  .mobile-toggle { display: flex; }
  .mobile-nav { display: flex; }
  h1 { font-size: 38px; }
  .feature-split { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .how-video-placeholder { min-height: 220px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .stats-row { grid-template-columns: 1fr; gap: 28px; }
  .cta-band { flex-direction: column; align-items: flex-start; min-height: 260px; padding: 36px; }
  .cta-form { width: 100%; }
  .cta-form input { flex: 1; min-width: 0; }
  .feature-card, .soon-card { min-height: 220px; }
  section { padding: 64px 0; }
  .page-header { padding: 120px 0 44px; }
  .page-header h1 { font-size: 32px; }
}
