:root {
  --ink: #10233f;
  --blue: #1769aa;
  --gold: #f4b942;
  --paper: #f7fafc;
  --line: #dce5ef;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font: 16px/1.6 Arial, sans-serif; background: var(--paper); }
a { color: var(--blue); }
:focus-visible { outline: 3px solid #e09b13; outline-offset: 3px; }
.skip-link { position: absolute; left: 16px; top: -80px; z-index: 10; padding: 10px 16px; background: #fff; color: var(--ink); font-weight: 700; }
.skip-link:focus { top: 10px; }
[id] { scroll-margin-top: 90px; }
header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 2; }
.bar { max-width: 1120px; margin: auto; padding: 16px 22px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-weight: 800; font-size: 1.2rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav { display: flex; gap: 8px 18px; flex-wrap: wrap; }
.nav a { text-decoration: none; font-weight: 600; }
.nav a:hover, .nav a:focus-visible { text-decoration: underline; }
.hero { background: linear-gradient(135deg, #10233f, #1769aa); color: #fff; }
.hero-inner { max-width: 1120px; margin: auto; padding: 88px 22px 94px; }
.eyebrow { letter-spacing: .12em; text-transform: uppercase; color: #d8eaff; font-weight: 700; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 4.4rem); line-height: 1.08; max-width: 900px; margin: 14px 0; text-wrap: balance; }
.hero p { font-size: 1.2rem; max-width: 760px; color: #eaf4ff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 25px; }
.button { display: inline-block; padding: 13px 20px; border-radius: 8px; text-decoration: none; font-weight: 700; text-align: center; }
.button:hover { text-decoration: underline; }
.primary { background: var(--gold); color: #18243b; }
.light { border: 1px solid #fff; color: #fff; }
.section { max-width: 1120px; margin: auto; padding: 64px 22px; }
.section h2 { text-align: center; font-size: 2rem; line-height: 1.2; margin-top: 0; text-wrap: balance; }
.section-intro { max-width: 710px; margin: 0 auto 30px; text-align: center; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; box-shadow: 0 8px 24px #10233f0d; }
.card h3 { margin-top: 0; color: var(--blue); line-height: 1.3; }
.card p { margin-bottom: 0; }
.process { background: #fff; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; counter-reset: step; padding: 0; margin: 32px 0 0; }
.steps li { counter-increment: step; border-top: 3px solid var(--blue); padding-top: 20px; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; color: var(--blue); font-size: .9rem; font-weight: 800; letter-spacing: .08em; }
.steps h3 { margin: 10px 0 8px; line-height: 1.3; }
.steps p { margin: 0; }
.section-link { margin: 30px 0 0; text-align: center; }
.about { background: var(--paper); }
.about p { max-width: 800px; margin: 12px auto; }
.contact { background: #eef6ff; text-align: center; }
.contact p { max-width: 680px; margin: 10px auto; }
.contact .button { margin: 16px 0 6px; }
.footer { background: #10233f; color: #dce8f5; }
.footer a { color: #fff; }
.foot { max-width: 1120px; margin: auto; padding: 28px 22px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.legal { max-width: 820px; margin: auto; padding: 64px 22px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.1; }
.legal h2 { margin-top: 2.2rem; color: var(--blue); }
.legal li { margin: .5rem 0; }
.faq { max-width: 820px; margin: 0 auto; padding: 32px 22px 64px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; margin: 12px 0; }
.faq summary { color: var(--blue); font-weight: 700; cursor: pointer; }
.faq details p { margin-bottom: 0; }
@media (max-width: 900px) {
  .bar { align-items: flex-start; flex-direction: column; gap: 10px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  [id] { scroll-margin-top: 130px; }
}
@media (max-width: 620px) {
  header { position: static; }
  .hero-inner { padding: 64px 22px 70px; }
  .hero p { font-size: 1.08rem; }
  .grid, .steps { grid-template-columns: 1fr; }
  .section { padding: 52px 22px; }
  [id] { scroll-margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.voice-agent { background: #10233f; color: #fff; }
.voice-agent .section { padding-bottom: 66px; }
.voice-agent-card { max-width: 760px; margin: 28px auto 0; padding: 28px; border: 1px solid #ffffff33; border-radius: 16px; background: #ffffff12; box-shadow: 0 18px 40px #06132633; }
.voice-agent-card p { max-width: none; }
.voice-agent-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 20px; }
.voice-agent-actions .button { border: 0; cursor: pointer; font: inherit; }
.voice-agent-actions button[hidden] { display: none; }
.voice-agent-status { min-height: 1.6em; color: #d8eaff; font-weight: 700; }
.voice-agent-status[data-state="error"] { color: #ffd0ca; }
.voice-agent-status[data-state="speaking"] { color: #ffe3a1; }
.voice-agent-status[data-state="connected"], .voice-agent-status[data-state="listening"] { color: #b9f4d0; }
.voice-transcript { display: none; max-height: 180px; overflow: auto; margin-top: 22px; padding: 14px 16px; border-radius: 10px; background: #081a32; color: #eaf4ff; }
.voice-agent-card.is-active .voice-transcript { display: block; }
.voice-line { margin: 6px 0; }
.voice-line--assistant strong { color: #f4b942; }
.voice-line--user strong { color: #a8d6ff; }
