/* ============================================================
   Demo page — focused conversion page, minimal chrome
   ============================================================ */

body.demo-page {
  background: var(--bg-app);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---- Minimal top bar (logo only, no nav) ---- */
.dm-top {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-subtle);
  background: #fff;
}
.dm-top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dm-top__logo { height: 26px; display: block; }
.dm-top__exit {
  font-size: 13px;
  color: var(--fg-3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
}
.dm-top__exit:hover { color: var(--brand-navy); }

/* ---- Main shell ---- */
.dm-shell {
  flex: 1;
  padding-block: clamp(40px, 5vw, 72px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.dm-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 85% 0%, color-mix(in oklch, var(--brand-orange) 10%, transparent), transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 100%, color-mix(in oklch, var(--brand-navy) 8%, transparent), transparent 60%);
  z-index: -1;
}

/* ---- Two-column layout ---- */
.dm-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 992px) {
  .dm-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ---- Left column (sell) ---- */
.dm-sell { padding-top: 16px; }
.dm-sell__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brand-navy);
  margin-bottom: 20px;
}
.dm-sell__eyebrow .dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--brand-orange);
}
.dm-sell h1 {
  font-size: clamp(2rem, 1.2rem + 2.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--brand-navy-800);
  max-width: 18ch;
  margin-bottom: 20px;
  text-wrap: balance;
}
.dm-sell__lede {
  font-size: clamp(1.0625rem, 0.95rem + 0.5vw, 1.1875rem);
  color: var(--fg-3);
  max-width: 44ch;
  line-height: 1.55;
  margin: 0 0 32px;
}
.dm-sell__expect {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  padding: 24px 28px;
  margin-bottom: 28px;
  max-width: 44ch;
}
.dm-sell__expect h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin: 0 0 14px;
}
.dm-sell__expect ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 10px;
}
.dm-sell__expect li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 14.5px;
  color: var(--fg-2);
  line-height: 1.5;
}
.dm-sell__expect li .num {
  width: 22px; height: 22px;
  border-radius: 999px;
  background: var(--brand-orange-50);
  color: var(--brand-orange);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700;
  flex: none;
  border: 1px solid color-mix(in oklch, var(--brand-orange) 22%, transparent);
}

/* ---- Founder quote ---- */
.dm-founder {
  display: flex; gap: 16px; align-items: flex-start;
  max-width: 44ch;
}
.dm-founder__avatar {
  width: 52px; height: 52px; border-radius: 999px;
  background: var(--brand-navy);
  color: #fff;
  font-weight: 700; font-size: 18px;
  display: grid; place-items: center;
  flex: none;
  overflow: hidden;
}
.dm-founder__avatar img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.dm-founder__quote {
  font-size: 14.5px;
  color: var(--fg-2);
  line-height: 1.55;
  margin: 0 0 6px;
}
.dm-founder__name {
  font-size: 13px;
  color: var(--fg-3);
  margin: 0;
}
.dm-founder__name b { color: var(--fg-1); font-weight: 600; }

/* ---- Right column (form) ---- */
.dm-form-card {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-2xl);
  padding: clamp(28px, 3vw, 40px);
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 32px;
}
@media (max-width: 992px) {
  .dm-form-card { position: static; }
}

.dm-form-card h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--brand-navy-800);
  letter-spacing: -0.015em;
  margin: 0 0 6px;
}
.dm-form-card__sub {
  font-size: 14px;
  color: var(--fg-3);
  margin: 0 0 24px;
}

.dm-form { display: grid; gap: 16px; }
.dm-form__field { display: flex; flex-direction: column; gap: 6px; }
.dm-form__field label {
  font-size: 13px; font-weight: 600; color: var(--fg-2);
}
.dm-form__field label .req { color: var(--brand-orange); margin-left: 2px; }
.dm-form__field input,
.dm-form__field textarea {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--fg-1);
  padding: 13px 15px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.dm-form__field input::placeholder,
.dm-form__field textarea::placeholder { color: var(--fg-4); }
.dm-form__field input:focus,
.dm-form__field textarea:focus {
  outline: none;
  border-color: var(--brand-navy);
  box-shadow: var(--shadow-focus);
}
.dm-form__field textarea {
  resize: vertical;
  min-height: 90px;
}
.dm-form__field .hint {
  font-size: 12.5px;
  color: var(--fg-4);
}

.dm-form__submit {
  margin-top: 8px;
  width: 100%;
  justify-content: center;
  font-size: 16px;
  padding: 14px 22px;
}

/* ---- Reassurance row ---- */
.dm-reassure {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}
.dm-reassure__item {
  display: flex; gap: 8px; align-items: center;
  font-size: 12.5px;
  color: var(--fg-3);
  line-height: 1.3;
}
.dm-reassure__item svg {
  color: var(--success);
  flex: none;
}
@media (max-width: 480px) {
  .dm-reassure { grid-template-columns: 1fr; }
}

.dm-form__consent {
  font-size: 12px;
  color: var(--fg-4);
  line-height: 1.5;
  margin: 0;
}
.dm-form__consent a { color: var(--brand-navy); font-weight: 500; }

/* ---- Success state ---- */
.dm-success {
  text-align: center;
  padding: 20px 8px 10px;
}
.dm-success__icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  border-radius: 999px;
  background: var(--success-bg);
  color: var(--success-fg);
  display: grid; place-items: center;
}
.dm-success h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-navy-800);
  margin: 0 0 10px;
  letter-spacing: -0.015em;
}
.dm-success p {
  font-size: 15px;
  color: var(--fg-3);
  line-height: 1.55;
  margin: 0 0 24px;
  max-width: 40ch;
  margin-left: auto;
  margin-right: auto;
}
.dm-success__next {
  background: var(--brand-navy-50);
  border: 1px solid var(--brand-navy-100);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  text-align: left;
  margin-bottom: 20px;
}
.dm-success__next h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-navy);
  margin: 0 0 10px;
}
.dm-success__next ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 8px;
}
.dm-success__next li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.5;
}

/* ---- Minimal footer ---- */
.dm-foot {
  border-top: 1px solid var(--border-subtle);
  padding: 20px 0;
  background: #fff;
}
.dm-foot__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--fg-3);
  flex-wrap: wrap;
  gap: 12px;
}
.dm-foot__legal { display: flex; gap: 18px; }
.dm-foot__legal a { color: var(--fg-3); border: none; }
.dm-foot__legal a:hover { color: var(--brand-navy); }

.dm-form__error {
  margin-top: 12px;
  color: #c0392b;
  font-size: 0.875rem;
}
