/* Demo request form (/view-demos-copy). Uses the site's own palette:
   ink #000, body #333, muted #737373, line #ccc, accent #ff5f05, pill buttons. */
.df {
  --df-ink: #000; --df-text: #333; --df-muted: #737373; --df-line: #d3d5da;
  --df-field: #fff; --df-tint: #fff4ee; --df-accent: #ff5f05; --df-accent-dark: #e35200;
  --df-error: #c62828; --df-ok: #004822;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  color: var(--df-text);
  display: grid; gap: 22px; width: 100%;
}
.df-head { display: grid; gap: 8px; }
.df-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--df-accent); margin: 0; }
.df-title { font-size: 34px; line-height: 1.1; font-weight: 600; color: var(--df-ink); margin: 0; text-wrap: balance; }
.df-sub { font-size: 16px; line-height: 1.45; margin: 0; color: var(--df-text); max-width: 46ch; }
.df-form { display: grid; gap: 16px; }
.df-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.df-field { display: grid; gap: 6px; min-width: 0; }
.df-label { font-size: 14px; font-weight: 600; line-height: 16px; color: var(--df-ink); }
.df-label .df-opt { font-weight: 400; color: var(--df-muted); }
.df-input, .df-select, .df-textarea {
  width: 100%; box-sizing: border-box; font: inherit; font-size: 15px; color: var(--df-ink);
  background: var(--df-field); border: 1px solid var(--df-line); border-radius: 10px;
  min-height: 46px; padding: 11px 14px; transition: border-color .15s, box-shadow .15s;
}
.df-textarea { min-height: 84px; resize: vertical; }
.df-select { appearance: none; padding-right: 38px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23737373' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.df-input::placeholder, .df-textarea::placeholder { color: #9a9a9a; }
.df-input:focus, .df-select:focus, .df-textarea:focus { outline: none; border-color: var(--df-accent); box-shadow: 0 0 0 3px rgba(255, 95, 5, .18); }
.df-field.is-invalid .df-input, .df-field.is-invalid .df-select { border-color: var(--df-error); }
.df-err { font-size: 13px; color: var(--df-error); min-height: 0; }
.df-err:empty { display: none; }
.df-volume { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 0; }
.df-volume legend { padding: 0; margin-bottom: 8px; }
.df-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.df-pill { position: relative; }
.df-pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.df-pill span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--df-line); background: var(--df-field); font-size: 14px; color: var(--df-ink);
  font-variant-numeric: tabular-nums; transition: background .15s, border-color .15s, color .15s; cursor: pointer;
}
.df-pill input:hover + span { border-color: var(--df-accent); }
.df-pill input:checked + span { background: var(--df-tint); border-color: var(--df-accent); color: var(--df-accent-dark); font-weight: 600; }
.df-pill input:focus-visible + span { box-shadow: 0 0 0 3px rgba(255, 95, 5, .25); }
.df-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.df-actions { display: grid; gap: 10px; margin-top: 4px; }
.df-submit {
  display: inline-flex; justify-content: center; align-items: center; gap: 10px; width: 100%;
  min-height: 54px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--df-accent); color: #fff; font: inherit; font-size: 17px; font-weight: 600;
  transition: background .15s, transform .05s;
}
.df-submit:hover { background: var(--df-accent-dark); }
.df-submit:active { transform: translateY(1px); }
.df-submit:focus-visible { outline: 3px solid rgba(255, 95, 5, .35); outline-offset: 3px; }
.df-submit[disabled] { opacity: .7; cursor: progress; }
.df-fine { font-size: 12.5px; color: var(--df-muted); margin: 0; text-align: center; }
.df-alert { border-radius: 10px; padding: 12px 14px; font-size: 14px; background: #fdecea; color: var(--df-error); }
.df-done { display: grid; gap: 14px; text-align: left; }
.df-done .df-title { font-size: 30px; }
.df-check { width: 44px; height: 44px; border-radius: 50%; background: var(--df-tint); color: var(--df-accent); display: grid; place-items: center; }
.df-next { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.df-btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-size: 16px; font-weight: 600; text-decoration: none; }
.df-btn-primary { background: var(--df-accent); color: #fff; }
.df-btn-primary:hover { background: var(--df-accent-dark); color: #fff; }
.df-btn-ghost { border: 1px solid var(--df-line); color: var(--df-ink); }
.df-btn-ghost:hover { border-color: var(--df-ink); color: var(--df-ink); }
[hidden] { display: none !important; }
@media (max-width: 560px) {
  .df-row { grid-template-columns: 1fr; }
  .df-title { font-size: 28px; }
  .df-next { flex-direction: column; }
  .df-btn { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .df * { transition: none !important; } }

/* Fit the site's modal card to the form: no forced height, start at the top so nothing clips. */
.vd_card:has(.df) { height: auto; min-height: 0; max-height: calc(100% - 48px); justify-content: flex-start; padding: 2.75em 3em; }
.div-block-51:has(.df) { padding-block: 24px; box-sizing: border-box; }
.df a:not(.df-btn) { color: var(--df-ink); font-size: inherit; line-height: inherit; text-decoration: underline; text-underline-offset: 2px; }
/* Volume options: 3 + 2 on desktop, 1 + 2 + 2 on phones; every option the same width as its row-mates. */
.df-pills { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.df-pill:nth-child(-n+3) { grid-column: span 2; }
.df-pill:nth-child(n+4) { grid-column: span 3; }
.df-pill span { width: 100%; justify-content: center; box-sizing: border-box; padding: 0 10px; }
@media (max-width: 560px) {
  .vd_card:has(.df) { padding: 2em 1.25em; max-height: calc(100% - 32px); }
  .df-pills { grid-template-columns: 1fr 1fr; }
  .df-pill:nth-child(1) { grid-column: span 2; }
  .df-pill:nth-child(n+2) { grid-column: span 1; }
}
