:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-2: #eaf1f8;
  --ink: #10233e;
  --muted: #637083;
  --line: #d8e2ec;
  --dark: #071a30;
  --dark-2: #0d2d4d;
  --lime: #78c850;
  --mint: #dff3e5;
  --teal: #0b8f8a;
  --blue: #2166d1;
  --violet: #5d61d8;
  --amber: #f6b441;
  --rose: #e96f55;
  --shadow: 0 22px 64px rgba(16, 35, 62, 0.14);
  --radius: 8px;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  letter-spacing: 0;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(216, 226, 236, 0.94);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: min(var(--max), calc(100% - 48px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.brand img {
  display: block;
  width: min(190px, 42vw);
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

.site-footer .brand {
  width: fit-content;
  padding: 7px 10px;
  border-radius: var(--radius);
  background: white;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--lime), #5edfc9);
  color: var(--dark);
  font-size: 0.92rem;
}

.brand-text {
  font-size: 1.06rem;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.primary-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: #31445f;
  font-size: 0.92rem;
  font-weight: 750;
}

.primary-nav a:hover,
.primary-nav a.is-active {
  background: #e8f0fb;
  color: var(--dark);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(18, 35, 30, 0.12);
}

.btn-primary {
  background: linear-gradient(135deg, var(--dark), #123c67);
  color: white;
}

.btn-primary:hover {
  background: #123c67;
}

.btn-secondary {
  background: var(--blue);
  color: white;
}

.btn-secondary:hover {
  background: #1655b5;
}

.btn-ghost,
.btn-outline {
  background: var(--surface);
  color: var(--dark);
  border-color: var(--line);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #1d5c83;
  font-size: 0.82rem;
  font-weight: 900;
}

.hero {
  position: relative;
  isolation: isolate;
  padding: 30px 0 22px;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.96) 0%, rgba(237, 245, 252, 0.9) 46%, rgba(225, 244, 234, 0.94) 100%),
    repeating-linear-gradient(135deg, rgba(33, 102, 209, 0.08) 0 1px, transparent 1px 22px);
  background-size: 100% 100%, 100% 100%;
  border-bottom: 1px solid var(--line);
  animation: heroAmbient 14s ease-in-out infinite alternate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 76% 18%, rgba(120, 200, 80, 0.28), transparent 28%),
    radial-gradient(circle at 18% 72%, rgba(33, 102, 209, 0.13), transparent 24%);
}

.hero-grid,
.page-hero-grid,
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(430px, 1.05fr);
  gap: 62px;
  align-items: center;
}

.hero-copy {
  max-width: 720px;
}

.hero-grid > *,
.page-hero-grid > *,
.split-grid > *,
.grid-2 > *,
.grid-3 > *,
.grid-4 > * {
  min-width: 0;
}

.hero h1,
.page-hero h1 {
  margin: 18px 0 18px;
  font-size: clamp(2.35rem, 4.35vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: 0;
  max-width: 820px;
}

.hero h1 {
  margin: 14px 0;
  font-size: clamp(2.25rem, 4vw, 3.85rem);
}

.hero p {
  font-size: 1.02rem;
  line-height: 1.58;
}

.hero p,
.page-hero p,
.section-lead {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.66;
  max-width: 720px;
}

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

.hero .hero-actions {
  margin-top: 20px;
}

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

.hero .signal-row {
  margin-top: 18px;
}

.signal {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hero .signal {
  padding: 10px;
}

.hero .signal span {
  font-size: 0.8rem;
  line-height: 1.45;
}

.signal:hover {
  transform: translateY(-3px);
  border-color: #b7cfed;
  box-shadow: 0 16px 38px rgba(16, 35, 62, 0.1);
}

.signal strong {
  display: block;
  font-size: 1.12rem;
}

.signal span {
  color: var(--muted);
  font-size: 0.88rem;
}

.product-console {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(31, 65, 100, 0.94);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(7, 26, 48, 0.98), rgba(16, 43, 69, 0.98) 58%, rgba(14, 61, 58, 0.98)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 16px);
  color: white;
  box-shadow: var(--shadow);
  animation: consoleFloat 7s ease-in-out infinite;
}

.console-top {
  min-height: 54px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #1f4164;
}

.dot-row {
  display: flex;
  gap: 6px;
}

.dot-row span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--rose);
}

.dot-row span:nth-child(2) {
  background: var(--amber);
}

.dot-row span:nth-child(3) {
  background: var(--lime);
}

.console-top small,
.panel-label,
.metric span {
  color: #b9cce0;
  font-size: 0.78rem;
  font-weight: 850;
}

.console-body {
  min-width: 0;
  padding: 14px;
  display: grid;
  gap: 10px;
}

.hero-console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px;
  border: 1px solid #244a70;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(33, 102, 209, 0.24), rgba(11, 143, 138, 0.18));
}

.hero-console-head strong {
  display: block;
  margin-top: 7px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.hero-console-head em {
  flex: 0 0 auto;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  background: #9be37c;
  color: var(--dark);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
}

.ai-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.flow-step {
  min-width: 0;
  min-height: 58px;
  padding: 10px;
  border: 1px solid #244a70;
  border-radius: 8px;
  background: rgba(13, 45, 77, 0.82);
  animation: stepIn 720ms ease both;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.flow-step:nth-child(2) { animation-delay: 90ms; }
.flow-step:nth-child(3) { animation-delay: 180ms; }
.flow-step:nth-child(4) { animation-delay: 270ms; }
.flow-step:nth-child(5) { animation-delay: 360ms; }

.flow-step:hover {
  transform: translateY(-3px);
  border-color: #4e86bd;
  background: rgba(24, 76, 121, 0.9);
}

.flow-step strong {
  display: block;
  margin-top: 8px;
  font-size: 0.86rem;
}

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

.metric,
.dark-panel {
  min-width: 0;
  border: 1px solid #244a70;
  border-radius: 8px;
  background: rgba(13, 45, 77, 0.82);
}

.metric {
  padding: 12px;
  animation: metricPulse 4.8s ease-in-out infinite;
}

.metric:nth-child(2) {
  animation-delay: 0.45s;
}

.metric:nth-child(3) {
  animation-delay: 0.9s;
}

.metric strong {
  display: block;
  margin-top: 8px;
  font-size: 1.38rem;
}

.metric em {
  display: block;
  margin-top: 5px;
  color: #9be37c;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 900;
}

.console-split {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 10px;
}

.dark-panel {
  padding: 12px;
}

.bar-chart {
  height: 104px;
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 7px;
  align-items: end;
  border-bottom: 1px solid #456986;
}

.bar-chart i {
  display: block;
  min-height: 18px;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, #9be37c, #36bfd4);
  transform-origin: bottom;
  animation: barGrow 920ms ease-out both, barBreathe 3.8s ease-in-out 1.1s infinite alternate;
}

.bar-chart i:nth-child(1) { height: 38%; }
.bar-chart i:nth-child(2) { height: 31%; }
.bar-chart i:nth-child(3) { height: 49%; }
.bar-chart i:nth-child(4) { height: 56%; }
.bar-chart i:nth-child(5) { height: 44%; }
.bar-chart i:nth-child(6) { height: 68%; }
.bar-chart i:nth-child(7) { height: 62%; }
.bar-chart i:nth-child(8) { height: 78%; }
.bar-chart i:nth-child(9) { height: 72%; }
.bar-chart i:nth-child(10) { height: 92%; }
.bar-chart i:nth-child(11) { height: 85%; }
.bar-chart i:nth-child(12) { height: 100%; }

.bar-chart i:nth-child(2) { animation-delay: 80ms, 1.18s; }
.bar-chart i:nth-child(3) { animation-delay: 130ms, 1.23s; }
.bar-chart i:nth-child(4) { animation-delay: 180ms, 1.28s; }
.bar-chart i:nth-child(5) { animation-delay: 230ms, 1.33s; }
.bar-chart i:nth-child(6) { animation-delay: 280ms, 1.38s; }
.bar-chart i:nth-child(7) { animation-delay: 330ms, 1.43s; }
.bar-chart i:nth-child(8) { animation-delay: 380ms, 1.48s; }
.bar-chart i:nth-child(9) { animation-delay: 430ms, 1.53s; }
.bar-chart i:nth-child(10) { animation-delay: 480ms, 1.58s; }
.bar-chart i:nth-child(11) { animation-delay: 530ms, 1.63s; }
.bar-chart i:nth-child(12) { animation-delay: 580ms, 1.68s; }

.recommendation {
  display: grid;
  gap: 8px;
}

.rec-card {
  padding: 10px;
  border-radius: 8px;
  background: rgba(18, 60, 103, 0.82);
  border: 1px solid #315f8f;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.rec-card:hover {
  transform: translateX(3px);
  border-color: #66a9dc;
}

.rec-card strong {
  display: block;
  font-size: 0.9rem;
}

.rec-card span {
  display: block;
  margin-top: 5px;
  color: #cbdbea;
  font-size: 0.78rem;
  line-height: 1.4;
}

.product-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 44px 0 54px;
  background:
    linear-gradient(180deg, #ffffff 0%, #eef6ff 54%, #f6fbf8 100%);
  border-bottom: 1px solid var(--line);
}

.product-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 82% 12%, rgba(33, 102, 209, 0.18), transparent 28%),
    radial-gradient(circle at 70% 84%, rgba(120, 200, 80, 0.2), transparent 26%);
}

.product-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 46%;
  background:
    linear-gradient(rgba(33, 102, 209, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 102, 209, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(transparent, #000 38%);
}

.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 62px;
  align-items: center;
}

.product-hero-copy {
  min-width: 0;
}

.product-pill {
  width: fit-content;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 13px;
  border: 1px solid #cfe0ef;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #13577b;
  font-size: 0.84rem;
  font-weight: 900;
  box-shadow: 0 10px 26px rgba(16, 35, 62, 0.08);
}

.product-hero h1 {
  margin: 20px 0 18px;
  max-width: 760px;
  color: var(--dark);
  font-size: clamp(2.25rem, 3.8vw, 3.75rem);
  line-height: 1.12;
  text-wrap: balance;
}

.product-hero p {
  max-width: 660px;
  margin: 0;
  color: #526579;
  font-size: 1.08rem;
  line-height: 1.66;
}

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

.product-trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
  max-width: 590px;
}

.product-trust-row div {
  min-width: 0;
  padding: 14px 15px;
  border: 1px solid rgba(216, 226, 236, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 34px rgba(16, 35, 62, 0.07);
}

.product-trust-row strong {
  display: block;
  color: var(--dark);
  font-size: 1.42rem;
  line-height: 1;
}

.product-trust-row span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.product-hero-visual {
  position: relative;
  min-width: 0;
  padding: 38px 24px;
}

.app-window {
  overflow: hidden;
  border: 1px solid rgba(167, 190, 214, 0.8);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow:
    0 32px 90px rgba(16, 35, 62, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.app-window-top {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid #dbe6f0;
  color: #516982;
  font-size: 0.82rem;
  font-weight: 900;
}

.app-window-actions {
  display: flex;
  gap: 6px;
}

.app-window-actions i {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #9db0c1;
}

.app-window-body {
  display: grid;
  grid-template-columns: 64px 1fr;
  min-height: 480px;
}

.mock-sidebar {
  display: grid;
  grid-template-rows: auto repeat(4, 42px) 1fr;
  justify-items: center;
  gap: 12px;
  padding: 18px 0;
  background: #071a30;
  color: white;
}

.mock-sidebar strong {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #2166d1, #0b8f8a);
  font-size: 0.82rem;
}

.mock-sidebar span {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
}

.mock-sidebar span.is-active {
  background: #78c850;
}

.mock-main {
  min-width: 0;
  padding: 18px;
  display: grid;
  gap: 14px;
}

.mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.mock-header span,
.mock-score span,
.mock-recommendation span {
  display: block;
  color: #718296;
  font-size: 0.78rem;
  font-weight: 900;
}

.mock-header strong {
  display: block;
  margin-top: 6px;
  color: var(--dark);
  font-size: 1.18rem;
}

.mock-header em {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  background: #e8f8df;
  color: #2f6f18;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 950;
}

.mock-score-grid {
  display: grid;
  grid-template-columns: 1.18fr repeat(2, 1fr);
  gap: 12px;
}

.mock-score {
  min-width: 0;
  padding: 14px;
  border: 1px solid #d8e2ec;
  border-radius: 8px;
  background: #ffffff;
}

.mock-score.primary {
  color: white;
  background: linear-gradient(135deg, #071a30, #123c67);
  border-color: #123c67;
}

.mock-score.primary span,
.mock-score.primary small {
  color: #b9cce0;
}

.mock-score strong {
  display: block;
  margin-top: 8px;
  color: var(--dark);
  font-size: 1.62rem;
  line-height: 1;
}

.mock-score.primary strong {
  color: white;
}

.mock-score small {
  display: block;
  margin-top: 8px;
  color: #6d7e91;
  font-weight: 800;
}

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

.mock-workflow div {
  min-height: 76px;
  display: grid;
  place-items: center;
  gap: 7px;
  border: 1px solid #d8e2ec;
  border-radius: 8px;
  background: #f8fbfe;
  color: #1f5e8e;
  font-weight: 900;
}

.mock-workflow span {
  font-size: 0.82rem;
}

.mock-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mock-chart,
.mock-recommendation {
  min-width: 0;
  min-height: 142px;
  padding: 14px;
  border: 1px solid #d8e2ec;
  border-radius: 8px;
  background: #ffffff;
}

.mock-chart {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  gap: 8px;
}

.mock-chart i {
  display: block;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #78c850, #36bfd4);
  animation: barBreathe 3.8s ease-in-out infinite alternate;
}

.mock-chart i:nth-child(1) { height: 38%; }
.mock-chart i:nth-child(2) { height: 54%; }
.mock-chart i:nth-child(3) { height: 44%; }
.mock-chart i:nth-child(4) { height: 70%; }
.mock-chart i:nth-child(5) { height: 62%; }
.mock-chart i:nth-child(6) { height: 88%; }
.mock-chart i:nth-child(7) { height: 78%; }

.mock-recommendation strong {
  display: block;
  margin-top: 10px;
  color: var(--dark);
  line-height: 1.35;
}

.mock-recommendation small {
  display: inline-flex;
  margin-top: 14px;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #edf7ff;
  color: #1f5e8e;
  font-weight: 900;
}

.floating-insight {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 230px;
  padding: 12px;
  border: 1px solid rgba(216, 226, 236, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 46px rgba(16, 35, 62, 0.16);
}

.floating-insight i {
  width: 38px;
  height: 38px;
  padding: 9px;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, #2166d1, #0b8f8a);
}

.floating-insight strong,
.floating-insight span {
  display: block;
}

.floating-insight strong {
  color: var(--dark);
  font-size: 0.9rem;
}

.floating-insight span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.insight-one {
  top: 0;
  right: 0;
}

.insight-two {
  left: 0;
  bottom: 6px;
}

.section {
  padding: 86px 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-header h2,
.split-grid h2 {
  margin: 16px 0 0;
  max-width: 780px;
  font-size: clamp(2rem, 3vw, 2.85rem);
  line-height: 1.08;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 16px;
}

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

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(16, 35, 62, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: #b7cfed;
  box-shadow: 0 22px 52px rgba(16, 35, 62, 0.1);
}

.icon-box {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 9px;
  background: linear-gradient(135deg, #e3f1ff, var(--mint));
  color: var(--blue);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.17rem;
  line-height: 1.25;
}

.card p,
.card li {
  color: var(--muted);
  line-height: 1.65;
}

.card ul {
  margin: 14px 0 0;
  padding-left: 18px;
}

.module-card {
  min-height: 100%;
}

.module-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f7fbff;
  color: #315176;
  font-size: 0.78rem;
  font-weight: 800;
}

.page-hero {
  padding: 72px 0 54px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.app-map {
  display: grid;
  gap: 12px;
}

.app-node {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.app-node span:first-child {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #a4e583, #78d8dc);
  font-weight: 900;
}

.app-node strong {
  display: block;
}

.app-node small {
  color: var(--muted);
}

.app-node em {
  color: var(--teal);
  font-style: normal;
  font-weight: 900;
}

.data-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.data-row {
  display: grid;
  grid-template-columns: 1fr 1fr 0.8fr;
  gap: 12px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}

.data-row:last-child {
  border-bottom: 0;
}

.data-row strong {
  color: var(--dark);
}

.data-row span {
  color: var(--muted);
}

.price-card {
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: #8cb7ec;
  box-shadow: 0 24px 70px rgba(33, 102, 209, 0.16);
}

.plan {
  color: var(--teal);
  font-weight: 950;
}

.price {
  margin: 18px 0 8px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price strong {
  font-size: 3rem;
  line-height: 1;
}

.price span {
  color: var(--muted);
  font-weight: 800;
}

.price-card .btn {
  margin-top: auto;
}

.pricing-toggle {
  width: fit-content;
  display: flex;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
}

.pricing-toggle button {
  border: 0;
  padding: 9px 13px;
  border-radius: 7px;
  color: var(--muted);
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.pricing-toggle button.is-active {
  color: white;
  background: var(--dark);
}

.form-panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.auth-hero {
  background:
    radial-gradient(circle at 80% 20%, rgba(33, 102, 209, 0.15), transparent 34%),
    var(--surface);
  background-size: 130% 130%, 100% 100%;
  animation: heroAmbient 14s ease-in-out infinite alternate;
}

.auth-panel h2 {
  margin: 0 0 8px;
  font-size: 1.65rem;
}

.auth-panel > p {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.6;
}

.auth-submit {
  width: 100%;
  margin-top: 18px;
}

.auth-error {
  display: none;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid #ffc4b3;
  border-radius: 8px;
  background: #fff1ec;
  color: #82311e;
  font-weight: 850;
  line-height: 1.5;
}

.auth-error.is-visible {
  display: block;
  animation: formNotice 260ms ease both;
}

.auth-links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.auth-links a {
  color: var(--teal);
  font-weight: 850;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: #334943;
  font-weight: 850;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
  color: var(--ink);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: white;
  box-shadow: 0 0 0 4px rgba(10, 168, 137, 0.12);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-message {
  display: none;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid #afe48d;
  border-radius: 8px;
  background: #effce8;
  color: #254b2b;
  font-weight: 850;
}

.form-message.is-visible {
  display: block;
  animation: formNotice 260ms ease both;
}

.form-message-error {
  border-color: #ffc4b3;
  background: #fff1ec;
  color: #82311e;
}

.cta-band {
  padding: 76px 0;
  color: white;
  background:
    linear-gradient(90deg, rgba(7, 26, 48, 0.96), rgba(18, 60, 103, 0.96) 58%, rgba(11, 143, 138, 0.92)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 18px);
}

.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.cta-grid h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.08;
}

.cta-grid p {
  margin: 0;
  max-width: 720px;
  color: #cfe1dc;
  line-height: 1.65;
}

.site-footer {
  padding: 56px 0 28px;
  background: #071a30;
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 30px;
}

.site-footer p,
.site-footer a {
  color: #bad0c8;
  line-height: 1.72;
}

.site-footer h4 {
  margin: 0 0 12px;
}

.site-footer div:not(.footer-grid):not(.footer-bottom):not(.container):not(.brand):not(.brand-mark) > a {
  display: block;
  margin: 7px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid #1f4164;
  color: #9cb5cb;
}

.reveal-item {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 640ms ease, transform 640ms ease;
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroAmbient {
  from {
    background-position: 0% 42%, 0 0;
  }

  to {
    background-position: 100% 58%, 0 0;
  }
}

@keyframes consoleFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes stepIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

@keyframes metricPulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(157, 242, 71, 0);
  }

  50% {
    box-shadow: 0 0 0 1px rgba(157, 242, 71, 0.22), 0 0 28px rgba(157, 242, 71, 0.08);
  }
}

@keyframes barGrow {
  from {
    transform: scaleY(0.18);
    opacity: 0.72;
  }

  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes barBreathe {
  from {
    transform: scaleY(0.92);
  }

  to {
    transform: scaleY(1.04);
  }
}

@keyframes formNotice {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

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

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

  .reveal-item {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .primary-nav {
    position: absolute;
    top: 77px;
    left: 24px;
    right: 24px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  body.nav-open .primary-nav {
    display: flex;
  }

  .hero-grid,
  .product-hero-grid,
  .page-hero-grid,
  .split-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .product-hero {
    padding: 48px 0 62px;
  }

  .product-hero-visual {
    padding: 34px 0 18px;
  }

  .floating-insight {
    position: relative;
    inset: auto;
    margin-top: 12px;
    width: 100%;
  }

  .grid-4,
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 680px) {
  body {
    overflow-x: hidden;
  }

  .container,
  .nav-shell {
    width: min(100% - 36px, var(--max));
  }

  .desktop-only,
  .nav-actions .btn-primary {
    display: none;
  }

  .hero {
    padding: 48px 0 56px;
  }

  .product-hero {
    padding: 36px 0 46px;
  }

  .product-hero h1 {
    font-size: 2.34rem;
    line-height: 1.05;
    overflow-wrap: anywhere;
  }

  .product-hero p {
    font-size: 1rem;
    line-height: 1.62;
  }

  .product-hero-actions .btn {
    width: 100%;
  }

  .product-trust-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .product-trust-row div {
    padding: 10px 8px;
  }

  .product-trust-row strong {
    font-size: 1.08rem;
  }

  .product-trust-row span {
    font-size: 0.7rem;
    line-height: 1.25;
  }

  .mock-score-grid {
    grid-template-columns: 1fr;
  }

  .mock-score:not(.primary) {
    display: none;
  }

  .mock-workflow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mock-bottom,
  .floating-insight {
    display: none;
  }

  .app-window-body {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .mock-sidebar {
    grid-template-columns: auto repeat(4, 28px);
    grid-template-rows: 1fr;
    justify-content: start;
    padding: 12px;
  }

  .mock-sidebar strong {
    width: 34px;
    height: 34px;
  }

  .mock-sidebar span {
    width: 28px;
    height: 28px;
  }

  .mock-main {
    padding: 14px;
  }

  .mock-header {
    align-items: flex-start;
  }

  .mock-workflow div {
    min-height: 64px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.15rem;
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .hero p,
  .page-hero p,
  .section-lead {
    font-size: 1rem;
    overflow-wrap: anywhere;
  }

  .signal span,
  .card p,
  .card li,
  .rec-card span,
  .app-node small {
    overflow-wrap: anywhere;
  }

  .hero-actions .btn,
  .cta-grid .btn {
    width: 100%;
  }

  .signal-row,
  .metrics-grid,
  .console-split,
  .grid-4,
  .grid-3,
  .grid-2,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .ai-flow {
    grid-template-columns: 1fr;
  }

  .hero-console-head {
    display: grid;
  }

  .hero-console-head em {
    width: fit-content;
  }

  .console-top small {
    max-width: 190px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .data-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 62px 0;
  }

  .section-header {
    display: block;
  }

  .field.full {
    grid-column: auto;
  }

  .auth-links {
    display: grid;
  }
}
