/* Forge site — warm-charcoal / amber, mirrored from the app theme */
:root {
  --bg: #14110d;
  --surface: #1b1712;
  --surface-2: #221d16;
  --surface-high: #2a241b;
  --border: rgba(240, 224, 198, 0.08);
  --border-strong: rgba(240, 224, 198, 0.15);
  --text: #f2eadc;
  --text-secondary: #a99a82;
  --text-muted: #766b58;
  --accent: #e0a15e;
  --accent-2: #ebb071;
  --accent-soft: rgba(224, 161, 94, 0.13);
  --on-accent: #1a1206;

  /* life-area hues (from src/theme.ts) */
  --health: #8fb87e;
  --mind: #7fa8d0;
  --money: #d6b24f;
  --knowledge: #69b2a6;
  --people: #dd8a9e;
  --work: #db8c63;
  --faith: #ac9bd0;

  --radius: 20px;
  --radius-sm: 13px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --maxw: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

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

::selection {
  background: rgba(224, 161, 94, 0.28);
  color: #fff;
}

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

/* ---------- Heat background + drifting embers ---------- */
.heat {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(62% 48% at 72% -6%, rgba(224, 161, 94, 0.16), transparent 70%),
    radial-gradient(46% 40% at 12% 8%, rgba(224, 161, 94, 0.06), transparent 72%),
    radial-gradient(80% 60% at 50% 118%, rgba(224, 161, 94, 0.08), transparent 70%);
}
.ember {
  position: absolute;
  bottom: -16px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 8px 1px rgba(235, 176, 113, 0.7);
  opacity: 0;
  animation: rise 9s linear infinite;
}
.ember.e1 { left: 14%; animation-delay: 0s; }
.ember.e2 { left: 32%; animation-delay: 2.4s; }
.ember.e3 { left: 58%; animation-delay: 4.1s; }
.ember.e4 { left: 76%; animation-delay: 1.3s; }
.ember.e5 { left: 89%; animation-delay: 5.6s; }
@keyframes rise {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  12% { opacity: 0.9; }
  70% { opacity: 0.5; }
  100% { transform: translateY(-94vh) translateX(26px) scale(0.4); opacity: 0; }
}

/* ---------- Brand ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
}
.brand:hover {
  text-decoration: none;
}
.brand .mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--accent-2), #d28e48);
  display: grid;
  place-items: center;
  color: var(--on-accent);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  box-shadow: 0 6px 22px rgba(224, 161, 94, 0.26);
}
.brand .mark.sm {
  width: 32px;
  height: 32px;
  font-size: 19px;
  border-radius: 10px;
}
.brand .mark .anvil {
  width: 64%;
  height: 64%;
  display: block;
}
.brand .name {
  font-weight: 700;
  letter-spacing: 0.3px;
  font-size: 20px;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.hero-art.reveal {
  transition-delay: 0.12s;
}

/* =====================================================================
   PAGE SHELL
   ===================================================================== */
.page {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px 96px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0 0;
}
.nav-right {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.nav-soon {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--border-strong);
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: 999px;
}
.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
}
.nav-link:hover {
  color: var(--text);
  text-decoration: none;
}
.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 28px;
}
.nav-cta {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid rgba(224, 161, 94, 0.4);
  background: var(--accent-soft);
  padding: 8px 16px;
  border-radius: 999px;
  transition: background 0.18s var(--ease-out), transform 0.18s var(--ease-out);
}
.nav-cta:hover {
  text-decoration: none;
  background: rgba(224, 161, 94, 0.2);
  transform: translateY(-1px);
}

/* =====================================================================
   HERO — asymmetric split
   ===================================================================== */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 48px;
  padding: 40px 0 28px;
}
.hero::before {
  content: "";
  position: absolute;
  left: -7%;
  top: -8%;
  width: 58%;
  height: 88%;
  background: radial-gradient(48% 50% at 38% 42%, rgba(224, 161, 94, 0.13), transparent 72%);
  filter: blur(18px);
  pointer-events: none;
  z-index: 0;
}
.hero-copy,
.hero-art {
  position: relative;
  z-index: 1;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 18px;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(42px, 6.4vw, 78px);
  line-height: 1.02;
  letter-spacing: -1.4px;
  margin: 0 0 22px;
}
.hero-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}
.hero-sub {
  font-size: clamp(16px, 1.7vw, 18.5px);
  color: var(--text-secondary);
  max-width: 46ch;
  margin: 0 0 34px;
}

.cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(150deg, var(--accent-2), #d28e48);
  color: var(--on-accent);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 16px;
  padding: 15px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(224, 161, 94, 0.26);
  transition: transform 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out);
}
.btn-primary:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(224, 161, 94, 0.36);
}
.btn-primary:active {
  transform: scale(0.97);
}
.btn-primary.lg {
  font-size: 17px;
  padding: 17px 32px;
}
.stores {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.stores.center {
  justify-content: center;
  margin: 18px 0 0;
}
.stores .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
}
.trust {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 32px 0 0;
  color: var(--text-secondary);
  font-size: 14px;
}
.trust svg {
  flex: none;
  color: var(--accent);
}

/* eyebrow with live ember dot */
.eyebrow-dot {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eb-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 7px 1px rgba(235, 176, 113, 0.7);
  animation: ember-pulse 2.6s var(--ease-out) infinite;
}
@keyframes ember-pulse {
  0% { box-shadow: 0 0 0 0 rgba(224, 161, 94, 0.55), 0 0 7px 1px rgba(235, 176, 113, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(224, 161, 94, 0), 0 0 7px 1px rgba(235, 176, 113, 0.7); }
  100% { box-shadow: 0 0 0 0 rgba(224, 161, 94, 0), 0 0 7px 1px rgba(235, 176, 113, 0.7); }
}

/* coming-soon store chips */
.store-chips {
  display: inline-flex;
  gap: 9px;
}
.store-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border-radius: 11px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
}
.store-chip svg {
  color: var(--text);
  opacity: 0.92;
  flex: none;
}

/* hero spec strip */
.hero-specs {
  display: flex;
  gap: 34px;
  margin: 34px 0 0;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}
.hero-specs .spec {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0;
}
.spec-n {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 36px;
  line-height: 1;
  letter-spacing: -1.4px;
  color: var(--accent);
}
.spec-l {
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--text-secondary);
}

/* =====================================================================
   iPhone 17 Pro — real Today screen
   ===================================================================== */
.hero-art {
  position: relative;
  display: grid;
  place-items: center;
}
.hero-art::before {
  content: "";
  position: absolute;
  width: 82%;
  height: 64%;
  left: 50%;
  top: 56%;
  transform: translate(-50%, -50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(224, 161, 94, 0.32), transparent 72%);
  filter: blur(26px);
  z-index: 0;
  pointer-events: none;
}

.phone {
  position: relative;
  z-index: 1;
  width: 304px;
  aspect-ratio: 304 / 628;
  padding: 13px;
  border-radius: 53px;
  background: linear-gradient(142deg, #8d8478 0%, #3a352f 18%, #544e45 50%, #2c2823 80%, #756c60 100%);
  box-shadow:
    inset 0 2px 1px rgba(255, 244, 224, 0.35),
    inset 0 -2px 2px rgba(0, 0, 0, 0.5),
    0 44px 80px -24px rgba(0, 0, 0, 0.72),
    0 14px 34px rgba(0, 0, 0, 0.45);
}
/* side buttons on the titanium rail */
.pb {
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(#4a443b, #211d18);
}
.pb-action { left: -2px; top: 116px; height: 26px; }
.pb-up { left: -2px; top: 162px; height: 46px; }
.pb-down { left: -2px; top: 220px; height: 46px; }
.pb-power { right: -2px; top: 182px; height: 66px; }

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 41px;
  overflow: hidden;
  background: var(--bg);
  box-shadow: inset 0 0 0 2.5px #0b0906;
}
.island {
  position: absolute;
  z-index: 6;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 26px;
  background: #000;
  border-radius: 999px;
}
.island::after {
  content: "";
  position: absolute;
  right: 9px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2b3742, #000 72%);
}

.app {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  font-family: var(--sans);
}

/* status bar */
.app-status {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 15px 21px 5px;
  color: var(--text);
}
.clock {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.status-ic {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* scroll area (content overflows + clips, reads as scrollable) */
.app-scroll {
  flex: 1;
  overflow: hidden;
  padding: 2px 14px 0;
  -webkit-mask-image: linear-gradient(180deg, #000 96%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 96%, transparent 100%);
}
.app-head {
  padding: 2px 2px 5px;
}
.app-eyebrow {
  margin: 0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
}
.app-title {
  margin: 1px 0 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.15;
  letter-spacing: -0.3px;
}

/* standing hero card */
.hero-card {
  position: relative;
  padding: 11px 14px 9px;
  border-radius: 19px;
  text-align: center;
  background: linear-gradient(180deg, #251e15, #17130e);
  border: 1px solid rgba(224, 161, 94, 0.22);
  box-shadow: 0 0 26px rgba(224, 161, 94, 0.12), 0 12px 26px rgba(0, 0, 0, 0.4);
}
.share-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-high);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}
.blade-svg {
  display: block;
  margin: 0 auto 2px;
  filter: drop-shadow(0 5px 14px rgba(224, 161, 94, 0.38));
}
.tier-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(224, 161, 94, 0.25);
}
.top-pct {
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1;
  color: var(--text-secondary);
}
.top-pct strong {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text);
}
.ahead {
  margin: 4px 0 0;
  font-size: 10.5px;
  color: var(--text-secondary);
}
.prog-track {
  height: 6px;
  margin: 7px 0 5px;
  border-radius: 999px;
  background: var(--surface-high);
  overflow: hidden;
}
.prog-track i {
  display: block;
  width: 93%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.delta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
}
.hr {
  height: 1px;
  margin: 8px 0;
  background: var(--border);
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  font-size: 11.5px;
  color: var(--text-secondary);
}
.hero-stats strong {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--text);
}
.hero-stats .dotsep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-muted);
}
.hero-stats .xp {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--accent);
}
.forge-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  padding: 9px 13px;
  border-radius: 13px;
  background: var(--accent-soft);
  border: 1px solid rgba(224, 161, 94, 0.22);
}
.fp-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}
.fp-right {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  color: var(--text-secondary);
}

/* section row inside app */
.sec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 7px 2px 6px;
}
.sec-row h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.2px;
}
.sec-row .add {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
}
.sec-row.peek {
  opacity: 0.85;
  margin-bottom: 0;
}
.sec-row.peek .routine-count {
  font-size: 11px;
  color: var(--text-secondary);
}

/* routine card + habit rows */
.routine {
  padding: 10px 13px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.routine-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 2px;
}
.routine-ic {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent);
  flex: none;
}
.routine-meta {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.routine-meta .rt {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 13.5px;
}
.routine-meta .rs {
  font-size: 10.5px;
  color: var(--text-muted);
}
.routine-count {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
}
.hrow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-top: 1px solid var(--border);
}
.hcheck {
  width: 20px;
  height: 20px;
  border-radius: 7px;
  border: 2px solid var(--border-strong);
  display: grid;
  place-items: center;
  flex: none;
}
.hcheck.on {
  background: var(--ac);
  border-color: var(--ac);
}
.hname {
  flex: 1;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text);
}
.hrow.done .hname {
  color: var(--text-muted);
  text-decoration: line-through;
}
.streak {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
}

/* bottom tab bar */
.app-tabs {
  display: flex;
  padding: 7px 2px 9px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.tab .ti {
  width: 36px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--text-muted);
}
.tab.active .ti {
  background: var(--accent-soft);
  color: var(--accent);
}
.tab .tl {
  font-size: 8.5px;
  font-weight: 600;
  color: var(--text-muted);
}
.tab.active .tl {
  color: var(--accent);
}

/* =====================================================================
   BAND — the hook statement
   ===================================================================== */
.band {
  margin: 70px auto;
  text-align: center;
  max-width: 760px;
}
.band-kicker {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 18px;
}
.band-h {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.18;
  letter-spacing: -0.6px;
  margin: 0 auto 20px;
}
.band-h em {
  font-style: italic;
  color: var(--accent);
}
.band-sub {
  color: var(--text-secondary);
  font-size: 17px;
  max-width: 60ch;
  margin: 0 auto;
}

/* =====================================================================
   LIFE AREAS
   ===================================================================== */
.areas {
  margin: 96px 0;
}
.areas-head {
  max-width: 620px;
  margin-bottom: 38px;
}
.sec-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 4.4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.8px;
  margin: 0 0 14px;
}
.sec-title em {
  font-style: italic;
  color: var(--accent);
}
.sec-sub {
  color: var(--text-secondary);
  font-size: 17px;
  max-width: 52ch;
  margin: 0;
}
.area-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.area {
  position: relative;
  padding: 22px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: transform 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}
.area:hover {
  transform: translateY(-3px);
  border-color: var(--ac, var(--border-strong));
}
.area-dot {
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ac, var(--accent));
  box-shadow: 0 0 12px 1px var(--ac, var(--accent));
  margin-bottom: 14px;
}
.area h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  margin: 0 0 4px;
  letter-spacing: -0.2px;
}
.area p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}
.a-health { --ac: var(--health); }
.a-mind { --ac: var(--mind); }
.a-money { --ac: var(--money); }
.a-knowledge { --ac: var(--knowledge); }
.a-people { --ac: var(--people); }
.a-work { --ac: var(--work); }
.a-faith { --ac: var(--faith); }
.area-cta {
  background: transparent;
  border-style: dashed;
  border-color: var(--border-strong);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.area-cta h3 {
  font-style: italic;
  color: var(--text-secondary);
}

/* =====================================================================
   FEATURE ROWS — zig-zag
   ===================================================================== */
.rows {
  display: flex;
  flex-direction: column;
  gap: 92px;
  margin: 96px 0;
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
}
.row-rev .row-copy {
  order: 2;
}
.row-tag {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
}
.row-rule {
  width: 28px;
  height: 1px;
  background: var(--accent);
  opacity: 0.55;
}
.row-copy h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.6px;
  margin: 12px 0 14px;
}
.row-copy p {
  color: var(--text-secondary);
  font-size: 16.5px;
  max-width: 46ch;
  margin: 0;
}
.row-art {
  display: grid;
  place-items: center;
}

/* shared mock panel */
.mock {
  width: 100%;
  max-width: 340px;
  background: linear-gradient(168deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  padding: 22px;
}

/* habits mock */
.mock-habits {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.m-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.m-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--text-muted);
  flex: none;
}
.m-check.on {
  border-color: var(--accent);
  background: var(--accent)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4 12l5 5L20 6' stroke='%231a1206' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 14px no-repeat;
}
.m-row.done .m-label {
  color: var(--text-muted);
}
.m-label {
  flex: 1;
  font-size: 14.5px;
  font-weight: 500;
}
.m-streak {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

/* daily insight / coaching mock */
.mock-insight {
  text-align: left;
  padding: 26px 24px;
}
.insight-head {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
}
.insight-ic {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--accent-soft);
  border: 1px solid rgba(224, 161, 94, 0.22);
  color: var(--accent);
}
.insight-kicker {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.insight-theme {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--accent);
}
.insight-sub {
  font-size: 12.5px;
  color: var(--text-muted);
}
.insight-text {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.42;
  letter-spacing: -0.2px;
  color: var(--text);
}

/* focus mock */
.mock-focus {
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 30px 22px;
}
.focus-ring {
  display: block;
}
.focus-time {
  position: absolute;
  top: 46%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
}
.focus-time strong {
  display: block;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.focus-time span {
  font-size: 11.5px;
  color: var(--text-muted);
}
.focus-breathe {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 7px 16px;
  border-radius: 999px;
}

/* pledge mock */
.mock-pledge {
  text-align: center;
  padding: 26px 24px;
}
.pledge-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--accent);
}
.pledge-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.35;
  margin: 14px 0 20px;
}
.pledge-dots {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 7px;
  margin-bottom: 18px;
}
.pledge-dots i {
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--surface-high);
}
.pledge-dots i.on {
  background: var(--accent);
}
.pledge-day {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* =====================================================================
   FORGE / BLADE showcase
   ===================================================================== */
.forge {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 56px;
  margin: 110px 0;
  padding: 8px 0;
}
.forge-art {
  display: grid;
  place-items: center;
}
.forge-art svg {
  filter: drop-shadow(0 10px 30px rgba(224, 161, 94, 0.3));
}

/* =====================================================================
   MANIFESTO
   ===================================================================== */
.manifesto {
  text-align: center;
  margin: 110px auto;
  max-width: 760px;
  padding: 56px 28px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(224, 161, 94, 0.08), transparent 70%),
    var(--surface);
}
.manifesto h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(30px, 5vw, 50px);
  line-height: 1.06;
  letter-spacing: -1px;
  margin: 0 0 22px;
}
.manifesto h2 em {
  font-style: italic;
  color: var(--accent);
}
.manifesto p {
  color: var(--text-secondary);
  font-size: 17px;
  max-width: 56ch;
  margin: 0 auto;
}

/* =====================================================================
   FINAL CTA
   ===================================================================== */
.cta-final {
  text-align: center;
  margin: 96px auto 40px;
  max-width: 640px;
}
.cta-final h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 4.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.8px;
  margin: 0 0 16px;
}
.cta-sub {
  color: var(--text-secondary);
  font-size: 17px;
  max-width: 44ch;
  margin: 0 auto 30px;
}
.cta-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 0 0 32px;
}
.cta-tile {
  width: 80px;
  height: 80px;
  border-radius: 23px;
  background: linear-gradient(150deg, var(--accent-2), #d28e48);
  display: grid;
  place-items: center;
  color: var(--on-accent);
  box-shadow: 0 14px 38px rgba(224, 161, 94, 0.3);
}
.cta-tile .anvil {
  width: 62%;
  height: 62%;
  display: block;
}
.cta-wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text);
  padding-left: 0.26em;
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.foot {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-top: 56px;
  margin-top: 40px;
  border-top: 1px solid var(--border);
}
.foot-brand {
  max-width: 32ch;
}
.foot-tag {
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}
.foot-col {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.foot-col h4 {
  margin: 0 0 5px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.foot-col a {
  color: var(--text-secondary);
  font-size: 15px;
}
.foot-col a:hover {
  color: var(--text);
  text-decoration: none;
}
.foot-soon {
  color: var(--text-muted);
  font-size: 15px;
}
.foot-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.foot-copy,
.foot-made {
  color: var(--text-muted);
  font-size: 13.5px;
}

/* =====================================================================
   HOW IT WORKS — three numbered steps
   ===================================================================== */
.how {
  margin: 92px 0;
}
.how-head {
  max-width: 620px;
  margin-bottom: 42px;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}
.step {
  padding-top: 22px;
  border-top: 1px solid var(--border-strong);
}
.step-num {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -1.5px;
  color: var(--accent);
}
.step h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.3px;
  margin: 16px 0 9px;
}
.step p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 34ch;
}

/* =====================================================================
   FAQ — split headline + accordion
   ===================================================================== */
.faq {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 56px;
  align-items: start;
  margin: 96px 0;
}
.faq-head {
  position: sticky;
  top: 40px;
}
.faq-head .sec-sub {
  margin-top: 14px;
  font-size: 16px;
}
.faq-list {
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-top: 1px solid var(--border);
}
.faq-item:last-child {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 2px;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.3px;
  color: var(--text);
  transition: color 0.18s var(--ease-out);
}
.faq-item summary:hover {
  color: var(--accent);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-ic {
  position: relative;
  width: 17px;
  height: 17px;
  flex: none;
}
.faq-ic::before,
.faq-ic::after {
  content: "";
  position: absolute;
  background: var(--accent);
  border-radius: 2px;
}
.faq-ic::before {
  top: 7.5px;
  left: 0;
  width: 17px;
  height: 2px;
}
.faq-ic::after {
  top: 0;
  left: 7.5px;
  width: 2px;
  height: 17px;
  transition: transform 0.24s var(--ease-out), opacity 0.24s var(--ease-out);
}
.faq-item[open] .faq-ic::after {
  transform: rotate(90deg);
  opacity: 0;
}
.faq-item p {
  margin: 0;
  padding: 0 2px 24px;
  max-width: 58ch;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.62;
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-top: 36px;
  }
  .nav-links {
    display: none;
  }
  .area-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .row,
  .forge {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .row-rev .row-copy {
    order: 0;
  }
  .forge-art {
    order: 2;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .step {
    padding: 24px 0;
  }
  .step-num {
    font-size: 34px;
  }
  .faq {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .faq-head {
    position: static;
  }
  .foot {
    grid-template-columns: 1fr 1fr;
    gap: 34px 28px;
  }
  .foot-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 480px) {
  .page {
    padding: 0 18px 72px;
  }
  .phone {
    width: 280px;
  }
  .area-grid {
    grid-template-columns: 1fr;
  }
  .hero-specs {
    gap: 24px;
  }
  .spec-n {
    font-size: 31px;
  }
  .foot {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .foot-brand {
    grid-column: auto;
  }
  .foot-base {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    scroll-behavior: auto;
  }
  .reveal {
    transition: none;
  }
}

/* =====================================================================
   LEGAL PAGES (privacy.html / terms.html)
   ===================================================================== */
.wrap {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 22px 96px;
}
.wrap .brand {
  margin-bottom: 30px;
}
.wrap h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(30px, 6vw, 40px);
  line-height: 1.12;
  margin: 0 0 8px;
  letter-spacing: -0.6px;
}
.updated {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0 0 28px;
}
.wrap h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  margin: 40px 0 12px;
  color: var(--text);
  letter-spacing: -0.2px;
}
.wrap p {
  margin: 0 0 16px;
  color: var(--text-secondary);
}
.wrap ul {
  margin: 0 0 16px;
  padding-left: 22px;
  color: var(--text-secondary);
}
.wrap li {
  margin-bottom: 8px;
}
strong {
  color: var(--text);
  font-weight: 600;
}
.eyebrow + h1 {
  margin-top: 4px;
}
.wrap .eyebrow {
  margin-bottom: 10px;
}
.lead {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 4px 0 28px;
  color: var(--text);
}
.lead p:last-child {
  margin-bottom: 0;
}
.note {
  background: var(--accent-soft);
  border: 1px solid rgba(224, 161, 94, 0.25);
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--text-secondary);
  margin: 8px 0 28px;
}
.wrap footer {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
}
.wrap footer a {
  color: var(--text-secondary);
}
.backlink {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--text-secondary);
  font-size: 15px;
}

/* =============== WAITLIST FORM =============== */
.waitlist {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}
.waitlist-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.waitlist-input {
  flex: 1;
  min-width: 0;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 15px 22px;
  outline: none;
  transition: border-color 0.18s var(--ease-out),
    box-shadow 0.18s var(--ease-out);
}
.waitlist-input::placeholder {
  color: var(--text-muted);
}
.waitlist-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.waitlist .btn-primary {
  white-space: nowrap;
}
.waitlist .btn-primary:disabled {
  opacity: 0.7;
  cursor: default;
  transform: none;
  box-shadow: none;
}
/* Honeypot: kept in the DOM, hidden from people. */
.wl-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.waitlist-msg {
  min-height: 20px;
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 500;
}
.waitlist-msg.ok {
  color: var(--accent);
}
.waitlist-msg.err {
  color: #e0867a;
}
.waitlist-consent {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-muted, #766b58);
  max-width: 440px;
}
.waitlist-consent a {
  color: inherit;
  text-decoration: underline;
}
.waitlist.done .waitlist-row {
  display: none;
}
@media (max-width: 560px) {
  .waitlist-row {
    flex-direction: column;
  }
  .waitlist .btn-primary {
    justify-content: center;
  }
}

/* =============== STANDALONE JOIN / WAITLIST PAGE =============== */
.join {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 56px 24px;
}
.join-brand {
  display: inline-block;
  margin-bottom: 26px;
}
.join-icon {
  width: 80px;
  height: 80px;
  border-radius: 19px;
  display: block;
  box-shadow: 0 18px 48px rgba(224, 161, 94, 0.3);
}
.join .eyebrow-dot {
  justify-content: center;
}
.join-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(36px, 8vw, 58px);
  line-height: 1.03;
  letter-spacing: -1.2px;
  margin: 16px 0 0;
}
.join-title em {
  font-style: italic;
  color: var(--accent);
}
.join-sub {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.6;
  max-width: 44ch;
  margin: 18px auto 32px;
}
.join .waitlist {
  margin-bottom: 18px;
}
.join-trust {
  justify-content: center;
  margin: 0;
}
.join-foot {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 14px;
}
.join-foot a {
  color: var(--text-secondary);
}
.join-foot a:hover {
  color: var(--accent);
}


/* ===== real screenshots (raw, in phone frames) ===== */
.hero-device {
  max-width: 330px;
  margin: 0 auto;
  background: #0a0807;
  border-radius: 48px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 44px 90px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.hero-shot { display: block; width: 100%; height: auto; border-radius: 42px; }
.shots { padding: 36px 0 16px; }
.shots-head { text-align: center; max-width: 640px; margin: 0 auto 36px; padding: 0 24px; }
.shots-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px 24px 30px;
  -webkit-overflow-scrolling: touch;
}
.shots-track::-webkit-scrollbar { height: 0; }
.shot {
  flex: 0 0 auto;
  scroll-snap-align: center;
  margin: 0;
  background: #0a0807;
  border-radius: 40px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.shot img { display: block; height: 540px; width: auto; border-radius: 34px; }
@media (max-width: 640px) {
  .shot img { height: 440px; border-radius: 30px; }
  .hero-device { max-width: 280px; }
}


/* ===== real app-icon brand marks ===== */
.brand .mark-img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: block;
  box-shadow: 0 6px 22px rgba(224, 161, 94, 0.28);
  border: 1px solid rgba(224, 161, 94, 0.25);
}
.brand .mark-img.sm {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}
.cta-tile-img {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: block;
  box-shadow: 0 14px 38px rgba(224, 161, 94, 0.3);
  border: 1px solid rgba(224, 161, 94, 0.3);
}

/* ===== depth + life ===== */
.hero-art {
  position: relative;
}
.hero-art::before {
  content: "";
  position: absolute;
  inset: -8% -16%;
  background: radial-gradient(closest-side, rgba(224, 161, 94, 0.17), rgba(224, 161, 94, 0) 72%);
  pointer-events: none;
}
.hero-device {
  position: relative;
}
.shot {
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.shot:hover {
  transform: translateY(-8px);
  border-color: rgba(224, 161, 94, 0.35);
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(224, 161, 94, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.btn-primary {
  box-shadow: 0 12px 34px rgba(224, 161, 94, 0.28);
}
.btn-primary:hover {
  box-shadow: 0 16px 44px rgba(224, 161, 94, 0.4);
}

/* mobile nav: drop the redundant chip so the brand breathes */
@media (max-width: 560px) {
  .nav-soon { display: none; }
  .nav-cta { white-space: nowrap; }
}
