.demo-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 40px 0 96px;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(39, 66, 245, .32), transparent 65%),
    radial-gradient(700px 500px at -10% 110%, rgba(39, 66, 245, .14), transparent 65%),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 64px 64px,
    var(--ink);
}
.demo-grain { position: absolute; inset: 0; opacity: .07; background-image: var(--grain-texture); pointer-events: none; }
.demo-shell { position: relative; }
.demo-brand { margin-bottom: 64px; }

.demo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 72px; align-items: start; }

.demo-eyebrow { justify-content: flex-start; }
.demo-intro h1 { margin: 22px 0 0; font-size: clamp(40px, 5vw, 64px); font-weight: 600; line-height: 1; letter-spacing: -.05em; }
.demo-lead { max-width: 34em; margin: 22px 0 0; color: #b9b9c3; font-size: 18px; }
.demo-agenda { display: grid; gap: 0; margin: 40px 0 0; padding: 0; list-style: none; }
.demo-agenda li { display: grid; grid-template-columns: 44px 1fr; padding: 18px 0; border-top: 1px solid var(--line-dark); color: #dedee4; font-size: 16px; }
.demo-agenda b { color: var(--primary-light); font: 600 13px/1.6 var(--mono); }
.demo-proof { margin: 28px 0 0; color: var(--muted); font-size: 14px; }

.demo-card { padding: 32px; border: 1px solid var(--line-dark); border-radius: 18px; background: rgba(23, 23, 28, .92); }
.demo-steps { display: flex; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.demo-steps li { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border: 1px solid var(--line-dark); border-radius: 999px; color: var(--muted); font-size: 13px; font-weight: 600; }
.demo-steps b { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .08); font: 600 11px/1 var(--mono); }
.demo-steps .is-active { border-color: rgba(82, 105, 255, .55); color: #fff; }
.demo-steps .is-active b { background: var(--primary); }

.demo-form { display: grid; gap: 4px; }
.demo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.demo-form label { display: grid; align-content: start; gap: 7px; color: #d7d7de; font-size: 13px; font-weight: 600; }
.demo-form label em { color: var(--muted); font-style: normal; font-weight: 500; }
.demo-form input, .demo-form select, .demo-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, .04);
  font: 400 15px/1.4 "Inter", system-ui, sans-serif;
  transition: border-color .18s, background .18s;
}
.demo-form textarea { resize: vertical; min-height: 92px; }
.demo-form select { height: 46px; padding-block: 0; }
.demo-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #9a9aa4 50%), linear-gradient(135deg, #9a9aa4 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.demo-form select option { color: #15151a; }
.demo-form input::placeholder, .demo-form textarea::placeholder { color: #6e6e78; }
.demo-form input:focus, .demo-form select:focus, .demo-form textarea:focus { outline: none; border-color: var(--primary-light); background: rgba(255, 255, 255, .07); }
.demo-form [aria-invalid] { border-color: var(--danger); }
.demo-form small { min-height: 18px; color: #ff7a6e; font-size: 12px; font-weight: 500; }
.demo-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.demo-turnstile:empty { display: none; }
.demo-turnstile { margin: 6px 0 4px; }
.demo-form-error { min-height: 0; margin: 0; color: #ff7a6e; font-size: 14px; }
.demo-form-error:not(:empty) { margin: 6px 0; }
.demo-submit { width: 100%; min-height: 52px; margin-top: 10px; font-size: 15px; }
.demo-submit.is-loading { opacity: .7; pointer-events: none; }
.demo-legal { margin: 14px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
.demo-legal a, .demo-alt a { color: #c9d0ff; text-decoration: underline; text-underline-offset: 3px; }

.demo-calendar-title { margin: 0 0 16px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.demo-calendar iframe { display: block; width: 100%; height: 640px; border: 0; border-radius: 12px; background: #fff; }

.demo-alt { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line-dark); color: var(--muted); font-size: 14px; text-align: center; }

@media (max-width: 960px) {
  .demo-grid { grid-template-columns: 1fr; gap: 40px; }
  .demo-brand { margin-bottom: 40px; }
}
@media (max-width: 560px) {
  .demo-page { padding-top: 28px; }
  .demo-card { padding: 22px 18px; }
  .demo-row { grid-template-columns: 1fr; gap: 4px; }
  .demo-calendar iframe { height: 720px; }
}
