:root {
  --navy-950: #071826;
  --navy-900: #0a2233;
  --navy-800: #103047;
  --navy-700: #17425e;
  --teal-700: #087b75;
  --teal-600: #0a938a;
  --teal-500: #11aaa0;
  --mint-300: #8ce0c7;
  --mint-100: #ddf6ed;
  --blue-100: #e3f1f8;
  --blue-50: #f2f8fb;
  --ink: #102a3a;
  --muted: #557080;
  --line: #d6e2e8;
  --paper: #ffffff;
  --wash: #f5f8f9;
  --warning: #efaa4f;
  --shadow-sm: 0 10px 24px rgba(7, 24, 38, 0.08);
  --shadow-lg: 0 28px 70px rgba(4, 18, 29, 0.2);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --container: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: var(--teal-700);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--navy-800);
}

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

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

:focus-visible {
  outline: 3px solid #57c9c0;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--navy-950);
  border-radius: var(--radius-sm);
  transform: translateY(-160%);
}

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

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

.narrow {
  max-width: 780px;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(214, 226, 232, 0.9);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 30px rgba(7, 24, 38, 0.09);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 178px;
  height: auto;
}

.brand-note {
  display: none;
}

.desktop-nav {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.desktop-nav a {
  padding: 8px 7px;
  color: #294a5d;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--navy-950);
  background: var(--blue-50);
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 10px;
  color: var(--navy-950);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px auto;
  content: "";
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  z-index: 90;
  inset: 77px 0 0;
  overflow-y: auto;
  padding: 22px 20px 40px;
  background: var(--paper);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu a {
  display: block;
  padding: 13px 4px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  text-decoration: none;
}

.mobile-menu .mobile-actions {
  display: grid;
  gap: 10px;
  padding-top: 22px;
}

.mobile-menu .btn {
  color: var(--paper);
}

.mobile-menu .btn-secondary {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  color: var(--paper);
  background: var(--teal-700);
  border: 1px solid var(--teal-700);
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn:hover {
  color: var(--paper);
  background: #056a66;
  border-color: #056a66;
  transform: translateY(-1px);
}

.btn-secondary {
  color: var(--ink);
  background: var(--paper);
  border-color: #b8cbd4;
}

.btn-secondary:hover {
  color: var(--navy-950);
  background: var(--blue-50);
  border-color: #88a7b6;
}

.btn-dark {
  color: var(--paper);
  background: var(--navy-900);
  border-color: var(--navy-900);
}

.btn-quiet {
  min-height: auto;
  padding: 8px 10px;
  color: var(--teal-700);
  background: transparent;
  border-color: transparent;
}

.btn-quiet:hover {
  color: var(--navy-900);
  background: var(--blue-50);
}

.btn-small {
  min-height: 40px;
  padding: 8px 13px;
  font-size: 0.8rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--teal-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 2px;
  content: "";
  background: currentColor;
}

.hero .eyebrow,
.dark-section .eyebrow,
.page-hero .eyebrow {
  color: var(--mint-300);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--navy-950);
  font-weight: 760;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.55rem, 5.4vw, 5.2rem);
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3.45rem);
}

h3 {
  font-size: clamp(1.16rem, 1.7vw, 1.42rem);
}

p {
  margin: 0 0 1rem;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
}

.hero {
  position: relative;
  overflow: hidden;
  color: #dbeaf0;
  background:
    linear-gradient(rgba(17, 170, 160, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 170, 160, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 80% 16%, rgba(17, 170, 160, 0.18), transparent 31%),
    var(--navy-950);
  background-size: 54px 54px, 54px 54px, auto, auto;
}

.hero::after {
  position: absolute;
  right: -170px;
  bottom: -230px;
  width: 520px;
  height: 520px;
  content: "";
  border: 1px solid rgba(140, 224, 199, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 72px rgba(140, 224, 199, 0.025), 0 0 0 144px rgba(140, 224, 199, 0.018);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 660px;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, 0.97fr);
  padding-block: 72px 80px;
}

.hero h1,
.page-hero h1,
.dark-section h2,
.dark-section h3,
.cta-band h2,
.footer-title {
  color: var(--paper);
}

.hero h1 {
  max-width: 780px;
}

.hero .lead {
  max-width: 720px;
  margin-top: 24px;
  color: #bdd0da;
}

.hero-actions,
.cta-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero .btn-secondary,
.dark-section .btn-secondary,
.cta-band .btn-secondary {
  color: var(--paper);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.42);
}

.hero .btn-secondary:hover,
.dark-section .btn-secondary:hover,
.cta-band .btn-secondary:hover {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

.hero-login {
  display: inline-flex;
  margin-top: 22px;
  color: var(--mint-300);
  font-size: 0.9rem;
  font-weight: 700;
}

.dashboard-frame,
.browser-frame {
  overflow: hidden;
  background: #eff5f7;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.dashboard-frame {
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
}

.window-bar {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  color: #517080;
  background: #dfeaed;
  border-bottom: 1px solid #cbdade;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.window-dots i {
  width: 7px;
  height: 7px;
  background: #94aab4;
  border-radius: 50%;
}

.dashboard-shell {
  display: grid;
  min-height: 390px;
  grid-template-columns: 66px 1fr;
}

.dashboard-rail {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px 15px;
  background: var(--navy-900);
}

.dashboard-rail span {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.dashboard-rail span:first-child {
  background: var(--teal-600);
}

.dashboard-main {
  padding: 22px;
}

.dashboard-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
}

.dashboard-heading strong {
  font-size: 0.98rem;
}

.dashboard-heading small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.status-pill {
  padding: 5px 9px;
  color: #11615c;
  background: var(--mint-100);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
}

.dashboard-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 18px;
}

.dash-card {
  min-height: 108px;
  padding: 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #d8e4e8;
  border-radius: 10px;
  box-shadow: 0 7px 18px rgba(16, 48, 71, 0.05);
}

.dash-card small {
  display: block;
  color: var(--muted);
  font-weight: 650;
}

.dash-card strong {
  display: block;
  margin-top: 14px;
  color: var(--navy-900);
  font-size: 0.9rem;
}

.dash-track {
  height: 7px;
  margin-top: 12px;
  overflow: hidden;
  background: #e6eef1;
  border-radius: 99px;
}

.dash-track i {
  display: block;
  width: var(--track, 72%);
  height: 100%;
  background: var(--teal-600);
  border-radius: inherit;
}

.representative-note {
  display: block;
  margin-top: 12px;
  color: #9bb0bb;
  font-size: 0.72rem;
  text-align: right;
}

.proof-strip {
  position: relative;
  z-index: 3;
  margin-top: -1px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

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

.proof-item {
  min-height: 146px;
  padding: 29px 30px;
  border-right: 1px solid var(--line);
}

.proof-item:first-child {
  border-left: 1px solid var(--line);
}

.proof-value {
  display: block;
  color: var(--teal-700);
  font-size: clamp(1.55rem, 2.7vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.proof-label {
  display: block;
  margin-top: 10px;
  color: #496574;
  font-size: 0.9rem;
  line-height: 1.45;
}

.section {
  padding-block: clamp(78px, 9vw, 118px);
}

.section-sm {
  padding-block: 58px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 42px;
}

.section-head > div:first-child {
  max-width: 790px;
}

.section-head .lead,
.section-intro .lead {
  margin-top: 17px;
}

.wash {
  background: var(--wash);
}

.blue-wash {
  background: var(--blue-50);
}

.dark-section {
  color: #c4d5dd;
  background: var(--navy-950);
}

.dark-section .lead {
  color: #afc4ce;
}

.grid-2,
.grid-3,
.grid-4,
.grid-5,
.capability-grid,
.outcome-grid,
.model-grid,
.case-grid,
.audience-grid,
.footer-grid,
.form-grid {
  display: grid;
  gap: 20px;
}

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

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

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

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

.platform-card,
.content-card,
.outcome-card,
.capability-card,
.model-card,
.case-card,
.security-card,
.resource-card,
.audience-card,
.timeline-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(16, 48, 71, 0.045);
}

.platform-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: clamp(28px, 4vw, 46px);
  overflow: hidden;
}

.platform-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  content: "";
  background: var(--teal-600);
}

.platform-card.openimis-card::before {
  background: linear-gradient(90deg, #2275a5, var(--teal-600));
}

.card-kicker {
  margin-bottom: 17px;
  color: var(--teal-700);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.platform-card > p {
  margin-top: 17px;
  color: var(--muted);
}

.check-list,
.plain-list,
.footer-links,
.legal-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

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

.check-list li,
.plain-list li {
  position: relative;
  padding-left: 22px;
  color: #405f6f;
  font-size: 0.92rem;
}

.check-list li::before,
.plain-list li::before {
  position: absolute;
  top: 0.05em;
  left: 0;
  color: var(--teal-700);
  content: "✓";
  font-weight: 900;
}

.platform-card .card-actions {
  margin-top: auto;
  padding-top: 28px;
}

.outcome-card,
.capability-card,
.audience-card {
  min-height: 100%;
  padding: 25px;
}

.outcome-card {
  box-shadow: none;
}

.card-icon,
.step-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  place-items: center;
  color: var(--teal-700);
  background: var(--mint-100);
  border: 1px solid #b9e7d8;
  border-radius: 9px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.outcome-card h3,
.capability-card h3,
.audience-card h3 {
  font-size: 1.08rem;
}

.outcome-card p,
.capability-card p,
.audience-card p {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 0.91rem;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  counter-reset: workflow;
}

.workflow-step {
  position: relative;
  min-width: 0;
  padding: 0 10px;
  text-align: center;
  counter-increment: workflow;
}

.workflow-step:not(:last-child)::after {
  position: absolute;
  z-index: 0;
  top: 22px;
  left: calc(50% + 24px);
  width: calc(100% - 48px);
  height: 1px;
  content: "";
  background: #a8c8d0;
}

.workflow-step .step-icon {
  position: relative;
  z-index: 1;
  margin: 0 auto 14px;
  color: var(--paper);
  background: var(--navy-800);
  border-color: var(--navy-800);
}

.workflow-step h3 {
  font-size: 0.82rem;
  letter-spacing: 0;
}

.workflow-step p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

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

.capability-card {
  padding: 22px;
  box-shadow: none;
}

.capability-card .card-index {
  display: block;
  margin-bottom: 24px;
  color: #8ca2ad;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.feature-band {
  display: grid;
  align-items: center;
  gap: clamp(36px, 7vw, 90px);
  grid-template-columns: 0.95fr 1.05fr;
}

.feature-panel {
  padding: clamp(26px, 4vw, 42px);
  color: #c8dae2;
  background: var(--navy-900);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
}

.feature-panel h3 {
  color: var(--paper);
}

.feature-panel .check-list li {
  color: #d5e3e9;
}

.attribution {
  margin-top: 24px;
  padding: 16px 18px;
  color: #c9dbe3;
  background: rgba(255, 255, 255, 0.055);
  border-left: 3px solid var(--teal-500);
  border-radius: 0 8px 8px 0;
  font-size: 0.88rem;
}

.integration-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.integration-cloud span,
.tag {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  color: #315364;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
}

.protocols {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.protocols .tag {
  color: #d6e7ed;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.case-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 30px;
  overflow: hidden;
}

.case-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  content: "";
  background: var(--teal-600);
}

.case-meta {
  margin-bottom: 18px;
  color: var(--teal-700);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-card p {
  margin: 15px 0 0;
  color: var(--muted);
}

.case-card .proof-note {
  margin-top: auto;
  padding-top: 24px;
  color: #708994;
  font-size: 0.78rem;
}

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

.security-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 12px 15px;
  color: #d7e5ea;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  font-size: 0.88rem;
  font-weight: 650;
}

.security-item::before {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  content: "";
  background: var(--teal-500);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(17, 170, 160, 0.16);
}

.model-card {
  min-height: 100%;
  padding: 28px;
  box-shadow: none;
}

.model-number {
  display: block;
  margin-bottom: 28px;
  color: var(--teal-700);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.model-card p {
  margin: 13px 0 0;
  color: var(--muted);
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(70px, 9vw, 105px);
  color: #c8dce3;
  background: var(--teal-700);
}

.cta-band::after {
  position: absolute;
  top: -150px;
  right: -90px;
  width: 420px;
  height: 420px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.025), 0 0 0 140px rgba(255, 255, 255, 0.018);
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.cta-inner > div:first-child {
  max-width: 760px;
}

.cta-inner p {
  margin: 18px 0 0;
  color: #d5e9e9;
  font-size: 1.08rem;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: 88px 80px;
  color: #c8d9e0;
  background:
    radial-gradient(circle at 85% 0%, rgba(17, 170, 160, 0.17), transparent 32%),
    var(--navy-950);
}

.page-hero-inner {
  display: grid;
  align-items: end;
  gap: 46px;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
}

.page-hero h1 {
  max-width: 950px;
  font-size: clamp(2.5rem, 5vw, 4.75rem);
}

.page-hero .lead {
  margin-top: 24px;
  color: #b6cad3;
}

.hero-aside {
  padding: 24px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
}

.hero-aside strong {
  display: block;
  margin-bottom: 10px;
  color: var(--mint-300);
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-aside p {
  margin: 0;
  color: #d5e3e8;
  font-size: 0.94rem;
}

.breadcrumbs {
  padding-block: 13px;
  background: var(--blue-50);
  border-bottom: 1px solid var(--line);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.8rem;
}

.breadcrumbs li:not(:last-child)::after {
  margin-left: 8px;
  color: #91a6b0;
  content: "/";
}

.breadcrumbs a {
  color: var(--teal-700);
  font-weight: 700;
  text-decoration: none;
}

.content-card,
.security-card,
.resource-card,
.timeline-card {
  min-height: 100%;
  padding: 28px;
}

.content-card p,
.security-card p,
.resource-card p,
.timeline-card p {
  margin: 13px 0 0;
  color: var(--muted);
}

.content-card .plain-list,
.security-card .plain-list {
  display: grid;
  gap: 9px;
}

.timeline {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  counter-reset: timeline;
}

.timeline-card {
  counter-increment: timeline;
}

.timeline-card::before {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
  place-items: center;
  color: var(--paper);
  content: counter(timeline, decimal-leading-zero);
  background: var(--teal-700);
  border-radius: 8px;
  font-size: 0.69rem;
  font-weight: 850;
}

.browser-preview {
  display: grid;
  min-height: 450px;
  grid-template-columns: 168px 1fr;
}

.preview-sidebar {
  padding: 24px 18px;
  color: #d5e5eb;
  background: var(--navy-900);
}

.preview-sidebar strong {
  display: block;
  margin-bottom: 28px;
  color: var(--paper);
  font-size: 0.95rem;
}

.preview-sidebar span {
  display: block;
  margin: 0 -8px 8px;
  padding: 9px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
}

.preview-sidebar span:first-of-type {
  background: rgba(17, 170, 160, 0.22);
}

.preview-content {
  padding: 30px;
}

.preview-title {
  color: var(--ink);
  font-weight: 760;
}

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

.preview-tile {
  min-height: 105px;
  padding: 16px;
  color: var(--muted);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 0.78rem;
}

.preview-table {
  margin-top: 14px;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 9px;
}

.preview-row {
  display: grid;
  gap: 12px;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  padding: 10px 0;
  color: #54707e;
  border-bottom: 1px solid #e5edf0;
  font-size: 0.72rem;
}

.preview-row:last-child {
  border: 0;
}

.notice {
  padding: 18px 20px;
  color: #315463;
  background: var(--mint-100);
  border: 1px solid #bde8da;
  border-radius: var(--radius-sm);
}

.notice strong {
  color: var(--navy-900);
}

.detail-grid {
  display: grid;
  gap: clamp(34px, 6vw, 78px);
  grid-template-columns: 0.8fr 1.2fr;
}

.sticky-label {
  position: sticky;
  top: 112px;
  align-self: start;
}

.sticky-label p {
  margin-top: 18px;
  color: var(--muted);
}

.stack {
  display: grid;
  gap: 18px;
}

.contact-layout {
  display: grid;
  gap: clamp(40px, 7vw, 90px);
  grid-template-columns: 0.72fr 1.28fr;
}

.contact-panel {
  align-self: start;
  padding: 30px;
  color: #c8dce3;
  background: var(--navy-900);
  border-radius: var(--radius-md);
}

.contact-panel h2 {
  color: var(--paper);
  font-size: 1.55rem;
}

.contact-panel p {
  margin-top: 16px;
}

.contact-panel a {
  color: var(--mint-300);
}

.contact-form {
  padding: clamp(24px, 4vw, 40px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

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

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

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

.field label,
.consent label {
  color: #2d4e5f;
  font-size: 0.86rem;
  font-weight: 750;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #afc4ce;
  border-radius: 7px;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal-700);
  outline: 3px solid rgba(10, 147, 138, 0.18);
}

.was-validated :invalid {
  border-color: #a83b42;
}

.required {
  color: #a83b42;
}

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
}

.consent input {
  width: 19px;
  height: 19px;
  margin-top: 3px;
}

.form-note,
.form-status {
  color: var(--muted);
  font-size: 0.82rem;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
}

.honeypot {
  position: absolute !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
}

.legal-content {
  max-width: 840px;
}

.legal-content h2 {
  margin-top: 46px;
  font-size: 1.65rem;
}

.legal-content h3 {
  margin-top: 30px;
  font-size: 1.15rem;
}

.legal-content p,
.legal-content li {
  color: #496776;
}

.legal-content p {
  margin-top: 14px;
}

.legal-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding-left: 20px;
  list-style: disc;
}

.faq-list {
  display: grid;
  gap: 13px;
}

.faq-item {
  padding: 23px 25px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.faq-item h3 {
  font-size: 1.04rem;
}

.faq-item p {
  margin: 10px 0 0;
  color: var(--muted);
}

.site-footer {
  color: #adbec6;
  background: #06131e;
}

.footer-main {
  padding-block: 70px 54px;
}

.footer-grid {
  grid-template-columns: 1.4fr repeat(3, 0.8fr);
}

.footer-brand img {
  width: 190px;
  padding: 9px 12px;
  background: var(--paper);
  border-radius: 7px;
}

.footer-brand p {
  max-width: 340px;
  margin-top: 18px;
  font-size: 0.9rem;
}

.footer-title {
  font-size: 0.87rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}

.footer-links a {
  color: #bdcbd1;
  font-size: 0.87rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--mint-300);
}

.footer-bottom {
  padding-block: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #8fa3ad;
  font-size: 0.78rem;
}

.footer-bottom-inner p {
  margin: 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--teal-700);
  font-weight: 750;
  text-decoration: none;
}

.text-link::after {
  content: "→";
  transition: transform 160ms ease;
}

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

.external-mark {
  font-size: 0.88em;
}

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

@media (max-width: 1280px) {
  .desktop-nav,
  .header-actions {
    display: none;
  }

  .header-inner {
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
  }

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

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

  .workflow-step:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 920px) {
  .hero-inner,
  .page-hero-inner,
  .feature-band,
  .detail-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
  }

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

  .dashboard-frame {
    max-width: 680px;
    transform: none;
  }

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

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

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

  .section-head,
  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .sticky-label {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

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

  .brand img {
    width: 146px;
  }

  .brand-note {
    display: none;
  }

  .hero-inner {
    padding-block: 58px 64px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.65rem);
  }

  .page-hero {
    padding-block: 64px 58px;
  }

  .hero-actions,
  .cta-actions,
  .card-actions {
    display: grid;
  }

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

  .dashboard-shell {
    grid-template-columns: 48px 1fr;
  }

  .dashboard-rail {
    padding: 18px 8px;
  }

  .dashboard-rail span {
    width: 30px;
    height: 30px;
  }

  .dashboard-main {
    padding: 14px;
  }

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

  .dash-card:nth-child(n + 3) {
    display: none;
  }

  .proof-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-5,
  .outcome-grid,
  .model-grid,
  .case-grid,
  .audience-grid,
  .capability-grid,
  .security-grid,
  .timeline,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .proof-item {
    min-height: auto;
    padding: 24px 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-item:first-child {
    border-left: 0;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .workflow {
    position: relative;
    display: grid;
    gap: 0;
    padding-left: 7px;
    grid-template-columns: 1fr;
  }

  .workflow::before {
    position: absolute;
    top: 22px;
    bottom: 22px;
    left: 28px;
    width: 1px;
    content: "";
    background: #b9ccd4;
  }

  .workflow-step {
    display: grid;
    min-height: 92px;
    padding: 0 0 20px;
    text-align: left;
    grid-template-columns: 45px 1fr;
    grid-template-rows: auto auto;
    column-gap: 15px;
  }

  .workflow-step .step-icon {
    grid-row: 1 / 3;
    margin: 0;
  }

  .workflow-step h3 {
    padding-top: 3px;
  }

  .workflow-step p {
    margin-top: 3px;
  }

  .browser-preview {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .preview-sidebar {
    display: none;
  }

  .preview-content {
    padding: 18px;
  }

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

  .preview-tile:nth-child(n + 3) {
    display: none;
  }

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

  .preview-row span:nth-child(2) {
    display: none;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@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;
  }
}
