/* Book a Demo page */

.demo {
  max-width: 560px;
  margin: 0 auto;
  padding: clamp(112px, 16vh, 168px) 24px clamp(64px, 10vh, 96px);
}

.demo-title {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 1.06;
  color: var(--ink);
  margin: 0 0 12px;
}

.demo-sub {
  color: var(--muted);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 36px;
}

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

.demo-field { display: flex; flex-direction: column; gap: 8px; }
.demo-field label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.demo-field input,
.demo-field textarea {
  width: 100%;
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  transition: border-color 0.2s ease;
}
.demo-field textarea { min-height: 132px; line-height: 1.6; resize: vertical; }
.demo-field input::placeholder,
.demo-field textarea::placeholder { color: var(--faint); }

.demo-field input:focus,
.demo-field textarea:focus { border-color: var(--accent); }
.demo-field input:focus-visible,
.demo-field textarea:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
}

.demo-submit {
  align-self: flex-start;
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  padding: 14px 24px;
  cursor: pointer;
  margin-top: 4px;
  transition: background 0.25s ease;
}
.demo-submit:hover { background: #2961C2; }
.demo-submit:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }

.demo-status {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
}
.demo-status:empty { display: none; }
.demo-status a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.demo-note {
  margin-top: 28px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.demo-note a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
