:root {
  --bg: #f2f6fa;
  --ink: #102235;
  --ink-soft: #55697f;
  --line: #ced8e3;
  --panel: #ffffff;
  --surface: #e9f0f7;
  --deep: #0a2239;
  --deep-2: #113b62;
  --accent: #c7772f;
  --teal: #1b9f92;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 24px 70px rgba(10, 34, 57, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Public Sans", Segoe UI, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 4px;
  background: rgba(16, 34, 53, 0.08);
  z-index: 90;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--deep-2), var(--accent));
  transition: width 0.15s ease-out;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 60;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 8px;
  color: #fff;
  background: #0f3355;
}

.skip-link:focus {
  left: 10px;
}

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

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

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

.bg-orb {
  position: absolute;
  z-index: -2;
}

.mesh-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(120deg, rgba(243, 247, 252, 0.9), rgba(233, 241, 248, 0.76)),
    repeating-linear-gradient(90deg, rgba(16, 34, 53, 0.04) 0, rgba(16, 34, 53, 0.04) 1px, transparent 1px, transparent 48px),
    repeating-linear-gradient(0deg, rgba(16, 34, 53, 0.04) 0, rgba(16, 34, 53, 0.04) 1px, transparent 1px, transparent 48px);
}

.spotlight {
  position: fixed;
  border-radius: 999px;
  z-index: -2;
  filter: blur(14px);
  opacity: 0.36;
}

.spotlight-a {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -140px;
  background: radial-gradient(circle at 40% 40%, #f9d8b8, #d4a172, transparent 70%);
}

.spotlight-b {
  width: 360px;
  height: 360px;
  left: -120px;
  bottom: -100px;
  background: radial-gradient(circle at 40% 40%, #bfe9e4, #6fb9b0, transparent 70%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px clamp(20px, 5vw, 86px);
  border-bottom: 1px solid rgba(16, 34, 53, 0.12);
  background: rgba(244, 248, 252, 0.88);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Outfit, Segoe UI, sans-serif;
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--deep);
  letter-spacing: 0.01em;
}

.brand img {
  border-radius: 10px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid #c7d4e2;
  border-radius: 10px;
  background: #fff;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #173350;
}

.menu-toggle span + span {
  margin-top: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  font-size: 0.9rem;
  color: #33495f;
}

.nav-links a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  font-weight: 600;
}

.nav-group {
  position: relative;
}

.nav-group summary {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  list-style: none;
  font-weight: 600;
  cursor: pointer;
}

.nav-group summary::-webkit-details-marker {
  display: none;
}

.nav-group summary::after {
  content: "▾";
  font-size: 0.72rem;
  opacity: 0.8;
}

.nav-group-label {
  color: #33495f;
}

.nav-group[open] summary,
.nav-group summary:hover,
.nav-group summary:focus-visible {
  border-color: var(--accent);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 40;
  min-width: 220px;
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid #c9d6e4;
  border-radius: 10px;
  background: #fcfeff;
  box-shadow: 0 16px 34px rgba(12, 36, 58, 0.14);
}

.nav-group:not([open]) .nav-dropdown {
  display: none;
}

.nav-dropdown a {
  border: 0;
  border-radius: 8px;
  padding: 8px 10px;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  background: #edf4fb;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  border-color: var(--accent);
}

.header-action,
.primary-action,
.ghost-action,
.plan-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-weight: 800;
}

.header-action {
  padding: 0 18px;
  color: #fff;
  background: linear-gradient(120deg, #102d4a, #194976);
  box-shadow: 0 12px 28px rgba(14, 46, 76, 0.28);
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  min-height: 86svh;
  padding: clamp(66px, 10vw, 118px) clamp(20px, 6vw, 86px);
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-family: Outfit, Segoe UI, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1 {
  margin-bottom: 16px;
  font-family: Outfit, Segoe UI, sans-serif;
  font-size: clamp(2.5rem, 7vw, 4.4rem);
  line-height: 1.02;
  color: #0f2740;
  max-width: 13ch;
}

h2 {
  margin-bottom: 14px;
  font-family: Outfit, Segoe UI, sans-serif;
  font-size: clamp(1.95rem, 5vw, 3.1rem);
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  font-family: Outfit, Segoe UI, sans-serif;
  font-size: 1.12rem;
}

.hero-lede,
.section-heading p,
.capability-grid article p,
.timeline article p,
.plan-tag,
.plan-price-note,
.faq-list p,
.contact-copy p {
  color: var(--ink-soft);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 26px;
}

.hero-points span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--deep);
  background: #edf3f9;
  border: 1px solid #d4deea;
}

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

.primary-action {
  padding: 0 20px;
  color: #fff;
  background: linear-gradient(125deg, #15395d, #296289);
  box-shadow: 0 12px 28px rgba(18, 61, 96, 0.26);
}

.ghost-action {
  padding: 0 20px;
  border: 1px solid #bcc7d6;
  color: #2d3b52;
  background: #fff;
}

.ghost-action.light {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.hero-visual {
  position: relative;
  min-height: 470px;
}

.frame {
  position: absolute;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid #c9d7e7;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 10px;
}

.frame-main {
  inset: 0 40px 40px 0;
}

.frame-sub {
  right: 0;
  bottom: 42px;
  width: min(300px, 56%);
  transform: rotate(1.2deg);
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  border-radius: 12px;
}

.signal-card {
  position: absolute;
  left: 20px;
  bottom: 0;
  min-width: 220px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid #bed0e3;
  color: #113454;
  background: linear-gradient(150deg, #f5fbff, #e6f2ff);
  box-shadow: 0 14px 30px rgba(17, 52, 84, 0.16);
}

.signal-card p,
.signal-card span {
  margin: 0;
  font-size: 0.85rem;
}

.signal-card strong {
  font-family: Outfit, Segoe UI, sans-serif;
  font-size: 1.56rem;
  line-height: 1.1;
}

.kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.kpi-strip article {
  min-height: 120px;
  padding: 24px clamp(16px, 4vw, 34px);
  background: #fff;
}

.kpi-strip strong {
  display: block;
  font-family: Outfit, Segoe UI, sans-serif;
  color: #8a4a1c;
  font-size: 2.1rem;
  line-height: 1;
}

section {
  padding: clamp(64px, 8vw, 104px) clamp(20px, 6vw, 86px);
}

.section-heading {
  max-width: 840px;
}

.capabilities {
  background: linear-gradient(170deg, rgba(247, 252, 255, 0.84), rgba(255, 255, 255, 0.92));
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.capability-grid article {
  min-height: 218px;
  padding: 22px;
  border: 1px solid #d2dce8;
  border-radius: var(--radius);
  background: var(--panel);
}

.readiness {
  background: linear-gradient(165deg, #fffaf4, #ffffff);
}

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

.timeline article {
  min-height: 214px;
  padding: 20px;
  border: 1px solid #e1d8cd;
  border-radius: var(--radius);
  background: #fff;
}

.timeline span {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  font-family: Outfit, Segoe UI, sans-serif;
  color: #8a4a1c;
  background: #ffe1c6;
}

.media-block {
  margin-top: 28px;
  border: 1px solid #d8e2ee;
  border-radius: 20px;
  background: #fff;
  padding: 10px;
  box-shadow: 0 20px 44px rgba(16, 34, 53, 0.1);
}

.media-block video {
  width: 100%;
  border-radius: 12px;
  background: #101d2b;
}

.feature-suite {
  background: linear-gradient(168deg, #f4f9ff, #ffffff);
}

.feature-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 16px;
}

.feature-tab {
  min-height: 40px;
  border: 1px solid #c9d7e7;
  border-radius: 999px;
  padding: 0 14px;
  color: #244460;
  font-weight: 600;
  background: #f7fbff;
  cursor: pointer;
}

.feature-tab.is-active {
  color: #fff;
  border-color: #143f67;
  background: linear-gradient(120deg, #1b4f80, #123a60);
}

.feature-panels {
  margin-top: 8px;
}

.feature-panel {
  padding: 22px;
  border: 1px solid #d0dcea;
  border-radius: var(--radius);
  background: #fff;
}

.feature-panel p {
  color: var(--ink-soft);
}

.feature-panel ul {
  margin: 14px 0 0;
  padding-left: 18px;
}

.feature-panel li {
  margin-bottom: 8px;
  color: #2d435a;
}

.feature-cta {
  margin-top: 14px;
}

.integrations {
  background: linear-gradient(160deg, #fffdf9, #ffffff);
}

.integration-grid,
.use-case-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.integration-grid article,
.use-case-grid article,
.trust-grid article {
  min-height: 200px;
  padding: 20px;
  border: 1px solid #d6e0ea;
  border-radius: var(--radius);
  background: #fff;
}

.integration-grid p,
.use-case-grid p,
.trust-grid li {
  color: #52677d;
}

.trust-grid ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.security-trust {
  background: linear-gradient(170deg, #f5f9fe, #ffffff);
}

.gallery {
  background: linear-gradient(160deg, #f8fbff, #ffffff);
}

.gallery-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  margin-top: 24px;
}

.gallery-track {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #cfdae7;
  background: #0a2239;
  min-height: 340px;
}

.gallery-slide {
  display: none;
  margin: 0;
}

.gallery-slide.is-active {
  display: block;
}

.gallery-slide img {
  width: 100%;
  min-height: 340px;
  object-fit: cover;
  cursor: zoom-in;
}

.gallery-slide figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  margin: 0;
  padding: 8px 10px;
  border-radius: 8px;
  color: #fff;
  font-size: 0.86rem;
  background: rgba(10, 34, 57, 0.72);
}

.gallery-nav {
  width: 42px;
  height: 42px;
  border: 1px solid #c8d6e5;
  border-radius: 999px;
  color: #173551;
  background: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.gallery-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: #c5d3e2;
  cursor: pointer;
}

.gallery-dots button.is-active {
  background: #245784;
}

.alternatives {
  background: #fff;
}

.alternatives-actions {
  margin-top: 22px;
}

.roi {
  background: linear-gradient(132deg, #0d2741, #123e62 60%, #1f5a74);
  color: #fff;
}

.roi .eyebrow {
  color: #f8caa1;
}

.roi .section-heading p {
  color: rgba(255, 255, 255, 0.8);
}

.roi-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 0.75fr);
  gap: 18px;
  align-items: start;
  margin-top: 22px;
}

.roi-form {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.roi-form label {
  display: grid;
  gap: 4px;
  font-size: 0.9rem;
  color: #dbe9f7;
}

.roi-form input {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  padding: 0 12px;
  color: #fff;
  background: rgba(7, 25, 40, 0.45);
}

.roi-output {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.roi-output p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.roi-output strong {
  font-family: Outfit, Segoe UI, sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.pricing {
  background: #fff;
}

.edition-advisor {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(260px, 1fr) minmax(240px, 0.8fr);
  gap: 16px;
  margin-top: 24px;
  margin-bottom: 20px;
  padding: 18px;
  border: 1px solid #d3deea;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #f7fbff, #ffffff);
}

.advisor-copy h3 {
  margin-bottom: 8px;
}

.advisor-copy p {
  color: #55697f;
}

.advisor-form {
  display: grid;
  gap: 8px;
}

.advisor-form label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #26435f;
}

.advisor-form input[type="range"] {
  width: 100%;
  accent-color: #194976;
}

.advisor-value {
  margin: 0 0 4px;
  color: #55708a;
  font-size: 0.86rem;
}

.advisor-check {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.advisor-result {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #c8d8e8;
  background: #fff;
}

.advisor-result p {
  margin: 0;
  color: #55697f;
  font-size: 0.88rem;
}

.advisor-result strong {
  font-family: Outfit, Segoe UI, sans-serif;
  font-size: 1.45rem;
  color: #102a43;
}

.plan-card.advisor-focus {
  border-color: #194976;
  box-shadow: 0 26px 52px rgba(18, 57, 92, 0.24);
  transform: translateY(-8px);
}

.plan-card.advisor-flash {
  animation: advisorPulse 0.65s ease;
}

@keyframes advisorPulse {
  0% {
    box-shadow: 0 0 0 rgba(25, 73, 118, 0);
  }
  45% {
    box-shadow: 0 0 0 9px rgba(25, 73, 118, 0.14);
  }
  100% {
    box-shadow: 0 26px 52px rgba(18, 57, 92, 0.24);
  }
}

.billing-toggle {
  width: max-content;
  display: inline-flex;
  gap: 8px;
  margin: 26px 0 20px;
  padding: 6px;
  border: 1px solid #d1d9e7;
  border-radius: 12px;
  background: #eef3fb;
}

.billing-btn {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  padding: 0 16px;
  font-weight: 600;
  color: #34445d;
  background: transparent;
  cursor: pointer;
}

.billing-btn.is-active {
  color: #fff;
  background: var(--deep);
}

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

.plan-card {
  position: relative;
  min-height: 520px;
  padding: 24px;
  border: 1px solid #d4dbe8;
  border-radius: var(--radius);
  background: #fcfeff;
  box-shadow: 0 16px 42px rgba(12, 49, 79, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.35s ease;
}

.plan-card.popular {
  border-color: #e8b07d;
  background: linear-gradient(180deg, #fff6ee, #fffdf9);
  transform: translateY(-6px);
}

.plan-card.premium {
  border-color: #88c8bf;
  background: linear-gradient(180deg, #f1fffb, #fafffd);
}

.plan-badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  margin: 0 0 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #733310;
  background: #ffe0cd;
}

.plan-name {
  margin: 0 0 4px;
  font-family: Outfit, Segoe UI, sans-serif;
  font-size: 1.66rem;
  font-weight: 700;
}

.plan-price {
  margin: 12px 0 0;
  font-family: Outfit, Segoe UI, sans-serif;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--deep);
}

.plan-card ul {
  margin: 18px 0 24px;
  padding-left: 18px;
  color: #2f3f56;
}

.plan-card li {
  margin-bottom: 8px;
}

.plan-action {
  width: 100%;
  color: #fff;
  background: linear-gradient(120deg, #1d4f7e, #133a60);
}

.compare {
  background: #f3f7fc;
}

.distribution {
  background: #ffffff;
}

.distribution-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.distribution-toolbar {
  display: grid;
  grid-template-columns: auto minmax(240px, 380px) 1fr auto;
  gap: 10px;
  align-items: center;
  margin: 14px 0 0;
}

.matrix-search-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #27425d;
}

.matrix-search {
  min-height: 42px;
  border: 1px solid #c4d4e5;
  border-radius: 10px;
  padding: 0 12px;
  color: #17324f;
  background: #fafdff;
}

.matrix-meta {
  margin: 0;
  font-size: 0.9rem;
  color: #45607b;
}

.distribution-actions .primary-action {
  width: max-content;
}

.distribution-actions .ghost-action {
  width: max-content;
}

.table-wrap {
  margin-top: 30px;
  overflow-x: auto;
  border: 1px solid #d5dce8;
  border-radius: var(--radius);
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  padding: 14px;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
}

th {
  font-family: Outfit, Segoe UI, sans-serif;
  font-size: 0.95rem;
  color: #10243a;
  background: #edf3fa;
}

td:first-child {
  font-weight: 700;
  color: #26364b;
}

.faq {
  background: #fff;
}

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

.faq-list details {
  border: 1px solid #d2dce8;
  border-radius: 12px;
  padding: 14px 16px;
  background: #fbfdff;
}

.faq-list summary {
  cursor: pointer;
  font-family: Outfit, Segoe UI, sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
}

.faq-list p {
  margin-top: 8px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: start;
  color: #fff;
  background: linear-gradient(128deg, #0a2239, #12375a 60%, #1c4d6e);
}

.contact .eyebrow {
  color: #f8caa1;
}

.contact-copy p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.contact-methods a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffd8c2;
}

.contact-form {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-form label {
  display: grid;
  gap: 4px;
  font-size: 0.9rem;
  color: #d5e7f8;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  min-height: 42px;
  padding: 10px 12px;
  color: #fff;
  background: rgba(10, 26, 43, 0.5);
  font-family: inherit;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form ::placeholder {
  color: rgba(222, 237, 249, 0.65);
}

.site-footer {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px clamp(20px, 6vw, 86px);
  color: #4f5f76;
  background: #fff;
  border-top: 1px solid #d5dce8;
}

.site-footer a {
  color: #15385a;
  font-weight: 700;
}

.tour-console {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 75;
  min-width: 260px;
  max-width: min(420px, calc(100% - 32px));
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: rgba(10, 34, 57, 0.94);
  box-shadow: 0 20px 46px rgba(10, 34, 57, 0.34);
}

.tour-label,
.tour-progress {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(227, 239, 250, 0.78);
}

.tour-title {
  margin: 4px 0;
  font-family: Outfit, Segoe UI, sans-serif;
  font-size: 1rem;
  color: #fff;
}

.tour-loop-toggle {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  color: rgba(227, 239, 250, 0.9);
  font-size: 0.82rem;
}

.tour-loop-toggle input {
  accent-color: #c7772f;
}

.tour-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.tour-actions button {
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  padding: 0 12px;
  font-weight: 700;
  color: #eff7ff;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.tour-actions button:hover,
.tour-actions button:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.lightbox {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  z-index: 95;
  background: rgba(5, 14, 24, 0.9);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 76vh;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.lightbox p {
  margin: 12px 0 0;
  color: #dbe8f7;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  color: #fff;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .hero,
  .contact,
  .roi-layout {
    grid-template-columns: 1fr;
  }

  .plan-grid,
  .capability-grid,
  .timeline,
  .integration-grid,
  .use-case-grid,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .edition-advisor {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 390px;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 16px;
    right: 16px;
    z-index: 30;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 10px;
    border: 1px solid #c9d6e4;
    border-radius: 12px;
    background: #fbfdff;
    box-shadow: 0 18px 44px rgba(10, 34, 57, 0.14);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 8px 10px;
    border-radius: 8px;
    border: 0;
  }

  .nav-group {
    width: 100%;
  }

  .nav-group summary {
    width: 100%;
    padding: 8px 10px;
    border: 0;
    border-radius: 8px;
  }

  .nav-dropdown {
    position: static;
    min-width: 0;
    box-shadow: none;
    border: 0;
    padding: 2px 0 0 12px;
    background: transparent;
  }

  .nav-dropdown a {
    padding: 8px 10px;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible {
    background: #ebf2f9;
  }

  .kpi-strip,
  .plan-grid,
  .capability-grid,
  .timeline,
  .integration-grid,
  .use-case-grid,
  .trust-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .header-action {
    width: 100%;
  }

  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .header-action {
    grid-column: 1 / -1;
  }

  .distribution-toolbar {
    grid-template-columns: 1fr;
  }

  .gallery-shell {
    grid-template-columns: 1fr;
  }

  .gallery-nav {
    justify-self: center;
  }

  .tour-console {
    left: 10px;
    right: 10px;
    bottom: 10px;
    max-width: none;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: clamp(2.2rem, 12vw, 3rem);
  }

  h2 {
    font-size: clamp(1.7rem, 10vw, 2.25rem);
  }

  .header-action,
  .primary-action,
  .ghost-action,
  .plan-action {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .distribution-actions .primary-action {
    width: 100%;
  }

  .distribution-actions .ghost-action {
    width: 100%;
  }

  .feature-tab {
    width: 100%;
    justify-content: center;
  }

  .matrix-search {
    width: 100%;
  }

  .frame-sub,
  .signal-card {
    position: static;
    width: 100%;
    transform: none;
    margin-top: 12px;
  }

  .billing-toggle {
    width: 100%;
  }

  .billing-btn {
    flex: 1;
  }

  .gallery-track,
  .gallery-slide img {
    min-height: 220px;
  }

  section {
    padding-inline: 16px;
  }
}

@media print {
  .site-header,
  .hero,
  .kpi-strip,
  .capabilities,
  .readiness,
  .feature-suite,
  .integrations,
  .use-cases,
  .security-trust,
  .roi,
  .pricing,
  .faq,
  .contact,
  .site-footer,
  .distribution-actions,
  .distribution-toolbar,
  .gallery,
  .alternatives,
  .scroll-progress,
  .tour-console,
  .lightbox,
  .mesh-bg,
  .spotlight {
    display: none !important;
  }

  .distribution {
    padding: 0;
    background: #fff;
  }

  .table-wrap {
    border: 0;
    overflow: visible;
  }

  table {
    min-width: 0;
    font-size: 10pt;
  }
}

@media (prefers-reduced-motion: reduce) {
  .plan-card,
  .plan-card.advisor-flash {
    transition: none;
    animation: none;
  }
}
