html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; background: #0E1116; }
*, *::before, *::after { box-sizing: border-box; }
a { color: #F2F4F7; }
a:hover { color: #12D46F; }
input::placeholder { color: #6B7380; }
[hidden] { display: none !important; }

.page {
  min-height: 100vh;
  background: #0E1116;
  color: #F2F4F7;
  font-family: 'Figtree', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: clamp(64px, 8vw, 112px); }
.deva { font-family: 'Noto Sans Devanagari', sans-serif; }
.mono { font-family: ui-monospace, 'SF Mono', Menlo, monospace; }
.muted { color: #C5CBD6; }

.h2 {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(14, 17, 22, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #1C2027;
}
.site-header__inner {
  max-width: 1120px; margin: 0 auto; padding: 0 24px; height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand, .brand:hover { display: flex; align-items: center; gap: 8px; text-decoration: none; color: #F2F4F7; }
.logo-mark { display: block; flex: none; }
.wordmark { display: flex; line-height: 1; letter-spacing: -0.035em; }
.nav { display: flex; align-items: center; gap: 8px 26px; }
.nav__link { font-size: 15px; color: #C5CBD6; text-decoration: none; }
.nav__link:hover { color: #F2F4F7; }
.nav__cta {
  font-size: 15px; font-weight: 700; color: #0E1116; background: #12D46F;
  border-radius: 8px; padding: 10px 16px; text-decoration: none; white-space: nowrap;
}
.nav__cta:hover { background: #2EE884; color: #0E1116; }
@media (max-width: 480px) { .nav__link { display: none; } }

/* Hero */
.hero {
  max-width: 1120px; margin: 0 auto;
  padding: clamp(72px, 10vw, 136px) 24px 0;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.hero__title {
  margin: 0;
  /* Scales with viewport so the first sentence always fits on one line, down to phone width. */
  font-size: clamp(28px, 7vw, 84px); font-weight: 600; line-height: 1.02;
  letter-spacing: -0.03em; text-wrap: balance;
}
.hero__line { display: block; white-space: nowrap; }
/* The rotating word sits on its own line with a fixed height, so swapping
   scripts (different widths, tall Nastaliq glyphs) never reflows the headline. */
.hero__word-line { display: block; height: 1.2em; line-height: 1.2em; white-space: nowrap; }
.hero__script {
  display: inline-block;
  height: 1.2em; line-height: 1.2em;
  font-family: 'Noto Sans Devanagari', 'Figtree', sans-serif; font-weight: 700; color: #12D46F;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.hero__script.is-leaving { opacity: 0; transform: translateY(-0.15em); }
.hero__script.is-entering { opacity: 0; transform: translateY(0.15em); transition: none; }
.hero__lede {
  margin: 28px 0 0; max-width: 58ch;
  font-size: clamp(17px, 1.7vw, 21px); line-height: 1.5; color: #C5CBD6; text-wrap: pretty;
}

/* Waitlist form */
.waitlist { width: 100%; max-width: 520px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.waitlist__form-wrap { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.waitlist__form { width: 100%; display: flex; flex-wrap: wrap; gap: 10px; }
.waitlist__input {
  flex: 1 1 240px; min-width: 0; height: 52px; padding: 0 18px;
  border-radius: 10px; border: 1px solid #3A414D; background: #12161D; color: #F2F4F7;
  font-family: inherit; font-size: 16px; outline: none;
}
.waitlist__input:focus { border-color: #12D46F; }
.waitlist__button {
  flex: 0 0 auto; height: 52px; padding: 0 22px; border-radius: 10px; border: 0;
  background: #12D46F; color: #0E1116; font-family: inherit; font-size: 16px; font-weight: 700; cursor: pointer;
}
.waitlist__button:hover { background: #2EE884; }
.waitlist__button:disabled { opacity: 0.7; cursor: progress; }
.waitlist__note { font-size: 14px; color: #8A93A3; }
.waitlist__error { font-size: 14px; color: #F2F4F7; }
.waitlist__error:empty { display: none; }
.waitlist__done {
  width: 100%; border: 1px solid #2A303A; border-radius: 12px; padding: 18px 22px;
  display: flex; align-items: center; gap: 14px; text-align: left; background: #12161D;
}

/* Finding card */
.finding-card { border: 1px solid #2A303A; border-radius: 18px; background: #12161D; overflow: hidden; }
.finding-card__bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px;
  padding: 12px 20px; border-bottom: 1px solid #2A303A; font-size: 13px; color: #9AA3B2;
}
.phone-shot { display: block; width: 270px; max-width: 100%; height: auto; }
.finding-meta {
  margin: 0;
  display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 18px; row-gap: 14px;
  align-items: baseline; font-size: 17px; line-height: 1.4;
}
.finding-meta dt { color: #9AA3B2; font-size: 15px; }
.finding-meta dd { margin: 0; }

/* Why */
.why-row {
  border-top: 1px solid #2A303A; padding: 20px 0;
  font-size: clamp(19px, 1.8vw, 24px); font-weight: 500; line-height: 1.3;
}

/* What it catches */
.catch-row {
  border-top: 1px solid #2A303A; padding: 26px 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px 40px; align-items: center;
}
.catch-row__title { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.catch-row__desc { font-size: 17px; line-height: 1.5; color: #C5CBD6; text-wrap: pretty; }
.catch-row__example { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.key { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 13px; color: #8A93A3; }
.tofu { display: flex; gap: 2px; }
.tofu > span { width: 9px; height: 16px; border: 1.5px solid #0E1116; display: block; }

/* How it works */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(156px, 1fr)); gap: 12px;
}
.step { border: 1px solid #2A303A; border-radius: 14px; padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 14px; }
.step__num { font-size: 13px; color: #8A93A3; letter-spacing: 0.06em; }
.step__text { font-size: 17px; line-height: 1.4; }

/* Footer */
.site-footer {
  max-width: 1120px; margin: clamp(64px, 8vw, 104px) auto 0; padding: 28px 24px 40px;
  border-top: 1px solid #2A303A;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
}
