:root {
  --page: #fbfcfd;
  --surface: #ffffff;
  --surface-soft: #f2f6f8;
  --surface-blue: #edf5f8;
  --ink: #172d40;
  --ink-strong: #0d2234;
  --ink-soft: #607486;
  --ink-muted: #637787;
  --line: rgba(31, 61, 84, 0.11);
  --line-strong: rgba(31, 61, 84, 0.18);
  --blue: #236b98;
  --blue-dark: #174f78;
  --blue-soft: #e5f0f5;
  --green: #2c8064;
  --green-soft: #e6f3ee;
  --amber: #bd7b32;
  --red: #c15e50;
  --shadow-soft: 0 18px 55px rgba(31, 57, 78, 0.08);
  --content: 1220px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 13px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--page);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

img,
svg {
  display: block;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2000;
  padding: 11px 15px;
  border-radius: 10px;
  color: #fff;
  background: var(--ink-strong);
  transform: translateY(-150%);
  transition: transform 0.18s ease;
}

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

:where(a, button, summary):focus-visible {
  outline: 3px solid rgba(35, 107, 152, 0.28);
  outline-offset: 3px;
}

.service-page {
  min-height: 100vh;
}

.section-shell,
.site-header,
.public-footer,
.hero-grid,
.signal-strip {
  width: min(var(--content), calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: #3f718f;
  font-size: 0.76rem;
  font-weight: 720;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4d8cae;
  box-shadow: 0 0 0 5px rgba(77, 140, 174, 0.1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.89rem;
  font-weight: 670;
  line-height: 1.2;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

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

.button-primary {
  color: #fff;
  background: var(--blue-dark);
  box-shadow: 0 10px 24px rgba(23, 79, 120, 0.18);
}

.button-primary:hover {
  background: #123f60;
  box-shadow: 0 13px 28px rgba(23, 79, 120, 0.23);
}

.button-secondary {
  border-color: var(--line-strong);
  color: #334e63;
  background: rgba(255, 255, 255, 0.72);
}

.button-secondary:hover {
  border-color: rgba(35, 107, 152, 0.25);
  color: var(--blue-dark);
  background: #fff;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--blue-dark);
  font-size: 0.87rem;
  font-weight: 680;
}

.text-link span {
  transition: transform 0.18s ease;
}

.text-link:hover span {
  transform: translateX(3px);
}

/* Header */
.site-header-band {
  position: relative;
  z-index: 100;
  padding: 18px 0;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 62px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 39px;
  height: 39px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 17px rgba(30, 62, 84, 0.11);
}

.brand-mark img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.brand-title {
  display: grid;
  gap: 1px;
}

.brand-title strong {
  color: var(--ink-strong);
  font-size: 0.96rem;
  font-weight: 740;
  letter-spacing: -0.015em;
}

.brand-title small {
  color: var(--ink-muted);
  font-size: 0.72rem;
}

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

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 13px;
  border-radius: 10px;
  color: #53697a;
  font-size: 0.82rem;
  font-weight: 610;
  transition: color 0.16s ease, background 0.16s ease;
}

.site-nav a:hover {
  color: var(--ink-strong);
  background: rgba(229, 238, 243, 0.74);
}

.site-nav .nav-login {
  margin-left: 8px;
  color: var(--ink-strong);
}

.site-nav .nav-start {
  margin-left: 3px;
  padding-right: 17px;
  padding-left: 17px;
  color: #fff;
  background: var(--ink-strong);
}

.site-nav .nav-start:hover {
  color: #fff;
  background: #1c405c;
}

/* Hero */
.hero {
  position: relative;
  min-height: 0;
  /* Do not clip the elevated demo: its shadow needs room to fade naturally. */
  overflow: visible;
  background:
    radial-gradient(circle at 50% 18%, rgba(95, 157, 184, 0.16), transparent 34%),
    radial-gradient(circle at 8% 80%, rgba(88, 145, 121, 0.08), transparent 23%),
    linear-gradient(180deg, #f8fbfc 0%, #fbfcfd 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: clamp(24px, 3vw, 36px);
  padding: clamp(38px, 5vh, 60px) 0 clamp(96px, 9vw, 132px);
}

.hero-content {
  width: min(100%, 920px);
  text-align: center;
}

.hero-title {
  max-width: 980px;
  margin: 0 auto 19px;
  color: var(--ink-strong);
  font-size: clamp(2.55rem, 5vw, 5rem);
  font-weight: 690;
  letter-spacing: -0.062em;
  line-height: 0.98;
}

.hero-content > .eyebrow {
  justify-content: center;
}

.hero-copy {
  max-width: 700px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  line-height: 1.58;
}

.hero-bullets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 980px;
  margin: 30px auto 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.hero-bullets li {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 82px;
  padding: 16px 18px 16px 43px;
  border: 1px solid rgba(31, 61, 84, 0.09);
  border-radius: 15px;
  color: #40586b;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 8px 24px rgba(31, 57, 78, 0.035);
  font-size: 0.88rem;
  line-height: 1.45;
}

.hero-bullets li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 19px;
  width: 8px;
  height: 5px;
  border-bottom: 2px solid var(--green);
  border-left: 2px solid var(--green);
  transform: translateY(-60%) rotate(-45deg);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 27px;
}

.trial-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 15px;
  margin: 17px 0 0;
  color: var(--ink-muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.trial-line span {
  position: relative;
}

.trial-line span + span::before {
  content: "·";
  position: absolute;
  left: -10px;
  color: #b0bac1;
}

.trial-line__free {
  color: #536e80;
  font-weight: 650;
}

/* Agent demo */
.agent-demo {
  position: relative;
  width: min(100%, 1010px);
  min-width: 0;
  margin: 0;
}

.agent-demo::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 12% -9% -10% 14%;
  border-radius: 50%;
  background: rgba(84, 141, 169, 0.12);
  filter: blur(60px);
}

.agent-demo__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
  padding: 0 4px;
  color: #607586;
  font-size: 0.72rem;
  font-weight: 600;
}

.demo-playback {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 10px;
  border: 0;
  border-radius: 9px;
  color: #607687;
  background: transparent;
  cursor: pointer;
  font-size: 0.72rem;
}

.demo-playback:hover {
  background: rgba(230, 238, 242, 0.8);
}

.demo-playback svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.agent-window {
  overflow: hidden;
  border: 1px solid rgba(31, 66, 91, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 30px 78px rgba(28, 57, 78, 0.13);
}

.agent-window__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 65px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(31, 66, 91, 0.08);
  background: rgba(251, 253, 254, 0.9);
}

.agent-window__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.agent-window__brand img,
.demo-agent-response__identity img {
  flex: 0 0 auto;
  border-radius: 50%;
}

.agent-window__brand > span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.agent-window__brand strong,
.agent-window__brand small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agent-window__brand strong {
  color: #263f54;
  font-size: 0.77rem;
  font-weight: 700;
}

.agent-window__brand small {
  color: #657987;
  font-size: 0.66rem;
}

.agent-ready {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  color: #247358;
  background: #e8f4ef;
  font-size: 0.68rem;
  font-weight: 660;
}

.agent-ready i,
.risk-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2f8968;
}

.demo-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
  margin: 12px 14px 0;
  padding: 3px;
  border-radius: 11px;
  background: #eef3f5;
}

.demo-tab {
  min-width: 0;
  min-height: 44px;
  padding: 8px 10px;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  color: #6b7d8b;
  background: transparent;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 630;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-tab:hover {
  color: #39566d;
}

.demo-tab.is-active {
  color: #254e6c;
  background: #fff;
  box-shadow: 0 2px 8px rgba(29, 59, 81, 0.09);
}

.demo-viewport {
  min-height: clamp(420px, 36vw, 470px);
  padding: 18px 18px 20px;
}

.demo-scene[hidden] {
  display: none;
}

.demo-scene {
  min-width: 0;
}

.demo-user-message {
  width: min(89%, 490px);
  margin-left: auto;
  padding: 12px 15px;
  border-radius: 16px 16px 4px 16px;
  background: #edf1f3;
}

.demo-user-message span {
  display: block;
  margin-bottom: 4px;
  color: #607586;
  font-size: 0.64rem;
  font-weight: 700;
  text-align: right;
}

.demo-user-message p {
  margin: 0;
  color: #2c4356;
  font-size: 0.75rem;
  line-height: 1.46;
}

.demo-agent-response {
  margin-top: 19px;
}

.demo-agent-response__identity {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #30495d;
  font-size: 0.72rem;
}

.demo-worklog {
  display: grid;
  gap: 7px;
  margin: 12px 0 14px 36px;
  padding: 0;
  list-style: none;
}

.demo-step {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #657987;
  font-size: 0.68rem;
  line-height: 1.38;
}

.demo-step i {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin-top: 0.38em;
  border-radius: 50%;
  background: #6f9db6;
  box-shadow: 0 0 0 4px rgba(111, 157, 182, 0.1);
}

.demo-result {
  margin-left: 36px;
  padding: 15px;
  border-radius: 15px;
  background: #f4f7f8;
}

.demo-result__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.demo-result__head span {
  color: #607586;
  font-size: 0.65rem;
  font-weight: 650;
  text-transform: uppercase;
}

.demo-result__head strong {
  color: #2c566f;
  font-size: 0.78rem;
}

.demo-result > p {
  margin: 10px 0 0;
  color: #475f71;
  font-size: 0.72rem;
  line-height: 1.5;
}

.demo-result > p b {
  color: #263f53;
}

.mini-chart {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  align-items: end;
  height: 88px;
  margin-top: 13px;
  padding: 7px 9px 0;
  border-bottom: 1px solid rgba(42, 76, 100, 0.11);
}

.mini-chart > span {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 4px;
  align-items: end;
  height: 100%;
}

.mini-chart i {
  display: block;
  width: 100%;
  height: var(--value);
  border-radius: 6px 6px 2px 2px;
  background: #7ca6bc;
  transform-origin: bottom;
}

.mini-chart i.is-alert {
  background: #d18869;
}

.mini-chart small {
  overflow: hidden;
  color: #657987;
  font-size: 0.6rem;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-next-step {
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px solid rgba(36, 73, 98, 0.09);
  color: #3f586b;
  font-size: 0.68rem;
  line-height: 1.4;
}

.demo-next-step span {
  display: block;
  margin-bottom: 3px;
  color: #607586;
  font-size: 0.6rem;
  font-weight: 670;
  text-transform: uppercase;
}

.preview-summary {
  display: grid;
  grid-template-columns: 0.75fr 0.8fr 1.45fr;
  gap: 8px;
  margin-bottom: 12px;
}

.preview-summary > span {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 9px;
  border-radius: 10px;
  background: #fff;
}

.preview-summary strong {
  overflow: hidden;
  color: #294b63;
  font-size: 0.77rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-summary small {
  color: #657987;
  font-size: 0.6rem;
}

.preview-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 34px;
  padding: 7px 9px;
  border-top: 1px solid rgba(37, 70, 93, 0.08);
  color: #4c6475;
  font-size: 0.66rem;
}

.preview-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-row b {
  flex: 0 0 auto;
  color: #b26748;
  font-size: 0.62rem;
}

.preview-protection {
  color: #567469 !important;
}

.preview-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 11px;
}

.preview-action > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #607586;
  font-size: 0.62rem;
}

.preview-action > span i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c58265;
}

.preview-action button {
  min-height: 33px;
  padding: 7px 10px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #356f91;
  font-size: 0.64rem;
  font-weight: 650;
  opacity: 0.9;
}

.demo-task-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  padding: 9px 0;
  border-top: 1px solid rgba(37, 70, 93, 0.08);
}

.demo-result__head + .demo-task-row {
  margin-top: 10px;
}

.demo-task-row > i {
  width: 14px;
  height: 14px;
  margin-top: 2px;
  border: 1px solid #93a8b6;
  border-radius: 5px;
}

.demo-task-row > span {
  display: grid;
  gap: 2px;
}

.demo-task-row strong {
  color: #3f586b;
  font-size: 0.68rem;
  font-weight: 620;
}

.demo-task-row small {
  color: #657987;
  font-size: 0.62rem;
}

.demo-progress {
  display: block;
  width: calc(100% - 48px);
  height: 2px;
  margin: 12px auto 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(74, 117, 143, 0.11);
}

.demo-progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: #6f9db6;
  transform: scaleX(0);
  transform-origin: left;
}

.agent-demo.is-playing .demo-progress i {
  animation: demo-progress 9s linear both;
}

.demo-scene.is-active .demo-user-message,
.demo-scene.is-active .demo-agent-response__identity,
.demo-scene.is-active .demo-step,
.demo-scene.is-active .demo-result {
  animation: demo-in 0.46s ease both;
}

.demo-scene.is-active .demo-agent-response__identity { animation-delay: 0.18s; }
.demo-scene.is-active .demo-step:nth-child(1) { animation-delay: 0.48s; }
.demo-scene.is-active .demo-step:nth-child(2) { animation-delay: 0.82s; }
.demo-scene.is-active .demo-step:nth-child(3) { animation-delay: 1.16s; }
.demo-scene.is-active .demo-result { animation-delay: 1.52s; }
.demo-scene.is-active .mini-chart i { animation: chart-grow 0.7s 1.9s ease both; }

@keyframes demo-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes chart-grow {
  from { transform: scaleY(0.05); }
  to { transform: scaleY(1); }
}

@keyframes demo-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Signal strip */
.signal-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  /* The preceding hero supplies the breathing room for the demo shadow. */
  margin-top: 0;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 42px rgba(31, 57, 78, 0.08);
}

.signal-strip > div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 13px 16px;
}

.signal-strip > div + div {
  border-left: 1px solid rgba(31, 61, 84, 0.08);
}

.signal-strip strong {
  color: #29465b;
  font-size: 0.78rem;
  font-weight: 680;
}

.signal-strip span {
  color: #607586;
  font-size: 0.72rem;
  line-height: 1.4;
}

/* Shared section typography */
.section-intro {
  max-width: 760px;
  margin-bottom: 50px;
}

.section-intro h2,
.workflow-copy h2,
.product-copy h2,
.safety-copy h2,
.final-cta h2 {
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(2rem, 3.4vw, 3.55rem);
  font-weight: 670;
  letter-spacing: -0.05em;
  line-height: 1.07;
}

.section-intro > p:last-child,
.workflow-copy > p,
.product-copy > p,
.safety-copy > p,
.final-cta > div > p:last-child {
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.66;
}

.audience-section,
.workflow-section,
.automation-section,
.product-section,
.toolkit-section,
.safety-section,
.faq-section {
  padding-top: 132px;
}

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

.audience-card {
  min-width: 0;
  padding: 25px 22px 24px;
  border-radius: 18px;
  background: #f1f5f7;
  transition: transform 0.2s ease, background 0.2s ease;
}

.audience-card:nth-child(even) {
  background: #f4f7f5;
}

.audience-card:hover {
  transform: translateY(-3px);
  background: #eaf1f4;
}

.audience-card__number {
  color: #8ba0ad;
  font-size: 0.62rem;
  font-weight: 680;
}

.audience-card h3 {
  margin: 22px 0 16px;
  color: #263f53;
  font-size: 1.04rem;
  font-weight: 680;
}

.audience-card p {
  margin: 0;
  color: #5b7080;
  font-size: 0.84rem;
  line-height: 1.55;
}

.audience-card .audience-card__question {
  min-height: 68px;
  margin-bottom: 16px;
  color: #3b566a;
  font-size: 0.84rem;
  font-weight: 610;
  line-height: 1.48;
}

/* Workflow */
.workflow-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(520px, 1.22fr);
  gap: clamp(60px, 8vw, 120px);
  align-items: start;
}

.workflow-copy {
  position: sticky;
  top: 34px;
}

.workflow-steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: flow-step;
}

.workflow-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 19px;
  min-height: 128px;
  padding-bottom: 28px;
}

.workflow-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 46px;
  bottom: 4px;
  left: 26px;
  width: 1px;
  background: linear-gradient(180deg, rgba(65, 119, 149, 0.26), rgba(65, 119, 149, 0.05));
}

.workflow-steps li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  color: #356883;
  background: #e7f0f4;
  font-size: 0.73rem;
  font-weight: 700;
}

.workflow-steps li > div {
  padding: 3px 0 0;
}

.workflow-steps strong {
  display: block;
  color: #2a4458;
  font-size: 1rem;
}

.workflow-steps p {
  margin: 8px 0 0;
  color: #5f7484;
  font-size: 0.82rem;
  line-height: 1.58;
}

/* Scheduled agent tasks */
.automation-section {
  display: grid;
  grid-template-columns: minmax(570px, 1.22fr) minmax(330px, 0.78fr);
  gap: clamp(54px, 7vw, 104px);
  align-items: start;
}

.automation-copy {
  grid-column: 2;
  grid-row: 1;
  position: sticky;
  top: 34px;
}

.automation-demo {
  grid-column: 1;
  grid-row: 1;
}

.automation-copy h2 {
  max-width: 520px;
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(2.05rem, 3.35vw, 3.45rem);
  font-weight: 690;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.automation-copy > p:not(.eyebrow) {
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.66;
}

.automation-points {
  display: grid;
  gap: 0;
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.automation-points li {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.automation-points strong {
  color: #2d4a5e;
  font-size: 0.82rem;
}

.automation-points span {
  color: #6a7e8d;
  font-size: 0.74rem;
  line-height: 1.48;
}

.automation-demo {
  min-width: 0;
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(42, 78, 103, 0.1);
  border-radius: 24px;
  background: #eef3f5;
  box-shadow: 0 24px 70px rgba(29, 56, 75, 0.1);
}

.automation-demo__topline,
.automation-demo__foot {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px 13px;
  color: #6b7f8e;
  font-size: 0.65rem;
  line-height: 1.35;
}

.automation-demo__topline > span {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: #34725f;
  font-weight: 710;
}

.automation-demo__topline i,
.automation-next i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #3e9678;
  box-shadow: 0 0 0 4px rgba(62, 150, 120, 0.1);
}

.automation-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  padding: 5px;
  border: 1px solid rgba(42, 78, 103, 0.08);
  border-radius: 14px 14px 0 0;
  background: #e3e9ec;
}

.automation-tab {
  min-height: 44px;
  padding: 9px 10px;
  border: 0;
  border-radius: 10px;
  color: #657989;
  background: transparent;
  cursor: pointer;
  font-size: 0.69rem;
  font-weight: 700;
  line-height: 1.25;
  transition: color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.automation-tab:hover {
  color: #315873;
}

.automation-tab.is-active {
  color: #244d68;
  background: #fff;
  box-shadow: 0 5px 15px rgba(31, 57, 78, 0.08);
}

.automation-stage {
  min-height: 493px;
  border-right: 1px solid rgba(42, 78, 103, 0.08);
  border-left: 1px solid rgba(42, 78, 103, 0.08);
  background: #fff;
}

.automation-panel {
  display: grid;
  gap: 20px;
  padding: 24px;
  transition: opacity 0.14s ease, transform 0.14s ease;
}

.automation-panel[hidden] {
  display: none;
}

.automation-panel.is-switching {
  opacity: 0;
  transform: translateY(4px);
}

.automation-panel__header {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.automation-agent {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.automation-agent > img,
.automation-result__identity img {
  flex: 0 0 auto;
}

.automation-agent > span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.automation-agent strong {
  overflow: hidden;
  color: #29465a;
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.automation-agent small {
  color: #82919d;
  font-size: 0.62rem;
}

.automation-next {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 8px;
  align-items: center;
  color: #527264;
  font-size: 0.61rem;
  font-weight: 680;
}

.automation-prompt {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 15px 17px;
  border-left: 3px solid rgba(55, 117, 151, 0.42);
  background: #f2f6f8;
}

.automation-prompt span {
  color: #6a8190;
  font-size: 0.58rem;
  font-weight: 720;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.automation-prompt p {
  margin: 0;
  color: #344f63;
  font-size: 0.75rem;
  line-height: 1.56;
}

.automation-run {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.automation-run li {
  display: grid;
  align-content: start;
  gap: 5px;
  min-width: 0;
  padding: 14px 13px;
}

.automation-run li + li {
  border-left: 1px solid var(--line);
}

.automation-run span {
  color: #4b819f;
  font-size: 0.58rem;
  font-weight: 760;
}

.automation-run strong {
  color: #405b6e;
  font-size: 0.68rem;
  line-height: 1.35;
}

.automation-run small {
  color: #7a8c99;
  font-size: 0.59rem;
  line-height: 1.4;
}

.automation-result {
  display: grid;
  gap: 10px;
  margin-left: 34px;
  padding-left: 14px;
  border-left: 2px solid #dce8ed;
}

.automation-result__identity {
  display: flex;
  gap: 8px;
  align-items: center;
}

.automation-result__identity strong {
  color: #2f4b60;
  font-size: 0.69rem;
}

.automation-result__identity time {
  margin-left: auto;
  color: #8a99a4;
  font-size: 0.6rem;
}

.automation-result > p {
  margin: 0;
  color: #3c5568;
  font-size: 0.76rem;
  line-height: 1.58;
}

.automation-result > p strong {
  color: #203f55;
}

.automation-delivery {
  display: inline-flex;
  justify-self: start;
  padding: 5px 8px;
  border-radius: 7px;
  color: #47745f;
  background: #eaf3ef;
  font-size: 0.58rem;
  font-weight: 700;
}

.automation-delivery.is-alert {
  color: #3c6d8a;
  background: #e9f2f7;
}

.automation-demo__foot {
  flex-wrap: wrap;
  justify-content: flex-start;
  padding: 13px 10px 7px;
}

.automation-demo__foot span {
  position: relative;
  padding-left: 12px;
}

.automation-demo__foot span::before {
  content: "";
  position: absolute;
  top: 0.47em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #7694a5;
}

/* Product sections */
.product-section {
  display: grid;
  grid-template-columns: minmax(330px, 0.78fr) minmax(570px, 1.22fr);
  gap: clamp(54px, 7vw, 104px);
  align-items: start;
}

.product-copy {
  max-width: 480px;
}

.product-copy h2 {
  font-size: clamp(2.05rem, 3.35vw, 3.45rem);
}

.product-points {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.product-points li {
  position: relative;
  padding-left: 23px;
  color: #4f687a;
  font-size: 0.83rem;
  line-height: 1.42;
}

.product-points li::before {
  content: "";
  position: absolute;
  top: 0.38em;
  left: 1px;
  width: 9px;
  height: 9px;
  border: 2px solid #6e9cb5;
  border-radius: 50%;
}

/* Efficiency map */
.efficiency-map-preview {
  position: relative;
  min-height: 510px;
  margin: 0;
  padding: 92px 20px 20px;
  overflow: hidden;
  border: 1px solid rgba(31, 66, 91, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(rgba(76, 116, 140, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76, 116, 140, 0.055) 1px, transparent 1px),
    #f3f7f8;
  background-size: 24px 24px;
}

.efficiency-map-preview figcaption,
.task-preview figcaption {
  position: absolute;
  top: 18px;
  left: 20px;
  z-index: 4;
  display: grid;
  gap: 2px;
}

.efficiency-map-preview figcaption span,
.task-preview figcaption span {
  color: #607586;
  font-size: 0.64rem;
  font-weight: 680;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.efficiency-map-preview figcaption strong,
.task-preview figcaption strong {
  color: #2e495d;
  font-size: 0.84rem;
}

.efficiency-map-preview figcaption small,
.task-preview figcaption small {
  color: #657987;
  font-size: 0.64rem;
}

.map-preview-status {
  position: absolute;
  z-index: 4;
  top: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border-radius: 999px;
  color: #3f7c66;
  background: rgba(234, 244, 239, 0.92);
  font-size: 0.62rem;
  font-weight: 670;
}

.map-preview-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #579274;
}

.map-canvas {
  position: relative;
  height: 398px;
}

.map-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-lines path {
  fill: none;
  stroke: #7ca6bc;
  stroke-width: 1.15;
  stroke-linecap: round;
}

.map-lines circle {
  fill: #7ca6bc;
}

.map-node {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 5px;
  width: 27%;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid rgba(57, 118, 154, 0.14);
  border-left: 3px solid #6f98ae;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 28px rgba(37, 67, 88, 0.1);
}

.map-node > span {
  color: #607586;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.map-node > strong {
  overflow: hidden;
  color: #2e485c;
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.map-node > small {
  overflow: hidden;
  color: #607586;
  font-size: 0.64rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.map-node--account {
  top: 36.5%;
  left: 3%;
  border-left-color: #39769a;
}

.map-node--campaign {
  top: 36.5%;
  left: 37%;
  width: 28%;
  border-left-color: #236b98;
}

.map-node--target {
  left: 72%;
  width: 25%;
}

.map-node--warning {
  top: 14%;
}

.map-node--success {
  top: 56%;
}

.map-node--warning {
  border-left-color: #d07b56;
}

.map-node--success { border-left-color: #499174; }

.map-node__metrics {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 5px;
  padding-top: 8px;
  border-top: 1px solid rgba(37, 69, 91, 0.08);
}

.map-node__metrics b,
.map-node__metrics i {
  font-size: 0.62rem;
  font-style: normal;
}

.map-node__metrics b { color: #405d70; }
.map-node__metrics i { color: #607586; }

/* Risk panel */
.risk-control-section .product-copy {
  order: 2;
}

.risk-control-ui {
  order: 1;
  padding: 13px;
  border-radius: 24px;
  background: #eff4f6;
}

.risk-control-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3px;
  margin-bottom: 10px;
  padding: 3px;
  border-radius: 11px;
  background: rgba(217, 228, 233, 0.72);
}

.risk-control-tab {
  min-width: 0;
  min-height: 44px;
  padding: 8px 6px;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  color: #5f7484;
  background: transparent;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 640;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.risk-control-tab.is-active {
  color: #305a74;
  background: #fff;
  box-shadow: 0 2px 8px rgba(31, 61, 82, 0.08);
}

.service-risk-widget {
  min-height: 430px;
  padding: 20px;
  border-radius: 16px;
  background: #fff;
}

.service-risk-widget > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.service-risk-widget > header > span:first-child {
  display: grid;
  gap: 4px;
}

.service-risk-widget > header strong {
  color: #29465a;
  font-size: 0.82rem;
}

.service-risk-widget > header small {
  color: #657987;
  font-size: 0.64rem;
}

.risk-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  padding: 6px 8px;
  border-radius: 999px;
  color: #3f7c66;
  background: #eaf4ef;
  font-size: 0.62rem;
  font-weight: 650;
}

.risk-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 17px;
}

.risk-metrics > div {
  display: grid;
  gap: 4px;
  padding: 11px 12px;
  border-radius: 11px;
  background: #f3f6f7;
}

.risk-metrics span {
  color: #607586;
  font-size: 0.62rem;
}

.risk-metrics strong {
  color: #315068;
  font-size: 0.86rem;
}

.risk-rank-list {
  display: grid;
  gap: 5px;
  margin-top: 14px;
}

.risk-rank-item {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-width: 0;
  padding: 9px 2px;
}

.risk-rank-item + .risk-rank-item {
  border-top: 1px solid rgba(38, 70, 92, 0.07);
}

.risk-rank-item > span {
  color: #657987;
  font-size: 0.62rem;
  font-weight: 680;
}

.risk-rank-item > div {
  min-width: 0;
}

.risk-rank-item p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
}

.risk-rank-item p strong {
  overflow: hidden;
  color: #3a5569;
  font-size: 0.68rem;
  font-weight: 620;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.risk-rank-item p b {
  flex: 0 0 auto;
  color: #334f63;
  font-size: 0.65rem;
}

.risk-rank-item small {
  display: block;
  margin-top: 3px;
  color: #657987;
  font-size: 0.6rem;
}

.risk-rank-item > div > i {
  display: block;
  height: 4px;
  margin-top: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf1f3;
}

.risk-rank-item > div > i em {
  display: block;
  width: var(--risk-value);
  height: 100%;
  border-radius: inherit;
  background: var(--risk-color);
}

.service-risk-widget.is-switching .risk-metrics,
.service-risk-widget.is-switching .risk-rank-list {
  opacity: 0;
  transform: translateY(5px);
}

.service-risk-widget .risk-metrics,
.service-risk-widget .risk-rank-list {
  transition: opacity 0.18s ease, transform 0.18s ease;
}

/* Tasks */
.task-preview {
  position: relative;
  min-height: 550px;
  margin: 0;
  padding: 130px 18px 18px;
  overflow: hidden;
  border: 1px solid rgba(31, 66, 91, 0.08);
  border-radius: 24px;
  background: #f1f5f7;
}

.task-preview__summary {
  position: absolute;
  z-index: 3;
  top: 18px;
  right: 18px;
  display: flex;
  gap: 6px;
}

.task-preview__summary > span {
  display: grid;
  gap: 1px;
  min-width: 58px;
  padding: 7px 8px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.84);
}

.task-preview__summary small {
  color: #70828f;
  font-size: 0.56rem;
  line-height: 1.2;
}

.task-preview__summary strong {
  color: #345268;
  font-size: 0.78rem;
  line-height: 1.15;
}

.task-preview__switcher {
  position: absolute;
  z-index: 3;
  top: 79px;
  left: 18px;
  display: inline-grid;
  grid-template-columns: repeat(2, auto);
  gap: 2px;
  padding: 3px;
  border-radius: 10px;
  background: rgba(217, 228, 233, 0.72);
}

.task-preview__switcher span {
  min-height: 31px;
  padding: 8px 10px;
  border-radius: 7px;
  color: #71828f;
  font-size: 0.62rem;
  font-weight: 650;
  line-height: 1.2;
}

.task-preview__switcher .is-active {
  color: #345a74;
  background: #fff;
  box-shadow: 0 2px 7px rgba(32, 65, 87, 0.08);
}

.task-preview__body {
  display: grid;
  grid-template-columns: minmax(250px, 0.92fr) minmax(270px, 1.08fr);
  gap: 10px;
  height: 100%;
}

.task-calendar,
.task-list-preview {
  padding: 15px;
  border-radius: 15px;
  background: #fff;
}

.task-calendar__head,
.task-list-preview__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.task-calendar__head span,
.task-list-preview__head span {
  color: #345268;
  font-size: 0.71rem;
  font-weight: 670;
}

.task-calendar__head {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) 20px;
  text-align: center;
}

.task-calendar__head i {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  color: #71828f;
  background: #f1f5f7;
  font-size: 0.9rem;
  font-style: normal;
  line-height: 1;
}

.task-calendar__head small,
.task-list-preview__head small {
  color: #657987;
  font-size: 0.62rem;
}

.task-calendar__week,
.task-calendar__days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.task-calendar__week {
  margin-top: 17px;
  color: #657987;
  font-size: 0.62rem;
  text-align: center;
}

.task-calendar__days {
  gap: 4px 2px;
  margin-top: 8px;
}

.task-calendar__days > span {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border-radius: 8px;
  color: #607482;
  font-size: 0.62rem;
}

.task-calendar__days > span.is-muted {
  color: #71828d;
}

.task-calendar__days > span.is-today {
  color: #fff;
  background: #236b98;
}

.task-calendar__days i {
  position: absolute;
  right: 1px;
  bottom: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  color: #fff;
  background: #579274;
  font-size: 0.62rem;
  font-style: normal;
}

.task-calendar__footer {
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px solid rgba(37, 70, 93, 0.08);
  color: #587188;
  font-size: 0.62rem;
  font-weight: 650;
}

.task-list-preview {
  display: flex;
  flex-direction: column;
}

.task-list-preview article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  padding: 14px 0;
}

.task-list-preview article + article {
  border-top: 1px solid rgba(37, 70, 93, 0.08);
}

.task-list-preview article > i {
  width: 15px;
  height: 15px;
  border: 1px solid #9aaeba;
  border-radius: 5px;
}

.task-list-preview article > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.task-list-preview article strong {
  overflow: hidden;
  color: #3c586b;
  font-size: 0.68rem;
  font-weight: 620;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-list-preview article p {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
}

.task-list-preview article p span {
  padding: 3px 5px;
  border-radius: 5px;
  color: #657987;
  background: #f0f4f6;
  font-size: 0.56rem;
  line-height: 1.2;
}

/* Toolkit */
.toolkit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(46, 78, 100, 0.09);
}

.toolkit-grid article {
  min-height: 190px;
  padding: 25px;
  background: #f7f9fa;
}

.toolkit-grid article:nth-child(2),
.toolkit-grid article:nth-child(4),
.toolkit-grid article:nth-child(6) {
  background: #f2f6f7;
}

.toolkit-grid article > span {
  color: #92a0aa;
  font-size: 0.65rem;
  font-weight: 700;
}

.toolkit-grid h3 {
  margin: 35px 0 9px;
  color: #2d485d;
  font-size: 0.92rem;
}

.toolkit-grid p {
  margin: 0;
  color: #5f7484;
  font-size: 0.84rem;
  line-height: 1.55;
}

/* Safety */
.safety-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(540px, 1.2fr);
  gap: clamp(52px, 7vw, 96px);
  align-items: center;
}

.safety-columns {
  display: grid;
  gap: 10px;
}

.safety-copy .safety-oauth {
  margin-top: 16px;
  padding-left: 16px;
  border-left: 2px solid rgba(44, 128, 100, 0.38);
  color: #587264;
  font-size: 0.82rem;
}

.safety-columns article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 17px;
  padding: 22px;
  border-radius: 17px;
  background: #f1f5f6;
}

.safety-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 720;
}

.safety-icon.is-read {
  color: #356d8d;
  background: #deebf1;
}

.safety-icon.is-approve {
  color: #36775f;
  background: #deeee7;
}

.safety-columns h3 {
  margin: 2px 0 12px;
  color: #2d485c;
  font-size: 0.9rem;
}

.safety-columns ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  color: #5b7080;
  font-size: 0.82rem;
  line-height: 1.45;
  list-style: none;
}

.safety-columns li {
  position: relative;
  padding-left: 15px;
}

.safety-columns li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7d9caf;
}

/* FAQ */
.faq-section {
  display: grid;
  grid-template-columns: minmax(250px, 0.58fr) minmax(560px, 1.42fr);
  gap: clamp(50px, 8vw, 110px);
  align-items: start;
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  min-height: 64px;
  padding: 21px 42px 21px 0;
  color: #304b5f;
  cursor: pointer;
  font-size: 0.87rem;
  font-weight: 640;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before,
.faq-list summary::after {
  content: "";
  position: absolute;
  top: 31px;
  right: 5px;
  width: 13px;
  height: 1px;
  background: #698294;
  transition: transform 0.18s ease;
}

.faq-list summary::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary::after {
  transform: rotate(0);
}

.faq-list details p {
  max-width: 680px;
  margin: -4px 0 22px;
  color: #5f7484;
  font-size: 0.85rem;
  line-height: 1.62;
}

/* Final CTA */
.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: end;
  margin-top: 132px;
  padding: 45px 48px;
  border-radius: 24px;
  color: #fff;
  background: #17384f;
}

.final-cta .eyebrow {
  color: #a6c4d5;
}

.final-cta .eyebrow > span {
  background: #83b3ca;
  box-shadow: 0 0 0 5px rgba(131, 179, 202, 0.11);
}

.final-cta h2 {
  max-width: 780px;
  color: #fff;
  font-size: clamp(1.9rem, 3.2vw, 3.2rem);
}

.final-cta > div > p:last-child {
  max-width: 660px;
  color: #b9cad5;
}

.final-cta__actions {
  display: grid;
  gap: 9px;
  width: min(100%, 260px);
}

.final-cta .button-primary {
  color: #17384f;
  background: #fff;
  box-shadow: none;
}

.final-cta .button-primary:hover {
  background: #edf4f6;
}

.final-cta .button-secondary {
  border-color: rgba(255, 255, 255, 0.18);
  color: #d9e4ea;
  background: rgba(255, 255, 255, 0.05);
}

.final-cta .button-secondary:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.final-cta__actions small {
  color: #91a9b8;
  font-size: 0.72rem;
  text-align: center;
}

/* Footer */
.public-footer {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(580px, 1.2fr);
  gap: 70px;
  margin-top: 34px;
  padding: 72px 0 34px;
  border-top: 1px solid var(--line);
}

.public-footer__brand {
  max-width: 360px;
}

.public-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.public-footer__logo > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 17px rgba(30, 62, 84, 0.1);
}

.public-footer__logo img {
  width: 33px;
  height: 33px;
}

.public-footer__logo strong {
  color: #213c51;
  font-size: 0.92rem;
}

.public-footer__brand > p {
  margin: 18px 0 0;
  color: #5f7484;
  font-size: 0.82rem;
  line-height: 1.6;
}

.public-footer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.public-footer__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 13px;
  border-radius: 10px;
  font-size: 0.76rem;
  font-weight: 650;
}

.public-footer__primary {
  color: #fff;
  background: #1c4e70;
}

.public-footer__secondary {
  border: 1px solid var(--line-strong);
  color: #516b7d;
  background: #fff;
}

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

.public-footer__nav section {
  display: grid;
  align-content: start;
  gap: 9px;
}

.public-footer__nav h2 {
  margin: 0 0 5px;
  color: #3a5467;
  font-size: 0.78rem;
  font-weight: 700;
}

.public-footer__nav a {
  color: #607484;
  font-size: 0.78rem;
  line-height: 1.4;
}

.public-footer__nav a:hover {
  color: var(--blue-dark);
}

.public-footer__bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(31, 61, 84, 0.08);
  color: #637787;
  font-size: 0.72rem;
}

/* Progressive reveal */
html.has-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

html.has-reveal [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 761px) {
  .audience-grid [data-reveal]:nth-child(2),
  .toolkit-grid [data-reveal]:nth-child(2) { transition-delay: 0.06s; }
  .audience-grid [data-reveal]:nth-child(3),
  .toolkit-grid [data-reveal]:nth-child(3) { transition-delay: 0.12s; }
  .audience-grid [data-reveal]:nth-child(4),
  .toolkit-grid [data-reveal]:nth-child(4) { transition-delay: 0.18s; }
  .toolkit-grid [data-reveal]:nth-child(5) { transition-delay: 0.24s; }
  .toolkit-grid [data-reveal]:nth-child(6) { transition-delay: 0.3s; }
}

@media (max-width: 1100px) {
  .hero-grid {
    gap: 34px;
    padding-top: 50px;
  }

  .hero-title {
    font-size: clamp(2.45rem, 5.45vw, 4.5rem);
  }

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

  .audience-card .audience-card__question {
    min-height: 0;
  }

  .product-section {
    grid-template-columns: minmax(300px, 0.74fr) minmax(500px, 1.26fr);
    gap: 42px;
  }

}

@media (max-width: 980px) {
  .section-shell,
  .site-header,
  .public-footer,
  .hero-grid,
  .signal-strip {
    width: min(100% - 36px, var(--content));
  }

  .site-nav .nav-section-link {
    display: none;
  }

  .hero-grid {
    gap: 31px;
    padding: 50px 0 clamp(88px, 11vw, 112px);
  }

  .hero-content {
    max-width: 820px;
  }

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

  .agent-demo {
    width: min(100%, 720px);
    margin-right: auto;
    margin-left: auto;
  }

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

  .signal-strip > div:nth-child(3) {
    border-top: 1px solid rgba(31, 61, 84, 0.08);
    border-left: 0;
  }

  .signal-strip > div:nth-child(4) {
    border-top: 1px solid rgba(31, 61, 84, 0.08);
  }

  .audience-section,
  .workflow-section,
  .automation-section,
  .product-section,
  .toolkit-section,
  .safety-section,
  .faq-section {
    padding-top: 105px;
  }

  .workflow-section,
  .automation-section,
  .safety-section,
  .faq-section {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .workflow-copy {
    position: static;
    max-width: 690px;
  }

  .automation-copy {
    grid-column: auto;
    grid-row: auto;
    position: static;
    max-width: 720px;
  }

  .workflow-steps {
    max-width: 720px;
  }

  .automation-demo {
    grid-column: auto;
    grid-row: auto;
    width: min(100%, 780px);
  }

  .product-section {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .product-copy {
    max-width: 690px;
  }

  .efficiency-map-preview,
  .risk-control-ui,
  .task-preview {
    width: min(100%, 760px);
  }

  .risk-control-section .product-copy {
    order: 1;
  }

  .risk-control-ui {
    order: 2;
  }

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

  .safety-copy {
    max-width: 700px;
  }

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

  .final-cta {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .final-cta__actions {
    width: min(100%, 330px);
  }

  .public-footer {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .public-footer__brand {
    max-width: 520px;
  }

  .map-canvas {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    height: auto;
  }

  .map-lines {
    display: none;
  }

  .map-node,
  .map-node--account,
  .map-node--campaign,
  .map-node--target,
  .map-node--warning,
  .map-node--success {
    position: static;
    width: auto;
    margin: 0;
  }

  .map-node--account,
  .map-node--campaign {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .section-shell,
  .site-header,
  .public-footer,
  .hero-grid,
  .signal-strip {
    width: min(100% - 28px, var(--content));
  }

  .site-header-band {
    padding: 12px 0;
  }

  .site-header {
    gap: 10px;
    min-height: 52px;
  }

  .brand-mark {
    width: 35px;
    height: 35px;
    border-radius: 10px;
  }

  .brand-mark img {
    width: 31px;
    height: 31px;
  }

  .brand-title small {
    display: none;
  }

  .site-nav {
    gap: 2px;
  }

  .site-nav a {
    min-height: 44px;
    padding: 8px 10px;
    font-size: 0.7rem;
  }

  .site-nav .nav-login {
    margin-left: 0;
  }

  .site-nav .nav-start {
    padding-right: 12px;
    padding-left: 12px;
  }

  .hero-grid {
    gap: 28px;
    padding: 40px 0 84px;
  }

  .hero-title {
    font-size: clamp(2.28rem, 11.6vw, 3.25rem);
    line-height: 1.02;
  }

  .hero-copy {
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .trial-line {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 16px;
  }

  .trial-line span + span::before {
    display: none;
  }

  .trial-line__free {
    grid-column: 1 / -1;
  }

  .hero-bullets {
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 360px;
    margin-top: 22px;
  }

  .hero-bullets li {
    min-height: 0;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .agent-window {
    border-radius: 18px;
  }

  .agent-window__bar {
    min-height: 60px;
    padding: 10px 12px;
  }

  .agent-ready {
    padding: 6px 8px;
  }

  .agent-ready {
    font-size: 0;
  }

  .demo-tabs {
    overflow-x: auto;
  }

  .demo-tab {
    font-size: 0.68rem;
  }

  .demo-viewport {
    min-height: 565px;
    padding: 15px 12px 18px;
  }

  .demo-user-message {
    width: 94%;
    padding: 11px 12px;
  }

  .demo-user-message p {
    font-size: 0.7rem;
  }

  .demo-worklog,
  .demo-result {
    margin-left: 0;
  }

  .demo-agent-response__identity {
    margin-bottom: 12px;
  }

  .demo-result {
    padding: 13px;
  }

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

  .preview-summary > span:last-child {
    grid-column: 1 / -1;
  }

  .preview-action {
    align-items: flex-start;
    flex-direction: column;
  }

  .signal-strip {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  .signal-strip > div + div,
  .signal-strip > div:nth-child(3),
  .signal-strip > div:nth-child(4) {
    border-top: 1px solid rgba(31, 61, 84, 0.08);
    border-left: 0;
  }

  .audience-section,
  .workflow-section,
  .automation-section,
  .product-section,
  .toolkit-section,
  .safety-section,
  .faq-section {
    padding-top: 82px;
  }

  .section-intro {
    margin-bottom: 32px;
  }

  .section-intro h2,
  .workflow-copy h2,
  .automation-copy h2,
  .product-copy h2,
  .safety-copy h2,
  .final-cta h2 {
    font-size: clamp(1.85rem, 9vw, 2.55rem);
  }

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

  .audience-card {
    padding: 22px 20px;
  }

  .workflow-steps li {
    grid-template-columns: 43px minmax(0, 1fr);
    gap: 14px;
  }

  .workflow-steps li > span {
    width: 43px;
    height: 43px;
    border-radius: 13px;
  }

  .workflow-steps li:not(:last-child)::after {
    top: 43px;
    left: 21px;
  }

  .automation-section {
    gap: 38px;
  }

  .automation-demo {
    padding: 7px;
    border-radius: 19px;
  }

  .automation-demo__topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .automation-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
  }

  .automation-tab {
    min-width: 0;
    padding: 8px 5px;
    font-size: 0.61rem;
  }

  .automation-stage {
    min-height: 0;
  }

  .automation-panel {
    gap: 17px;
    padding: 18px 14px 20px;
  }

  .automation-panel__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 11px;
  }

  .automation-run {
    grid-template-columns: 1fr;
  }

  .automation-run li {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 3px 10px;
    padding: 11px 5px;
  }

  .automation-run li + li {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .automation-run span {
    grid-row: 1 / span 2;
  }

  .automation-result {
    margin-left: 5px;
  }

  .automation-demo__foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .efficiency-map-preview {
    min-height: auto;
    padding: 86px 14px 16px;
    background-size: 20px 20px;
  }

  .map-preview-status {
    top: 18px;
    right: 14px;
  }

  .risk-control-ui {
    padding: 9px;
    border-radius: 18px;
  }

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

  .service-risk-widget {
    min-height: 410px;
    padding: 15px;
  }

  .service-risk-widget > header {
    align-items: flex-start;
    flex-direction: column;
  }

  .task-preview {
    min-height: auto;
    padding: 160px 10px 10px;
    border-radius: 18px;
  }

  .task-preview figcaption {
    top: 16px;
    left: 14px;
  }

  .task-preview__summary {
    top: 62px;
    right: auto;
    left: 14px;
  }

  .task-preview__switcher {
    top: 112px;
    left: 14px;
  }

  .task-preview__body {
    grid-template-columns: 1fr;
  }

  .task-calendar,
  .task-list-preview {
    padding: 14px;
  }

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

  .toolkit-grid article {
    min-height: 0;
    padding: 22px;
  }

  .toolkit-grid h3 {
    margin-top: 25px;
  }

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

  .faq-list summary {
    padding-right: 36px;
  }

  .final-cta {
    gap: 34px;
    margin-top: 82px;
    padding: 32px 22px;
    border-radius: 20px;
  }

  .final-cta__actions {
    width: 100%;
  }

  .public-footer {
    margin-top: 24px;
    padding-top: 52px;
  }

  .public-footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 18px;
  }

  .public-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
}

@media (max-width: 360px) {
  .section-shell,
  .site-header,
  .public-footer,
  .hero-grid,
  .signal-strip {
    width: min(100% - 20px, var(--content));
  }

  .brand-title strong {
    font-size: 0.9rem;
  }

  .site-nav .nav-login {
    display: none;
  }
}

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

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

  html.has-reveal [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .demo-progress {
    display: none;
  }
}

@media print {
  .site-nav,
  .demo-playback,
  .demo-progress,
  .hero-actions,
  .final-cta__actions,
  .public-footer__actions {
    display: none !important;
  }

  .hero,
  .final-cta {
    color: #000;
    background: #fff;
  }
}
