/* Yes Life — tokens */
:root {
  --void: #070707;
  --panel: #111111;
  --lift: #1a1a1a;
  --ink: #f4f4f4;
  --mute: #8a8a8a;
  --line: #2a2a2a;
  --yes: #00e5a0;
  --pulse: #ff2d7a;
  --signal: #00d4ff;
  --spark: #ffe566;
  --heat: #ff8c42;
  --violet: #b388ff;
  --display: "Syne", system-ui, sans-serif;
  --body: "Figtree", system-ui, sans-serif;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --max: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--void);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
strong { color: var(--ink); }

/* NAV */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem var(--pad);
  background: linear-gradient(to bottom, rgba(7,7,7,.92), rgba(7,7,7,.6) 70%, transparent);
  backdrop-filter: blur(8px);
}

.logo {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}
.logo span { color: var(--yes); }

.nav-links {
  display: none;
  gap: 1.75rem;
  font-size: 0.9rem;
  color: var(--mute);
}
.nav-links a:hover { color: var(--ink); }

@media (min-width: 768px) {
  .nav-links { display: flex; }
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  background: var(--yes);
  color: #04140e;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  border-radius: 999px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 229, 160, 0.28);
}
.btn-sm { padding: 0.55rem 1rem; font-size: 0.8rem; }
.btn-lg { padding: 1.05rem 1.8rem; font-size: 1.05rem; width: 100%; max-width: 320px; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  border-color: var(--mute);
  box-shadow: none;
  background: var(--lift);
}

/* HERO — one composition */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  padding: 6.5rem var(--pad) 2.5rem;
  position: relative;
  background:
    radial-gradient(ellipse 80% 50% at 70% 20%, rgba(0, 229, 160, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(255, 45, 122, 0.06), transparent 50%),
    var(--void);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 36rem;
  animation: rise 0.9s ease both;
}

.brand-mark {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.8rem, 9vw, 5.5rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--yes);
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.55rem, 3.8vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.lede {
  color: var(--mute);
  font-size: 1.05rem;
  max-width: 32rem;
  margin-bottom: 1.5rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.trust {
  font-size: 0.8rem;
  color: var(--mute);
}

/* Dashboard mock — dominant visual */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2.5rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  pointer-events: none;
  animation: rise 1.1s 0.15s ease both;
}

.dash {
  width: min(100%, 620px);
}

@media (min-width: 960px) {
  .hero {
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 1.15fr;
    gap: 2rem;
    flex-direction: unset;
  }
  .hero-visual {
    justify-content: flex-end;
  }
}

.dash {
  width: min(100%, 620px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.1rem 1.15rem;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.03),
    0 40px 100px rgba(0,0,0,0.55);
  animation: float 7s ease-in-out infinite;
}

.dash-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.85rem;
}
.dash-brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--signal);
  letter-spacing: 0.06em;
}
.dash-month {
  font-size: 0.7rem;
  color: var(--mute);
  letter-spacing: 0.08em;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}
.kpi {
  background: var(--lift);
  border-radius: 8px;
  padding: 0.45rem 0.35rem;
  text-align: center;
  border-top: 2px solid;
}
.kpi span {
  display: block;
  font-size: 0.48rem;
  letter-spacing: 0.04em;
  color: #04140e;
  font-weight: 700;
  margin: -0.45rem -0.35rem 0.35rem;
  padding: 0.2rem;
  border-radius: 6px 6px 0 0;
}
.kpi strong {
  font-family: var(--display);
  font-size: clamp(0.55rem, 1.4vw, 0.78rem);
  font-weight: 700;
}
.k-green { border-color: var(--yes); }
.k-green span { background: var(--yes); }
.k-pink { border-color: var(--pulse); }
.k-pink span { background: var(--pulse); }
.k-purple { border-color: var(--violet); }
.k-purple span { background: var(--violet); }
.k-yellow { border-color: var(--spark); }
.k-yellow span { background: var(--spark); }
.k-orange { border-color: var(--heat); }
.k-orange span { background: var(--heat); }

.dash-mid {
  display: grid;
  grid-template-columns: 0.9fr 1fr 1.1fr;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
  align-items: stretch;
}
.donut-wrap, .bars, .spark {
  background: var(--void);
  border-radius: 10px;
  padding: 0.55rem;
  border: 1px solid var(--line);
}
.donut-wrap { text-align: center; }
.donut { width: 100%; max-width: 110px; margin: 0 auto; }
.donut-wrap p, .spark p {
  font-size: 0.55rem;
  color: var(--mute);
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
}
.bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 0.25rem;
  min-height: 100px;
  padding-bottom: 0.65rem;
}
.bar-group {
  display: flex;
  gap: 2px;
  align-items: flex-end;
  height: 100%;
}
.bar-group i {
  display: block;
  width: 7px;
  height: var(--h);
  background: var(--c);
  border-radius: 2px 2px 0 0;
  animation: grow 1.2s ease both;
}
.spark svg { width: 100%; height: 70px; display: block; }

.dash-tables {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
}
.mini-table {
  background: var(--void);
  border-radius: 8px;
  padding: 0.45rem 0.5rem;
  border-top: 2px solid;
  font-size: 0.62rem;
}
.mini-table header {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.65rem;
  margin-bottom: 0.35rem;
  letter-spacing: 0.04em;
}
.mini-table div {
  display: flex;
  justify-content: space-between;
  color: var(--mute);
  padding: 0.15rem 0;
}
.mini-table b { color: var(--ink); font-weight: 600; }
.t-green { border-color: var(--yes); }
.t-green header { color: var(--yes); }
.t-pink { border-color: var(--pulse); }
.t-pink header { color: var(--pulse); }
.t-cyan { border-color: var(--signal); }
.t-cyan header { color: var(--signal); }

/* SECTIONS */
.section {
  padding: clamp(4rem, 10vw, 7rem) var(--pad);
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yes);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.section h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  max-width: 22ch;
}

.section-lede {
  color: var(--mute);
  max-width: 40rem;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.leak-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
@media (min-width: 720px) {
  .leak-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}
.leak-grid article {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.leak-grid h3 {
  font-family: var(--display);
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}
.leak-grid p { color: var(--mute); font-size: 0.95rem; }
.leak-grid strong { color: var(--spark); }

.checks {
  list-style: none;
  display: grid;
  gap: 0.65rem;
  margin-top: 0.5rem;
}
.checks li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-weight: 500;
}
.checks li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--yes);
  flex-shrink: 0;
}

/* PACK */
.pack-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}
@media (min-width: 800px) {
  .pack-grid { grid-template-columns: 1.1fr 1fr; align-items: stretch; }
}

.pack-hero {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.75rem;
  position: relative;
  background-image:
    linear-gradient(135deg, rgba(0, 229, 160, 0.08), transparent 45%);
}
.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #04140e;
  background: var(--yes);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}
.pack-hero h3 {
  font-family: var(--display);
  font-size: 1.6rem;
  margin-bottom: 1rem;
}
.pack-hero ul {
  list-style: none;
  margin-bottom: 1.25rem;
}
.pack-hero li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--mute);
}
.pack-hero li::before {
  content: "✓ ";
  color: var(--yes);
}
.price {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
}
.price strong {
  font-family: var(--display);
  font-size: 2.4rem;
  color: var(--ink);
}
.price s { color: var(--mute); }
.price span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--yes);
  border: 1px solid var(--yes);
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
}
.price.big strong { font-size: 3rem; }

.pack-items {
  display: grid;
  gap: 0.85rem;
}
.pack-items article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.15rem 1.25rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 1rem;
}
.pack-items h4 {
  font-family: var(--display);
  font-size: 1.05rem;
  grid-column: 1;
}
.pack-items p {
  grid-column: 1;
  color: var(--mute);
  font-size: 0.9rem;
}
.pack-items span {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-family: var(--display);
  font-weight: 700;
  color: var(--signal);
}

/* STEPS */
.step-list {
  list-style: none;
  display: grid;
  gap: 1.5rem;
  margin-top: 2.25rem;
  counter-reset: none;
}
@media (min-width: 720px) {
  .step-list { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}
.step-list li span {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--yes);
  line-height: 1;
  margin-bottom: 0.65rem;
  opacity: 0.9;
}
.step-list h3 {
  font-family: var(--display);
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}
.step-list p { color: var(--mute); font-size: 0.95rem; }

/* BUY */
.buy {
  max-width: none;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.buy-panel {
  max-width: var(--max);
  margin: 0 auto;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(0, 229, 160, 0.12), transparent 50%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}
.buy-panel .brand-mark {
  font-size: clamp(2rem, 6vw, 3.5rem);
  margin-bottom: 0.5rem;
}
.buy-panel h2 {
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}
.buy-panel > p {
  color: var(--mute);
  max-width: 36rem;
  margin: 0 auto 1.25rem;
}
.buy-panel .price { justify-content: center; }
.buy-panel .btn { margin: 0 auto 0.85rem; }

/* FAQ */
.faq-list {
  margin-top: 1.75rem;
  max-width: 40rem;
  display: grid;
  gap: 0.5rem;
}
details {
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
}
summary {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  color: var(--yes);
  font-size: 1.25rem;
  font-weight: 700;
}
details[open] summary::after { content: "–"; }
details p {
  color: var(--mute);
  margin-top: 0.65rem;
  font-size: 0.95rem;
  max-width: 38rem;
}

/* FOOTER */
.footer {
  padding: 2.5rem var(--pad) 3rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
}
.footer p { color: var(--mute); font-size: 0.85rem; }

/* MOTION */
@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes grow {
  from { transform: scaleY(0); transform-origin: bottom; }
  to { transform: scaleY(1); transform-origin: bottom; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
