:root {
  color-scheme: light;
  --ink: #071314;
  --ink-soft: #31464a;
  --muted: #65787b;
  --paper: #ffffff;
  --surface: #f4f7f6;
  --surface-strong: #e8efec;
  --line: #d7e2df;
  --teal: #0c9a9a;
  --teal-dark: #087071;
  --green: #31b86f;
  --amber: #f0ac38;
  --coral: #e75d4f;
  --dark: #071112;
  --dark-2: #102629;
  --shadow: 0 24px 60px rgba(3, 20, 24, 0.16);
  --radius: 8px;
  font-family: "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", Arial, sans-serif;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  letter-spacing: 0;
}

body,
button,
input,
select {
  font: inherit;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

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

.footer-logo-frame {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #071112;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
}
.button,
.submit-button,
.copy-button,
.contact-shortcuts a {
  transition: transform 160ms ease, color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.submit-button:hover,
.copy-button:hover,
.contact-shortcuts a:hover {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #ffffff;
  background: var(--dark);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  z-index: -3;
  object-fit: cover;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(4, 12, 13, 0.95) 0%, rgba(4, 12, 13, 0.86) 34%, rgba(4, 12, 13, 0.3) 74%, rgba(4, 12, 13, 0.76) 100%),
    linear-gradient(180deg, rgba(4, 12, 13, 0.34) 0%, rgba(4, 12, 13, 0.76) 100%);
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 500px);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(86px, 10vh, 110px) 0 clamp(34px, 5vh, 56px);
}

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

.eyebrow,
.form-kicker,
.pricing-label,
.agent-role {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

.hero .eyebrow,
.compliance-band .eyebrow {
  color: #9ff7d1;
}

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

h1 {
  max-width: 10ch;
  margin-bottom: 22px;
  font-size: clamp(48px, 6.5vw, 84px);
  line-height: 0.98;
  font-weight: 900;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  font-weight: 900;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.22;
}

.hero-lede {
  max-width: 660px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(17px, 1.8vw, 20px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-weight: 900;
}

.button-primary {
  color: #041210;
  background: linear-gradient(135deg, #eafff4, #35d37f);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.button-ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

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

.hero-metrics div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

.hero-metrics dt {
  margin-bottom: 4px;
  color: #ffffff;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 900;
  line-height: 1;
}

.hero-metrics dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.lead-form {
  width: 100%;
  padding: clamp(20px, 3vw, 30px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lead-form h2 {
  margin-bottom: 16px;
  font-size: clamp(24px, 2.4vw, 30px);
}

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

.field {
  display: block;
  margin-bottom: 12px;
}

.field span {
  display: block;
  margin-bottom: 7px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 900;
}

input,
select {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  color: var(--ink);
  background: #f9fbfa;
  border: 1px solid #cdd9d6;
  border-radius: 6px;
  outline: 0;
}

input:focus,
select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(12, 154, 154, 0.13);
}

.field.is-invalid input {
  border-color: var(--coral);
}

.field-error {
  display: block;
  margin-top: 5px;
  color: var(--coral);
  font-size: 12px;
}

.field-error:empty {
  display: none;
}

.consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 4px 0 16px;
  color: var(--ink-soft);
  font-size: 13px;
}

.consent input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 3px 0 0;
  accent-color: var(--green);
}

.submit-button,
.copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  gap: 10px;
  color: #061311;
  background: linear-gradient(135deg, #cffff0, #33c878);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 900;
}

.copy-button {
  margin-top: 10px;
  color: var(--teal-dark);
  background: #eef9f6;
  border: 1px solid #b9d8d1;
}

.contact-shortcuts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 12px;
}

.contact-shortcuts a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 12px;
  color: var(--teal-dark);
  background: #f3fbf8;
  border: 1px solid #cbe3dc;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
}

.form-note,
.form-status {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  background: rgba(3, 12, 13, 0.78);
  backdrop-filter: blur(12px);
  transition: opacity 160ms ease, visibility 160ms ease;
}

.auth-overlay.is-open {
  visibility: visible;
  opacity: 1;
}

.auth-dialog {
  position: relative;
  width: min(460px, 100%);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 32px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #d9e5e1;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.auth-dialog h2 {
  margin: 4px 0 8px;
  font-size: 30px;
}

.auth-copy {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.65;
}

.field .auth-password-field {
  position: relative;
  display: block;
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.auth-password-field input {
  padding-right: 48px;
}

.auth-password-toggle {
  position: absolute;
  top: 50%;
  right: 7px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  transform: translateY(-50%);
}

.auth-password-toggle:hover,
.auth-password-toggle:focus-visible {
  color: var(--teal-dark);
  background: #edf6f3;
}

.auth-password-toggle:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
}

.auth-eye-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.auth-eye-slash {
  opacity: 0;
}

.auth-password-toggle.is-visible .auth-eye-slash {
  opacity: 1;
}

.auth-remember {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin: 0 0 16px;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
}

.auth-remember[hidden] {
  display: none;
}

.auth-remember input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0;
  accent-color: var(--green);
}

.auth-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  color: var(--ink-soft);
  background: #f3f7f5;
  border: 1px solid #d5e1dd;
  border-radius: 6px;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.auth-guest-link {
  display: block;
  margin-top: 14px;
  color: var(--teal-dark);
  text-align: center;
  font-size: 14px;
  font-weight: 800;
}

body.modal-open {
  overflow: hidden;
}

.form-status {
  min-height: 21px;
  color: var(--teal-dark);
  font-weight: 800;
}

.auth-takeover-button {
  width: 100%;
  min-height: 44px;
  margin-top: 8px;
  color: #8a2d17;
  background: #fff4ed;
  border: 1px solid #e3a38f;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 900;
}

.auth-takeover-button:hover {
  background: #ffe8dc;
}

.auth-takeover-button[hidden] {
  display: none;
}

:root[data-theme="dark"] .lead-form {
  color: var(--ink);
  background: rgba(20, 31, 32, 0.96);
  border-color: var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

:root[data-theme="dark"] input,
:root[data-theme="dark"] select {
  color: var(--ink);
  background: var(--surface-strong);
  border-color: var(--line);
}

:root[data-theme="dark"] input::placeholder {
  color: var(--muted);
}

:root[data-theme="dark"] .auth-dialog {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--line);
}

:root[data-theme="dark"] .copy-button,
:root[data-theme="dark"] .contact-shortcuts a,
:root[data-theme="dark"] .auth-password-toggle:hover,
:root[data-theme="dark"] .auth-password-toggle:focus-visible,
:root[data-theme="dark"] .auth-close {
  color: var(--ink);
  background: var(--surface-strong);
  border-color: var(--line);
}

:root[data-theme="dark"] .scenario-band {
  background: var(--surface);
}

:root[data-theme="dark"] .scenario-grid article {
  border-color: var(--line);
}

:root[data-theme="dark"] .site-footer {
  background: var(--paper);
}

.section-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.intro-band,
.flow-band,
.scenario-band,
.pricing-band,
.difference-band,
.compliance-band {
  padding: clamp(64px, 9vw, 112px) 0;
}

.intro-band {
  background: var(--paper);
}

.section-heading {
  max-width: 840px;
  margin-bottom: clamp(30px, 5vw, 52px);
}

.section-heading p,
.split-heading p {
  color: var(--muted);
  font-size: 17px;
}

.section-heading.compact {
  margin-bottom: 28px;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(28px, 4vw, 44px);
}

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

.system-card,
.pain-grid article,
.agent-card,
.scenario-grid article,
.subscription-card,
.credit-panel,
.package-grid article {
  border-radius: var(--radius);
}

.system-card {
  position: relative;
  min-height: 280px;
  padding: clamp(24px, 4vw, 42px);
  overflow: hidden;
  background: var(--dark);
  color: #ffffff;
}

.system-card.accent {
  background: #123338;
}

.system-card::after {
  content: "";
  position: absolute;
  inset: auto 24px 24px auto;
  width: 118px;
  height: 118px;
  border-right: 2px solid rgba(60, 220, 128, 0.45);
  border-bottom: 2px solid rgba(60, 220, 128, 0.45);
}

.card-index,
.scenario-grid span,
.package-grid span {
  display: inline-block;
  margin-bottom: 18px;
  color: #62e6a2;
  font-size: 13px;
  font-weight: 900;
}

.system-card p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.75);
}

.pain-section,
.modules-section {
  padding: clamp(64px, 8vw, 96px) 0;
}

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

.pain-grid article {
  min-height: 210px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.pain-grid h3,
.scenario-grid h3,
.agent-card h3 {
  font-size: 20px;
}

.pain-grid p,
.agent-card p,
.scenario-grid p,
.module-list,
.package-grid small,
.subscription-card li,
.compliance-layout li {
  color: var(--muted);
}

.flow-band {
  background: var(--dark-2);
  color: #ffffff;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.flow-list li {
  position: relative;
  min-height: 132px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.flow-list span {
  display: block;
  margin-bottom: 20px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
}

.flow-list strong {
  display: block;
  font-size: 20px;
  line-height: 1.25;
}

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

.agent-card {
  min-height: 260px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(7, 19, 20, 0.06);
}

.agent-role {
  color: var(--coral);
}

.scenario-band {
  background: #eaf2f0;
}

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

.scenario-grid article {
  min-height: 300px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid #d6e2de;
}

.scenario-grid span,
.package-grid span {
  color: var(--teal-dark);
}

.module-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.module-list li {
  display: grid;
  min-height: 92px;
  place-items: center;
  padding: 14px;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-weight: 900;
}

.pricing-band {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(7, 17, 18, 0.96), rgba(13, 52, 55, 0.96)),
    var(--dark);
}

.difference-band {
  scroll-margin-top: 76px;
  background: var(--paper);
}

.difference-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.78fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: end;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.difference-heading h2 {
  max-width: 760px;
}

.difference-lead {
  margin: 0;
  padding-left: 22px;
  border-left: 3px solid var(--green);
  color: var(--ink-soft);
  font-size: 17px;
}

.difference-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.difference-panel {
  min-width: 0;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.competitor-panel {
  background: var(--surface);
}

.vecto-panel {
  color: #ffffff;
  background: var(--dark-2);
  border-color: rgba(49, 184, 111, 0.45);
}

.difference-panel-title {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.vecto-panel .difference-panel-title {
  border-color: rgba(255, 255, 255, 0.16);
}

.difference-panel-title span {
  display: block;
  margin-bottom: 8px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.vecto-panel .difference-panel-title span {
  color: #62e6a2;
}

.difference-panel-title h3 {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
}

.difference-list {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: difference-item;
}

.difference-list li {
  display: grid;
  grid-template-columns: minmax(108px, 0.35fr) minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  counter-increment: difference-item;
}

.difference-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.vecto-panel .difference-list li {
  border-color: rgba(255, 255, 255, 0.13);
}

.difference-list span {
  color: var(--ink);
  font-weight: 900;
}

.difference-list span::before {
  content: "0" counter(difference-item) "  ";
  color: var(--teal);
  font-size: 12px;
}

.difference-list p {
  margin: 0;
  color: var(--muted);
}

.vecto-panel .difference-list span {
  color: #ffffff;
}

.vecto-panel .difference-list span::before {
  color: #62e6a2;
}

.vecto-panel .difference-list p {
  color: rgba(255, 255, 255, 0.76);
}

.pricing-band .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 18px;
}

.subscription-card,
.credit-panel,
.package-grid article {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.subscription-card {
  padding: clamp(24px, 4vw, 38px);
}

.pricing-label {
  color: #9ff7d1;
}

.price {
  margin: 12px 0 22px;
  font-size: clamp(44px, 6vw, 74px);
  font-weight: 900;
  line-height: 1;
}

.price span,
.price small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 18px;
  font-weight: 800;
}

.subscription-card ul,
.compliance-layout ul {
  padding-left: 20px;
  margin: 0;
}

.subscription-card li {
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.74);
}

.credit-panel {
  padding: clamp(22px, 3vw, 32px);
}

.unit-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 20px 0;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.unit-price span {
  color: rgba(255, 255, 255, 0.72);
}

.unit-price strong {
  color: #a9ffd6;
  font-size: 36px;
}

.usage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.usage-grid strong {
  color: #ffffff;
  text-align: right;
}

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

.package-grid article {
  padding: 24px;
}

.package-grid h3 {
  margin-bottom: 4px;
  font-size: 32px;
}

.package-grid p {
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 21px;
  font-weight: 900;
}

.package-grid small {
  color: rgba(255, 255, 255, 0.72);
}

.compliance-band {
  color: #ffffff;
  background: #0d1c1f;
}

.compliance-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(26px, 6vw, 82px);
  align-items: start;
}

.compliance-layout li {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.78);
}

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

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-logo-frame {
  width: 44px;
  height: 44px;
  border-color: rgba(7, 17, 18, 0.16);
}

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

.footer-brand div {
  display: grid;
  gap: 2px;
}

.site-footer span {
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 1060px) {
  .hero-shell,
  .pricing-layout,
  .difference-heading {
    grid-template-columns: 1fr;
  }

  .difference-lead {
    max-width: 760px;
  }

  .lead-form {
    max-width: 620px;
  }

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

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

@media (max-width: 820px) {
  .hero-shell {
    width: min(100% - 28px, 680px);
    padding-top: 96px;
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(42px, 14vw, 70px);
  }

  h2 {
    font-size: clamp(28px, 8vw, 40px);
  }

  .hero-metrics,
  .system-grid,
  .agent-grid,
  .package-grid,
  .difference-grid,
  .compliance-layout,
  .split-heading {
    grid-template-columns: 1fr;
  }

  .hero-metrics div,
  .pain-grid article,
  .scenario-grid article,
  .agent-card,
  .system-card {
    min-height: auto;
  }

  .flow-list,
  .module-list {
    grid-template-columns: 1fr;
  }

  .difference-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

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

@media (max-width: 560px) {
  .hero-shade {
    background:
      linear-gradient(90deg, rgba(4, 12, 13, 0.94) 0%, rgba(4, 12, 13, 0.82) 100%),
      linear-gradient(180deg, rgba(4, 12, 13, 0.18) 0%, rgba(4, 12, 13, 0.82) 100%);
  }

  .hero-shell {
    gap: 18px;
    padding-top: 86px;
    padding-bottom: 28px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(40px, 12vw, 54px);
    word-break: keep-all;
    overflow-wrap: normal;
  }

  .hero-lede,
  .hero-actions,
  .hero-metrics {
    display: none;
  }

  .button {
    width: 100%;
  }

  .pain-grid,
  .scenario-grid {
    grid-template-columns: 1fr;
  }

  .lead-form {
    padding: 18px;
  }

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

  .auth-dialog {
    padding: 26px 20px 22px;
  }
}

/* Public home 2026: media-first product story. Scoped to avoid affecting pricing and console pages. */
.home-canvas {
  --home-black: #050b0c;
  --home-ink: #101617;
  --home-white: #fbfcfc;
  --home-mint: #83f1c2;
  --home-lime: #d8ff68;
  --home-coral: #ff755f;
  --home-blue: #62b9ff;
  --home-line: #dbe4e1;
  overflow-x: hidden;
  color: var(--home-ink);
  background: var(--home-white);
}

.home-canvas .site-header {
  background: rgba(5, 11, 12, 0.94);
}

.home-canvas .home-kicker {
  margin: 0 0 14px;
  color: #087b68;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-canvas h1,
.home-canvas h2,
.home-canvas h3 {
  letter-spacing: 0;
}

.home-canvas .home-button-primary,
.home-canvas .home-button-secondary {
  min-height: 50px;
  padding-inline: 24px;
  border-radius: 6px;
}

.home-canvas .home-button-primary {
  color: #06110e;
  background: var(--home-mint);
  border: 1px solid var(--home-mint);
}

.home-canvas .home-button-secondary {
  color: inherit;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.home-canvas .home-button-primary:hover {
  background: #a6f9d5;
}

.home-canvas .home-button-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.home-canvas .home-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  color: #ffffff;
  background: #0a1718;
  border-bottom: 1px solid #213435;
}

.home-canvas .home-proof > div {
  display: grid;
  min-height: 112px;
  align-content: center;
  gap: 7px;
  padding: 20px 34px;
  border-right: 1px solid #2b3d3e;
}

.home-canvas .home-proof > div:last-child { border-right: 0; }
.home-canvas .home-proof strong { color: var(--home-lime); font-size: 27px; line-height: 1; }
.home-canvas .home-proof span { color: rgba(255, 255, 255, 0.66); font-size: 13px; }

.home-canvas .home-capability-section,
.home-canvas .home-infra-section,
.home-canvas .home-difference-section {
  scroll-margin-top: 72px;
  padding: 104px 0;
  background: var(--home-white);
}

.home-canvas .home-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.55fr);
  gap: 60px;
  align-items: end;
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto 48px;
}

.home-canvas .home-section-head h2,
.home-canvas .home-flow-copy h2,
.home-canvas .home-contact-copy h2 {
  max-width: none;
  margin: 0;
  font-size: 48px;
  line-height: 1.08;
}

.home-canvas .home-section-head > p,
.home-canvas .home-flow-copy > p:last-child,
.home-canvas .home-contact-copy > p {
  margin: 0;
  color: #607071;
  font-size: 16px;
  line-height: 1.75;
}

.home-canvas .home-media-rail {
  display: flex;
  gap: 18px;
  width: 100%;
  padding: 0 max(32px, calc((100vw - 1320px) / 2)) 18px;
  overflow-x: auto;
  scroll-padding-inline: max(32px, calc((100vw - 1320px) / 2));
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.home-canvas .home-media-rail::-webkit-scrollbar { display: none; }

.home-canvas .home-media-card {
  position: relative;
  flex: 0 0 360px;
  height: 500px;
  overflow: hidden;
  color: #ffffff;
  background: #121b1d;
  border-radius: 8px;
  scroll-snap-align: start;
}

.home-canvas .home-media-card-wide { flex-basis: 520px; }

.home-canvas .home-media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transition: transform 500ms ease, opacity 300ms ease;
}

.home-canvas .home-media-card::after {
  position: absolute;
  inset: 38% 0 0;
  background: linear-gradient(180deg, transparent, rgba(3, 8, 9, 0.95));
  content: "";
}

.home-canvas .home-media-card:hover img { transform: scale(1.035); opacity: 0.88; }

.home-canvas .home-media-card > div {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 28px;
}

.home-canvas .home-media-card span,
.home-canvas .home-status-label {
  color: var(--home-mint);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.home-canvas .home-media-card h3 { margin: 10px 0 10px; font-size: 25px; }
.home-canvas .home-media-card p { margin: 0; color: rgba(255, 255, 255, 0.72); font-size: 14px; }
.home-canvas .home-media-card-accent span { color: var(--home-lime); }

.home-canvas .home-roadmap {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 42px;
  width: min(1320px, calc(100% - 64px));
  margin: 38px auto 0;
  padding-top: 36px;
  border-top: 1px solid #d8e3df;
}

.home-canvas .home-roadmap-intro h3 {
  max-width: 480px;
  margin: 8px 0 14px;
  font-size: 29px;
  line-height: 1.2;
}

.home-canvas .home-roadmap-intro {
  display: flex;
  min-height: 544px;
  flex-direction: column;
}

.home-canvas .home-roadmap-intro > p:last-child {
  max-width: 520px;
  margin: 0;
  color: #607071;
  font-size: 14px;
  line-height: 1.7;
}

.home-canvas .home-roadmap-journey {
  display: grid;
  gap: 0;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #cfdcd8;
}

.home-canvas .home-roadmap-journey li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #cfdcd8;
}

.home-canvas .home-roadmap-journey li > span {
  color: #0c716c;
  font-size: 12px;
  font-weight: 900;
}

.home-canvas .home-roadmap-journey strong,
.home-canvas .home-roadmap-journey small { display: block; }
.home-canvas .home-roadmap-journey strong { font-size: 15px; }
.home-canvas .home-roadmap-journey small { margin-top: 3px; color: #748382; font-size: 12px; }

.home-canvas .home-roadmap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #cfdcd8;
  border-left: 1px solid #cfdcd8;
}

.home-canvas .home-roadmap-grid article {
  min-width: 0;
  min-height: 272px;
  overflow: hidden;
  background: #f4f8f6;
  border-right: 1px solid #cfdcd8;
  border-bottom: 1px solid #cfdcd8;
}

.home-canvas .home-roadmap-grid article > img {
  display: block;
  width: 100%;
  height: 118px;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.03);
  transition: transform 420ms ease, filter 420ms ease;
}

.home-canvas .home-roadmap-grid article:hover > img {
  transform: scale(1.025);
  filter: saturate(1) contrast(1.06);
}

.home-canvas .home-roadmap-grid article > div { padding: 20px 22px 22px; }

.home-canvas .home-roadmap-grid span {
  display: inline-block;
  color: #0c716c;
  font-size: 11px;
  font-weight: 900;
}

.home-canvas .home-roadmap-grid h4 {
  margin: 12px 0 7px;
  font-size: 18px;
}

.home-canvas .home-roadmap-grid p {
  margin: 0;
  color: #607071;
  font-size: 13px;
  line-height: 1.55;
}

.home-canvas .home-flow-section {
  display: grid;
  grid-template-columns: minmax(340px, 0.68fr) minmax(0, 1.32fr);
  gap: 72px;
  padding: 110px max(32px, calc((100vw - 1320px) / 2));
  color: #ffffff;
  background: #071112;
}

.home-canvas .home-flow-copy .home-kicker { color: var(--home-coral); }
.home-canvas .home-flow-copy > p:last-child { max-width: 440px; margin-top: 24px; color: rgba(255, 255, 255, 0.62); }

.home-canvas .home-flow-board { align-self: center; }
.home-canvas .home-flow-board ol { display: grid; gap: 0; padding: 0; margin: 0; list-style: none; }
.home-canvas .home-flow-board li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 76px;
  color: rgba(255, 255, 255, 0.48);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  transition: color 320ms ease, padding 320ms ease;
}

.home-canvas .home-flow-board li.is-active { padding-left: 10px; color: #ffffff; }
.home-canvas .home-flow-board li > span { color: var(--home-mint); font-size: 12px; font-weight: 900; }
.home-canvas .home-flow-board li div { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.home-canvas .home-flow-board strong { font-size: 22px; }
.home-canvas .home-flow-board small { color: inherit; font-size: 13px; }
.home-canvas .home-flow-line { height: 2px; margin-bottom: 12px; overflow: hidden; background: rgba(255, 255, 255, 0.12); }
.home-canvas .home-flow-line span { display: block; width: 0; height: 100%; background: var(--home-mint); transition: width 1500ms ease; }
.home-canvas .home-flow-board.is-running .home-flow-line span { width: 100%; }

.home-canvas .home-agents-section,
.home-canvas .home-scenarios-section {
  padding: 104px 0;
  color: #ffffff;
  background: #102427;
}

.home-canvas .home-agents-section .home-kicker,
.home-canvas .home-scenarios-section .home-kicker { color: var(--home-mint); }
.home-canvas .home-section-head-light > p,
.home-canvas .home-section-head-dark > p { color: rgba(255, 255, 255, 0.64); }

.home-canvas .home-agent-stage {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.home-canvas .home-agent-stage article {
  min-height: 400px;
  padding: 36px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.home-canvas .home-agent-stage article:last-child { border-right: 0; }
.home-canvas .home-agent-stage article:nth-child(1) { background: #173236; }
.home-canvas .home-agent-stage article:nth-child(2) { background: #30272a; }
.home-canvas .home-agent-stage article:nth-child(3) { background: #242d1d; }
.home-canvas .home-agent-number { display: block; margin-bottom: 80px; color: rgba(255, 255, 255, 0.46); font-size: 13px; font-weight: 900; }
.home-canvas .home-agent-role { margin: 0 0 8px; color: var(--home-mint); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.home-canvas .home-agent-stage h3 { margin: 0 0 15px; font-size: 31px; }
.home-canvas .home-agent-stage article > p:not(.home-agent-role) { min-height: 76px; color: rgba(255, 255, 255, 0.7); }
.home-canvas .home-agent-stage ul { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 25px 0 0; list-style: none; }
.home-canvas .home-agent-stage li { padding: 5px 9px; border: 1px solid rgba(255, 255, 255, 0.24); border-radius: 999px; font-size: 12px; }

.home-canvas .home-infra-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 340px 300px;
  gap: 16px;
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
}

.home-canvas .home-infra-grid article { min-width: 0; overflow: hidden; border-radius: 8px; }
.home-canvas .home-infra-visual { position: relative; grid-row: 1 / span 2; color: #ffffff; background: #071112; }
.home-canvas .home-infra-visual img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }
.home-canvas .home-infra-visual::after { position: absolute; inset: 50% 0 0; background: linear-gradient(180deg, transparent, rgba(3, 8, 9, 0.94)); content: ""; }
.home-canvas .home-infra-visual div { position: absolute; z-index: 1; right: 32px; bottom: 32px; left: 32px; display: grid; gap: 8px; }
.home-canvas .home-infra-visual span { color: var(--home-mint); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.home-canvas .home-infra-visual strong { max-width: 12ch; font-size: 35px; line-height: 1.12; }

.home-canvas .home-infra-status,
.home-canvas .home-infra-control,
.home-canvas .home-infra-network { padding: 30px; }
.home-canvas .home-infra-status { color: #ffffff; background: #142628; }
.home-canvas .home-infra-control { color: #161819; background: #e9f3ef; }
.home-canvas .home-infra-network { color: #161819; background: #e6f6a8; }
.home-canvas .home-infra-grid h3 { margin: 10px 0 14px; font-size: 27px; }
.home-canvas .home-infra-grid p { margin: 0; color: inherit; opacity: 0.7; }
.home-canvas .home-infra-status dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 22px 0; background: rgba(255, 255, 255, 0.16); }
.home-canvas .home-infra-status dl div { display: grid; gap: 5px; padding: 15px; background: #142628; }
.home-canvas .home-infra-status dt { color: rgba(255, 255, 255, 0.58); font-size: 12px; }
.home-canvas .home-infra-status dd { margin: 0; font-size: 26px; font-weight: 900; }
.home-canvas .home-control-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 24px; }
.home-canvas .home-control-row span { padding: 7px 10px; color: #17342e; border: 1px solid #9cbab2; border-radius: 5px; font-size: 12px; font-weight: 800; }
.home-canvas .home-infra-network a { display: inline-flex; gap: 12px; margin-top: 24px; font-weight: 900; }

.home-canvas .home-scenarios-section { background: #121616; }
.home-canvas .home-scenario-mosaic {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 0.75fr));
  grid-template-rows: repeat(2, 230px);
  gap: 14px;
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
}
.home-canvas .home-scenario-mosaic article { padding: 28px; background: #202828; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px; }
.home-canvas .home-scenario-mosaic > article > span { color: var(--home-coral); font-size: 12px; font-weight: 900; }
.home-canvas .home-scenario-mosaic h3 { margin: 30px 0 10px; font-size: 22px; }
.home-canvas .home-scenario-mosaic p { margin: 0; color: rgba(255, 255, 255, 0.62); font-size: 14px; }
.home-canvas .home-scenario-feature { position: relative; grid-row: 1 / span 2; overflow: hidden; padding: 0 !important; }
.home-canvas .home-scenario-feature img { width: 100%; height: 100%; object-fit: cover; opacity: 0.68; }
.home-canvas .home-scenario-feature::after { position: absolute; inset: 30% 0 0; background: linear-gradient(180deg, transparent, rgba(3, 8, 9, 0.95)); content: ""; }
.home-canvas .home-scenario-feature div { position: absolute; z-index: 1; right: 32px; bottom: 32px; left: 32px; }
.home-canvas .home-scenario-feature h3 { margin: 12px 0; font-size: 34px; }

.home-canvas .home-pricing-band { padding: 104px 0; background: #071112; }
.home-canvas .home-pricing-band .home-kicker { color: var(--home-lime); }

.home-canvas .home-compare {
  width: min(1100px, calc(100% - 64px));
  margin: 0 auto;
  border-top: 2px solid var(--home-ink);
}
.home-canvas .home-compare > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid var(--home-line); }
.home-canvas .home-compare span,
.home-canvas .home-compare strong { padding: 22px 24px; font-size: 15px; }
.home-canvas .home-compare span { color: #718080; }
.home-canvas .home-compare strong { color: #11201d; border-left: 1px solid var(--home-line); }
.home-canvas .home-compare-head { background: #eff5f3; }
.home-canvas .home-compare-head span,
.home-canvas .home-compare-head strong { color: var(--home-ink); font-size: 18px; }

.home-canvas .home-contact-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(480px, 1.28fr);
  gap: 70px;
  align-items: start;
  padding: 110px max(32px, calc((100vw - 1180px) / 2));
  color: #ffffff;
  background: #173335;
}
.home-canvas .home-contact-copy { position: sticky; top: 110px; }
.home-canvas .home-contact-copy .home-kicker { color: var(--home-mint); }
.home-canvas .home-contact-copy > p { max-width: 500px; margin: 24px 0; color: rgba(255, 255, 255, 0.68); }
.home-canvas .home-lead-form { max-width: none; color: var(--home-ink); background: #ffffff; border: 0; box-shadow: none; }
.home-canvas .home-lead-form h2 { font-size: 28px; }

.home-canvas .home-trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  color: #263535;
  background: var(--home-lime);
}
.home-canvas .home-trust-strip span { padding: 16px 25px; font-size: 12px; font-weight: 900; }
.home-canvas .home-trust-strip span + span { border-left: 1px solid rgba(10, 20, 16, 0.22); }

.home-canvas .home-footer { color: #ffffff; background: #071112; border-color: #1e3031; }
.home-canvas .home-footer-links { display: flex; flex-wrap: wrap; gap: 24px; color: rgba(255, 255, 255, 0.7); font-size: 13px; font-weight: 800; }
.home-canvas .home-footer-links a:hover { color: var(--home-mint); }

.home-canvas [data-home-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}
.home-canvas [data-home-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
  .home-canvas .home-section-head h2,
  .home-canvas .home-flow-copy h2,
  .home-canvas .home-contact-copy h2 { font-size: 42px; }
  .home-canvas .home-flow-section { grid-template-columns: 1fr; gap: 48px; }
  .home-canvas .home-flow-copy > p:last-child { max-width: 700px; }
  .home-canvas .home-infra-grid { grid-template-rows: 300px 320px; }
  .home-canvas .home-contact-section { gap: 36px; }
}

@media (max-width: 820px) {
  .home-canvas .home-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-canvas .home-proof > div:nth-child(2) { border-right: 0; }
  .home-canvas .home-proof > div:nth-child(-n + 2) { border-bottom: 1px solid #2b3d3e; }
  .home-canvas .home-section-head { grid-template-columns: 1fr; gap: 20px; width: min(100% - 36px, 680px); }
  .home-canvas .home-section-head h2,
  .home-canvas .home-flow-copy h2,
  .home-canvas .home-contact-copy h2 { font-size: 38px; }
  .home-canvas .home-media-rail { padding-inline: 18px; scroll-padding-inline: 18px; }
  .home-canvas .home-media-card { flex-basis: 320px; height: 450px; }
  .home-canvas .home-media-card-wide { flex-basis: 420px; }
  .home-canvas .home-roadmap { grid-template-columns: 1fr; gap: 24px; width: min(100% - 36px, 680px); }
  .home-canvas .home-roadmap-intro { min-height: 0; }
  .home-canvas .home-roadmap-journey { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 22px; border-left: 1px solid #cfdcd8; }
  .home-canvas .home-roadmap-journey li { padding: 13px; border-right: 1px solid #cfdcd8; }
  .home-canvas .home-flow-section { padding-inline: 24px; }
  .home-canvas .home-agent-stage { grid-template-columns: 1fr; width: min(100% - 36px, 680px); }
  .home-canvas .home-agent-stage article { min-height: 300px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
  .home-canvas .home-agent-stage article:last-child { border-bottom: 0; }
  .home-canvas .home-agent-number { margin-bottom: 40px; }
  .home-canvas .home-infra-grid { grid-template-columns: 1fr; grid-template-rows: 450px auto auto auto; width: min(100% - 36px, 680px); }
  .home-canvas .home-infra-visual { grid-row: auto; }
  .home-canvas .home-scenario-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 390px repeat(2, auto); width: min(100% - 36px, 680px); }
  .home-canvas .home-scenario-feature { grid-column: 1 / -1; grid-row: auto; }
  .home-canvas .home-compare { width: min(100% - 36px, 680px); }
  .home-canvas .home-contact-section { grid-template-columns: 1fr; padding-inline: max(18px, calc((100vw - 680px) / 2)); }
  .home-canvas .home-contact-copy { position: static; }
}

@media (max-width: 560px) {
  .home-canvas .site-header :is(.site-menu-toggle, .site-icon-button, .header-login) {
    min-height: 44px;
    height: 44px;
  }

  .home-canvas .home-proof > div { min-height: 100px; padding: 18px; }
  .home-canvas .home-proof strong { font-size: 22px; }
  .home-canvas .home-capability-section,
  .home-canvas .home-infra-section,
  .home-canvas .home-difference-section,
  .home-canvas .home-agents-section,
  .home-canvas .home-scenarios-section,
  .home-canvas .home-pricing-band { padding: 72px 0; }
  .home-canvas .home-section-head { width: calc(100% - 28px); margin-bottom: 32px; }
  .home-canvas .home-section-head h2,
  .home-canvas .home-flow-copy h2,
  .home-canvas .home-contact-copy h2 { max-width: 100%; font-size: 34px; }
  .home-canvas .home-media-card,
  .home-canvas .home-media-card-wide { flex-basis: calc(100vw - 44px); height: 430px; }
  .home-canvas .home-media-card > div { padding: 22px; }
  .home-canvas .home-media-card h3 { font-size: 22px; }
  .home-canvas .home-roadmap { width: calc(100% - 28px); margin-top: 26px; padding-top: 26px; }
  .home-canvas .home-roadmap-intro h3 { font-size: 24px; }
  .home-canvas .home-roadmap-journey { grid-template-columns: 1fr; }
  .home-canvas .home-roadmap-grid { grid-template-columns: 1fr; }
  .home-canvas .home-roadmap-grid article { min-height: 0; padding: 0; }
  .home-canvas .home-roadmap-grid article > img { height: 132px; }
  .home-canvas .home-roadmap-grid article > div { padding: 18px; }
  .home-canvas .home-flow-section { padding: 72px 18px; }
  .home-canvas .home-flow-board li { grid-template-columns: 34px minmax(0, 1fr); gap: 10px; min-height: 70px; }
  .home-canvas .home-flow-board li div { display: grid; gap: 2px; }
  .home-canvas .home-flow-board strong { font-size: 19px; }
  .home-canvas .home-agent-stage { width: calc(100% - 28px); }
  .home-canvas .home-agent-stage article { min-height: 290px; padding: 26px; }
  .home-canvas .home-infra-grid { grid-template-rows: 390px auto auto auto; width: calc(100% - 28px); }
  .home-canvas .home-infra-visual div { right: 24px; bottom: 24px; left: 24px; }
  .home-canvas .home-infra-visual strong { font-size: 29px; }
  .home-canvas .home-infra-status,
  .home-canvas .home-infra-control,
  .home-canvas .home-infra-network { padding: 24px; }
  .home-canvas .home-infra-status dl div { padding: 10px; }
  .home-canvas .home-infra-status dd { font-size: 22px; }
  .home-canvas .home-scenario-mosaic { grid-template-columns: 1fr; grid-template-rows: 360px repeat(3, auto); width: calc(100% - 28px); }
  .home-canvas .home-scenario-feature { grid-column: auto; }
  .home-canvas .home-scenario-mosaic article { min-height: 190px; padding: 24px; }
  .home-canvas .home-scenario-feature { min-height: 360px !important; }
  .home-canvas .home-scenario-mosaic h3 { margin-top: 18px; }
  .home-canvas .home-compare { width: calc(100% - 28px); }
  .home-canvas .home-compare span,
  .home-canvas .home-compare strong { padding: 16px 12px; font-size: 13px; }
  .home-canvas .home-compare-head span,
  .home-canvas .home-compare-head strong { font-size: 15px; }
  .home-canvas .home-contact-section { gap: 32px; padding: 72px 14px; }
  .home-canvas .home-lead-form { padding: 20px; }
  .home-canvas .home-trust-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-canvas .home-trust-strip span { padding: 14px; text-align: center; border-bottom: 1px solid rgba(10, 20, 16, 0.2); }
  .home-canvas .home-trust-strip span + span { border-left: 0; }
  .home-canvas .home-trust-strip span:nth-child(even) { border-left: 1px solid rgba(10, 20, 16, 0.2); }
  .home-canvas .home-footer-links { gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-canvas [data-home-reveal] { opacity: 1; transform: none; }
}

/* Final mobile overrides: keep the public story and primary actions usable. */
@media (max-width: 560px) {
  .hero-shell {
    width: min(100% - 24px, 680px);
    padding-top: max(96px, calc(76px + env(safe-area-inset-top)));
    padding-bottom: max(32px, env(safe-area-inset-bottom));
  }

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

  .hero-lede {
    display: block;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.65;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 0;
  }

  .hero-actions .button {
    min-height: 48px;
  }

  .lead-form,
  .auth-dialog {
    min-width: 0;
    max-width: 100%;
  }

  .site-footer {
    padding-bottom: max(26px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: clamp(36px, 12vw, 46px);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 760px) {
  :is(
    button,
    .button,
    .submit-button,
    .copy-button,
    .auth-takeover-button,
    [role="button"]
  ) {
    min-height: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(12, 154, 154, 0.16);
  }

  .auth-close,
  .auth-password-toggle {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
  }

  .auth-password-field input {
    padding-right: 56px;
  }

  .consent,
  .auth-remember {
    min-height: 44px;
    align-items: center;
  }

  .consent input,
  .auth-remember input {
    margin-block: 0;
  }

  .auth-overlay,
  .auth-dialog {
    overscroll-behavior: contain;
  }
}

@media (max-width: 560px) {
  .intro-band,
  .flow-band,
  .scenario-band,
  .pricing-band,
  .difference-band,
  .compliance-band,
  .pain-section,
  .modules-section {
    padding-block: 48px;
  }

  .section-heading,
  .split-heading,
  .difference-heading {
    margin-bottom: 24px;
  }

  .system-card,
  .pain-grid article,
  .agent-card,
  .scenario-grid article,
  .flow-list li,
  .difference-panel,
  .subscription-card,
  .credit-panel,
  .package-grid article {
    padding: 18px;
  }

  .difference-panel-title {
    padding-bottom: 16px;
  }

  .difference-list li {
    padding-block: 16px;
  }
}

/* Public homepage: image-first infinite carousel. */
.home-canvas .home-hero {
  --home-hero-slide-width: clamp(640px, 38vw, 760px);
  position: relative;
  isolation: isolate;
  min-height: 0;
  overflow: hidden;
  padding: calc(var(--site-header-height, 68px) + 34px) clamp(20px, 3vw, 56px) 18px;
  color: #ffffff;
  background: #070b0b;
}

.home-canvas .home-hero-viewport {
  width: min(100%, 1800px);
  margin-inline: auto;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.home-canvas .home-hero-viewport::-webkit-scrollbar { display: none; }

.home-canvas .home-hero-track {
  display: flex;
  gap: 10px;
  width: max-content;
}

.home-canvas .home-hero-slide {
  position: relative;
  display: grid;
  width: var(--home-hero-slide-width);
  height: 500px;
  flex: 0 0 var(--home-hero-slide-width);
  grid-template-rows: minmax(0, 1fr) 130px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: #101616;
  opacity: 0.64;
  scroll-snap-align: start;
  transition: opacity 280ms ease, border-color 280ms ease, transform 280ms ease;
}

.home-canvas .home-hero-slide.is-active {
  border-color: rgba(126, 239, 198, 0.58);
  opacity: 1;
}

.home-canvas .home-hero-visual {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: #0d1414;
}

.home-canvas .home-hero-visual::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 56%, rgba(3, 9, 9, 0.48));
  content: "";
}

.home-canvas .home-hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.035);
  transition: transform 6400ms ease;
}

.home-canvas .home-hero-slide[data-home-hero-index="0"] .home-hero-media { object-position: 54% center; }
.home-canvas .home-hero-slide[data-home-hero-index="6"] .home-hero-media { object-position: 55% center; }
.home-canvas .home-hero-slide.is-active .home-hero-media { transform: scale(1); }

.home-canvas .home-hero-copy {
  position: relative;
  display: grid;
  min-width: 0;
  padding: 14px 18px 15px;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto 1fr;
  column-gap: 18px;
  background: #0b1111;
}

.home-canvas .home-hero-copy .home-kicker {
  margin: 0 0 4px;
  grid-column: 1 / -1;
  color: var(--home-mint);
  font-size: 11px;
  line-height: 1.2;
}

.home-canvas .home-hero h1,
.home-canvas .home-hero h2 {
  max-width: none;
  min-width: 0;
  margin: 0 0 6px;
  overflow: hidden;
  color: #ffffff;
  font-size: clamp(21px, 1.8vw, 25px);
  line-height: 1.12;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-canvas .home-hero-lede {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-canvas .home-hero-card-link {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 8px;
  padding: 9px 0 9px 16px;
  grid-column: 2;
  grid-row: 2 / span 2;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.home-canvas .home-hero-card-link span { color: var(--home-mint); font-size: 18px; transition: transform 180ms ease; }
.home-canvas .home-hero-card-link:hover { color: var(--home-mint); }
.home-canvas .home-hero-card-link:hover span { transform: translateX(3px); }

.home-canvas .home-hero-arrow {
  position: absolute;
  z-index: 4;
  display: grid;
  padding: 0;
  place-items: center;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background: rgba(4, 10, 10, 0.72);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.home-canvas .home-hero-arrow { top: calc(var(--site-header-height, 68px) + 197px); width: 48px; height: 48px; }
.home-canvas .home-hero-arrow:hover { color: #071110; border-color: var(--home-mint); background: var(--home-mint); }
.home-canvas .home-hero-arrow svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.home-canvas .home-hero-arrow-prev { left: 20px; }
.home-canvas .home-hero-arrow-next { right: 20px; }

.home-canvas .home-hero-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 26px;
  margin-top: 13px;
}

.home-canvas .home-hero-switcher button {
  display: grid;
  width: 22px;
  height: 22px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: width 180ms ease;
}

.home-canvas .home-hero-switcher button i {
  position: relative;
  display: block;
  width: 8px;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  transition: width 180ms ease, background 180ms ease;
}

.home-canvas .home-hero-switcher button.is-active { width: 42px; }
.home-canvas .home-hero-switcher button.is-active i { width: 30px; background: rgba(126, 239, 198, 0.25); }
.home-canvas .home-hero-switcher button i::after { position: absolute; inset: 0; border-radius: inherit; background: var(--home-mint); transform: scaleX(0); transform-origin: left; content: ""; }
.home-canvas .home-hero-switcher button.is-active i::after { animation: home-hero-progress 6400ms linear forwards; }

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

@keyframes home-hero-progress { to { transform: scaleX(1); } }

.home-canvas .home-agent-stage article { min-height: 520px; padding: 0; overflow: hidden; }
.home-canvas .home-agent-stage article > img { width: 100%; height: 230px; object-fit: cover; opacity: 0.86; transition: transform 500ms ease, opacity 500ms ease; }
.home-canvas .home-agent-stage article:hover > img { transform: scale(1.035); opacity: 1; }
.home-canvas .home-agent-body { padding: 26px 28px 30px; }
.home-canvas .home-agent-number { margin-bottom: 18px; }
.home-canvas .home-agent-stage .home-agent-body > p:not(.home-agent-role) { min-height: 70px; }

.home-canvas .home-scenario-mosaic article {
  position: relative;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  color: #ffffff;
  background: #111818;
}

.home-canvas .home-scenario-mosaic { grid-template-rows: repeat(2, 260px); }

.home-canvas .home-scenario-mosaic article::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(3, 9, 9, 0.96) 0%, rgba(3, 9, 9, 0.14) 78%);
  content: "";
}

.home-canvas .home-scenario-mosaic article > img { width: 100%; height: 100%; object-fit: cover; opacity: 0.82; transition: transform 500ms ease, opacity 500ms ease; }
.home-canvas .home-scenario-mosaic article:hover > img { transform: scale(1.035); opacity: 1; }
.home-canvas .home-scenario-mosaic article > div { position: absolute; z-index: 2; right: 26px; bottom: 26px; left: 26px; }
.home-canvas .home-scenario-mosaic article h3 { margin: 9px 0 8px; }
.home-canvas .home-scenario-mosaic article p { color: rgba(255, 255, 255, 0.7); }
.home-canvas .home-scenario-feature div { right: 32px; bottom: 32px; left: 32px; }
.home-canvas .home-scenario-note {
  width: min(1320px, calc(100% - 64px));
  margin: 16px auto 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  line-height: 1.6;
}

@media (min-width: 821px) {
  .home-canvas .home-scenario-mosaic > article:nth-child(4) { grid-column: 2 / span 2; }
}

@media (max-width: 1040px) {
  .home-canvas .home-hero {
    --home-hero-slide-width: min(555px, calc(100vw - 54px));
    min-height: 0;
    padding-inline: 18px;
  }
  .home-canvas .home-hero-arrow-prev { left: 14px; }
  .home-canvas .home-hero-arrow-next { right: 14px; }
}

@media (max-width: 820px) {
  .home-canvas .home-hero {
    --home-hero-slide-width: calc(100vw - 54px);
    min-height: 0;
  }
  .home-canvas .home-hero-slide { height: 390px; grid-template-rows: minmax(0, 1fr) 126px; }
  .home-canvas .home-hero-arrow { top: calc(var(--site-header-height, 68px) + 142px); }
  .home-canvas .home-agent-stage article { min-height: 0; }
  .home-canvas .home-scenario-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 360px repeat(2, 300px); }
  .home-canvas .home-scenario-feature { grid-column: 1 / -1; grid-row: auto; }
  .home-canvas .home-scenario-mosaic > article:nth-child(4) { grid-column: 1 / -1; }
  .home-canvas .home-scenario-note { width: min(100% - 36px, 680px); }
}

@media (max-width: 560px) {
  .home-canvas .home-hero {
    --home-hero-slide-width: calc(100vw - 54px);
    min-height: 0;
    padding: calc(var(--site-header-height, 68px) + 10px) 12px 10px;
  }
  .home-canvas .home-hero-track { gap: 10px; }
  .home-canvas .home-hero-slide { height: 345px; grid-template-rows: minmax(0, 1fr) 126px; }
  .home-canvas .home-hero-slide[data-home-hero-index="0"] .home-hero-media { object-position: 62% center; }
  .home-canvas .home-hero-copy { display: block; padding: 12px 15px 13px; }
  .home-canvas .home-hero h1,
  .home-canvas .home-hero h2 { margin-bottom: 6px; font-size: 22px; line-height: 1.14; }
  .home-canvas .home-hero-lede { font-size: 12px; line-height: 1.35; }
  .home-canvas .home-hero-card-link { margin-top: 3px; padding: 4px 0; font-size: 12px; }
  .home-canvas .home-hero-arrow { top: calc(var(--site-header-height, 68px) + 100px); width: 40px; height: 40px; }
  .home-canvas .home-hero-arrow-prev { left: 8px; }
  .home-canvas .home-hero-arrow-next { right: 8px; }
  .home-canvas .home-hero-switcher { gap: 0; margin-top: 8px; }
  .home-canvas .home-hero-switcher button,
  .home-canvas .home-hero-switcher button.is-active { width: 44px; height: 44px; }
  .home-canvas .home-hero-switcher button.is-active i { width: 24px; }
  .home-canvas .home-agent-stage article > img { height: 220px; }
  .home-canvas .home-agent-body { padding: 24px; }
  .home-canvas .home-scenario-mosaic { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 330px; }
  .home-canvas .home-scenario-feature,
  .home-canvas .home-scenario-mosaic > article:nth-child(4) { grid-column: auto; }
  .home-canvas .home-scenario-mosaic article,
  .home-canvas .home-scenario-feature { min-height: 330px !important; }
  .home-canvas .home-scenario-note { width: calc(100% - 28px); }
}

@media (prefers-reduced-motion: reduce) {
  .home-canvas .home-hero-media,
  .home-canvas .home-agent-stage article > img,
  .home-canvas .home-scenario-mosaic article > img { transition: none; }
  .home-canvas .home-hero-switcher button.is-active i::after { transform: scaleX(1); animation: none; }
}
