:root {
  --ink: #222033;
  --muted: #6f6a7d;
  --paper: #fbf8f1;
  --panel: #ffffff;
  --line: #e1d9cf;
  --accent: #5e5798;
  --accent-strong: #4d467f;
  --mark: #d8f0e3;
  --mark-strong: #8fd0ad;
  --green: #4f8f73;
  --rust: #b65e43;
  --blue: #416f8f;
  --gold: #b08a35;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

mark {
  padding: 0 4px;
  background: var(--mark);
  color: var(--ink);
}

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

.topbar {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: #fff;
  background: rgba(22, 21, 33, 0.58);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 28px);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.84);
}

nav a:hover {
  color: #fff;
}

.landing-page {
  background: #fffdf8;
}

.landing-topbar {
  position: sticky;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid var(--line);
}

.landing-topbar nav {
  color: var(--ink);
}

.landing-topbar nav a:hover {
  color: var(--accent);
}

.topline {
  flex: 1;
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
}

.plain-hero {
  padding: 72px clamp(20px, 5vw, 64px) 88px;
  text-align: center;
}

.plain-hero h1 {
  max-width: 1100px;
  margin: 40px auto 0;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.plain-hero h1 .rotator {
  display: inline-block;
  min-width: 5ch;
  color: var(--accent);
}

.plain-hero h1 .caret {
  display: inline-block;
  width: 6px;
  height: 0.78em;
  margin-left: 8px;
  background: var(--accent);
  vertical-align: -0.04em;
  animation: caret-blink 1.05s steps(2) infinite;
}

@keyframes caret-blink {
  to { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .plain-hero h1 .caret { animation: none; }
}

.lead {
  max-width: 870px;
  margin: 28px auto 0;
  color: var(--ink);
  font-size: clamp(24px, 3.4vw, 44px);
  line-height: 1.16;
}

.thought-prompts {
  max-width: 1120px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 44px;
}

.thought-prompts span {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 8px 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: clamp(17px, 2vw, 26px);
  font-weight: 950;
  line-height: 1.05;
}

.button.outline {
  border-color: var(--ink);
  color: var(--ink);
  background: #fff;
}

.button.outline:hover {
  background: #f2f0ea;
}

.split-copy,
.built-public,
.alpha-offer {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 80px);
  padding: 80px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.essay-copy p {
  color: var(--ink);
  font-size: clamp(23px, 2.5vw, 36px);
  line-height: 1.35;
}

.essay-copy strong {
  font-weight: 950;
}

.wide {
  max-width: 1180px;
}

.sticky {
  display: inline-block;
  padding: 5px 10px;
  background: var(--mark);
  color: #080d10;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: 0;
  transform: rotate(-2deg);
}

.archetypes,
.walkthrough,
.how-it-works,
.faq-section {
  padding: 80px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.persona-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.persona-grid article {
  min-height: 240px;
  padding: 24px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  box-shadow: 7px 7px 0 var(--mark-strong);
}

.persona-grid article:nth-child(2) {
  box-shadow-color: #dfeef2;
}

.persona-grid article:nth-child(3) {
  box-shadow-color: #e7ded1;
}

.persona-grid article:nth-child(4) {
  box-shadow-color: #dcedd9;
}

.persona-grid h3 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1;
}

.persona-grid p {
  color: var(--ink);
  font-size: 18px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.video-tile {
  position: relative;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: #f6f2eb;
  overflow: hidden;
}

.video-tile::before {
  content: "";
  position: absolute;
  inset: 70px 38px 118px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(#fff 0 0) 22px 24px / 54% 12px no-repeat,
    linear-gradient(#d9d2c7 0 0) 22px 52px / 72% 10px no-repeat,
    linear-gradient(#d9d2c7 0 0) 22px 76px / 48% 10px no-repeat,
    #fffdf8;
}

.video-tile .sticky {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
}

.play-button {
  position: absolute;
  left: 50%;
  top: 45%;
  z-index: 1;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--ink);
  transform: translate(-50%, -50%);
}

.play-button::after {
  content: "";
  position: absolute;
  left: 30px;
  top: 23px;
  border-left: 24px solid #fff;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
}

.video-tile h3,
.video-tile p {
  position: relative;
  z-index: 1;
}

.indie-product {
  border-top: 1px solid var(--line);
  background: #f5f0e8;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  margin-top: 36px;
}

.step-num {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(72px, 9vw, 132px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--accent);
  margin-bottom: 18px;
}

.step h3 {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  margin: 0 0 12px;
}

.step p {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
}

.link-cloud {
  color: var(--accent);
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 900;
  line-height: 1.45;
}

.link-cloud a {
  color: #2563eb;
  text-decoration: underline;
}

.link-cloud a::after {
  content: " • ";
  color: var(--ink);
  text-decoration: none;
}

.faq-section h2 {
  margin-bottom: 34px;
}

.faq-section details {
  border-top: 1px solid var(--line);
}

.faq-section details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-section summary {
  padding: 26px 0;
  cursor: pointer;
  color: var(--ink);
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 950;
}

.faq-section summary::marker {
  color: var(--accent);
}

.faq-section details p {
  max-width: 880px;
  margin-top: 0;
  color: var(--ink);
  font-size: 20px;
}

.offer-box {
  max-width: 620px;
  padding: 32px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  box-shadow: 12px 12px 0 var(--mark-strong);
}

.price {
  color: var(--ink);
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 1000;
  line-height: 1;
}

.price span {
  font-size: 24px;
  color: var(--muted);
}

.offer-box p {
  color: var(--ink);
  font-size: 20px;
}

.quiet-link {
  display: inline-block;
  margin-left: 16px;
  color: #2563eb;
  font-weight: 900;
  text-decoration: underline;
}

.landing-footer {
  align-items: center;
  color: var(--ink);
}

.landing-footer p {
  margin: 0;
  color: var(--ink);
}

.landing-footer nav {
  color: var(--ink);
}

.landing-footer p a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 96px clamp(20px, 6vw, 72px) 72px;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(19, 18, 29, 0.82), rgba(30, 28, 38, 0.5) 44%, rgba(30, 28, 38, 0.1) 78%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 650px;
  color: #fff;
  padding-top: 5vh;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero h1,
.demo-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(62px, 11vw, 132px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-line {
  max-width: 590px;
  margin: 24px 0 0;
  font-size: clamp(21px, 3vw, 34px);
  line-height: 1.18;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
  border: 1px solid transparent;
}

.button.primary {
  color: #fff;
  background: var(--accent);
}

.button.primary:hover {
  background: var(--accent-strong);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.1);
}

.intro,
.product-band,
.privacy,
.alpha,
.demo-shell,
.demo-bottom {
  padding: 80px clamp(20px, 6vw, 72px);
}

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

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: 0;
}

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

.three-up article,
.demo-panel,
.alpha-inner {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.three-up article {
  padding: 24px;
}

.num {
  display: inline-block;
  color: var(--rust);
  font-weight: 900;
  margin-bottom: 20px;
}

h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

p {
  color: var(--muted);
  line-height: 1.6;
}

.product-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: 36px;
  align-items: center;
  background: #ece7db;
}

.product-copy p {
  max-width: 540px;
  font-size: 18px;
}

.app-preview {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #d4c9ba;
  background: #f7f3eb;
  box-shadow: 0 20px 60px rgba(45, 38, 64, 0.18);
}

.preview-header {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.preview-header span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rust);
}

.preview-header span:nth-child(2) {
  background: var(--gold);
}

.preview-header span:nth-child(3) {
  background: var(--green);
  margin-right: 10px;
}

.preview-body {
  display: grid;
  grid-template-columns: 160px 1fr;
  min-height: 340px;
}

.preview-body aside {
  padding: 22px;
  border-right: 1px solid var(--line);
}

.preview-body aside p {
  margin: 14px 0 0;
}

.preview-body section {
  display: grid;
  place-items: center;
  gap: 20px;
  padding: 28px;
}

.question {
  max-width: 380px;
  padding: 18px 20px;
  border-radius: 8px;
  background: #fff;
  font-size: 20px;
  line-height: 1.35;
  text-align: center;
}

.wave {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 54px;
}

.wave i,
.mic-visual span {
  display: block;
  width: 8px;
  background: var(--accent);
  border-radius: 8px;
}

.wave i:nth-child(1) { height: 18px; background: var(--green); }
.wave i:nth-child(2) { height: 34px; background: var(--blue); }
.wave i:nth-child(3) { height: 52px; }
.wave i:nth-child(4) { height: 30px; background: var(--rust); }
.wave i:nth-child(5) { height: 42px; background: var(--gold); }
.wave i:nth-child(6) { height: 20px; background: var(--green); }

.note-lines {
  width: min(100%, 420px);
}

.note-lines span {
  display: block;
  height: 11px;
  margin: 12px 0;
  border-radius: 8px;
  background: #d8d0c6;
}

.note-lines span:nth-child(2) { width: 78%; }
.note-lines span:nth-child(3) { width: 88%; }
.note-lines span:nth-child(4) { width: 58%; }

.privacy {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

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

.privacy li {
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.alpha {
  padding-top: 48px;
}

.alpha-inner {
  padding: clamp(28px, 6vw, 56px);
  background: #28253a;
  color: #fff;
}

.alpha-inner p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 30px clamp(20px, 6vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.demo-page .topbar {
  position: sticky;
  color: var(--ink);
  background: rgba(251, 248, 241, 0.9);
  border-bottom-color: var(--line);
}

.demo-page nav {
  color: var(--muted);
}

.demo-hero {
  padding: 58px clamp(20px, 6vw, 72px) 24px;
}

.demo-hero h1 {
  max-width: 860px;
  font-size: clamp(44px, 7vw, 86px);
}

.demo-hero p:last-child {
  max-width: 620px;
  font-size: 19px;
}

.demo-shell {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(320px, 1.1fr);
  gap: 18px;
  padding-top: 24px;
}

.demo-panel {
  padding: 22px;
}

.panel-title {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.panel-title b {
  color: var(--accent);
}

.prompt {
  margin: 28px 0;
  padding: 18px;
  border-radius: 8px;
  background: #f3efe6;
  font-size: 22px;
  line-height: 1.35;
}

.mic-visual {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.mic-visual span:nth-child(1) { height: 20px; background: var(--green); }
.mic-visual span:nth-child(2) { height: 44px; background: var(--blue); }
.mic-visual span:nth-child(3) { height: 66px; background: var(--accent); }
.mic-visual span:nth-child(4) { height: 38px; background: var(--rust); }
.mic-visual span:nth-child(5) { height: 26px; background: var(--gold); }

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

.demo-controls button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
}

.demo-controls button.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.transcript {
  min-height: 126px;
  padding: 18px;
  border-left: 4px solid var(--green);
  background: #fff;
  color: var(--ink);
  line-height: 1.55;
}

.generated-note h2 {
  font-size: 34px;
  margin-bottom: 12px;
}

.generated-note h3 {
  margin-top: 24px;
  color: var(--accent-strong);
}

.generated-note ul {
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.7;
}

.demo-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
}

.demo-bottom p {
  max-width: 680px;
}

@media (max-width: 820px) {
  .topbar {
    position: absolute;
  }

  nav {
    gap: 14px;
    font-size: 13px;
  }

  .hero {
    min-height: 88vh;
    padding-top: 108px;
  }

  .hero-shade {
    background: rgba(18, 17, 28, 0.68);
  }

  .three-up,
  .product-band,
  .privacy,
  .demo-shell,
  .split-copy,
  .built-public,
  .alpha-offer,
  .video-grid,
  .persona-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .landing-topbar {
    position: static;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .topline {
    order: 3;
    flex-basis: 100%;
    font-size: 16px;
  }

  .plain-hero {
    padding-top: 40px;
  }

  .thought-prompts {
    margin-bottom: 34px;
  }

  .capability-list li {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .preview-body {
    grid-template-columns: 1fr;
  }

  .preview-body aside {
    display: none;
  }

  .demo-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .topbar {
    padding: 14px 16px;
  }

  .brand span {
    display: none;
  }

  .landing-topbar nav {
    gap: 10px;
  }

  .plain-hero h1 {
    font-size: clamp(42px, 14vw, 68px);
  }

  .lead {
    font-size: 23px;
  }

  .thought-prompts {
    justify-content: flex-start;
  }

  .thought-prompts span {
    width: 100%;
    justify-content: center;
    border-width: 1.5px;
    font-size: 17px;
  }

  .split-copy,
  .built-public,
  .alpha-offer,
  .archetypes,
  .walkthrough,
  .capability-list,
  .faq-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .hero-actions,
  .demo-controls {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .demo-controls {
    display: grid;
  }

  .quiet-link {
    margin: 14px 0 0;
  }
}
