:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-strong: #e9eff6;
  --ink: #07111f;
  --muted: #566578;
  --line: rgba(9, 22, 40, 0.09);
  --navy: #0a1628;
  --navy-2: #101f34;
  --steel: #3f5f82;
  --cyan: #4fa8b8;
  --green: #3d9460;
  --amber: #b87d2e;
  --red: #c45c4a;
  --shadow: 0 20px 64px rgba(8, 22, 42, 0.12);
  --shadow-soft: 0 8px 28px rgba(8, 22, 42, 0.06);
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(79, 168, 184, 0.1), transparent 28rem),
    linear-gradient(180deg, #fbfcfe 0%, var(--bg) 48%, #e8eef5 100%);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-feature-settings: "kern" 1, "liga" 1;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

button {
  font: inherit;
}

.container {
  width: min(100% - 28px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 72px 0;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(251, 252, 254, 0.9);
  border-color: var(--line);
  box-shadow: 0 8px 32px rgba(8, 22, 42, 0.06);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: linear-gradient(155deg, var(--navy) 0%, var(--steel) 100%);
  color: white;
  font-size: 0.82rem;
  box-shadow: var(--shadow-soft);
}

.brand-mark-layer {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  border-radius: 12px;
}

.nav-toggle {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.nav-menu {
  position: fixed;
  top: 72px;
  right: 14px;
  left: 14px;
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(18px);
}

.nav-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-menu a {
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  background: var(--surface-strong);
  color: var(--ink);
  outline: none;
}

.nav-menu .nav-cta {
  margin-top: 4px;
  background: var(--navy);
  color: white;
  font-weight: 750;
}

.nav-menu .nav-cta:hover {
  background: var(--navy-2);
  color: white;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 108px;
  padding-bottom: 56px;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(251, 252, 254, 0.92) 0%, rgba(251, 252, 254, 0.4) 42%, transparent 68%),
    radial-gradient(ellipse 80% 60% at 85% 30%, rgba(79, 168, 184, 0.08), transparent);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 32px;
  align-items: center;
}

.hero-copy {
  max-width: 36rem;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--steel);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 7.2vw, 3.65rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  font-weight: 800;
}

.headline-line {
  display: block;
}

.headline-accent {
  color: var(--steel);
  font-weight: 750;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.65rem, 5.5vw, 2.75rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
  font-weight: 800;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 750;
}

.hero-text {
  max-width: 34rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.hero-text strong {
  color: var(--ink);
  font-weight: 700;
}

.hero-actions {
  display: grid;
  gap: 10px;
  margin: 24px 0 20px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 20px;
  font-size: 0.9rem;
  font-weight: 750;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--navy);
  color: white;
  box-shadow: 0 14px 36px rgba(8, 22, 42, 0.18);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink);
}

.signal-row,
.strip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.signal-row span,
.strip-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
}

.hero-connector {
  display: none;
}

.dashboard-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  background: linear-gradient(168deg, #152438 0%, #081018 100%);
  box-shadow: var(--shadow);
  color: white;
}

.hero-dashboard {
  padding: 14px;
}

.dashboard-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
}

.dashboard-topbar span:not(.status-badge):not(strong) {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.dashboard-topbar strong {
  flex: 1;
  min-width: 120px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
}

.dashboard-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.68rem;
  font-weight: 600;
}

.dashboard-meta time {
  font-variant-numeric: tabular-nums;
}

.meta-divider {
  opacity: 0.5;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-live {
  background: rgba(79, 168, 184, 0.22);
  color: #8fd4df;
}

.status-sync {
  background: rgba(61, 148, 96, 0.2);
  color: #8fd4a8;
}

.status-ok {
  background: rgba(61, 148, 96, 0.18);
  color: var(--green);
}

.status-warn {
  background: rgba(184, 125, 46, 0.18);
  color: var(--amber);
}

.status-alert {
  background: rgba(196, 92, 74, 0.18);
  color: #e8a89a;
}

.kpi-grid {
  display: grid;
  gap: 8px;
  margin-bottom: 8px;
}

.kpi-card,
.chart-card,
.insight-card,
.queue-card,
.mini-dashboard,
.capability-card,
.use-card,
.process-step,
.problem-stack article,
.credibility-panel,
.final-panel,
.layer-core,
.layer-column {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
}

.kpi-card {
  display: grid;
  gap: 2px;
  padding: 12px;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
}

.kpi-card span,
.chart-header span,
.queue-header span,
.demo-label,
.report-card span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.kpi-card strong {
  font-size: 1.45rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.kpi-card em {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-style: normal;
}

.trend-up {
  color: #8fd4a8 !important;
}

.dashboard-split {
  display: grid;
  gap: 8px;
  margin-bottom: 8px;
}

.chart-card,
.queue-card,
.insight-card {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
}

.chart-card {
  padding: 12px;
}

.chart-header,
.queue-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.chart-header strong,
.queue-header strong {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.72rem;
  font-weight: 700;
}

.bar-chart {
  display: grid;
  height: 88px;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 6px;
}

.bar-chart span {
  min-height: 20px;
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, rgba(79, 168, 184, 0.85), rgba(79, 168, 184, 0.12));
}

.queue-card {
  padding: 12px;
}

.activity-feed {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.activity-feed li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: start;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
}

.activity-feed li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.feed-time {
  color: rgba(255, 255, 255, 0.4);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.feed-body {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.35;
}

.insight-card {
  display: flex;
  gap: 10px;
  padding: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
}

.insight-label {
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.insight-card p:last-child {
  margin: 0;
  line-height: 1.45;
}

.pulse {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  margin-top: 4px;
  border-radius: 999px;
  background: var(--cyan);
  animation: pulse 2.6s ease-out infinite;
}

/* Trust strip */
.trust-strip {
  padding: 14px 0;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
}

.strip-grid {
  justify-content: flex-start;
  overflow-x: auto;
  flex-wrap: nowrap;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.strip-grid::-webkit-scrollbar {
  display: none;
}

.strip-grid span {
  flex-shrink: 0;
  min-height: 34px;
  padding: 0 12px;
}

/* Layer section — signature motif */
.layer-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(233, 239, 246, 0.6));
}

.section-heading {
  max-width: 40rem;
  margin-bottom: 28px;
}

.section-heading-center {
  margin-inline: auto;
  text-align: center;
}

.section-heading-center p {
  margin-inline: auto;
  max-width: 36rem;
}

.section-heading p,
.section-copy p,
.final-panel p,
.credibility-sub {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.layer-diagram {
  display: grid;
  gap: 16px;
  align-items: stretch;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.layer-label {
  margin: 0 0 10px;
  color: var(--steel);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.layer-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.layer-column li {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
}

.layer-core {
  display: grid;
  justify-items: center;
  padding: 24px 16px;
  border-color: rgba(10, 22, 40, 0.12);
  background: linear-gradient(165deg, var(--navy) 0%, #152a42 100%);
  color: white;
  text-align: center;
  box-shadow: var(--shadow);
}

.layer-core strong {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.layer-core em {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  font-style: normal;
}

.layer-core-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}

.layer-core-tags span {
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
}

.layer-flow {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 4px 0;
}

.layer-flow span {
  width: 2px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cyan), transparent);
}

.layer-flow-out span {
  background: linear-gradient(0deg, var(--cyan), transparent);
}

/* Problem & systems */
.two-column {
  display: grid;
  gap: 28px;
}

.problem-stack {
  display: grid;
  gap: 12px;
}

.problem-stack article {
  padding: 18px;
}

.problem-stack span,
.capability-card span,
.process-step span {
  color: var(--steel);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.problem-stack strong {
  display: block;
  margin: 10px 0 6px;
  font-size: 0.95rem;
}

.problem-stack p,
.capability-card p,
.use-card p,
.process-step p,
.demo-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.capability-grid,
.use-case-grid,
.process-grid,
.dashboard-showcase {
  display: grid;
  gap: 14px;
}

.capability-card,
.use-card,
.process-step {
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.capability-card h3,
.process-step h3 {
  margin-top: 14px;
}

.dashboard-section {
  background: linear-gradient(180deg, transparent, rgba(226, 234, 243, 0.75));
}

.demo-panel {
  display: grid;
  gap: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.8);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.demo-panel-alt {
  background: linear-gradient(140deg, #0c1829 0%, #1a3048 100%);
  color: white;
}

.demo-panel-alt .demo-copy p,
.demo-panel-alt .demo-label {
  color: rgba(255, 255, 255, 0.62);
}

.demo-label {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--steel);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mini-dashboard {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: rgba(246, 248, 251, 0.95);
}

.mini-dashboard.dark {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
}

.mini-dashboard-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.68rem;
  font-weight: 650;
  color: var(--muted);
}

.dark .mini-dashboard-bar {
  color: rgba(255, 255, 255, 0.55);
}

.mini-dashboard-bar time {
  font-variant-numeric: tabular-nums;
}

.mini-kpis {
  display: grid;
  gap: 8px;
}

.mini-kpis span {
  display: grid;
  gap: 2px;
  min-height: 64px;
  align-content: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.dark .mini-kpis span {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.6);
}

.mini-kpis strong {
  color: var(--ink);
  font-size: 1.28rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.dark .mini-kpis strong {
  color: white;
}

.lead-list {
  display: grid;
  gap: 6px;
}

.lead-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}

.lead-list b {
  display: block;
  font-size: 0.84rem;
}

.lead-list small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
}

.lead-list em {
  flex-shrink: 0;
  color: var(--green);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 800;
}

.line-card {
  display: grid;
  min-height: 120px;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    rgba(255, 255, 255, 0.04);
  background-size: 100% 32px;
}

.line-card span {
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, rgba(79, 168, 184, 0.85), rgba(79, 168, 184, 0.1));
}

.line-card span:nth-child(1) { height: 42%; }
.line-card span:nth-child(2) { height: 78%; }
.line-card span:nth-child(3) { height: 58%; }
.line-card span:nth-child(4) { height: 90%; }

.dashboard-footnote {
  margin: 0;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.48);
  font-weight: 600;
}

.report-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}

.report-card span {
  color: var(--steel);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.report-card strong {
  display: block;
  margin: 6px 0;
  font-size: 1rem;
}

.report-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.progress-list {
  display: grid;
  gap: 8px;
}

.progress-list span {
  position: relative;
  overflow: hidden;
  padding: 9px 11px;
  border-radius: 999px;
  background: white;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
}

.progress-list span::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--value);
  background: linear-gradient(90deg, rgba(79, 168, 184, 0.2), rgba(79, 168, 184, 0.04));
  content: "";
}

/* Workflows */
.workflow-map {
  display: grid;
  gap: 8px;
}

.workflow-map > div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  font-size: 0.88rem;
  font-weight: 750;
}

.workflow-step {
  display: block;
  margin-bottom: 4px;
  color: var(--steel);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.workflow-connector {
  width: 2px;
  height: 20px;
  margin-inline: auto;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cyan), transparent);
}

/* Credibility & CTA */
.credibility-panel {
  display: grid;
  gap: 20px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(233, 239, 246, 0.85));
}

.credibility-sub {
  margin-bottom: 0;
  max-width: 28rem;
}

.credibility-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.credibility-list span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.final-cta {
  padding-top: 24px;
  padding-bottom: 48px;
}

.final-panel {
  padding: 32px 22px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0%, rgba(79, 168, 184, 0.2), transparent 22rem),
    linear-gradient(140deg, var(--navy), var(--navy-2));
  color: white;
  text-align: center;
}

.final-panel h2 {
  margin-inline: auto;
  max-width: 28rem;
}

.final-panel p {
  max-width: 32rem;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.65);
}

.final-panel .button {
  margin-top: 16px;
  background: white;
  color: var(--ink);
}

/* Footer */
.site-footer {
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
}

.footer-inner {
  display: grid;
  gap: 10px;
}

.brand-footer .brand-mark {
  width: 28px;
  height: 28px;
  font-size: 0.72rem;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(79, 168, 184, 0); }
  100% { box-shadow: 0 0 0 0 rgba(79, 168, 184, 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 {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 640px) {
  .container {
    width: min(100% - 40px, var(--container));
  }

  .section {
    padding: 80px 0;
  }

  .hero {
    padding-top: 116px;
    padding-bottom: 64px;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
  }

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

  .dashboard-split {
    grid-template-columns: 1.1fr 1fr;
  }

  .bar-chart {
    height: 100px;
  }

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

  .capability-grid,
  .use-case-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .layer-diagram {
    grid-template-columns: 1fr auto 1.1fr auto 1fr;
    align-items: center;
    gap: 12px;
    padding: 28px;
  }

  .layer-flow {
    flex-direction: column;
    padding: 0;
  }

  .layer-flow span {
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), transparent);
  }

  .layer-flow-out span {
    background: linear-gradient(270deg, var(--cyan), transparent);
  }
}

@media (min-width: 900px) {
  .section {
    padding: 96px 0;
  }

  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 4px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    backdrop-filter: none;
  }

  .nav-menu a {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .nav-menu .nav-cta {
    margin-top: 0;
    margin-left: 4px;
    padding: 8px 14px;
  }

  .hero-grid {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 40px;
  }

  .hero-copy {
    max-width: none;
  }

  h1 {
    font-size: clamp(2.75rem, 4.2vw, 3.85rem);
  }

  .hero-connector {
    display: block;
    position: absolute;
    top: 50%;
    left: -12px;
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, rgba(79, 168, 184, 0.5), transparent);
    transform: translateY(-50%);
  }

  .hero-dashboard {
    padding: 16px;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transform-origin: center left;
  }

  .two-column {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 48px;
  }

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

  .demo-panel {
    grid-template-columns: 0.72fr 1.28fr;
    align-items: center;
    padding: 24px;
  }

  .demo-panel-alt {
    grid-template-columns: 1fr 1fr;
  }

  .demo-panel-alt .demo-copy {
    order: 2;
  }

  .workflow-map {
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    gap: 0;
  }

  .workflow-connector {
    width: 100%;
    height: 2px;
    margin: 0;
    background: linear-gradient(90deg, var(--cyan), transparent);
  }

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

  .credibility-panel {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 36px;
  }

  .final-panel {
    padding: 56px 40px;
  }
}

@media (min-width: 1120px) {
  h1 {
    font-size: 3.9rem;
  }

  .hero-text {
    font-size: 1.05rem;
  }

  .bar-chart {
    height: 112px;
  }

  .kpi-card strong {
    font-size: 1.55rem;
  }
}
