/* VelvetDesk marketing site. One stylesheet for all pages. */

:root {
  --plum: #3B1826;
  --cream: #F3EBE3;
  --champagne: #C9A96E;
  --copper: #B5673E;
  --ink: #1F1A1C;
  --muted: #72635A; /* brand muted #7A6A60 darkened one step so 14 px text on cream passes AA (4.9:1) */
  --line: #E3D9CE;
  --line-plum: rgba(243, 235, 227, 0.18);
  --cream-60: rgba(243, 235, 227, 0.6);
  --cream-80: rgba(243, 235, 227, 0.82);
  --plum-hover: #4A2131;
  --champagne-hover: #D4B883;
  --heart: #E0566B;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.25, 0.8, 0.25, 1);

  --container: 1200px;
  --gutter: 24px;
  --section-y: 160px;
  --nav-h: 96px;

  --display: clamp(48px, 7vw, 104px);
  --h2: clamp(36px, 4.5vw, 64px);
  --body: 18px;
  --small: 14px;

  --phone-radius: 48px;
}

/* ---------- Reset and base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}


body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--body);
  line-height: 1.55;
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

::selection { background: var(--champagne); color: var(--plum); }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

[data-theme="plum"] {
  background: var(--plum);
  color: var(--cream);
  font-weight: 300;
}

[data-theme="cream"] {
  background: var(--cream);
  color: var(--ink);
}

.measure { max-width: 640px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Type ---------- */

.display {
  font-size: var(--display);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.h2 {
  font-size: var(--h2);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 600;
}

.h2 .light, .display .light { font-weight: 300; }

.lead { font-size: var(--body); line-height: 1.55; }

.small {
  font-size: var(--small);
  font-weight: 500;
  line-height: 1.45;
}

.muted { color: var(--muted); }
[data-theme="plum"] .muted { color: var(--cream-60); }

.link {
  display: inline-block;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--copper);
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  transition: text-decoration-color 150ms var(--ease), color 150ms var(--ease);
}
.link:hover { text-decoration-color: currentColor; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 32px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 150ms var(--ease), color 150ms var(--ease), border-color 150ms var(--ease);
}

.btn-sm { height: 48px; padding: 0 24px; font-size: 15px; }

[data-theme="cream"] .btn-primary, .btn-primary {
  background: var(--plum);
  color: var(--cream);
  border-color: var(--plum);
}
[data-theme="cream"] .btn-primary:hover, .btn-primary:hover {
  background: var(--plum-hover);
  border-color: var(--plum-hover);
}

[data-theme="plum"] .btn-primary {
  background: var(--champagne);
  color: var(--plum);
  border-color: var(--champagne);
}
[data-theme="plum"] .btn-primary:hover {
  background: var(--champagne-hover);
  border-color: var(--champagne-hover);
}

[data-theme="cream"] .btn-outline, .btn-outline {
  background: transparent;
  color: var(--plum);
  border-color: var(--plum);
}
[data-theme="cream"] .btn-outline:hover, .btn-outline:hover {
  background: rgba(59, 24, 38, 0.06);
}

[data-theme="plum"] .btn-outline {
  color: var(--cream);
  border-color: var(--champagne);
}
[data-theme="plum"] .btn-outline:hover {
  background: rgba(201, 169, 110, 0.14);
}

.btn-copper {
  background: var(--copper);
  color: #fff;
  border-color: var(--copper);
}
.btn-copper:hover { background: #A55B34; border-color: #A55B34; }

.btn[disabled], .btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: default;
}

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

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 300ms var(--ease), border-color 300ms var(--ease);
  color: var(--cream);
}

.nav.is-scrolled { background: var(--plum); border-bottom-color: var(--line-plum); }
.nav.is-cream { color: var(--ink); }
.nav.is-cream.is-scrolled { background: var(--cream); border-bottom-color: var(--line); }

.nav-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo { display: block; height: 44px; }
.nav-logo img { height: 44px; width: auto; }
.nav .logo-dark { display: none; }
.nav.is-cream .logo-dark { display: block; }
.nav.is-cream .logo-light { display: none; }

.nav-links {
  margin-left: auto;
  display: flex;
  gap: 40px;
  font-size: 17px;
  font-weight: 400;
}
.nav-links a {
  transition: opacity 150ms var(--ease);
  opacity: 0.92;
}
.nav-links a:hover { opacity: 1; text-decoration: underline; text-decoration-color: var(--copper); text-underline-offset: 6px; }

.nav .btn-outline { color: inherit; border-color: var(--champagne); }
.nav.is-cream .btn-outline { border-color: var(--plum); }
.nav .btn-outline:hover { background: rgba(201, 169, 110, 0.14); }
.nav.is-cream .btn-outline:hover { background: rgba(59, 24, 38, 0.06); }

/* ---------- Phone component ---------- */

.phone {
  --pw: 400px;
  --ph: 820px;
  position: relative;
  width: var(--pw);
  height: var(--ph);
  max-width: 100%;
  background: #fff;
  border: 1px solid var(--champagne);
  border-radius: var(--phone-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
  text-align: left;
}

.phone-status {
  flex: 0 0 auto;
  height: 54px;
  display: flex;
  justify-content: center;
  padding-top: 14px;
}
.phone-island {
  width: 112px;
  height: 32px;
  border-radius: 999px;
  background: var(--ink);
}

.dm-header {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 20px 14px 16px;
  border-bottom: 1px solid var(--line);
}
.dm-back { width: 20px; height: 20px; color: var(--ink); flex: 0 0 auto; }
.dm-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--plum);
  color: var(--champagne);
  font-size: 13px;
  font-weight: 600;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.dm-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dm-name { font-weight: 600; font-size: 16px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dm-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.2;
}
.dm-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--copper); }
.dm-icons { margin-left: auto; display: flex; gap: 14px; color: var(--ink); }
.dm-icons svg { width: 22px; height: 22px; }

.dm-thread {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  padding: 16px 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scrollbar-width: none;
}
.dm-thread::-webkit-scrollbar { display: none; }
.dm-thread.is-scrollable { overflow-y: auto; }

.dm-time {
  align-self: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}
.dm-seen {
  align-self: flex-end;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  margin-top: -2px;
}

.msg {
  position: relative;
  max-width: 84%;
  padding: 11px 16px 12px;
  font-size: 15px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.msg.client {
  align-self: flex-start;
  background: var(--cream);
  color: var(--ink);
  border-radius: 24px 24px 24px 6px;
}
.msg.artist {
  align-self: flex-end;
  background: var(--champagne);
  color: var(--plum);
  border-radius: 24px 24px 6px 24px;
}
.msg.client + .msg.client,
.msg.artist + .msg.artist { margin-top: -8px; }
.msg.has-heart { margin-bottom: 10px; }
.msg a { text-decoration: underline; text-underline-offset: 3px; }

.heart {
  position: absolute;
  left: 10px;
  bottom: -13px;
  width: 30px;
  height: 24px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}
.heart svg { width: 14px; height: 14px; }

.typing {
  align-self: flex-end;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 16px;
  background: var(--champagne);
  border-radius: 24px 24px 6px 24px;
  flex: 0 0 auto;
  overflow: hidden;
}
.typing i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--plum);
  display: block;
}
.typing i:nth-child(1) { opacity: 0.35; }
.typing i:nth-child(2) { opacity: 0.6; }
.typing i:nth-child(3) { opacity: 1; }

@keyframes typing-dot {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}
.typing.is-on i { animation: typing-dot 1.2s var(--ease) infinite; }
.typing.is-on i:nth-child(2) { animation-delay: 0.2s; }
.typing.is-on i:nth-child(3) { animation-delay: 0.4s; }

.dm-input {
  flex: 0 0 auto;
  margin: 8px 16px 18px;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 15px;
}

/* Notification card */

.notice {
  width: 480px;
  max-width: 100%;
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  padding: 20px 24px 22px;
  font-weight: 400;
  text-align: left;
}
.notice-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
}
.notice-head img { width: 26px; height: auto; }
.notice-head .notice-now {
  margin-left: auto;
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
}
.notice-body {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.45;
}
.notice-actions { display: flex; gap: 10px; margin-top: 16px; }
.notice-actions span {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
}

/* ---------- Voice ---------- */

.voice-grid {
  margin-top: 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.voice-col { padding: 8px 0; }
.voice-col + .voice-col {
  border-left: 1px solid var(--line);
  padding-left: 48px;
}
.voice-col:first-child { padding-right: 48px; }
.voice-label {
  font-size: var(--small);
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 16px;
}
.voice-text { font-size: 22px; line-height: 1.45; max-width: 480px; }
.voice-text.template {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}
.voice-statement {
  margin-top: 96px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}
.voice-lead {
  max-width: 900px;
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: var(--plum);
}
.voice-lead .light { font-weight: 300; }

/* ---------- Photo band ---------- */

/* Drop assets/hands.jpg (an artist's hands at work, close, warm) and the rule below picks it up. */
.band {
  height: 60vh;
  min-height: 320px;
  background: var(--plum);
  background-image: var(--hands-photo, none);
  background-size: cover;
  background-position: center;
}

/* ---------- How it works ---------- */

.how-grid {
  margin-top: 72px;
  display: grid;
  grid-template-columns: minmax(0, 640px) 1fr;
  gap: 64px;
  align-items: start;
}
.rows { border-top: 1px solid var(--line); }
.rows li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  font-size: 20px;
  line-height: 1.5;
}
.rows .num {
  font-size: var(--small);
  font-weight: 500;
  color: var(--muted);
  padding-top: 7px;
}
.how-aside { display: flex; justify-content: flex-end; padding-top: 28px; }
.how-aside .notice { width: 440px; }

/* ---------- Never ---------- */

.never .rows { border-top-color: var(--line-plum); max-width: 760px; margin-top: 72px; }
.never .rows li { border-bottom-color: var(--line-plum); font-weight: 300; }
.never .rows .num { color: var(--champagne); }
.never-q { margin-top: 96px; max-width: 720px; }
.never-q h3 {
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin-bottom: 28px;
}
.never-q p { font-size: 20px; line-height: 1.5; font-weight: 300; }
.never-q p + p { margin-top: 16px; }
.never-q strong { color: var(--champagne); font-weight: 600; }

/* ---------- Demo ---------- */

.demo-grid {
  margin-top: 72px;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 80px;
  align-items: start;
}
.demo-phone .phone { --pw: 420px; --ph: 620px; }
.demo-phone .dm-thread { overflow-y: auto; }
.demo-controls { padding-top: 16px; }
.demo-questions { display: flex; flex-wrap: wrap; gap: 12px; }
.demo-questions .btn { height: 48px; padding: 0 22px; font-size: 15px; font-weight: 500; }
.demo-reset { margin-top: 24px; }
.demo-caption { margin-top: 56px; max-width: 480px; }
.demo-caption p + p { margin-top: 16px; }

/* ---------- Pricing ---------- */

.plans { margin-top: 72px; border-top: 1px solid var(--line-plum); }
.plan {
  display: grid;
  grid-template-columns: 140px 190px minmax(0, 1fr) auto;
  gap: 32px;
  align-items: start;
  padding: 32px 0 36px;
  border-bottom: 1px solid var(--line-plum);
}
.plan-cta { justify-self: end; margin-top: 4px; }
.plan-head { display: contents; }
.plan-name { font-size: 22px; font-weight: 600; line-height: 1.2; padding-top: 8px; }
.plan-price {
  font-size: 48px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--champagne);
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.plan-price small { font-size: 18px; font-weight: 400; letter-spacing: 0; }
.plan-list { display: flex; flex-direction: column; gap: 6px; max-width: 480px; padding-top: 6px; }
.plan-list li { font-size: 16px; font-weight: 300; line-height: 1.5; }

.pricing-foot {
  margin-top: 40px;
  display: grid;
  grid-template-columns: minmax(0, 640px) 1fr;
  gap: 64px;
  align-items: start;
}
.pricing-foot p + p { margin-top: 16px; }
.pricing-cta { display: flex; flex-direction: column; align-items: flex-end; gap: 24px; }

/* ---------- Founder ---------- */

.founder { border-top: 1px solid var(--line-plum); }
.founder-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 80px;
  align-items: center;
}
.founder-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  background: #2E1220;
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-text { font-size: 22px; line-height: 1.5; max-width: 560px; }
.founder-caption { margin-top: 32px; color: var(--cream-60); }

/* ---------- Final ---------- */

.final-grid {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 64px;
  align-items: end;
}
.final-actions {
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.final-phone .phone {
  --pw: 260px;
  --ph: 300px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom: 0;
}
.final-phone .msg { font-size: 13px; padding: 9px 13px; }
.final-phone .dm-thread { padding-top: 12px; }

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 48px;
  font-size: var(--small);
  font-weight: 500;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
}
.footer img { height: 20px; width: auto; }
.footer a { transition: color 150ms var(--ease); }
.footer a:hover { color: var(--ink); }
.footer .footer-links { margin-left: auto; display: flex; flex-wrap: wrap; gap: 16px 32px; }

/* ---------- Inner pages (legal, start, onboarding) ---------- */

.page { padding-top: calc(var(--nav-h) + 64px); padding-bottom: var(--section-y); }
.page-title { margin-bottom: 24px; }
.page-meta { color: var(--muted); margin-bottom: 56px; }
.prose { max-width: 640px; }
.prose h2 { font-size: 28px; line-height: 1.2; letter-spacing: -0.015em; margin: 56px 0 16px; }
.prose h3 { font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; margin: 32px 0 8px; }
.prose p { margin: 0 0 16px; }
.prose ul { padding-left: 20px; list-style: disc; margin: 0 0 16px; }
.prose li { margin-bottom: 8px; }
.prose a { text-decoration: underline; text-decoration-color: var(--copper); text-underline-offset: 4px; }

/* Forms */

.form { max-width: 640px; }
.form-intro { margin-bottom: 48px; }
.field { margin-bottom: 32px; }
.field label, .field .label {
  display: block;
  font-size: var(--small);
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 10px;
}
.field .hint { font-size: var(--small); font-weight: 400; color: var(--muted); margin-top: 8px; }
.input, .select, .textarea {
  width: 100%;
  font: inherit;
  font-size: 17px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color 150ms var(--ease);
}
.textarea { min-height: 120px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--plum); outline: none; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231F1A1C' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 18px 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: border-color 150ms var(--ease), background-color 150ms var(--ease);
}
.check { line-height: 1; }
.check input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px; height: 18px;
  margin: 0;
  flex: 0 0 auto;
  border: 1px solid var(--muted);
  border-radius: 5px;
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease);
}
.check input::after {
  content: "";
  width: 9px; height: 5px;
  border-left: 2px solid var(--cream);
  border-bottom: 2px solid var(--cream);
  transform: rotate(-45deg) translate(1px, -1px);
  opacity: 0;
}
.check input:checked { background: var(--plum); border-color: var(--plum); }
.check input:checked::after { opacity: 1; }
.check:has(input:checked) { border-color: var(--plum); }
.check:has(input:focus-visible) { outline: 2px solid var(--copper); outline-offset: 3px; }
.other-field { margin-top: 16px; margin-bottom: 0; max-width: 420px; }
.plan-note { margin: -32px 0 48px; color: var(--muted); }
.form-foot { margin-top: 8px; }
.form-note { margin-top: 16px; color: var(--muted); }
.form-error { margin-top: 16px; color: var(--copper); display: none; }
.form-error.is-on { display: block; }
.saved {
  display: inline-block;
  margin-left: 12px;
  font-size: var(--small);
  font-weight: 500;
  color: var(--muted);
  opacity: 0;
  transition: opacity 300ms var(--ease);
}
.saved.is-on { opacity: 1; }

.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--champagne);
  z-index: 60;
  transition: width 300ms var(--ease);
}

.onb-section { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); }
.onb-section:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.onb-section h2 { font-size: 28px; line-height: 1.2; letter-spacing: -0.015em; margin-bottom: 8px; }
.onb-section > p { color: var(--muted); margin-bottom: 32px; }
.options { border-top: 1px solid var(--line); }
.option { padding: 28px 0; border-bottom: 1px solid var(--line); }
.option-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.option-head h3 { font-size: 20px; font-weight: 600; line-height: 1.3; }
.option-body { margin-top: 16px; color: var(--muted); }
.option-body ol { list-style: decimal; padding-left: 20px; margin-top: 8px; }
.option-body li { margin-bottom: 6px; }
.option-body input[type="file"] { display: block; margin-top: 12px; font-size: 15px; color: var(--ink); max-width: 100%; }
.file-list { margin-top: 12px; font-size: 15px; color: var(--ink); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }

/* ---------- Reveal ---------- */

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 400ms var(--ease), transform 400ms var(--ease);
}
html.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */

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

/* ---------- Tablet: 768 to 1199 ---------- */

@media (max-width: 1199px) {
  .demo-grid { grid-template-columns: 360px 1fr; gap: 48px; }
  .demo-phone .phone { --pw: 360px; --ph: 580px; }
  .how-grid { grid-template-columns: 1fr; }
  .how-aside { justify-content: flex-start; padding-top: 8px; }
  .founder-grid { grid-template-columns: 320px 1fr; gap: 48px; }
  .plan { grid-template-columns: 1fr 1fr; gap: 20px 32px; }
  .plan-head { display: flex; align-items: baseline; gap: 32px; grid-column: 1 / -1; }
  .plan-list { grid-column: 1; }
  .plan-cta { grid-column: 2; }
  .pricing-foot { grid-template-columns: 1fr; }
  .pricing-cta { align-items: flex-start; }
}

/* ---------- Mobile: under 768 ---------- */

@media (max-width: 767px) {
  :root {
    --section-y: 96px;
    --nav-h: 80px;
    --gutter: 16px;
    --body: 17px;
  }

  .nav-inner { gap: 16px; justify-content: space-between; }
  .nav-logo, .nav-logo img { height: 36px; }
  .nav-links { display: none; }
  .nav .btn-sm { height: 44px; padding: 0 18px; font-size: 14px; }

  .section { padding-top: var(--section-y); padding-bottom: var(--section-y); }

  .btn { height: 56px; width: 100%; }
  .btn-sm { width: auto; }

  .display { font-size: clamp(44px, 12vw, 64px); }
  .h2 { font-size: clamp(34px, 9.6vw, 48px); }

  .voice-grid { grid-template-columns: 1fr; margin-top: 48px; }
  .voice-col:first-child { padding-right: 0; padding-bottom: 32px; }
  .voice-col + .voice-col { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 32px; }
  .voice-text { font-size: 19px; }
  .voice-statement { margin-top: 56px; padding-top: 40px; }
  .voice-lead { font-size: 30px; }

  .band { height: 60vh; min-height: 280px; }

  .how-grid { margin-top: 48px; gap: 40px; }
  .rows li { grid-template-columns: 40px 1fr; gap: 16px; padding: 24px 0; font-size: 18px; }
  .how-aside .notice { width: 100%; }

  .never .rows { margin-top: 48px; }
  .never-q { margin-top: 64px; }
  .never-q p { font-size: 18px; }

  .demo-grid { grid-template-columns: 1fr; gap: 32px; margin-top: 48px; }
  .demo-phone { display: flex; justify-content: center; }
  .demo-phone .phone { --pw: 100%; --ph: 560px; }
  .demo-questions .btn { width: auto; height: 44px; font-size: 14px; padding: 0 16px; }
  .demo-caption { margin-top: 40px; }

  .plans { margin-top: 48px; }
  .plan { grid-template-columns: 1fr; gap: 20px; padding: 32px 0; }
  .plan-head { display: flex; align-items: baseline; gap: 24px; }
  .plan-cta { width: 100%; justify-self: stretch; margin-top: 4px; }
  .plan-price { font-size: 52px; }
  .plan-list { max-width: none; }
  .pricing-foot { margin-top: 48px; gap: 40px; }
  .pricing-cta { align-items: center; }

  .founder-grid { grid-template-columns: 1fr; gap: 40px; }
  .founder-photo { max-width: 320px; }
  .founder-text { font-size: 19px; }

  .final-grid { grid-template-columns: 1fr; gap: 48px; }
  .final-actions { flex-direction: column; align-items: stretch; gap: 24px; text-align: center; }
  .final-actions .link { align-self: center; }
  .final-phone { display: flex; justify-content: center; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer .footer-links { margin-left: 0; flex-direction: column; gap: 12px; }

  .page { padding-top: calc(var(--nav-h) + 32px); }
  .two { grid-template-columns: 1fr; }
}

/* ---------- Late additions ---------- */

.msg-link { text-decoration: underline; text-underline-offset: 3px; }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-weight: 500; }

/* A slot stacks the typing indicator on the spot where the next artist bubble will appear, so nothing reflows. */
.slot {
  display: grid;
  justify-items: end;
  align-items: end;
  flex: 0 0 auto;
}
.slot > * { grid-area: 1 / 1; }
.slot + .msg.artist { margin-top: -8px; }
.msg.client + .slot { margin-top: 0; }

.fieldset { border: 0; padding: 0; margin: 0 0 32px; min-width: 0; }
.nav-saved { margin-left: auto; }

/* Pills inside a fieldset: the field-label rule must not turn them into blocks. */
.field .check {
  display: inline-flex;
  align-items: center;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
}

/* ---------- Story: hero and scene on one pinned stage ---------- */

.story { position: relative; background: var(--plum); color: var(--cream); }
html.js .story { height: 400svh; }

.story-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

/* Full-bleed photograph. Drop assets/hero.jpg (a studio at night, phone glowing on the table) and the rule below picks it up. */
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--plum);
  background-image: var(--hero-photo, none);
  background-size: cover;
  background-position: center;
}
.hero-photo::after { content: ""; position: absolute; inset: 0; background: rgba(59, 24, 38, 0.85); }

.hero-inner { position: relative; z-index: 1; padding-top: calc(var(--nav-h) + 40px); }

.hero-title {
  font-size: var(--hero-size, clamp(72px, 11vw, 146px));
  line-height: 0.92;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--cream);
}
.hero-title .line { display: block; white-space: nowrap; }
.hero-title .light { font-weight: 300; }
.hero-title .m { display: none; }

.hero-copy { margin-top: 56px; max-width: 540px; }
.hero-copy p { font-size: var(--body); font-weight: 300; color: var(--cream-80); }
.hero-copy p.short { display: none; }
.hero-actions { margin-top: 40px; display: flex; align-items: center; gap: 40px; }

.story-layer {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.scene-captions {
  position: absolute;
  left: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  width: min(600px, calc(100% - 520px));
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 600;
}
.scene-captions .cap { position: absolute; left: 0; top: 50%; transform: translateY(-50%); margin: 0; }
html.js .scene-captions .cap { opacity: 0; }

/* Where the phone lands once the scene begins. Measured by JavaScript, never shown. */
.phone-target {
  position: absolute;
  right: var(--gutter);
  top: calc(var(--nav-h) + 40px);
  width: 420px;
  height: min(820px, calc(100svh - var(--nav-h) - 88px));
}

/* The one phone. Starts on the hero, bottom right, cropped by the stage; travels to the target. */
.phone-wrap {
  position: absolute;
  z-index: 3;
  right: clamp(16px, calc((100vw - var(--container)) / 2 - 64px), 56px);
  top: calc(100svh - 400px);
  width: 400px;
  height: min(820px, calc(100svh - var(--nav-h) - 88px));
}
.phone-wrap .phone { --pw: 100%; --ph: 100%; }

.scene-card { position: absolute; z-index: 4; right: calc(100% - 60px); top: -32px; }
html.js .scene-card { opacity: 0; }

/* Static fallback: no JavaScript, or reduced motion. Hero on top, then the finished conversation. */
html:not(.js) .story-stage { position: static; height: auto; overflow: visible; padding-bottom: var(--section-y); }
html:not(.js) .story-layer { position: static; height: auto; pointer-events: auto; margin-top: 96px; }
html:not(.js) .scene-captions { position: static; transform: none; width: auto; max-width: 720px; display: flex; flex-direction: column; gap: 24px; font-size: clamp(28px, 3vw, 40px); }
html:not(.js) .scene-captions .cap { position: static; transform: none; }
html:not(.js) .phone-target { display: none; }
html:not(.js) .phone-wrap { position: relative; right: auto; top: auto; width: 420px; height: auto; margin: 48px auto 0; }
html:not(.js) .phone-wrap .phone { --ph: auto; height: auto; }
html:not(.js) .phone-wrap .dm-thread { overflow: visible; }
html:not(.js) .phone-wrap .typing { display: none; }
html:not(.js) .scene-card { position: static; margin: 0 auto 24px; }

@media (max-width: 1199px) {
  .hero-title { --hero-size: 11vw; }
  .phone-wrap { width: 320px; right: var(--gutter); top: calc(100svh - 340px); }
  .phone-target { width: 360px; }
  .scene-captions { width: calc(100% - 440px); font-size: clamp(32px, 4.4vw, 52px); }
  .scene-card { width: 400px; right: calc(100% - 40px); }
}

@media (max-width: 767px) {
  .hero-inner { padding-top: calc(var(--nav-h) + 24px); }
  .hero-title { --hero-size: 15vw; line-height: 0.92; }
  .hero-title .d { display: none; }
  .hero-title .m { display: block; }
  .hero-title .m.light { font-size: var(--hero-light-size, 11.6vw); margin-top: 0.12em; }
  .hero-copy { margin-top: 32px; max-width: none; }
  .hero-copy p.long { display: none; }
  .hero-copy p.short { display: block; }
  .hero-actions { margin-top: 32px; flex-direction: column; gap: 20px; align-items: stretch; text-align: center; }
  .hero-actions .link { align-self: center; }

  .phone-wrap {
    right: auto;
    left: var(--gutter);
    width: calc(100vw - var(--gutter) * 2);
    top: 600px;
    height: 740px;
  }
  .phone-target {
    right: auto;
    left: 50%;
    margin-left: -150px;
    top: calc(var(--nav-h) + 8px);
    width: 300px;
    height: calc(60svh - var(--nav-h) + 16px);
  }
  .phone-wrap .dm-header { gap: 10px; padding-right: 16px; }
  .phone-wrap .dm-avatar { width: 38px; height: 38px; font-size: 12px; }
  .phone-wrap .dm-name { font-size: 15px; }
  .phone-wrap .dm-status { font-size: 12px; }
  .phone-wrap .dm-icons { gap: 10px; }
  .phone-wrap .dm-icons svg { width: 20px; height: 20px; }
  .scene-captions {
    left: var(--gutter);
    right: var(--gutter);
    width: auto;
    top: calc(60svh + 40px);
    transform: none;
    font-size: clamp(26px, 7.6vw, 34px);
  }
  .scene-captions .cap { top: 0; transform: none; }
  .scene-card {
    width: calc(100vw - 32px);
    max-width: 480px;
    right: auto;
    left: 50%;
    top: 8px;
    transform: translateX(-50%);
    padding: 16px 18px 18px;
  }
  .scene-card .notice-head { font-size: 16px; }
  .scene-card .notice-body { font-size: 15px; }
  html:not(.js) .phone-wrap { width: 100%; left: auto; margin-top: 32px; }
  html:not(.js) .scene-card { transform: none; left: auto; width: 100%; }
}
