:root {
  color: #172033;
  background: #f8fafc;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --primary: #1e293b;
  --secondary: #f8fafc;
  --accent: #f7931e;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--secondary); }
button, input { font: inherit; }
.topbar, main, footer { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.topbar { min-height: 90px; display: flex; align-items: center; justify-content: space-between; }
.brand img { display: block; max-width: 178px; max-height: 58px; object-fit: contain; }
.pilot-badge, .module-state { border-radius: 999px; font-weight: 700; letter-spacing: .04em; }
.pilot-badge { padding: 9px 14px; color: var(--primary); background: color-mix(in srgb, var(--accent) 18%, white); }
.hero { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); gap: 56px; align-items: center; padding: 76px 0 64px; }
.eyebrow { margin: 0 0 14px; color: var(--primary); font-size: .78rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
h1 { max-width: 760px; margin: 0; color: var(--primary); font-size: clamp(2.7rem, 6vw, 5.2rem); line-height: .98; letter-spacing: -.055em; }
.hero-copy { max-width: 690px; margin: 28px 0 0; color: #526071; font-size: clamp(1.08rem, 2vw, 1.35rem); line-height: 1.65; }
.actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 34px; color: #667085; font-size: .9rem; }
.actions button { border: 0; border-radius: 12px; padding: 15px 20px; color: white; background: var(--primary); font-weight: 750; opacity: .72; }
.lilu-note { display: flex; gap: 16px; padding: 28px; border: 1px solid color-mix(in srgb, var(--primary) 12%, white); border-radius: 22px; background: rgba(255,255,255,.75); box-shadow: 0 20px 60px rgba(30,41,59,.08); }
.lilu-note p { margin: 8px 0 0; color: #667085; line-height: 1.55; }
.lilu-dot { flex: 0 0 14px; width: 14px; height: 14px; margin-top: 4px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 7px color-mix(in srgb, var(--accent) 15%, transparent); }
.module-section { padding: 66px 0 74px; border-top: 1px solid color-mix(in srgb, var(--primary) 10%, white); }
.section-heading { max-width: 650px; margin-bottom: 30px; }
h2 { margin: 0; color: var(--primary); font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.04; letter-spacing: -.04em; }
.module-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.module-card { min-height: 220px; padding: 24px; border: 1px solid color-mix(in srgb, var(--primary) 11%, white); border-radius: 18px; background: white; }
.module-state { display: inline-block; padding: 6px 9px; color: var(--primary); background: color-mix(in srgb, var(--accent) 14%, white); font-size: .68rem; text-transform: uppercase; }
.module-card h3 { margin: 54px 0 10px; color: var(--primary); font-size: 1.3rem; }
.module-card p { margin: 0; color: #667085; line-height: 1.55; }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 26px 0 76px; }
.trust-row div { display: flex; flex-direction: column; gap: 6px; padding-left: 16px; border-left: 3px solid var(--accent); }
.trust-row span { color: #667085; }
footer { display: flex; justify-content: space-between; padding: 24px 0 34px; border-top: 1px solid color-mix(in srgb, var(--primary) 10%, white); color: #667085; font-size: .85rem; }
.unavailable { min-height: 100vh; display: grid; place-content: center; max-width: 760px; }
.unavailable h1 { font-size: clamp(2.4rem, 7vw, 5rem); }
.talk-to-lilu { position: fixed; right: 24px; bottom: 22px; z-index: 20; display: inline-flex; align-items: center; gap: 10px; padding: 14px 18px; border: 0; border-radius: 999px; color: white; background: var(--primary); box-shadow: 0 16px 38px rgba(30,41,59,.24); font-weight: 800; cursor: pointer; }
.talk-to-lilu:hover { transform: translateY(-1px); }
.talk-to-lilu:focus-visible, .chat-close:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 60%, white); outline-offset: 3px; }
.talk-status { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 20%, transparent); }
.chat-panel { position: fixed; right: 24px; bottom: 82px; z-index: 30; width: min(390px, calc(100vw - 28px)); overflow: hidden; border: 1px solid color-mix(in srgb, var(--primary) 12%, white); border-radius: 22px; background: white; box-shadow: 0 24px 70px rgba(30,41,59,.24); }
.chat-panel[hidden] { display: none; }
.chat-header { display: flex; align-items: flex-start; justify-content: space-between; padding: 21px 22px 18px; color: white; background: var(--primary); }
.chat-header h2 { margin-top: 4px; color: white; font-size: 1.45rem; letter-spacing: -.025em; }
.chat-kicker { color: color-mix(in srgb, var(--accent) 72%, white); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.chat-close { width: 36px; height: 36px; border: 0; border-radius: 50%; color: white; background: rgba(255,255,255,.12); font-size: 1.45rem; line-height: 1; cursor: pointer; }
.chat-body { padding: 20px 22px 12px; }
.lilu-message { display: flex; align-items: flex-start; gap: 12px; }
.lilu-message p { margin: 0; color: #475467; line-height: 1.55; }
.lilu-avatar { flex: 0 0 34px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--primary); background: color-mix(in srgb, var(--accent) 22%, white); font-weight: 900; }
.support-topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.support-topics span { padding: 7px 10px; border-radius: 999px; color: var(--primary); background: var(--secondary); font-size: .76rem; font-weight: 700; }
.chat-notice { margin: 0; padding: 12px; border-radius: 10px; color: #667085; background: #f8fafc; font-size: .8rem; line-height: 1.45; }
.chat-composer { display: grid; gap: 9px; padding: 14px 22px 22px; }
.chat-composer label { color: var(--primary); font-size: .76rem; font-weight: 800; }
.chat-composer textarea { resize: none; width: 100%; padding: 11px 12px; border: 1px solid #d9dee7; border-radius: 10px; color: #667085; background: #f8fafc; }
.chat-composer button { justify-self: end; padding: 10px 14px; border: 0; border-radius: 9px; color: white; background: var(--primary); font-weight: 750; opacity: .48; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 50px; }
  .module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .topbar, main, footer { width: min(100% - 26px, 1180px); }
  .topbar { min-height: 76px; }
  .brand img { max-width: 140px; max-height: 48px; }
  .hero { padding: 44px 0; }
  .module-grid, .trust-row { grid-template-columns: 1fr; }
  .module-card { min-height: 180px; }
  .module-card h3 { margin-top: 34px; }
  footer { flex-direction: column; gap: 8px; }
  .talk-to-lilu { right: 14px; bottom: 14px; }
  .chat-panel { right: 14px; bottom: 72px; }
}
