:root {
  --bg: #06070a;
  --bg-soft: #0a0c10;
  --panel: rgba(18, 20, 25, 0.82);
  --panel-strong: rgba(24, 27, 34, 0.92);
  --line: rgba(255, 248, 232, 0.12);
  --line-strong: rgba(255, 248, 232, 0.2);
  --ink: #fff8e8;
  --ink-soft: #d9d0c2;
  --ink-muted: #9d9488;
  --gold: #f2d88f;
  --blue: #b8caff;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Aptos", "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(184, 202, 255, 0.12), transparent 28rem),
    radial-gradient(circle at 82% 8%, rgba(242, 216, 143, 0.08), transparent 22rem),
    linear-gradient(180deg, #08090c 0%, #040508 58%, #08090c 100%);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  width: 100%;
  height: 2px;
  pointer-events: none;
  background: transparent;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(184, 202, 255, 0.08), rgba(242, 216, 143, 0.84), rgba(255, 248, 232, 0.96));
  box-shadow:
    0 0 18px rgba(242, 216, 143, 0.22),
    0 0 34px rgba(184, 202, 255, 0.1);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 90ms linear;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
}

body::before {
  opacity: 0.42;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.84) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(184, 202, 255, 0.56) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(242, 216, 143, 0.34) 0 1px, transparent 1.5px);
  background-position:
    42px 86px,
    180px 18px,
    360px 240px;
  background-size:
    230px 230px,
    390px 390px,
    560px 560px;
  animation: starfield-drift 138s linear infinite;
}

body::after {
  opacity: 0.2;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.22), transparent 1.6px),
    radial-gradient(circle at 64% 38%, rgba(184, 202, 255, 0.18), transparent 1.5px),
    radial-gradient(circle at 84% 76%, rgba(242, 216, 143, 0.14), transparent 1.4px);
  background-size:
    460px 460px,
    620px 620px,
    780px 780px;
  animation: star-pulse 7.5s ease-in-out infinite;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.cosmic-sky {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.75;
  background:
    radial-gradient(circle at 74% 12%, rgba(184, 202, 255, 0.16), transparent 24rem),
    radial-gradient(circle at 16% 76%, rgba(242, 216, 143, 0.08), transparent 28rem);
  mix-blend-mode: screen;
}

.meteor {
  position: absolute;
  top: var(--top, 20%);
  left: var(--left, 100%);
  width: var(--length, 180px);
  height: 1px;
  border-radius: 999px;
  opacity: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(184, 202, 255, 0.2) 18%,
    rgba(255, 255, 255, 0.95) 68%,
    rgba(242, 216, 143, 0.9)
  );
  box-shadow:
    0 0 10px rgba(184, 202, 255, 0.5),
    0 0 22px rgba(242, 216, 143, 0.16);
  transform: rotate(-24deg) scaleX(0.72);
  transform-origin: right center;
  animation: meteor-sweep var(--duration, 30s) linear infinite;
  animation-delay: var(--delay, 0s);
}

.meteor::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff8e8;
  box-shadow: 0 0 18px rgba(255, 248, 232, 0.76);
  transform: translateY(-50%);
}

.meteor:nth-child(1) {
  --top: 14%;
  --left: 94%;
  --length: 190px;
  --duration: 28s;
  --delay: 4s;
}

.meteor:nth-child(2) {
  --top: 36%;
  --left: 110%;
  --length: 150px;
  --duration: 37s;
  --delay: 18s;
}

.meteor:nth-child(3) {
  --top: 70%;
  --left: 92%;
  --length: 220px;
  --duration: 48s;
  --delay: 10s;
}

.meteor:nth-child(4) {
  --top: 8%;
  --left: 76%;
  --length: 120px;
  --duration: 42s;
  --delay: 30s;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  width: min(100% - 32px, 1240px);
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 7, 10, 0.72);
  backdrop-filter: blur(22px);
  transition:
    min-height 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

body[data-scrolled="true"] .site-header {
  min-height: 68px;
  border-color: rgba(255, 248, 232, 0.18);
  background: rgba(6, 7, 10, 0.88);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.18),
    inset 0 -1px 0 rgba(255, 255, 255, 0.035);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    width 180ms ease,
    height 180ms ease,
    border-radius 180ms ease;
}

body[data-scrolled="true"] .brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 14px;
}

.brand-mark svg {
  width: 31px;
  height: 31px;
  fill: var(--ink);
  transition:
    width 180ms ease,
    height 180ms ease;
}

body[data-scrolled="true"] .brand-mark svg {
  width: 27px;
  height: 27px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.28rem;
  letter-spacing: -0.055em;
  transition: font-size 180ms ease;
}

body[data-scrolled="true"] .brand strong {
  font-size: 1.12rem;
}

.brand small {
  color: var(--ink-muted);
  font-size: 0.82rem;
  transition: opacity 180ms ease;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--ink);
  padding: 0;
  place-items: center;
  position: relative;
  transition:
    background-color 160ms ease,
    border-color 160ms ease;
}

.nav-toggle:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.07);
}

.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 180ms ease,
    top 180ms ease,
    opacity 180ms ease;
}

.nav-toggle span:first-child {
  top: 15px;
}

.nav-toggle span:last-child {
  top: 23px;
}

.site-header[data-menu-open="true"] .nav-toggle span:first-child {
  top: 19px;
  transform: rotate(42deg);
}

.site-header[data-menu-open="true"] .nav-toggle span:last-child {
  top: 19px;
  transform: rotate(-42deg);
}

.nav-links a {
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink-muted);
  padding: 10px 13px;
  font-size: 0.9rem;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

.nav-links a:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 620ms ease,
    transform 620ms ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-on-scroll:nth-child(2) {
  transition-delay: 60ms;
}

.reveal-on-scroll:nth-child(3) {
  transition-delay: 120ms;
}

.reveal-on-scroll:nth-child(4) {
  transition-delay: 180ms;
}

.section-shell {
  width: min(100% - 32px, 1240px);
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(540px, 1.08fr);
  align-items: center;
  gap: clamp(28px, 5vw, 78px);
  padding: clamp(52px, 8vw, 110px) 0 72px;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--ink-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
blockquote {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.065em;
}

h1 {
  max-width: 10.6em;
  margin-bottom: 26px;
  font-size: clamp(4.2rem, 8vw, 8.6rem);
  line-height: 0.92;
}

h2 {
  color: var(--ink);
  font-size: clamp(2.8rem, 5.2vw, 5.8rem);
  line-height: 0.96;
}

h3 {
  color: var(--ink);
  font-size: 1.1rem;
  letter-spacing: -0.03em;
}

.hero-lede,
.section-heading p,
.research-copy p,
.waitlist p {
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.6vw, 1.35rem);
  line-height: 1.72;
}

.hero-lede {
  max-width: 620px;
  margin-bottom: 30px;
}

.hero-actions,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  font-weight: 700;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.button:hover {
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.button-primary {
  border-color: rgba(255, 248, 232, 0.84);
  background: var(--ink);
  color: #07080b;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.055);
  color: var(--ink);
}

.trust-row {
  margin-top: 28px;
  color: var(--ink-muted);
  font-size: 0.86rem;
}

.trust-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  padding: 8px 11px;
}

.hero-visual {
  position: relative;
  min-height: 620px;
}

.hero-screenshot {
  position: absolute;
  inset: 36px 0 auto auto;
  width: min(100%, 840px);
  height: 520px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(18, 20, 25, 0.92), rgba(8, 10, 14, 0.82));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 34px 110px rgba(0, 0, 0, 0.42),
    0 0 90px rgba(184, 202, 255, 0.06);
  overflow: hidden;
  opacity: 0;
  transform: translateY(8px) scale(0.985);
  pointer-events: none;
}

.hero-screenshot::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 16%, rgba(255, 248, 232, 0.1), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 28%);
  mix-blend-mode: screen;
}

.hero-screenshot img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: left top;
}

body[data-hero-screenshot="ready"] .hero-screenshot {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  transition:
    opacity 420ms ease,
    transform 420ms ease;
}

body[data-hero-screenshot="ready"] .hero-mockup-fallback {
  display: none;
}

.hero-mockup-fallback {
  position: absolute;
  inset: 0;
}

.app-window,
.floating-card,
.feature-card,
.audience-card,
.flow-step,
.comparison-card,
.roadmap-card,
.product-shot,
.research-stack article,
.problem-grid article,
.waitlist {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(18, 20, 25, 0.9), rgba(8, 10, 14, 0.82));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    var(--shadow);
  backdrop-filter: blur(18px);
}

.app-window-main {
  position: absolute;
  inset: 36px 0 auto auto;
  width: min(100%, 760px);
  height: 520px;
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
}

.app-rail {
  border-right: 1px solid var(--line);
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 18px;
  padding-top: 18px;
  background: rgba(6, 7, 10, 0.62);
}

.rail-logo,
.rail-pill,
.rail-dot {
  display: block;
  border-radius: 16px;
}

.rail-logo {
  width: 44px;
  height: 44px;
  background: var(--ink);
  box-shadow: 0 0 24px rgba(255, 248, 232, 0.08);
}

.rail-pill {
  width: 46px;
  height: 54px;
  border: 1px solid var(--line);
  background: rgba(255, 248, 232, 0.1);
}

.rail-pill.active {
  background: rgba(255, 248, 232, 0.94);
}

.rail-dot {
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
}

.app-content {
  min-width: 0;
  background:
    radial-gradient(circle at 80% 18%, rgba(184, 202, 255, 0.08), transparent 16rem),
    rgba(6, 7, 10, 0.42);
}

.app-topbar,
.shot-header {
  min-height: 62px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 24px;
  color: var(--ink-muted);
}

.library-preview {
  padding: 34px;
}

.mini-label {
  margin: 0 0 9px;
  color: var(--ink-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.library-preview h3 {
  margin-bottom: 22px;
  font-family: var(--serif);
  font-size: 2.2rem;
  letter-spacing: -0.06em;
}

.note-grid-preview,
.shot-library {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 16px;
}

.note-preview,
.shot-library article {
  min-height: 166px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  padding: 20px;
}

.note-preview.large {
  min-height: 240px;
}

.badge,
.shot-library span {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(255, 248, 232, 0.08);
  color: var(--ink-muted);
  padding: 7px 10px;
  font-size: 0.72rem;
}

.note-preview h4,
.shot-library h3 {
  margin: 18px 0 12px;
  color: var(--ink);
  font-size: 1.25rem;
  letter-spacing: -0.04em;
}

.note-preview p,
.note-preview div,
.shot-library p,
.floating-card p,
.feature-card p,
.product-shot figcaption,
.problem-grid p,
.research-stack span {
  color: var(--ink-muted);
  line-height: 1.6;
}

.note-preview div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 38px;
}

.floating-card {
  position: absolute;
  z-index: 2;
  width: 270px;
  border-radius: 18px;
  padding: 18px;
  animation: card-float 8s ease-in-out infinite;
}

.floating-card strong {
  display: block;
  margin-bottom: 8px;
}

.composer-card {
  left: 0;
  bottom: 46px;
}

.source-card {
  right: 22px;
  bottom: 0;
  animation-delay: -3s;
}

.problem-band,
.quote-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 248, 232, 0.035), transparent 48%),
    rgba(255, 255, 255, 0.018);
}

.audience-section {
  padding: 102px 0 0;
}

.section-heading--compact {
  padding-top: 0;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 102px;
}

.audience-card,
.comparison-card,
.roadmap-card {
  border-radius: 24px;
  padding: 26px;
}

.audience-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
}

.audience-card__number,
.comparison-card span,
.roadmap-card span,
.flow-step span {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.audience-card h3 {
  margin: 22px 0 16px;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw, 4.2rem);
  letter-spacing: -0.07em;
  line-height: 0.96;
}

.audience-card p,
.comparison-card p,
.roadmap-card p,
.flow-step h3 {
  color: var(--ink-soft);
  line-height: 1.68;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
}

.pill-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-muted);
  padding: 8px 10px;
  font-size: 0.78rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  gap: clamp(28px, 5vw, 72px);
  padding: 92px 0;
}

.problem-grid,
.feature-grid,
.showcase-grid {
  display: grid;
  gap: 18px;
}

.problem-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.problem-grid article {
  min-height: 230px;
  border-radius: 22px;
  padding: 22px;
}

.problem-grid span,
.feature-icon {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.section-heading {
  max-width: 880px;
  padding: 110px 0 42px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 112px;
}

.feature-card {
  min-height: 250px;
  border-radius: 24px;
  padding: 26px;
}

.feature-card h3 {
  margin: 46px 0 14px;
  font-size: 1.38rem;
}

.flow-section {
  padding-bottom: 112px;
}

.flow-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.flow-steps::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 38px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.flow-step {
  position: relative;
  min-height: 220px;
  border-radius: 22px;
  padding: 24px;
}

.flow-step::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  margin-bottom: 42px;
  border: 1px solid rgba(255, 248, 232, 0.42);
  border-radius: 999px;
  background: var(--bg);
  box-shadow: 0 0 26px rgba(242, 216, 143, 0.14);
}

.flow-step h3 {
  margin: 18px 0 0;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.showcase {
  padding-bottom: 112px;
}

.showcase-grid {
  grid-template-columns: 1fr;
}

.product-shot {
  border-radius: 28px;
  overflow: hidden;
}

.product-shot figcaption {
  border-top: 1px solid var(--line);
  padding: 18px 24px;
}

.shot-library,
.shot-reader,
.shot-composer {
  min-height: 330px;
  padding: 28px;
}

.shot-reader {
  display: grid;
  align-content: center;
  max-width: 840px;
  margin: 0 auto;
}

.shot-reader h3 {
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 5rem);
  letter-spacing: -0.07em;
}

.shot-reader p:not(.mini-label) {
  max-width: 720px;
  color: var(--ink-soft);
  font-size: 1.24rem;
  line-height: 1.8;
}

.source-toggle {
  width: fit-content;
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-muted);
  padding: 10px 14px;
}

.shot-composer {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  align-items: center;
}

.composer-prompt,
.composer-output {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  padding: 22px;
}

.composer-prompt {
  color: var(--ink-soft);
  font-size: 1.28rem;
  line-height: 1.55;
}

.composer-output span {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.composer-output p {
  margin: 20px 0 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1.38;
}

.comparison-section {
  padding-bottom: 102px;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.comparison-card {
  min-height: 280px;
}

.comparison-card h3 {
  margin: 64px 0 14px;
  font-size: 1.38rem;
}

.comparison-card--essence {
  border-color: rgba(255, 248, 232, 0.32);
  background:
    radial-gradient(circle at 72% 12%, rgba(242, 216, 143, 0.12), transparent 14rem),
    linear-gradient(180deg, rgba(28, 30, 36, 0.95), rgba(10, 12, 16, 0.86));
}

.research-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
  padding: 102px 0;
}

.research-copy h2 {
  margin-bottom: 24px;
}

.research-stack {
  display: grid;
  gap: 14px;
}

.research-stack article {
  border-radius: 20px;
  padding: 22px;
}

.research-stack strong,
.research-stack span {
  display: block;
}

.research-stack strong {
  margin-bottom: 8px;
}

.roadmap-section {
  padding-bottom: 104px;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.roadmap-card {
  min-height: 230px;
}

.roadmap-card h3 {
  margin: 56px 0 12px;
  font-size: 1.3rem;
}

.roadmap-card.is-ready {
  border-color: rgba(184, 202, 255, 0.22);
}

.quote-section {
  padding: 92px 0;
}

blockquote {
  max-width: 980px;
  margin: 0;
  font-size: clamp(3.2rem, 6vw, 7rem);
  line-height: 0.96;
}

.waitlist {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
  gap: 34px;
  align-items: center;
  border-radius: 32px;
  margin-top: 110px;
  margin-bottom: 110px;
  padding: clamp(26px, 5vw, 56px);
}

.waitlist h2 {
  margin-bottom: 20px;
}

.waitlist-form {
  display: grid;
  gap: 12px;
}

.waitlist-form label {
  color: var(--ink-muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.waitlist-form div {
  display: flex;
  gap: 10px;
}

.waitlist-form input {
  min-width: 0;
  flex: 1;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
  outline: 0;
  padding: 0 16px;
}

.waitlist-form input[name="_gotcha"] {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.waitlist-form input:focus {
  border-color: rgba(184, 202, 255, 0.58);
  box-shadow: 0 0 0 4px rgba(184, 202, 255, 0.12);
}

.waitlist-form button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--ink-muted);
}

.site-footer {
  width: min(100% - 32px, 1240px);
  min-height: 84px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--ink-muted);
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 700;
}

@keyframes starfield-drift {
  from {
    background-position:
      42px 86px,
      180px 18px,
      360px 240px;
  }

  to {
    background-position:
      342px -214px,
      -260px 438px,
      880px 520px;
  }
}

@keyframes star-pulse {
  0%,
  100% {
    opacity: 0.16;
    transform: scale(1);
  }

  50% {
    opacity: 0.3;
    transform: scale(1.015);
  }
}

@keyframes meteor-sweep {
  0%,
  68% {
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(-24deg) scaleX(0.72);
  }

  72% {
    opacity: 0.92;
  }

  79% {
    opacity: 0;
    transform: translate3d(-46vw, 30vh, 0) rotate(-24deg) scaleX(1);
  }

  100% {
    opacity: 0;
    transform: translate3d(-46vw, 30vh, 0) rotate(-24deg) scaleX(1);
  }
}

@keyframes card-float {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -10px;
  }
}

@media (max-height: 900px) and (min-width: 761px) {
  .site-header {
    min-height: 70px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 14px;
  }

  .brand-mark svg {
    width: 27px;
    height: 27px;
  }

  .brand strong {
    font-size: 1.08rem;
  }

  .brand small {
    font-size: 0.76rem;
  }

  .nav-links a {
    padding: 8px 10px;
    font-size: 0.84rem;
  }

  .hero {
    min-height: auto;
    grid-template-columns: minmax(0, 0.84fr) minmax(460px, 1.16fr);
    gap: clamp(22px, 3.2vw, 42px);
    padding: 28px 0 42px;
  }

  h1 {
    max-width: 8.8em;
    margin-bottom: 16px;
    font-size: clamp(3.15rem, 4.85vw, 5.2rem);
    line-height: 0.96;
  }

  h2 {
    font-size: clamp(2.3rem, 3.65vw, 3.85rem);
    line-height: 1;
  }

  .hero-lede,
  .section-heading p,
  .research-copy p,
  .waitlist p {
    font-size: clamp(1rem, 1.25vw, 1.14rem);
    line-height: 1.6;
  }

  .hero-lede {
    max-width: 560px;
    margin-bottom: 16px;
  }

  .button {
    min-height: 38px;
    padding-inline: 15px;
    font-size: 0.9rem;
  }

  .trust-row {
    margin-top: 14px;
    gap: 8px;
    font-size: 0.78rem;
  }

  .trust-row span {
    padding: 6px 9px;
  }

  .hero-visual {
    min-height: 440px;
  }

  .hero-screenshot {
    inset: 18px 0 auto auto;
    width: min(100%, 680px);
    height: 374px;
    border-radius: 22px;
  }

  .app-window-main {
    inset: 18px 0 auto auto;
    width: min(100%, 620px);
    height: 374px;
    border-radius: 22px;
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .app-rail {
    gap: 12px;
    padding-top: 14px;
  }

  .rail-logo {
    width: 34px;
    height: 34px;
  }

  .rail-pill {
    width: 34px;
    height: 42px;
  }

  .rail-dot {
    width: 20px;
    height: 20px;
  }

  .app-topbar,
  .shot-header {
    min-height: 48px;
    padding-inline: 18px;
  }

  .library-preview {
    padding: 20px;
  }

  .library-preview h3 {
    margin-bottom: 14px;
    font-size: 1.58rem;
  }

  .note-grid-preview,
  .shot-library {
    gap: 12px;
  }

  .note-preview,
  .shot-library article {
    min-height: 114px;
    border-radius: 16px;
    padding: 14px;
  }

  .note-preview.large {
    min-height: 168px;
  }

  .note-preview h4,
  .shot-library h3 {
    margin: 12px 0 8px;
    font-size: 0.98rem;
  }

  .note-preview div {
    margin-top: 16px;
  }

  .floating-card {
    width: 214px;
    border-radius: 16px;
    padding: 14px;
    font-size: 0.9rem;
  }

  .composer-card {
    bottom: 18px;
  }

  .source-card {
    right: 14px;
    bottom: -4px;
  }

  .audience-section {
    padding-top: 60px;
  }

  .section-heading {
    max-width: 720px;
    padding: 58px 0 24px;
  }

  .section-heading--compact {
    padding-top: 0;
  }

  .audience-grid,
  .feature-grid {
    gap: 14px;
    padding-bottom: 64px;
  }

  .audience-card {
    min-height: 220px;
    padding: 20px;
  }

  .audience-card h3 {
    margin: 16px 0 10px;
    margin-bottom: 10px;
    font-size: clamp(1.9rem, 2.85vw, 2.58rem);
  }

  .audience-card p,
  .comparison-card p,
  .roadmap-card p,
  .flow-step h3 {
    line-height: 1.55;
  }

  .pill-row {
    gap: 6px;
    margin-top: auto;
    padding-top: 12px;
  }

  .pill-row span {
    padding: 6px 9px;
  }

  .split {
    padding: 58px 0;
  }

  .problem-grid {
    gap: 14px;
  }

  .problem-grid article {
    min-height: 160px;
    padding: 18px;
  }

  .feature-card {
    min-height: 178px;
    padding: 20px;
  }

  .feature-card h3 {
    margin: 28px 0 10px;
  }

  .flow-section,
  .showcase,
  .comparison-section,
  .roadmap-section {
    padding-bottom: 64px;
  }

  .flow-steps,
  .comparison-grid,
  .roadmap-grid,
  .showcase-grid {
    gap: 12px;
  }

  .flow-step {
    min-height: 150px;
    padding: 18px;
  }

  .flow-step::before {
    margin-bottom: 22px;
  }

  .product-shot {
    border-radius: 22px;
  }

  .product-shot figcaption {
    padding: 14px 20px;
  }

  .shot-library,
  .shot-reader,
  .shot-composer {
    min-height: 230px;
    padding: 20px;
  }

  .shot-reader h3 {
    font-size: clamp(2.05rem, 3.5vw, 3.35rem);
  }

  .shot-reader p:not(.mini-label) {
    font-size: 1rem;
    line-height: 1.62;
  }

  .source-toggle {
    margin-top: 18px;
    padding: 8px 12px;
  }

  .comparison-card {
    min-height: 185px;
    padding: 20px;
  }

  .comparison-card h3 {
    font-size: 1.16rem;
  }

  .comparison-card h3,
  .roadmap-card h3 {
    margin-top: 34px;
  }

  .research-section {
    padding: 62px 0;
  }

  .research-stack {
    gap: 10px;
  }

  .research-stack article {
    padding: 18px;
  }

  .roadmap-card {
    min-height: 168px;
    padding: 20px;
  }

  .roadmap-card h3 {
    font-size: 1.12rem;
  }

  .quote-section {
    padding: 58px 0;
  }

  blockquote {
    font-size: clamp(2.45rem, 4vw, 4.25rem);
  }

  .waitlist {
    gap: 24px;
    margin-top: 64px;
    margin-bottom: 64px;
    padding: clamp(22px, 3.2vw, 34px);
  }

  .waitlist h2 {
    margin-bottom: 14px;
  }
}

@media (max-height: 760px) and (min-width: 761px) {
  .site-header {
    min-height: 62px;
  }

  .hero {
    grid-template-columns: minmax(0, 0.82fr) minmax(430px, 1.18fr);
    padding: 22px 0 34px;
  }

  h1 {
    font-size: clamp(2.85rem, 4.35vw, 4.55rem);
    line-height: 0.98;
  }

  h2 {
    font-size: clamp(2.05rem, 3.2vw, 3.35rem);
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: 0.66rem;
  }

  .hero-lede,
  .section-heading p,
  .research-copy p,
  .waitlist p {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .hero-visual {
    min-height: 390px;
  }

  .hero-screenshot {
    inset: 12px 0 auto auto;
    width: min(100%, 620px);
    height: 332px;
  }

  .app-window-main {
    inset: 12px 0 auto auto;
    width: min(100%, 580px);
    height: 332px;
  }

  .floating-card {
    display: none;
  }

  .note-preview p,
  .note-preview div {
    font-size: 0.86rem;
  }

  .section-heading {
    padding: 44px 0 20px;
  }

  .audience-section {
    padding-top: 46px;
  }

  .audience-grid,
  .feature-grid,
  .flow-section,
  .showcase,
  .comparison-section,
  .roadmap-section {
    padding-bottom: 48px;
  }

  .split,
  .research-section,
  .quote-section {
    padding: 46px 0;
  }

  .audience-card,
  .feature-card,
  .comparison-card,
  .roadmap-card,
  .problem-grid article,
  .flow-step {
    min-height: auto;
    padding: 16px;
  }

  .audience-card h3 {
    margin-top: 14px;
    font-size: clamp(1.75rem, 2.55vw, 2.25rem);
  }

  .feature-card h3,
  .comparison-card h3,
  .roadmap-card h3 {
    margin-top: 24px;
  }

  .flow-step::before {
    margin-bottom: 16px;
  }

  .shot-library,
  .shot-reader,
  .shot-composer {
    min-height: 205px;
    padding: 16px;
  }

  .shot-reader h3 {
    font-size: clamp(1.85rem, 3vw, 2.85rem);
  }

  blockquote {
    font-size: clamp(2.2rem, 3.5vw, 3.55rem);
  }

  .waitlist {
    margin-top: 48px;
    margin-bottom: 48px;
  }
}

@media (max-width: 1280px) and (min-width: 761px) {
  .site-header {
    width: min(100% - 28px, 1180px);
    gap: 16px;
  }

  .brand {
    gap: 10px;
  }

  .nav-links {
    gap: 0;
  }

  .nav-links a {
    padding-inline: 9px;
    font-size: 0.82rem;
  }
}

@media (max-width: 1120px) and (min-width: 761px) {
  .brand small {
    display: none;
  }

  .nav-links a {
    padding-inline: 8px;
  }
}

@media (max-width: 1080px) {
  .hero,
  .split,
  .research-section,
  .waitlist {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 560px;
  }

  .hero-screenshot {
    inset: 0 auto auto 0;
  }

  .app-window-main {
    inset: 0 auto auto 0;
  }

  .problem-grid,
  .feature-grid,
  .audience-grid,
  .comparison-grid,
  .roadmap-grid {
    grid-template-columns: 1fr 1fr;
  }

  .flow-steps {
    grid-template-columns: 1fr 1fr;
  }

  .flow-steps::before {
    display: none;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
  }

  body[data-scrolled="true"] .site-header {
    min-height: auto;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark,
  body[data-scrolled="true"] .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 14px;
  }

  .brand-mark svg,
  body[data-scrolled="true"] .brand-mark svg {
    width: 27px;
    height: 27px;
  }

  .brand strong,
  body[data-scrolled="true"] .brand strong {
    font-size: 1rem;
  }

  .brand small {
    max-width: 15rem;
    overflow: hidden;
    font-size: 0.72rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-toggle {
    display: grid;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    grid-column: 1 / -1;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    transition:
      max-height 220ms ease,
      opacity 180ms ease,
      padding-top 180ms ease;
  }

  .nav-links a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.035);
    padding: 0 10px;
    font-size: 0.78rem;
    line-height: 1;
  }

  .site-header[data-menu-open="true"] .nav-links {
    max-height: 180px;
    padding-top: 4px;
    opacity: 1;
    pointer-events: auto;
  }

  h1 {
    font-size: clamp(3.45rem, 17vw, 5.2rem);
  }

  h2 {
    font-size: clamp(2.6rem, 13vw, 4.2rem);
  }

  .hero {
    padding-top: 44px;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-screenshot,
  .app-window-main,
  .floating-card {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .hero-visual {
    display: grid;
    gap: 14px;
  }

  .hero-screenshot {
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 22px;
  }

  .app-window-main {
    height: auto;
    min-height: 480px;
    grid-template-columns: 56px minmax(0, 1fr);
    border-radius: 22px;
  }

  .library-preview {
    padding: 22px;
  }

  .note-grid-preview,
  .shot-library,
  .shot-composer,
  .problem-grid,
  .feature-grid,
  .audience-grid,
  .flow-steps,
  .comparison-grid,
  .roadmap-grid {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .split,
  .research-section,
  .audience-section,
  .quote-section {
    padding-block: 70px;
  }

  .feature-grid,
  .showcase,
  .audience-grid,
  .flow-section,
  .comparison-section,
  .roadmap-section {
    padding-bottom: 70px;
  }

  .audience-card,
  .comparison-card,
  .roadmap-card,
  .flow-step {
    min-height: auto;
  }

  .comparison-card h3,
  .roadmap-card h3 {
    margin-top: 44px;
  }

  .shot-library,
  .shot-reader,
  .shot-composer {
    min-height: auto;
    padding: 20px;
  }

  .shot-header {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 20px;
  }

  blockquote {
    font-size: clamp(2.8rem, 13vw, 4.8rem);
  }

  .waitlist {
    margin-block: 70px;
    border-radius: 24px;
  }

  .waitlist-form div {
    flex-direction: column;
  }

  .site-footer {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }

  .scroll-progress span {
    transition: none;
  }
}
