:root {
  --night: #06130f;
  --deep: #0a2119;
  --deep-2: #0d2b21;
  --panel: rgba(11, 34, 26, 0.78);
  --panel-solid: #0e281f;
  --line: rgba(206, 229, 213, 0.14);
  --line-strong: rgba(226, 210, 156, 0.28);
  --cream: #f4f0df;
  --muted: #aabab1;
  --muted-2: #7f9589;
  --gold: #e5c072;
  --gold-light: #f3db9c;
  --lime: #a7ff77;
  --lime-soft: #7ee59a;
  --danger: #ff8c78;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
  --radius-lg: 26px;
  --radius-md: 18px;
  --shell: min(1240px, calc(100% - 48px));
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--night);
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--cream);
  background:
    radial-gradient(900px 700px at 78% -10%, rgba(48, 137, 94, 0.2), transparent 62%),
    linear-gradient(180deg, #071711 0%, #07130f 54%, #081610 100%);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

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

img,
svg {
  display: block;
}

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: #07130f;
  background: var(--lime);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.page-ambient {
  position: fixed;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(6px);
  opacity: 0.62;
}

.ambient-orb-a {
  top: 8%;
  right: -18vw;
  width: 52vw;
  height: 52vw;
  background: radial-gradient(circle, rgba(110, 215, 142, 0.14), rgba(15, 51, 37, 0) 68%);
  animation: ambientFloat 14s ease-in-out infinite alternate;
}

.ambient-orb-b {
  top: 42%;
  left: -22vw;
  width: 48vw;
  height: 48vw;
  background: radial-gradient(circle, rgba(229, 192, 114, 0.09), transparent 68%);
  animation: ambientFloat 18s ease-in-out infinite alternate-reverse;
}

.ambient-wave {
  position: absolute;
  right: -6vw;
  bottom: -28vw;
  width: 72vw;
  height: 49vw;
  border: 1px solid rgba(227, 192, 114, 0.09);
  border-radius: 50%;
  transform: rotate(-16deg);
  box-shadow:
    0 0 0 48px rgba(227, 192, 114, 0.018),
    0 0 0 112px rgba(227, 192, 114, 0.012);
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(5, 18, 13, 0.78);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  min-width: 220px;
  min-height: 52px;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 6px 20px rgba(229, 192, 114, 0.12));
}

.brand-copy {
  display: grid;
  min-width: 0;
  line-height: 1.28;
}

.brand-copy strong {
  display: block;
  color: #fffae9;
  font-size: 16px;
  font-weight: 760;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.brand-copy small {
  display: block;
  margin-top: 4px;
  color: #91a79b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 38px);
}

.primary-nav a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #c7d1cb;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--gold-light);
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 19px;
  color: #081711;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 9px 26px rgba(229, 192, 114, 0.15);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.header-cta svg,
.button svg,
.mobile-sticky-cta svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 200ms ease;
}

.header-cta:hover svg,
.button:hover svg,
.mobile-sticky-cta:hover svg {
  transform: translateX(3px);
}

.role-dock {
  position: sticky;
  z-index: 999;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 24, 18, 0.82);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(24px) saturate(130%);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
}

.role-dock-inner {
  display: flex;
  min-height: 68px;
  align-items: center;
  gap: 24px;
}

.role-dock-label {
  flex: 0 0 auto;
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.role-scroll-wrap {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.role-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  overflow-x: auto;
  padding: 10px 2px;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.role-tabs::-webkit-scrollbar {
  display: none;
}

.role-tab {
  position: relative;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 17px;
  color: #c6d1ca;
  border: 1px solid rgba(205, 224, 213, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  scroll-snap-align: center;
  transition:
    color 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.role-tab:hover {
  color: #fff8e6;
  border-color: rgba(229, 192, 114, 0.38);
  background: rgba(229, 192, 114, 0.07);
}

.role-tab[aria-selected="true"] {
  color: #081710;
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow:
    0 8px 22px rgba(229, 192, 114, 0.16),
    0 0 0 4px rgba(229, 192, 114, 0.07);
  font-weight: 850;
  transform: translateY(-1px);
}

.role-tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  right: 22%;
  bottom: -9px;
  left: 22%;
  height: 2px;
  border-radius: 99px;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime), 0 0 24px rgba(167, 255, 119, 0.48);
}

.role-scroll-hint {
  display: none;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: clamp(50px, 7vw, 94px) 0 0;
}

.hero-grid {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image:
    linear-gradient(rgba(213, 233, 218, 0.033) 1px, transparent 1px),
    linear-gradient(90deg, rgba(213, 233, 218, 0.033) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.8) 66%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.8) 66%, transparent 100%);
}

.hero-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 26%, rgba(229, 192, 114, 0.08), transparent 28%),
    radial-gradient(circle at 75% 42%, rgba(126, 229, 154, 0.09), transparent 38%);
}

.hero-scan {
  position: absolute;
  z-index: -1;
  top: 18%;
  left: -15%;
  width: 65%;
  height: 340px;
  opacity: 0.8;
  transform: rotate(-18deg);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(167, 255, 119, 0.035) 42%,
    rgba(167, 255, 119, 0.1) 50%,
    rgba(167, 255, 119, 0.035) 58%,
    transparent
  );
  filter: blur(20px);
  animation: scanAcross 10s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -30%;
  bottom: -22%;
  width: 74%;
  aspect-ratio: 1;
  border: 1px solid rgba(229, 192, 114, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 68px rgba(229, 192, 114, 0.014),
    0 0 0 152px rgba(229, 192, 114, 0.009);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(500px, 1.06fr);
  align-items: center;
  gap: clamp(42px, 5.3vw, 82px);
}

.hero-copy {
  min-width: 0;
  padding: 14px 0 30px;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.hero-copy.is-switching {
  opacity: 0;
  transform: translateY(10px);
}

.eyebrow {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 9px;
  margin: 0 0 24px;
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.live-dot {
  position: relative;
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px rgba(167, 255, 119, 0.62);
}

.live-dot::before {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(167, 255, 119, 0.42);
  border-radius: inherit;
  animation: breathing 2s ease-out infinite;
}

.hero h1 {
  max-width: 690px;
  margin: 0;
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(50px, 5.1vw, 76px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.hero h1 span {
  display: block;
}

.hero h1 .title-soft {
  color: #ecebdc;
}

.hero h1 .title-glow {
  color: transparent;
  background: linear-gradient(105deg, #fff5d5 0%, #e4c475 48%, #f3dfa2 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-intro {
  max-width: 590px;
  margin: 28px 0 0;
  color: #b8c5be;
  font-size: 16px;
  line-height: 1.9;
}

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

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

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

.button-primary {
  color: #09160f;
  background: linear-gradient(135deg, #f2da96, #e3bb67);
  box-shadow:
    0 14px 34px rgba(210, 168, 80, 0.17),
    inset 0 1px rgba(255, 255, 255, 0.5);
}

.button-primary:hover {
  box-shadow:
    0 18px 42px rgba(210, 168, 80, 0.24),
    inset 0 1px rgba(255, 255, 255, 0.5);
}

.button-ghost {
  color: #dbe3de;
  border: 1px solid rgba(217, 233, 221, 0.2);
  background: rgba(255, 255, 255, 0.035);
}

.button-ghost:hover {
  border-color: rgba(229, 192, 114, 0.34);
  background: rgba(229, 192, 114, 0.06);
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  margin-top: 40px;
}

.hero-proof div {
  display: grid;
}

.hero-proof strong {
  color: #f4f1e4;
  font-family: var(--sans);
  font-size: 21px;
  font-weight: 780;
  line-height: 1.35;
}

.hero-proof span {
  margin-top: 1px;
  color: var(--muted-2);
  font-size: 11px;
  white-space: nowrap;
}

.hero-proof > i {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.11);
}

.hero-visual {
  position: relative;
  min-width: 0;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.hero-visual.is-switching {
  opacity: 0;
  transform: translateY(12px) scale(0.99);
}

.visual-halo {
  position: absolute;
  z-index: -1;
  inset: 5% -8% -8% -4%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(135, 239, 154, 0.14), transparent 66%);
  filter: blur(34px);
}

.cockpit {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(218, 231, 220, 0.17);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(18, 47, 35, 0.93), rgba(7, 27, 20, 0.98)),
    var(--panel-solid);
  box-shadow:
    var(--shadow),
    inset 0 1px rgba(255, 255, 255, 0.07),
    0 0 0 1px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(22px);
  transition:
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.cockpit.workbench-focus {
  border-color: rgba(167, 255, 119, 0.62);
  box-shadow:
    0 0 0 5px rgba(167, 255, 119, 0.07),
    var(--shadow);
}

.cockpit::before {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.cockpit::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 13%;
  width: 32%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  box-shadow: 0 0 16px rgba(243, 219, 156, 0.58);
}

.cockpit-titlebar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.cockpit-heading p {
  margin: 0 0 4px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: 0.14em;
}

.cockpit-heading h2 {
  margin: 0;
  color: #f7f3e7;
  font-size: 22px;
  font-weight: 850;
  letter-spacing: -0.025em;
}

.ai-status {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  color: #aaffb5;
  border: 1px solid rgba(167, 255, 119, 0.29);
  border-radius: 999px;
  background: rgba(91, 205, 122, 0.1);
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.ai-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 9px rgba(167, 255, 119, 0.8);
  animation: statusPulse 1.8s ease-in-out infinite;
}

.event-meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 9px 12px;
  color: #a7b9ae;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 10px;
  background: rgba(3, 16, 11, 0.34);
  font-size: 10px;
}

.event-meta b {
  color: var(--lime);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.event-meta span:last-child {
  margin-left: auto;
}

.cockpit-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.24fr 0.76fr;
  gap: 11px;
  margin-top: 11px;
}

.metric-card {
  min-width: 0;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.035);
}

.metric-label {
  display: flex;
  min-height: 22px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #9fb1a6;
  font-size: 11px;
}

.metric-label b {
  font-size: 9px;
  font-weight: 750;
}

.trend-positive,
.metric-ok {
  color: var(--lime);
}

.metric-value {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  margin: 5px 0 0;
  color: #fffdf4;
  font-size: clamp(30px, 2.8vw, 39px);
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}

.metric-value small {
  margin-bottom: 5px;
  color: #9cb1a3;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
}

.metric-value-green {
  color: var(--lime);
  text-shadow: 0 0 22px rgba(167, 255, 119, 0.17);
}

.metric-value-green small {
  color: #b6efa3;
}

.rising-chart {
  display: flex;
  height: 84px;
  align-items: flex-end;
  gap: 5px;
  margin-top: 12px;
}

.rising-chart span {
  position: relative;
  flex: 1 1 0;
  height: var(--bar);
  min-height: 17px;
  border-radius: 3px 3px 1px 1px;
  background: linear-gradient(180deg, rgba(229, 192, 114, 0.7), rgba(229, 192, 114, 0.15));
  transform-origin: bottom;
  animation: barRise 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.rising-chart span:nth-child(2) {
  animation-delay: 45ms;
}

.rising-chart span:nth-child(3) {
  animation-delay: 90ms;
}

.rising-chart span:nth-child(4) {
  animation-delay: 135ms;
}

.rising-chart span:nth-child(5) {
  animation-delay: 180ms;
}

.rising-chart span:nth-child(6) {
  animation-delay: 225ms;
}

.rising-chart span:nth-child(7) {
  animation-delay: 270ms;
}

.rising-chart span b {
  position: absolute;
  bottom: calc(100% + 5px);
  left: 50%;
  color: #bfcabf;
  font-size: 7px;
  font-weight: 650;
  font-style: normal;
  line-height: 1;
  transform: translateX(-50%);
  transition: color 180ms ease;
}

.rising-chart .chart-current {
  background: linear-gradient(180deg, var(--lime), rgba(105, 211, 126, 0.24));
  box-shadow: 0 0 13px rgba(167, 255, 119, 0.22);
}

.rising-chart .chart-current b {
  color: var(--lime);
  font-weight: 850;
}

.chart-caption {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  color: #667d70;
  font-size: 7px;
}

.chart-caption span:nth-child(2) {
  color: #8eaa98;
}

.metric-follow {
  display: flex;
  flex-direction: column;
}

.progress-track {
  position: relative;
  height: 9px;
  overflow: hidden;
  margin-top: auto;
  border: 1px solid rgba(167, 255, 119, 0.14);
  border-radius: 99px;
  background: rgba(167, 255, 119, 0.075);
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.3);
}

.progress-track span {
  display: block;
  width: var(--progress);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5ed67b, var(--lime));
  box-shadow:
    0 0 12px rgba(167, 255, 119, 0.7),
    0 0 24px rgba(167, 255, 119, 0.32);
  transition: width 850ms cubic-bezier(0.16, 1, 0.3, 1);
}

.progress-track span::after {
  content: "";
  display: block;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  animation: progressSweep 2.4s linear infinite;
}

.metric-note {
  margin: 13px 0 0;
  color: #7d9385;
  font-size: 9px;
  line-height: 1.55;
}

.intent-banner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 11px;
  margin-top: 11px;
  padding: 12px 14px;
  border: 1px solid rgba(167, 255, 119, 0.15);
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(97, 200, 118, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.015);
}

.intent-icon {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid rgba(167, 255, 119, 0.22);
  border-radius: 50%;
  background: rgba(167, 255, 119, 0.08);
}

.intent-icon span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow:
    0 0 0 5px rgba(167, 255, 119, 0.06),
    0 0 12px rgba(167, 255, 119, 0.45);
}

.intent-banner p {
  margin: 0;
  color: #e8f6e9;
  font-size: 11px;
  font-weight: 800;
}

.intent-banner div > span {
  display: block;
  margin-top: 2px;
  color: #819889;
  font-size: 9px;
}

.intent-banner > b {
  color: var(--lime);
  font-size: 23px;
  font-weight: 850;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.cockpit-live {
  position: relative;
  z-index: 1;
  display: flex;
  height: 40px;
  align-items: center;
  gap: 11px;
  overflow: hidden;
  margin-top: 11px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 10px;
  background: rgba(1, 12, 8, 0.35);
}

.live-label {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  color: #97ad9e;
  font-size: 9px;
  font-weight: 700;
}

.live-label i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px rgba(167, 255, 119, 0.8);
}

.ticker-window {
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerMove 24s linear infinite;
}

.ticker-track span {
  padding-right: 56px;
  color: #a8b6ad;
  font-size: 9px;
  white-space: nowrap;
}

.dashboard-disclaimer {
  margin: 10px 6px 0;
  color: #5e7567;
  font-size: 9px;
  text-align: right;
}

.hero-foot {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
  margin-top: clamp(48px, 6vw, 78px);
  border-top: 1px solid rgba(255, 255, 255, 0.075);
  color: #849a8c;
  font-size: 11px;
  letter-spacing: 0.07em;
}

.hero-foot i {
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(229, 192, 114, 0.55), transparent);
}

.capabilities {
  padding: clamp(76px, 9vw, 132px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  background:
    radial-gradient(700px 340px at 9% 100%, rgba(43, 109, 74, 0.13), transparent 70%),
    rgba(4, 16, 12, 0.26);
}

.section-heading {
  max-width: 740px;
}

.section-kicker {
  margin: 0 0 18px;
  color: #7f9789;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.section-kicker span {
  color: var(--gold);
}

.section-heading h2,
.roles-value-copy h2,
.contact h2 {
  margin: 0;
  color: #f3f0e2;
  font-family: var(--serif);
  font-size: clamp(35px, 4.1vw, 58px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.045em;
}

.section-heading h2 em {
  color: var(--gold-light);
  font-style: normal;
}

.section-heading > p:last-child {
  max-width: 620px;
  margin: 20px 0 0;
  color: #91a59a;
  font-size: 15px;
  line-height: 1.85;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.capability-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(217, 232, 220, 0.1);
  border-radius: var(--radius-md);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.02)),
    rgba(8, 29, 21, 0.6);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.capability-card::after {
  content: "";
  position: absolute;
  right: -55px;
  bottom: -70px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(229, 192, 114, 0.09);
  border-radius: 50%;
}

.capability-card:hover {
  border-color: rgba(229, 192, 114, 0.24);
  background:
    linear-gradient(145deg, rgba(229, 192, 114, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(8, 29, 21, 0.72);
  transform: translateY(-4px);
}

.capability-number {
  position: absolute;
  top: 27px;
  right: 27px;
  color: rgba(229, 192, 114, 0.28);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.capability-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--gold);
  border: 1px solid rgba(229, 192, 114, 0.2);
  border-radius: 14px;
  background: rgba(229, 192, 114, 0.06);
}

.capability-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.capability-card h3 {
  margin: 38px 0 12px;
  color: #f0eee2;
  font-size: 19px;
  font-weight: 780;
  letter-spacing: -0.02em;
}

.capability-card p {
  margin: 0;
  color: #8ea398;
  font-size: 13px;
  line-height: 1.85;
}

.roles-value {
  padding: clamp(76px, 9vw, 130px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.roles-value-inner {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: clamp(46px, 7vw, 110px);
}

.roles-value-copy {
  position: sticky;
  top: 110px;
  align-self: start;
}

.role-value-list {
  display: grid;
  gap: 12px;
}

.role-value-list article {
  padding: 28px 30px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.027);
  transition:
    border-color 200ms ease,
    transform 200ms ease;
}

.role-value-list article:hover {
  border-color: rgba(229, 192, 114, 0.23);
  transform: translateX(4px);
}

.role-value-list span {
  color: var(--gold);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.role-value-list h3 {
  margin: 10px 0 8px;
  color: #eeecdf;
  font-size: 20px;
  font-weight: 760;
}

.role-value-list p {
  margin: 0;
  color: #8ea297;
  font-size: 13px;
  line-height: 1.8;
}

.contact {
  padding: 0 0 clamp(80px, 9vw, 124px);
}

.contact-panel {
  position: relative;
  display: flex;
  min-height: 280px;
  overflow: hidden;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: clamp(34px, 5vw, 62px);
  border: 1px solid rgba(229, 192, 114, 0.24);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(540px 300px at 92% 0%, rgba(229, 192, 114, 0.16), transparent 65%),
    linear-gradient(135deg, rgba(22, 55, 39, 0.92), rgba(9, 30, 22, 0.97));
  box-shadow: var(--shadow);
}

.contact-panel::before {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -170px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(229, 192, 114, 0.14);
  border-radius: 50%;
  box-shadow:
    0 0 0 46px rgba(229, 192, 114, 0.026),
    0 0 0 98px rgba(229, 192, 114, 0.016);
}

.contact h2 {
  position: relative;
  font-size: clamp(34px, 3.7vw, 52px);
}

.contact-button {
  position: relative;
  flex: 0 0 auto;
  min-width: 196px;
}

.site-footer {
  padding: 24px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #637b6e;
  font-size: 10px;
}

.footer-inner p {
  margin: 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #9aada2;
  font-size: 11px;
  font-weight: 650;
}

.footer-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.mobile-sticky-cta {
  display: none;
}

.mobile-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-content: center;
  gap: 5px;
  padding: 0;
  color: var(--gold-light);
  border: 1px solid rgba(229, 192, 114, 0.24);
  border-radius: 14px;
  background: rgba(229, 192, 114, 0.07);
}

.mobile-menu-toggle span {
  display: block;
  width: 19px;
  height: 1.5px;
  margin: 2px auto;
  border-radius: 99px;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.mobile-menu[open] {
  animation: menuIn 220ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.mobile-menu {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(86vw, 360px);
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  color: var(--cream);
  border: 0;
  border-radius: 0 26px 26px 0;
  background: transparent;
}

.mobile-menu::backdrop {
  background: rgba(2, 9, 6, 0.72);
  backdrop-filter: blur(9px);
}

.mobile-menu-panel {
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: 24px;
  border-right: 1px solid rgba(229, 192, 114, 0.2);
  background:
    radial-gradient(340px 260px at 0 0, rgba(229, 192, 114, 0.12), transparent 70%),
    linear-gradient(160deg, #102d21, #061710);
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-head span {
  color: var(--gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.mobile-menu-head h2 {
  margin: 3px 0 0;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 600;
}

.mobile-menu-close {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--gold-light);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.045);
  font-size: 26px;
}

.mobile-menu-nav {
  display: grid;
  gap: 4px;
  margin-top: 16px;
}

.mobile-menu-nav a {
  display: flex;
  min-height: 50px;
  align-items: center;
  gap: 13px;
  padding: 0 12px;
  color: #d9e4dc;
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
  font-size: 15px;
  font-weight: 700;
}

.mobile-menu-nav a span {
  color: var(--gold);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.mobile-menu-cta {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 0 18px;
  color: #09160f;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.comparison {
  position: relative;
  padding: clamp(78px, 9vw, 132px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(126, 229, 154, 0.075), transparent 72%),
    rgba(5, 18, 13, 0.32);
}

.comparison-heading {
  max-width: 780px;
}

.comparison-heading h2,
.cost-heading h2 {
  margin: 0;
  color: #f3f0e2;
  font-family: var(--serif);
  font-size: clamp(35px, 4.1vw, 58px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.045em;
}

.comparison-heading h2 em,
.cost-heading h2 em {
  color: var(--gold-light);
  font-style: normal;
}

.comparison-heading > p:last-child {
  max-width: 690px;
  margin: 20px 0 0;
  color: #8fa399;
  font-size: 15px;
  line-height: 1.85;
}

.comparison-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 66px minmax(0, 1fr);
  align-items: stretch;
  gap: 18px;
  margin-top: 48px;
}

.comparison-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 22px;
}

.comparison-card::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -105px;
  width: 240px;
  height: 240px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.08;
}

.pain-card {
  color: #ffb5a4;
  border: 1px solid rgba(255, 146, 122, 0.22);
  background:
    linear-gradient(150deg, rgba(107, 44, 34, 0.34), rgba(32, 18, 15, 0.72)),
    #211512;
}

.gain-card {
  color: var(--lime);
  border: 1px solid rgba(167, 255, 119, 0.25);
  background:
    linear-gradient(150deg, rgba(27, 87, 49, 0.32), rgba(9, 34, 23, 0.82)),
    #0b2519;
}

.comparison-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f6efe1;
  font-size: 17px;
  font-weight: 800;
}

.comparison-label > span {
  padding: 4px 8px;
  color: currentColor;
  border: 1px solid currentColor;
  border-radius: 99px;
  font-size: 8px;
  letter-spacing: 0.12em;
  opacity: 0.78;
}

.comparison-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-top: 28px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.comparison-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.comparison-card ul {
  display: grid;
  gap: 0;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.comparison-card li {
  display: grid;
  gap: 4px;
  padding: 17px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.085);
}

.comparison-card li b {
  color: #f2eee1;
  font-size: 15px;
  font-weight: 780;
}

.comparison-card li span {
  color: #9bafa3;
  font-size: 13px;
  line-height: 1.72;
}

.pain-card li span {
  color: #c1a39b;
}

.comparison-result {
  margin: 24px 0 0;
  padding-top: 18px;
  color: currentColor;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 13px;
  font-weight: 750;
}

.comparison-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: #66796e;
}

.comparison-vs span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(229, 192, 114, 0.2);
  border-radius: 50%;
  color: var(--gold);
  background: rgba(229, 192, 114, 0.06);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.comparison-vs i {
  width: 1px;
  height: 44px;
  background: linear-gradient(transparent, rgba(229, 192, 114, 0.3), transparent);
}

.cost-section {
  padding: clamp(76px, 9vw, 128px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cost-heading {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.cost-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 94px minmax(0, 1fr);
  align-items: stretch;
  max-width: 1000px;
  margin: 48px auto 0;
}

.cost-column {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 3.5vw, 42px);
  border-radius: 22px;
}

.cost-human {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(145deg, rgba(88, 70, 56, 0.2), rgba(19, 25, 22, 0.85)),
    #111b17;
}

.cost-ai {
  border: 1px solid rgba(167, 255, 119, 0.27);
  background:
    radial-gradient(300px 190px at 100% 0%, rgba(167, 255, 119, 0.12), transparent 72%),
    linear-gradient(145deg, #123525, #081c14);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.24);
}

.cost-tag {
  display: inline-flex;
  min-height: 29px;
  align-items: center;
  padding: 0 11px;
  color: #b8c8be;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
}

.cost-ai .cost-tag {
  color: var(--lime);
  border-color: rgba(167, 255, 119, 0.22);
  background: rgba(167, 255, 119, 0.07);
}

.cost-column > strong {
  display: block;
  margin-top: 24px;
  color: #eee9da;
  font-size: clamp(43px, 5vw, 68px);
  font-weight: 820;
  line-height: 1;
  letter-spacing: -0.055em;
}

.cost-ai > strong {
  color: var(--lime);
}

.cost-column > strong span {
  color: #84978c;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
}

.cost-column > small {
  display: block;
  margin-top: 10px;
  color: #798e82;
  font-size: 11px;
}

.cost-column ul {
  display: grid;
  gap: 11px;
  margin: 26px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  list-style: none;
}

.cost-column li {
  position: relative;
  padding-left: 22px;
  color: #a7b7ae;
  font-size: 14px;
}

.cost-column li::before {
  content: "×";
  position: absolute;
  left: 0;
  color: #b99183;
  font-weight: 900;
}

.cost-ai li {
  color: #cee1d3;
}

.cost-ai li::before {
  content: "✓";
  color: var(--lime);
}

.cost-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: var(--gold);
}

.cost-arrow span {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.cost-arrow svg {
  width: 44px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.cost-punchline {
  max-width: 900px;
  margin: 30px auto 0;
  padding: 18px 24px;
  color: #a6b9ae;
  border: 1px solid rgba(229, 192, 114, 0.13);
  border-radius: 14px;
  background: rgba(229, 192, 114, 0.035);
  font-size: 14px;
  line-height: 1.8;
  text-align: center;
}

.cost-punchline b {
  color: var(--gold-light);
}

.modal {
  width: min(480px, calc(100% - 28px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: visible;
  color: var(--cream);
  border: 0;
  border-radius: 24px;
  background: transparent;
}

.modal::backdrop {
  background: rgba(2, 9, 6, 0.74);
  backdrop-filter: blur(9px);
}

.modal[open] {
  animation: modalIn 240ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.modal-card {
  position: relative;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 34px;
  border: 1px solid rgba(229, 192, 114, 0.22);
  border-radius: 24px;
  background:
    radial-gradient(360px 220px at 100% 0%, rgba(229, 192, 114, 0.1), transparent 70%),
    linear-gradient(145deg, #102c21, #071a13);
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.55);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #a7b8ae;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  font-size: 25px;
  line-height: 1;
}

.modal-eyebrow {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.modal h2 {
  margin: 0;
  color: #f5f1df;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.modal-lead {
  margin: 10px 0 24px;
  color: #91a59a;
  font-size: 13px;
  line-height: 1.75;
}

.modal form,
.modal label {
  display: grid;
}

.modal form {
  gap: 16px;
}

.modal label {
  gap: 7px;
}

.modal label > span {
  color: #c5d1c9;
  font-size: 12px;
  font-weight: 650;
}

.modal input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  color: #f4f1e5;
  border: 1px solid rgba(216, 232, 220, 0.16);
  border-radius: 11px;
  outline: none;
  background: rgba(255, 255, 255, 0.045);
  font-size: 15px;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.modal input::placeholder {
  color: #657b6e;
}

.modal input:focus {
  border-color: rgba(229, 192, 114, 0.55);
  box-shadow: 0 0 0 3px rgba(229, 192, 114, 0.08);
}

.modal input[aria-invalid="true"] {
  border-color: rgba(255, 140, 120, 0.74);
}

.modal label small {
  min-height: 16px;
  color: var(--danger);
  font-size: 10px;
}

.form-submit {
  width: 100%;
  margin-top: 1px;
}

.form-note {
  margin: -4px 0 0;
  color: #62786b;
  font-size: 9px;
  text-align: center;
}

.access-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 18px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.14);
}

.access-tabs button {
  min-height: 42px;
  color: #8ea398;
  border: 0;
  border-radius: 9px;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
}

.access-tabs button[aria-selected="true"] {
  color: #0a180f;
  background: var(--gold);
}

[data-access-panel] {
  display: grid;
  gap: 16px;
}

[data-access-panel][hidden] {
  display: none;
}

.form-success {
  padding: 14px 0 0;
  text-align: center;
}

.form-success[hidden] {
  display: none;
}

.success-mark {
  display: grid;
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  place-items: center;
  color: var(--lime);
  border: 1px solid rgba(167, 255, 119, 0.26);
  border-radius: 50%;
  background: rgba(167, 255, 119, 0.07);
  box-shadow: 0 0 28px rgba(167, 255, 119, 0.08);
  font-size: 25px;
}

.form-success h3 {
  margin: 0;
  color: #f2efdf;
  font-size: 22px;
}

.form-success p {
  margin: 10px 0 22px;
  color: #8da197;
  font-size: 13px;
}

.form-success .button {
  width: 100%;
}

@keyframes ambientFloat {
  from {
    transform: translate3d(-2%, -2%, 0) scale(0.96);
  }
  to {
    transform: translate3d(3%, 4%, 0) scale(1.06);
  }
}

@keyframes scanAcross {
  0%,
  18% {
    transform: translateX(-25%) rotate(-18deg);
    opacity: 0.2;
  }
  48% {
    opacity: 0.95;
  }
  80%,
  100% {
    transform: translateX(120%) rotate(-18deg);
    opacity: 0.08;
  }
}

@keyframes breathing {
  0% {
    opacity: 0.7;
    transform: scale(0.65);
  }
  80%,
  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}

@keyframes statusPulse {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 8px rgba(167, 255, 119, 0.9);
  }
  50% {
    opacity: 0.62;
    box-shadow: 0 0 18px rgba(167, 255, 119, 0.45);
  }
}

@keyframes barRise {
  from {
    opacity: 0.2;
    transform: scaleY(0.1);
  }
  to {
    opacity: 1;
    transform: scaleY(1);
  }
}

@keyframes progressSweep {
  from {
    transform: translateX(-160%);
  }
  to {
    transform: translateX(420%);
  }
}

@keyframes tickerMove {
  to {
    transform: translateX(-50%);
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes menuIn {
  from {
    opacity: 0;
    transform: translateX(-18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Main-site revenue cockpit refinement */
@media (min-width: 1081px) {
  .hero-layout {
    grid-template-columns: minmax(0, 0.78fr) minmax(620px, 1.22fr);
    gap: clamp(28px, 3.2vw, 52px);
  }

  .hero h1 {
    max-width: 620px;
    font-size: clamp(48px, 4.45vw, 68px);
  }
}

.cockpit {
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.cockpit-titlebar { order: 1; }
.event-meta { order: 2; }

.intent-banner {
  order: 3;
  margin-top: 12px;
  padding: 17px 18px;
  border-color: rgba(167, 255, 119, 0.34);
  background:
    radial-gradient(260px 120px at 94% 25%, rgba(167, 255, 119, 0.2), transparent 72%),
    linear-gradient(90deg, rgba(64, 154, 88, 0.16), rgba(255, 255, 255, 0.035));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.06),
    0 12px 30px rgba(0, 0, 0, 0.14);
}

.intent-banner p {
  font-size: 14px;
  letter-spacing: 0.01em;
}

.intent-banner div > span {
  margin-top: 4px;
  color: #9fb5a7;
  font-size: 10px;
}

.intent-banner > b {
  font-size: clamp(34px, 3.4vw, 46px);
  text-shadow: 0 0 24px rgba(167, 255, 119, 0.28);
}

.cockpit-metrics {
  order: 4;
  grid-template-columns: 1.28fr 0.72fr;
}

.cockpit-live { order: 5; }

.lead-trend {
  margin-top: 10px;
}

.lead-trend-kpis {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  color: #8ea397;
}

.lead-trend-kpis span {
  display: grid;
  gap: 2px;
}

.lead-trend-kpis span:last-child {
  text-align: right;
}

.lead-trend-kpis small {
  color: #758d7e;
  font-size: 8px;
  letter-spacing: 0.08em;
}

.lead-trend-kpis b {
  color: #f5f1e4;
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}

.lead-trend-kpis span:last-child b {
  color: var(--lime);
  text-shadow: 0 0 16px rgba(167, 255, 119, 0.24);
}

.lead-trend-line {
  display: block;
  width: 100%;
  height: 78px;
  overflow: visible;
  margin-top: 2px;
}

.lead-trend-area {
  fill: url("#leadTrendFill");
}

.lead-trend-path {
  fill: none;
  stroke: url("#leadTrendStroke");
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 760;
  stroke-dashoffset: 760;
  filter: drop-shadow(0 0 7px rgba(167, 255, 119, 0.3));
  animation: trendDraw 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.lead-trend-line circle {
  fill: var(--lime);
  filter: drop-shadow(0 0 7px rgba(167, 255, 119, 0.8));
}

.client-trust {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(4, 17, 12, 0.72);
}

.client-trust-inner {
  display: flex;
  min-height: 74px;
  align-items: center;
  gap: 24px;
}

.client-trust-label {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.client-trust-list {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.client-trust-list b {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  color: #c7d4cc;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 11px;
  font-weight: 680;
}

@keyframes trendDraw {
  to { stroke-dashoffset: 0; }
}

@media (max-width: 860px) {
  .cockpit {
    display: flex;
  }

  .intent-banner > b {
    font-size: 34px;
  }

  .lead-trend-line {
    height: 68px;
  }

  .client-trust-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 16px 0;
  }

  .client-trust-list {
    gap: 6px;
  }

  .client-trust-list b {
    min-height: 30px;
    padding-inline: 9px;
    font-size: 10px;
  }
}

/* Role routes: moved from top to the bottom switcher */
.has-role-route-dock .role-dock {
  display: none !important;
}

.has-role-route-dock .mobile-sticky-cta {
  display: none !important;
}

.has-role-route-dock {
  padding-bottom: 82px;
}

.role-route-dock {
  position: fixed;
  z-index: 2147483640;
  left: 50%;
  bottom: 14px;
  display: flex;
  width: min(1040px, calc(100% - 210px));
  min-height: 56px;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border: 1px solid rgba(229, 192, 114, 0.24);
  border-radius: 18px;
  background: rgba(6, 22, 15, 0.92);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.role-route-label {
  flex: 0 0 auto;
  padding: 0 4px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.role-route-scroll {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.role-route-scroll::-webkit-scrollbar {
  display: none;
}

.role-route-scroll a {
  display: inline-flex;
  min-height: 40px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: #cbd8d0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 11px;
  font-weight: 720;
  white-space: nowrap;
}

.role-route-scroll a.on {
  color: #07150e;
  border-color: transparent;
  background: linear-gradient(135deg, #f2da96, #e3bb67);
}

@media (max-width: 860px) {
  .has-role-route-dock {
    padding-bottom: 74px;
  }

  .role-route-dock {
    right: 10px;
    bottom: 8px;
    left: 10px;
    width: auto;
    min-height: 58px;
    padding: 7px 8px;
    border-radius: 16px;
    transform: none;
  }

  .role-route-label {
    display: none;
  }

  .role-route-scroll a {
    min-height: 44px;
    padding-inline: 12px;
  }
}

@media (max-width: 1080px) {
  :root {
    --shell: min(100% - 40px, 1000px);
  }

  .primary-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: grid;
  }

  .header-inner {
    justify-content: flex-start;
  }

  .brand {
    margin-right: auto;
  }

  .role-dock-label {
    display: none;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(470px, 1.1fr);
    gap: 34px;
  }

  .hero h1 {
    font-size: clamp(46px, 5.8vw, 66px);
  }

  .cockpit {
    padding: 20px;
  }
}

@media (min-width: 1081px) and (max-width: 1399px) {
  .site-header .header-inner {
    min-height: auto;
    flex-wrap: wrap;
    gap: 8px 18px;
    padding-block: 12px 8px;
  }

  .site-header .brand {
    margin-right: auto;
  }

  .primary-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    padding-top: 7px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .primary-nav a {
    min-height: 36px;
    font-size: 12px;
  }
}

@media (min-width: 1400px) and (max-width: 1500px) {
  .primary-nav {
    gap: 11px;
  }

  .primary-nav a {
    font-size: 12.5px;
  }
}

@media (max-width: 860px) {
  body {
    padding-bottom: calc(82px + env(safe-area-inset-bottom, 0px));
  }

  html {
    scroll-padding-top: 78px;
  }

  .shell {
    width: min(100% - 32px, 700px);
  }

  .header-inner {
    min-height: 70px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .brand-copy small {
    font-size: 8px;
  }

  .header-cta {
    display: none;
  }

  .role-dock-inner {
    display: block;
    min-height: 64px;
  }

  .role-scroll-wrap {
    width: calc(100% + 32px);
    margin-inline: -16px;
  }

  .role-tabs {
    justify-content: stretch;
    gap: 7px;
    padding: 9px 14px 10px;
    scroll-padding-inline: 16px;
  }

  .role-tab:not([data-mobile-core]) {
    display: none;
  }

  .role-tab[data-mobile-core] {
    flex: 1 1 0;
    min-width: 0;
    min-height: 50px;
    padding: 0 5px;
    border-radius: 14px;
    font-size: 12px;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
  }

  .role-tab {
    min-height: 50px;
  }

  .role-tab[aria-selected="true"]::after {
    bottom: -7px;
  }

  .role-scroll-hint {
    position: absolute;
    z-index: 3;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    width: 60px;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
    padding-right: 10px;
    color: #9fb2a7;
    background: linear-gradient(90deg, transparent, rgba(7, 24, 18, 0.97) 46%);
    font-size: 8px;
    font-weight: 700;
    pointer-events: none;
  }

  .role-scroll-hint i {
    width: 7px;
    height: 7px;
    border-top: 1px solid var(--gold);
    border-right: 1px solid var(--gold);
    transform: rotate(45deg);
  }

  .hero {
    padding-top: 34px;
  }

  .hero-grid {
    background-size: 46px 46px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-copy {
    padding: 0;
    text-align: center;
  }

  .eyebrow {
    justify-content: center;
    margin-bottom: 18px;
  }

  .hero h1 {
    max-width: 600px;
    margin-inline: auto;
    font-size: clamp(32px, 8.2vw, 48px);
    line-height: 1.13;
    letter-spacing: -0.052em;
  }

  .hero-intro {
    max-width: 560px;
    margin: 20px auto 0;
    font-size: 14px;
    line-height: 1.82;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 26px auto 0;
  }

  .button {
    width: 100%;
    min-height: 52px;
  }

  .hero-proof {
    max-width: 440px;
    justify-content: center;
    margin: 30px auto 0;
  }

  .hero-visual {
    margin-top: 4px;
  }

  .dashboard-disclaimer {
    text-align: center;
  }

  .hero-foot {
    flex-wrap: wrap;
    gap: 10px 15px;
    min-height: 100px;
    margin-top: 42px;
    font-size: 10px;
  }

  .hero-foot i {
    width: 18px;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .comparison-vs {
    flex-direction: row;
    min-height: 42px;
  }

  .comparison-vs i {
    width: 42px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(229, 192, 114, 0.3), transparent);
  }

  .cost-board {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cost-arrow {
    flex-direction: row;
    min-height: 40px;
  }

  .cost-arrow svg {
    transform: rotate(90deg);
  }

  .capability-grid,
  .roles-value-inner {
    grid-template-columns: 1fr;
  }

  .roles-value-copy {
    position: static;
  }

  .contact-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-button {
    width: 100%;
  }

  .footer-inner {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .footer-brand {
    flex-basis: 100%;
    justify-content: center;
  }

  .mobile-sticky-cta {
    position: fixed;
    z-index: 1100;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    left: 12px;
    display: flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 20px;
    color: #09160f;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    background: linear-gradient(135deg, #f4dc99, #e3bb67);
    box-shadow:
      0 14px 38px rgba(0, 0, 0, 0.38),
      inset 0 1px rgba(255, 255, 255, 0.5);
    font-size: 15px;
    font-weight: 850;
  }
}

@media (max-width: 430px) {
  :root {
    --shell: calc(100% - 28px);
  }

  .shell {
    width: var(--shell);
  }

  .header-inner {
    min-height: 66px;
  }

  .brand {
    gap: 9px;
  }

  .brand-logo {
    width: 37px;
    height: 37px;
  }

  .brand-copy strong {
    font-size: 13px;
  }

  .brand-copy small {
    margin-top: 2px;
    font-size: 8px;
  }

  .role-scroll-wrap {
    width: calc(100% + 28px);
    margin-inline: -14px;
  }

  .role-tabs {
    padding-left: 14px;
  }

  .hero {
    padding-top: 30px;
  }

  .eyebrow {
    margin-bottom: 16px;
    font-size: 9px;
    letter-spacing: 0.09em;
  }

  .hero h1 {
    font-size: clamp(31px, 8.4vw, 36px);
  }

  .hero-intro {
    font-size: 13px;
    line-height: 1.8;
  }

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

  .hero-proof {
    gap: 12px;
  }

  .hero-proof strong {
    font-size: 18px;
  }

  .hero-proof span {
    font-size: 9px;
  }

  .cockpit {
    padding: 16px;
    border-radius: 21px;
  }

  .cockpit-heading p {
    font-size: 7px;
    letter-spacing: 0.11em;
  }

  .cockpit-heading h2 {
    font-size: 20px;
  }

  .ai-status {
    min-height: 28px;
    padding-inline: 9px;
    font-size: 9px;
  }

  .event-meta {
    margin-top: 14px;
    font-size: 9px;
  }

  .cockpit-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .metric-card {
    padding: 12px;
    border-radius: 13px;
  }

  .metric-label {
    display: grid;
    justify-content: stretch;
    gap: 2px;
    font-size: 10px;
  }

  .metric-label b {
    justify-self: start;
  }

  .metric-value {
    margin-top: 8px;
    font-size: 32px;
  }

  .rising-chart {
    height: 55px;
    gap: 3px;
    margin-top: 12px;
  }

  .rising-chart span b {
    display: none;
  }

  .chart-caption {
    font-size: 6px;
  }

  .chart-caption span:nth-child(2) {
    display: none;
  }

  .metric-follow {
    min-height: 154px;
  }

  .metric-note {
    margin-top: 12px;
    font-size: 8px;
  }

  .progress-track {
    height: 8px;
  }

  .intent-banner {
    gap: 9px;
    padding: 11px;
  }

  .intent-icon {
    width: 28px;
    height: 28px;
  }

  .intent-banner p {
    font-size: 10px;
  }

  .intent-banner div > span {
    font-size: 8px;
    line-height: 1.5;
  }

  .intent-banner > b {
    font-size: 20px;
  }

  .cockpit-live {
    height: 40px;
    padding-inline: 10px;
  }

  .live-label {
    font-size: 8px;
  }

  .ticker-track span {
    font-size: 8px;
  }

  .section-heading h2,
  .roles-value-copy h2,
  .contact h2 {
    font-size: clamp(31px, 9.2vw, 38px);
  }

  .capability-card {
    min-height: 250px;
    padding: 24px;
  }

  .role-value-list article {
    padding: 24px;
  }

  .contact-panel {
    padding: 28px 22px;
    border-radius: 21px;
  }

  .comparison-card,
  .cost-column {
    padding: 24px 20px;
    border-radius: 19px;
  }

  .comparison-heading h2,
  .cost-heading h2 {
    font-size: clamp(31px, 9.2vw, 38px);
  }

  .comparison-label {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    font-size: 16px;
  }

  .comparison-card li b {
    font-size: 14px;
  }

  .comparison-card li span {
    font-size: 12px;
  }

  .cost-column > strong {
    font-size: 46px;
  }

  .cost-punchline {
    padding: 17px 16px;
    font-size: 13px;
    text-align: left;
  }

  .modal-card {
    padding: 28px 22px;
  }

  .modal h2 {
    font-size: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
