:root {
  --midnight: #081522;
  --navy: #10283c;
  --navy-soft: #19384f;
  --teal: #20b9ae;
  --teal-dark: #0d756e;
  --aqua: #74e4da;
  --gold: #d8b66c;
  --ink: #152433;
  --muted: #60717e;
  --paper: #ffffff;
  --bg: #eff5f5;
  --line: #d8e4e6;
  --shadow: 0 18px 50px rgba(8, 21, 34, 0.12);
  --shadow-soft: 0 8px 24px rgba(8, 21, 34, 0.06);
  --shadow-lift: 0 22px 48px rgba(8, 21, 34, 0.14);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --max: 1200px;
  --header-h: 72px;
  --section-y: clamp(56px, 8vw, 88px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture { display: block; max-width: 100%; }

a { color: var(--teal-dark); font-weight: 600; }
a:hover { color: var(--teal); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--teal-dark);
  color: #fff;
  text-decoration: none;
  border-radius: 0 0 8px 8px;
}
.skip-link:focus { left: 16px; }

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(216, 228, 230, 0.9);
  box-shadow: 0 10px 32px rgba(8, 21, 34, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 16px;
}

.brand { display: flex; align-items: center; text-decoration: none; }
.brand-logo { height: 46px; width: auto; max-width: none; display: block; object-fit: contain; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  display: block;
  padding: 10px 12px;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 8px;
}
.site-nav a:hover, .site-nav a:focus-visible {
  background: rgba(32, 185, 174, 0.1);
  color: var(--teal-dark);
}

.nav-cta {
  background: var(--teal-dark) !important;
  color: #fff !important;
}
.nav-cta:hover, .nav-cta:focus-visible {
  background: var(--navy-soft) !important;
  color: #fff !important;
}

.nav-quiet {
  border: 1px solid var(--line);
  background: #fff;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.hero-dark {
  position: relative;
  overflow: hidden;
  padding: 88px 0 72px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 8%, rgba(116, 228, 218, 0.18), transparent 34%),
    radial-gradient(circle at 70% 100%, rgba(216, 182, 108, 0.12), transparent 36%),
    linear-gradient(135deg, var(--midnight), var(--navy-soft));
}

.hero-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 21, 34, 0.92) 0%, rgba(8, 21, 34, 0.55) 48%, rgba(8, 21, 34, 0.18) 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--aqua);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-dark h1 {
  margin: 0 0 18px;
  font-size: clamp(2.3rem, 4.8vw, 3.8rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0 0 28px;
  font-size: 1.12rem;
  max-width: 54ch;
}

.hero-dark .lead,
.contact-panel .lead {
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--teal);
  color: var(--midnight);
  box-shadow: 0 10px 24px rgba(32, 185, 174, 0.28);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--aqua);
  color: var(--midnight);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(32, 185, 174, 0.34);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-secondary:hover, .btn-secondary:focus-visible {
  border-color: var(--aqua);
  color: #fff;
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 600;
}

.trust-line span {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(116, 228, 218, 0.22);
  transform: perspective(1200px) rotateY(-8deg) rotateX(2deg);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 675;
  object-fit: contain;
  background: #0a1520;
}

.scrubber-ui-image {
  display: block;
  width: 100%;
  height: auto;
  filter: blur(0.18px);
  transform: translateZ(0);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-visual {
    animation: hero-float 8s ease-in-out infinite;
  }
  @keyframes hero-float {
    0%, 100% { transform: perspective(1200px) rotateY(-8deg) rotateX(2deg) translateY(0); }
    50% { transform: perspective(1200px) rotateY(-8deg) rotateX(2deg) translateY(-8px); }
  }
}

section { padding: var(--section-y) 0; }
section:nth-of-type(even) { background: #fff; }

main > section:first-of-type { padding-top: 0; }

.section-muted {
  background: #f7fafa !important;
}

.section-dark {
  background:
    radial-gradient(circle at 88% 12%, rgba(32, 185, 174, 0.12), transparent 34%),
    linear-gradient(135deg, var(--midnight), var(--navy-soft)) !important;
  color: #fff;
}

.section-dark .section-head h2,
.section-dark .section-head p {
  color: #fff;
}

.section-dark .section-head p {
  color: rgba(255, 255, 255, 0.82);
}

.section-head {
  max-width: 42rem;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.section-head h2 {
  margin: 0 0 14px;
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.65;
  max-width: 62ch;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tension-strip {
  padding: clamp(36px, 5vw, 52px) 0;
  background: var(--midnight);
  color: #fff;
  text-align: center;
  border-block: 1px solid rgba(116, 228, 218, 0.12);
}

.tension-words {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.tension-words strong {
  color: var(--aqua);
  font-weight: 800;
}

.tension-sub {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.preview-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(32, 185, 174, 0.35);
  background: rgba(32, 185, 174, 0.1);
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card-chapter {
  position: relative;
  padding-top: 28px;
}

.chapter-label {
  display: block;
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.contact-note {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(20px, 3vw, 28px);
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--teal), var(--aqua));
  opacity: 0.85;
}

section:nth-of-type(even) .card { background: var(--bg); }

@media (prefers-reduced-motion: no-preference) {
  .card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lift);
    border-color: rgba(32, 185, 174, 0.28);
  }
}

.card h3 {
  margin: 8px 0 10px;
  color: var(--navy-soft);
  font-size: 1.14rem;
  line-height: 1.3;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.detail-visual {
  margin-top: 36px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.detail-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 960 / 540;
  object-fit: cover;
}

.contact-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 5vw, 48px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0%, rgba(116, 228, 218, 0.14), transparent 38%),
    linear-gradient(135deg, var(--midnight), var(--navy-soft));
  color: #fff;
  border: 1px solid rgba(116, 228, 218, 0.16);
  box-shadow: var(--shadow);
}

.contact-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.contact-panel > * { position: relative; z-index: 1; }

.contact-panel h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3.5vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.contact-panel h2, .contact-panel p { color: #fff; }
.contact-panel .lead { color: rgba(255, 255, 255, 0.88); }

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.contact-actions .btn-primary {
  background: var(--teal);
  color: var(--midnight);
}

.contact-panel a:not(.btn) {
  color: var(--aqua);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-panel a:not(.btn):hover,
.contact-panel a:not(.btn):focus-visible {
  color: #fff;
}

.contact-email {
  margin: 18px 0 0;
  font-size: 1.05rem;
}

.section-dark .section-head {
  max-width: 52rem;
}

#security .section-head h2 {
  text-wrap: balance;
  max-width: none;
}

#security .section-head p {
  max-width: none;
  text-wrap: pretty;
}

#security .section-head p + p {
  margin-top: 14px;
}

.section-dark .section-head h2 {
  color: #fff;
}

#about .trust-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

#about .trust-meta span,
#about .trust-meta a {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy-soft);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

#about .trust-meta a:hover,
#about .trust-meta a:focus-visible {
  border-color: rgba(32, 185, 174, 0.4);
  color: var(--teal-dark);
}

#contact {
  padding-bottom: calc(var(--section-y) + 12px);
}

.site-footer {
  padding: clamp(36px, 5vw, 48px) 0 clamp(44px, 6vw, 60px);
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-grid a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: var(--teal-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.footer-grid h3 {
  margin: 0 0 10px;
  font-size: 0.95rem;
}

.footer-grid p, .footer-grid a, .footer-grid li {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li + li { margin-top: 8px; }

.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  background: #fff;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.social-link:hover,
.social-link:focus-visible {
  color: var(--teal-dark);
  border-color: rgba(32, 185, 174, 0.45);
  background: rgba(32, 185, 174, 0.08);
}

.scrubdummy-section {
  padding: var(--section-y) 0;
  background:
    radial-gradient(circle at 88% 0%, rgba(32, 185, 174, 0.06), transparent 28%),
    linear-gradient(180deg, rgba(247, 251, 251, 0.9), var(--bg));
}

.scrubdummy-demo {
  position: relative;
  max-width: 960px;
  margin: 0 auto 22px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  background: var(--paper);
}

.scrubdummy-poster {
  display: none;
}

.scrubdummy-video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}

@media (prefers-reduced-motion: reduce) {
  .scrubdummy-poster {
    display: block;
  }

  .scrubdummy-video {
    display: none;
  }
}

.scrubdummy-notice {
  max-width: 820px;
  margin: 0 auto 22px;
  padding: 16px 18px;
  border-left: 4px solid var(--teal-dark);
  border-radius: 10px;
  background: rgba(24, 166, 156, 0.08);
  color: var(--ink);
}

.scrubdummy-download {
  text-align: center;
}

@media (prefers-reduced-motion: no-preference) {
  .scrubdummy-demo.has-video .scrubdummy-poster {
    display: none;
  }
}

.legal-page { padding: 48px 0 72px; }
.legal-page h1 { margin: 0 0 10px; font-size: clamp(2rem, 4vw, 2.8rem); }
.legal-page .updated { color: var(--muted); margin-bottom: 28px; }
.legal-page h2 { margin-top: 32px; font-size: 1.35rem; }

.access-page { padding: 56px 0 72px; }

/* —— Request demo page —— */
.demo-request-body {
  background:
    radial-gradient(circle at 8% 0%, rgba(32, 185, 174, 0.07), transparent 28%),
    var(--bg);
}

.demo-header .demo-nav a {
  font-size: 0.9rem;
}

.demo-request {
  display: flex;
  flex-direction: column;
}

#demo-form {
  scroll-margin-top: calc(var(--header-h) + 18px);
}

.demo-split-hero {
  padding: clamp(36px, 5vw, 56px) 0 clamp(48px, 6vw, 72px);
  color: #fff;
  background:
    radial-gradient(circle at 88% 8%, rgba(116, 228, 218, 0.16), transparent 32%),
    radial-gradient(circle at 72% 112%, rgba(216, 182, 108, 0.12), transparent 34%),
    linear-gradient(135deg, var(--midnight), var(--navy-soft));
}

.demo-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(24px, 3vw, 36px);
  align-items: start;
}

.demo-split-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(1.95rem, 3.6vw, 2.85rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 18em;
}

.demo-split-lead {
  margin: 0 0 22px;
  max-width: 56ch;
  font-size: 1.06rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.demo-split-points {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.demo-split-points li {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.5;
}

.demo-split-points strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
}

.demo-split-trust {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.55;
}

.demo-split-trust a {
  color: var(--aqua);
}

.demo-form-shell {
  position: relative;
}

.demo-form-shell .demo-form-card {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: 0 28px 64px rgba(8, 21, 34, 0.32);
}

.demo-form-shell .demo-form-card h2 {
  margin: 0 0 8px;
  font-size: clamp(1.2rem, 2.2vw, 1.42rem);
  line-height: 1.25;
  color: var(--navy);
}

.demo-form-shell .demo-form-intro {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.96rem;
}

.demo-form-shell .demo-form-warning {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(32, 185, 174, 0.22);
  background: rgba(32, 185, 174, 0.08);
  color: var(--teal-dark);
  font-size: 0.9rem;
}

/* Scoped to the white form card — prevents dark-hero inherited styles hiding fields */
.demo-form-shell .demo-form-card,
.demo-form-shell .demo-form {
  color: var(--ink);
}

.demo-form-shell .demo-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
}

.demo-form-shell .demo-form .field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: end;
}

.demo-form-shell .demo-form .field {
  display: grid;
  grid-template-rows: auto auto;
  gap: 8px;
  min-width: 0;
}

.demo-form-shell .demo-form .field--invalid {
  grid-template-rows: auto auto auto;
}

.demo-form-shell .demo-form label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--ink);
}

.demo-form-shell .demo-form .field-row .field label {
  min-height: 2.65em;
}

.demo-form-shell .demo-form input[type="text"],
.demo-form-shell .demo-form input[type="email"],
.demo-form-shell .demo-form select,
.demo-form-shell .demo-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  box-sizing: border-box;
}

.demo-form-shell .demo-form input::placeholder,
.demo-form-shell .demo-form textarea::placeholder {
  color: #8a9aa3;
  opacity: 1;
}

.demo-form-shell .demo-form select {
  appearance: none;
  background-color: #fff;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.demo-form-shell .demo-form input:focus-visible,
.demo-form-shell .demo-form select:focus-visible,
.demo-form-shell .demo-form textarea:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  border-color: var(--teal);
}

.demo-form-shell .demo-form textarea {
  resize: vertical;
  min-height: 120px;
}

.demo-form-shell .demo-form .field--invalid input,
.demo-form-shell .demo-form .field--invalid select,
.demo-form-shell .demo-form .field--invalid textarea {
  border-color: #c85a5a;
  background: #fffafa;
}

.demo-form-shell .demo-form .field-error {
  color: #9e2f2f;
  font-size: 0.88rem;
  line-height: 1.4;
  margin: 0;
}

.demo-form-shell .demo-form .demo-submit {
  width: 100%;
  min-height: 48px;
  margin-top: 4px;
}

.demo-form-shell .demo-form-footnote {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  text-align: center;
}

.demo-form-shell .form-error {
  margin: 0 0 16px;
}

.demo-trust-panel {
  position: sticky;
  top: calc(var(--header-h) + 16px);
}

.demo-trust-card {
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfefe 0%, #f4f9f9 100%);
  box-shadow: 0 10px 28px rgba(8, 21, 34, 0.06);
}

.demo-trust-card h2 {
  margin: 0 0 14px;
  font-size: 1.2rem;
  color: var(--navy);
}

.demo-trust-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.demo-trust-card li {
  margin: 0 0 10px;
  line-height: 1.55;
}

.demo-trust-meta {
  margin: 16px 4px 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.demo-success {
  padding: 72px 0 96px;
}

.demo-success-inner {
  width: min(100% - 32px, 720px);
}

.demo-success-card {
  padding: 40px 38px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--midnight), var(--navy-soft));
  box-shadow: var(--shadow);
}

.demo-success-card h1 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1.15;
  color: #fff;
}

.demo-success-card p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 52ch;
}

.demo-request-id {
  margin: 0 0 24px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(116, 224, 216, 0.12);
  color: #fff;
  font-size: 1rem;
  max-width: 52ch;
}

.demo-success-card .btn-primary {
  min-width: 220px;
}

.demo-footer {
  margin-top: auto;
}

/* Legacy demo page styles (private-access unaffected) */
.demo-page {
  padding: 56px 0 80px;
  background:
    radial-gradient(circle at 12% 0%, rgba(32, 185, 174, 0.08), transparent 34%),
    var(--bg);
}

.access-panel {
  max-width: 560px;
  margin: 0 auto;
  padding: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.access-panel .intro {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.demo-panel-dark .demo-intro {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 58ch;
}

.demo-panel-dark {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 44px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--midnight), var(--navy-soft));
  color: #fff;
  box-shadow: var(--shadow);
}

.demo-panel-dark h1 {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.12;
  color: #fff;
}

.demo-panel-dark .eyebrow {
  display: inline-block;
  margin-bottom: 12px;
}

.demo-panel-dark .form-note {
  margin: 0 0 28px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(116, 228, 218, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.demo-panel-dark .small,
.demo-panel-dark .small a {
  color: rgba(255, 255, 255, 0.78);
}

.demo-panel-dark .small a {
  color: var(--aqua);
  font-weight: 700;
}

.demo-panel-dark .demo-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.demo-panel-dark .demo-form .field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.demo-panel-dark .demo-form .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.demo-panel-dark .demo-form label {
  font-weight: 600;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.92);
}

.demo-panel-dark .demo-form input[type="text"],
.demo-panel-dark .demo-form input[type="email"],
.demo-panel-dark .demo-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font: inherit;
}

.demo-panel-dark .demo-form input:focus-visible,
.demo-panel-dark .demo-form textarea:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  border-color: var(--teal);
}

.demo-panel-dark .demo-form textarea {
  resize: vertical;
  min-height: 140px;
}

.demo-panel-dark .demo-form .btn-primary {
  align-self: flex-start;
  min-width: 200px;
  margin-top: 6px;
}

.demo-panel-dark .callout {
  background: rgba(32, 185, 174, 0.12);
  border-left-color: var(--aqua);
  color: #eafffb;
}

.demo-panel-dark .form-error {
  margin-bottom: 4px;
}

.demo-panel {
  max-width: 640px;
  margin: 0 auto;
  padding: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.form-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.access-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.access-form input[type="text"] {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
}

.access-form .btn { width: 100%; }

.form-error {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff0f0;
  color: #9e2f2f;
}

.callout {
  margin: 18px 0;
  padding: 16px 18px;
  border-left: 4px solid var(--teal);
  border-radius: 12px;
  background: rgba(32, 185, 174, 0.1);
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.demo-form-shell .captcha-field {
  margin: 12px 0 16px;
  padding: 14px 16px;
  border: 1px solid rgba(7, 29, 43, 0.14);
  border-radius: 12px;
  background: rgba(32, 185, 174, 0.05);
}

.demo-form-shell .captcha-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: flex-start;
  margin: 8px 0 12px;
}

.demo-form-shell .captcha-image {
  display: block;
  min-width: 240px;
  min-height: 72px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.demo-form-shell .captcha-image--loading {
  background: linear-gradient(90deg, #f4f4f4 0%, #ececec 50%, #f4f4f4 100%);
  background-size: 200% 100%;
  animation: captcha-loading 1.2s ease-in-out infinite;
}

@keyframes captcha-loading {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.demo-form-shell .captcha-controls {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.demo-form-shell .captcha-refresh {
  padding: 10px 14px;
  font-size: 0.92rem;
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.demo-form-shell .captcha-refresh:hover,
.demo-form-shell .captcha-refresh:focus-visible {
  color: var(--midnight);
  border-color: var(--teal);
  background: rgba(32, 185, 174, 0.08);
}

.demo-form-shell .captcha-audio-link {
  font-weight: 600;
  font-size: 0.92rem;
}

.demo-form-shell .captcha-alt {
  margin-top: 8px;
}

.demo-form-shell .field-help {
  margin: 6px 0 0;
  font-size: 0.9rem;
  color: rgba(7, 29, 43, 0.72);
  line-height: 1.45;
}

.demo-form-shell .demo-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.demo-form-shell .sms-verify-field,
.demo-form-shell .sms-code-field {
  margin: 12px 0 16px;
  padding: 14px 16px;
  border: 1px solid rgba(7, 29, 43, 0.14);
  border-radius: 12px;
  background: rgba(32, 185, 174, 0.05);
}

.demo-form-shell .sms-phone-row,
.demo-form-shell .sms-code-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
  margin-top: 8px;
}

.demo-form-shell .sms-phone-row input,
.demo-form-shell .sms-code-row input {
  flex: 1 1 180px;
  min-width: 0;
}

.demo-form-shell .sms-send-btn,
.demo-form-shell .sms-verify-btn {
  flex: 0 0 auto;
  padding: 10px 14px;
  font-size: 0.92rem;
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.demo-form-shell .sms-send-btn:hover,
.demo-form-shell .sms-send-btn:focus-visible,
.demo-form-shell .sms-verify-btn:hover,
.demo-form-shell .sms-verify-btn:focus-visible {
  color: var(--midnight);
  border-color: var(--teal);
  background: rgba(32, 185, 174, 0.08);
}

.demo-form-shell .sms-status {
  margin-top: 8px;
}

.demo-form-shell .sms-status--ok {
  color: var(--teal-dark);
}

.demo-form-shell .sms-status--error {
  color: #b42318;
}

.demo-form-shell .sms-alt {
  margin-top: 8px;
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 48px 0;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.security-note,
.security-compliance {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  max-width: 52rem;
  text-wrap: pretty;
  line-height: 1.65;
}

.security-compliance a {
  color: var(--aqua);
  font-weight: 700;
}

.security-compliance a:hover,
.security-compliance a:focus-visible {
  color: #fff;
}

.security-pillars {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.security-pillar {
  padding: 18px;
  border: 1px solid rgba(116, 228, 218, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
}

.security-pillar h3 {
  margin: 0 0 8px;
  color: var(--aqua);
  font-size: 1rem;
}

.security-pillar p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  line-height: 1.55;
}

.server-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.95fr);
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.server-intro-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(1.85rem, 3.2vw, 2.45rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.server-intro-copy p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 62ch;
}

.server-intro-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}

.text-link {
  color: var(--teal-dark);
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  color: var(--teal);
  text-decoration: underline;
}

.server-visual {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 45, 66, 0.12);
  border-radius: 18px;
  background: var(--midnight);
  box-shadow: var(--shadow);
}

.server-visual a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.server-visual a:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 18px;
}

.server-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.server-visual figcaption {
  padding: 12px 16px 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  line-height: 1.5;
  background: linear-gradient(180deg, rgba(8, 21, 34, 0.2), rgba(8, 21, 34, 0.92));
}

.server-capability-grid {
  margin-bottom: clamp(28px, 4vw, 36px);
}

#scrubber-server,
.architecture-diagram {
  margin: 0 auto clamp(28px, 4vw, 36px);
  padding: clamp(24px, 4vw, 32px);
  border: 1px solid rgba(116, 228, 218, 0.16);
  border-radius: 22px;
  background:
    linear-gradient(rgba(116, 228, 218, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116, 228, 218, 0.05) 1px, transparent 1px),
    radial-gradient(circle at 88% 8%, rgba(32, 185, 174, 0.14), transparent 34%),
    linear-gradient(135deg, var(--midnight), var(--navy-soft));
  background-size: 28px 28px, 28px 28px, auto, auto;
  box-shadow: var(--shadow);
  color: #fff;
}

.architecture-diagram-label {
  margin: 0 0 20px;
  color: var(--aqua);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
}

.architecture-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  position: relative;
}

.architecture-node {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  position: relative;
  padding: 0 0 18px;
}

.architecture-node:last-child {
  padding-bottom: 0;
}

.architecture-node:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 22px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(116, 228, 218, 0.85), rgba(32, 185, 174, 0.25));
}

.architecture-node-marker {
  width: 28px;
  height: 28px;
  margin-top: 2px;
  border-radius: 50%;
  border: 2px solid rgba(116, 228, 218, 0.55);
  background:
    radial-gradient(circle at 50% 50%, rgba(116, 228, 218, 0.35), rgba(8, 21, 34, 0.2));
  box-shadow: 0 0 0 4px rgba(32, 185, 174, 0.12);
}

.architecture-node-accent .architecture-node-marker {
  border-color: var(--aqua);
  background:
    radial-gradient(circle at 50% 50%, rgba(116, 228, 218, 0.75), rgba(32, 185, 174, 0.35));
  box-shadow: 0 0 18px rgba(32, 185, 174, 0.35);
}

.architecture-node-body {
  padding: 14px 18px;
  border: 1px solid rgba(116, 228, 218, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
}

.architecture-node-accent .architecture-node-body {
  border-color: rgba(116, 228, 218, 0.42);
  background: rgba(32, 185, 174, 0.12);
}

.architecture-node-kicker {
  display: block;
  margin-bottom: 4px;
  color: rgba(116, 228, 218, 0.88);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.architecture-node-title {
  display: block;
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.08rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.architecture-services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(116, 228, 218, 0.16);
}

.architecture-services span {
  padding: 8px 14px;
  border: 1px solid rgba(116, 228, 218, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

@media (min-width: 901px) {
  .architecture-flow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
  }

  .architecture-node {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0;
    text-align: center;
  }

  .architecture-node:not(:last-child)::after {
    left: calc(50% + 18px);
    right: calc(-50% + 18px);
    top: 14px;
    bottom: auto;
    width: auto;
    height: 2px;
    background: linear-gradient(90deg, rgba(116, 228, 218, 0.85), rgba(32, 185, 174, 0.25));
  }

  .architecture-node-marker {
    margin: 0 auto;
  }

  .architecture-node-body {
    min-height: 100%;
  }
}

.server-cloud-note {
  max-width: 62ch;
  margin: 0 auto 12px;
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.server-platform-link {
  margin: 0;
  text-align: center;
  font-size: 0.94rem;
}

@media (max-width: 768px) {
  .brand-logo { height: 37px; }
}

@media (max-width: 900px) {
  .hero-grid, .footer-grid, .grid-3, .grid-2, .server-intro-grid, .security-pillars { grid-template-columns: 1fr; }
  .hero-grid { gap: 28px; }
  .hero-visual { transform: none; animation: none !important; order: -1; }
  .hero-grid > div:first-child { order: 1; }
  .demo-split-grid { grid-template-columns: 1fr; }
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 16px 18px;
    display: none;
    box-shadow: 0 16px 32px rgba(8, 21, 34, 0.08);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .site-header { position: sticky; }
  .site-nav .nav-cta { text-align: center; }
}

@media (max-width: 720px) {
  .demo-split-hero { padding-top: 28px; }
  .demo-split-copy { order: 1; }
  .demo-form-shell { order: 2; }
  .demo-form-shell .demo-form .field-row { grid-template-columns: 1fr; align-items: stretch; }
  .demo-split-copy h1 { max-width: none; }
}

@media (max-width: 600px) {
  .hero-dark { padding-bottom: 52px; }
  section { padding: 48px 0; }
  .hero-actions, .contact-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .demo-panel-dark { padding: 28px 22px; }
  .demo-form-shell .demo-form-card { padding: 22px 18px; }
  .demo-success-card { padding: 30px 22px; }
  .contact-panel { padding: 28px 22px; }
  .trust-line { gap: 8px; }
  .trust-line span { width: 100%; text-align: center; }
}
