:root {
  --ink: #0e0e1a;
  --text: #3b3b4d;
  --muted: #5b5b70;
  --quiet: #8a8a9e;
  --line: #e7e7f0;
  --canvas: #fbfbfd;
  --purple: #7c3aed;
  --purple-soft: #f3eefd;
  --pink: #d946ef;
  --error: #d9366b;
}
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Instrument Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: var(--ink);
  text-decoration: none;
}

a:hover {
  color: var(--purple);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

::selection {
  background: #ede4fd;
}

:focus-visible {
  outline: 2px solid #a855f7;
  outline-offset: 3px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: transparent;
  outline: 2px solid #a855f7;
  outline-offset: 0;
}

.en {
  display: none;
}

[data-lang="en"] .en {
  display: revert;
}

[data-lang="en"] .es {
  display: none;
}

.site-shell {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid #ececf3;
  background: rgb(251 251 253 / 88%);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  display: flex;
  width: 100%;
  min-height: 68px;
  max-width: 1220px;
  align-items: center;
  /* The header must wrap rather than overflow: on a narrow phone the brand,
     language switch and demo CTA together exceed the viewport. */
  flex-wrap: wrap;
  gap: 20px;
  row-gap: 6px;
  margin: 0 auto;
  padding: 10px 32px;
}

.brand {
  display: flex;
  flex: none;
  align-items: center;
}

.brand img {
  display: block;
  width: auto;
  height: 28px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
}

.primary-nav a,
.sign-in {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  white-space: nowrap;
}

.language-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid #e4e4ee;
  border-radius: 999px;
  background: #fff;
}

.language-toggle span {
  padding: 4px 11px;
  border-radius: 999px;
  color: var(--quiet);
  font-size: 11.5px;
  font-weight: 600;
}

[data-lang="es"] .language-toggle .es-active,
[data-lang="en"] .language-toggle .en-active {
  background: var(--ink);
  color: #fff;
}

.sign-in {
  font-size: 14px;
  font-weight: 600;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #e4e4ee;
  border-radius: 50%;
  background: #fff;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  width: 17px;
  height: 1.5px;
  background: var(--ink);
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle {
  flex-direction: column;
  gap: 4px;
}

.menu-open .menu-toggle span {
  opacity: 0;
}

.menu-open .menu-toggle::before {
  transform: translateY(5.5px) rotate(45deg);
}

.menu-open .menu-toggle::after {
  transform: translateY(-5.5px) rotate(-45deg);
}

.demo-layout {
  display: grid;
  width: 100%;
  max-width: 1220px;
  grid-template-columns: 1fr 1.1fr;
  align-items: start;
  gap: 72px;
  margin: 0 auto;
  padding: 80px 32px 96px;
}

.demo-intro {
  position: sticky;
  top: 108px;
}

.eyebrow {
  margin: 0;
  background: linear-gradient(100deg, #8b5cf6, var(--pink));
  background-clip: text;
  color: transparent;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-intro h1 {
  margin: 18px 0 0;
  font-family: Sora, sans-serif;
  font-size: clamp(38px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.lede {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.7;
}

.demo-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 30px;
}

.demo-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text);
  font-size: 14.5px;
}

.step-number {
  display: flex;
  width: 22px;
  height: 22px;
  flex: none;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--purple-soft);
  color: var(--purple);
  font-size: 12px;
  font-weight: 700;
}

.reassurance {
  margin: 26px 0 0;
  color: var(--quiet);
  font-size: 13px;
}

.form-card {
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 60px -32px rgb(14 14 26 / 18%);
}

.demo-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
}

.field label {
  font-size: 13px;
  font-weight: 600;
}

.optional {
  color: var(--quiet);
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #e4e4ee;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 14.5px;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field [aria-invalid="true"] {
  border-color: var(--error);
}

.field-error {
  color: var(--error);
  font-size: 12px;
  font-weight: 600;
}

.field-error[hidden],
.form-message[hidden],
.success-panel[hidden],
.demo-form[hidden] {
  display: none;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.turnstile-wrap {
  min-height: 65px;
}

.submit-button {
  width: 100%;
  padding: 15px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 15.5px;
  font-weight: 600;
  transition: background 160ms ease, transform 160ms ease;
}

.submit-button:hover:not(:disabled) {
  background: var(--purple);
}

.submit-button:active:not(:disabled) {
  transform: translateY(1px);
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.privacy-note {
  margin: 0;
  color: #a5a5b8;
  font-size: 12px;
  text-align: center;
}

.form-message {
  margin: -4px 0 0;
  padding: 11px 13px;
  border-radius: 9px;
  background: #fff1f5;
  color: #a91f50;
  font-size: 13px;
  line-height: 1.45;
}

.success-panel {
  padding: 32px 12px;
  text-align: center;
}

.success-icon {
  display: inline-flex;
  width: 60px;
  height: 60px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(120deg, #8b5cf6, var(--pink));
  color: #fff;
  font-size: 26px;
  font-weight: 700;
}

.success-panel h2 {
  margin: 22px 0 0;
  font-family: Sora, sans-serif;
  font-size: 26px;
  font-weight: 700;
}

.success-panel p {
  max-width: 400px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
}

.secondary-button {
  margin-top: 26px;
  padding: 11px 24px;
  border: 1.5px solid #e0e0ea;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
}

.secondary-button:hover {
  border-color: var(--purple);
  color: var(--purple);
}

.site-footer {
  margin-top: auto;
  border-top: 1px solid #ececf3;
  background: #fff;
}

.footer-wrap {
  max-width: 1220px;
  margin: 0 auto;
  padding: 64px 32px 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-logo {
  display: block;
  width: auto;
  height: 26px;
}

.footer-tagline {
  max-width: 300px;
  margin: 16px 0 0;
  color: var(--quiet);
  font-size: 13.5px;
  line-height: 1.65;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-head {
  color: var(--quiet);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-col a {
  color: var(--text);
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #f1f1f6;
}

.footer-bottom span {
  color: #a5a5b8;
  font-size: 12.5px;
}

/* ---------- accent tones ---------- */
.tone-violet {
  --chip: #8b5cf6;
  --step: #8b5cf6;
  --dot: linear-gradient(120deg, #8b5cf6, #a855f7);
  --rail: #ede7fb;
  --pill-ink: #7c3aed;
  --pill-bg: #f3eefd;
  --bar: linear-gradient(90deg, #8b5cf6, #a855f7);
}

.tone-purple {
  --chip: #a855f7;
  --step: #a855f7;
  --dot: linear-gradient(120deg, #a855f7, #d946ef);
  --rail: #f3dffa;
  --pill-ink: #a855f7;
  --pill-bg: #f7eefd;
  --bar: linear-gradient(90deg, #a855f7, #d946ef);
}

.tone-pink {
  --chip: #d946ef;
  --step: #d946ef;
  --dot: linear-gradient(120deg, #d946ef, #f06ac2);
  --rail: #fbe2f4;
  --pill-ink: #d946ef;
  --pill-bg: #fbeefc;
  --bar: linear-gradient(90deg, #d946ef, #f06ac2);
}

.tone-blue {
  --chip: #2380f2;
  --step: #2380f2;
  --dot: linear-gradient(120deg, #2380f2, #29b6f6);
  --rail: #d8ecfc;
  --pill-ink: #2380f2;
  --pill-bg: #eaf3fe;
  --bar: linear-gradient(90deg, #2380f2, #29b6f6);
}

.tone-sky {
  --chip: #29b6f6;
  --step: #29b6f6;
  --dot: linear-gradient(120deg, #29b6f6, #4fc3f7);
  --rail: #e7f6fd;
  --pill-ink: #0e9bd8;
  --pill-bg: #e7f6fd;
  --bar: linear-gradient(90deg, #29b6f6, #4fc3f7);
}

.tone-span {
  --bar: linear-gradient(90deg, #8b5cf6, #2380f2);
}

.tone-green {
  --pill-ink: #1d9a6c;
  --pill-bg: #e8f7f0;
}

/* ---------- shared buttons ---------- */
.nav-cta {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: background 160ms ease;
}

.nav-cta:hover {
  background: var(--purple);
  color: #fff;
}

.primary-nav a.is-active {
  color: var(--purple);
}

.btn-primary {
  padding: 16px 30px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  transition: background 160ms ease;
}

.btn-primary:hover {
  background: var(--purple);
  color: #fff;
}

.btn-secondary {
  padding: 16px 30px;
  border: 1.5px solid #e0e0ea;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  transition: border-color 160ms ease, color 160ms ease;
}

.btn-secondary:hover {
  border-color: var(--purple);
  color: var(--purple);
}

/* ---------- section shells ---------- */
.section {
  max-width: 1220px;
  margin: 0 auto;
  padding: 96px 32px;
}

.section-alt {
  border-top: 1px solid #ececf3;
  background: #fff;
}

.section-head {
  max-width: 760px;
}

.section-head.is-center {
  margin: 0 auto;
  text-align: center;
}

.section-title {
  margin: 16px 0 0;
  font-family: Sora, sans-serif;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-title.is-first {
  margin-top: 0;
}

.section-lede {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.eyebrow-blue {
  background: linear-gradient(100deg, #2380f2, #29b6f6);
  background-clip: text;
  color: transparent;
}

.center-link {
  margin-top: 40px;
  text-align: center;
}

.text-link {
  color: var(--purple);
  font-size: 15.5px;
  font-weight: 600;
}

.text-link.is-blue {
  color: #2380f2;
}

/* ---------- browser mockup ---------- */
.browser {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 60px -30px rgb(14 14 26 / 18%);
  text-align: left;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-bottom: 1px solid #efeff5;
  background: #fafafc;
}

.browser-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}

.browser-url {
  margin-left: 14px;
  padding: 4px 14px;
  border-radius: 6px;
  background: #f1f1f6;
  color: var(--quiet);
  font-size: 12px;
}

.browser img {
  display: block;
  width: 100%;
}

/* ---------- hero ---------- */
.hero {
  max-width: 1220px;
  margin: 0 auto;
  padding: 96px 32px 72px;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border: 1px solid #e7e2f7;
  border-radius: 999px;
  background: #f6f3fe;
  color: var(--purple);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-pill i {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(120deg, #8b5cf6, var(--pink));
}

.hero h1 {
  max-width: 900px;
  margin: 28px auto 0;
  font-family: Sora, sans-serif;
  font-size: clamp(38px, 6vw, 62px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.hero-lede {
  max-width: 720px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

.hero-note {
  margin-top: 22px;
  color: var(--quiet);
  font-size: 13.5px;
}

.hero .browser {
  max-width: 1060px;
  margin: 56px auto 0;
}

.flow-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 64px;
}

.chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid #e4e4ee;
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
}

.chip i {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--chip, #8b5cf6);
}

.chip-arrow {
  color: #c9c9d6;
  font-size: 15px;
}

/* ---------- problem: before / with ---------- */
.switch {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.switch-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid #e4e4ee;
  border-radius: 999px;
  background: #fff;
}

.switch-group button {
  padding: 9px 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--quiet);
  font-size: 13.5px;
  font-weight: 600;
  transition: background 160ms ease, color 160ms ease;
}

.switch-group button.is-active {
  background: var(--ink);
  color: #fff;
}

.before-board {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 22px;
  margin-top: 28px;
  padding: 44px 36px;
  border: 1.5px dashed #dbdbe6;
  border-radius: 18px;
  background: radial-gradient(circle, #e9e9f0 1px, transparent 1px) 0 0 / 22px 22px, var(--canvas);
}

/* `hidden` must beat the display value these panels set. */
.before-board[hidden],
.with-list[hidden] {
  display: none;
}

.before-card {
  width: 240px;
  padding: 18px;
  border: 1.5px dashed #d5d5e0;
  border-radius: 12px;
  background: #fff;
}

.before-card:nth-child(1) {
  transform: rotate(-2.5deg);
}

.before-card:nth-child(2) {
  margin-top: 26px;
  transform: rotate(1.8deg);
}

.before-card:nth-child(3) {
  margin-top: 8px;
  transform: rotate(-1.2deg);
}

.before-card:nth-child(4) {
  margin-top: 34px;
  transform: rotate(2.4deg);
}

.before-card:nth-child(5) {
  margin-top: 14px;
  transform: rotate(-1.8deg);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  padding: 3px 8px;
  border-radius: 5px;
  background: #f1f1f6;
  color: var(--quiet);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.before-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.cross {
  color: var(--error);
  font-weight: 700;
}

.with-list {
  display: flex;
  flex-direction: column;
  margin-top: 28px;
  padding: 40px 44px;
  border: 1px solid #ececf3;
  border-radius: 18px;
  background: #fff;
}

.with-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.with-rail {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  align-items: center;
}

.with-dot {
  display: flex;
  width: 30px;
  height: 30px;
  flex: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--dot, linear-gradient(120deg, #8b5cf6, #a855f7));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.with-line {
  width: 2px;
  flex: 1;
  background: var(--rail, #ede7fb);
}

.with-body {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 26px;
}

.with-row:last-child .with-body {
  padding-bottom: 0;
}

.with-body > span:first-child {
  font-size: 16px;
  font-weight: 600;
}

.pill {
  margin-left: auto;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--pill-bg, var(--purple-soft));
  color: var(--pill-ink, var(--purple));
  font-size: 11.5px;
  font-weight: 700;
}

/* ---------- flow ---------- */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.flow-card {
  padding: 24px 22px;
  border: 1px solid #ececf3;
  border-radius: 14px;
  background: #fff;
}

.flow-num {
  color: var(--step, #8b5cf6);
  font-family: Sora, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.flow-card h3 {
  margin: 10px 0 0;
  font-family: Sora, sans-serif;
  font-size: 16.5px;
  font-weight: 700;
}

.flow-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

/* ---------- benefits ---------- */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 52px;
}

.benefit-card {
  padding: 28px;
  border: 1px solid #ececf3;
  border-radius: 16px;
  transition: border-color 160ms ease;
}

.benefit-card:hover {
  border-color: #c9aef4;
}

.benefit-bar {
  width: 34px;
  height: 4px;
  border-radius: 99px;
  background: var(--bar, linear-gradient(90deg, #8b5cf6, #a855f7));
}

.benefit-card h3 {
  margin: 18px 0 0;
  font-family: Sora, sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.benefit-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}

/* ---------- split sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.split-title {
  margin: 16px 0 0;
  font-family: Sora, sans-serif;
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

.split-lede {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.7;
}

.split-link {
  display: inline-block;
  margin-top: 26px;
}

.portal-mock {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 50px -28px rgb(14 14 26 / 16%);
}

.portal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 22px;
  border-bottom: 1px solid #efeff5;
  background: #fafafc;
}

.portal-head strong {
  font-family: Sora, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.portal-head > span {
  color: var(--quiet);
  font-size: 11.5px;
}

.portal-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
}

.portal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid #efeff5;
  border-radius: 12px;
}

.portal-row strong {
  font-size: 13.5px;
  font-weight: 600;
}

.portal-row small {
  display: block;
  margin-top: 2px;
  color: var(--quiet);
  font-size: 12px;
}

.status {
  flex: none;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--pill-bg, var(--purple-soft));
  color: var(--pill-ink, var(--purple));
  font-size: 11.5px;
  font-weight: 700;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text);
  font-size: 15px;
}

.check i {
  display: flex;
  width: 22px;
  height: 22px;
  flex: none;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--purple-soft);
  color: var(--purple);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

/* ---------- audiences ---------- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 52px;
}

.audience-card {
  padding: 26px;
  border: 1px solid #ececf3;
  border-radius: 16px;
  background: #fff;
}

.audience-card h3 {
  margin: 0;
  font-family: Sora, sans-serif;
  font-size: 17px;
  font-weight: 700;
}

.audience-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

/* ---------- faq ---------- */
.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 96px 32px;
}

.faq-title {
  margin: 0;
  font-family: Sora, sans-serif;
  font-size: clamp(27px, 3.2vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-align: center;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 44px;
}

.faq-list details {
  padding: 20px 24px;
  border: 1px solid #ececf3;
  border-radius: 14px;
  background: var(--canvas);
}

.faq-list summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: Sora, sans-serif;
  font-size: 16px;
  font-weight: 600;
  list-style: none;
}

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

.faq-list summary::after {
  color: var(--purple);
  content: "+";
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ---------- dark cta band ---------- */
.cta-band {
  background: #0c0c18;
}

.cta-wrap {
  max-width: 1220px;
  margin: 0 auto;
  padding: 104px 32px;
  text-align: center;
}

.cta-title {
  max-width: 760px;
  margin: 0 auto;
  color: #fff;
  font-family: Sora, sans-serif;
  font-size: clamp(30px, 4.2vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.cta-lede {
  max-width: 640px;
  margin: 20px auto 0;
  color: #a0a0b8;
  font-size: 17px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

.btn-gradient {
  padding: 16px 30px;
  border-radius: 999px;
  background: linear-gradient(100deg, #8b5cf6, var(--pink));
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  transition: opacity 160ms ease;
}

.btn-gradient:hover {
  color: #fff;
  opacity: 0.9;
}

.btn-ghost {
  padding: 16px 30px;
  border: 1.5px solid rgb(255 255 255 / 25%);
  border-radius: 999px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  transition: border-color 160ms ease;
}

.btn-ghost:hover {
  border-color: #fff;
  color: #fff;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: flex;
  }

  .primary-nav {
    /* Anchored to the header itself, not a hardcoded offset: the header grows
       to two rows once it wraps, and a fixed 69px top would sit under it. */
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 24px 24px;
    border-bottom: 1px solid #ececf3;
    background: rgb(251 251 253 / 98%);
    white-space: normal;
  }

  .menu-open .primary-nav {
    display: flex;
  }

  .primary-nav a {
    padding: 12px 4px;
  }

  .sign-in {
    display: none;
  }

  .demo-layout {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-top: 56px;
  }

  .demo-intro {
    position: static;
  }

  .section {
    padding: 72px 32px;
  }

  .hero {
    padding: 72px 32px 56px;
  }

  .faq-wrap {
    padding: 72px 32px;
  }

  .cta-wrap {
    padding: 80px 32px;
  }

  .flow-grid,
  .benefit-grid,
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .nav-wrap {
    padding-inline: 18px;
  }

  .brand img {
    height: 24px;
  }

  .nav-actions {
    gap: 8px;
  }

  .demo-layout {
    gap: 34px;
    padding: 44px 18px 64px;
  }

  .demo-intro h1 {
    font-size: 35px;
  }

  .form-card {
    padding: 24px 18px;
    border-radius: 15px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .footer-wrap {
    padding: 44px 18px 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section {
    padding: 56px 18px;
  }

  .hero {
    padding: 48px 18px 44px;
  }

  .faq-wrap {
    padding: 56px 18px;
  }

  .cta-wrap {
    padding: 64px 18px;
  }

  .flow-grid,
  .benefit-grid,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .hero-lede {
    font-size: 17px;
  }

  .flow-chips {
    gap: 8px;
    margin-top: 44px;
  }

  .chip-arrow {
    display: none;
  }

  .nav-cta {
    padding: 9px 14px;
    font-size: 13px;
  }

  .btn-primary,
  .btn-secondary,
  .btn-gradient,
  .btn-ghost {
    padding: 14px 22px;
    font-size: 15px;
  }

  .before-board {
    padding: 28px 18px;
  }

  .before-card {
    width: 100%;
    margin-top: 0;
    transform: none;
  }

  .with-list {
    padding: 28px 20px;
  }

  .portal-row {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
