/* ══════════════════════════════════════════════════════════
   Recall Landing Page — styles.css
   ══════════════════════════════════════════════════════════ */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
::selection { background: rgba(120,120,128,0.22); }
*::-webkit-scrollbar { width: 9px; height: 9px; }
*::-webkit-scrollbar-thumb { background: rgba(120,120,128,0.4); border-radius: 6px; }
*::-webkit-scrollbar-track { background: transparent; }

/* ── Design Tokens ── */
:root, .theme-light {
  --canvas:  #F7F6F3;
  --canvas-2:#EFEDE8;
  --card:    #FFFFFF;
  --card-2:  #FBFAF7;
  --ink:     #111111;
  --soft:    #5C5A55;
  --faint:   #8A8780;
  --line:    #E7E5E1;
  --track:   #EFEDE8;
  --glow:    rgba(17,17,17,0.22);
  --bezel:   #F2F2F7;
  --shadow:  rgba(0,0,0,0.07);
}
.theme-dark {
  --canvas:  #0E0E11;
  --canvas-2:#16161B;
  --card:    #16161B;
  --card-2:  #121217;
  --ink:     #F5F4F1;
  --soft:    #a7a59d;
  --faint:   #6E6E78;
  --line:    #2A2A30;
  --track:   #22222A;
  --glow:    rgba(190,190,205,0.26);
  --bezel:   #000000;
  --shadow:  rgba(0,0,0,0.4);
}

/* ── Accessibility / SEO ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Base ── */
#recall-root {
  background: var(--canvas);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

/* ── Typography helpers ── */
.label-mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--soft);
}
.label-mono-xs {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}
.label-mono-sm {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--faint);
}
.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 18px;
}
.section-heading {
  margin: 0;
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.body-text {
  max-width: 440px;
  margin: 24px 0 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--soft);
}
.body-text:first-of-type { margin-top: 24px; }
.body-text + .body-text { margin-top: 16px; }

/* ══════════════════════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════════════════════ */

[data-reveal] { opacity: 0; }
[data-reveal].in { animation: revealIn .95s cubic-bezier(.2,.7,.2,1) both; }
[data-reveal].done { animation: none !important; opacity: 1 !important; transform: none !important; }
@keyframes revealIn {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}

circle[data-anim="ring"] { stroke-dashoffset: 540.4; }
circle[data-anim="ring"].in { animation: ringdraw 1.9s cubic-bezier(.45,0,.15,1) .25s forwards; }
circle[data-anim="ring"].done { animation: none !important; stroke-dashoffset: 151 !important; }
@keyframes ringdraw {
  from { stroke-dashoffset: 540.4; }
  to   { stroke-dashoffset: 151; }
}

path[data-anim="curve"] { stroke-dasharray: 1300; stroke-dashoffset: 1300; }
path[data-anim="curve"].in { animation: curvedraw 2.1s cubic-bezier(.4,0,.2,1) forwards; }
path[data-anim="curve"].done { animation: none !important; stroke-dashoffset: 0 !important; }
@keyframes curvedraw { to { stroke-dashoffset: 0; } }

path[data-anim="curve-dashed"] { opacity: 0; }
path[data-anim="curve-dashed"].in { animation: dashedreveal 2.1s cubic-bezier(.4,0,.2,1) forwards; }
path[data-anim="curve-dashed"].done { animation: none !important; opacity: 1 !important; }
@keyframes dashedreveal { from { opacity: 0; } to { opacity: 1; } }

.floaty { animation: floaty 7s ease-in-out infinite; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  circle[data-anim="ring"] { stroke-dashoffset: 151 !important; animation: none !important; }
  path[data-anim="curve"] { stroke-dashoffset: 0 !important; animation: none !important; }
  path[data-anim="curve-dashed"] { opacity: 1 !important; animation: none !important; }
  .floaty { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ══════════════════════════════════════════════════════════
   NAV
   ══════════════════════════════════════════════════════════ */
.nav-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  background: color-mix(in srgb, var(--canvas) 78%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  padding-top: 15px;
  padding-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
}
.nav-wordmark {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 23px;
  letter-spacing: -0.01em;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-link {
  text-decoration: none;
  color: var(--soft);
  font-size: 14.5px;
  font-weight: 500;
  transition: color .3s;
}
.nav-link:hover { color: var(--ink); }

.nav-theme-btn {
  width: 38px;
  height: 38px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .4s cubic-bezier(.34,1.42,.64,1), background .3s;
}
.nav-theme-btn:active { transform: scale(0.9); }
.theme-light .icon-sun  { display: none; }
.theme-dark  .icon-moon { display: none; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 20px;
  border-radius: 13px;
  background: var(--ink);
  color: var(--canvas);
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
  box-shadow: 0 6px 18px var(--shadow);
  transition: transform .35s cubic-bezier(.34,1.42,.64,1);
}
.nav-cta:hover { transform: translateY(-2px); }

/* Hamburger (hidden on desktop) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 9px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════ */
.hero {
  padding-top: 78px;
  padding-bottom: 40px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}
.hero-rule {
  width: 44px;
  height: 1.5px;
  background: var(--ink);
  opacity: 0.78;
}
.hero-heading {
  margin: 0;
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: clamp(52px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.hero-sub {
  max-width: 468px;
  margin: 26px 0 0;
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--soft);
}

/* Waitlist form */
.hero-waitlist {
  margin-top: 34px;
}
.cta-waitlist {
  margin-top: 38px;
  display: flex;
  justify-content: center;
}
.waitlist-form {
  width: 100%;
  max-width: 460px;
}
.waitlist-field {
  display: flex;
  gap: 0;
  border-radius: 16px;
  border: 1.5px solid var(--line);
  background: var(--card);
  box-shadow: 0 10px 30px var(--shadow);
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}
.waitlist-field:focus-within {
  border-color: var(--ink);
  box-shadow: 0 10px 30px var(--shadow), 0 0 0 3px color-mix(in srgb, var(--ink) 10%, transparent);
}
.waitlist-input {
  flex: 1;
  min-width: 0;
  padding: 15px 20px;
  border: none;
  background: transparent;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  color: var(--ink);
  outline: none;
}
.waitlist-input::placeholder {
  color: var(--faint);
  opacity: 1;
}
.waitlist-btn {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 24px;
  margin: 5px 5px 5px 0;
  border: none;
  border-radius: 13px;
  background: var(--ink);
  color: var(--canvas);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .35s cubic-bezier(.34,1.42,.64,1), opacity .3s;
}
.waitlist-btn:hover { transform: translateY(-2px); }
.waitlist-btn:active { transform: scale(0.97); }
.waitlist-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.waitlist-btn .arrow { font-size: 16px; line-height: 1; }
.waitlist-success {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 0;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
  animation: revealIn .6s cubic-bezier(.2,.7,.2,1) both;
}
.waitlist-error {
  margin-top: 10px;
  font-size: 13px;
  color: #E5484D;
  text-align: center;
}

/* Meta line */
.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}
.hero-meta .label-mono-sm {
  font-size: 11.5px;
}
.dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--line);
  flex: none;
}

/* Hero phone */
.hero-phone {
  display: flex;
  justify-content: center;
}

/* ══════════════════════════════════════════════════════════
   iPHONE FRAME (Pure CSS)
   ══════════════════════════════════════════════════════════ */
.phone-float, .phone-wrap {
  position: relative;
  width: 347px;
  height: 716px;
}
.phone-halo {
  position: absolute;
  inset: -8% -6% -4%;
  background: radial-gradient(60% 50% at 50% 38%, var(--glow), transparent 70%);
  filter: blur(8px);
  z-index: 0;
}
.phone-wrap > .phone-halo {
  inset: -6% -6% 0;
  background: radial-gradient(58% 46% at 50% 36%, var(--glow), transparent 70%);
}
.iphone-frame {
  position: relative;
  width: 402px;
  height: 874px;
  transform: scale(0.863);
  transform-origin: top left;
  z-index: 1;
  background: var(--bezel);
  border-radius: 56px;
  border: 6px solid var(--line);
  box-shadow:
    0 0 0 2px color-mix(in srgb, var(--ink) 8%, transparent),
    0 24px 60px var(--shadow),
    inset 0 0 0 2px color-mix(in srgb, var(--ink) 4%, transparent);
  overflow: hidden;
}
.iphone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 126px;
  height: 34px;
  background: var(--ink);
  border-radius: 20px;
  z-index: 10;
  opacity: 0.95;
}
.theme-dark .iphone-notch {
  background: #000;
}
.iphone-screen {
  position: absolute;
  inset: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Phone top bar */
.phone-topbar {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 58px 28px 0;
}
.phone-topbar__left {
  display: flex;
  align-items: center;
  gap: 9px;
}
.phone-streak-num {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  font-size: 14px;
}
.phone-streak-label {
  font-size: 13px;
  color: var(--faint);
}

/* Phone body */
.phone-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 28px;
}

/* Heat ring */
.heat-ring {
  position: relative;
  width: 206px;
  height: 206px;
  margin-top: 24px;
}
.heat-ring__track, .heat-ring__fill {
  position: absolute;
  inset: 0;
}
.heat-ring__fill {
  transform: rotate(-90deg);
  filter: drop-shadow(0 0 13px var(--glow));
}
.heat-ring__fill circle {
  transition: stroke-dashoffset .9s cubic-bezier(.45,0,.15,1);
}
.heat-ring__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.heat-ring__count {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 62px;
  line-height: 0.9;
  letter-spacing: -0.02em;
}
.heat-ring__center .label-mono-xs {
  margin-top: 8px;
  letter-spacing: 0.22em;
}

/* Card stack */
.card-stack {
  position: relative;
  width: 100%;
  height: 236px;
  margin-top: 24px;
}

/* Review button */
.phone-review-btn {
  width: 100%;
  height: 58px;
  border-radius: 19px;
  background: var(--ink);
  color: var(--canvas);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 12px 26px var(--shadow);
}
.phone-review-btn .arrow { font-size: 17px; line-height: 1; }
.phone-spacer { flex: 1; min-height: 14px; }
.phone-bottom-pad { flex: none; height: 18px; }

/* Tab bar */
.phone-tabbar {
  flex: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-around;
  padding: 12px 16px 24px;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--canvas) 90%, transparent);
}
.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 56px;
  color: var(--faint);
}
.tab span { font-size: 10px; font-weight: 500; }
.tab--active { color: var(--ink); }
.tab--active span { font-weight: 600; }

/* ══════════════════════════════════════════════════════════
   TRUST STRIP
   ══════════════════════════════════════════════════════════ */
.trust-strip {
  padding-top: 18px;
  padding-bottom: 60px;
}
.trust-inner {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.trust-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  color: var(--soft);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
.trust-dot { opacity: 0.4; }

/* ── Content-visibility optimization for below-fold sections ── */
.science-section,
.features-section,
.insights-section,
.cta-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}

/* ══════════════════════════════════════════════════════════
   SCIENCE
   ══════════════════════════════════════════════════════════ */
.science-section {
  background: var(--canvas-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.science-inner {
  padding-top: 88px;
  padding-bottom: 88px;
}
.science-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 56px;
  align-items: center;
}
.science-stats {
  display: flex;
  gap: 36px;
  margin-top: 34px;
}
.stat__number {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 46px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat__unit { font-size: 24px; color: var(--soft); }
.stat__unit--sm { font-size: 20px; color: var(--soft); }
.stat__desc {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 8px;
  max-width: 140px;
  line-height: 1.4;
}

/* Chart */
.chart-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px 28px 24px;
  box-shadow: 0 24px 60px var(--shadow);
}
.chart-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
}
.chart-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
}
.chart-legend {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.legend-line {
  width: 18px;
  height: 3px;
  border-radius: 2px;
}
.legend-line--solid { background: var(--ink); }
.legend-line--dashed {
  background-image: linear-gradient(to right, var(--soft) 55%, transparent 55%);
  background-size: 7px 3px;
}

/* ══════════════════════════════════════════════════════════
   FEATURES
   ══════════════════════════════════════════════════════════ */
.features-section {
  padding-top: 90px;
  padding-bottom: 90px;
}
.features-heading {
  margin-bottom: 8px;
  max-width: 660px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 46px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 30px;
  box-shadow: 0 16px 40px var(--shadow);
}
.feature-card--wide {
  grid-column: span 2;
  display: flex;
  gap: 30px;
  align-items: center;
}
.feature-card--wide .feature-card__body { flex: 1; }
.feature-card__title {
  margin: 0;
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.feature-card--wide .feature-card__title { font-size: 25px; }
.feature-card__desc {
  margin: 11px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--soft);
}
.feature-card--wide .feature-card__desc {
  font-size: 14.5px;
  margin-top: 12px;
}
.feature-card__desc strong { font-weight: 600; color: var(--ink); }

/* Feature ring demo */
.feature-ring-demo {
  flex: none;
  position: relative;
  width: 128px;
  height: 128px;
}
.ring-track, .ring-fill { position: absolute; inset: 0; }
.ring-fill {
  transform: rotate(-90deg);
  filter: drop-shadow(0 0 9px var(--glow));
}
.ring-number {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 36px;
}

/* Neo chips */
.neo-chips {
  display: flex;
  gap: 9px;
  margin-bottom: 22px;
}
.neo-chip {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 11px;
  border: 1.5px solid #111;
  border-radius: 7px;
  box-shadow: 2px 2px 0 #111;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: #111;
}
.neo-chip--high { background: #E5484D; }
.neo-chip--med  { background: #F5A623; }
.neo-chip--low  { background: #46A758; }

/* Buckets */
.bucket-rows {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 22px;
}
.bucket-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--card-2);
}
.bucket-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
}
.bucket-name { font-size: 13px; font-weight: 600; }
.bucket-count {
  margin-left: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--faint);
}

/* Aura badge */
.aura-badge-wrap {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
}
.aura-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 26px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--card-2);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--soft);
}
.aura-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 7px var(--glow);
}

/* Feature icon */
.feature-icon { margin-bottom: 22px; }

/* ══════════════════════════════════════════════════════════
   INSIGHTS
   ══════════════════════════════════════════════════════════ */
.insights-section {
  background: var(--canvas-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.insights-grid {
  padding-top: 88px;
  padding-bottom: 88px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.insights-stats {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 34px;
}
.insight-stat {
  display: flex;
  align-items: center;
  gap: 18px;
}
.insight-stat__num {
  flex: none;
  width: 72px;
  text-align: right;
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.insight-stat__label { font-weight: 600; font-size: 15px; }
.insight-stat__sub { font-size: 13.5px; color: var(--soft); margin-top: 2px; }

/* Insights phone */
.insights-phone {
  display: flex;
  justify-content: center;
}
.ins-topbar {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 58px 24px 0;
}
.ins-free-badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--soft);
}
.ins-body {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 18px 24px 14px;
}
.ins-title {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.ins-subtitle {
  margin-top: 6px;
}
.ins-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}
.ins-stat-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 6px 16px var(--shadow);
}
.ins-stat-card .label-mono-xs {
  letter-spacing: 0.18em;
  font-size: 9.5px;
}
.ins-stat-val {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-top: 6px;
}
.ins-big-num {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.ins-pct {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--soft);
}

/* Activity card */
.ins-activity-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 6px 16px var(--shadow);
  margin-top: 14px;
}
.ins-activity-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.ins-activity-title { font-weight: 600; font-size: 13.5px; }

/* Heatmap */
.heatmap {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4px;
  margin-top: 12px;
}
.heatmap-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.heatmap-cell {
  height: 13px;
  border-radius: 3px;
  background: var(--ink);
}

/* Forgetting curve card */
.ins-curve-card {
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  margin-top: 14px;
}
.ins-curve-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ins-curve-title { font-weight: 600; font-size: 13.5px; color: var(--soft); }
.ins-pro-badge {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  background: var(--ink);
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--canvas);
}
.ins-curve-chart {
  height: 60px;
  margin-top: 12px;
  opacity: 0.4;
}

/* ══════════════════════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════════════════════ */
.faq-section {
  padding-top: 90px;
  padding-bottom: 90px;
}
.faq-heading {
  margin-bottom: 40px;
  max-width: 600px;
}
.faq-list {
  max-width: 760px;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child {
  border-top: 1px solid var(--line);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+';
  flex: none;
  width: 28px;
  height: 28px;
  margin-left: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 20px;
  color: var(--faint);
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform .3s ease, color .3s;
}
details[open] > .faq-q::after {
  content: '\2212';
  transform: rotate(180deg);
  color: var(--ink);
}
.faq-a {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--soft);
  max-width: 680px;
}

/* ══════════════════════════════════════════════════════════
   FINAL CTA
   ══════════════════════════════════════════════════════════ */
.cta-section {
  padding-top: 104px;
  padding-bottom: 96px;
  text-align: center;
}
.cta-icon { display: inline-flex; margin-bottom: 30px; }
.cta-heading {
  margin: 0 auto;
  max-width: 760px;
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: clamp(40px, 5.5vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.025em;
}
.cta-sub {
  max-width: 480px;
  margin: 24px auto 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--soft);
}
.cta-waitlist .waitlist-form {
  max-width: 480px;
}

/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--line);
}
.footer-inner {
  padding-top: 36px;
  padding-bottom: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-wordmark {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 17px;
}
.footer-tagline {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--soft);
  margin-left: 6px;
}
.footer-links {
  display: flex;
  gap: 26px;
}
.footer-links a {
  text-decoration: none;
  color: var(--faint);
  font-size: 13.5px;
  transition: color .3s;
}
.footer-links a:hover { color: var(--ink); }
.footer-copy {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--faint);
  letter-spacing: 0.04em;
}

/* ══════════════════════════════════════════════════════════
   REVIEW CARD (generated by JS)
   ══════════════════════════════════════════════════════════ */
.review-card {
  position: absolute;
  left: 0;
  right: 0;
  height: 96px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform-origin: center bottom;
  transition: transform .6s cubic-bezier(.4,0,.2,1),
              opacity .6s cubic-bezier(.4,0,.2,1),
              box-shadow .6s ease;
  will-change: transform, opacity;
}
.review-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.review-card__bucket {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
}
.review-card__heat {
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ink);
}
.review-card__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.review-card__title {
  flex: 1;
  min-width: 0;
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 19px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.review-card__chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border: 1.5px solid #111;
  border-radius: 7px;
  box-shadow: 2px 2px 0 #111;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #111;
  transition: transform .5s cubic-bezier(.34,1.56,.64,1);
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (768–1023)
   ══════════════════════════════════════════════════════════ */
@media (max-width: 1023px) {
  .container { padding-left: 24px; padding-right: 24px; }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 48px;
    gap: 48px;
  }
  .hero-phone { order: -1; }
  .hero-copy { text-align: center; }
  .hero-eyebrow { justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-meta { justify-content: center; }

  .science-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
  .feature-card--wide {
    grid-column: span 2;
  }

  .insights-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .insights-phone { order: -1; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (<768)
   ══════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  .container { padding-left: 18px; padding-right: 18px; }

  /* Nav */
  .nav-hamburger { display: flex; }
  .nav-inner { position: relative; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: -18px;
    right: -18px;
    flex-direction: column;
    gap: 0;
    background: color-mix(in srgb, var(--canvas) 96%, transparent);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-link {
    display: block;
    padding: 14px 24px;
    font-size: 16px;
  }
  .nav-right { gap: 12px; }
  .nav-cta { padding: 0 14px; font-size: 13px; height: 36px; border-radius: 10px; }

  /* Hero */
  .hero { padding-top: 32px; }
  .hero-heading { font-size: clamp(42px, 10vw, 62px); }

  /* Phone mockups */
  .phone-float, .phone-wrap {
    width: 280px;
    height: 578px;
  }
  .iphone-frame {
    width: 324px;
    height: 705px;
  }

  /* Trust */
  .trust-inner { flex-direction: column; text-align: center; gap: 16px; }
  .trust-tags { justify-content: center; gap: 12px; }

  /* Science */
  .science-inner { padding-top: 56px; padding-bottom: 56px; }
  .science-stats { gap: 24px; }
  .stat__number { font-size: 36px; }

  /* Features */
  .features-section { padding-top: 56px; padding-bottom: 56px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card--wide {
    grid-column: span 1;
    flex-direction: column;
    text-align: center;
  }

  /* Insights */
  .insights-grid { padding-top: 56px; padding-bottom: 56px; }
  .insights-copy { text-align: center; }
  .insights-copy .body-text { margin-left: auto; margin-right: auto; }
  .insights-stats { align-items: center; }

  /* CTA */
  .cta-section { padding-top: 64px; padding-bottom: 64px; }

  /* Waitlist mobile */
  .waitlist-field { flex-direction: column; border-radius: 18px; }
  .waitlist-btn { margin: 0 5px 5px; padding: 14px 24px; border-radius: 14px; justify-content: center; }

  /* Footer */
  .footer-inner { flex-direction: column; text-align: center; gap: 16px; }
  .footer-links { gap: 18px; }
}
