.landing-page { background: #f8fafc; color: #0f172a; }
.landing-skip-link { position: fixed; z-index: 50; left: 1rem; top: -5rem; border-radius: .5rem; background: #fff; color: #1d4ed8; padding: .625rem 1rem; font-size: .875rem; font-weight: 700; box-shadow: 0 10px 25px rgb(0 0 0 / .18); }
.landing-skip-link:focus { top: 1rem; }
.landing-container { max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .landing-container { padding: 0 2.5rem; } }
.landing-page svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.landing-page [hidden] { display: none !important; }

/* Hero */
.landing-hero { position: relative; isolation: isolate; overflow: hidden; background: #07152e; color: #fff; }
.landing-hero-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; opacity: .5; }
.landing-hero-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(4 13 31 / .97) 0%, rgb(4 13 31 / .88) 45%, rgb(4 13 31 / .6) 100%); }
.landing-hero-inner { padding-top: 1.25rem; }
.landing-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.landing-brand { display: inline-flex; min-height: 2.75rem; align-items: center; border-radius: .5rem; }
.landing-brand:focus-visible, .landing-nav-action:focus-visible, .landing-button:focus-visible { outline: 3px solid #93c5fd; outline-offset: 3px; }
.landing-nav-action, .landing-button { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 2.75rem; border-radius: .55rem; font-size: .875rem; font-weight: 700; transition: transform 150ms ease, background-color 150ms ease; }
.landing-nav-action { display: none; border: 1px solid rgb(255 255 255 / .24); padding: 0 1rem; color: #fff; background: rgb(15 23 42 / .35); }
.landing-nav-action:hover { background: rgb(255 255 255 / .13); }
.landing-button { min-height: 3rem; padding: 0 1.4rem; background: #fff; color: #0f2858; font-size: .95rem; box-shadow: 0 10px 24px rgb(0 0 0 / .25); }
.landing-button:hover { transform: translateY(-1px); }
@media (min-width: 640px) { .landing-nav-action { display: inline-flex; } }

.landing-hero-grid { display: grid; gap: 2rem; padding: 2rem 0 1.75rem; }
.landing-pill { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .75rem .35rem .6rem; border: 1px solid rgb(120 169 246 / .35); border-radius: 999px; background: rgb(120 169 246 / .12); color: #bfdbfe; font-size: .7rem; font-weight: 800; letter-spacing: .13em; }
.landing-pill svg { width: .95rem; height: .95rem; stroke: #F0B44D; stroke-width: 1.9; }
.landing-title { margin-top: 1.25rem; font-size: 2.75rem; line-height: 1.02; font-weight: 700; letter-spacing: -.04em; }
.landing-lead { margin-top: 1rem; max-width: 31rem; font-size: 1rem; line-height: 1.6; color: #cbd5e1; }
.landing-hero-actions { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.landing-hero-actions .landing-button { width: 100%; }
.landing-access-note { font-size: .82rem; line-height: 1.5; color: #94a3b8; text-align: center; }
@media (min-width: 640px) {
  .landing-hero-grid { padding: 4rem 0 3rem; }
  .landing-title { font-size: 3.75rem; }
  .landing-lead { font-size: 1.15rem; }
  .landing-hero-actions { align-items: flex-start; }
  .landing-hero-actions .landing-button { width: auto; }
  .landing-access-note { text-align: left; font-size: .875rem; }
}
@media (min-width: 1024px) {
  .landing-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 3.5rem; padding: 5rem 0 5.5rem; }
  .landing-title { font-size: 4.5rem; letter-spacing: -.045em; }
  .landing-hero-actions { margin-top: 2.25rem; }
}

/* Hero visual: the chat sits in front of the dashboard on wide screens; on small ones only the chat shows. */
.landing-hero-visual { position: relative; }
.landing-dash--hero { display: none; }
@media (min-width: 1024px) {
  .landing-hero-visual { height: 34rem; }
  .landing-dash--hero { display: block; position: absolute; top: 0; right: 0; width: 86%; opacity: .92; box-shadow: 0 30px 70px rgb(0 0 0 / .4); }
  .landing-hero-visual .landing-chat { position: absolute; left: 0; bottom: 0; width: 64%; }
  .landing-dash--inline { display: none; }
}

.landing-sample-badge { margin-left: auto; border-radius: 999px; background: #fef3c7; padding: .2rem .5rem; color: #92400e; font-size: .68rem; font-weight: 700; white-space: nowrap; }

/* Illustrative dashboard */
.landing-dash { overflow: hidden; border: 1px solid #e2e8f0; border-radius: .9rem; background: #fff; color: #0f172a; }
.landing-dash--inline { margin-top: 1.75rem; box-shadow: 0 14px 30px rgb(15 23 42 / .1); }
.landing-dash-bar { display: flex; align-items: center; gap: .375rem; padding: .55rem .85rem; background: #eef2f7; border-bottom: 1px solid #e2e8f0; }
.landing-dash-dot { width: .55rem; height: .55rem; border-radius: 999px; background: #cbd5e1; }
.landing-dash-body { display: flex; }
.landing-dash-rail { display: flex; width: 3rem; flex-direction: column; align-items: center; gap: .875rem; padding: .875rem 0; background: #0b1f3a; }
.landing-dash-rail span { width: 1.4rem; height: .4rem; border-radius: .2rem; background: #334155; }
.landing-dash-rail span.is-active { height: 1.4rem; border-radius: .4rem; background: #F0B44D; }
.landing-dash-main { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: .625rem; padding: .875rem; }
.landing-dash-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.landing-dash-kpi { border: 1px solid #e2e8f0; border-radius: .6rem; padding: .55rem .7rem; }
.landing-dash-kpi p:first-child { font-size: .7rem; color: #64748b; }
.landing-dash-kpi p:last-child { margin-top: .2rem; font-size: 1.15rem; font-weight: 700; }
.landing-dash-kpi small { font-size: .7rem; font-weight: 500; color: #64748b; }
.landing-dash-kpi--units { display: none; }
.landing-dash-map { height: 7rem; overflow: hidden; border: 1px solid #e2e8f0; border-radius: .6rem; background: #e8eef6; }
.landing-dash-map svg { width: 100%; height: 100%; }
.landing-dash-row { display: flex; align-items: center; gap: .6rem; border: 1px solid #e2e8f0; border-radius: .6rem; padding: .5rem .65rem; font-size: .75rem; }
.landing-dash-row span { min-width: 0; flex: 1; overflow: hidden; color: #64748b; text-overflow: ellipsis; white-space: nowrap; }
.landing-dash-row em { border-radius: 999px; background: #dbeafe; padding: .1rem .5rem; color: #1e40af; font-style: normal; font-weight: 700; }
@media (min-width: 640px) {
  .landing-dash-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .landing-dash-kpi--units { display: block; }
  .landing-dash-map { height: 9.5rem; }
}

/* Illustrative assistant chat */
.landing-chat { display: flex; min-height: 16rem; flex-direction: column; gap: .75rem; border-radius: 1rem; background: #fff; padding: 1rem; color: #0f172a; box-shadow: 0 30px 70px rgb(0 0 0 / .55), 0 0 0 1px rgb(120 169 246 / .35); }
.landing-chat-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.landing-chat-name { display: inline-flex; align-items: center; gap: .5rem; font-size: .82rem; font-weight: 700; }
.landing-chat-avatar { display: flex; width: 1.65rem; height: 1.65rem; align-items: center; justify-content: center; border-radius: .5rem; background: #0f2858; }
.landing-chat-avatar svg { width: .95rem; height: .95rem; stroke: #F0B44D; stroke-width: 2; }
.landing-chat-thread { display: flex; flex-direction: column; gap: .75rem; }
.landing-chat-question { align-self: flex-end; max-width: 88%; border-radius: .9rem .9rem .25rem .9rem; background: #0f2858; padding: .6rem .85rem; color: #fff; font-size: .875rem; line-height: 1.5; }
.landing-chat-question.is-typing::after { content: ""; display: inline-block; width: 2px; height: .95rem; margin-left: 2px; vertical-align: -2px; background: #bfdbfe; animation: landing-caret .9s steps(1) infinite; }
.landing-chat-typing { display: flex; align-self: flex-start; gap: .3rem; border-radius: .9rem .9rem .9rem .25rem; background: #f1f5f9; padding: .75rem .9rem; }
.landing-chat-typing span { width: .45rem; height: .45rem; border-radius: 999px; background: #64748b; animation: landing-dot 1s infinite; }
.landing-chat-typing span:nth-child(2) { animation-delay: .15s; }
.landing-chat-typing span:nth-child(3) { animation-delay: .3s; }
.landing-chat-answer { align-self: flex-start; max-width: 94%; border-radius: .9rem .9rem .9rem .25rem; background: #f1f5f9; padding: .7rem .85rem; font-size: .875rem; line-height: 1.55; }
.landing-chat-answer p + p { margin-top: .375rem; color: #334155; }
.landing-chat-input { display: flex; min-height: 2.75rem; align-items: center; gap: .5rem; margin-top: auto; border: 1px solid #e2e8f0; border-radius: .6rem; padding: 0 .375rem 0 .85rem; color: #64748b; font-size: .875rem; }
.landing-chat-input span:first-child { flex: 1; }
.landing-chat-send { display: flex; width: 2rem; height: 2rem; align-items: center; justify-content: center; border-radius: .5rem; background: #1d4ed8; color: #fff; }
.landing-chat-send svg { width: 1rem; height: 1rem; stroke-width: 2; }
@keyframes landing-caret { 50% { opacity: 0; } }
@keyframes landing-dot { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
@media (min-width: 640px) { .landing-chat { padding: 1.15rem; } }

/* Capability strip */
.landing-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem .875rem; border-top: 1px solid rgb(255 255 255 / .14); padding: 1.15rem 0 1.5rem; color: #e2e8f0; font-size: .82rem; }
.landing-strip li { display: flex; align-items: center; gap: .55rem; }
.landing-strip li.is-featured { color: #fff; font-weight: 700; }
.landing-strip svg { width: .85rem; height: .85rem; flex: none; stroke: #F0B44D; stroke-width: 2; }
.landing-strip-dot { width: .375rem; height: .375rem; flex: none; border-radius: 999px; background: #78A9F6; }
@media (min-width: 640px) { .landing-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.75rem; padding: 1.4rem 0 1.6rem; font-size: .875rem; } }

/* Sections */
.landing-section { background: #fff; padding: 3.5rem 0; }
.landing-section--muted { background: #f8fafc; }
.landing-section--closing { padding-top: 0; }
.landing-eyebrow { color: #1d4ed8; font-size: .7rem; font-weight: 800; letter-spacing: .18em; }
.landing-h2 { margin-top: .65rem; max-width: 45rem; font-size: 1.75rem; line-height: 1.18; font-weight: 700; letter-spacing: -.02em; }
.landing-section-lead { margin-top: .75rem; max-width: 42rem; color: #475569; font-size: .95rem; line-height: 1.6; }
@media (min-width: 640px) {
  .landing-section { padding: 6rem 0; }
  .landing-section--closing { padding: 0 0 5.5rem; }
  .landing-eyebrow { font-size: .75rem; }
  .landing-h2 { font-size: 2.5rem; line-height: 1.12; letter-spacing: -.025em; }
  .landing-section-lead { font-size: 1.05rem; }
}

.landing-ask-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 1.5rem; }
.landing-trust { display: flex; align-items: flex-start; gap: .625rem; border: 1px solid #e2e8f0; border-radius: .6rem; background: #fff; padding: .75rem .875rem; color: #334155; font-size: .875rem; line-height: 1.45; }
.landing-trust svg { width: 1.15rem; height: 1.15rem; flex: none; stroke: #1d4ed8; stroke-width: 1.9; }
.landing-ask-grid, .landing-feature-grid { display: grid; gap: .75rem; margin-top: 1.5rem; }
.landing-ask-card { display: flex; flex-direction: column; gap: .625rem; border: 1px solid #e2e8f0; border-radius: .9rem; background: #fff; padding: 1.15rem; }
.landing-ask-card h3 { color: #1d4ed8; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.landing-ask-card p { border-radius: .75rem .75rem .75rem .25rem; background: #eff6ff; padding: .625rem .75rem; color: #0f2858; font-size: .875rem; line-height: 1.5; }
.landing-feature-card { display: grid; grid-template-columns: auto 1fr; column-gap: .875rem; border: 1px solid #e2e8f0; border-radius: .9rem; background: #f8fafc; padding: 1.15rem; }
.landing-feature-icon { display: flex; width: 2.5rem; height: 2.5rem; grid-row: span 2; align-items: center; justify-content: center; border-radius: .65rem; background: #eff6ff; color: #1d4ed8; }
.landing-feature-icon svg { width: 1.3rem; height: 1.3rem; }
.landing-feature-card h3 { font-size: 1rem; font-weight: 700; }
.landing-feature-card p { margin-top: .25rem; color: #475569; font-size: .875rem; line-height: 1.5; }
@media (min-width: 640px) {
  .landing-ask-grid, .landing-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2.75rem; }
  .landing-ask-card { padding: 1.5rem; }
  .landing-ask-card p { font-size: .95rem; }
  .landing-feature-card { display: block; padding: 1.6rem; }
  .landing-feature-card h3 { margin-top: 1.25rem; font-size: 1.1rem; }
  .landing-feature-card p { margin-top: .5rem; font-size: .925rem; line-height: 1.55; }
}
@media (min-width: 1024px) { .landing-ask-grid, .landing-feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Closing + footer */
.landing-closing { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; border-radius: 1rem; background: #07152e; padding: 1.75rem 1.4rem; color: #fff; }
.landing-closing > div { max-width: 40rem; }
.landing-closing .landing-button { width: 100%; box-shadow: none; }
.landing-closing-title { display: flex; align-items: center; gap: .625rem; font-size: 1.55rem; line-height: 1.25; font-weight: 700; letter-spacing: -.02em; }
.landing-closing-title svg { width: 1.4rem; height: 1.4rem; flex: none; stroke: #F0B44D; stroke-width: 1.9; }
.landing-closing p { margin-top: .625rem; color: #cbd5e1; font-size: .95rem; line-height: 1.5; }
@media (min-width: 640px) {
  .landing-closing { border-radius: 1.25rem; padding: 3.25rem 3rem; }
  .landing-closing .landing-button { width: auto; }
  .landing-closing-title { font-size: 2.1rem; }
}
.landing-footer { background: #07152e; padding: 1.5rem 0 1.75rem; color: #94a3b8; font-size: .82rem; }

@media (prefers-reduced-motion: reduce) {
  .landing-button:hover { transform: none; }
  .landing-chat-question.is-typing::after, .landing-chat-typing span { animation: none; }
}
