/* The demo page owns its base layout; mobile-pages.css only adapts it. */
.demo-page {
  --heading: var(--ink);
  --muted-2: var(--muted);
  --rose: #b42318;
  --green-tint: #f0faf4;
}
.demo-page .page-hero { padding: 64px 0 10px; text-align: center; }
.demo-page .page-hero .eyebrow { color: var(--blue); font-size: 14px; font-weight: 700; }
.demo-page .page-hero h1 { max-width: 760px; margin: 18px auto; font-size: 44px; line-height: 1.16; letter-spacing: 0; }
.demo-page .lead { font-size: 17px; line-height: 1.65; color: var(--body); }
.demo-page .page-hero .lead { max-width: 660px; margin-inline: auto; }
.demo-page .contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: 64px; max-width: 1080px; margin: 20px auto 0; padding-bottom: 72px; }
.demo-page .contact-grid > * { min-width: 0; }
.demo-page .form-card { padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: var(--ice); }
.demo-page .field-2 { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.demo-page .field { min-width: 0; margin-bottom: 18px; }
.demo-page .field label { display: block; margin-bottom: 8px; color: var(--ink); font-size: 13px; font-weight: 700; }
.demo-page .field input, .demo-page .field select, .demo-page .field textarea {
  display: block; width: 100%; min-width: 0; min-height: 48px; padding: 12px;
  border: 1px solid #cbd5e1; border-radius: 6px; background: white; color: var(--ink); font: inherit; font-size: 16px;
}
.demo-page .field textarea { min-height: 112px; resize: vertical; }
.demo-page :is(input,select,textarea,button,a):focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.demo-page .form-foot { display: grid; gap: 14px; }
.demo-page #demoSubmit { display: flex; justify-content: center; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 12px; border: 0; border-radius: 6px; background: var(--blue); color: white; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.demo-page #demoSubmit:hover { background: #216db7; }
.demo-page #demoSubmit:disabled { opacity: .65; cursor: wait; }
.demo-page #demoSubmit svg { width: 18px; height: 18px; flex: none; }
.demo-page .note { font-size: 12px; line-height: 1.6; color: var(--body); overflow-wrap: anywhere; }
.demo-page .contact-list { display: grid; gap: 24px; list-style: none; padding: 0; margin: 28px 0; }
.demo-page .contact-list li { display: grid; grid-template-columns: 36px minmax(0,1fr); gap: 12px; }
.demo-page .ci { color: var(--blue); }
.demo-page .ci svg { display: block; width: 24px; height: 24px; }
.demo-page .ct { font-size: 15px; font-weight: 700; }
.demo-page .cs { margin-top: 4px; font-size: 14px; line-height: 1.6; color: var(--body); overflow-wrap: anywhere; }
.demo-page .card { padding: 22px; border: 1px solid var(--line); border-radius: 8px; }
.demo-page .footer { padding: 40px 0; border-top: 1px solid var(--line); }
.demo-page .footer-grid { display: grid; grid-template-columns: 2fr repeat(3,minmax(0,1fr)); gap: 36px; }
.demo-page .footer-logo { width: 160px; height: auto; filter: brightness(0); }
.demo-page .footer ul { list-style: none; padding: 0; }
.demo-page .footer li { margin: 12px 0; }
.demo-page .footer p, .demo-page .footer a { font-size: 13px; line-height: 1.6; color: var(--body); }
.demo-page .footer h4 { font-size: 13px; }
.demo-page .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 32px; }
.demo-page .footer-badges { display: flex; flex-wrap: wrap; gap: 16px; font-size: 11px; }
.demo-page .footer-badges svg { width: 16px; height: 16px; vertical-align: middle; }
@media (min-width: 769px) and (max-width: 1100px) {
  .demo-page .nav-inner { grid-template-columns: auto 1fr auto; gap: 18px; }
  .demo-page .brand img { width: 150px; height: auto; }
  .demo-page .nav-links { gap: 14px; justify-content: center; font-size: 12px; }
  .demo-page .nav-actions { gap: 12px; font-size: 12px; }
  .demo-page .contact-grid { gap: 28px; }
}
@media (max-width: 768px) {
  .demo-page .page-hero { text-align: left; }
  .demo-page .contact-grid { margin-top: 0; }
}
