:root {
  --bg: #0b1220;
  --bg-elev: #121a2b;
  --surface: #f4f7fb;
  --surface-2: #ffffff;
  --ink: #0f172a;
  --ink-soft: #475569;
  --line: #dbe3ef;
  --brand: #1e73be;
  --brand-deep: #0f4c8a;
  --accent: #00c2a8;
  --accent-soft: rgba(0, 194, 168, 0.12);
  --white: #fff;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
  --shadow-deep: 0 22px 55px rgba(11, 18, 32, 0.16);
  --radius: 20px;
  --max: 1180px;
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --display: "Outfit", "DM Sans", system-ui, sans-serif;
  --scroll-progress: 0;

  /* Sentinel Calm — motion tokens (Optima Omni) */
  --sc-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --sc-ease-inout: cubic-bezier(0.45, 0, 0.2, 1);
  --sc-ease-spring: cubic-bezier(0.34, 1.15, 0.64, 1);
  --sc-dur-1: 120ms;
  --sc-dur-2: 180ms;
  --sc-dur-3: 280ms;
  --sc-dur-4: 420ms;
  --sc-dur-5: 600ms;
  --sc-dur-6: 900ms;
  --sc-dist-1: 8px;
  --sc-dist-2: 16px;
  --sc-dist-3: 24px;
  --sc-stagger: 60ms;
  --sc-glow-teal: rgba(0, 194, 168, 0.28);
  --sc-glow-blue: rgba(30, 115, 190, 0.32);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
  font-size: 1.02rem;
  overflow-x: hidden;
}
/* Soft page grain (single layer, B2B-safe) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--brand-deep); }
a:hover { color: var(--brand); }
h1, h2, h3, h4 {
  font-family: var(--display);
  line-height: 1.15;
  margin: 0 0 0.55em;
  color: var(--ink);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--ink-soft); }
ul { margin: 0; padding: 0; list-style: none; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 9999;
  background: var(--brand); color: #fff; padding: 0.7rem 1rem;
  border-radius: 8px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-title { text-align: center; max-width: 42rem; margin: 0 auto 2.25rem; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand); margin-bottom: 0.55rem;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  min-height: 46px; padding: 0.65rem 1.25rem; border-radius: 999px;
  border: 2px solid transparent; font: inherit; font-weight: 700;
  text-decoration: none; cursor: pointer;
  position: relative;
  transition:
    transform var(--sc-dur-2) var(--sc-ease-out),
    box-shadow var(--sc-dur-3) var(--sc-ease-out),
    background var(--sc-dur-2) var(--sc-ease-out),
    border-color var(--sc-dur-2) var(--sc-ease-out),
    color var(--sc-dur-2) var(--sc-ease-out),
    filter var(--sc-dur-2) var(--sc-ease-out);
}
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(30, 115, 190, 0.28), 0 0 0 0 var(--sc-glow-teal);
}
.btn-primary:hover {
  filter: brightness(1.08);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(30, 115, 190, 0.38), 0 0 28px var(--sc-glow-teal);
}
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover {
  border-color: var(--brand); color: var(--brand-deep); background: #eef6fc;
  transform: translateY(-1px);
}
.btn-light { background: var(--white); color: var(--brand-deep); }
.btn-light:hover {
  background: #e8f4ff; color: var(--brand-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(11, 18, 32, 0.15);
}

.topbar { background: var(--bg); color: #c9d5e8; font-size: 0.9rem; }
.topbar .container {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 0.4rem 1rem; padding: 0.55rem 0;
}
.topbar a { color: #e8f0fb; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--accent); }
.topbar-tag { color: var(--accent); font-weight: 700; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244, 247, 251, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    background var(--sc-dur-3) var(--sc-ease-out),
    box-shadow var(--sc-dur-3) var(--sc-ease-out),
    border-color var(--sc-dur-3) var(--sc-ease-out);
}
.site-header.scrolled {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
}
/* Scroll progress bar */
.scroll-progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: transparent;
  pointer-events: none;
  overflow: hidden;
}
.scroll-progress::after {
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(var(--scroll-progress));
  transform-origin: left center;
  transition: transform 80ms linear;
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px;
}
.logo-img { height: 46px; width: auto; }
.nav-desktop { display: none; gap: 0.1rem; align-items: center; flex-wrap: wrap; }
.nav-desktop a {
  text-decoration: none; color: var(--ink-soft); font-weight: 600;
  font-size: 0.9rem; padding: 0.45rem 0.55rem; border-radius: 10px;
}
.nav-desktop a:hover, .nav-desktop a.active { color: var(--brand-deep); background: #e8f2fb; }
.nav-actions { display: flex; align-items: center; gap: 0.45rem; }
.menu-toggle {
  width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface-2); cursor: pointer; display: grid; place-items: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--ink); position: relative;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
@media (min-width: 1040px) {
  .nav-desktop { display: flex; }
  .menu-toggle { display: none; }
}

.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; pointer-events: none; }
.drawer.open { visibility: visible; pointer-events: auto; }
.drawer-backdrop {
  position: absolute; inset: 0; background: rgba(11, 18, 32, 0.55); opacity: 0;
  transition: opacity var(--sc-dur-4) var(--sc-ease-inout);
  backdrop-filter: blur(2px);
}
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; right: 0; width: min(100%, 380px); height: 100%;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.15rem; transform: translateX(100%);
  transition: transform var(--sc-dur-4) var(--sc-ease-inout);
  display: flex; flex-direction: column; gap: 0.75rem;
  overflow-y: auto; box-shadow: -16px 0 40px rgba(0,0,0,0.15);
}
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer-close {
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); font-size: 1.4rem; cursor: pointer;
}
.drawer-group { margin-top: 0.5rem; }
.drawer-group strong {
  display: block; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brand); margin: 0.75rem 0 0.35rem;
}
.drawer nav a, .drawer-group a {
  display: block; text-decoration: none; color: var(--ink); font-weight: 600;
  padding: 0.55rem 0.65rem; border-radius: 10px; min-height: 42px;
}
.drawer nav a:hover, .drawer-group a:hover { background: #e8f2fb; color: var(--brand-deep); }

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 85% 15%, rgba(30, 115, 190, 0.38), transparent 55%),
    radial-gradient(ellipse 50% 45% at 10% 85%, rgba(0, 194, 168, 0.14), transparent 50%),
    linear-gradient(160deg, #0b1220 0%, #15233d 55%, #0f1a2e 100%);
  color: var(--white);
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -1;
  background:
    radial-gradient(circle at 70% 30%, rgba(30, 115, 190, 0.2), transparent 42%),
    radial-gradient(circle at 20% 70%, rgba(0, 194, 168, 0.12), transparent 40%);
  animation: sc-mesh-drift var(--sc-dur-6) var(--sc-ease-inout) infinite alternate;
  pointer-events: none;
}
.page-hero h1 { color: var(--white); position: relative; }
.page-hero h1::after {
  content: "";
  display: block;
  width: 64px; height: 3px; margin-top: 0.75rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--brand));
  transform-origin: left center;
  animation: sc-bar-in var(--sc-dur-5) var(--sc-ease-out) both;
}
.page-hero p { color: #c5d3e8; max-width: 42rem; font-size: 1.08rem; }
.page-hero .hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.25rem; }
.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center;
  font-size: 0.88rem; color: #9eb2cc; margin-bottom: 0.85rem;
}
.breadcrumb a { color: #cfe0f5; text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { opacity: 0.6; }

.grid-2 { display: grid; gap: 1.25rem; }
.grid-3 { display: grid; gap: 1.15rem; }
.grid-4 { display: grid; gap: 1rem; }
@media (min-width: 700px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: var(--shadow);
  height: 100%;
  position: relative;
  overflow: hidden;
  transition:
    transform var(--sc-dur-3) var(--sc-ease-out),
    box-shadow var(--sc-dur-3) var(--sc-ease-out),
    border-color var(--sc-dur-3) var(--sc-ease-out);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 0%),
    rgba(30, 115, 190, 0.1),
    transparent 45%
  );
  opacity: 0;
  transition: opacity var(--sc-dur-3) var(--sc-ease-out);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-deep);
  border-color: rgba(30, 115, 190, 0.28);
}
.card:hover::before { opacity: 1; }
.card-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: #eef5fc; border: 1px solid var(--line);
  display: grid; place-items: center; margin-bottom: 0.9rem; padding: 8px;
}
.card-icon img { width: 100%; height: 100%; object-fit: contain; }
.card h3 { margin-bottom: 0.4rem; }
.card p { font-size: 0.96rem; margin-bottom: 0.75rem; }
.card a { font-weight: 700; text-decoration: none; }
.feature-media {
  border-radius: 16px; overflow: hidden; border: 1px solid var(--line);
  background: #0f172a; margin-bottom: 0.9rem;
}
.feature-media img { width: 100%; height: 180px; object-fit: cover; }

.content-block {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: var(--shadow);
  margin-bottom: 1.25rem;
}
.content-block h2 { margin-top: 0.25rem; }
.content-block ul { list-style: disc; padding-left: 1.25rem; margin: 0 0 1em; }
.content-block li { color: var(--ink-soft); margin-bottom: 0.35rem; }

/* Long-form legal pages (privacy, terms, cookies) */
.legal-meta {
  margin: 0.65rem 0 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.legal-layout {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}
@media (min-width: 960px) {
  .legal-layout {
    grid-template-columns: minmax(200px, 0.85fr) minmax(0, 2.4fr);
  }
}
.legal-toc {
  position: sticky;
  top: 96px;
}
.legal-toc h2 {
  font-size: 1.05rem;
  margin: 0 0 0.75rem;
}
.legal-toc ol {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--ink-soft);
}
.legal-toc li {
  margin-bottom: 0.4rem;
  line-height: 1.35;
}
.legal-toc a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}
.legal-toc a:hover { color: var(--accent); }
.legal-related {
  margin: 1rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.legal-doc h2 {
  margin: 1.6rem 0 0.65rem;
  scroll-margin-top: 100px;
  font-size: 1.2rem;
}
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc h3 {
  margin: 1.1rem 0 0.45rem;
  font-size: 1.02rem;
  color: var(--ink);
}
.legal-doc p {
  color: var(--ink-soft);
  margin: 0 0 0.85em;
  line-height: 1.65;
}
.legal-doc ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0 0 1em;
}
.legal-doc li {
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
  line-height: 1.55;
}
.legal-doc code {
  font-size: 0.88em;
  background: var(--bg);
  padding: 0.1em 0.35em;
  border-radius: 4px;
  border: 1px solid var(--line);
}
.legal-doc a { font-weight: 600; }

.prose-layout {
  display: grid; gap: 1.5rem; align-items: start;
}
@media (min-width: 900px) {
  .prose-layout { grid-template-columns: 1.2fr 0.8fr; }
}
.side-card {
  background: var(--bg);
  color: #d5e1f2;
  border-radius: 18px;
  padding: 1.4rem;
  position: sticky;
  top: 96px;
}
.side-card h3 { color: var(--white); }
.side-card p, .side-card a { color: #c5d3e8; }
.side-card a { font-weight: 700; text-decoration: none; }
.side-card a:hover { color: var(--accent); }
.side-card .btn { width: 100%; margin-top: 0.75rem; }

.pricing-grid { display: grid; gap: 1.15rem; }
@media (min-width: 800px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.price-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.price-card.featured {
  border-color: var(--brand);
  background: linear-gradient(180deg, #eef6fc 0%, #fff 40%);
  transform: scale(1.02);
}
.price-card .plan { color: var(--brand); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.8rem; }
.price-card .amount {
  font-family: var(--display); font-size: 2rem; font-weight: 800; color: var(--ink); margin: 0.4rem 0;
}
.price-card .amount span { font-size: 0.95rem; color: var(--ink-soft); font-weight: 600; }
.price-card ul { margin: 1rem 0 1.25rem; flex: 1; }
.price-card li {
  position: relative; padding-left: 1.2rem; color: var(--ink-soft); margin-bottom: 0.45rem; font-size: 0.95rem;
}
.price-card li::before {
  content: ""; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px;
  border-radius: 50%; background: var(--accent);
}
.price-card-trial {
  display: inline-block;
  margin: 0.25rem 0 0;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #0b5f52;
  background: var(--accent-soft);
  border: 1px solid rgba(0, 194, 168, 0.28);
}
.price-card-more { font-weight: 600; color: var(--ink) !important; }
.price-card-contact {
  display: block;
  margin-top: 0.65rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
}
.price-card-contact:hover { color: var(--brand-deep); text-decoration: underline; }
.pricing-status {
  margin: 0 0 1rem;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink-soft);
}
.pricing-status.is-loading {
  border-color: rgba(30, 115, 190, 0.25);
  background: #eef6fc;
  color: var(--brand-deep);
}
.pricing-status.is-ok {
  border-color: rgba(0, 194, 168, 0.28);
  background: var(--accent-soft);
  color: #0b5f52;
}
.pricing-status.is-error {
  border-color: #f1d5b0;
  background: #fff8ef;
  color: #8a4b08;
}
.pricing-toolbar {
  margin-bottom: 0.85rem;
}
.pricing-toolbar-hint {
  flex: 1 1 12rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-weight: 500;
}

/* Pro pricing calculator (licences / term / interval sliders) */
.price-card-calc .price-card-lead {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0.35rem 0 0.75rem;
}
.price-card-calc .amount {
  font-size: 1.65rem;
  line-height: 1.15;
}
.price-card-calc .amount-decimal {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.price-calc {
  margin: 0.35rem 0 0.85rem;
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  background: rgba(30, 115, 190, 0.06);
  border: 1px solid rgba(30, 115, 190, 0.12);
}
.price-calc-row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "label number"
    "range range";
  gap: 0.35rem 0.65rem;
  align-items: center;
  margin-bottom: 0.75rem;
}
.price-calc-row:last-of-type { margin-bottom: 0.5rem; }
.price-calc-label {
  grid-area: label;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin: 0;
}
.price-calc-value {
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0;
}
.price-calc-number {
  grid-area: number;
  width: 4.25rem;
  padding: 0.35rem 0.4rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  background: #fff;
  color: var(--ink);
}
.price-calc-number:focus {
  outline: 2px solid rgba(30, 115, 190, 0.35);
  outline-offset: 1px;
  border-color: var(--brand);
}
.price-calc-range {
  grid-area: range;
  width: 100%;
  margin: 0.1rem 0 0;
  accent-color: var(--brand);
  cursor: pointer;
}
.price-calc-result {
  margin-top: 0.55rem;
  padding-top: 0.65rem;
  border-top: 1px dashed rgba(30, 115, 190, 0.2);
  font-size: 0.86rem;
  color: var(--ink-soft);
}
.price-calc-line {
  margin-bottom: 0.25rem;
}
.price-calc-line strong,
.price-calc-total-line strong {
  color: var(--ink);
  font-weight: 700;
}
.price-calc-unit {
  color: var(--ink-soft);
  font-weight: 500;
}
.price-calc-discount {
  margin: 0.35rem 0;
  font-weight: 700;
  font-size: 0.88rem;
  color: #0b5f52;
}
.price-calc-total-line {
  margin-top: 0.25rem;
  font-size: 0.88rem;
}
.price-card-calc ul { margin-top: 0.5rem; }
@media (max-width: 799px) {
  .price-card-calc.featured { transform: none; }
}

/* Feature matrix + Custom package interrogation (Pro pricing) */
.pricing-features-block {
  margin-top: 2rem;
}
.pricing-features-lead {
  color: var(--ink-soft);
  font-size: 0.98rem;
  margin: 0.35rem 0 1rem;
  max-width: 52rem;
}
.feature-matrix-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-2);
  box-shadow: var(--shadow);
}
.feature-matrix-placeholder {
  margin: 0;
  padding: 1.25rem 1.35rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.feature-matrix-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 0.92rem;
}
.feature-matrix-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #eef6fc;
  color: var(--brand-deep);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-align: left;
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid rgba(30, 115, 190, 0.18);
  white-space: nowrap;
}
.feature-matrix-table th.fm-col-pkg,
.feature-matrix-table td.fm-col-pkg {
  text-align: center;
  width: 5.5rem;
}
.feature-matrix-table th.fm-col-feature {
  min-width: 14rem;
}
.feature-matrix-table td {
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  vertical-align: middle;
}
.feature-matrix-table tr.fm-group-header td {
  background: #f0f4f8;
  border-top: 2px solid #d7e2ef;
  border-bottom: 2px solid #d7e2ef;
  font-weight: 800;
  color: var(--ink);
}
.feature-matrix-table tr.fm-feature-row:hover td {
  background: rgba(30, 115, 190, 0.04);
}
.fm-feature-name {
  padding-left: 1.35rem !important;
}
.fm-group-name {
  padding-left: 0.9rem !important;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}
.fm-feature-label {
  display: inline;
  margin-right: 0.45rem;
}
.fm-read-more {
  display: inline-block;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--brand);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.fm-read-more:hover {
  color: var(--brand-deep);
}
.fm-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}
.fm-icon-yes {
  color: #0b5f52;
  background: rgba(0, 194, 168, 0.16);
}
.fm-icon-no {
  color: #64748b;
  background: rgba(100, 116, 139, 0.12);
}
.fm-custom-cell {
  vertical-align: middle;
}
.fm-custom-cb {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--brand);
  cursor: pointer;
  vertical-align: middle;
}
.fm-custom-cb:disabled {
  cursor: not-allowed;
  opacity: 0.85;
}
.fm-group-cb {
  transform: scale(1.05);
}

/* Floating custom package quote bar */
.custom-float-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 850;
  padding: 0.75rem 0 calc(0.75rem + env(safe-area-inset-bottom, 0));
  background: linear-gradient(180deg, rgba(9, 45, 116, 0.96) 0%, #092d74 100%);
  color: #f8fafc;
  box-shadow: 0 -8px 28px rgba(9, 45, 116, 0.28);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.custom-float-bar[hidden] {
  display: none !important;
}
body.custom-float-visible {
  padding-bottom: 9.5rem;
}
.custom-float-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.85rem 1.15rem;
  justify-content: space-between;
}
.custom-float-title {
  flex: 0 0 auto;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  align-self: center;
  color: #fff;
}
.custom-float-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
  flex: 1 1 18rem;
  align-items: flex-end;
}
.custom-float-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.82);
  margin: 0;
}
.custom-float-field input,
.custom-float-field select {
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  padding: 0.4rem 0.5rem;
  min-width: 4.5rem;
}
.custom-float-field input {
  width: 4.75rem;
  text-align: center;
}
.custom-float-field select {
  min-width: 7.5rem;
}
.custom-float-field input:focus,
.custom-float-field select:focus {
  outline: 2px solid rgba(0, 194, 168, 0.55);
  outline-offset: 1px;
}
.custom-float-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.9rem;
  margin-left: auto;
}
.custom-float-discount {
  font-weight: 700;
  font-size: 0.92rem;
  color: #7dffe8;
}
.custom-float-total {
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
}
.custom-float-signup {
  white-space: nowrap;
}
.custom-float-signup.btn-primary {
  background: #fff;
  color: #092d74;
  border-color: #fff;
}
.custom-float-signup.btn-primary:hover {
  background: var(--accent-soft);
  color: #0b5f52;
  border-color: var(--accent-soft);
}

/* Feature detail modal */
.feature-detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.feature-detail-overlay[hidden] {
  display: none !important;
}
.feature-detail-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(3px);
}
.feature-detail-dialog {
  position: relative;
  z-index: 1;
  width: min(32rem, 100%);
  max-height: min(80vh, 36rem);
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.28);
  padding: 1.5rem 1.5rem 1.35rem;
  outline: none;
}
.feature-detail-close {
  position: absolute;
  top: 0.55rem;
  right: 0.7rem;
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  padding: 0.2rem 0.45rem;
  border-radius: 8px;
}
.feature-detail-close:hover {
  color: var(--ink);
  background: rgba(15, 23, 42, 0.06);
}
.feature-detail-dialog h3 {
  margin: 0 1.75rem 0.35rem 0;
  font-family: var(--display);
  font-size: 1.25rem;
  color: var(--ink);
}
.feature-detail-code {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand);
}
.feature-detail-body {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
  white-space: pre-wrap;
}
body.feature-detail-open {
  overflow: hidden;
}

@media (max-width: 799px) {
  body.custom-float-visible {
    padding-bottom: 14rem;
  }
  .custom-float-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .custom-float-summary {
    margin-left: 0;
    justify-content: space-between;
  }
  .custom-float-signup {
    flex: 1 1 auto;
    text-align: center;
  }
  .feature-matrix-table th.fm-col-pkg,
  .feature-matrix-table td.fm-col-pkg {
    width: 3.75rem;
    padding-left: 0.4rem;
    padding-right: 0.4rem;
  }
}

/* Public / bidding job boards */
.jobs-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
}
.jobs-toolbar-label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.jobs-select {
  appearance: none;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23475569' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 0.85rem center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.55rem 2.2rem 0.55rem 0.9rem;
  min-width: 12rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.jobs-select:focus {
  outline: 2px solid rgba(30, 115, 190, 0.35);
  outline-offset: 2px;
}
.jobs-list {
  display: grid;
  gap: 1rem;
}
@media (min-width: 760px) {
  .jobs-list { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .jobs-list { grid-template-columns: repeat(3, 1fr); }
}
.job-list-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition:
    transform var(--sc-dur-3) var(--sc-ease-out),
    box-shadow var(--sc-dur-3) var(--sc-ease-out);
}
.job-list-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-deep);
}
.job-list-card h3 {
  margin: 0.15rem 0 0;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.job-list-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}
.job-list-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand);
  background: #eef6fc;
  border: 1px solid rgba(30, 115, 190, 0.2);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}
.job-list-meta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.job-list-org {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.job-list-facts {
  list-style: none;
  margin: 0.5rem 0 0.75rem;
  padding: 0;
  flex: 1;
}
.job-list-facts li {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 0.3rem;
}
.job-list-facts strong {
  color: var(--ink);
  font-weight: 700;
  margin-right: 0.25rem;
}
.job-list-facts span {
  color: #94a3b8;
  font-size: 0.85rem;
}
.job-list-actions {
  margin-top: auto;
}
.job-list-actions .btn { width: 100%; }
.jobs-empty {
  text-align: center;
  padding: 1.75rem 1.25rem;
  border: 1px dashed var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.6);
  margin-top: 0.5rem;
}
.jobs-empty p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}
.job-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.job-chip {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
}
.job-chip.is-muted {
  color: var(--ink-soft);
  font-weight: 500;
}
.section-alt {
  background: linear-gradient(180deg, #eef2f7 0%, var(--surface) 100%);
}
@media (prefers-reduced-motion: reduce) {
  .job-list-card:hover { transform: none; }
}

.audience-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .audience-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .audience-grid { grid-template-columns: repeat(4, 1fr); } }
.audience-card {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow); text-align: center;
}
.audience-card img { width: 100%; height: 160px; object-fit: cover; }
.audience-card h3 { padding: 0.9rem 0.75rem 1.1rem; font-size: 1rem; margin: 0; }

.office-grid { display: grid; gap: 0.9rem; }
@media (min-width: 700px) { .office-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .office-grid { grid-template-columns: repeat(3, 1fr); } }
.office {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 16px; padding: 1.15rem;
}
.office h3 {
  font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--brand); margin-bottom: 0.4rem;
}
.office p { margin: 0; font-size: 0.95rem; }

.badge-row {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 0.85rem 1rem;
}
/* Light cards so dark/black logos stay visible on navy section */
.badge-row img,
.badge-item {
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: none;
  height: 72px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 12px;
  padding: 0.55rem 0.85rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.badge-row img {
  /* override when img is direct child */
  height: 72px;
  width: auto;
  max-width: 168px;
}
/* Wide ACS / dual logos need more room */
.badge-row img.badge-wide {
  max-width: 220px;
  height: 64px;
  padding: 0.45rem 0.75rem;
}
.badge-row img.badge-tall {
  height: 80px;
  max-width: 100px;
  padding: 0.4rem;
}
.accreditations {
  background: var(--bg-elev);
  padding: 2.5rem 0 2.75rem;
  position: relative;
}
.accreditations h2 {
  text-align: center;
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.site-footer { background: var(--bg); color: #a9bbd4; padding: 3rem 0 1.5rem; }
.footer-grid { display: grid; gap: 1.75rem; margin-bottom: 1.75rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.site-footer h3 {
  color: var(--white); font-size: 0.88rem; text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 0.85rem; font-family: var(--font);
}
.site-footer a { color: #a9bbd4; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-links { display: grid; gap: 0.45rem; }
.footer-brand p { color: #8da2bf; max-width: 18rem; }
/* Keep brand colours — do not invert (was pure white silhouette) */
.footer-brand .logo-img {
  height: 48px;
  width: auto;
  margin-bottom: 0.85rem;
  filter: none;
}
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #e8f0fb !important;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  transition:
    background var(--sc-dur-2) var(--sc-ease-out),
    border-color var(--sc-dur-2) var(--sc-ease-out),
    color var(--sc-dur-2) var(--sc-ease-out);
}
.footer-social a:hover {
  background: rgba(0, 194, 168, 0.15);
  border-color: rgba(0, 194, 168, 0.45);
  color: var(--accent) !important;
}
.footer-social a .social-x {
  font-weight: 800;
  letter-spacing: -0.02em;
}
/* Recent @NovusGuard posts (static snapshot — always visible without X widgets)
   Must sit outside .footer-grid so the 4-card row uses full container width. */
.footer-tweets-bar {
  margin-top: 0.25rem;
  margin-bottom: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  /* Safety: if ever nested in .footer-grid, still span full width */
  grid-column: 1 / -1;
  min-width: 0;
  width: 100%;
}
.footer-tweets {
  min-width: 0;
  width: 100%;
}
.footer-tweets-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  margin-bottom: 1.1rem;
}
.footer-tweets-head h3 {
  margin: 0;
}
.footer-tweets-follow {
  color: var(--accent) !important;
  font-weight: 700;
  font-size: 0.92rem;
}
.footer-tweets-follow:hover {
  color: #fff !important;
}
.tweet-feed {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  align-items: stretch;
}
@media (min-width: 640px) {
  .tweet-feed {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
  }
}
/* Prefer 2×2 until there’s real room for four readable cards */
@media (min-width: 1100px) {
  .tweet-feed {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.15rem;
  }
}
.tweet-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.05rem 1.1rem 1.1rem;
  min-width: 0;
  min-height: 100%;
  transition:
    border-color var(--sc-dur-2) var(--sc-ease-out),
    background var(--sc-dur-2) var(--sc-ease-out),
    transform var(--sc-dur-2) var(--sc-ease-out);
}
.tweet-card:hover {
  border-color: rgba(0, 194, 168, 0.35);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}
.tweet-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem 0.75rem;
  font-size: 0.8rem;
  color: #8da2bf;
  line-height: 1.3;
}
.tweet-card-meta time {
  flex-shrink: 0;
  white-space: nowrap;
}
.tweet-card-handle {
  color: var(--accent);
  font-weight: 700;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* Post media (photo or video poster) — landscape keeps cards shorter & less cramped */
.tweet-card-media {
  position: relative;
  display: block;
  margin: 0.05rem 0 0.15rem;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  aspect-ratio: 16 / 10;
  text-decoration: none !important;
}
.tweet-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--sc-dur-2) var(--sc-ease-out);
}
.tweet-card:hover .tweet-card-media img {
  transform: scale(1.03);
}
.tweet-card-media.is-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(6, 14, 28, 0.45) 0%,
    rgba(6, 14, 28, 0.05) 55%,
    transparent 100%
  );
  pointer-events: none;
}
.tweet-card-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 2.75rem;
  height: 2.75rem;
  margin: -1.375rem 0 0 -1.375rem;
  border-radius: 999px;
  background: rgba(0, 194, 168, 0.92);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  display: grid;
  place-items: center;
  transition:
    transform var(--sc-dur-2) var(--sc-ease-out),
    background var(--sc-dur-2) var(--sc-ease-out);
}
.tweet-card-play-icon {
  display: block;
  width: 0;
  height: 0;
  margin-left: 0.15rem;
  border-style: solid;
  border-width: 0.4rem 0 0.4rem 0.68rem;
  border-color: transparent transparent transparent #042018;
}
.tweet-card-media:hover .tweet-card-play,
.tweet-card:hover .tweet-card-play {
  transform: scale(1.06);
  background: #00e0c2;
}
.tweet-card-title {
  margin: 0;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  color: #eef4fc;
  letter-spacing: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}
.tweet-card-text {
  margin: 0;
  flex: 1;
  font-size: 0.86rem;
  line-height: 1.5;
  color: #a9bbd4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
}
.tweet-card-link {
  margin-top: 0.25rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: #cfe0f5 !important;
}
.tweet-card-link:hover {
  color: var(--accent) !important;
}
.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: #7d93b0;
}

.faq details {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px;
  padding: 0.95rem 1.1rem; margin-bottom: 0.65rem;
}
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.faq details p { margin: 0.7rem 0 0; }

.resource-list a {
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  padding: 0.95rem 1.1rem; border: 1px solid var(--line); border-radius: 14px;
  background: var(--surface-2); text-decoration: none; color: var(--ink); font-weight: 700;
  margin-bottom: 0.6rem;
}
.resource-list a:hover { border-color: #b9d4ee; color: var(--brand-deep); }
.resource-list span { color: var(--brand); font-size: 0.9rem; }

.chip {
  display: inline-flex; background: var(--accent-soft); color: #0f766e;
  border-radius: 999px; padding: 0.28rem 0.7rem; font-size: 0.8rem; font-weight: 700; margin: 0.15rem;
}
.chip.blue { background: #e8f2fb; color: var(--brand-deep); }

.form-card {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 18px;
  padding: 1.4rem; box-shadow: var(--shadow);
}
.form-note {
  background: #ecfdf8; color: #0f766e; border-radius: 10px;
  padding: 0.65rem 0.85rem; font-size: 0.9rem; font-weight: 600; margin-bottom: 1rem;
}
.fields { display: grid; gap: 0.85rem; }
@media (min-width: 560px) { .fields.two { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 700; font-size: 0.92rem; margin-bottom: 0.28rem; }
.field .req { color: #dc2626; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 12px;
  padding: 0.65rem 0.85rem; font: inherit; background: var(--surface); color: var(--ink);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--brand); border-color: var(--brand); background: #fff;
}
.field .error { display: none; color: #dc2626; font-size: 0.85rem; font-weight: 600; margin-top: 0.2rem; }
.field.invalid .error { display: block; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #dc2626; }
.form-success {
  display: none; margin-top: 0.9rem; padding: 0.8rem 1rem; border-radius: 12px;
  background: #ecfdf8; color: #0f766e; font-weight: 700;
}
.form-success.show { display: block; }

.store-badges { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 1rem; }
.store-badges img { height: 44px; width: auto; }

.media-hero-img {
  border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 24px 50px rgba(0,0,0,0.3); margin-top: 1.5rem; max-width: 720px;
}
.media-hero-img img { width: 100%; height: auto; }

.cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, #0f4c8a, #1e73be 55%, #0f766e);
  color: var(--white); border-radius: 22px; padding: clamp(1.5rem, 4vw, 2.25rem);
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  box-shadow: 0 20px 50px rgba(15, 76, 138, 0.28);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: -40%;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 40%, rgba(0, 194, 168, 0.28), transparent 40%),
    radial-gradient(circle at 80% 60%, rgba(255, 255, 255, 0.12), transparent 35%);
  animation: sc-mesh-drift 8s var(--sc-ease-inout) infinite alternate;
  pointer-events: none;
}
.cta-band h2 { color: var(--white); margin: 0 0 0.35rem; }
.cta-band p { color: #dce9f8; margin: 0; max-width: 34rem; }

/* ========== Scroll-into-view animations ========== */
/* Hidden until JS marks is-inview — only when html has .js */
html.js .reveal {
  opacity: 0;
  transform: translate3d(0, 40px, 0) scale(0.97);
  filter: blur(2px);
  will-change: opacity, transform, filter;
}
html.js .reveal.is-inview {
  animation: scroll-in 0.75s var(--sc-ease-out) both;
  animation-delay: calc(min(var(--reveal-i, 0), 8) * 80ms);
  filter: none;
}

/* Direction variants (set by JS) */
html.js .reveal.from-left {
  transform: translate3d(-48px, 20px, 0) scale(0.97);
}
html.js .reveal.from-right {
  transform: translate3d(48px, 20px, 0) scale(0.97);
}
html.js .reveal.from-scale {
  transform: translate3d(0, 16px, 0) scale(0.9);
}
html.js .reveal.from-left.is-inview {
  animation-name: scroll-in-left;
}
html.js .reveal.from-right.is-inview {
  animation-name: scroll-in-right;
}
html.js .reveal.from-scale.is-inview {
  animation-name: scroll-in-scale;
}

@keyframes scroll-in {
  0% {
    opacity: 0;
    transform: translate3d(0, 40px, 0) scale(0.97);
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
@keyframes scroll-in-left {
  0% {
    opacity: 0;
    transform: translate3d(-48px, 20px, 0);
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
@keyframes scroll-in-right {
  0% {
    opacity: 0;
    transform: translate3d(48px, 20px, 0);
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
@keyframes scroll-in-scale {
  0% {
    opacity: 0;
    transform: translate3d(0, 16px, 0) scale(0.9);
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

.section-title .eyebrow {
  position: relative;
}
html.js .section-title.reveal.is-inview .eyebrow::before,
.section-title .eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.25rem; height: 2px;
  margin-right: 0.55rem;
  vertical-align: middle;
  background: linear-gradient(90deg, var(--accent), var(--brand));
  border-radius: 999px;
}

/* Home hero atmosphere */
.hero-home {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero-home::before {
  content: "";
  position: absolute;
  inset: -15%;
  z-index: 0;
  background:
    radial-gradient(ellipse 55% 50% at 75% 25%, rgba(30, 115, 190, 0.42), transparent 55%),
    radial-gradient(ellipse 45% 40% at 15% 80%, rgba(0, 194, 168, 0.18), transparent 50%);
  animation: sc-mesh-drift 10s var(--sc-ease-inout) infinite alternate;
  pointer-events: none;
}
.hero-home .container { position: relative; z-index: 1; }
.hero-home .hero-visual {
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 40px rgba(0, 194, 168, 0.12);
}
.hero-home .hero-visual img {
  transition: opacity 0.8s var(--sc-ease-out), transform 6s var(--sc-ease-out);
}
.hero-home .hero-visual img.active {
  transform: scale(1.04);
}

/* Page load hero text cascade (when motion allowed) */
html.js .hero-home > .container > div:first-child > * {
  animation: sc-rise var(--sc-dur-5) var(--sc-ease-out) both;
}
html.js .hero-home > .container > div:first-child > *:nth-child(1) { animation-delay: 40ms; }
html.js .hero-home > .container > div:first-child > *:nth-child(2) { animation-delay: 100ms; }
html.js .hero-home > .container > div:first-child > *:nth-child(3) { animation-delay: 160ms; }
html.js .hero-home > .container > div:first-child > *:nth-child(4) { animation-delay: 220ms; }
html.js .hero-home > .container > div:first-child > *:nth-child(5) { animation-delay: 280ms; }
html.js .hero-home .hero-visual {
  animation: sc-rise var(--sc-dur-5) var(--sc-ease-out) 160ms both;
}

html.js .page-hero .container > * {
  animation: sc-rise-sm var(--sc-dur-5) var(--sc-ease-out) both;
}
html.js .page-hero .container > *:nth-child(1) { animation-delay: 40ms; }
html.js .page-hero .container > *:nth-child(2) { animation-delay: 100ms; }
html.js .page-hero .container > *:nth-child(3) { animation-delay: 160ms; }
html.js .page-hero .container > *:nth-child(4) { animation-delay: 220ms; }

/* Stats / quotes polish */
.stat {
  transition: transform var(--sc-dur-3) var(--sc-ease-out), border-color var(--sc-dur-3) var(--sc-ease-out);
}
.stat:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 194, 168, 0.35);
}
.quote {
  transition: transform var(--sc-dur-3) var(--sc-ease-out), border-color var(--sc-dur-3) var(--sc-ease-out);
}
.quote:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 194, 168, 0.28);
}

/* Price / audience / resource polish */
.price-card, .audience-card, .office, .resource-list a, .content-block, .side-card {
  transition:
    transform var(--sc-dur-3) var(--sc-ease-out),
    box-shadow var(--sc-dur-3) var(--sc-ease-out),
    border-color var(--sc-dur-3) var(--sc-ease-out);
}
.price-card:hover, .audience-card:hover, .office:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-deep);
}
.resource-list a:hover {
  transform: translateX(4px);
}
.nav-desktop a {
  transition: color var(--sc-dur-2) var(--sc-ease-out), background var(--sc-dur-2) var(--sc-ease-out), transform var(--sc-dur-2) var(--sc-ease-out);
}
.nav-desktop a:hover { transform: translateY(-1px); }

/* Feature media zoom */
.feature-media img, .product-media img, .audience-card img {
  transition: transform 0.7s var(--sc-ease-out), opacity 0.7s var(--sc-ease-out);
}
.card:hover .feature-media img,
.audience-card:hover img {
  transform: scale(1.05);
}

/* Cursor glow (desktop, created by JS) */
.cursor-glow {
  position: fixed;
  width: 280px; height: 280px;
  margin: -140px 0 0 -140px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9990;
  background: radial-gradient(circle, rgba(0, 194, 168, 0.16), rgba(30, 115, 190, 0.08) 40%, transparent 70%);
  opacity: 0;
  transition: opacity 0.35s var(--sc-ease-out);
  mix-blend-mode: screen;
  will-change: transform;
}
.cursor-glow.is-on { opacity: 1; }

/* Magnetic button helper */
.btn.is-magnetic { will-change: transform; }

@keyframes sc-rise {
  from { opacity: 0; transform: translateY(var(--sc-dist-3)); }
  to { opacity: 1; transform: none; }
}
@keyframes sc-rise-sm {
  from { opacity: 0; transform: translateY(var(--sc-dist-2)); }
  to { opacity: 1; transform: none; }
}
@keyframes sc-bar-in {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}
@keyframes sc-mesh-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(1.5%, -1.5%, 0) scale(1.04); }
}

/* Badge float on accreditations */
.badge-row img {
  transition:
    transform var(--sc-dur-3) var(--sc-ease-out),
    box-shadow var(--sc-dur-3) var(--sc-ease-out);
}
.badge-row img:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
  filter: none;
}

/* Reduced motion — full gate */
@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;
    scroll-behavior: auto !important;
  }
  html.js .reveal,
  html.js .reveal.is-inview {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
    animation: none !important;
  }
  .page-hero::before,
  .hero-home::before,
  .cta-band::before {
    animation: none !important;
  }
  .cursor-glow { display: none !important; }
  .card:hover, .btn:hover, .stat:hover, .quote:hover,
  .price-card:hover, .audience-card:hover, .office:hover {
    transform: none !important;
  }
  .hero-home .hero-visual img.active { transform: none !important; }
}

/* ===== Consolidated from per-page inline styles ===== */
.product-media {
  position: relative;
  aspect-ratio: 16 / 11;
  background: #0f172a;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
  margin: -1.3rem -1.3rem 1rem;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s var(--sc-ease-out);
}
.product-media img.active { opacity: 1; }

.hero-visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  aspect-ratio: 16 / 11;
  background: #0a1424;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s var(--sc-ease-out);
}
.hero-visual img.active {
  opacity: 1;
  position: relative;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}

.hero-home {
  background:
    radial-gradient(ellipse 80% 60% at 80% 20%, rgba(30, 115, 190, 0.35), transparent 55%),
    linear-gradient(160deg, #0b1220 0%, #15233d 55%, #0f1a2e 100%);
  color: #fff;
  padding: clamp(3rem, 7vw, 5rem) 0;
}
.hero-home h1 { color: #fff; }
.hero-home .lead { color: #c5d3e8; font-size: 1.1rem; }

.stats {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (min-width: 700px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
}
.stat {
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.5rem 1rem;
}
.stat .num {
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat .label { color: #c5d3e8; font-weight: 600; }

.social-dark { background: var(--bg); color: #fff; }
.social-dark h2 { color: #fff; }
.quotes { display: grid; gap: 1rem; }
@media (min-width: 760px) { .quotes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.25rem;
}
.quote p { color: #d5e1f2; margin: 0 0 0.8rem; }
.quote strong { color: #fff; display: block; }
.quote span { color: #94a9c4; font-size: 0.9rem; }
.eyebrow-accent { color: #00c2a8; }

/* Platform trio */
.platform-strip {
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .platform-strip { grid-template-columns: repeat(3, 1fr); }
}
.platform-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
  height: 100%;
}
.platform-card .platform-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.5rem;
}
.platform-card h3 { margin-bottom: 0.45rem; }
.platform-card p { font-size: 0.95rem; margin-bottom: 0.65rem; }
.platform-card ul {
  list-style: disc;
  padding-left: 1.15rem;
  margin: 0;
}
.platform-card li {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 0.3rem;
}
.platform-card.dark {
  background: linear-gradient(160deg, #0f1a2e, #15233d);
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.platform-card.dark h3 { color: #fff; }
.platform-card.dark p,
.platform-card.dark li { color: #c5d3e8; }
.platform-card.dark .platform-tag { color: var(--accent); }

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin-top: 0.75rem;
}
.store-badges img { height: 40px; width: auto; }

.capability-list,
.content-block .capability-list {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.capability-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--ink-soft);
  padding: 0.55rem 0.75rem;
  background: #f0f5fb;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 0.95rem;
}
.capability-list li strong {
  color: var(--ink);
  display: block;
  margin-bottom: 0.1rem;
}

/* Desktop solutions dropdown */
.nav-item {
  position: relative;
}
.nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-item > a::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.55;
  margin-top: 2px;
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-deep);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition:
    opacity var(--sc-dur-2) var(--sc-ease-out),
    transform var(--sc-dur-2) var(--sc-ease-out),
    visibility var(--sc-dur-2);
  z-index: 120;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav-dropdown a {
  display: block;
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.5rem 0.7rem;
  border-radius: 10px;
}
.nav-dropdown a:hover {
  color: var(--brand-deep);
  background: #e8f2fb;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.4rem 0;
}

/* Resources → Videos (YouTube channel gallery) */
.yt-videos-section {
  padding-top: 1.5rem;
}
.yt-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  margin-bottom: 1.25rem;
}
.yt-video-count {
  margin: 0;
  font-weight: 700;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.yt-filters {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.28rem;
}
.yt-filter {
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
}
.yt-filter:hover {
  color: var(--brand-deep);
}
.yt-filter.is-active {
  background: #fff;
  color: var(--brand-deep);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}
.yt-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) {
  .yt-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 960px) {
  .yt-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.yt-card {
  display: flex;
  flex-direction: column;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.yt-card:hover {
  border-color: #b9d4ee;
  transform: translateY(-2px);
  box-shadow: var(--shadow-deep, 0 12px 32px rgba(15, 23, 42, 0.12));
}
.yt-card-media {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #0f172a;
  cursor: pointer;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.yt-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.yt-card:hover .yt-card-media img {
  transform: scale(1.03);
  opacity: 0.92;
}
.yt-card-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3.1rem;
  height: 3.1rem;
  margin: -1.55rem 0 0 -1.55rem;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.92);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.35);
  pointer-events: none;
}
.yt-card-play::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-40%, -50%);
  border-style: solid;
  border-width: 0.55rem 0 0.55rem 0.9rem;
  border-color: transparent transparent transparent #fff;
}
.yt-card-kind {
  position: absolute;
  left: 0.65rem;
  bottom: 0.65rem;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.22rem 0.5rem;
  border-radius: 6px;
}
.yt-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.95rem 1rem 1.05rem;
  flex: 1;
}
.yt-card-title {
  margin: 0;
  font-family: var(--display, inherit);
  font-size: 1.02rem;
  line-height: 1.35;
  color: var(--ink);
}
.yt-card-title-btn {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: inherit;
  cursor: pointer;
}
.yt-card-title-btn:hover {
  color: var(--brand-deep);
}
.yt-card-yt {
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--brand);
}
.yt-card-yt:hover {
  color: var(--brand-deep);
}
.yt-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 1.5rem;
  text-align: center;
  color: var(--ink-soft);
  background: var(--surface-2);
  border: 1px dashed var(--line);
  border-radius: 14px;
}
.yt-footnote {
  margin: 1.5rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.yt-footnote a {
  font-weight: 700;
  color: var(--brand-deep);
}

/* Individual video player modal */
.yt-player-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.yt-player-overlay[hidden] {
  display: none !important;
}
.yt-player-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(3px);
}
.yt-player-dialog {
  position: relative;
  z-index: 1;
  width: min(56rem, 100%);
  max-height: min(92vh, 44rem);
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.35);
  padding: 0.85rem 0.85rem 1.15rem;
}
.yt-player-close {
  position: absolute;
  top: 0.45rem;
  right: 0.55rem;
  z-index: 2;
  border: 0;
  background: rgba(15, 23, 42, 0.75);
  color: #fff;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.yt-player-close:hover {
  background: #0f172a;
}
.yt-player-frame-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f172a;
  border-radius: 12px;
  overflow: hidden;
}
.yt-player-frame-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.yt-player-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 0.95rem 0.35rem 0.15rem;
}
.yt-player-title {
  margin: 0;
  flex: 1 1 14rem;
  font-family: var(--display, inherit);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  line-height: 1.3;
  color: var(--ink);
  padding-right: 0.5rem;
}
body.yt-player-open {
  overflow: hidden;
}

/* External library embeds (marketing material / useful resources) */
.section-embed {
  padding-top: 1.25rem;
  padding-bottom: 2rem;
}
.container-embed {
  max-width: 1200px;
}
.external-embed {
  background: var(--surface-2, #fff);
  border: 1px solid var(--line, #dbe4f0);
  border-radius: 18px;
  box-shadow: var(--shadow, 0 10px 30px rgba(15, 23, 42, 0.06));
  overflow: hidden;
}
.external-embed-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line, #dbe4f0);
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}
.external-embed-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink-soft, #475569);
}
.external-embed-toolbar a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand, #0b6bcb);
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid #b9d4ee;
  background: #fff;
}
.external-embed-toolbar a:hover {
  color: var(--brand-deep, #0a4f96);
  border-color: var(--brand, #0b6bcb);
  background: #e8f2fb;
}
.external-embed-frame {
  position: relative;
  width: 100%;
  min-height: min(78vh, 920px);
  height: 78vh;
  background: #f8fafc;
}
.external-embed-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}
.external-embed-fallback {
  margin: 0;
  padding: 0.75rem 1rem 0.95rem;
  font-size: 0.9rem;
  color: var(--ink-soft, #475569);
  border-top: 1px solid var(--line, #dbe4f0);
  background: #fafbfc;
}
.external-embed-fallback a {
  color: var(--brand, #0b6bcb);
  font-weight: 700;
}
@media (max-width: 720px) {
  .external-embed-frame {
    min-height: 70vh;
    height: 70vh;
  }
  .section-embed {
    padding-left: 0;
    padding-right: 0;
  }
  .container-embed {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}
