:root {
  --night: #071617;
  --night-soft: #0b2020;
  --surface: rgba(13, 37, 36, 0.88);
  --surface-solid: #0e2827;
  --surface-light: #153432;
  --line: rgba(198, 211, 166, 0.14);
  --line-strong: rgba(198, 211, 166, 0.27);
  --cream: #f1f0e7;
  --muted: #9dafaa;
  --muted-light: #c3ceca;
  --olive: #b7be78;
  --olive-soft: #d0d6a0;
  --teal: #2f837b;
  --teal-light: #78b8ae;
  --danger: #e59b88;
  --success: #9fc98e;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  --radius-lg: 24px;
  --radius-md: 17px;
  --radius-sm: 12px;
  --max-width: 1320px;
  font-synthesis: none;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  background: var(--night);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--cream);
  background:
    radial-gradient(circle at 84% 6%, rgba(48, 117, 105, 0.16), transparent 26rem),
    radial-gradient(circle at 5% 70%, rgba(142, 151, 89, 0.08), transparent 24rem),
    var(--night);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }

button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--olive-soft);
  outline-offset: 3px;
}

svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--cream);
  color: var(--night);
  border-radius: 8px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.ambient { position: fixed; z-index: -1; pointer-events: none; filter: blur(2px); opacity: .5; }
.ambient-one { width: 480px; height: 480px; right: -240px; top: 110px; border: 1px solid rgba(143, 191, 178, .08); border-radius: 50%; box-shadow: 0 0 100px rgba(53, 128, 116, .06) inset; }
.ambient-two { width: 250px; height: 250px; left: -150px; bottom: 50px; border: 1px solid rgba(183, 190, 120, .07); transform: rotate(45deg); }

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  padding: 0 max(24px, calc((100vw - var(--max-width)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(7, 22, 23, .84);
  backdrop-filter: blur(18px);
}

.brand { display: inline-flex; align-items: center; gap: 12px; width: max-content; }
.brand-mark { display: flex; align-items: end; gap: 3px; width: 31px; height: 31px; padding: 4px; border: 1px solid rgba(183, 190, 120, .45); border-radius: 50% 50% 46% 54%; transform: rotate(-8deg); }
.brand-mark span { display: block; width: 5px; border-radius: 4px 4px 0 0; background: var(--olive); transform: rotate(8deg); }
.brand-mark span:nth-child(1) { height: 9px; }
.brand-mark span:nth-child(2) { height: 16px; }
.brand-mark span:nth-child(3) { height: 12px; }
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font-size: 15px; letter-spacing: .24em; font-weight: 650; }
.brand-copy small { margin-top: 6px; color: var(--muted); font-size: 9px; letter-spacing: .03em; }

.desktop-nav { display: flex; gap: 7px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: rgba(10, 30, 30, .65); }
.nav-link { border: 0; border-radius: 999px; padding: 9px 16px; color: var(--muted); background: transparent; cursor: pointer; font-size: 13px; transition: .2s ease; }
.nav-link:hover { color: var(--cream); }
.nav-link.active { color: var(--night); background: var(--olive-soft); font-weight: 650; }

.reset-button { justify-self: end; display: inline-flex; align-items: center; gap: 8px; border: 0; padding: 10px; color: var(--muted); background: transparent; cursor: pointer; font-size: 12px; }
.reset-button:hover { color: var(--cream); }
.reset-button svg { width: 17px; height: 17px; }

main { width: min(var(--max-width), calc(100% - 48px)); margin: 0 auto; }
.view { animation: view-in .35s ease both; }
.view[hidden] { display: none !important; }
@keyframes view-in { from { opacity: 0; transform: translateY(8px); } }

.hero { padding: 52px 0 32px; }
.compact-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.eyebrow-row { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.eyebrow, .section-kicker { color: var(--olive); font-size: 10px; font-weight: 750; letter-spacing: .19em; }
.demo-badge { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted-light); background: rgba(22, 51, 49, .55); font-size: 10px; }
.demo-badge i, .assistant-identity i { width: 6px; height: 6px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(159, 201, 142, .1); }
.hero h1, .section-hero h1 { margin: 0; max-width: 760px; font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.035em; line-height: .98; }
.hero h1 { font-size: clamp(39px, 5.2vw, 67px); }
.hero h1 span, .section-hero h1 span { color: var(--olive-soft); font-style: italic; }
.hero p { max-width: 580px; margin: 19px 0 0; color: var(--muted-light); font-size: 16px; }
.hero-proof { display: grid; gap: 8px; min-width: 230px; padding: 16px 18px; border-left: 1px solid var(--line-strong); color: var(--muted); font-size: 11px; }
.hero-proof span { display: flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 14px; color: var(--olive); }

.assistant-layout { display: grid; grid-template-columns: minmax(0, 1.72fr) minmax(290px, .78fr); gap: 20px; padding-bottom: 54px; }
.chat-card, .insight-card { border: 1px solid var(--line); background: linear-gradient(145deg, rgba(15, 42, 41, .94), rgba(8, 28, 28, .92)); box-shadow: var(--shadow); }
.chat-card { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(320px, 1fr) auto auto auto; min-height: 648px; overflow: hidden; border-radius: var(--radius-lg); }
.chat-header { display: flex; align-items: center; justify-content: space-between; min-height: 72px; padding: 14px 19px; border-bottom: 1px solid var(--line); background: rgba(6, 23, 23, .36); }
.assistant-identity { display: flex; align-items: center; gap: 12px; }
.assistant-avatar { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(183, 190, 120, .28); border-radius: 13px; color: var(--olive-soft); background: linear-gradient(145deg, rgba(183, 190, 120, .16), rgba(47, 131, 123, .1)); }
.assistant-avatar svg { width: 21px; }
.assistant-identity > div:last-child { display: grid; }
.assistant-identity strong { font-size: 13px; }
.assistant-identity span { display: flex; align-items: center; gap: 7px; margin-top: 3px; color: var(--muted); font-size: 10px; }
.icon-button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid transparent; border-radius: 11px; color: var(--muted); background: transparent; cursor: pointer; }
.icon-button:hover { border-color: var(--line); color: var(--cream); background: rgba(255,255,255,.03); }
.icon-button svg { width: 18px; height: 18px; }

.chat-scroll { min-width: 0; overflow: auto; max-height: 500px; min-height: 335px; padding: 24px 20px 12px; scrollbar-width: thin; scrollbar-color: rgba(183,190,120,.25) transparent; }
.messages { display: grid; min-width: 0; gap: 18px; }
.message { display: flex; gap: 10px; max-width: 88%; animation: message-in .28s ease both; }
.message.user { justify-self: end; flex-direction: row-reverse; }
@keyframes message-in { from { opacity: 0; transform: translateY(7px) scale(.98); } }
.message-mini-avatar { flex: 0 0 28px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; color: var(--olive-soft); background: rgba(183,190,120,.12); font-size: 11px; }
.message.user .message-mini-avatar { color: #e9f1ee; background: var(--teal); }
.message-body { display: grid; min-width: 0; gap: 9px; }
.bubble { min-width: 0; overflow-wrap: anywhere; padding: 13px 15px; border: 1px solid var(--line); border-radius: 6px 17px 17px 17px; color: #dfe7e3; background: rgba(20, 52, 50, .72); font-size: 13px; line-height: 1.55; }
.message.user .bubble { border-color: rgba(81, 154, 143, .32); border-radius: 17px 6px 17px 17px; background: rgba(40, 115, 105, .48); }
.bubble p { margin: 0 0 8px; }
.bubble p:last-child { margin-bottom: 0; }
.message-meta { color: #728b86; font-size: 9px; }
.message.user .message-meta { text-align: right; }
.medical-note { display: flex; gap: 7px; padding: 9px 10px; border-left: 2px solid var(--olive); color: #c5cec2; background: rgba(183,190,120,.07); font-size: 10px; }
.medical-note svg { flex: 0 0 14px; width: 14px; margin-top: 1px; }
.source-details { width: fit-content; border: 1px solid var(--line); border-radius: 9px; background: rgba(7, 25, 25, .45); font-size: 10px; }
.source-details summary { display: flex; align-items: center; gap: 7px; padding: 8px 10px; color: var(--muted-light); cursor: pointer; list-style: none; }
.source-details summary::-webkit-details-marker { display: none; }
.source-details summary::after { content: "+"; margin-left: auto; color: var(--olive); }
.source-details[open] summary::after { content: "−"; }
.source-details p { margin: 0; padding: 0 10px 9px 27px; color: var(--olive-soft); }
.source-details svg { width: 12px; }
.message-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.action-button { padding: 7px 10px; border: 1px solid rgba(183,190,120,.22); border-radius: 8px; color: var(--olive-soft); background: rgba(183,190,120,.06); cursor: pointer; font-size: 10px; }
.action-button:hover { border-color: rgba(183,190,120,.5); background: rgba(183,190,120,.12); }
.action-button.primary-action { color: var(--night); background: var(--olive-soft); font-weight: 700; }

.typing { align-items: center; gap: 4px; width: max-content; margin: 15px 0 0 38px; padding: 9px 12px; border-radius: 12px; color: var(--muted); background: rgba(20,52,50,.7); }
.typing:not([hidden]) { display: flex; }
.typing span { width: 5px; height: 5px; border-radius: 50%; background: var(--olive); animation: bounce 1.1s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
.typing small { margin-left: 5px; font-size: 9px; }
@keyframes bounce { 0%, 70%, 100% { transform: translateY(0); opacity: .5; } 35% { transform: translateY(-4px); opacity: 1; } }

.quick-area { padding: 11px 19px 13px; border-top: 1px solid var(--line); background: rgba(8, 28, 28, .35); }
.quick-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; color: var(--muted-light); font-size: 10px; }
.quick-heading small { color: #66807b; font-size: 9px; }
.quick-prompts { display: flex; gap: 7px; overflow-x: auto; padding: 1px 1px 5px; scrollbar-width: none; }
.quick-prompts::-webkit-scrollbar { display: none; }
.quick-prompts button { flex: 0 0 auto; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted-light); background: rgba(255,255,255,.02); cursor: pointer; font-size: 10px; }
.quick-prompts button:hover { border-color: var(--line-strong); color: var(--cream); }
.chat-form { display: flex; align-items: flex-end; gap: 10px; padding: 13px 18px 8px; border-top: 1px solid var(--line); }
.chat-form textarea { flex: 1; min-height: 44px; max-height: 110px; resize: none; padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; color: var(--cream); background: rgba(5, 20, 20, .62); font-size: 13px; }
.chat-form textarea::placeholder { color: #6f8681; }
.send-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 12px; color: var(--night); background: var(--olive-soft); cursor: pointer; font-size: 11px; font-weight: 750; }
.send-button:hover { background: #e0e4b5; }
.send-button:disabled { opacity: .5; cursor: wait; }
.send-button svg { width: 16px; }
.privacy-note { display: flex; align-items: center; justify-content: center; gap: 5px; margin: 0; padding: 0 14px 11px; color: #627b76; font-size: 8px; }
.privacy-note svg { width: 11px; }

.insight-column { display: grid; align-content: start; gap: 16px; }
.insight-card { padding: 19px; border-radius: var(--radius-md); box-shadow: 0 20px 50px rgba(0,0,0,.18); }
.card-title-row { display: flex; justify-content: space-between; gap: 14px; }
.card-title-row h2 { margin: 5px 0 0; font-family: Georgia, serif; font-size: 20px; font-weight: 400; }
.live-pulse { width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: var(--teal-light); box-shadow: 0 0 0 5px rgba(120,184,174,.08); }
.empty-insight { display: grid; place-items: center; min-height: 175px; padding: 20px; text-align: center; }
.empty-insight p { max-width: 220px; margin: 18px 0 0; color: #78908b; font-size: 11px; }
.radar-icon { position: relative; display: grid; place-items: center; width: 62px; height: 62px; border: 1px solid rgba(120,184,174,.16); border-radius: 50%; }
.radar-icon::before, .radar-icon::after { content: ""; position: absolute; border: 1px solid rgba(120,184,174,.12); border-radius: 50%; }
.radar-icon::before { inset: 10px; }.radar-icon::after { inset: 20px; }
.radar-icon span { width: 6px; height: 6px; border-radius: 50%; background: var(--teal-light); box-shadow: 0 0 14px var(--teal-light); }
.detected-data { display: grid; gap: 0; margin: 18px 0 0; }
.detected-data div { display: grid; grid-template-columns: 88px 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.detected-data dt { color: #718b85; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.detected-data dd { margin: 0; color: var(--muted-light); font-size: 11px; }
.interest-pill { display: inline-block; padding: 2px 7px; border: 1px solid rgba(183,190,120,.23); border-radius: 999px; color: var(--olive-soft); background: rgba(183,190,120,.07); }
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; margin: 17px 0 12px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.metric-grid > div { display: flex; align-items: center; gap: 10px; min-height: 72px; padding: 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metric-grid span { color: var(--olive-soft); font-family: Georgia, serif; font-size: 28px; }
.metric-grid small { color: #78908b; font-size: 9px; line-height: 1.35; }
.source-metric { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 10px; color: var(--muted); background: rgba(255,255,255,.025); font-size: 9px; }
.source-metric span { display: flex; align-items: center; gap: 7px; }.source-metric svg { width: 14px; }.source-metric strong { color: var(--cream); font-size: 15px; }
.value-note { display: flex; gap: 12px; padding: 16px 18px; border: 1px solid rgba(183,190,120,.14); border-radius: var(--radius-md); background: rgba(183,190,120,.045); }
.value-note > span { color: var(--olive); }
.value-note p { margin: 0; color: var(--muted); font-size: 10px; }.value-note strong { color: var(--muted-light); }

.content-view { padding: 72px 0 80px; }
.section-hero { display: grid; place-items: center; margin-bottom: 52px; text-align: center; }
.section-hero h1 { max-width: 890px; margin-top: 17px; font-size: clamp(40px, 6vw, 73px); }
.section-hero p { max-width: 660px; margin: 22px 0 0; color: var(--muted); font-size: 15px; }
.use-case-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.use-case-card { position: relative; min-height: 270px; padding: 21px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: linear-gradient(145deg, rgba(17,44,42,.88), rgba(9,29,29,.82)); transition: transform .25s, border-color .25s; }
.use-case-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.use-case-card::after { content: ""; position: absolute; width: 100px; height: 100px; right: -60px; bottom: -60px; border: 1px solid rgba(183,190,120,.08); border-radius: 50%; }
.case-icon { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(183,190,120,.2); border-radius: 11px; color: var(--olive-soft); background: rgba(183,190,120,.06); font-size: 16px; }
.use-case-card h2 { margin: 29px 0 9px; font-family: Georgia, serif; font-size: 19px; font-weight: 400; }
.use-case-card p { margin: 0; color: var(--muted); font-size: 11px; }
.case-example { margin-top: 18px; padding-top: 13px; border-top: 1px solid var(--line); }
.case-example span { display: block; color: var(--olive); font-size: 8px; letter-spacing: .13em; }
.case-example small { display: block; margin-top: 5px; color: var(--muted-light); font-size: 9px; }
.case-benefit { position: absolute; left: 21px; bottom: 18px; color: #738983; font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }

.section-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 28px; padding: 29px 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(16,42,41,.72); }
.section-cta h2 { margin: 5px 0 0; font-family: Georgia, serif; font-size: 25px; font-weight: 400; }
.primary-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding: 0 19px; border-radius: 11px; cursor: pointer; font-size: 11px; font-weight: 750; }
.primary-button { border: 0; color: var(--night); background: var(--olive-soft); }
.primary-button:hover { background: #e0e4b5; }
.secondary-button { border: 1px solid var(--line-strong); color: var(--muted-light); background: transparent; }
.secondary-button:hover { border-color: var(--olive); color: var(--cream); }

.conversation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.conversation-card { display: grid; align-content: start; min-height: 330px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-md); background: linear-gradient(145deg, rgba(16,43,41,.9), rgba(8,28,28,.84)); }
.conversation-number { color: rgba(183,190,120,.48); font-family: Georgia, serif; font-size: 12px; }
.conversation-card h2 { margin: 14px 0 5px; font-family: Georgia, serif; font-size: 25px; font-weight: 400; }
.conversation-need { margin: 0; color: var(--muted); font-size: 10px; }
.conversation-quote { position: relative; margin: 22px 0 16px; padding: 15px 15px 15px 35px; border-left: 2px solid var(--teal); border-radius: 0 10px 10px 0; color: #d7e2de; background: rgba(47,131,123,.08); font-family: Georgia, serif; font-size: 14px; font-style: italic; }
.conversation-quote::before { content: "“"; position: absolute; left: 12px; top: 7px; color: var(--teal-light); font-size: 25px; }
.conversation-result { display: flex; gap: 8px; margin: 0 0 20px; color: var(--muted); font-size: 9px; }
.conversation-result strong { color: var(--olive); font-weight: 600; }
.replay-button { align-self: end; width: 100%; min-height: 42px; border: 1px solid var(--line-strong); border-radius: 10px; color: var(--olive-soft); background: transparent; cursor: pointer; font-size: 10px; }
.replay-button:hover { background: rgba(183,190,120,.07); }

.adaptation-hero { margin-bottom: 72px; }
.adapt-section { padding: 54px 0; border-top: 1px solid var(--line); }
.section-intro { display: grid; grid-template-columns: 52px 1fr; gap: 16px; max-width: 730px; margin-bottom: 34px; }
.step-number { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--olive); font-family: Georgia, serif; font-size: 13px; }
.section-intro h2 { margin: 0; font-family: Georgia, serif; font-size: 30px; font-weight: 400; }.section-intro p { margin: 7px 0 0; color: var(--muted); font-size: 12px; }
.customization-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.customization-item { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 13px; border: 1px solid var(--line); border-radius: 11px; color: var(--muted-light); background: rgba(255,255,255,.018); font-size: 10px; }
.customization-item span { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 8px; color: var(--olive); background: rgba(183,190,120,.07); }
.integration-cloud { display: flex; flex-wrap: wrap; gap: 10px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(12,35,34,.6); }
.integration-tag { display: inline-flex; align-items: center; gap: 8px; min-height: 39px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted-light); background: rgba(255,255,255,.02); font-size: 10px; }
.integration-tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--teal-light); }
.level-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }
.level-card { position: relative; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(14,39,38,.78); }
.level-card.featured { border-color: rgba(183,190,120,.38); background: linear-gradient(145deg, rgba(41,65,48,.62), rgba(13,41,39,.9)); }
.level-label { color: var(--olive); font-size: 9px; letter-spacing: .15em; }.level-card h3 { margin: 16px 0 9px; font-family: Georgia, serif; font-size: 24px; font-weight: 400; }.level-card p { min-height: 38px; margin: 0; color: var(--muted); font-size: 11px; }
.level-card ul { display: grid; gap: 10px; padding: 18px 0 0; margin: 22px 0 0; border-top: 1px solid var(--line); list-style: none; }.level-card li { color: var(--muted-light); font-size: 10px; }.level-card li::before { content: "✓"; margin-right: 8px; color: var(--olive); }
.recommended { position: absolute; top: -10px; right: 17px; padding: 4px 8px; border-radius: 999px; color: var(--night); background: var(--olive-soft); font-size: 7px; font-weight: 800; letter-spacing: .08em; }
.process-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; padding: 0; margin: 0; list-style: none; }
.process-list li { position: relative; display: grid; justify-items: center; gap: 13px; text-align: center; }
.process-list li:not(:last-child)::after { content: ""; position: absolute; z-index: -1; top: 20px; left: 52%; width: 96%; border-top: 1px solid var(--line-strong); }
.process-list li > span { display: grid; place-items: center; width: 41px; height: 41px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--night); background: var(--olive-soft); font-family: Georgia, serif; font-size: 13px; }
.process-list strong { display: block; color: var(--muted-light); font-size: 10px; }.process-list small { color: #708681; font-size: 8px; }
.human-control { display: grid; grid-template-columns: auto 1fr; gap: 25px; align-items: center; margin: 50px 0; padding: 32px; border: 1px solid rgba(183,190,120,.24); border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(183,190,120,.08), rgba(47,131,123,.06)); }
.control-icon { display: grid; place-items: center; width: 68px; height: 68px; border: 1px solid var(--line-strong); border-radius: 20px; color: var(--olive-soft); }.control-icon svg { width: 32px; }
.human-control h2 { margin: 7px 0; font-family: Georgia, serif; font-size: 28px; font-weight: 400; }.human-control p { max-width: 810px; margin: 0; color: var(--muted); font-size: 11px; }
.final-cta { display: grid; grid-template-columns: 1.3fr auto; align-items: end; gap: 40px; padding: 45px; border-radius: var(--radius-lg); background: linear-gradient(135deg, #1b443f, #263d32); box-shadow: var(--shadow); }
.final-cta h2 { max-width: 680px; margin: 13px 0; font-family: Georgia, serif; font-size: clamp(30px, 4vw, 46px); font-weight: 400; line-height: 1.08; }.final-cta p { max-width: 650px; margin: 0; color: #b5c5c0; font-size: 12px; }.cta-actions { display: grid; gap: 10px; min-width: 225px; }

.mobile-nav { display: none; }
.contact-dialog { width: min(680px, calc(100% - 28px)); max-height: calc(100vh - 28px); padding: 0; overflow: auto; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); color: var(--cream); background: #0d2927; box-shadow: 0 35px 100px rgba(0,0,0,.58); }
.contact-dialog::backdrop { background: rgba(2,11,12,.75); backdrop-filter: blur(7px); }
.dialog-shell { padding: 28px; }
.dialog-head { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 25px; }.dialog-head h2 { margin: 6px 0 3px; font-family: Georgia, serif; font-size: 31px; font-weight: 400; }.dialog-head p { margin: 0; color: var(--muted); font-size: 11px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }.form-grid label { display: grid; gap: 6px; }.form-grid label > span { color: var(--muted-light); font-size: 9px; }.full-field { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; min-height: 43px; padding: 10px 11px; border: 1px solid var(--line); border-radius: 9px; color: var(--cream); background: rgba(5,21,21,.62); font-size: 11px; }.form-grid textarea { resize: vertical; }.form-grid option { background: var(--surface-solid); }.form-grid input::placeholder, .form-grid textarea::placeholder { color: #657d78; }
.form-grid input:invalid:not(:placeholder-shown), .form-grid select:invalid.user-invalid { border-color: var(--danger); }
.demo-notice { display: flex; gap: 8px; margin: 17px 0; padding: 10px; border-radius: 8px; color: var(--muted); background: rgba(183,190,120,.055); font-size: 9px; }.demo-notice svg { flex: 0 0 14px; width: 14px; color: var(--olive); }.dialog-submit { width: 100%; }.form-error { margin: 12px 0 0; color: var(--danger); font-size: 10px; }
.success-state { display: grid; justify-items: center; min-height: 390px; align-content: center; text-align: center; }.success-icon { display: grid; place-items: center; width: 70px; height: 70px; border: 1px solid rgba(159,201,142,.4); border-radius: 50%; color: var(--success); background: rgba(159,201,142,.08); }.success-icon svg { width: 34px; }.success-state h3 { margin: 22px 0 7px; font-family: Georgia, serif; font-size: 27px; font-weight: 400; }.success-state p { margin: 0; color: var(--muted-light); font-size: 12px; }.success-state small { margin: 8px 0 22px; color: #6d8580; font-size: 9px; }
.toast { position: fixed; z-index: 100; right: 20px; bottom: 20px; max-width: 330px; padding: 13px 17px; border: 1px solid var(--line-strong); border-radius: 11px; color: var(--cream); background: #183b38; box-shadow: var(--shadow); font-size: 11px; animation: toast-in .25s ease; }.toast[hidden] { display: none; }@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 1080px) {
  .site-header { grid-template-columns: 1fr auto; }.desktop-nav { display: none; }
  .assistant-layout { grid-template-columns: minmax(0, 1.5fr) minmax(265px, .7fr); }
  .use-case-grid { grid-template-columns: repeat(3, 1fr); }.use-case-card:nth-last-child(-n+1) { grid-column: auto; }
  .customization-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 800px) {
  body { padding-bottom: 74px; }
  .site-header { min-height: 64px; padding: 0 18px; }.brand-copy small, .reset-button span { display: none; }
  main { width: min(100% - 28px, 690px); }
  .compact-hero { display: block; padding: 32px 1px 23px; }.hero h1 { font-size: clamp(38px, 11vw, 53px); }.hero p { font-size: 13px; }.hero-proof { display: none; }.eyebrow-row { flex-wrap: wrap; gap: 10px; }
  .assistant-layout { display: block; }.chat-card { min-height: calc(100svh - 225px); border-radius: 20px; }.chat-scroll { min-height: 330px; max-height: 52svh; }
  .insight-column { margin-top: 14px; }.detected-card { order: 0; }.metrics-card { order: 1; }.value-note { order: 2; }
  .mobile-nav { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); min-height: 66px; padding: 6px max(9px, env(safe-area-inset-right)) max(6px, env(safe-area-inset-bottom)) max(9px, env(safe-area-inset-left)); border-top: 1px solid var(--line); background: rgba(7,22,23,.95); backdrop-filter: blur(18px); }
  .mobile-nav-link { display: grid; justify-items: center; align-content: center; gap: 3px; border: 0; border-radius: 10px; color: #728a85; background: transparent; cursor: pointer; font-size: 8px; }.mobile-nav-link svg { width: 19px; height: 19px; }.mobile-nav-link.active { color: var(--olive-soft); background: rgba(183,190,120,.06); }
  .content-view { padding: 43px 0 50px; }.section-hero { margin-bottom: 34px; }.section-hero h1 { font-size: clamp(38px, 12vw, 56px); }.section-hero p { font-size: 12px; }
  .use-case-grid, .conversation-grid { grid-template-columns: 1fr 1fr; }.section-cta { align-items: flex-start; flex-direction: column; }.conversation-card { min-height: 320px; }
  .customization-grid { grid-template-columns: 1fr 1fr; }.level-grid { grid-template-columns: 1fr; }.process-list { grid-template-columns: 1fr; gap: 0; }.process-list li { grid-template-columns: 46px 1fr; justify-items: start; align-items: center; gap: 14px; min-height: 72px; text-align: left; }.process-list li:not(:last-child)::after { top: 42px; left: 20px; width: 1px; height: 54px; border-top: 0; border-left: 1px solid var(--line-strong); }
  .final-cta { grid-template-columns: 1fr; padding: 31px; }.cta-actions { min-width: 0; }.human-control { align-items: start; }
  .toast { bottom: 82px; }
}

@media (max-width: 540px) {
  main { width: calc(100% - 20px); }.site-header { padding: 0 13px; }.brand-copy strong { font-size: 13px; }.brand-mark { width: 28px; height: 28px; }
  .hero { padding-top: 27px; }.hero h1 { font-size: 41px; }.hero p { margin-top: 14px; line-height: 1.45; }.eyebrow { font-size: 9px; }
  .chat-card { min-height: 650px; }.chat-header { min-height: 64px; padding: 12px 14px; }.assistant-avatar { width: 36px; height: 36px; }.chat-scroll { padding: 20px 13px 10px; max-height: 58svh; }.message { max-width: 96%; }.bubble { padding: 11px 12px; font-size: 12px; }.message-mini-avatar { display: none; }.typing { margin-left: 0; }
  .quick-area { padding-inline: 13px; }.chat-form { padding-inline: 12px; }.send-button { width: 45px; padding: 0; }.send-button span { display: none; }.privacy-note { font-size: 7px; }
  .insight-card { padding: 17px; }.metric-grid > div { min-height: 65px; }.metric-grid span { font-size: 25px; }
  .use-case-grid, .conversation-grid { grid-template-columns: 1fr; }.use-case-card { min-height: 255px; }.conversation-card { min-height: 310px; }.section-cta { padding: 24px; }.section-cta .primary-button { width: 100%; }
  .adaptation-hero { margin-bottom: 47px; }.adapt-section { padding: 40px 0; }.section-intro { grid-template-columns: 42px 1fr; gap: 11px; }.section-intro h2 { font-size: 25px; }.customization-grid { grid-template-columns: 1fr; }.integration-cloud { padding: 18px; gap: 7px; }.integration-tag { min-height: 35px; padding: 0 11px; font-size: 9px; }.level-card { padding: 22px; }
  .human-control { grid-template-columns: 1fr; padding: 24px; }.control-icon { width: 54px; height: 54px; }.human-control h2 { font-size: 24px; }.final-cta { padding: 26px 22px; }.final-cta h2 { font-size: 31px; }
  .dialog-shell { padding: 21px 17px; }.form-grid { grid-template-columns: 1fr; }.full-field { grid-column: auto; }.contact-dialog { max-height: calc(100svh - 20px); }.dialog-head h2 { font-size: 27px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Navegación global de Ailura: aislada de los menús propios de la demo. */
body { overflow-x: hidden; }

.ailura-global-header {
  position: relative;
  z-index: 90;
  color: #f1f0e7;
  background: #061416;
  border-bottom: 1px solid rgba(198, 211, 166, .16);
}

.ailura-global-shell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1440px, 100%);
  min-height: 62px;
  margin: 0 auto;
  padding: 8px 24px;
}

.ailura-global-brand {
  display: grid;
  flex: 0 0 auto;
  width: max-content;
  line-height: 1;
}

.ailura-global-brand strong { font-size: 15px; font-weight: 700; letter-spacing: .24em; }
.ailura-global-brand small { margin-top: 6px; color: #9dafaa; font-size: 9px; letter-spacing: .03em; }

.ailura-global-nav { display: block; position: static; padding: 0; border: 0; background: transparent; }
.ailura-global-menu { display: flex; align-items: center; gap: 5px; }

.ailura-global-menu > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #b9c7c2;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}

.ailura-global-menu > a:hover { color: #fff; background: rgba(255, 255, 255, .045); }
.ailura-global-menu > a[aria-current="page"] { color: #d0d6a0; background: rgba(183, 190, 120, .08); border-color: rgba(183, 190, 120, .18); }
.ailura-global-menu > .ailura-global-cta { margin-left: 5px; color: #071617; background: #b7be78; border-color: #b7be78; font-weight: 750; }
.ailura-global-menu > .ailura-global-cta:hover { color: #071617; background: #d0d6a0; border-color: #d0d6a0; }

.ailura-global-toggle {
  display: none;
  place-items: center;
  align-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(198, 211, 166, .24);
  border-radius: 10px;
  color: #f1f0e7;
  background: rgba(255, 255, 255, .025);
  cursor: pointer;
}

.ailura-global-toggle span { display: block; width: 19px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .18s ease, opacity .18s ease; }
.ailura-global-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ailura-global-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ailura-global-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.ailura-global-brand:focus-visible,
.ailura-global-menu > a:focus-visible,
.ailura-global-toggle:focus-visible { outline: 2px solid #d0d6a0; outline-offset: 3px; }

@media (max-width: 820px) {
  .ailura-global-shell { min-height: 60px; padding: 8px 14px; }
  .ailura-global-toggle { display: grid; }
  .ailura-global-nav {
    display: none;
    position: absolute;
    z-index: 95;
    top: calc(100% + 8px);
    right: 12px;
    left: 12px;
    padding: 8px;
    border: 1px solid rgba(198, 211, 166, .22);
    border-radius: 14px;
    background: #0b2020;
    box-shadow: 0 22px 55px rgba(0, 0, 0, .42);
  }
  .ailura-global-nav[data-open="true"] { display: block; }
  .ailura-global-menu { display: grid; gap: 4px; }
  .ailura-global-menu > a { justify-content: flex-start; min-height: 48px; padding: 12px 14px; font-size: 14px; }
  .ailura-global-menu > .ailura-global-cta { justify-content: center; margin: 5px 0 0; }
}
