:root {
  --ink: #111827;
  --muted: #5b6677;
  --paper: #ffffff;
  --wash: #f3f6fa;
  --line: #d8e2ee;
  --navy: #101828;
  --navy-soft: #182338;
  --teal: #008f83;
  --teal-dark: #006f66;
  --blue: #315efb;
  --amber: #b66a00;
  --rose: #c94168;
  --shadow: 0 22px 58px rgba(16, 24, 40, 0.14);
  --page-max: 1440px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--wash);
  color: var(--ink);
}
body.nav-open,
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  width: min(var(--page-max), calc(100% - 48px));
  margin: 14px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 14px;
  border: 1px solid rgba(216, 226, 238, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 42px rgba(16, 24, 40, 0.08);
  backdrop-filter: blur(16px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}
.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #344054;
  font-size: 14px;
  font-weight: 850;
}
.site-nav a {
  padding: 11px 12px;
  border-radius: 8px;
}
.site-nav a:hover,
.site-nav a:focus-visible {
  background: #eef3f8;
  outline: none;
}
.site-nav .nav-cta {
  background: var(--teal);
  color: #fff;
}
.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible { background: var(--teal-dark); }
.site-nav .nav-login {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
}
.site-nav .nav-login:hover,
.site-nav .nav-login:focus-visible {
  border-color: #b7c4d4;
  background: #f8fafc;
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

main,
.site-footer {
  width: min(var(--page-max), calc(100% - 48px));
  margin-inline: auto;
}

.hero-stage {
  position: relative;
  min-height: min(760px, calc(100vh - 34px));
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.72fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding: clamp(48px, 6vw, 84px);
  overflow: hidden;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  isolation: isolate;
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: var(--navy);
}
.hero-backdrop img {
  position: absolute;
  right: -52px;
  bottom: -48px;
  width: min(1180px, 76vw);
  opacity: 0.42;
  filter: saturate(1.05);
}
.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 24, 40, 0.94) 0%, rgba(16, 24, 40, 0.84) 38%, rgba(16, 24, 40, 0.32) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 0;
}
.hero h1,
.page-hero h1,
.section h2,
.cta-panel h2 {
  margin: 0;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.02;
}
.hero h1 {
  max-width: 720px;
  color: #fff;
  font-size: clamp(48px, 5.6vw, 88px);
}
.hero p,
.page-hero p,
.section p,
.legal-page p,
.legal-page li {
  color: var(--muted);
  line-height: 1.68;
}
.hero-content > p {
  max-width: 660px;
  margin: 22px 0 0;
  color: #d9e3ee;
  font-size: clamp(18px, 2vw, 22px);
}
.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}
.hero .eyebrow { color: #9ff3e8; }
.pulse {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: #18c6a7;
  box-shadow: 0 0 0 8px rgba(24, 198, 167, 0.16);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.button-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 14px 30px rgba(0, 143, 131, 0.22);
}
.button-primary:hover,
.button-primary:focus-visible {
  background: var(--teal-dark);
  outline: none;
}
.button-secondary {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.46);
  outline: none;
}
.button-ghost {
  border-color: var(--line);
  background: #fff;
  color: var(--navy);
}
.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: #b7c4d4;
  background: #f8fafc;
  outline: none;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.trust-row span,
.tag,
.status {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
  color: #3e4a5d;
  font-size: 13px;
  font-weight: 850;
}
.hero .trust-row span {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #e8f0f7;
}
.hero-panel {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: min(560px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}
.hero-video-card {
  overflow: hidden;
}
.panel-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  color: #344054;
  font-weight: 900;
}
.hero-video-card p {
  margin: 0;
  padding: 0 18px 18px;
  color: #475467;
  font-weight: 800;
}
.poster-button,
.showcase-poster {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  overflow: hidden;
  background: #0f172a;
  cursor: pointer;
}
.poster-button img,
.showcase-poster img {
  width: 100%;
  transition: transform 220ms ease, opacity 220ms ease;
}
.poster-button:hover img,
.poster-button:focus-visible img,
.showcase-poster:hover img,
.showcase-poster:focus-visible img {
  transform: scale(1.025);
  opacity: 0.9;
}
.poster-button:focus-visible,
.showcase-poster:focus-visible {
  outline: 3px solid rgba(0, 143, 131, 0.34);
  outline-offset: -3px;
}
.poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: var(--teal-dark);
  font-size: 24px;
  font-weight: 950;
  transform: translate(-50%, -50%);
  box-shadow: 0 20px 50px rgba(16, 24, 40, 0.28);
}
.mini-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}
.mini-kpis div { padding: 18px; border-right: 1px solid var(--line); }
.mini-kpis div:last-child { border-right: 0; }
.mini-kpis strong { display: block; font-size: 30px; line-height: 1; }
.mini-kpis span { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; font-weight: 800; }
.activity-list { display: grid; gap: 10px; padding: 16px 18px 18px; }
.activity-list p {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 10px;
  margin: 0;
  color: #475467;
}
.activity-list b { color: var(--ink); }

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 18px 0 0;
}
.metric-strip div,
.feature-grid article,
.plan-card,
.integration-card,
.faq-list details,
.resource-card,
.form-card,
.legal-card,
.workflow-map,
.comparison-card,
.proof-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.metric-strip div { padding: 20px; }
.metric-strip strong {
  display: block;
  font-size: 25px;
  line-height: 1.1;
}
.metric-strip span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 750;
}

.section { padding: 88px 0 0; }
.section-heading { max-width: 780px; }
.section h2,
.page-hero h1,
.cta-panel h2 {
  color: var(--ink);
  font-size: clamp(32px, 4vw, 54px);
}
.section-heading p {
  max-width: 760px;
  font-size: 18px;
}
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: start;
}
.product-story { align-items: center; }
.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--teal-dark);
  font-weight: 900;
}
.feature-grid,
.video-grid,
.proof-grid,
.integration-grid,
.resource-grid,
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 30px;
}
.feature-grid article {
  min-height: 218px;
  padding: 24px;
}
.icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: #eaf8f6;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 950;
}
.feature-grid h3,
.plan-card h3,
.integration-card h3,
.resource-card h3,
.comparison-card h3 {
  margin: 18px 0 0;
  font-size: 21px;
}
.feature-grid p,
.plan-card p,
.integration-card p,
.resource-card p,
.comparison-card p {
  margin: 10px 0 0;
}

.video-card {
  display: grid;
  min-height: 230px;
  align-content: end;
  gap: 10px;
  width: 100%;
  border: 1px solid #cad7e6;
  border-radius: 8px;
  padding: 22px;
  text-align: left;
  color: #fff;
  background: var(--navy);
  cursor: pointer;
  box-shadow: 0 20px 50px rgba(16, 24, 39, 0.12);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.showcase-player {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.45fr);
  gap: 16px;
  margin-top: 30px;
  align-items: stretch;
}
.showcase-poster {
  min-height: 420px;
  border: 1px solid #c7d4e5;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.showcase-poster img {
  height: 100%;
  object-fit: cover;
}
.showcase-poster strong {
  position: absolute;
  left: 22px;
  bottom: 22px;
  max-width: calc(100% - 44px);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(16, 24, 40, 0.82);
  color: #fff;
  font-size: 18px;
}
.showcase-notes {
  display: grid;
  gap: 12px;
}
.showcase-notes div {
  display: grid;
  gap: 12px;
  align-content: center;
  min-height: 132px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: #fff;
}
.showcase-notes b {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: #eaf8f6;
  color: var(--teal-dark);
}
.showcase-notes span {
  color: #334155;
  font-weight: 850;
  line-height: 1.5;
}
.video-card:nth-child(2) { background: #17315f; }
.video-card:nth-child(3) { background: #2f2745; }
.video-card:hover,
.video-card:focus-visible {
  transform: translateY(-2px);
  outline: 3px solid rgba(0, 143, 131, 0.22);
}
.video-card b { font-size: 22px; }
.video-card small {
  color: #dbeafe;
  font-size: 14px;
  line-height: 1.45;
}
.play-mark {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 99px;
  background: #fff;
  color: var(--teal-dark);
  font-weight: 950;
}

.workflow-map {
  display: grid;
  gap: 10px;
  padding: 14px;
}
.workflow-map div {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border-radius: 8px;
  background: #f8fafc;
}
.workflow-map b {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
}
.workflow-map span {
  color: #334155;
  font-weight: 800;
}
.audience-band {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.audience-band a {
  display: grid;
  gap: 10px;
  min-height: 190px;
  padding: 26px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
}
.audience-band a:nth-child(2) { background: #17315f; }
.audience-band span {
  color: #9ee6dc;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
}
.audience-band b {
  font-size: 26px;
  line-height: 1.15;
}
.proof-grid article { padding: 24px; }
.proof-grid b { font-size: 20px; }
.proof-grid p { margin-bottom: 0; }
.trust-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 36px;
  align-items: start;
}
.trust-matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.trust-matrix div {
  min-height: 170px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
}
.trust-matrix b {
  display: block;
  font-size: 19px;
}
.trust-matrix span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.62;
}

.page-hero {
  padding: 74px 0 24px;
  max-width: 890px;
}
.page-hero p {
  max-width: 760px;
  font-size: 19px;
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.tabs a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px 12px;
  font-weight: 850;
}
.billing-toggle {
  display: inline-flex;
  gap: 6px;
  margin-top: 24px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.billing-toggle button {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #3c4758;
  font: inherit;
  font-weight: 900;
  padding: 0 14px;
  cursor: pointer;
}
.billing-toggle button.active {
  background: var(--navy);
  color: #fff;
}
.billing-toggle span {
  color: #ffd166;
  font-size: 12px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px;
}
.plan-card.highlighted {
  border-color: rgba(0, 143, 131, 0.4);
  box-shadow: 0 18px 46px rgba(0, 143, 131, 0.12);
}
.badge {
  position: absolute;
  top: 18px;
  right: 18px;
  border-radius: 8px;
  background: #eaf8f6;
  color: var(--teal-dark);
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 900;
}
.price {
  margin-top: 22px;
  font-size: 36px;
  font-weight: 950;
}
.price small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}
[data-yearly] { display: none; }
body.billing-yearly [data-monthly] { display: none; }
body.billing-yearly [data-yearly] { display: inline; }
.plan-card ul,
.legal-page ul {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}
.plan-card li::before,
.legal-page li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 99px;
  background: var(--teal);
}
.plan-card .button { margin-top: auto; }
.plan-card .button-secondary,
.start-card .button-secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--navy);
}
.limit-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.limit-table th,
.limit-table td {
  padding: 15px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.limit-table th {
  background: #f8fafc;
  color: #334155;
}
.integration-card,
.resource-card,
.comparison-card {
  padding: 24px;
}
.status.ready {
  border-color: #bfe8e2;
  background: #ecf8f6;
  color: var(--teal-dark);
}
.status.waiting {
  border-color: #f3d49a;
  background: #fff7e7;
  color: var(--amber);
}
.status.planned {
  border-color: #cdd7fe;
  background: #eef2ff;
  color: var(--blue);
}
.security-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.legal-card {
  padding: 24px;
  margin-top: 18px;
}
.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.faq-list details { padding: 20px 22px; }
summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
}
.form-card {
  padding: 26px;
  max-width: 860px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
label {
  display: grid;
  gap: 8px;
  color: #374151;
  font-size: 14px;
  font-weight: 850;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfd9e6;
  border-radius: 8px;
  padding: 14px 15px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}
textarea { resize: vertical; }
input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(0, 143, 131, 0.14);
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}
.form-note {
  color: var(--muted);
  font-size: 14px;
}
.success-message {
  display: none;
  margin-top: 16px;
  border: 1px solid #bfe8e2;
  border-radius: 8px;
  background: #ecf8f6;
  color: var(--teal-dark);
  padding: 14px;
  font-weight: 850;
}
.success-message.show { display: block; }
.portal-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.7fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: stretch;
  margin-top: 18px;
  padding: clamp(34px, 6vw, 72px);
  border: 1px solid rgba(216, 226, 238, 0.94);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(16, 24, 40, 0.94), rgba(16, 24, 40, 0.82)),
    url("assets/product-hero.png") right bottom / min(980px, 76vw) auto no-repeat;
  color: #fff;
  overflow: hidden;
}
.portal-copy h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: break-word;
}
.portal-copy { min-width: 0; }
.portal-copy p {
  max-width: 680px;
  color: #dbe7f2;
  font-size: 20px;
  line-height: 1.7;
}
.portal-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.app-url {
  display: inline-flex;
  max-width: 100%;
  margin-top: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #e8f0f7;
  font-weight: 850;
  overflow-wrap: anywhere;
}
.portal-card,
.start-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  box-shadow: 0 22px 58px rgba(16, 24, 40, 0.14);
}
.portal-card {
  align-self: center;
  overflow: hidden;
}
.portal-card-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  color: #344054;
  font-weight: 950;
}
.flow-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.flow-list li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.flow-list b,
.showcase-notes b,
.workflow-map b {
  color: var(--teal-dark);
}
.flow-list span {
  color: #475467;
  font-weight: 850;
  line-height: 1.55;
}
.portal-card .text-link { margin: 18px 20px 22px; }
.portal-grid,
.start-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.portal-grid article,
.start-card {
  padding: 24px;
}
.portal-grid a,
.start-card a:not(.button) {
  color: var(--teal-dark);
  font-weight: 950;
}
.start-card {
  display: flex;
  flex-direction: column;
  min-height: 290px;
}
.start-card.highlighted {
  border-color: rgba(0, 143, 131, 0.42);
  box-shadow: 0 18px 46px rgba(0, 143, 131, 0.12);
}
.start-card h3 {
  margin: 18px 0 0;
  font-size: 24px;
}
.start-card p {
  color: var(--muted);
  line-height: 1.68;
}
.start-card .button { margin-top: auto; }
.account-flow { margin-top: 72px; }
.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 88px 0;
  padding: 34px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
}
.cta-panel h2,
.cta-panel .section-kicker { color: #fff; }
.cta-panel p { color: #cbd5e1; }
.cta-panel .button { flex: 0 0 auto; }
.legal-page {
  max-width: 920px;
  padding: 58px 0 88px;
}
.legal-page h1 { font-size: clamp(34px, 5vw, 56px); }
.legal-page h2 { margin-top: 34px; }
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
}
.site-footer p { color: var(--muted); }
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-weight: 850;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.72);
}
.video-modal.open { display: grid; }
.video-dialog {
  position: relative;
  width: min(880px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: #0f172a;
  color: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}
.video-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}
.tour-screen { padding: 38px; }
.tour-frame {
  display: flex;
  gap: 7px;
  margin-bottom: 24px;
}
.tour-frame span {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: #28d1b6;
}
.tour-screen h3 {
  margin: 0;
  font-size: clamp(30px, 4vw, 50px);
}
.tour-screen p {
  max-width: 680px;
  color: #cbd5e1;
  line-height: 1.7;
}
.tour-product {
  margin: 24px 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #fff;
}
.tour-product img {
  width: 100%;
  animation: demoPan 9s ease-in-out infinite;
  transform-origin: center;
}
@keyframes demoPan {
  0%, 100% { transform: scale(1) translateY(0); }
  50% { transform: scale(1.06) translateY(-10px); }
}

@media (max-width: 1040px) {
  .hero-stage {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: clamp(36px, 6vw, 62px);
  }
  .hero-panel {
    justify-self: stretch;
    width: 100%;
  }
}
@media (max-width: 980px) {
  .split,
  .audience-band,
  .pricing-grid,
  .video-grid,
  .feature-grid,
  .metric-strip,
  .integration-grid,
  .resource-grid,
  .comparison-grid,
    .proof-grid {
    grid-template-columns: 1fr;
  }
  .showcase-player { grid-template-columns: 1fr; }
  .showcase-poster { min-height: 320px; }
  .trust-section { grid-template-columns: 1fr; }
  .portal-hero,
  .portal-grid,
  .start-grid {
    grid-template-columns: 1fr;
  }
  .security-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .site-header {
    top: 10px;
    width: auto;
    margin: 10px 20px 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
  }
  .brand { min-width: 0; }
  .nav-toggle {
    display: block;
    justify-self: end;
  }
  .site-nav {
    position: fixed;
    inset: 72px 10px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-nav a { text-align: center; }
  .site-nav .nav-login,
  .site-nav .nav-cta { justify-content: center; }
  main,
  .site-footer {
    width: auto;
    margin-left: 20px;
    margin-right: 20px;
  }
  .hero-stage {
    margin-top: 10px;
    padding: 34px 18px 18px;
  }
  .hero-content { padding: 42px 22px; }
  .hero h1 { font-size: 42px; }
  .hero-content > p { font-size: 18px; }
  .hero-actions,
  .button { width: 100%; }
  .hero-backdrop img {
    width: 860px;
    right: -320px;
    bottom: -34px;
  }
  .hero-panel { width: 100%; }
  .mini-kpis,
  .trust-matrix,
  .form-grid,
  .security-list {
    grid-template-columns: 1fr;
  }
  .mini-kpis div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .mini-kpis div:last-child { border-bottom: 0; }
  .activity-list p { grid-template-columns: 1fr; gap: 2px; }
  .workflow-map div { grid-template-columns: 1fr; }
  .limit-table {
    display: block;
    overflow-x: auto;
  }
  .cta-panel,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .cta-actions,
  .portal-actions { width: 100%; }
  .cta-actions .button,
  .portal-actions .button { width: 100%; }
  .portal-hero {
    display: block;
    padding: 34px 20px;
  }
  .portal-card { margin-top: 24px; }
  .portal-copy h1 {
    max-width: 12ch;
    font-size: 32px;
  }
  .portal-copy p {
    max-width: 29ch;
    font-size: 17px;
  }
  .portal-card-top {
    align-items: flex-start;
    flex-direction: column;
  }
  .flow-list li { grid-template-columns: 1fr; }
  .showcase-poster { min-height: 240px; }
  .poster-play { width: 58px; height: 58px; font-size: 20px; }
  .tour-screen { padding: 26px; }
}
