/* /demo (CP-40, Figma 1442:827 desktop / 1442:883 phone, confirmation 1442:870 / 1442:926). Plain CSS, Inter. Shell copied from site-home.css. */
/* CP-55: the public site is light by design (cream, navy, orange): tell the browser, so form controls, scrollbars and forced dark modes do not half-invert it. */
:root { color-scheme: light; }
:root {
  --navy: #10284a;
  --orange: #f2780c;
  --cream: #f6f5f2;
  --muted: #546175;
  --input-line: #d9d9d4;
  --placeholder: #999ea8;
  --red: #c0392b;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--navy); background: var(--cream); -webkit-font-smoothing: antialiased; }
main { flex: 1; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
p, h1, h2, ul { margin: 0; }
[hidden] { display: none !important; }

/* header */
.site-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 64px; background: #fff; }
.site-header__logo img { display: block; height: 22px; width: auto; }
.site-header__back { font-size: 14px; font-weight: 500; line-height: 1.45; text-decoration: none; color: var(--navy); }
.site-header__back:hover, .site-header__back:focus-visible { text-decoration: underline; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 22px; border-radius: 10px; background: var(--orange); color: #fff; font: 600 16px/normal 'Inter', sans-serif; text-decoration: none; border: 0; cursor: pointer; }
.btn:disabled { opacity: 0.6; cursor: default; }
.btn--ghost { background: #fff; color: var(--navy); border: 1.5px solid var(--navy); }
.btn--block { width: 100%; }

/* request */
.demo { display: flex; justify-content: center; align-items: flex-start; gap: 64px; padding: 72px 160px 96px; }
.demo__intro { display: flex; flex-direction: column; gap: 14px; flex: 0 0 440px; max-width: 440px; }
.eyebrow { font-size: 12px; font-weight: 700; line-height: 1.45; letter-spacing: 0.08em; color: var(--orange); }
.demo h1 { font-size: 44px; line-height: 1.1; font-weight: 700; }
.lead { font-size: 18px; line-height: 1.45; color: var(--muted); }
.sees { font-size: 15px; line-height: 1.45; font-weight: 600; }
.checks { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.checks li > span:first-child { color: var(--orange); font-weight: 700; flex: 0 0 auto; }

.card { flex: 0 0 480px; max-width: 480px; display: flex; flex-direction: column; gap: 16px; padding: 32px; background: #fff; border-radius: 18px; box-shadow: 0 12px 32px rgba(15, 41, 74, 0.08); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; line-height: 1.45; }
.field input { width: 100%; height: 48px; padding: 0 14px; background: #fff; border: 1px solid var(--input-line); border-radius: 10px; font: 400 16px/1.45 'Inter', sans-serif; color: var(--navy); }
.field input::placeholder { color: var(--placeholder); opacity: 1; }
.field input:focus-visible { outline: 2px solid var(--navy); outline-offset: 1px; }
.field input[aria-invalid="true"] { border-color: var(--red); }
.field__error { font-size: 13px; line-height: 1.45; color: var(--red); }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-error { font-size: 14px; line-height: 1.45; color: var(--red); }
.form-error a { color: var(--navy); font-weight: 600; }
.fine { font-size: 13px; line-height: 1.45; color: var(--muted); }

/* confirmation */
.done { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 120px 20px 160px; text-align: center; }
.done__icon { width: 64px; height: 64px; display: block; }
.done h2 { font-size: 44px; line-height: 1.45; font-weight: 700; }
.done__text { width: 560px; max-width: 100%; font-size: 18px; line-height: 1.45; color: var(--muted); overflow-wrap: anywhere; }

/* footer */
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 64px; font-size: 13px; color: var(--muted); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.noscript { text-align: center; padding: 16px; font-size: 14px; }

@media (max-width: 1100px) {
  .demo { flex-direction: column; align-items: center; gap: 40px; padding: 56px 40px 72px; }
  .demo__intro, .card { flex: 0 0 auto; width: 100%; max-width: 560px; }
}
@media (max-width: 700px) {
  .site-header { padding: 20px; }
  .demo { align-items: stretch; gap: 28px; padding: 32px 20px 48px; }
  .demo__intro, .card { max-width: none; }
  .demo h1 { font-size: 32px; }
  .lead { font-size: 16px; }
  .card { padding: 32px 20px; }
  .done { padding: 64px 20px 80px; }
  .done h2 { font-size: 30px; }
  .done__text { font-size: 16px; width: 340px; }
  .site-footer { flex-direction: column; align-items: flex-start; padding: 24px 20px; }
  .site-footer a, .site-header__back { display: inline-flex; align-items: center; min-height: 44px; }   /* CP-55: 44 px tap targets at phone width */
}
