/* Public site building blocks shared by all marketing pages: page hero, closing CTA band, demo request layout.
   Same visual language as the sign-in page (navy canvas, blue + warm glow, white type). Pages keep their own content sections. */
:root {
  --site-navy: #0B1B3F;
  --site-blue: #1E6FF2;
  --site-blue-2: #3B82F6;
  --site-warm: linear-gradient(135deg, #FF7A59 0%, #FFB347 100%);
  --site-ink: #0F172A;
  --site-muted: #64748B;
  --site-line: #E2E8F0;
  --site-glow:
    radial-gradient(900px 480px at 105% -20%, rgba(255, 122, 89, .42), transparent 60%),
    radial-gradient(760px 520px at -10% 120%, rgba(30, 111, 242, .60), transparent 62%),
    linear-gradient(160deg, #0B1B3F 0%, #102A5C 100%);
}

/* ---------- Page hero ---------- */
.ph { position: relative; overflow: hidden; background: var(--site-glow); color: #fff; }
.ph::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.10) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(180deg, #000 0%, transparent 85%); }
.ph-inner { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 56px 24px 64px;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 48px; align-items: center; }
.ph.ph-center .ph-inner { grid-template-columns: 1fr; text-align: center; max-width: 900px; }
.ph.ph-center .ph-ctas, .ph.ph-center .ph-chips { justify-content: center; }
.ph-crumbs { font-size: .82rem; color: #A9BBDA; margin-bottom: 18px; }
.ph-crumbs a { color: #DCE6F7; text-decoration: none; }
.ph-crumbs a:hover { text-decoration: underline; }
.ph-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; letter-spacing: .2px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); margin-bottom: 18px; }
.ph-eyebrow i { color: #FFB347; }
.ph h1 { font-size: clamp(2rem, 4.2vw, 3.35rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; margin: 0 0 16px; color: #fff; }
.ph-accent { background: var(--site-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ph-lead { font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.6; color: #D6E1F5; margin: 0 0 26px; max-width: 580px; }
.ph.ph-center .ph-lead { margin-left: auto; margin-right: auto; }
.ph-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.ph-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 12px; font-weight: 700; font-size: .98rem; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; }
.ph-btn:hover { transform: translateY(-1px); }
.ph-btn:focus-visible { outline: 3px solid rgba(255,179,71,.7); outline-offset: 3px; }
.ph-btn-primary { background: #fff; color: #10306B; box-shadow: 0 14px 30px -14px rgba(0,0,0,.6); }
.ph-btn-primary:hover { box-shadow: 0 18px 36px -14px rgba(0,0,0,.7); }
.ph-btn-warm { background: var(--site-warm); color: #3A1A05; box-shadow: 0 14px 30px -14px rgba(255,122,89,.9); }
.ph-btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.04); }
.ph-btn-ghost:hover { background: rgba(255,255,255,.1); }
.ph-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; }
.ph-chips li { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; color: #E6EEFB; }
.ph-chips i { color: #6EE7B7; }
.ph-visual { position: relative; }
.ph-visual img.ph-img { display: block; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 24px;
  border: 1px solid rgba(255,255,255,.18); box-shadow: 0 40px 80px -30px rgba(0,0,0,.75); }
.ph-float { position: absolute; left: -22px; bottom: 26px; display: flex; align-items: center; gap: 12px; background: #fff; color: var(--site-ink);
  border-radius: 16px; padding: 12px 16px; box-shadow: 0 20px 40px -18px rgba(0,0,0,.55); max-width: 260px; }
.ph-float .ph-float-icon { width: 38px; height: 38px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, #1E6FF2, #7C3AED); flex: 0 0 38px; }
.ph-float strong { display: block; font-size: .92rem; }
.ph-float span { font-size: .78rem; color: var(--site-muted); }
/* Info cards on the right (contact page) */
.ph-cards { display: grid; gap: 12px; }
.ph-card { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  color: #fff; text-decoration: none; transition: background-color .15s ease, transform .15s ease; }
a.ph-card:hover { background: rgba(255,255,255,.14); transform: translateY(-1px); }
.ph-card i { width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.14); font-size: 1.05rem; flex: 0 0 42px; }
.ph-card strong { display: block; font-size: .98rem; }
.ph-card span { font-size: .84rem; color: #C9D6EE; }

/* ---------- Closing CTA band ---------- */
.cta-band { padding: 72px 20px; background: #fff; }
.cta-band-inner { position: relative; overflow: hidden; max-width: 1120px; margin: 0 auto; border-radius: 28px; padding: 52px 40px; color: #fff; background: var(--site-glow);
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 36px; align-items: center; box-shadow: 0 40px 80px -40px rgba(11,27,63,.7); }
.cta-band h2 { margin: 0 0 10px; font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.12; letter-spacing: -.03em; font-weight: 800; color: #fff; }
.cta-band p { margin: 0 0 22px; color: #D6E1F5; font-size: 1.05rem; line-height: 1.6; }
.cta-band .ph-ctas { margin-bottom: 0; }
.cta-band ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cta-band li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.cta-band li i { color: #FFB347; margin-top: 3px; width: 18px; text-align: center; }
.cta-band li strong { display: block; font-size: .95rem; }
.cta-band li span { font-size: .84rem; color: #C9D6EE; }

/* ---------- Demo request page ---------- */
.ph > .demo-wrap { position: relative; z-index: 1; }
.demo-wrap h1 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.1; letter-spacing: -.035em; font-weight: 800; margin: 0 0 16px; color: #fff; }
.demo-wrap { max-width: 1180px; margin: 0 auto; padding: 48px 24px 72px; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 40px; align-items: start; }
.demo-steps { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.demo-steps li { counter-increment: s; display: flex; gap: 14px; align-items: flex-start; }
.demo-steps li::before { content: counter(s); width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; color: #fff; background: linear-gradient(135deg, #1E6FF2, #7C3AED); }
.demo-steps strong { display: block; color: #fff; }
.demo-steps span { color: #C9D6EE; font-size: .92rem; }
.demo-card { background: #fff; color: var(--site-ink); border-radius: 24px; padding: 30px; box-shadow: 0 40px 80px -36px rgba(0,0,0,.6); }
.demo-card h2 { margin: 0 0 6px; font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; }
.demo-card > p { margin: 0 0 20px; color: var(--site-muted); }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.demo-field { display: grid; gap: 6px; margin-bottom: 14px; }
.demo-field label { font-size: .86rem; font-weight: 600; }
.demo-field input, .demo-field textarea, .demo-field select { width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid #CBD5E1; border-radius: 10px; font: inherit; font-size: .98rem; color: var(--site-ink); background: #fff; }
.demo-field textarea { min-height: 110px; resize: vertical; }
.demo-field input:focus, .demo-field textarea:focus, .demo-field select:focus { outline: none; border-color: var(--site-blue); box-shadow: 0 0 0 4px rgba(30,111,242,.14); }
.demo-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.demo-seg label { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border: 1px solid #CBD5E1; border-radius: 10px; cursor: pointer; font-weight: 600; font-size: .92rem; }
.demo-seg input { accent-color: var(--site-blue); width: 18px; height: 18px; min-height: 0; flex: 0 0 18px; margin: 0; padding: 0; }
.demo-seg label:has(input:checked) { border-color: var(--site-blue); background: #EFF6FF; color: #1E3A8A; }
.demo-submit { width: 100%; min-height: 50px; border: 0; border-radius: 12px; background: var(--site-blue); color: #fff; font: 700 1rem/1 inherit; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 12px 24px -12px rgba(30,111,242,.9); }
.demo-submit:hover { background: #0F5AE6; }
.demo-note { margin: 12px 0 0; font-size: .8rem; color: var(--site-muted); text-align: center; }
.demo-note a { color: inherit; }
.demo-done { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46; margin-bottom: 18px; }
.demo-done i { font-size: 1.3rem; margin-top: 2px; }
.demo-error { background: #FEF2F2; border-color: #FECACA; color: #991B1B; }

@media (max-width: 960px) {
  .ph-inner { grid-template-columns: 1fr; gap: 28px; padding: 36px 20px 44px; }
  .ph-visual { max-width: 560px; }
  .ph-float { left: 12px; bottom: 12px; }
  .cta-band { padding: 48px 16px; }
  .cta-band-inner { grid-template-columns: 1fr; padding: 34px 22px; border-radius: 22px; }
  .demo-wrap { grid-template-columns: 1fr; padding: 28px 16px 48px; }
}
@media (max-width: 560px) {
  .ph-btn { flex: 1 1 100%; justify-content: center; }
  .ph-visual img.ph-img { aspect-ratio: 16 / 10; }
  .ph-float { display: none; }
  .demo-grid, .demo-seg { grid-template-columns: 1fr; }
  .demo-card { padding: 22px 18px; }
}
@media (prefers-reduced-motion: reduce) { .ph-btn, .ph-card { transition: none; } .ph-btn:hover { transform: none; } }
