/* ==========================================================================
   Session Splitter — static restoration
   ========================================================================== */

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #070a16;
  --navy-2: #00131e;
  --navy-3: #0d1424;
  --light: #f3f4f9;
  --blue: #327cbb;
  --blue-dark: #0170b9;
  --cta: #17d3c2;
  --green: #00c853;
  --white: #ffffff;
  --body: #4b4f58;
  --muted: #6b7280;
  --line: #e5e7eb;
  --container: 1200px;
  --radius: 6px;
  --shadow: 0 12px 32px rgba(7, 10, 22, 0.10);
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  --font-head: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-sub: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
}

body.menu-open { overflow: hidden; }

img,
svg,
iframe { max-width: 100%; }

img { height: auto; }

a { color: #1e73be; text-decoration: none; }
a:hover,
a:focus { color: #125a96; text-decoration: underline; }

[id] { scroll-margin-top: 120px; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.6em;
  line-height: 1.2;
  color: var(--navy);
}

h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  letter-spacing: 0.01em;
}

h2 {
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

h3 {
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 1.25rem;
}

p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.4em; }
strong { color: var(--navy); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  padding: 12px 18px;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible {
  outline: 3px solid #0b4f8a;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(23, 211, 194, 0.55);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border: 0;
  border-radius: 3px;
  background: var(--blue-dark);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.btn:hover,
.btn:focus { color: var(--white); text-decoration: none; transform: translateY(-1px); }
.btn--cta { background: var(--cta); color: #052a2a; border-radius: 2px; }
.btn--cta:hover,
.btn--cta:focus { background: #10c1b2; color: #052a2a; }
.btn--green { background: var(--green); color: #04240f; border-radius: 4px; }
.btn--green:hover,
.btn--green:focus { background: #00b34a; color: #04240f; }
.btn--login { background: var(--blue-dark); padding: 11px 26px; border-radius: 2px; }
.btn--ghost { background: transparent; border: 1px solid rgba(255,255,255,0.45); color: var(--white); }
.btn--ghost:hover,
.btn--ghost:focus { background: rgba(255,255,255,0.1); color: var(--white); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  transition: box-shadow 0.2s ease;
}
.site-header.is-stuck { box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35); }

.topbar {
  background: var(--navy-2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
}
.topbar__inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 30px;
}
.topbar__nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.topbar__nav a,
.dropdown__toggle {
  color: rgba(255, 255, 255, 0.88);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1;
}
.topbar__nav a:hover,
.topbar__nav a:focus,
.dropdown__toggle:hover,
.dropdown__toggle:focus { color: var(--white); text-decoration: none; }
.topbar__nav a[aria-current="page"] { color: var(--cta); }

.dropdown { position: relative; }
.dropdown__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.icon-arrow { width: 10px; height: 7px; transition: transform 0.15s ease; }
.dropdown.is-open .icon-arrow { transform: rotate(180deg); }
.dropdown__menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 1100;
  min-width: 210px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: var(--white);
  border-radius: 4px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.dropdown.is-open .dropdown__menu,
.dropdown:hover .dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown__menu a {
  display: block;
  padding: 10px 18px;
  color: var(--body);
  font-size: 14px;
  white-space: nowrap;
}
.dropdown__menu a:hover,
.dropdown__menu a:focus { background: var(--light); color: var(--blue); text-decoration: none; }

.mainbar { background: var(--navy); }
.mainbar__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 100px;
  transition: min-height 0.2s ease;
}
.site-header.is-stuck .topbar { display: none; }
.site-header.is-stuck .mainbar__inner { min-height: 72px; }

.brand { flex: 0 0 auto; display: flex; align-items: center; }
.brand img { width: 200px; height: auto; display: block; }
.site-header.is-stuck .brand img { width: 164px; }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}
.primary-nav a {
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  padding: 8px 0;
}
.primary-nav a:hover,
.primary-nav a:focus { color: var(--cta); text-decoration: none; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle__bars { position: relative; margin-inline: auto; }
.menu-toggle__bars::before,
.menu-toggle__bars::after { content: ''; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -8px; }
.menu-toggle__bars::after { top: 8px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { top: 0; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 1200;
  width: min(86vw, 360px);
  padding: 68px 24px 48px;
  overflow-y: auto;
  background: var(--navy-2);
  box-shadow: -20px 0 40px rgba(0, 0, 0, 0.4);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}
.mobile-menu__close:hover { color: var(--cta); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a {
  padding: 11px 4px;
  color: var(--white);
  font-size: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-menu a:hover,
.mobile-menu a:focus { color: var(--cta); text-decoration: none; }
.mobile-menu__heading {
  margin: 18px 4px 4px;
  color: var(--cta);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.mobile-menu .btn { margin-top: 20px; border-bottom: 0; text-align: center; }

/* --------------------------------------------------------------------------
   Sections and homepage
   -------------------------------------------------------------------------- */

.section { position: relative; padding: 80px 0; }
.section--dark { background: var(--navy); color: var(--white); }
.section--dark h2,
.section--dark h3 { color: var(--white); }
.section--dark p { color: #d7dee8; }
.section--dark strong { color: var(--white); }
.section--light { background: var(--light); }
.section--white { background: var(--white); }
.section--tight { padding: 56px 0; }
.section--wave { padding-bottom: 150px; }

.wave-divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 92px;
  line-height: 0;
  pointer-events: none;
  z-index: 1;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleY(-1);
}

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

.section-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.section-title--center { text-align: center; }
.section-title--titlecase { text-transform: none; }
.section-lead { max-width: 860px; font-size: 17px; }
.section--center .section-lead { margin-inline: auto; }

.eyebrow {
  margin: 0 0 10px;
  color: var(--cta);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.wave { display: block; width: 100%; height: auto; line-height: 0; }
.wave svg { display: block; width: 100%; height: auto; }

.hero {
  position: relative;
  padding: 56px 0 96px;
  overflow: hidden;
  background-color: var(--navy);
  background-image: url('../img/hero-bg.png');
  background-repeat: no-repeat;
  background-position: right -20px bottom 10px;
  background-size: 540px auto;
  color: var(--white);
  text-align: center;
}
.hero__inner { max-width: 1000px; }
.hero h1 {
  max-width: 1000px;
  margin: 0 auto 26px;
  color: var(--blue);
  text-transform: uppercase;
  font-size: clamp(2.15rem, 5.4vw, 3.85rem);
  line-height: 1.12;
}
.hero__lead {
  max-width: 900px;
  margin: 0 auto 20px;
  color: var(--white);
  font-size: clamp(1rem, 1.9vw, 1.22rem);
  font-weight: 600;
  line-height: 1.6;
}
.hero__accent {
  color: #7ac943;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero__copy {
  max-width: 840px;
  margin: 0 auto 14px;
  color: #e9eef6;
  font-size: 17px;
  line-height: 1.75;
}
.hero__copy:last-of-type { margin-bottom: 0; }

.checklist {
  display: grid;
  gap: 10px;
  max-width: 830px;
  margin: 26px auto 34px;
  padding: 0;
  list-style: none;
  text-align: left;
}
.checklist li {
  position: relative;
  padding-left: 30px;
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
}
.checklist li span {
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  padding-bottom: 2px;
}
.checklist li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: -1px;
  color: #4caf27;
  font-size: 18px;
  font-weight: 700;
}
.btn--lg { padding: 16px 28px; font-size: 16px; }
.hero .btn--lg { display: flex; width: max-content; margin-right: auto; }
.hero.section--wave { padding-bottom: 150px; }

.video-frame {
  position: relative;
  width: min(100%, 960px);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-section {
  position: relative;
  padding: 64px 0 150px;
  background: #000;
  color: var(--white);
}
.video-section .section-title { color: var(--white); }
.video-facade {
  position: relative;
  width: min(100%, 960px);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}
.video-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
}
.video-facade iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-facade__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 84px;
  height: 60px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: rgba(20, 22, 28, 0.82);
  color: var(--white);
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.video-facade__play:hover { background: var(--blue-dark); transform: translate(-50%, -50%) scale(1.04); }
.video-facade__play svg { width: 38px; height: 38px; margin-left: 4px; }
.video-fallback { margin-top: 18px; text-align: center; }

.what-is__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 0.75fr);
  gap: 56px;
  align-items: center;
}
.what-is__art { text-align: center; }
.what-is__art img { width: min(100%, 300px); margin-inline: auto; }

.multi__inner { position: relative; z-index: 2; max-width: 780px; }
.multi__art {
  position: absolute;
  right: 2%;
  bottom: 90px;
  z-index: 0;
  width: min(24vw, 300px);
  opacity: 0.55;
  pointer-events: none;
}
.multi .section-title { text-align: center; }
.multi__copy { text-align: left; }

.interface-art {
  max-width: 1000px;
  margin: 34px auto 0;
}
.interface-art img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 18px 40px rgba(7, 10, 22, 0.12);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: center;
}
.split--reverse { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
.split img { display: block; width: 100%; }
.split__art { text-align: center; }
.split__art img { max-width: 430px; margin-inline: auto; }

.copy-narrow { max-width: 900px; margin-inline: auto; }

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}
.pill-row li { display: flex; }
.pill {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 22px;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  transition: background-color 0.15s ease;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
}
.pill-row li:first-child .pill { clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%); }
.pill-row li:last-child .pill { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 14px 50%); }
.pill:hover,
.pill:focus { background: #16213a; color: var(--white); text-decoration: none; }
.pill--active { background: #7ac943; color: #06331a; }
.pill--active:hover,
.pill--active:focus { background: #6db83a; color: #06331a; }

.feature-section { padding-top: 24px; }
.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 0.7fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}
.feature-col { display: grid; gap: 40px; }
.feature { display: flex; gap: 18px; align-items: flex-start; }
.feature img { width: 64px; height: 64px; flex: 0 0 64px; object-fit: contain; }
.feature h3 { margin-bottom: 6px; font-size: 20px; line-height: 1.25; }
.feature p { margin: 0; color: var(--body); font-size: 14px; line-height: 1.65; }
.feature-art { text-align: center; }
.feature-art img { width: min(100%, 260px); margin-inline: auto; }

.pricing-note {
  margin: -8px 0 4px;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}
.pricing-installs {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 17px;
  font-weight: 700;
  text-align: center;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  justify-content: center;
  gap: 32px;
  margin-top: 38px;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 26px 0 28px;
  background: var(--navy);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(7, 10, 22, 0.2);
  color: var(--white);
  text-align: center;
}
.price-card h3 {
  margin: 0 0 12px;
  color: var(--white);
  font-family: var(--font-sub);
  font-size: 24px;
  font-weight: 600;
}
.price-card__ribbon {
  position: absolute;
  top: 19px;
  left: -46px;
  width: 170px;
  padding: 6px 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: rotate(-45deg);
}
.price-card__price {
  padding: 0 24px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  margin: 0 28px;
}
.price-card__price strong {
  display: inline;
  font-family: var(--font-head);
  font-size: 42px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.price-card__price span { margin-left: 4px; color: #cfd6e4; font-size: 13px; }
.price-card ul {
  flex: 1;
  margin: 16px 28px 0;
  padding: 0;
  list-style: none;
  text-align: left;
}
.price-card li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: #e6ebf3;
  font-size: 14px;
}
.price-card li svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: #4caf27;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.price-card .btn { align-self: center; margin: 22px 28px 0; }

.faq-list { max-width: 1000px; margin: 34px auto 0; }
.faq-item {
  margin-bottom: 4px;
  background: var(--light);
  border: 0;
  border-radius: 0;
}
.faq-item summary {
  position: relative;
  padding: 16px 52px 16px 20px;
  color: #555b66;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '\203A';
  position: absolute;
  right: 22px;
  top: 50%;
  color: #6b7280;
  font-size: 24px;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 0.15s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(90deg); }
.faq-item__answer { padding: 0 52px 20px 20px; color: var(--body); }
.faq-item__answer p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Standard, legal, contact, blog, video
   -------------------------------------------------------------------------- */

.page-hero {
  padding: 58px 0 52px;
  background: var(--navy);
  color: var(--white);
}
.page-hero h1 { margin: 0; color: var(--white); text-transform: uppercase; font-size: clamp(2rem, 4vw, 3rem); }
.page-hero .eyebrow { margin-bottom: 8px; }

.page-body { padding: 56px 0 80px; background: var(--light); }
.page-body__inner {
  max-width: 960px;
  padding: 48px 56px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(7, 10, 22, 0.05);
}

.prose { color: var(--body); }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { margin-top: 1.6em; font-size: 1.7rem; }
.prose h3 { margin-top: 1.4em; font-size: 1.3rem; }
.prose h4 { margin-top: 1.2em; font-size: 1.1rem; }
.prose ul,
.prose ol { padding-left: 1.5em; }
.prose li { margin-bottom: 0.45em; }
.prose img { display: block; height: auto; margin: 24px auto; border: 1px solid var(--line); border-radius: 4px; }
.prose img[src$=".svg"] {
  display: inline-block;
  width: 32px;
  height: 32px;
  margin: 0 8px 0 0;
  border: 0;
  vertical-align: middle;
}
.prose blockquote {
  margin: 24px 0;
  padding: 16px 22px;
  border-left: 4px solid var(--blue);
  background: var(--light);
  color: var(--body);
}
.prose table { width: 100%; margin: 24px 0; border-collapse: collapse; font-size: 15px; }
.prose th,
.prose td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.prose th { background: var(--light); color: var(--navy); }
.prose code { padding: 2px 5px; background: #f0f2f6; border-radius: 3px; font-size: 0.92em; }
.prose pre { padding: 18px; overflow-x: auto; background: var(--navy); color: #e6edf6; border-radius: 4px; }

.contact-wrap { max-width: 780px; margin-inline: auto; }
.contact-form { display: grid; gap: 18px; }
.contact-art { display: block; width: min(100%, 320px); height: auto; margin: 40px auto 0; border: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { color: var(--navy); font-size: 14px; font-weight: 600; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cfd5df;
  border-radius: 3px;
  background: var(--white);
  color: var(--navy);
  font: inherit;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--blue); outline: 3px solid rgba(50, 124, 187, 0.18); }
.field__error { margin: 0; color: #b42318; font-size: 13px; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #b42318; }
.form-note { margin-top: 18px; color: var(--muted); font-size: 14px; }
.form-notice {
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid #bfe8cf;
  border-radius: 4px;
  background: #effaf3;
  color: #145c33;
}
.form-notice a { font-weight: 700; }

.post-list { display: grid; gap: 22px; max-width: 860px; margin-inline: auto; }
.post-card {
  padding: 26px 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(7, 10, 22, 0.05);
}
.post-card h2 { margin-bottom: 6px; font-size: 1.45rem; }
.post-card h2 a { color: var(--navy); }
.post-card h2 a:hover { color: var(--blue); }
.post-meta { margin-bottom: 10px; color: var(--muted); font-size: 13px; }
.post-meta a { font-weight: 600; }
.post-card__link { font-weight: 700; }
.post-page .page-hero h1 { text-transform: none; }

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 36px;
}
.video-group-title { margin: 38px 0 8px; font-size: 1.4rem; }
.video-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.video-card__frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video-card__frame img { width: 100%; height: 100%; object-fit: cover; opacity: 0.88; }
.video-card__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 66px;
  height: 48px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: rgba(20, 22, 28, 0.82);
  color: var(--white);
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.video-card__play:hover { background: var(--blue-dark); transform: translate(-50%, -50%) scale(1.05); }
.video-card__play svg { width: 30px; height: 30px; margin-left: 3px; }
.video-card__body { padding: 16px 20px 18px; }
.video-card__body h3 { margin: 0 0 4px; font-size: 1.05rem; line-height: 1.35; }
.video-card__body h3 a { color: var(--navy); }
.video-card__body h3 a:hover { color: var(--blue); }
.video-card__duration { color: var(--muted); font-size: 13px; }

/* --------------------------------------------------------------------------
   Knowledge base
   -------------------------------------------------------------------------- */

.kb-hero {
  padding: 52px 0 46px;
  background: var(--navy);
  color: var(--white);
  text-align: center;
}
.kb-hero h1 { margin-bottom: 10px; color: var(--white); font-size: clamp(2rem, 4vw, 2.8rem); }
.kb-hero p { margin-bottom: 24px; color: #d7dee8; }
.kb-search { position: relative; max-width: 640px; margin-inline: auto; }
.kb-search input {
  width: 100%;
  padding: 16px 20px;
  border: 0;
  border-radius: 4px;
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-size: 16px;
}
.kb-search__results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 50;
  max-height: 360px;
  overflow-y: auto;
  padding: 8px;
  background: var(--white);
  border-radius: 4px;
  box-shadow: var(--shadow);
  text-align: left;
}
.kb-search__results[hidden] { display: none; }
.kb-search__results a { display: block; padding: 10px 12px; border-radius: 3px; color: var(--navy); }
.kb-search__results a:hover,
.kb-search__results a:focus { background: var(--light); text-decoration: none; }
.kb-search__results strong { display: block; font-family: var(--font-sub); font-size: 14px; }
.kb-search__results span { display: block; color: var(--muted); font-size: 12px; }
.kb-search__count { margin: 0; padding: 8px 12px; color: var(--muted); font-size: 12px; font-weight: 600; }
.kb-search__empty { padding: 12px; color: var(--muted); }

.kb-body { padding: 56px 0 80px; background: var(--light); }
.kb-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; align-items: start; }
.kb-sidebar {
  position: sticky;
  top: 110px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.kb-sidebar h2 { margin-bottom: 12px; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; }
.kb-sidebar ul { margin: 0; padding: 0; list-style: none; }
.kb-sidebar li { border-bottom: 1px solid #eef0f3; }
.kb-sidebar li:last-child { border-bottom: 0; }
.kb-sidebar a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; color: var(--body); font-size: 14px; }
.kb-sidebar a:hover { color: var(--blue); text-decoration: none; }
.kb-sidebar a[aria-current="page"] { color: var(--blue); font-weight: 700; }

.kb-main { min-width: 0; }
.kb-section-title { margin: 42px 0 18px; font-size: 1.55rem; }
.kb-archive-link { margin-top: 22px; font-weight: 600; }
.kb-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.kb-cat-card {
  display: block;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(7, 10, 22, 0.04);
}
.kb-cat-card:hover { border-color: var(--blue); text-decoration: none; }
.kb-cat-card h2 { margin: 0 0 4px; font-size: 1.05rem; }
.kb-cat-card span { color: var(--muted); font-size: 13px; }

.kb-list { display: grid; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.kb-list a {
  display: block;
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--navy);
}
.kb-list a:hover { border-color: var(--blue); text-decoration: none; }
.kb-list strong { display: block; margin-bottom: 3px; font-family: var(--font-sub); font-size: 1rem; }
.kb-list span { color: var(--muted); font-size: 14px; }

.kb-article {
  padding: 40px 44px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(7, 10, 22, 0.05);
}
.kb-article h1 { margin-bottom: 10px; font-size: clamp(1.9rem, 3.4vw, 2.6rem); text-transform: none; }
.kb-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 26px; padding-bottom: 18px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.kb-meta strong { color: var(--body); font-weight: 600; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; color: var(--muted); font-size: 13px; }
.breadcrumbs a { color: var(--blue); }
.breadcrumbs__sep { color: #b9c0cc; }

.pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 32px;
}
.pager__link {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--navy);
}
.pager__link span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.pager__link strong { font-family: var(--font-sub); font-size: 14px; }
.pager__link:hover { border-color: var(--blue); text-decoration: none; }
.pager__link--next { text-align: right; }

.print-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--white);
  color: var(--body);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.print-btn:hover { border-color: var(--blue); color: var(--blue); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer { padding-top: 58px; background: var(--navy); color: #aeb7c6; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 48px;
}
.footer-brand__logo {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer-brand__logo:hover { color: var(--cta); text-decoration: none; }
.footer-brand__logo img { display: block; width: 210px; height: auto; }
.footer-brand p { color: #aeb7c6; font-size: 14px; }
.footer-col h2 {
  margin: 0 0 16px;
  color: var(--blue);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: none;
}
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li { margin-bottom: 8px; font-size: 14px; }
.footer-col a { color: #aeb7c6; }
.footer-col a:hover,
.footer-col a:focus { color: var(--white); }
.footer-bottom { padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.footer-bottom p { margin: 0; color: #8d97a8; font-size: 13px; text-align: center; }
.footer-bottom a { color: #aeb7c6; }

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: var(--blue);
  color: var(--white);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.to-top svg { width: 22px; height: 22px; margin: auto; }
.to-top:hover { background: var(--blue-dark); }
.to-top[hidden] { display: none; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .kb-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-layout { gap: 30px; }
}

@media (max-width: 920px) {
  .primary-nav,
  .mainbar .btn--login { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
  .topbar__inner { justify-content: flex-start; }
  .topbar__nav { gap: 18px; }
  .split,
  .split--reverse { grid-template-columns: 1fr; }
  .what-is__grid { grid-template-columns: 1fr; gap: 30px; }
  .what-is__art img { max-width: 230px; }
  .feature-layout { grid-template-columns: 1fr; gap: 36px; }
  .feature-col { gap: 30px; }
  .feature-art { display: none; }
  .multi__art { display: none; }
  .kb-layout { grid-template-columns: 1fr; }
  .kb-sidebar { position: static; }
  .kb-sidebar ul { columns: 2; column-gap: 22px; }
  .pricing-grid { grid-template-columns: minmax(0, 460px); }
  .hero { background-size: 460px auto; background-position: right -120px bottom 0; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 32px, var(--container)); }
  .topbar { display: none; }
  .mainbar__inner { min-height: 76px; gap: 16px; }
  .brand img { width: 158px; }
  .site-header.is-stuck .brand img { width: 140px; }
  .section { padding: 56px 0; }
  .section--wave { padding-bottom: 118px; }
  .wave-divider { height: 56px; }
  .hero {
    padding: 38px 0 118px;
    background-size: 340px auto;
    background-position: center bottom -30px;
  }
  .hero h1 { font-size: clamp(1.9rem, 8vw, 2.7rem); }
  .hero__copy { font-size: 15px; }
  .hero__lead { font-size: 16px; }
  .checklist li { font-size: 14px; }
  .video-section { padding: 48px 0 118px; }
  .form-row { grid-template-columns: 1fr; }
  .page-body__inner,
  .kb-article { padding: 28px 22px; }
  .video-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .kb-cat-grid { grid-template-columns: 1fr; }
  .kb-sidebar ul { columns: 1; }
  .pager { grid-template-columns: 1fr; }
  .pager__link--next { text-align: left; }
  .pricing-grid { gap: 20px; }
  .faq-item summary { padding: 15px 46px 15px 16px; font-size: 15px; }
  .faq-item__answer { padding: 0 46px 18px 16px; }
}

@media (max-width: 480px) {
  .brand img { width: 142px; }
  .hero__lead { font-size: 15px; }
  .pill-row { gap: 6px; }
  .pill {
    min-height: 42px;
    padding: 8px 14px;
    font-size: 13px;
    clip-path: none !important;
    border-radius: 3px;
  }
  .footer-grid { grid-template-columns: 1fr; }
  .price-card__price strong { font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .to-top,
  .kb-sidebar,
  .breadcrumbs,
  .print-btn,
  .pager,
  .kb-search { display: none !important; }
  .kb-body,
  .page-body { padding: 0; background: #fff; }
  .kb-layout { display: block; }
  .kb-article,
  .page-body__inner { padding: 0; border: 0; box-shadow: none; }
  .kb-hero,
  .page-hero { padding: 0 0 12px; background: #fff !important; color: #000 !important; }
  .kb-hero h1,
  .kb-hero p,
  .kb-hero .eyebrow,
  .page-hero h1,
  .page-hero .eyebrow { color: #000 !important; }
  .kb-hero .eyebrow,
  .page-hero .eyebrow { display: none; }
  .prose,
  .prose * { color: #000 !important; }
  a { color: #000; text-decoration: underline; }
}
