/* Walkthrough request page, Nov 2026 site design (Midnight & Marigold). */
:root {
  --midnight: #10163A;
  --indigo: #283593;
  --marigold: #F2A900;
  --mist: #F3F4FA;
  --line: #DCDFEC;
  --ink: #141A33;
  --muted: #4A506A;
  --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.55 var(--font); color: var(--ink); background: var(--mist); }
a { color: var(--indigo); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 2px; }

.demo-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); min-height: 100vh; min-height: 100dvh; }

/* Left: midnight story */
.demo-story { display: flex; flex-direction: column; gap: 48px; padding: clamp(28px, 4vw, 56px) clamp(24px, 5vw, 72px); background: var(--midnight); color: #fff; }
.demo-logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; text-decoration: none; align-self: flex-start; border-radius: 8px; }
.demo-copy { display: grid; gap: 20px; max-width: 34rem; margin-block: auto; }
.demo-copy > * { margin: 0; }
.demo-tagline { color: var(--marigold); font-weight: 600; }
.demo-copy h1 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); line-height: 1.02; font-weight: 700; letter-spacing: -0.035em; text-wrap: balance; }
.demo-lede { font-size: 1.15rem; color: rgba(255, 255, 255, .78); }
.demo-points { display: grid; gap: 10px; padding: 0; list-style: none; color: rgba(255, 255, 255, .85); }
.demo-points li { display: flex; gap: 10px; }
.demo-points li::before { content: "✓"; color: var(--marigold); font-weight: 700; }
.demo-alt { padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .7); font-size: .9375rem; }
.demo-alt a { color: #fff; font-weight: 600; }

/* Right: form */
.demo-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: clamp(24px, 4vw, 56px) clamp(16px, 4vw, 56px); }
.demo-form { display: grid; gap: 18px; width: 100%; max-width: 520px; padding: clamp(24px, 3vw, 36px); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 24px 48px -32px rgba(16, 22, 58, .35); }
.demo-form h2 { margin: 0 0 4px; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.025em; }
.demo-field { display: grid; gap: 6px; }
.demo-field label { font-weight: 600; font-size: .9375rem; }
.demo-field label span { margin-inline-start: 6px; font-weight: 400; color: var(--muted); font-size: .875rem; }
.demo-field :is(input, select, textarea) { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font: inherit; }
.demo-field textarea { min-height: 96px; resize: vertical; }
.demo-field :is(input, select, textarea):focus-visible { outline: 3px solid rgba(40, 53, 147, .25); outline-offset: 0; border-color: var(--indigo); }
.demo-field :is(input, select, textarea):disabled { background: var(--mist); color: var(--muted); }
.demo-hidden { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.demo-consent { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: .875rem; color: var(--muted); cursor: pointer; }
.demo-consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--indigo); }
#demo-submit { min-height: 48px; border: 0; border-radius: 8px; background: var(--midnight); color: #fff; font: 600 1rem var(--font); cursor: pointer; }
#demo-submit:hover:not(:disabled) { background: var(--indigo); }
#demo-submit:disabled { opacity: .6; cursor: default; }
#demo-result { margin: 0; font-weight: 600; color: var(--indigo); }
#demo-result:empty { display: none; }
.demo-small { margin: 0; font-size: .8125rem; color: var(--muted); }
.demo-footer { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .8125rem; color: var(--muted); }
.demo-footer a { color: var(--muted); }

@media (max-width: 900px) {
  .demo-shell { grid-template-columns: 1fr; }
  .demo-story { gap: 32px; padding-bottom: 40px; }
  .demo-copy { margin-block: 0; }
}
@media (max-width: 480px) {
  .demo-panel { padding-top: 16px; }
  .demo-form { padding: 20px 16px; }
}
