:root { --ink: #172735; --muted: #61717f; --blue: #2548d9; --line: #dce3e9; --error: #a43737; font-family: 'Inter', Arial, sans-serif; font-size: 100%; color: var(--ink); background: #fff; font-synthesis: none; font-optical-sizing: auto; }
* { box-sizing: border-box; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
h1, h2, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { touch-action: manipulation; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
[hidden] { display: none !important; }
::selection { background: #dce6ff; }
.skip-link { position: fixed; left: 16px; top: 16px; transform: translateY(-150%); z-index: 10; padding: 12px 16px; background: white; border: 1px solid var(--blue); }
.skip-link:focus { transform: none; }
.demo-layout { display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; }
.demo-introduction { display: flex; flex-direction: column; padding: 36px clamp(32px, 3.1vw, 60px) 28px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-size: 25px; line-height: 1; font-weight: 500; letter-spacing: -1px; white-space: nowrap; }
.brand-mark { width: 30px; height: 30px; color: var(--blue); }
.brand-iq { font-weight: 650; }
.demo-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.mobile-back { display: none; }
.demo-story { width: 100%; max-width: 600px; margin: auto; padding: 76px 0; }
.eyebrow { font-size: .75rem; font-weight: 550; letter-spacing: .11em; line-height: 1.5; color: #596875; margin-bottom: 1.625rem; }
h1 { font-size: clamp(3rem, 4.05vw, 4.875rem); line-height: 1.09; letter-spacing: -.04em; font-weight: 500; text-wrap: balance; }
h1 span { color: var(--blue); }
.demo-description { max-width: 30rem; font-size: 1.125rem; line-height: 1.7; color: #536371; margin-top: 1.875rem; }
.demo-standards { margin-top: 48px; }
.demo-standards > p { font-size: .8125rem; line-height: 1.6; color: var(--muted); }
.standards-links { display: flex; align-items: center; gap: 28px; margin-top: 17px; }
.standards-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 1.4375rem; letter-spacing: -.02em; line-height: 1.3; font-weight: 550; color: #354755; transition: color 160ms ease; }
.standards-links a + a { padding-left: 28px; border-left: 1px solid var(--line); }
.standards-links a:hover { color: var(--blue); }
.demo-footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: .75rem; line-height: 1.6; color: var(--muted); }
.demo-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.demo-footer a:hover, .mobile-back:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.demo-form-side { display: flex; justify-content: center; align-items: center; padding: 64px clamp(32px, 4.1vw, 80px); background: linear-gradient(150deg, #122c50bc, #10233ce8), url('assets/colorado-dawn.png') center / cover; }
.demo-form-card { width: 100%; max-width: 660px; padding: clamp(28px, 2.65vw, 48px); border: 1px solid #fff; border-radius: 8px; background: #fff; box-shadow: 0 24px 80px #091e3938; }
.form-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 29px; }
.form-heading h2 { font-size: 1.5625rem; line-height: 1.3; letter-spacing: -.025em; font-weight: 500; }
.form-heading > span { font-size: .75rem; line-height: 1.5; color: var(--muted); white-space: nowrap; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.375rem 1.25rem; }
.full-width { grid-column: 1 / -1; }
.field { min-width: 0; }
.field label { display: block; font-size: .875rem; line-height: 1.5; font-weight: 500; margin-bottom: .5625rem; }
.field label > span:not(.optional) { color: var(--muted); }
.optional { color: var(--muted); font-size: .75rem; font-weight: 400; margin-left: 5px; }
.field input, .field select, .field textarea { display: block; width: 100%; min-width: 0; min-height: 3.125rem; padding: .75rem .8125rem; border: 1px solid #bfcbd5; border-radius: 5px; background: #fff; color: var(--ink); font-size: 1rem; line-height: 1.5; transition: border-color 150ms ease, box-shadow 150ms ease; }
.field textarea { min-height: 98px; resize: vertical; }
.field select { padding-right: 10px; }
.field select:invalid { color: var(--muted); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #7f91a2; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 2px; border-color: var(--blue); box-shadow: 0 0 0 4px #2548d912; }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { margin-top: .5rem; color: var(--error); font-size: .8125rem; line-height: 1.5; }
.submit-button { display: block; width: 100%; min-height: 3.25rem; border: 1px solid var(--blue); border-radius: 5px; padding: .875rem 1.25rem; margin-top: 1.75rem; background: var(--blue); color: #fff; font-size: .9375rem; line-height: 1.5; font-weight: 500; cursor: pointer; transition: background 160ms ease, transform 180ms ease; }
.submit-button:hover { background: #1738ba; }
.submit-button:active:not(:disabled) { background: #1431a5; transform: scale(.99); transition-duration: 60ms; }
.standards-links a:active, .demo-footer a:active, .mobile-back:active { color: #1738ba; }
.submit-button:disabled { cursor: default; opacity: .65; }
.preview-note { margin-top: 1.0625rem; color: var(--muted); text-align: center; font-size: .75rem; line-height: 1.6; }
.form-feedback { margin-top: 1.25rem; padding: 1rem; background: #f1f5ff; border-left: 2px solid var(--blue); border-radius: 0 5px 5px 0; font-size: .875rem; line-height: 1.65; color: #354b65; }
.form-feedback:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
@media (min-width: 1600px) { .demo-story { max-width: 600px; } .demo-form-card { padding: 44px; } .form-heading { margin-bottom: 32px; } .form-grid { gap: 24px; } }
@media (min-width: 901px) and (max-width: 1150px) { .demo-introduction { padding-inline: 30px; } .demo-form-side { padding: 44px 26px; } .demo-form-card { padding: 27px; } h1 { font-size: 2.875rem; letter-spacing: -.035em; } .demo-description { font-size: 1.0625rem; } .form-grid { gap: 1.25rem .875rem; } .field label { font-size: .8125rem; } }
@media (max-width: 900px) {
  .demo-layout { grid-template-columns: 1fr; }
  .demo-introduction { padding: 28px 32px 0; }
  .demo-header { width: 100%; }
  .mobile-back { display: inline-flex; align-items: center; justify-content: flex-end; min-height: 44px; font-size: .8125rem; line-height: 1.5; color: var(--muted); }
  .demo-story { max-width: 620px; padding: 64px 0 56px; }
  h1 { font-size: clamp(3rem, 7vw, 4rem); letter-spacing: -.035em; }
  .demo-description { max-width: 580px; }
  .demo-standards { margin-top: 32px; }
  .demo-footer { display: none; }
  .demo-form-side { padding: 44px 32px; }
  .demo-form-card { max-width: 620px; padding: 36px; }
}
@media (max-width: 480px) {
  .demo-introduction { padding: 24px 23px 0; }
  .brand { font-size: 22px; gap: 6px; }
  .brand-mark { width: 26px; height: 26px; }
  .mobile-back { font-size: .75rem; }
  .demo-header { gap: 14px; }
  .demo-story { padding: 52px 0 40px; }
  .eyebrow { font-size: .6875rem; margin-bottom: 1.25rem; letter-spacing: .08em; }
  h1 { font-size: clamp(2.1875rem, 9.5vw, 2.8125rem); line-height: 1.12; letter-spacing: -.03em; }
  .demo-description { font-size: 1rem; line-height: 1.7; margin-top: 1.4375rem; }
  .demo-standards > p { font-size: .75rem; }
  .standards-links { gap: 22px; margin-top: 14px; }
  .standards-links a { font-size: 1.3125rem; }
  .standards-links a + a { padding-left: 22px; }
  .demo-form-side { padding: 28px 14px; }
  .demo-form-card { padding: 27px 22px; border-radius: 6px; }
  .form-heading h2 { font-size: 1.5rem; }
  .form-heading { margin-bottom: 26px; }
  .form-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .field label { font-size: .875rem; }
  .optional { display: inline-block; margin-left: 0; }
  .submit-button { margin-top: 24px; }
}
@media (max-width: 360px) { .demo-introduction { padding-inline: 18px; } .brand { font-size: 20px; } .brand-mark { width: 24px; height: 24px; } .demo-form-card { padding-inline: 18px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .submit-button:active:not(:disabled) { transform: none; }
}
@media (prefers-contrast: more) {
  :root { --muted: #354755; --line: #657687; }
  .field input, .field select, .field textarea { border-color: #657687; }
  .field [aria-invalid="true"] { border-color: var(--error); }
  .demo-form-card { border-color: #172735; }
  .form-feedback { background: #fff; border: 2px solid var(--blue); }
}
