:root {
  color-scheme: dark;
  --ink: #0a1012;
  --ink-2: #10191d;
  --panel: #142125;
  --panel-2: #1b2b30;
  --text: #f3f7f2;
  --muted: #aebdb6;
  --line: rgba(230, 241, 232, 0.14);
  --paper: #f4f0e6;
  --paper-2: #ebe3d3;
  --paper-text: #15201f;
  --green: #6ee77f;
  --cyan: #6fd5dc;
  --amber: #e4bd63;
  --red: #ee6b5e;
  --blue: #5d8edc;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(10, 16, 18, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.header-action,
.header-cluster,
.button {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 12px;
  justify-self: start;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(111, 213, 220, 0.44);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(111, 213, 220, 0.16), transparent 46%),
    #102025;
}

.brand-mark span {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
}

.brand-mark span::before,
.brand-mark span::after {
  position: absolute;
  content: "";
  inset: 4px;
  border-radius: 50%;
  background: var(--green);
}

.brand-mark span::after {
  inset: auto;
  width: 2px;
  height: 9px;
  right: -5px;
  bottom: -4px;
  background: var(--cyan);
  transform: rotate(-42deg);
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 800;
}

.nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(244, 240, 230, 0.05);
}

.nav a {
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
  background: rgba(244, 240, 230, 0.08);
}

.header-action {
  justify-self: end;
  gap: 8px;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(110, 231, 127, 0.42);
  border-radius: 8px;
  color: var(--green);
  font-weight: 750;
}

.header-cluster {
  justify-self: end;
  gap: 10px;
}

.language-menu {
  position: relative;
}

.language-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 850;
  list-style: none;
}

.language-menu summary::-webkit-details-marker {
  display: none;
}

.language-menu summary::after {
  content: "v";
  color: var(--muted);
  font-size: 0.72rem;
}

.language-menu[open] summary,
.language-menu summary:hover,
.language-menu summary:focus-visible {
  color: var(--text);
  background: rgba(244, 240, 230, 0.08);
}

.language-options {
  position: absolute;
  z-index: 40;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  width: 184px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(10, 16, 18, 0.98);
  box-shadow: var(--shadow);
}

.language-options a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.language-options a:hover,
.language-options a:focus-visible,
.language-options a[aria-current="true"] {
  color: var(--text);
  background: rgba(244, 240, 230, 0.08);
}

.flag {
  display: inline-grid;
  width: 22px;
  height: 15px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.22);
}

.flag-it {
  background: linear-gradient(90deg, #159b52 0 33.33%, #ffffff 33.33% 66.66%, #d73b35 66.66%);
}

.flag-en {
  background:
    linear-gradient(90deg, transparent 0 42%, #ffffff 42% 58%, transparent 58%),
    linear-gradient(0deg, transparent 0 38%, #ffffff 38% 62%, transparent 62%),
    linear-gradient(90deg, transparent 0 45%, #c8102e 45% 55%, transparent 55%),
    linear-gradient(0deg, transparent 0 43%, #c8102e 43% 57%, transparent 57%),
    #012169;
}

.flag-fr {
  background: linear-gradient(90deg, #1b4fa3 0 33.33%, #ffffff 33.33% 66.66%, #ef4135 66.66%);
}

.flag-es {
  background: linear-gradient(180deg, #aa151b 0 25%, #f1bf00 25% 75%, #aa151b 75%);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(430px, 1.14fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  min-height: 88vh;
  padding: 116px clamp(18px, 4vw, 56px) 64px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(111, 213, 220, 0.12), transparent 28%),
    linear-gradient(145deg, #0a1012 0%, #132123 52%, #111613 100%);
}

.hero::before {
  position: absolute;
  content: "";
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(244, 240, 230, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 240, 230, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 82%);
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.04;
}

h1 {
  max-width: 720px;
  font-size: clamp(3rem, 5.35vw, 5.9rem);
}

h2 {
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 4.35rem);
}

h3 {
  font-size: 1.08rem;
}

.hero-lede {
  max-width: 610px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 850;
  white-space: nowrap;
}

.button-primary {
  background: var(--green);
  color: #07100b;
  box-shadow: 0 16px 40px rgba(110, 231, 127, 0.22);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(244, 240, 230, 0.06);
  color: var(--text);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 650px;
  margin: 36px 0 0;
}

.hero-metrics div {
  min-height: 86px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(244, 240, 230, 0.05);
}

.hero-metrics dt {
  font-size: 1.25rem;
  font-weight: 900;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  min-width: 0;
}

.ops-panel {
  width: min(100%, 760px);
  margin-left: auto;
  padding: 14px;
  border: 1px solid rgba(244, 240, 230, 0.18);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(28, 43, 48, 0.98), rgba(10, 16, 18, 0.98));
  box-shadow: var(--shadow);
}

.panel-topbar,
.stage-overlay,
.signal-grid,
.signal,
.timeline div,
.policy-row article {
  border-radius: 8px;
}

.panel-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: rgba(244, 240, 230, 0.05);
}

.panel-topbar p,
.signal p,
.stage-overlay span {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.panel-topbar strong {
  display: block;
  margin-top: 3px;
  font-size: 1rem;
}

.system-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 78px;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 850;
}

.system-status span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(110, 231, 127, 0.12);
}

.threat-stage {
  position: relative;
  min-height: 320px;
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(rgba(244, 240, 230, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 240, 230, 0.05) 1px, transparent 1px),
    #0b1416;
  background-size: 34px 34px;
}

#threat-map {
  display: block;
  width: 100%;
  height: 320px;
}

.stage-overlay {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(112px, 1fr));
  gap: 8px;
  max-width: calc(100% - 28px);
}

.stage-overlay div {
  min-height: 72px;
  padding: 12px;
  border: 1px solid rgba(244, 240, 230, 0.14);
  border-radius: 8px;
  background: rgba(10, 16, 18, 0.84);
}

.stage-overlay strong {
  display: block;
  margin-top: 4px;
  font-size: 1.6rem;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.signal {
  min-height: 130px;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(244, 240, 230, 0.05);
}

.signal-icon,
.feature-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  font-weight: 900;
}

.signal-danger .signal-icon {
  background: rgba(238, 107, 94, 0.16);
  color: var(--red);
}

.signal-safe .signal-icon {
  background: rgba(110, 231, 127, 0.16);
  color: var(--green);
}

.signal-warn .signal-icon {
  background: rgba(228, 189, 99, 0.16);
  color: var(--amber);
}

.signal strong {
  display: block;
  margin-top: 6px;
  font-size: 0.95rem;
}

.section {
  padding: clamp(68px, 8vw, 118px) clamp(18px, 4vw, 56px);
}

.section-light {
  background: var(--paper);
  color: var(--paper-text);
}

.section-light .eyebrow,
.section-policy .eyebrow {
  color: #1a6c72;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 1fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading > p:last-child {
  max-width: 620px;
  margin: 0;
  color: #56635e;
  font-size: 1.06rem;
}

.section-heading.compact {
  display: block;
  max-width: 820px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.section-followup {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.feature-card {
  min-height: 270px;
  padding: 24px;
  border: 1px solid rgba(21, 32, 31, 0.16);
  border-radius: 8px;
  background: #fbf8ef;
}

.feature-icon {
  background: #dcefe7;
  color: #105d50;
}

.feature-card p,
.policy-row p {
  color: #56635e;
}

.split p,
.timeline p {
  color: var(--muted);
}

.section-dark {
  background:
    linear-gradient(90deg, rgba(238, 107, 94, 0.08), transparent 32%),
    var(--ink-2);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.split > div:first-child p:last-child {
  max-width: 620px;
  margin-top: 22px;
  font-size: 1.1rem;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline div {
  display: grid;
  grid-template-columns: 56px 1fr;
  column-gap: 18px;
  min-height: 116px;
  padding: 20px;
  border: 1px solid var(--line);
  background: rgba(244, 240, 230, 0.05);
}

.timeline span {
  grid-row: span 2;
  color: var(--amber);
  font-size: 0.92rem;
  font-weight: 900;
}

.timeline strong {
  font-size: 1.22rem;
}

.timeline p {
  margin: 6px 0 0;
}

.section-policy {
  background: var(--paper-2);
  color: var(--paper-text);
}

.policy-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.policy-row article {
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(21, 32, 31, 0.14);
  background: rgba(255, 255, 255, 0.38);
}

.policy-row span {
  display: inline-flex;
  margin-bottom: 28px;
  color: #9a4d43;
  font-weight: 900;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(58px, 7vw, 90px) clamp(18px, 4vw, 56px);
  background: #111916;
  color: var(--text);
}

.cta-section h2 {
  max-width: 820px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  background: #0a1012;
  color: var(--muted);
}

.site-footer span {
  color: var(--text);
  font-weight: 900;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--text);
}

.page-hero {
  min-height: 58vh;
  padding: 136px clamp(18px, 4vw, 56px) 64px;
  background:
    radial-gradient(circle at 18% 18%, rgba(111, 213, 220, 0.12), transparent 28%),
    linear-gradient(145deg, #0a1012 0%, #132123 58%, #111613 100%);
}

.page-hero h1 {
  max-width: 980px;
}

.page-hero p:last-child {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.16rem;
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 74px);
  min-height: 78vh;
  padding: 126px clamp(18px, 4vw, 56px) 72px;
  background:
    radial-gradient(circle at 80% 24%, rgba(110, 231, 127, 0.12), transparent 26%),
    linear-gradient(145deg, #0a1012 0%, #132123 54%, #111613 100%);
  overflow: hidden;
}

.product-hero-copy p:last-of-type {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.monitor-visual {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(244, 240, 230, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(rgba(244, 240, 230, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 240, 230, 0.05) 1px, transparent 1px),
    #0b1416;
  background-size: 34px 34px;
  box-shadow: var(--shadow);
}

.visual-command::before,
.visual-command::after {
  position: absolute;
  content: "";
  inset: 15%;
  border: 1px solid rgba(111, 213, 220, 0.22);
  border-radius: 50%;
}

.visual-command::after {
  inset: 28%;
  border-color: rgba(110, 231, 127, 0.26);
}

.visual-orbit span {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 24px rgba(111, 213, 220, 0.54);
}

.visual-orbit span:nth-child(1) { left: 18%; top: 30%; }
.visual-orbit span:nth-child(2) { left: 30%; top: 70%; background: var(--green); }
.visual-orbit span:nth-child(3) { left: 56%; top: 18%; background: var(--amber); }
.visual-orbit span:nth-child(4) { right: 16%; top: 44%; }
.visual-orbit span:nth-child(5) { right: 28%; bottom: 18%; background: var(--red); }
.visual-orbit span:nth-child(6) { left: 47%; bottom: 30%; background: var(--green); }

.visual-core {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  width: 154px;
  height: 154px;
  place-items: center;
  padding: 26px;
  border: 1px solid rgba(110, 231, 127, 0.36);
  border-radius: 50%;
  background: rgba(10, 16, 18, 0.9);
  transform: translate(-50%, -50%);
}

.visual-core small {
  align-self: end;
  color: var(--cyan);
  font-size: 0.74rem;
  font-weight: 900;
}

.visual-core strong {
  align-self: start;
  font-size: 1.42rem;
}

.visual-note {
  position: absolute;
  min-width: 112px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(10, 16, 18, 0.82);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.note-a { left: 8%; bottom: 14%; }
.note-b { right: 9%; top: 14%; }
.note-c { right: 12%; bottom: 16%; }

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.story-card {
  min-height: 260px;
  padding: 22px;
  border: 1px solid rgba(21, 32, 31, 0.16);
  border-radius: 8px;
  background: #fbf8ef;
}

.story-card p {
  color: #56635e;
}

.mini-visual {
  position: relative;
  height: 90px;
  margin-bottom: 22px;
  border: 1px solid rgba(21, 32, 31, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(26, 108, 114, 0.08), transparent),
    #f2eadb;
  overflow: hidden;
}

.mini-visual i {
  position: absolute;
  display: block;
  border-radius: 8px;
  background: #1a6c72;
}

.visual-fleet i {
  width: 28px;
  height: 18px;
}

.visual-fleet i:nth-child(1) { left: 18px; top: 18px; }
.visual-fleet i:nth-child(2) { left: 64px; top: 36px; background: #105d50; }
.visual-fleet i:nth-child(3) { left: 118px; top: 20px; background: #9a4d43; }
.visual-fleet i:nth-child(4) { right: 74px; top: 46px; }
.visual-fleet i:nth-child(5) { right: 30px; top: 18px; background: #105d50; }
.visual-fleet i:nth-child(6) { left: 45%; bottom: 14px; background: #c99d41; }

.visual-permissions i {
  width: 72%;
  height: 14px;
  left: 14%;
}

.visual-permissions i:nth-child(1) { top: 18px; }
.visual-permissions i:nth-child(2) { top: 38px; width: 48%; background: #105d50; }
.visual-permissions i:nth-child(3) { top: 58px; width: 28%; background: #9a4d43; }

.visual-presence i {
  width: 18px;
  height: 18px;
  top: 35px;
  border-radius: 50%;
}

.visual-presence i:nth-child(1) { left: 22%; background: #105d50; box-shadow: 0 0 0 12px rgba(16, 93, 80, 0.12); }
.visual-presence i:nth-child(2) { left: 48%; background: #c99d41; box-shadow: 0 0 0 12px rgba(201, 157, 65, 0.12); }
.visual-presence i:nth-child(3) { left: 74%; background: #9a4d43; box-shadow: 0 0 0 12px rgba(154, 77, 67, 0.12); }

.monitor-band .feature-list {
  margin-top: 32px;
}

.visual-pulse {
  display: grid;
  place-items: center;
}

.visual-pulse span {
  position: absolute;
  width: 34%;
  aspect-ratio: 1;
  border: 1px solid rgba(111, 213, 220, 0.26);
  border-radius: 50%;
}

.visual-pulse span:nth-child(2) {
  width: 52%;
  border-color: rgba(110, 231, 127, 0.22);
}

.visual-pulse span:nth-child(3) {
  width: 70%;
  border-color: rgba(228, 189, 99, 0.18);
}

.visual-pulse strong,
.visual-containment strong {
  position: relative;
  z-index: 1;
  color: var(--text);
  font-size: 1.2rem;
  text-transform: uppercase;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-list article {
  min-height: 170px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(244, 240, 230, 0.05);
}

.feature-list p {
  color: var(--muted);
}

.split-light p {
  color: #56635e;
}

.visual-layers {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 52px;
  background:
    linear-gradient(135deg, rgba(26, 108, 114, 0.14), transparent),
    #fbf8ef;
  box-shadow: none;
}

.visual-layers span {
  display: block;
  min-height: 54px;
  padding: 16px 18px;
  border: 1px solid rgba(21, 32, 31, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.48);
  color: #15201f;
  font-weight: 900;
  text-transform: uppercase;
}

.visual-layers span:nth-child(2) { margin-left: 9%; }
.visual-layers span:nth-child(3) { margin-left: 18%; }
.visual-layers span:nth-child(4) { margin-left: 27%; }

.visual-containment {
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(21, 32, 31, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 32, 31, 0.06) 1px, transparent 1px),
    #f4f0e6;
  background-size: 34px 34px;
  box-shadow: none;
}

.visual-containment i {
  position: absolute;
  display: block;
  width: 68%;
  height: 68%;
  border: 1px solid rgba(154, 77, 67, 0.28);
  border-radius: 50%;
}

.visual-containment i:nth-child(2) {
  width: 48%;
  height: 48%;
  border-color: rgba(26, 108, 114, 0.34);
}

.visual-containment i:nth-child(3) {
  width: 28%;
  height: 28%;
  background: rgba(110, 231, 127, 0.2);
  border-color: rgba(16, 93, 80, 0.32);
}

.visual-containment strong {
  color: #15201f;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 72px);
}

.contact-layout > div p:last-child {
  max-width: 560px;
  color: #56635e;
  font-size: 1.05rem;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(21, 32, 31, 0.16);
  border-radius: 8px;
  background: #fbf8ef;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #25302d;
  font-size: 0.9rem;
  font-weight: 850;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(21, 32, 31, 0.2);
  border-radius: 8px;
  background: #fffdf7;
  color: #15201f;
  font: inherit;
  padding: 12px 13px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(26, 108, 114, 0.35);
  border-color: #1a6c72;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .product-hero {
    grid-template-columns: 1fr;
  }

  .ops-panel {
    margin: 0;
  }

  .feature-grid,
  .story-grid,
  .feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .header-action {
    padding-inline: 12px;
  }

  .hero {
    min-height: auto;
    padding: 96px 16px 44px;
  }

  h1 {
    font-size: clamp(2.35rem, 10.5vw, 3.65rem);
  }

  .hero-actions,
  .cta-section {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-metrics,
  .signal-grid,
  .section-heading,
  .split,
  .policy-row,
  .contact-layout,
  .story-grid,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .hero-metrics div {
    min-height: 74px;
  }

  .threat-stage {
    min-height: 280px;
  }

  #threat-map {
    height: 280px;
  }

  .stage-overlay {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 10px;
    max-width: none;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .policy-row article {
    min-height: auto;
  }

  .page-hero {
    min-height: auto;
    padding: 104px 16px 48px;
  }

  .product-hero {
    min-height: auto;
    padding: 104px 16px 48px;
  }

  .monitor-visual {
    min-height: 300px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

}

@media (max-width: 440px) {
  .stage-overlay,
  .timeline div {
    grid-template-columns: 1fr;
  }

  .signal {
    min-height: 112px;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ai-home {
  min-height: 100vh;
  background: var(--paper);
  color: var(--paper-text);
}

.ai-hero {
  width: min(980px, calc(100% - 36px));
  min-height: calc(100vh - 82px);
  margin: 0 auto;
  padding: 138px 0 72px;
}

.ai-heading {
  display: grid;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.ai-brand {
  margin: 0;
  color: #1a6c72;
  font-size: 0.92rem;
  font-weight: 950;
  letter-spacing: 0;
}

.ai-heading h1 {
  max-width: 760px;
  margin: 0;
  color: var(--paper-text);
  font-size: clamp(2.6rem, 7vw, 5.7rem);
  line-height: 0.95;
}

.ai-heading p:last-child {
  max-width: 640px;
  margin: 0 auto;
  color: #56635e;
  font-size: clamp(1.02rem, 2vw, 1.2rem);
}

.ai-question {
  display: grid;
  gap: 18px;
  margin: 0 auto;
}

.ai-question textarea {
  width: 100%;
  min-height: 138px;
  resize: vertical;
  border: 1px solid rgba(21, 32, 31, 0.16);
  border-radius: 8px;
  background: #fffdf7;
  color: var(--paper-text);
  box-shadow: 0 18px 48px rgba(21, 32, 31, 0.08);
  font: inherit;
  font-size: 1.08rem;
  line-height: 1.5;
  padding: 20px;
}

.ai-question textarea:focus {
  outline: 3px solid rgba(26, 108, 114, 0.18);
  border-color: #1a6c72;
}

.ai-examples {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.ai-examples button {
  min-height: 38px;
  border: 1px solid rgba(21, 32, 31, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.48);
  color: #31403c;
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 750;
  padding: 8px 12px;
}

.ai-examples button:hover,
.ai-examples button:focus-visible {
  border-color: rgba(26, 108, 114, 0.46);
  color: #15201f;
  outline: none;
}

.ai-submit {
  justify-self: center;
  min-width: 220px;
}

.ai-response {
  display: grid;
  gap: 20px;
  margin-top: 44px;
  padding-top: 34px;
  border-top: 1px solid rgba(21, 32, 31, 0.14);
}

.ai-loading,
.ai-error,
.ai-answer,
.ai-sources {
  max-width: 780px;
  margin: 0 auto;
}

.ai-loading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #56635e;
  font-weight: 800;
}

.ai-spinner {
  width: 22px;
  height: 22px;
  border: 3px solid rgba(26, 108, 114, 0.18);
  border-top-color: #1a6c72;
  border-radius: 50%;
  animation: ai-spin 0.9s linear infinite;
}

.ai-error {
  border: 1px solid rgba(154, 77, 67, 0.22);
  border-radius: 8px;
  background: rgba(238, 107, 94, 0.08);
  color: #74332d;
  font-weight: 800;
  padding: 16px 18px;
}

.ai-answer,
.ai-sources {
  width: 100%;
}

.ai-answer h2,
.ai-sources h2 {
  margin: 0 0 12px;
  color: #15201f;
  font-size: 1.05rem;
  line-height: 1.2;
}

.ai-answer p {
  margin: 0;
  color: #25302d;
  font-size: 1.08rem;
  white-space: pre-wrap;
}

.ai-sources ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ai-sources li {
  min-height: 34px;
  border: 1px solid rgba(21, 32, 31, 0.14);
  border-radius: 8px;
  background: #fffdf7;
  color: #31403c;
  font-weight: 850;
  padding: 7px 11px;
}

@keyframes ai-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 760px) {
  .ai-hero {
    width: min(100% - 32px, 980px);
    min-height: auto;
    padding: 112px 0 50px;
  }

  .ai-heading {
    margin-bottom: 32px;
  }

  .ai-heading h1 {
    font-size: clamp(2.35rem, 12vw, 3.65rem);
  }

  .ai-question textarea {
    min-height: 154px;
    padding: 16px;
  }

  .ai-examples {
    justify-content: stretch;
  }

  .ai-examples button,
  .ai-submit {
    width: 100%;
  }
}

.ai-home [hidden] {
  display: none !important;
}

/* Argus AI Home concept page */
.aie-concept-page {
  min-height: 100vh;
  overflow-x: hidden;
  background: #020711;
  color: #f7fbff;
}

.aie-concept-page [hidden] {
  display: none !important;
}

.aie-concept-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 72%, rgba(0, 195, 255, 0.5) 0, rgba(0, 135, 255, 0.26) 5%, transparent 19%),
    radial-gradient(circle at 46% 44%, rgba(49, 171, 255, 0.14), transparent 34%),
    linear-gradient(180deg, #030710 0%, #06101c 48%, #02050b 100%);
}

.aie-concept-shell::before,
.aie-concept-shell::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.aie-concept-shell::before {
  inset: 0;
  opacity: 0.75;
  background:
    radial-gradient(circle at 12% 18%, rgba(54, 177, 255, 0.8) 0 1px, transparent 2px),
    radial-gradient(circle at 78% 16%, rgba(54, 177, 255, 0.68) 0 1px, transparent 2px),
    radial-gradient(circle at 32% 8%, rgba(255, 255, 255, 0.46) 0 1px, transparent 2px),
    radial-gradient(circle at 62% 30%, rgba(255, 255, 255, 0.4) 0 1px, transparent 2px),
    radial-gradient(circle at 91% 25%, rgba(54, 177, 255, 0.68) 0 1px, transparent 2px);
  background-size: 320px 220px, 390px 260px, 500px 340px, 420px 300px, 540px 360px;
}

.aie-concept-shell::after {
  left: -7vw;
  right: -7vw;
  bottom: 8vh;
  height: min(34vh, 330px);
  opacity: 0.95;
  background:
    radial-gradient(ellipse at 50% 62%, rgba(255, 255, 255, 0.95) 0, rgba(74, 211, 255, 0.85) 2%, rgba(0, 146, 255, 0.38) 11%, transparent 30%),
    repeating-radial-gradient(ellipse at 50% 70%, rgba(55, 184, 255, 0.52) 0 1px, transparent 2px 10px),
    linear-gradient(100deg, transparent 0 10%, rgba(0, 128, 255, 0.14) 28%, rgba(74, 211, 255, 0.72) 48%, rgba(0, 128, 255, 0.18) 70%, transparent 92%);
  filter: blur(0.2px);
  transform: perspective(900px) rotateX(63deg);
  transform-origin: 50% 100%;
}

.aie-concept-header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(28px, 4vw, 48px) clamp(28px, 4vw, 70px);
}

.aie-concept-logo img {
  display: block;
  width: clamp(150px, 13vw, 214px);
  height: auto;
}

.aie-concept-menu {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 0;
  background: transparent;
  color: #f7fbff;
  cursor: pointer;
  font-size: 2rem;
}

.aie-concept-stage {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: calc(100vh - 126px);
  padding: 0 clamp(28px, 4vw, 72px) clamp(34px, 5vw, 72px);
}

.aie-concept-copy {
  width: min(1010px, 100%);
  margin: 0 auto;
  text-align: center;
  transition: margin 320ms ease, max-width 320ms ease, transform 320ms ease, text-align 320ms ease;
}

.aie-concept-copy h1 {
  display: grid;
  gap: 10px;
  max-width: none;
  color: #ffffff;
  font-size: clamp(3.4rem, 6vw, 6.2rem);
  font-weight: 300;
  line-height: 0.98;
  text-shadow: 0 0 28px rgba(255, 255, 255, 0.12);
}

.aie-concept-copy h1 span {
  display: block;
}

.aie-concept-copy h1 em {
  color: #28aefa;
  font-style: normal;
  font-weight: 650;
  text-shadow: 0 0 26px rgba(0, 155, 255, 0.38);
}

.aie-concept-copy > p {
  margin: 28px 0 0;
  color: rgba(247, 251, 255, 0.82);
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 300;
}

.aie-concept-question {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 78px;
  align-items: center;
  width: min(970px, 100%);
  min-height: 108px;
  margin: 46px auto 0;
  padding: 10px 10px 10px 42px;
  border: 1px solid rgba(43, 176, 255, 0.84);
  border-radius: 999px;
  background: rgba(3, 12, 25, 0.72);
  box-shadow:
    inset 0 0 28px rgba(32, 141, 255, 0.1),
    0 0 30px rgba(24, 150, 255, 0.16);
}

.aie-concept-question input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #ffffff;
  font: inherit;
  font-size: clamp(1.14rem, 1.7vw, 1.65rem);
}

.aie-concept-question input::placeholder {
  color: rgba(247, 251, 255, 0.62);
}

.aie-concept-question button {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 1px solid #23b7ff;
  border-radius: 50%;
  background: rgba(0, 26, 48, 0.76);
  color: #23b7ff;
  cursor: pointer;
  font-size: 2rem;
  box-shadow: 0 0 24px rgba(35, 183, 255, 0.28);
}

.aie-concept-question button:hover,
.aie-concept-question button:focus-visible {
  background: rgba(35, 183, 255, 0.16);
  outline: none;
}

.aie-concept-suggestions {
  margin-top: clamp(110px, 18vh, 185px);
}

.aie-concept-suggestions p {
  margin: 0 0 30px;
  color: rgba(247, 251, 255, 0.86);
  font-size: 1.02rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.aie-concept-suggestions > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  width: min(1420px, 100%);
  margin: 0 auto;
}

.aie-concept-suggestions button {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  min-height: 116px;
  padding: 18px 24px;
  border: 1px solid rgba(43, 176, 255, 0.42);
  border-radius: 22px;
  background: rgba(2, 10, 22, 0.72);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  text-align: left;
  box-shadow: inset 0 0 20px rgba(43, 176, 255, 0.05);
}

.aie-concept-suggestions button i {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #23b7ff;
  font-size: 2rem;
}

.aie-concept-suggestions button span {
  font-size: clamp(1rem, 1.1vw, 1.18rem);
}

.aie-concept-suggestions button:hover,
.aie-concept-suggestions button:focus-visible {
  border-color: rgba(43, 176, 255, 0.95);
  outline: none;
  box-shadow: 0 0 28px rgba(43, 176, 255, 0.18);
}

.aie-concept-response {
  position: relative;
  display: grid;
  align-content: start;
  width: min(690px, 100%);
  min-height: min(86vh, 960px);
  max-height: min(86vh, 960px);
  padding: clamp(26px, 3vw, 46px);
  border: 1px solid rgba(83, 177, 255, 0.78);
  border-radius: 22px;
  background: rgba(3, 10, 22, 0.78);
  box-shadow:
    inset 0 0 38px rgba(33, 132, 255, 0.1),
    0 0 42px rgba(24, 133, 255, 0.26);
  backdrop-filter: blur(12px);
}

.aie-concept-response::before {
  position: absolute;
  content: "";
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(55, 168, 255, 0.12), transparent 38%);
}

.aie-response-brand,
.aie-response-question,
.aie-response-answer-row,
.aie-response-loading,
.aie-response-error,
.aie-response-sources {
  position: relative;
  z-index: 1;
}

.aie-response-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #ffffff;
  font-size: 1.28rem;
}

.aie-response-brand span,
.aie-response-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(35, 183, 255, 0.9);
  border-radius: 50%;
  color: #23b7ff;
  box-shadow: 0 0 16px rgba(35, 183, 255, 0.22);
}

.aie-response-question {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 75%;
  min-height: 70px;
  margin-top: 42px;
  padding: 14px 24px;
  border: 1px solid rgba(83, 177, 255, 0.44);
  border-radius: 16px;
  background: rgba(8, 20, 40, 0.84);
  color: rgba(247, 251, 255, 0.88);
  font-size: 1.08rem;
}

.aie-response-question i {
  color: #23b7ff;
  font-size: 1.45rem;
}

.aie-response-answer-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 20px;
  margin-top: 38px;
  min-height: 0;
}

.aie-response-answer {
  max-height: min(42vh, 440px);
  overflow-y: auto;
  padding-right: 10px;
  color: #ffffff;
  font-size: clamp(1.2rem, 1.45vw, 1.65rem);
  font-weight: 300;
  line-height: 1.48;
  white-space: pre-wrap;
}

.aie-response-answer::-webkit-scrollbar {
  width: 8px;
}

.aie-response-answer::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(43, 176, 255, 0.46);
}

.aie-response-loading,
.aie-response-error {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 30px 0 0 72px;
  color: rgba(247, 251, 255, 0.78);
  font-weight: 700;
}

.aie-response-error {
  color: #ffb8ad;
}

.aie-response-sources {
  margin: 28px 0 0 72px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.aie-response-sources h2 {
  margin: 0 0 12px;
  color: rgba(247, 251, 255, 0.68);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.aie-response-sources ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.aie-response-sources li {
  padding: 8px 12px;
  border: 1px solid rgba(43, 176, 255, 0.34);
  border-radius: 999px;
  color: rgba(247, 251, 255, 0.84);
  font-size: 0.9rem;
}

.aie-concept-shell.has-response .aie-concept-stage {
  grid-template-columns: minmax(0, 1fr) minmax(440px, 0.74fr);
  gap: clamp(34px, 5vw, 84px);
}

.aie-concept-shell.has-response .aie-concept-copy {
  max-width: 930px;
  margin: 0;
  text-align: left;
  transform: translateY(-2vh);
}

.aie-concept-shell.has-response .aie-concept-copy h1 {
  font-size: clamp(3.1rem, 5.2vw, 5.2rem);
}

.aie-concept-shell.has-response .aie-concept-question {
  width: min(840px, 100%);
  margin-left: 0;
}

.aie-concept-shell.has-response .aie-concept-suggestions {
  margin-top: clamp(70px, 12vh, 130px);
}

.aie-concept-shell.has-response .aie-concept-suggestions > div {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.aie-concept-shell.has-response .aie-concept-suggestions button {
  min-height: 96px;
  padding: 14px 16px;
}

@media (max-width: 1180px) {
  .aie-concept-shell.has-response .aie-concept-stage,
  .aie-concept-stage {
    grid-template-columns: 1fr;
  }

  .aie-concept-shell.has-response .aie-concept-copy {
    max-width: none;
    text-align: center;
  }

  .aie-concept-shell.has-response .aie-concept-question {
    margin-left: auto;
  }

  .aie-concept-response {
    justify-self: center;
    width: min(860px, 100%);
    min-height: auto;
    max-height: none;
  }
}

@media (max-width: 900px) {
  .aie-concept-suggestions > div,
  .aie-concept-shell.has-response .aie-concept-suggestions > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .aie-concept-header {
    padding: 22px 18px;
  }

  .aie-concept-stage {
    min-height: calc(100vh - 96px);
    padding: 0 18px 36px;
  }

  .aie-concept-copy h1,
  .aie-concept-shell.has-response .aie-concept-copy h1 {
    font-size: clamp(2.45rem, 13vw, 3.8rem);
  }

  .aie-concept-copy > p {
    font-size: 1.18rem;
  }

  .aie-concept-question {
    grid-template-columns: minmax(0, 1fr) 58px;
    min-height: 76px;
    padding: 8px 8px 8px 22px;
  }

  .aie-concept-question button {
    width: 52px;
    height: 52px;
    font-size: 1.45rem;
  }

  .aie-concept-suggestions {
    margin-top: 76px;
  }

  .aie-concept-suggestions > div,
  .aie-concept-shell.has-response .aie-concept-suggestions > div {
    grid-template-columns: 1fr;
  }

  .aie-concept-suggestions button {
    min-height: 82px;
  }

  .aie-concept-response {
    padding: 22px;
  }

  .aie-response-question {
    justify-self: stretch;
    max-width: none;
  }

  .aie-response-answer-row {
    grid-template-columns: 1fr;
  }

  .aie-response-loading,
  .aie-response-error,
  .aie-response-sources {
    margin-left: 0;
  }
}

@media (max-width: 1500px) and (min-width: 1181px) {
  .aie-concept-shell.has-response .aie-concept-suggestions > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aie-concept-shell.has-response .aie-concept-suggestions button {
    min-height: 88px;
  }
}

/* Argus AI Home mockup alignment pass */
.aie-concept-page {
  overflow: hidden;
}

.aie-concept-shell {
  height: 100vh;
  min-height: 760px;
}

.aie-concept-shell::before {
  opacity: 0.55;
  background:
    radial-gradient(circle at 8% 16%, rgba(54, 177, 255, 0.85) 0 1.5px, transparent 2.8px),
    radial-gradient(circle at 34% 8%, rgba(255, 255, 255, 0.46) 0 1.4px, transparent 2.8px),
    radial-gradient(circle at 68% 10%, rgba(54, 177, 255, 0.72) 0 1.5px, transparent 2.8px),
    radial-gradient(circle at 92% 8%, rgba(255, 255, 255, 0.42) 0 1.4px, transparent 2.8px),
    radial-gradient(circle at 16% 52%, rgba(54, 177, 255, 0.7) 0 1.5px, transparent 2.8px),
    radial-gradient(circle at 78% 44%, rgba(255, 255, 255, 0.42) 0 1.4px, transparent 2.8px);
  background-size: 340px 235px, 520px 340px, 430px 300px, 620px 410px, 455px 320px, 530px 360px;
}

.aie-concept-shell::after {
  left: -10vw;
  right: -10vw;
  bottom: -7vh;
  height: 47vh;
  opacity: 0.98;
  background:
    radial-gradient(ellipse at 50% 47%, rgba(255, 255, 255, 0.98) 0, rgba(74, 211, 255, 0.9) 2%, rgba(0, 146, 255, 0.42) 12%, transparent 34%),
    repeating-radial-gradient(ellipse at 50% 54%, rgba(55, 184, 255, 0.6) 0 1px, transparent 2px 9px),
    linear-gradient(100deg, transparent 0 6%, rgba(0, 128, 255, 0.2) 28%, rgba(74, 211, 255, 0.78) 48%, rgba(0, 128, 255, 0.22) 72%, transparent 96%);
  transform: perspective(1000px) rotateX(64deg);
}

.aie-concept-header {
  position: absolute;
  inset: 0 0 auto 0;
  padding: clamp(34px, 4.2vw, 50px) clamp(44px, 5vw, 74px);
}

.aie-concept-logo img {
  width: auto;
  height: clamp(58px, 6.6vw, 78px);
}

.aie-concept-menu {
  width: 46px;
  height: 46px;
  font-size: 2.15rem;
}

.aie-concept-stage {
  min-height: 100vh;
  padding: clamp(116px, 12vh, 142px) clamp(42px, 5vw, 74px) clamp(34px, 4vh, 48px);
}

.aie-concept-copy {
  width: min(1240px, 100%);
  transform: translateY(-18px);
}

.aie-concept-copy h1 {
  gap: 2px;
  font-size: clamp(4.15rem, 4.9vw, 5.55rem);
  font-weight: 300;
  line-height: 1.08;
}

.aie-concept-copy h1 em {
  font-weight: 760;
}

.aie-concept-copy > p {
  margin-top: 26px;
  font-size: clamp(1.3rem, 1.75vw, 1.82rem);
  color: rgba(247, 251, 255, 0.78);
}

.aie-concept-question {
  width: min(950px, 100%);
  min-height: 100px;
  margin-top: 42px;
  padding: 9px 10px 9px 40px;
}

.aie-concept-question input {
  font-size: clamp(1.2rem, 1.45vw, 1.5rem);
  font-weight: 450;
}

.aie-concept-question button {
  width: 68px;
  height: 68px;
}

.aie-concept-suggestions {
  margin-top: clamp(92px, 12.5vh, 128px);
}

.aie-concept-suggestions p {
  margin-bottom: 28px;
  font-size: 0.95rem;
  letter-spacing: 0.34em;
}

.aie-concept-suggestions > div {
  width: min(1420px, 100%);
  gap: 28px;
}

.aie-concept-suggestions button {
  min-height: 102px;
  border-radius: 20px;
  padding: 16px 24px;
}

@media (max-width: 1280px) {
  .aie-concept-page {
    overflow-y: auto;
  }

  .aie-concept-shell {
    height: auto;
  }

  .aie-concept-copy h1 {
    font-size: clamp(3.2rem, 7vw, 4.8rem);
  }
}

.aie-concept-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.aie-concept-logo-text {
  display: grid;
  gap: 0;
  color: #ffffff;
  line-height: 1;
}

.aie-concept-logo-text strong {
  font-size: clamp(1.55rem, 2vw, 2rem);
  font-weight: 760;
  letter-spacing: 0.08em;
}

.aie-concept-logo-text small {
  margin-top: 4px;
  font-size: clamp(0.54rem, 0.78vw, 0.78rem);
  font-weight: 500;
  letter-spacing: 0.54em;
}

.aie-concept-logo img {
  height: clamp(46px, 4.2vw, 58px);
}

/* Use complete Argus logo asset on AI home */
.aie-concept-logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.aie-concept-logo img {
  width: auto;
  height: clamp(54px, 5.2vw, 72px);
}

.aie-concept-logo-text {
  display: none;
}

/* AI home interaction refinements */
.aie-concept-logo img {
  filter: brightness(0) invert(1);
}

.aie-concept-menu {
  display: none !important;
}

.aie-concept-stage {
  transition:
    grid-template-columns 720ms cubic-bezier(0.2, 0.8, 0.2, 1),
    gap 720ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.aie-concept-copy,
.aie-concept-question,
.aie-concept-suggestions {
  transition:
    width 720ms cubic-bezier(0.2, 0.8, 0.2, 1),
    max-width 720ms cubic-bezier(0.2, 0.8, 0.2, 1),
    margin 720ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1),
    text-align 720ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 420ms ease;
}

.aie-concept-response {
  opacity: 0;
  transform: translateX(42px) scale(0.985);
  transition:
    opacity 520ms ease 160ms,
    transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1) 120ms;
}

.aie-concept-shell.has-response .aie-concept-response {
  opacity: 1;
  transform: translateX(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .aie-concept-stage,
  .aie-concept-copy,
  .aie-concept-question,
  .aie-concept-suggestions,
  .aie-concept-response {
    transition: none;
  }
}

/* Argus AI concept home refinements */
.aie-concept-stage {
  transition:
    grid-template-columns 1120ms cubic-bezier(0.16, 0.92, 0.22, 1),
    gap 1120ms cubic-bezier(0.16, 0.92, 0.22, 1),
    padding 1120ms cubic-bezier(0.16, 0.92, 0.22, 1);
}

.aie-concept-copy,
.aie-concept-question,
.aie-concept-suggestions {
  transition:
    width 1120ms cubic-bezier(0.16, 0.92, 0.22, 1),
    max-width 1120ms cubic-bezier(0.16, 0.92, 0.22, 1),
    margin 1120ms cubic-bezier(0.16, 0.92, 0.22, 1),
    transform 1120ms cubic-bezier(0.16, 0.92, 0.22, 1),
    opacity 820ms ease;
  will-change: transform, width, max-width, margin;
}

.aie-concept-response {
  transform: translate(42px, -28px) scale(0.985);
  transition:
    opacity 760ms ease 180ms,
    transform 1120ms cubic-bezier(0.16, 0.92, 0.22, 1) 90ms;
}

.aie-concept-shell.has-response .aie-concept-response {
  transform: translate(0, -28px) scale(1);
}

.aie-response-topbar,
.aie-response-history {
  position: relative;
  z-index: 1;
}

.aie-response-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.aie-response-topbar img {
  display: block;
  width: auto;
  height: 34px;
}

.aie-panel-home {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(43, 176, 255, 0.42);
  border-radius: 999px;
  background: rgba(2, 12, 24, 0.46);
  color: rgba(247, 251, 255, 0.9);
  cursor: pointer;
}

.aie-panel-home:hover,
.aie-panel-home:focus-visible {
  border-color: rgba(43, 176, 255, 0.9);
  background: rgba(35, 183, 255, 0.14);
  outline: none;
}

.aie-response-history {
  display: grid;
  gap: 9px;
  margin: 0 0 16px 0;
}

.aie-history-item {
  border: 1px solid rgba(43, 176, 255, 0.2);
  border-radius: 14px;
  background: rgba(0, 22, 42, 0.42);
  color: rgba(247, 251, 255, 0.84);
}

.aie-history-item summary {
  padding: 9px 12px;
  cursor: pointer;
  font-size: 0.86rem;
  line-height: 1.35;
}

.aie-history-item p {
  max-height: 118px;
  margin: 0;
  overflow-y: auto;
  padding: 0 12px 12px;
  color: rgba(247, 251, 255, 0.68);
  font-size: 0.82rem;
  line-height: 1.45;
  white-space: pre-wrap;
}

.aie-response-question {
  min-height: 52px;
  font-size: 0.96rem;
}

.aie-response-answer-row {
  margin-top: 20px;
}

.aie-response-answer {
  max-height: min(46vh, 470px);
  font-size: clamp(1rem, 1.12vw, 1.24rem);
  line-height: 1.55;
}

.aie-response-loading,
.aie-response-error {
  font-size: 0.95rem;
}

@media (max-width: 980px) {
  .aie-concept-response,
  .aie-concept-shell.has-response .aie-concept-response {
    transform: translate(0, 0) scale(1);
  }
}

/* Remove bottom decorative greek-pattern ring from AI concept home */
.aie-concept-shell::after {
  background:
    radial-gradient(ellipse at 50% 60%, rgba(74, 211, 255, 0.5) 0, rgba(0, 146, 255, 0.28) 16%, transparent 44%),
    linear-gradient(100deg, transparent 0 10%, rgba(0, 128, 255, 0.16) 32%, rgba(74, 211, 255, 0.42) 50%, rgba(0, 128, 255, 0.14) 70%, transparent 94%);
}

/* AI response panel final refinements */
.aie-response-topbar {
  justify-content: flex-end;
  margin-bottom: 12px;
}

.aie-response-topbar img {
  display: none;
}

.aie-response-avatar {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.aie-response-avatar img {
  display: block;
  width: 44px;
  height: auto;
}

.aie-response-answer {
  line-height: 1.42;
}

.aie-concept-response {
  transform: translate(42px, -48px) scale(0.985);
}

.aie-concept-shell.has-response .aie-concept-response {
  transform: translate(0, -48px) scale(1);
}

.aie-response-sources {
  display: none !important;
}

@media (max-width: 980px) {
  .aie-concept-response,
  .aie-concept-shell.has-response .aie-concept-response {
    transform: translate(0, 0) scale(1);
  }
}

/* AI home response feedback refinements */
.aie-response-topbar {
  min-height: 32px;
  margin-bottom: 8px;
}

.aie-panel-home {
  position: relative;
  z-index: 4;
  cursor: pointer;
  pointer-events: auto;
  text-decoration: none;
}

.aie-response-question {
  min-height: 46px;
  padding: 12px 14px;
}

.aie-response-answer-row {
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.aie-response-avatar {
  width: 35px;
  height: 35px;
  align-self: start;
  margin-top: 2px;
}

.aie-response-avatar img {
  width: 35px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.94;
}

.aie-response-answer {
  max-height: min(49vh, 500px);
  padding-right: 6px;
  line-height: 1.36;
}

.aie-response-actions {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
  padding-right: 2px;
}

.aie-response-action {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(247, 251, 255, 0.2);
  border-radius: 999px;
  background: rgba(2, 12, 24, 0.34);
  color: rgba(247, 251, 255, 0.78);
  cursor: pointer;
  font-size: 0.95rem;
}

.aie-response-action:hover,
.aie-response-action:focus-visible {
  border-color: rgba(43, 176, 255, 0.82);
  color: #ffffff;
  outline: none;
}

.aie-feedback-dialog[hidden] {
  display: none !important;
}

.aie-feedback-dialog {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
}

.aie-feedback-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.46);
}

.aie-feedback-card {
  position: relative;
  z-index: 1;
  width: min(578px, 100%);
  border: 1px solid rgba(20, 25, 34, 0.16);
  border-radius: 18px;
  background: #ffffff;
  color: #181c22;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
  padding: 18px;
}

.aie-feedback-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #171b22;
  cursor: pointer;
  font-size: 1.1rem;
}

.aie-feedback-close:hover,
.aie-feedback-close:focus-visible {
  background: rgba(20, 25, 34, 0.08);
  outline: none;
}

.aie-feedback-card h2 {
  margin: 0 46px 18px 0;
  color: #171b22;
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.25;
}

.aie-feedback-form {
  display: grid;
  gap: 14px;
}

.aie-feedback-form textarea {
  width: 100%;
  min-height: 124px;
  resize: vertical;
  border: 1px solid rgba(20, 25, 34, 0.14);
  border-radius: 14px;
  background: #ffffff;
  color: #171b22;
  font: inherit;
  font-size: 0.94rem;
  line-height: 1.45;
  padding: 13px 14px;
}

.aie-feedback-form textarea:focus {
  border-color: rgba(43, 176, 255, 0.85);
  outline: 3px solid rgba(43, 176, 255, 0.15);
}

.aie-feedback-note {
  margin: 0;
  border-radius: 8px;
  background: #ececec;
  color: #5e6269;
  font-size: 0.78rem;
  line-height: 1.35;
  padding: 12px;
}

.aie-feedback-status {
  margin: 0;
  color: #52616e;
  font-size: 0.86rem;
}

.aie-feedback-submit {
  justify-self: end;
  min-width: 64px;
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  background: #171b22;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 8px 16px;
}

.aie-feedback-submit:disabled {
  background: #c4c4c4;
  color: #ffffff;
  cursor: not-allowed;
}

@media (max-width: 640px) {
  .aie-feedback-dialog {
    padding: 14px;
  }

  .aie-feedback-card {
    border-radius: 14px;
  }
}

/* AI home cinematic intro and tighter response layout */
.aie-title-sequence .aie-title-line {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.24em;
}

.aie-title-sequence .aie-title-prefix {
  display: inline-block;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  white-space: nowrap;
  animation: aie-title-prefix-in 1000ms ease 1000ms forwards;
}

.aie-title-sequence em {
  opacity: 0;
  animation: aie-title-core-in 1000ms ease forwards;
}

@keyframes aie-title-core-in {
  from {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes aie-title-prefix-in {
  from {
    max-width: 0;
    opacity: 0;
    filter: blur(8px);
  }

  to {
    max-width: 10em;
    opacity: 1;
    filter: blur(0);
  }
}

.aie-concept-shell::after {
  left: 11vw;
  right: 11vw;
  top: 58%;
  bottom: auto;
  height: 2px;
  opacity: 0.96;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.92) 0 2%, rgba(78, 215, 255, 0.9) 4%, rgba(35, 174, 255, 0.46) 18%, transparent 58%),
    linear-gradient(90deg, transparent 0%, rgba(31, 157, 255, 0.18) 18%, rgba(91, 219, 255, 0.9) 48%, rgba(31, 157, 255, 0.18) 78%, transparent 100%);
  box-shadow:
    0 0 18px rgba(43, 176, 255, 0.5),
    0 0 70px rgba(43, 176, 255, 0.34);
  filter: blur(0.2px);
  transform: none;
}

.aie-concept-suggestions {
  margin-top: clamp(58px, 8vh, 92px);
}

.aie-concept-suggestions p {
  margin-bottom: 18px;
}

.aie-concept-suggestions > div {
  gap: 16px;
}

.aie-concept-suggestions button {
  min-height: 74px;
  border-color: transparent;
  background: rgba(0, 19, 36, 0.26);
  box-shadow: none;
  padding: 12px 16px;
}

.aie-concept-suggestions button:hover,
.aie-concept-suggestions button:focus-visible {
  border-color: transparent;
  background: rgba(0, 39, 72, 0.42);
}

.aie-concept-shell.has-response .aie-concept-suggestions {
  margin-top: clamp(46px, 7vh, 72px);
}

.aie-concept-shell.has-response .aie-concept-suggestions button {
  min-height: 72px;
}

.aie-concept-response {
  padding: 28px 30px 30px;
  transform: translate(42px, -68px) scale(0.985);
}

.aie-concept-shell.has-response .aie-concept-response {
  transform: translate(0, -68px) scale(1);
}

.aie-response-topbar {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 6;
  min-height: 0;
  margin: 0;
}

.aie-panel-home {
  width: 40px;
  height: 40px;
}

.aie-response-history {
  margin: 0 56px 10px 0;
}

.aie-response-question {
  margin: 44px 46px 0 auto;
  min-height: 40px;
  max-width: min(420px, calc(100% - 48px));
  padding: 9px 13px;
}

.aie-response-answer-row {
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.aie-response-avatar,
.aie-response-avatar img {
  width: 32px;
  height: auto;
}

.aie-response-answer {
  max-height: min(52vh, 520px);
  line-height: 1.34;
}

.aie-response-actions {
  margin-top: 10px;
}

.aie-response-action.is-copied {
  border-color: rgba(95, 232, 185, 0.9);
  color: #8ff0cb;
}

@media (max-width: 980px) {
  .aie-concept-response,
  .aie-concept-shell.has-response .aie-concept-response {
    transform: translate(0, 0) scale(1);
  }

  .aie-response-question {
    margin-right: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aie-title-sequence .aie-title-prefix,
  .aie-title-sequence em {
    max-width: none;
    opacity: 1;
    animation: none;
    filter: none;
    transform: none;
  }
}

/* AI home final alignment and lens flare tuning */
.aie-concept-shell::after {
  left: 3vw;
  right: 3vw;
  top: 61%;
  bottom: auto;
  height: 210px;
  opacity: 0.95;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.92) 0 0.9%, rgba(119, 226, 255, 0.9) 1.8%, rgba(24, 160, 255, 0.38) 7%, transparent 21%),
    radial-gradient(ellipse at 50% 50%, rgba(29, 178, 255, 0.42) 0 4%, rgba(0, 113, 214, 0.22) 18%, transparent 46%),
    linear-gradient(90deg, transparent 0 10%, rgba(8, 109, 211, 0.08) 24%, rgba(132, 230, 255, 0.9) 49%, rgba(13, 125, 226, 0.1) 74%, transparent 92%),
    linear-gradient(180deg, transparent 0 46%, rgba(255, 255, 255, 0.86) 49.7%, rgba(63, 207, 255, 0.95) 50%, rgba(255, 255, 255, 0.72) 50.3%, transparent 54%);
  box-shadow:
    0 0 34px rgba(58, 190, 255, 0.72),
    0 0 120px rgba(20, 144, 255, 0.44),
    0 0 220px rgba(0, 118, 255, 0.28);
  filter: blur(0.4px);
  transform: perspective(900px) rotateX(62deg) scaleX(1.08);
  transform-origin: 50% 50%;
}

.aie-concept-copy > p,
.aie-concept-suggestions {
  width: min(950px, 100%);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.aie-concept-shell.has-response .aie-concept-copy > p,
.aie-concept-shell.has-response .aie-concept-suggestions {
  width: min(840px, 100%);
  margin-left: 0;
  margin-right: auto;
  text-align: center;
}

.aie-concept-shell.has-response .aie-concept-suggestions > div {
  width: 100%;
}

.aie-history-item summary {
  list-style: none;
}

.aie-history-item summary::-webkit-details-marker {
  display: none;
}

.aie-history-item summary::after {
  content: "+";
  float: right;
  color: rgba(43, 176, 255, 0.86);
  font-weight: 700;
}

.aie-history-item[open] summary::after {
  content: "-";
}

.aie-history-item[open] {
  border-color: rgba(43, 176, 255, 0.38);
  background: rgba(0, 28, 52, 0.58);
}

.aie-panel-home {
  pointer-events: auto !important;
}

/* AI home real flash asset and readable history toggles */
.aie-concept-shell::after {
  left: 50%;
  right: auto;
  top: 47%;
  bottom: auto;
  width: 150vw;
  max-width: none;
  height: min(42vh, 430px);
  opacity: 0.96;
  background: url("/Lampo_transparent.png") center center / 100% 100% no-repeat;
  box-shadow: none;
  filter: none;
  transform: translateX(-50%);
  pointer-events: none;
}

.aie-response-answer,
.aie-history-answer {
  white-space: pre-wrap;
}

.aie-response-answer strong,
.aie-history-answer strong {
  color: #ffffff;
  font-weight: 620;
}

.aie-history-item {
  display: grid;
  gap: 0;
}

.aie-history-trigger {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  color: rgba(247, 251, 255, 0.84);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  line-height: 1.35;
  padding: 9px 34px 9px 12px;
  position: relative;
  text-align: left;
}

.aie-history-trigger::after {
  content: "+";
  position: absolute;
  right: 12px;
  top: 50%;
  color: rgba(43, 176, 255, 0.86);
  font-weight: 800;
  transform: translateY(-50%);
}

.aie-history-trigger[aria-expanded="true"]::after {
  content: "-";
}

.aie-history-trigger:hover,
.aie-history-trigger:focus-visible {
  color: #ffffff;
  outline: none;
}

.aie-history-answer {
  max-height: 150px;
  overflow-y: auto;
  padding: 0 12px 12px;
  color: rgba(247, 251, 255, 0.68);
  font-size: 0.82rem;
  line-height: 1.45;
}

.aie-history-item.is-open {
  border-color: rgba(43, 176, 255, 0.38);
  background: rgba(0, 28, 52, 0.58);
}

.aie-history-item summary,
.aie-history-item p,
.aie-history-item summary::after,
.aie-history-item[open] summary::after {
  all: unset;
}

.aie-panel-home {
  border: 1px solid rgba(43, 176, 255, 0.52);
  appearance: none;
}

/* AI home native history accordion */
.aie-history-check {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.aie-history-trigger {
  display: block;
  width: 100%;
  box-sizing: border-box;
  cursor: pointer;
  user-select: none;
}

.aie-history-answer {
  display: none;
}

.aie-history-check:checked ~ .aie-history-answer {
  display: block;
}

.aie-history-check:checked ~ .aie-history-trigger::after {
  content: "-";
}

.aie-history-item:has(.aie-history-check:checked) {
  border-color: rgba(43, 176, 255, 0.38);
  background: rgba(0, 28, 52, 0.58);
}

/* Ensure response panel decoration never blocks interaction */
.aie-concept-response::before {
  pointer-events: none;
}

.aie-response-topbar,
.aie-response-history,
.aie-response-question,
.aie-response-answer-row,
.aie-response-actions {
  pointer-events: auto;
}

/* Keep response panel controls above the transparent header hit area */
.aie-concept-shell.has-response .aie-concept-stage {
  z-index: 7;
}

.aie-concept-shell.has-response .aie-concept-response {
  z-index: 8;
}

.aie-concept-shell.has-response .aie-concept-header {
  pointer-events: none;
}


/* AI home email sharing and lighter suggested questions */
.aie-concept-shell::after {
  top: 43%;
}

.aie-concept-suggestions > div {
  gap: 12px;
}

.aie-concept-suggestions button,
.aie-concept-shell.has-response .aie-concept-suggestions button {
  grid-template-columns: 34px 1fr;
  min-height: 58px;
  padding: 9px 12px;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.aie-concept-suggestions button:hover,
.aie-concept-suggestions button:focus-visible {
  border-color: transparent;
  background: rgba(0, 39, 72, 0.24);
  box-shadow: none;
}

.aie-concept-suggestions button i {
  width: 28px;
  height: 28px;
  font-size: 1.28rem;
}

.aie-concept-suggestions button span {
  font-size: clamp(0.82rem, 0.92vw, 0.98rem);
  line-height: 1.25;
}

.aie-response-topbar {
  left: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.aie-response-email {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: min(420px, calc(100% - 58px));
  height: 40px;
  padding: 0 8px 0 12px;
  border: 1px solid rgba(43, 176, 255, 0.34);
  border-radius: 999px;
  background: rgba(2, 12, 24, 0.36);
  color: rgba(247, 251, 255, 0.78);
}

.aie-response-email > i {
  color: rgba(247, 251, 255, 0.78);
  font-size: 0.95rem;
}

.aie-response-email input {
  width: min(285px, 40vw);
  min-width: 170px;
  border: 0;
  outline: 0;
  background: transparent;
  color: rgba(247, 251, 255, 0.92);
  font: inherit;
  font-size: 0.78rem;
}

.aie-response-email input::placeholder {
  color: rgba(247, 251, 255, 0.52);
}

.aie-email-share {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(43, 176, 255, 0.55);
  border-radius: 999px;
  background: rgba(35, 183, 255, 0.12);
  color: rgba(247, 251, 255, 0.92);
  cursor: pointer;
}

.aie-email-share[hidden] {
  display: none !important;
}

.aie-email-share:hover,
.aie-email-share:focus-visible {
  border-color: rgba(43, 176, 255, 0.92);
  background: rgba(35, 183, 255, 0.2);
  outline: none;
}

.aie-panel-home {
  flex: 0 0 auto;
}

@media (max-width: 720px) {
  .aie-response-topbar {
    left: 12px;
    right: 12px;
    gap: 8px;
  }

  .aie-response-email {
    max-width: calc(100% - 52px);
    height: 38px;
  }

  .aie-response-email input {
    width: 100%;
    min-width: 0;
  }

  .aie-response-question {
    margin-top: 52px;
  }
}

.aie-response-action.is-selected,
.aie-email-share.is-selected {
  color: #ffffff;
  border-color: rgba(50, 169, 255, 0.95);
  background: rgba(50, 169, 255, 0.28);
  box-shadow: 0 0 18px rgba(50, 169, 255, 0.28);
}

/* AI home suggested questions carousel */
.aie-concept-suggestions > .aie-suggestions-scroll-wrap,
.aie-concept-shell.has-response .aie-concept-suggestions > .aie-suggestions-scroll-wrap {
  position: relative;
  display: block;
  width: min(1420px, 100%);
  margin: 0 auto;
}

.aie-concept-shell.has-response .aie-concept-suggestions > .aie-suggestions-scroll-wrap {
  width: 100%;
}

.aie-suggestions-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.aie-suggestions-scroll::-webkit-scrollbar {
  display: none;
}

.aie-concept-suggestions .aie-suggestions-scroll button,
.aie-concept-shell.has-response .aie-concept-suggestions .aie-suggestions-scroll button {
  flex: 0 0 calc((100% - 36px) / 4);
  min-width: 0;
  scroll-snap-align: start;
}

.aie-suggestions-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(43, 176, 255, 0.58);
  border-radius: 999px;
  background: rgba(2, 18, 34, 0.88);
  color: rgba(247, 251, 255, 0.92);
  cursor: pointer;
  opacity: 0.78;
  pointer-events: auto;
  transform: translateY(-50%);
  transition: opacity 180ms ease, border-color 180ms ease, background 180ms ease;
}

.aie-suggestions-arrow.is-prev {
  left: -30px;
}

.aie-suggestions-arrow.is-next {
  right: -30px;
}

.aie-suggestions-scroll-wrap:hover .aie-suggestions-arrow:not([hidden]) {
  opacity: 1;
  pointer-events: auto;
}

.aie-suggestions-arrow:hover,
.aie-suggestions-arrow:focus-visible {
  border-color: rgba(43, 176, 255, 0.74);
  background: rgba(0, 39, 72, 0.56);
  outline: none;
}

.aie-suggestions-arrow:disabled {
  cursor: default;
  opacity: 0.18 !important;
  pointer-events: none;
}

.aie-suggestions-arrow[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .aie-concept-suggestions .aie-suggestions-scroll button,
  .aie-concept-shell.has-response .aie-concept-suggestions .aie-suggestions-scroll button {
    flex-basis: calc((100% - 12px) / 2);
  }
}

@media (max-width: 640px) {
  .aie-concept-suggestions .aie-suggestions-scroll button,
  .aie-concept-shell.has-response .aie-concept-suggestions .aie-suggestions-scroll button {
    flex-basis: 84%;
  }

  .aie-suggestions-arrow {
    display: none !important;
  }
}
/* AI home conversation email and fixed response rhythm */
.aie-concept-response {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  max-height: min(78vh, 720px);
  overflow: hidden;
}

.aie-concept-response.has-history {
  grid-template-rows: auto minmax(62px, 122px) auto minmax(0, 1fr) auto auto;
}

.aie-response-topbar {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  grid-row: 1;
  margin-bottom: 10px;
}

.aie-response-email {
  width: min(560px, calc(100% - 58px));
  max-width: min(560px, calc(100% - 58px));
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  gap: 10px;
}

.aie-response-email-caption {
  flex: 0 0 auto;
  color: rgba(247, 251, 255, 0.62);
  font-size: 0.68rem;
  line-height: 1.15;
  white-space: nowrap;
}

.aie-response-email-field {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  height: 38px;
  padding: 0 7px 0 11px;
  border: 1px solid rgba(43, 176, 255, 0.34);
  border-radius: 999px;
  background: rgba(2, 12, 24, 0.36);
}

.aie-response-email-field > i {
  color: rgba(247, 251, 255, 0.72);
  font-size: 0.9rem;
}

.aie-response-email input {
  width: min(220px, 24vw);
  min-width: 150px;
}

.aie-response-history {
  grid-row: 2;
  max-height: 122px;
  overflow-y: auto;
  margin: 0 56px 10px 0;
  padding-right: 4px;
}

.aie-response-question {
  grid-row: 3;
  margin: 0 46px 10px auto;
}

.aie-response-answer-row {
  grid-row: 4;
  min-height: 0;
  overflow: hidden;
}

.aie-response-answer {
  height: 100%;
  max-height: none;
  overflow-y: auto;
}

.aie-response-actions {
  grid-row: 5;
}

.aie-response-loading,
.aie-response-error {
  grid-row: 4;
  align-self: start;
  margin-left: 50px;
}

@media (max-width: 860px) {
  .aie-response-email {
    align-items: flex-start;
    flex-direction: column;
    width: calc(100% - 52px);
    max-width: calc(100% - 52px);
    gap: 4px;
  }

  .aie-response-email-caption {
    white-space: normal;
  }

  .aie-response-email-field {
    width: 100%;
  }

  .aie-response-email input {
    width: 100%;
    min-width: 0;
  }

  .aie-response-question {
    margin-right: 42px;
  }
}

/* AI home single-scroll response panel */
.aie-concept-response,
.aie-concept-response.has-history {
  display: block;
  max-height: min(78vh, 720px);
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
  padding: 26px 30px 30px;
}

.aie-response-topbar {
  position: sticky;
  top: 0;
  left: auto;
  right: auto;
  z-index: 7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 16px 0;
  padding-bottom: 8px;
  background: linear-gradient(180deg, rgba(1, 10, 22, 0.92) 0%, rgba(1, 10, 22, 0.78) 72%, rgba(1, 10, 22, 0) 100%);
}

.aie-response-email {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 10px;
  width: auto;
  max-width: calc(100% - 58px);
  min-width: 0;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
}

.aie-response-email-field {
  display: flex;
  align-items: center;
  gap: 7px;
  width: min(290px, 40vw);
  min-width: 190px;
  height: 38px;
  padding: 0 7px 0 11px;
  border: 1px solid rgba(43, 176, 255, 0.34);
  border-radius: 999px;
  background: rgba(2, 12, 24, 0.36);
}

.aie-response-email-caption {
  flex: 0 1 auto;
  color: rgba(247, 251, 255, 0.62);
  font-size: 0.68rem;
  line-height: 1.15;
  white-space: nowrap;
}

.aie-response-email input {
  width: 100%;
  min-width: 0;
}

.aie-response-history {
  display: grid;
  gap: 12px;
  max-height: none;
  overflow: visible;
  margin: 4px 56px 16px 0;
  padding: 0;
}

.aie-history-item {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(43, 176, 255, 0.2);
  border-radius: 14px;
  background: rgba(0, 22, 42, 0.34);
  padding: 10px 12px 12px;
}

.aie-history-question {
  min-width: 0;
  overflow: hidden;
  color: rgba(247, 251, 255, 0.88);
  font-size: 0.82rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.aie-history-answer {
  display: block !important;
  max-height: none;
  overflow: visible;
  padding: 0;
  color: rgba(247, 251, 255, 0.66);
  font-size: 0.78rem;
  line-height: 1.38;
  white-space: pre-wrap;
}

.aie-history-check,
.aie-history-trigger {
  display: none !important;
}

.aie-response-question {
  margin: 4px 46px 14px auto;
}

.aie-response-answer-row {
  min-height: 0;
  overflow: visible;
  margin-top: 0;
}

.aie-response-answer {
  height: auto;
  max-height: none;
  overflow: visible;
}

.aie-response-actions {
  margin-top: 12px;
}

.aie-response-loading,
.aie-response-error {
  display: flex;
  min-height: clamp(260px, 42vh, 420px);
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  color: rgba(247, 251, 255, 0.88);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.aie-response-loading[hidden],
.aie-response-error[hidden] {
  display: none !important;
}

.aie-concept-response[aria-busy="true"] .aie-response-answer-row,
.aie-concept-response[aria-busy="true"] .aie-response-actions {
  display: none !important;
}

@media (max-width: 860px) {
  .aie-response-topbar {
    align-items: flex-start;
  }

  .aie-response-email {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    width: calc(100% - 52px);
    max-width: calc(100% - 52px);
  }

  .aie-response-email-field {
    width: 100%;
    min-width: 0;
  }

  .aie-response-email-caption {
    order: 2;
    white-space: normal;
  }

  .aie-response-history {
    margin-right: 0;
  }

  .aie-response-question {
    margin-right: 42px;
  }
}
/* AI home response panel polish */
.aie-response-topbar {
  top: -1px;
  margin: -26px -30px 18px;
  padding: 26px 30px 14px;
  background: rgba(1, 10, 22, 0.98);
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  box-shadow: 0 14px 28px rgba(1, 10, 22, 0.92);
}

.aie-response-email {
  justify-content: flex-start;
}

.aie-response-email-caption {
  margin-left: 2px;
}

.aie-history-actions {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  margin-top: 2px;
}

.aie-history-action {
  width: 30px;
  height: 30px;
  font-size: 0.82rem;
}

.aie-history-item {
  scroll-margin-top: 120px;
}

.aie-response-question {
  scroll-margin-top: 155px;
}

@media (max-width: 860px) {
  .aie-response-topbar {
    margin: -26px -30px 16px;
  }

  .aie-response-email-caption {
    margin-left: 0;
  }
}
/* AI home response scroll and sticky mask final tuning */
.aie-concept-response,
.aie-concept-response.has-history {
  position: relative;
  padding-top: 14px;
}

.aie-response-topbar {
  top: -1px;
  isolation: isolate;
  margin: -14px -30px 30px;
  padding: 14px 30px 16px;
  background: #010a16;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  box-shadow: 0 20px 36px rgba(1, 10, 22, 1);
}

.aie-response-topbar::before {
  content: "";
  position: absolute;
  inset: -48px -34px -22px;
  z-index: -1;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  background: #010a16;
  box-shadow: 0 20px 36px rgba(1, 10, 22, 1);
}

.aie-response-question {
  margin-top: 42px;
  margin-bottom: 20px;
  scroll-margin-top: 132px;
}

.aie-response-history {
  margin-top: 10px;
  margin-bottom: 28px;
}

.aie-history-item {
  scroll-margin-top: 132px;
}

@media (max-width: 860px) {
  .aie-response-topbar {
    margin: -14px -30px 26px;
  }

  .aie-response-question {
    margin-top: 34px;
  }
}
/* AI home sticky compact mask and scroll retune */
.aie-concept-response,
.aie-concept-response.has-history {
  padding-top: 8px;
}

.aie-response-topbar {
  margin: -8px -30px 18px;
  padding: 8px 30px 10px;
  background: #010a16;
  box-shadow: 0 10px 18px rgba(1, 10, 22, 0.98);
}

.aie-response-topbar::before {
  inset: -30px -34px -8px;
  background: #010a16;
  box-shadow: 0 10px 18px rgba(1, 10, 22, 0.98);
}

.aie-response-question {
  margin-top: 34px;
  margin-bottom: 20px;
  scroll-margin-top: 118px;
}

.aie-response-history {
  margin-top: 8px;
  margin-bottom: 20px;
}

@media (max-width: 860px) {
  .aie-response-topbar {
    margin: -8px -30px 16px;
    padding-top: 8px;
  }

  .aie-response-question {
    margin-top: 28px;
  }
}


/* Keep the AI home grid and submit control within narrow viewports. */
@media (max-width: 1180px) {
  .aie-concept-stage,
  .aie-concept-shell.has-response .aie-concept-stage {
    grid-template-columns: minmax(0, 1fr);
  }

  .aie-concept-copy,
  .aie-concept-shell.has-response .aie-concept-copy {
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .aie-concept-header {
    padding: 22px 18px;
  }

  .aie-concept-logo img {
    width: min(246px, 70vw);
    height: auto;
  }

  .aie-concept-stage {
    padding: 112px 18px 36px;
    gap: 28px;
  }

  .aie-concept-copy,
  .aie-concept-shell.has-response .aie-concept-copy {
    transform: none;
  }

  .aie-concept-copy h1,
  .aie-concept-shell.has-response .aie-concept-copy h1 {
    font-size: clamp(2.3rem, 10vw, 3.2rem);
  }

  .aie-concept-copy > p {
    font-size: 1.15rem;
  }

  .aie-title-sequence .aie-title-line {
    flex-wrap: wrap;
  }

  .aie-title-sequence .aie-title-prefix {
    flex-shrink: 0;
  }

  .aie-concept-question {
    grid-template-columns: minmax(0, 1fr) 52px;
    min-height: 76px;
    padding: 8px 8px 8px 18px;
  }

  .aie-concept-question input {
    font-size: 16px;
  }

  .aie-concept-question button {
    width: 52px;
    height: 52px;
  }
}
/* AI home semantic answer formatting */
.aie-response-answer,
.aie-history-answer {
  white-space: normal;
}

.aie-response-answer > :first-child,
.aie-history-answer > :first-child {
  margin-top: 0;
}

.aie-response-answer > :last-child,
.aie-history-answer > :last-child {
  margin-bottom: 0;
}

.aie-response-answer p,
.aie-history-answer p {
  margin: 0 0 0.9em;
}

.aie-response-answer ul,
.aie-response-answer ol,
.aie-history-answer ul,
.aie-history-answer ol {
  margin: 0.55em 0 1em;
  padding-left: 1.45em;
}

.aie-response-answer li,
.aie-history-answer li {
  padding-left: 0.28em;
}

.aie-response-answer li + li,
.aie-history-answer li + li {
  margin-top: 0.42em;
}

.aie-response-answer li::marker,
.aie-history-answer li::marker {
  color: #34b5ff;
  font-weight: 700;
}

.aie-response-answer h3,
.aie-response-answer h4,
.aie-response-answer h5,
.aie-history-answer h3,
.aie-history-answer h4,
.aie-history-answer h5 {
  margin: 1.15em 0 0.48em;
  color: #f7fbff;
  font-size: 1.02em;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: 0;
}

.aie-response-answer em,
.aie-history-answer em {
  color: #d7e7f6;
}

.aie-response-answer code,
.aie-history-answer code {
  padding: 0.12em 0.34em;
  border: 1px solid rgba(88, 177, 235, 0.24);
  border-radius: 4px;
  background: rgba(15, 55, 82, 0.52);
  color: #dff4ff;
  font-size: 0.91em;
}

.aie-answer-table-wrap {
  max-width: 100%;
  margin: 0.7em 0 1.1em;
  overflow-x: auto;
  border: 1px solid rgba(88, 177, 235, 0.2);
  border-radius: 6px;
}

.aie-answer-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94em;
}

.aie-answer-table-wrap th,
.aie-answer-table-wrap td {
  padding: 0.7em 0.8em;
  border-bottom: 1px solid rgba(88, 177, 235, 0.15);
  text-align: left;
  vertical-align: top;
}

.aie-answer-table-wrap th {
  background: rgba(20, 78, 112, 0.4);
  color: #f7fbff;
  font-weight: 700;
}

.aie-answer-table-wrap tbody tr:last-child td {
  border-bottom: 0;
}

.aie-history-answer ul,
.aie-history-answer ol {
  margin-bottom: 0.82em;
}
/* AI home feature index menu */
body.has-feature-menu {
  overflow: hidden;
}

body.has-feature-menu #ys-chatbot-iframe {
  visibility: hidden !important;
}

.aie-concept-menu {
  display: grid !important;
  position: relative;
  z-index: 12;
  border: 1px solid transparent;
  border-radius: 6px;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.aie-concept-menu:hover,
.aie-concept-menu:focus-visible,
.aie-concept-menu[aria-expanded="true"] {
  border-color: rgba(98, 194, 255, 0.42);
  background: rgba(16, 70, 105, 0.36);
  color: #61c7ff;
  outline: none;
}

.aie-feature-menu-backdrop {
  position: fixed;
  z-index: 9;
  inset: 0;
  border: 0;
  background: rgba(1, 6, 13, 0.74);
  backdrop-filter: blur(7px);
  cursor: default;
}

.aie-feature-menu {
  position: fixed;
  z-index: 11;
  top: clamp(92px, 11vh, 126px);
  right: clamp(24px, 4vw, 70px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(980px, calc(100vw - 48px));
  max-height: calc(100vh - clamp(116px, 15vh, 164px));
  overflow: hidden;
  border: 1px solid rgba(88, 190, 255, 0.42);
  border-radius: 8px;
  background: rgba(3, 15, 27, 0.97);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.58), 0 0 42px rgba(22, 142, 214, 0.13);
  color: #f4f9fd;
  animation: aie-feature-menu-enter 180ms ease-out both;
}

.aie-feature-menu[hidden],
.aie-feature-menu-backdrop[hidden] {
  display: none;
}

@keyframes aie-feature-menu-enter {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.988);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.aie-feature-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid rgba(109, 180, 224, 0.18);
}

.aie-feature-menu-logo {
  display: inline-flex;
  align-items: center;
}

.aie-feature-menu-logo img {
  display: block;
  width: 126px;
  height: auto;
}

.aie-feature-menu-head-actions {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.aie-feature-menu-modes {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(109, 180, 224, 0.22);
  border-radius: 6px;
  background: rgba(5, 29, 46, 0.7);
}

.aie-feature-menu-modes button {
  min-height: 32px;
  padding: 6px 13px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #a9c7d9;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
}

.aie-feature-menu-modes button:hover,
.aie-feature-menu-modes button:focus-visible {
  color: #ffffff;
  outline: none;
}

.aie-feature-menu-modes button.is-current {
  background: #1489c7;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 126, 196, 0.2);
}

.aie-feature-menu-header span {
  display: block;
  margin-bottom: 4px;
  color: #58beef;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.aie-feature-menu-header h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.aie-feature-menu-close {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(110, 188, 236, 0.25);
  border-radius: 6px;
  background: rgba(14, 53, 79, 0.36);
  color: #edf8ff;
  cursor: pointer;
  font-size: 1.35rem;
}

.aie-feature-menu-close:hover,
.aie-feature-menu-close:focus-visible {
  border-color: rgba(98, 194, 255, 0.65);
  color: #61c7ff;
  outline: none;
}

.aie-feature-menu-content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  gap: 0 28px;
  overflow-y: auto;
  padding: 10px 24px 22px;
  scrollbar-color: rgba(78, 178, 235, 0.55) rgba(8, 31, 48, 0.45);
  scrollbar-width: thin;
}

.aie-feature-menu-content[hidden] {
  display: none;
}

.aie-feature-menu-group {
  min-width: 0;
  padding: 13px 0 11px;
  border-bottom: 1px solid rgba(109, 180, 224, 0.14);
}

.aie-feature-menu-group h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 9px;
  color: #7fd4ff;
  font-size: 0.79rem;
  font-weight: 750;
  letter-spacing: 0.045em;
  line-height: 1.35;
  text-transform: uppercase;
}

.aie-feature-menu-group h3 i {
  width: 18px;
  color: #36b9ff;
  font-size: 1rem;
  text-align: center;
}

.aie-feature-menu-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.aie-feature-menu-group li + li {
  margin-top: 1px;
}

.aie-feature-menu-group ul a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 14px;
  align-items: center;
  gap: 8px;
  min-height: 29px;
  padding: 4px 5px 4px 0;
  border-radius: 4px;
  color: #dce9f2;
  font-size: 0.85rem;
  line-height: 1.35;
  text-decoration: none;
  transition: color 140ms ease, background-color 140ms ease, padding-left 140ms ease;
}

.aie-feature-menu-link-copy {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.aie-feature-menu-upcoming {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 3px 5px 2px;
  border: 1px solid rgba(230, 168, 66, 0.7);
  border-radius: 3px;
  background: rgba(105, 67, 14, 0.34);
  color: #ffd37c;
  font-size: 0.49rem;
  font-style: normal;
  font-weight: 820;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.aie-site-footer {
  position: relative;
  z-index: 5;
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-top: 1px solid rgba(82, 176, 224, 0.16);
  background: #020b12;
  color: #7893a1;
  font-size: 0.72rem;
  text-align: center;
}

/* Keep the complete Home, including its legal footer, inside the viewport. */
.aie-concept-page {
  display: grid;
  height: 100vh;
  height: 100svh;
  min-height: 0;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
}

.aie-concept-shell {
  height: auto;
  min-height: 0;
}

.aie-site-footer a {
  color: #a8c9d8;
  text-decoration: none;
}

.aie-site-footer a:hover,
.aie-site-footer a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
  outline: none;
}

.aie-feature-menu-group ul a i {
  color: rgba(104, 194, 245, 0.54);
  font-size: 0.68rem;
  text-align: right;
  transition: transform 140ms ease, color 140ms ease;
}

.aie-feature-menu-group ul a:hover,
.aie-feature-menu-group ul a:focus-visible {
  padding-left: 8px;
  background: rgba(25, 95, 137, 0.23);
  color: #ffffff;
  outline: none;
}

.aie-feature-menu-group ul a:hover i,
.aie-feature-menu-group ul a:focus-visible i {
  color: #56c5ff;
  transform: translateX(2px);
}

.aie-feature-menu-group-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  margin: 0 0 9px;
  color: #8bd8ff;
  font-size: 0.79rem;
  font-weight: 750;
  letter-spacing: 0.035em;
  line-height: 1.35;
  text-decoration: none;
  text-transform: uppercase;
}

.aie-feature-menu-group-title span {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.aie-feature-menu-group-title i {
  display: grid;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid rgba(75, 192, 255, 0.42);
  border-radius: 50%;
  color: #4dc3ff;
  font-size: 0.68rem;
  font-style: normal;
}

.aie-feature-menu-group-title b {
  color: rgba(111, 204, 255, 0.66);
  font-size: 1.25rem;
  font-weight: 400;
  transition: transform 140ms ease, color 140ms ease;
}

.aie-feature-menu-group-title:hover,
.aie-feature-menu-group-title:focus-visible {
  color: #ffffff;
  outline: none;
}

.aie-feature-menu-group-title:hover b,
.aie-feature-menu-group-title:focus-visible b {
  color: #5bcaff;
  transform: translateX(3px);
}

.aie-feature-menu-status {
  margin: 0;
  padding: 12px 24px;
  border-top: 1px solid rgba(109, 180, 224, 0.17);
  background: rgba(14, 62, 91, 0.42);
  color: #bfe8ff;
  font-size: 0.86rem;
  opacity: 0;
}

.aie-feature-menu-status.is-visible {
  opacity: 1;
}

@media (max-width: 860px) {
  .aie-feature-menu {
    top: 88px;
    right: 16px;
    width: calc(100vw - 32px);
    max-height: calc(100vh - 104px);
  }

  .aie-feature-menu-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 22px;
  }
}

@media (max-width: 580px) {
  .aie-feature-menu {
    top: 78px;
    right: 10px;
    width: calc(100vw - 20px);
    max-height: calc(100vh - 88px);
  }

  .aie-feature-menu-header {
    min-height: 58px;
    gap: 8px;
    padding: 8px 10px 8px 12px;
  }

  .aie-feature-menu-logo img {
    width: 88px;
  }

  .aie-feature-menu-head-actions {
    gap: 5px;
  }

  .aie-feature-menu-modes {
    width: auto;
    gap: 2px;
    padding: 2px;
  }

  .aie-feature-menu-modes button {
    min-height: 30px;
    padding: 5px 7px;
    font-size: 0.67rem;
  }

  .aie-feature-menu-close {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

  .aie-feature-menu-content {
    grid-template-columns: minmax(0, 1fr);
    padding: 5px 18px 18px;
  }

  .aie-feature-menu-group {
    padding: 12px 0 10px;
  }

  .aie-feature-menu-group ul a {
    min-height: 32px;
    font-size: 0.88rem;
  }

  .aie-feature-menu-status {
    padding-inline: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aie-feature-menu {
    animation: none;
  }
}
/* Feature menu icon fallbacks */
.aie-concept-menu i,
.aie-feature-menu-close i,
.aie-feature-menu-group h3 i,
.aie-feature-menu-group ul a i {
  font-family: Arial, sans-serif;
  font-style: normal;
  line-height: 1;
}

.aie-concept-menu .fa-bars::before {
  content: "\2630";
}

.aie-concept-menu .fa-xmark::before,
.aie-feature-menu-close .fa-xmark::before {
  content: "\00d7";
}

.aie-feature-menu-group ul a .fa-chevron-right::before {
  content: "\203a";
}

.aie-feature-menu-group h3 .fa-compass::before {
  content: "\25c9";
}

.aie-feature-menu-group h3 .fa-wave-pulse::before {
  content: "\223f";
}

.aie-feature-menu-group h3 .fa-shield-halved::before {
  content: "\25c7";
}

.aie-feature-menu-group h3 .fa-network-wired::before {
  content: "\2318";
}

.aie-feature-menu-group h3 .fa-gears::before {
  content: "\2699";
}

.aie-feature-menu-group h3 .fa-grid-2::before {
  content: "\25a6";
}
/* Compact feature menu header */
.aie-feature-menu-header {
  min-height: 58px;
  justify-content: space-between;
  padding: 8px 14px;
}

/* Home actions and final menu density */
.aie-concept-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.aie-header-action,
.aie-feature-menu-quick-actions a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid rgba(103, 194, 248, 0.42);
  border-radius: 5px;
  background: rgba(4, 25, 42, 0.58);
  color: #eef9ff;
  font-size: 0.72rem;
  font-weight: 760;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

.aie-header-action:hover,
.aie-header-action:focus-visible,
.aie-feature-menu-quick-actions a:hover,
.aie-feature-menu-quick-actions a:focus-visible {
  border-color: #62c9ff;
  background: rgba(22, 109, 157, 0.32);
  color: #ffffff;
  outline: none;
}

.aie-header-action.aie-header-login,
.aie-feature-menu-quick-actions a.is-primary {
  border-color: #279fdc;
  background: #1687c2;
  color: #ffffff;
}

.aie-header-action.aie-header-login:hover,
.aie-header-action.aie-header-login:focus-visible,
.aie-feature-menu-quick-actions a.is-primary:hover,
.aie-feature-menu-quick-actions a.is-primary:focus-visible {
  border-color: #62ccff;
  background: #209bd8;
}

.aie-header-action.aie-language-choice,
.aie-feature-menu-quick-actions .aie-language-choice {
  flex: 0 0 40px;
  width: 40px;
  padding-inline: 0;
}

.aie-language-choice img {
  display: block;
  width: 24px;
  height: 16px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 2px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.aie-concept-menu {
  box-sizing: border-box;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  padding: 0;
  border-color: rgba(103, 194, 248, 0.42);
  background: rgba(4, 25, 42, 0.58);
  place-items: center;
  font-size: 1.15rem;
  line-height: 1;
}

.aie-concept-menu i {
  display: grid;
  width: 18px;
  height: 18px;
  margin: 0;
  place-items: center;
  line-height: 1;
}

.aie-concept-menu i::before {
  display: block;
  line-height: 1;
}

.aie-feature-menu-quick-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.aie-feature-menu-quick-actions a {
  min-height: 32px;
  padding-inline: 10px;
  font-size: 0.68rem;
}

.aie-feature-menu-group {
  padding-top: 10px;
  padding-bottom: 9px;
}

.aie-feature-menu-group ul a {
  min-height: 26px;
  padding-top: 2px;
  padding-bottom: 2px;
  font-size: 0.82rem;
}

@media (max-width: 640px) {
  .aie-concept-logo img {
    width: min(132px, 32vw);
    height: auto;
  }

  .aie-concept-header-actions {
    gap: 4px;
  }

  .aie-header-action {
    min-height: 32px;
    padding-inline: 7px;
    font-size: 0.62rem;
  }

  .aie-header-action.aie-language-choice {
    flex-basis: 34px;
    width: 34px;
  }

  .aie-concept-menu {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
    font-size: 1.05rem;
  }
}

@media (max-width: 580px) {
  .aie-feature-menu-header {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    align-items: start;
  }

  .aie-feature-menu-head-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 34px;
    grid-template-areas:
      "quick close"
      "modes modes";
    gap: 5px;
    width: 100%;
  }

  .aie-feature-menu-quick-actions {
    grid-area: quick;
    min-width: 0;
    gap: 4px;
  }

  .aie-feature-menu-quick-actions a {
    flex: 1 1 0;
    min-width: 0;
    min-height: 30px;
    padding-inline: 4px;
    font-size: 0.58rem;
  }

  .aie-feature-menu-modes {
    grid-area: modes;
    width: 100%;
  }

  .aie-feature-menu-close {
    grid-area: close;
  }

  .aie-feature-menu-group {
    padding-top: 9px;
    padding-bottom: 8px;
  }

  .aie-feature-menu-group ul a {
    min-height: 28px;
    font-size: 0.84rem;
  }
}

/* AI response layout: preserve the full hero and the primary actions beside the panel. */
.aie-concept-copy {
  min-width: 0;
  container-name: aie-hero;
  container-type: inline-size;
}

.aie-concept-shell.has-response .aie-concept-copy h1 {
  font-size: 4.25rem;
}

.aie-concept-shell.has-response .aie-title-sequence .aie-title-prefix,
.aie-concept-shell.has-response .aie-title-sequence em {
  flex: 0 0 auto;
}

@container aie-hero (max-width: 780px) {
  .aie-concept-shell.has-response .aie-concept-copy h1 {
    font-size: 3.5rem;
  }
}

@container aie-hero (max-width: 700px) {
  .aie-concept-shell.has-response .aie-concept-copy h1 {
    font-size: 3rem;
  }
}

@container aie-hero (max-width: 560px) {
  .aie-concept-shell.has-response .aie-concept-copy h1 {
    font-size: 2.6rem;
  }
}

.aie-concept-shell.has-response .aie-concept-logo,
.aie-concept-shell.has-response .aie-concept-header-actions {
  pointer-events: auto;
}

.aie-concept-shell.has-response .aie-concept-header {
  z-index: 9;
}

@media (min-width: 1181px) {
  .aie-concept-shell.has-response .aie-concept-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(440px, 0.74fr);
    column-gap: clamp(34px, 5vw, 84px);
  }

  .aie-concept-shell.has-response .aie-concept-logo,
  .aie-concept-shell.has-response .aie-concept-header-actions {
    grid-row: 1;
    grid-column: 1;
  }

  .aie-concept-shell.has-response .aie-concept-logo {
    justify-self: start;
  }

  .aie-concept-shell.has-response .aie-concept-header-actions {
    justify-self: end;
  }
}

/* AI response panel: fluid copy, refined scrollbar, and a comfortable final inset. */
.aie-concept-response,
.aie-concept-response.has-history {
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  padding-bottom: 72px;
  scroll-padding-block: 92px 72px;
  scrollbar-color: rgba(57, 177, 232, 0.78) rgba(8, 31, 48, 0.34);
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  container-name: aie-response;
  container-type: inline-size;
}

.aie-concept-response::-webkit-scrollbar {
  width: 7px;
}

.aie-concept-response::-webkit-scrollbar-track {
  border-radius: 6px;
  background: rgba(8, 31, 48, 0.34);
}

.aie-concept-response::-webkit-scrollbar-thumb {
  border: 1px solid rgba(2, 16, 29, 0.9);
  border-radius: 6px;
  background: rgba(57, 177, 232, 0.78);
}

.aie-concept-response::-webkit-scrollbar-thumb:hover {
  background: rgba(86, 201, 246, 0.95);
}

.aie-concept-response::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

.aie-response-topbar,
.aie-response-email,
.aie-response-email-field,
.aie-response-history,
.aie-response-question,
.aie-response-answer-row,
.aie-response-answer {
  min-width: 0;
  max-width: 100%;
}

.aie-response-question span,
.aie-response-answer,
.aie-history-question,
.aie-history-answer,
.aie-response-email-caption {
  overflow-wrap: anywhere;
}

.aie-response-answer {
  font-size: 1rem;
  line-height: 1.5;
}

.aie-response-actions {
  margin-bottom: 24px;
}

@container aie-response (max-width: 620px) {
  .aie-response-topbar {
    align-items: flex-start;
  }

  .aie-response-email {
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    width: calc(100% - 52px);
    max-width: calc(100% - 52px);
  }

  .aie-response-email-field {
    width: 100%;
  }

  .aie-response-email-caption {
    font-size: 0.64rem;
    line-height: 1.3;
    white-space: normal;
  }

  .aie-response-question {
    max-width: 100%;
    margin-right: 0;
    padding: 9px 12px;
    font-size: 0.88rem;
  }

  .aie-response-answer-row {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px;
  }

  .aie-response-answer {
    font-size: 0.94rem;
    line-height: 1.5;
  }
}

@media (max-width: 640px) {
  .aie-concept-response,
  .aie-concept-response.has-history {
    padding-right: 20px;
    padding-bottom: 60px;
    padding-left: 20px;
  }

  .aie-response-topbar {
    margin-right: -20px;
    margin-left: -20px;
    padding-right: 20px;
    padding-left: 20px;
  }
}

/* Gentle discovery cues for the home menu and suggested-question carousel. */
.aie-concept-menu[aria-expanded="false"] i {
  transform-origin: 50% 50%;
  animation: aie-menu-shake 20s ease-in-out 800ms infinite;
}

.aie-concept-menu:hover i,
.aie-concept-menu:focus-visible i,
.aie-concept-menu[aria-expanded="true"] i {
  animation-play-state: paused;
}

@keyframes aie-menu-shake {
  0%, 5%, 100% {
    transform: translateX(0) rotate(0);
  }
  0.8% {
    transform: translateX(-2px) rotate(-7deg);
  }
  1.6% {
    transform: translateX(3px) rotate(8deg);
  }
  2.4% {
    transform: translateX(-3px) rotate(-6deg);
  }
  3.2% {
    transform: translateX(2px) rotate(5deg);
  }
  4% {
    transform: translateX(-1px) rotate(-2deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .aie-concept-menu[aria-expanded="false"] i {
    animation: none;
  }
}

.aie-suggestions-scroll {
  scroll-snap-type: none;
}

.aie-suggestions-scroll.is-auto-scrolling {
  scroll-behavior: auto;
}
