/* Kaivon Ready: near-black, fine type, light that comes from the work. */

@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #050608;
  --bg-2: #090b0f;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eef1f5;
  --muted: #9aa3b1;
  --faint: #687180;
  --cyan: #7ee8fa;
  --violet: #a78bfa;
  --amber: #f6b46b;
  --green: #6ee7a8;
  --brand: linear-gradient(110deg, var(--cyan), var(--violet) 50%, var(--amber));
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --max: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
}

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

html {
  background: var(--bg);
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(60vw 40vw at 85% -5%, rgba(167, 139, 250, 0.09), transparent 60%),
    radial-gradient(50vw 36vw at 0% 10%, rgba(126, 232, 250, 0.07), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: 'cv05', 'cv08', 'ss03';
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 16px;
  top: 12px;
  z-index: 50;
  background: #fff;
  color: #000;
  padding: 8px 12px;
  border-radius: 8px;
}

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

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--gutter);
  background: linear-gradient(180deg, rgba(5, 6, 8, 0.92), rgba(5, 6, 8, 0.6));
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

.nav nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s var(--ease);
}

.nav nav a:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: 12px;
  border: 0;
  background: var(--brand);
  color: #05070a;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 40px rgba(126, 232, 250, 0.16);
  transition: transform 0.2s var(--ease), filter 0.2s var(--ease);
  white-space: nowrap;
}

.btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.btn.ghost {
  background: var(--surface);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-2);
}

.btn.small {
  height: 36px;
  padding: 0 14px;
  font-size: 14px;
  border-radius: 10px;
}

.btn.big {
  height: 54px;
  padding: 0 30px;
  font-size: 16px;
}

/* ---------- Hero ---------- */

main > section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  min-height: min(calc(100vh - 70px), 820px);
  padding-top: 40px !important;
  padding-bottom: 60px !important;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
}

.tag .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(110, 231, 168, 0.15);
}

h1 {
  margin: 0;
  font-size: clamp(40px, 5.4vw, 70px);
  line-height: 1.02;
  font-weight: 650;
  letter-spacing: -0.04em;
}

.grad {
  background: var(--brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin: 22px 0 30px;
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 18.5px);
}

.cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.small-print {
  margin: 14px 0 0;
  color: var(--faint);
  font-size: 13px;
}

/* The illustrated call */

.stage {
  margin: 0;
}

.stage figcaption {
  margin-top: 12px;
  color: var(--faint);
  font-size: 12.5px;
  text-align: center;
}

.screen {
  position: relative;
  aspect-ratio: 16 / 12;
  border-radius: 22px;
  padding: 14px;
  background: linear-gradient(180deg, #0c0f14, #07090c);
  border: 1px solid var(--line-2);
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.6),
    0 0 0 6px rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 18px;
  border-radius: 0 0 12px 12px;
  background: #000;
  z-index: 3;
  display: grid;
  place-items: center;
}

.notch i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1c2533;
  box-shadow: inset 0 0 0 2px #0e131b;
}

.card-under {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: min(84%, 460px);
  z-index: 2;
  padding: 10px 16px 14px;
  border-radius: 14px;
  background: rgba(10, 12, 17, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  text-align: center;
  transition: box-shadow 0.4s var(--ease);
}

.card-under.lit {
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(126, 232, 250, 0.25),
    0 0 40px rgba(126, 232, 250, 0.12);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 11px;
  color: var(--faint);
  letter-spacing: 0.02em;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2.2s var(--ease) infinite;
}

@keyframes pulse {
  50% {
    opacity: 0.35;
  }
}

.heard {
  margin: 6px 0 0;
  min-height: 1.4em;
  font-size: 12.5px;
  color: var(--muted);
}

.answer .say {
  margin: 6px 0 6px;
  font-size: clamp(13px, 1.25vw, 15.5px);
  font-weight: 500;
  line-height: 1.38;
}

.answer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
  font-size: clamp(11.5px, 1.05vw, 13px);
  color: #cfd6e0;
}

.answer li {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.answer li.in {
  opacity: 1;
  transform: none;
}

.call {
  position: absolute;
  inset: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.tile {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 100%, #1a2230, #0b0f15);
  border: 1px solid var(--line);
}

.tile.you {
  background: radial-gradient(120% 90% at 50% 100%, #221b2e, #0d0b13);
}

.person {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 58%;
  height: 50%;
}

.person .head {
  position: absolute;
  left: 50%;
  top: 6%;
  width: 34%;
  aspect-ratio: 1 / 1.15;
  transform: translateX(-50%);
  border-radius: 46%;
  background: linear-gradient(180deg, #2c3646, #1c2330);
}

.tile.you .person .head {
  background: linear-gradient(180deg, #3a2f4c, #241d31);
}

.person .body {
  position: absolute;
  left: 50%;
  bottom: -6%;
  width: 100%;
  height: 50%;
  transform: translateX(-50%);
  border-radius: 48% 48% 0 0;
  background: linear-gradient(180deg, #232c3a, #151b25);
}

.tile.you .person .body {
  background: linear-gradient(180deg, #2c2439, #1a1524);
}

.name {
  position: absolute;
  left: 10px;
  bottom: 10px;
  font-size: 11px;
  color: var(--muted);
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.45);
}

.wave {
  position: absolute;
  right: 10px;
  bottom: 12px;
  display: flex;
  gap: 3px;
  align-items: end;
  height: 14px;
  opacity: 0;
  transition: opacity 0.3s;
}

.wave.on {
  opacity: 1;
}

.wave i {
  width: 3px;
  height: 30%;
  border-radius: 2px;
  background: var(--cyan);
  animation: bars 0.9s ease-in-out infinite;
}

.wave i:nth-child(2) {
  animation-delay: 0.1s;
}
.wave i:nth-child(3) {
  animation-delay: 0.25s;
}
.wave i:nth-child(4) {
  animation-delay: 0.05s;
}
.wave i:nth-child(5) {
  animation-delay: 0.2s;
}

@keyframes bars {
  50% {
    height: 100%;
  }
}

/* ---------- Sections ---------- */

.section-head {
  max-width: 700px;
  margin-bottom: 34px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
}

h2 {
  margin: 0;
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.1;
  font-weight: 620;
  letter-spacing: -0.03em;
}

.three {
  padding-top: 70px !important;
  padding-bottom: 50px !important;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.pillar {
  position: relative;
  display: block;
  padding: 26px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  text-decoration: none;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
}

.pillar:hover {
  border-color: var(--line-2);
  background: var(--surface-2);
  transform: translateY(-2px);
}

.pillar .num {
  font-size: 12px;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}

.pillar h3 {
  margin: 14px 0 8px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.pillar p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding-top: 90px !important;
  padding-bottom: 40px !important;
}

.feature.flip .feature-copy {
  order: 2;
}

.feature-copy > p {
  color: var(--muted);
  font-size: 17px;
  margin: 18px 0;
}

.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.ticks li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  font-size: 15.5px;
}

.ticks li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 10px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}

.ticks b {
  color: var(--text);
  font-weight: 600;
}

.honest {
  margin-top: 18px !important;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(126, 232, 250, 0.16);
  background: rgba(126, 232, 250, 0.04);
  font-size: 14.5px !important;
}

.panel {
  padding: 26px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background:
    radial-gradient(100% 70% at 0% 0%, rgba(126, 232, 250, 0.06), transparent 60%),
    radial-gradient(80% 60% at 100% 100%, rgba(167, 139, 250, 0.06), transparent 60%),
    var(--bg-2);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.45);
}

.panel-label {
  margin: 0 0 16px;
  font-size: 13.5px;
  color: var(--muted);
}

.panel-note {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--faint);
}

.scores {
  display: grid;
  gap: 12px;
}

.scores div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 10px;
  font-size: 14px;
  color: var(--muted);
}

.scores b {
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.scores i {
  grid-column: 1 / -1;
  height: 5px;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--amber)) 0 0 / var(--w) 100% no-repeat, rgba(255, 255, 255, 0.07);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 20px 0 16px;
}

.stats div {
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  display: grid;
}

.stats b {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.stats span {
  font-size: 12px;
  color: var(--muted);
}

.advice {
  margin: 0;
  font-size: 14.5px;
  color: #d6dde7;
}

.advice b {
  color: var(--amber);
  font-weight: 600;
}

.flow ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.flow li {
  display: flex;
  gap: 16px;
  padding: 14px 6px;
  border-bottom: 1px solid var(--line);
}

.flow li:last-child {
  border-bottom: 0;
}

.flow .step {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  color: #05070a;
  background: var(--brand);
}

.flow b {
  font-weight: 600;
}

.flow p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14.5px;
}

.eyes {
  text-align: center;
}

.eye-row {
  display: flex;
  gap: 18px;
  justify-content: center;
  padding: 26px 0 18px;
}

.eye {
  width: 44%;
  max-width: 220px;
}

.eye .lid {
  fill: #f2efe9;
  stroke: #3a2a20;
  stroke-width: 3;
}

.eye .iris {
  transition: transform 0.35s var(--ease);
}

.eye-toggle {
  display: inline-flex;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.eye-toggle button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13.5px;
  padding: 8px 14px;
  border-radius: 9px;
  cursor: pointer;
}

.eye-toggle button.on {
  background: rgba(255, 255, 255, 0.09);
  color: var(--text);
}

.private {
  padding-top: 110px !important;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.facts div {
  padding: 22px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.facts b {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.facts p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

.faq {
  padding-top: 110px !important;
  max-width: 820px !important;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 30px 16px 0;
  font-size: 17px;
  font-weight: 550;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 14px;
  color: var(--faint);
  font-size: 22px;
  font-weight: 300;
  transition: transform 0.3s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin: 0 0 18px;
  color: var(--muted);
}

.download {
  text-align: center;
  padding-top: 120px !important;
  padding-bottom: 110px !important;
}

.download p {
  color: var(--muted);
  margin: 12px 0 28px;
}

.foot {
  max-width: var(--max);
  margin: 0 auto;
  padding: 26px var(--gutter) 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 14px;
}

.foot nav {
  display: flex;
  gap: 18px;
  margin-left: auto;
}

.foot nav a {
  color: var(--muted);
  text-decoration: none;
}

.foot nav a:hover {
  color: var(--text);
}

.foot .copy {
  margin: 0;
  width: 100%;
}

/* ---------- Smaller screens ---------- */

@media (max-width: 960px) {
  .hero,
  .feature {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: 0;
  }
  .feature.flip .feature-copy {
    order: 0;
  }
  .pillars {
    grid-template-columns: 1fr;
  }
  .facts {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .nav nav {
    display: none;
  }
  .nav .btn {
    margin-left: auto;
  }
  .facts {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .card-under {
    width: 88%;
    padding: 8px 10px 10px;
  }
  .answer ul {
    display: none;
  }
  .foot nav {
    margin-left: 0;
  }
}

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

.scores i.w80 { --w: 80%; }
.scores i.w70 { --w: 70%; }
.scores i.w60 { --w: 60%; }
.scores i.w50 { --w: 50%; }
