/* ============================================================================
   Support Facility — redesign layer
   ----------------------------------------------------------------------------
   This file changes presentation only. It is loaded after the theme stylesheet
   and re-skins the existing markup, so every word of copy, every route and
   every interactive behaviour stays exactly as it was.

   Direction: gentle, professional, modern, interactive.
   - Softer contrast (navy slate instead of pure black, muted teal accents)
   - Calmer rhythm: more whitespace, lighter borders, deeper but softer shadows
   - Inter as the interface typeface, tighter tracking on display sizes
   - Motion that responds to the pointer without being showy
   ========================================================================== */

/* --- Self-hosted Inter ---------------------------------------------------- */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/Inter-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/Inter-Medium.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/Inter-SemiBold.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/Inter-Bold.woff2') format('woff2');
}

/* --- Design tokens ------------------------------------------------------- */

:root {
  --sf-bg: #f6f8fb;
  --sf-bg-soft: #eef3f8;
  --sf-surface: #ffffff;
  --sf-ink: #0f172a;
  --sf-ink-2: #2b3a52;
  --sf-muted: #61718a;
  --sf-muted-2: #8494a9;
  --sf-line: #e4ebf3;
  --sf-line-strong: #d3dfec;

  --sf-brand: #0d7a85;
  --sf-brand-2: #16a7b3;
  --sf-brand-ink: #0a5b64;
  --sf-soft: #e6f3f5;
  --sf-soft-2: #f0f8f9;

  --sf-navy: #0c1b2e;
  --sf-navy-2: #122a44;

  --sf-radius-sm: 10px;
  --sf-radius: 16px;
  --sf-radius-lg: 22px;
  --sf-radius-xl: 28px;

  --sf-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --sf-shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.04);
  --sf-shadow: 0 12px 28px -12px rgba(15, 23, 42, 0.16), 0 2px 6px rgba(15, 23, 42, 0.04);
  --sf-shadow-lg: 0 26px 60px -24px rgba(15, 23, 42, 0.24), 0 6px 16px -8px rgba(15, 23, 42, 0.1);
  --sf-shadow-brand: 0 14px 30px -12px rgba(13, 122, 133, 0.42);

  --sf-ease: cubic-bezier(0.22, 0.68, 0.24, 1);
  --sf-ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Keep the original variable names pointing at the new palette so the
     inherited theme rules resolve to the new colours too. */
  --background: var(--sf-bg);
  --foreground: var(--sf-ink);
  --navy: var(--sf-navy);
  --navy-2: var(--sf-navy-2);
  --cyan: var(--sf-brand-2);
  --cyan-soft: var(--sf-soft);
  --ink-soft: var(--sf-muted);
  --line: var(--sf-line);
  --muted-foreground: var(--sf-muted);
  --font-sans: 'Inter', 'Aptos', 'Segoe UI', Arial, sans-serif;
}

/* --- Base ---------------------------------------------------------------- */

html {
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea {
  font-family: var(--font-sans);
}

body {
  background: var(--sf-bg);
  color: var(--sf-ink-2);
  line-height: 1.68;
  letter-spacing: -0.005em;
}

::selection {
  background: rgba(13, 122, 133, 0.16);
  color: var(--sf-ink);
}

/* Softer focus ring than the browser default, but still visible. */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--sf-brand-2);
  outline-offset: 3px;
  border-radius: 6px;
}

/* --- Typography ---------------------------------------------------------- */

h1,
h2,
h3,
h4,
.entry-title {
  color: var(--sf-ink);
  font-weight: 600;
  letter-spacing: -0.032em;
  line-height: 1.14;
}

h1 {
  letter-spacing: -0.042em;
  line-height: 1.06;
}

h2 {
  font-size: clamp(1.95rem, 3.4vw, 3rem);
  letter-spacing: -0.036em;
  margin: 14px 0 18px;
}

h3 {
  letter-spacing: -0.026em;
  line-height: 1.24;
}

p {
  color: var(--sf-muted);
  line-height: 1.72;
}

.section-heading p,
.split-heading p,
.hero-copy > p {
  color: var(--sf-muted);
}

.kicker,
.eyebrow {
  color: var(--sf-brand);
  font-size: 0.735rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status-dot {
  background: #2ecf9e;
  box-shadow: 0 0 0 4px rgba(46, 207, 158, 0.16);
}

/* Inline links inside body copy get a quiet animated underline. */
.article-body a:not(.button),
.legal-content a:not(.button) {
  color: var(--sf-brand-ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(13, 122, 133, 0.32);
  transition: text-decoration-color 0.22s var(--sf-ease);
}

.article-body a:not(.button):hover,
.legal-content a:not(.button):hover {
  text-decoration-color: var(--sf-brand);
}

/* --- Layout rhythm ------------------------------------------------------- */

/* Sections use a single downward rhythm: one top gap and one bottom gap. Adding
   padding on both sides of adjacent sections used to stack into 200px voids. */
.section {
  padding: 64px 0;
  position: relative;
}

.pale-section,
.section.pale-section {
  background: var(--sf-bg-soft);
}

/* Full-bleed bands own their spacing. */
.dark-section,
.service-family,
.final-cta {
  padding: 72px 0;
}

.container {
  width: min(1180px, calc(100% - 48px));
}

.section-heading {
  margin-bottom: 40px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

/* --- Buttons ------------------------------------------------------------- */

.button {
  position: relative;
  min-height: 50px;
  padding: 0 24px;
  border-radius: var(--sf-radius-sm);
  font-size: 0.925rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition:
    transform 0.24s var(--sf-ease),
    box-shadow 0.24s var(--sf-ease),
    background-color 0.24s var(--sf-ease),
    border-color 0.24s var(--sf-ease),
    color 0.24s var(--sf-ease);
}

.button svg {
  width: 18px;
  height: 18px;
  transition: transform 0.28s var(--sf-ease);
}

.button:hover svg {
  transform: translateX(4px);
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button-primary {
  background: linear-gradient(135deg, var(--sf-brand) 0%, var(--sf-brand-2) 100%) !important;
  color: #fff !important;
  border: 1px solid transparent !important;
  box-shadow: var(--sf-shadow-brand) !important;
}

.button-primary:hover {
  background: linear-gradient(135deg, #0b6d77 0%, #1299a4 100%) !important;
  box-shadow: 0 20px 38px -14px rgba(13, 122, 133, 0.52) !important;
}

.button-ghost {
  background: var(--sf-surface);
  color: var(--sf-ink);
  border: 1px solid var(--sf-line-strong);
  box-shadow: var(--sf-shadow-xs);
}

.button-ghost:hover {
  background: var(--sf-surface);
  color: var(--sf-ink);
  border-color: var(--sf-brand-2);
  box-shadow: var(--sf-shadow-sm);
}

.button-light {
  background: #fff;
  color: var(--sf-navy);
  border: 1px solid transparent;
}

.button-light:hover {
  background: #fff;
  color: var(--sf-navy);
  box-shadow: var(--sf-shadow);
}

.button-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.button-outline-light:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.1);
}

.text-link,
.text-arrow {
  color: var(--sf-brand);
  font-weight: 600;
  transition: color 0.2s var(--sf-ease), gap 0.24s var(--sf-ease);
}

.text-link:hover,
.text-arrow:hover {
  color: var(--sf-brand-ink);
  gap: 12px;
}

/* --- Header -------------------------------------------------------------- */

.utility-bar {
  background: var(--sf-navy);
  color: rgba(226, 236, 246, 0.78);
  font-size: 0.775rem;
  letter-spacing: -0.004em;
}

.utility-inner {
  min-height: 42px;
}

.utility-inner > span,
.utility-inner a {
  color: rgba(226, 236, 246, 0.78);
  transition: color 0.2s var(--sf-ease);
}

.utility-inner a:hover {
  color: #fff;
}

.site-header {
  height: 76px;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(228, 235, 243, 0.9);
  transition: box-shadow 0.3s var(--sf-ease), background-color 0.3s var(--sf-ease);
}

/* A large blur radius on a sticky element is repainted on every scroll frame.
   A small radius keeps the frosted look at a fraction of the cost. */
@supports ((backdrop-filter: blur(6px)) or (-webkit-backdrop-filter: blur(6px))) {
  .site-header {
    background: rgba(255, 255, 255, 0.76);
    -webkit-backdrop-filter: blur(6px) saturate(160%);
    backdrop-filter: blur(6px) saturate(160%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: #fff;
  }
}

.has-scrolled .site-header {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 30px -18px rgba(15, 23, 42, 0.28);
  border-bottom-color: transparent;
}

.brand {
  color: var(--sf-ink);
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: -0.032em;
  gap: 11px;
}

.brand strong {
  font-weight: 700;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--sf-brand) 0%, var(--sf-navy-2) 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px -8px rgba(13, 122, 133, 0.6);
  transition: transform 0.32s var(--sf-ease), box-shadow 0.32s var(--sf-ease);
}

.brand-mark svg {
  width: 18px;
  height: 18px;
}

.brand:hover .brand-mark {
  transform: translateY(-1px) rotate(-4deg);
  box-shadow: 0 10px 22px -8px rgba(13, 122, 133, 0.7);
}

.desktop-nav {
  gap: 4px;
}

.nav-trigger,
.nav-simple {
  color: var(--sf-ink-2);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 9px 13px;
  border-radius: 9px;
  letter-spacing: -0.008em;
  transition: color 0.2s var(--sf-ease), background-color 0.2s var(--sf-ease);
}

.nav-trigger:hover,
.nav-simple:hover {
  color: var(--sf-ink);
  background: var(--sf-bg-soft);
}

/* Replace the original hard underline with a soft pill highlight. */
.nav-trigger:after,
.nav-simple:after {
  display: none;
}

.nav-trigger svg {
  width: 13px;
  height: 13px;
  opacity: 0.5;
  transition: transform 0.24s var(--sf-ease), opacity 0.24s var(--sf-ease);
}

.nav-group:hover .nav-trigger svg,
.nav-group:focus-within .nav-trigger svg {
  opacity: 1;
}

.mega-menu {
  border: 1px solid var(--sf-line);
  border-radius: var(--sf-radius-lg);
  box-shadow: var(--sf-shadow-lg);
  padding: 14px;
  background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  top: 64px;
}

.mega-intro {
  border-radius: var(--sf-radius);
  background: linear-gradient(160deg, var(--sf-navy) 0%, var(--sf-navy-2) 100%);
}

.mega-intro span {
  color: rgba(150, 224, 232, 0.9);
  letter-spacing: 0.14em;
}

.mega-intro strong {
  color: #fff;
  letter-spacing: -0.026em;
}

.mega-intro p {
  color: rgba(226, 236, 246, 0.72);
}

.mega-links a {
  border-radius: 9px;
  color: var(--sf-ink-2);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 9px 11px;
  transition: background-color 0.18s var(--sf-ease), color 0.18s var(--sf-ease),
    padding-left 0.22s var(--sf-ease);
}

.mega-links a:hover {
  background: var(--sf-soft-2);
  color: var(--sf-brand-ink);
  padding-left: 15px;
}

.mega-links a svg {
  width: 14px;
  height: 14px;
  opacity: 0.4;
  transition: opacity 0.2s var(--sf-ease), transform 0.24s var(--sf-ease);
}

.mega-links a:hover svg {
  opacity: 1;
}

.mega-section > span {
  color: var(--sf-muted-2);
  font-size: 0.7rem;
  letter-spacing: 0.13em;
}

.desktop-cta {
  border-radius: var(--sf-radius-sm) !important;
  font-size: 0.88rem;
  min-height: 44px !important;
}

/* --- Scroll progress ----------------------------------------------------- */

.scroll-progress span {
  background: linear-gradient(90deg, var(--sf-brand-2), var(--sf-brand), #4f8ef7);
  box-shadow: 0 0 12px rgba(22, 167, 179, 0.45);
  height: 2px;
}

/* --- Hero ---------------------------------------------------------------- */

.hero {
  background:
    radial-gradient(1100px 520px at 82% -8%, rgba(22, 167, 179, 0.14) 0%, transparent 62%),
    radial-gradient(900px 480px at 6% 4%, rgba(96, 165, 250, 0.12) 0%, transparent 58%),
    linear-gradient(180deg, #f8fbfd 0%, var(--sf-bg) 100%);
  position: relative;
  overflow: hidden;
  padding: 76px 0 96px;
}

/* Soften the original graph-paper grid into a barely-there texture. It is
   painted once: no mask, no animation, so scrolling stays cheap. */
.hero-grid-bg {
  opacity: 0.55;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
}

.hero:before {
  background: none;
}

/* Large blurred glows are expensive to composite while scrolling, so they are
   replaced with flat radial gradients that look almost identical. */
.ops-card:after {
  background: radial-gradient(circle, rgba(16, 184, 197, 0.26) 0%, rgba(16, 184, 197, 0) 72%);
  filter: none;
  width: 320px;
  height: 320px;
  right: -110px;
  top: -110px;
}

.ops-card:before {
  animation: none;
  opacity: 0.5;
}

.dark-section:before {
  animation: none;
}

.dark-section:after {
  background: radial-gradient(circle, rgba(11, 166, 179, 0.2) 0%, rgba(11, 166, 179, 0) 70%);
  filter: none;
  width: 560px;
  height: 560px;
  right: -270px;
  bottom: -300px;
}

.final-cta:before,
.trial-banner:before {
  animation: none;
}

.inner-hero:after {
  animation: none;
}

.hero-layout {
  gap: 64px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.7rem, 5.1vw, 4.35rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 600;
  color: var(--sf-ink);
  margin-bottom: 22px;
}

.hero-copy h1 span {
  color: var(--sf-muted);
  font-weight: 400;
}

.hero-copy > p {
  font-size: 1.09rem;
  line-height: 1.72;
  color: var(--sf-muted);
  max-width: 560px;
}

.hero-actions {
  gap: 12px;
  margin-top: 34px;
}

.hero-proof {
  gap: 22px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--sf-line);
}

.hero-proof span {
  color: var(--sf-muted);
  font-size: 0.855rem;
  font-weight: 500;
}

.hero-proof svg {
  color: var(--sf-brand-2);
  width: 17px;
  height: 17px;
}

/* Operations card */

.ops-card {
  border-radius: var(--sf-radius-xl);
  background: linear-gradient(165deg, #0d1d31 0%, #0f2b40 52%, #0d3b45 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    0 40px 80px -40px rgba(9, 24, 40, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  padding: 24px;
}

.ops-card:after {
  background: radial-gradient(circle at 50% 30%, rgba(22, 167, 179, 0.22) 0%, transparent 65%);
}

.ops-top > span {
  color: rgba(196, 219, 238, 0.72);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.live-pill {
  background: rgba(46, 207, 158, 0.12);
  border: 1px solid rgba(46, 207, 158, 0.32);
  color: #b8f5e0;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  padding: 5px 11px;
}

.live-pill i {
  background: #2ecf9e;
  box-shadow: 0 0 8px rgba(46, 207, 158, 0.8);
}

.orbit-ring {
  border: 1px solid rgba(120, 200, 220, 0.14);
}

.ops-core {
  background: radial-gradient(circle at 50% 30%, rgba(22, 167, 179, 0.28), rgba(10, 26, 42, 0.92) 68%);
  border: 1px solid rgba(120, 200, 220, 0.22);
  box-shadow: 0 0 60px rgba(22, 167, 179, 0.22);
}

.ops-core svg {
  color: #9ef0e2;
}

.ops-core strong {
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: -0.02em;
}

.orbit-node {
  background: rgba(190, 222, 245, 0.07);
  border: 1px solid rgba(140, 195, 235, 0.18);
  border-radius: 999px;
  color: rgba(220, 236, 250, 0.92);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 7px 13px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background-color 0.28s var(--sf-ease), border-color 0.28s var(--sf-ease),
    transform 0.28s var(--sf-ease);
}

.orbit-node:hover {
  background: rgba(22, 167, 179, 0.24);
  border-color: rgba(120, 230, 240, 0.5);
  transform: translateY(-2px);
}

.ops-metrics > div {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 14px;
}

.ops-metrics small {
  color: rgba(180, 205, 228, 0.7);
  font-size: 0.72rem;
  letter-spacing: 0.01em;
}

.ops-metrics strong {
  color: #fff;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.ops-metrics svg {
  color: rgba(150, 220, 232, 0.7);
}

/* --- Inner hero ---------------------------------------------------------- */

.inner-hero {
  background:
    radial-gradient(900px 420px at 88% 0%, rgba(22, 167, 179, 0.13) 0%, transparent 60%),
    linear-gradient(180deg, #f8fbfd 0%, var(--sf-bg) 100%);
  padding: 44px 0 96px;
  position: relative;
  overflow: hidden;
}

.inner-hero:before,
.inner-hero:after {
  display: none;
}

.inner-hero h1 {
  font-size: clamp(2.15rem, 4.2vw, 3.5rem);
  letter-spacing: -0.04em;
  line-height: 1.09;
  margin: 12px 0 18px;
  max-width: 20ch;
}

.inner-hero p {
  font-size: 1.06rem;
  line-height: 1.72;
  color: var(--sf-muted);
  max-width: 62ch;
}

.compact-hero {
  padding-bottom: 64px;
}

.breadcrumb {
  color: var(--sf-muted-2);
  font-size: 0.79rem;
  gap: 9px;
  margin-bottom: 26px;
  letter-spacing: -0.004em;
}

.breadcrumb a {
  color: var(--sf-muted);
  transition: color 0.2s var(--sf-ease);
}

.breadcrumb a:hover {
  color: var(--sf-brand);
}

.inner-hero-grid {
  gap: 56px;
  align-items: start;
}

.hero-service-mark {
  border-radius: var(--sf-radius-lg);
  background: var(--sf-surface);
  border: 1px solid var(--sf-line);
  box-shadow: var(--sf-shadow);
}

/* --- Cards --------------------------------------------------------------- */

.service-card,
.level-card,
.mini-process article,
.plan-card,
.values-grid article,
.security-grid article,
.resource-grid > a article,
.form-card,
.family-card,
.audience-list article,
.check-grid > div,
.tech-grid > div,
.process-grid li,
.comparison-table {
  background: var(--sf-surface);
  border: 1px solid var(--sf-line);
  border-radius: var(--sf-radius-lg);
  box-shadow: var(--sf-shadow-xs);
  transition:
    transform 0.3s var(--sf-ease),
    box-shadow 0.3s var(--sf-ease),
    border-color 0.3s var(--sf-ease);
}

/* Replace the original colour wash with a subtle top-edge sheen. */
.service-card:before,
.plan-card:before,
.values-grid article:before,
.security-grid article:before {
  background: linear-gradient(180deg, rgba(22, 167, 179, 0.09) 0%, transparent 42%);
  opacity: 0;
  transition: opacity 0.32s var(--sf-ease);
}

.service-card:hover,
.mini-process article:hover,
.values-grid article:hover,
.security-grid article:hover,
.plan-card:hover,
.family-card:hover,
.audience-list article:hover {
  transform: translateY(-4px);
  border-color: rgba(22, 167, 179, 0.34);
  box-shadow: var(--sf-shadow-lg);
}

.service-card:hover:before,
.plan-card:hover:before,
.values-grid article:hover:before,
.security-grid article:hover:before {
  opacity: 1;
}

.service-card {
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-card h3 {
  font-size: 1.14rem;
  line-height: 1.3;
  letter-spacing: -0.024em;
  margin: 0 0 8px;
}

.service-card p {
  font-size: 0.915rem;
  line-height: 1.6;
  color: var(--sf-muted);
  /* Do not let the paragraph swallow the card's spare height: that pushed the
     copy to the top and left a hollow band under the link. */
  flex: 0 0 auto;
}

.service-card .service-icon {
  margin-bottom: 18px;
}

/* The link is what pins to the bottom edge, so cards of different text length
   still line up along a shared baseline. */
.service-card .card-link {
  margin-top: auto;
  padding-top: 16px;
}

.service-card .eyebrow,
.service-card > span:not(.service-icon) {
  margin-bottom: 10px;
}

/* Rows should read as even bands: cards in the same row share a height and the
   copy flexes, so a short card never looks like a stub next to a long one. */
.service-grid,
.values-grid,
.security-grid,
.problem-grid,
.family-grid,
.level-grid,
.plan-grid,
.process-grid,
.audience-list,
.check-grid,
.tech-grid {
  align-items: stretch;
}

.service-grid > *,
.values-grid > *,
.security-grid > *,
.problem-grid > *,
.family-grid > *,
.level-grid > *,
.plan-grid > * {
  height: 100%;
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--sf-soft);
  color: var(--sf-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s var(--sf-ease), color 0.3s var(--sf-ease),
    transform 0.3s var(--sf-ease);
}

.service-icon svg {
  width: 21px;
  height: 21px;
}

.service-card:hover .service-icon {
  background: var(--sf-brand);
  color: #fff;
  transform: translateY(-1px) scale(1.04);
}

.card-link {
  color: var(--sf-brand);
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
}

.card-link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.26s var(--sf-ease);
}

.service-card:hover .card-link svg,
.family-card:hover > svg {
  transform: translateX(4px);
}

/* Level cards */

.level-card {
  padding: 26px;
}

.level-head i {
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  color: var(--sf-brand);
  background: var(--sf-soft);
  border-radius: 7px;
  padding: 4px 9px;
}

.level-card h3 {
  font-size: 1.1rem;
  margin: 14px 0 8px;
}

/* Family cards */

.family-card {
  padding: 26px 24px;
}

.family-card > span {
  background: var(--sf-soft);
  color: var(--sf-brand);
  border-radius: 11px;
}

.family-card h3 {
  font-size: 1.1rem;
}

.family-card p {
  color: var(--sf-muted);
  font-size: 0.93rem;
}

.family-card > svg {
  color: var(--sf-brand);
  transition: transform 0.26s var(--sf-ease);
}

/* Plans */

.plan-card {
  padding: 30px 28px;
}

.featured-plan {
  border-color: rgba(22, 167, 179, 0.4);
  box-shadow: 0 22px 48px -24px rgba(13, 122, 133, 0.4);
}

/* --- Dark sections ------------------------------------------------------- */

.dark-section {
  background: linear-gradient(165deg, var(--sf-navy) 0%, var(--sf-navy-2) 100%);
  color: rgba(226, 236, 246, 0.86);
}

/* .service-family is a navy band in the original design. It is treated as a
   dark section so its headings stay white instead of inheriting dark ink. */
.service-family {
  background: linear-gradient(165deg, var(--sf-navy) 0%, var(--sf-navy-2) 100%);
  color: rgba(226, 236, 246, 0.86);
}

.service-family h2,
.service-family h3,
.service-family strong {
  color: #fff;
}

.service-family p {
  color: rgba(206, 221, 238, 0.74);
}

.service-family .kicker {
  color: rgba(150, 224, 232, 0.92);
}

.service-family .family-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.service-family .family-card:hover {
  background: rgba(255, 255, 255, 0.085);
  border-color: rgba(120, 230, 240, 0.32);
  box-shadow: 0 24px 50px -28px rgba(0, 0, 0, 0.7);
}

.service-family .family-card h3 {
  color: #fff;
}

.service-family .family-card p {
  color: rgba(206, 221, 238, 0.72);
}

.service-family .family-card > span {
  background: rgba(22, 167, 179, 0.2);
  color: #9ef0e2;
}

.service-family .family-card > svg {
  color: #7fdfe8;
}

.dark-section:before,
.dark-section:after {
  opacity: 0.5;
}

.dark-section h2,
.dark-section h3,
.dark-section strong {
  color: #fff;
}

.dark-section p,
.dark-section li {
  color: rgba(206, 221, 238, 0.76);
}

.dark-section .kicker {
  color: rgba(150, 224, 232, 0.92);
}

.dark-section .level-card,
.dark-section .mini-process article {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: none;
}

.dark-section .level-card:hover,
.dark-section .mini-process article:hover {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(120, 230, 240, 0.3);
}

.dark-section .level-card h3 {
  color: #fff;
}

.dark-section .level-card p {
  color: rgba(206, 221, 238, 0.72);
}

.dark-section .level-head i {
  background: rgba(22, 167, 179, 0.18);
  color: #9ef0e2;
}

/* --- Process / check / tech grids --------------------------------------- */

.process-grid li {
  padding: 22px 20px;
  border-radius: var(--sf-radius);
  background: var(--sf-surface);
  border: 1px solid var(--sf-line);
}

.process-grid li:hover {
  border-color: rgba(22, 167, 179, 0.3);
  box-shadow: var(--sf-shadow);
  transform: translateY(-3px);
}

.check-grid > div,
.tech-grid > div {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--sf-surface);
  border: 1px solid var(--sf-line);
  font-size: 0.9rem;
  color: var(--sf-ink-2);
  box-shadow: none;
  transition: border-color 0.24s var(--sf-ease), background-color 0.24s var(--sf-ease),
    transform 0.24s var(--sf-ease);
}

.check-grid > div:hover,
.tech-grid > div:hover {
  border-color: rgba(22, 167, 179, 0.34);
  background: var(--sf-soft-2);
  transform: translateY(-2px);
}

.check-grid svg {
  color: var(--sf-brand-2);
}

.audience-list article {
  padding: 20px 22px;
  border-radius: var(--sf-radius);
}

.comparison-table {
  border-radius: var(--sf-radius-lg);
  overflow: hidden;
}

.comparison-table > div {
  border-bottom: 1px solid var(--sf-line);
}

.comparison-table > div:last-child {
  border-bottom: 0;
}

/* --- FAQ ----------------------------------------------------------------- */

.faq-list {
  gap: 10px;
}

.faq-list details {
  background: var(--sf-surface);
  border: 1px solid var(--sf-line);
  border-radius: var(--sf-radius);
  padding: 20px 22px;
  transition: border-color 0.24s var(--sf-ease), box-shadow 0.24s var(--sf-ease);
}

.faq-list details:hover {
  border-color: var(--sf-line-strong);
  box-shadow: var(--sf-shadow-xs);
}

.faq-list details[open] {
  border-color: rgba(22, 167, 179, 0.34);
  box-shadow: var(--sf-shadow-sm);
}

/* The markup ships its own "+" inside the summary. That single control is used
   as the open/close affordance and pinned to the right edge, vertically
   centred, so every row lines up on one axis. No extra ::after glyph. */
.faq-list summary {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.014em;
  color: var(--sf-ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  min-height: 28px;
}

.faq-list summary::-webkit-details-marker,
.faq-list summary::marker {
  display: none;
  content: '';
}

.faq-list summary span {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  margin: 0;
  border-radius: 50%;
  background: var(--sf-soft);
  color: var(--sf-brand);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1;
  /* Hide the literal "+" and draw the glyph as a pseudo-element, so only the
     glyph rotates. Rotating the circle itself grew its bounding box from 28px
     to 40px and nudged it 6px inwards when a row opened. */
  font-size: 0;
  transition: background-color 0.26s var(--sf-ease), color 0.26s var(--sf-ease);
}

.faq-list summary span::before {
  content: '+';
  display: block;
  font-size: 1.15rem;
  line-height: 1;
  transform-origin: 50% 50%;
  transition: transform 0.28s var(--sf-ease);
}

.faq-list summary:hover span {
  background: rgba(22, 167, 179, 0.16);
}

.faq-list details[open] summary span {
  /* Overrides the theme rule that rotated the whole circle. */
  transform: none;
  background: var(--sf-brand);
  color: #fff;
}

.faq-list details[open] summary span::before {
  transform: rotate(45deg);
}

.faq-list details p {
  color: var(--sf-muted);
  line-height: 1.72;
  padding: 14px 48px 0 0;
  margin-top: 14px;
  border-top: 1px solid var(--sf-line);
}

/* --- Forms --------------------------------------------------------------- */

.lead-form {
  gap: 18px;
}

.lead-form label {
  color: var(--sf-ink-2);
  font-size: 0.845rem;
  font-weight: 600;
  letter-spacing: -0.006em;
}

.lead-form input,
.lead-form select,
.lead-form textarea,
.sf-site .lead-form input,
.sf-site .lead-form select,
.sf-site .lead-form textarea {
  border: 1px solid var(--sf-line-strong);
  border-radius: 11px;
  background: #fff;
  color: var(--sf-ink);
  padding: 12px 14px;
  font-size: 0.935rem;
  transition: border-color 0.2s var(--sf-ease), box-shadow 0.2s var(--sf-ease);
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: var(--sf-muted-2);
}

.lead-form input:hover,
.lead-form select:hover,
.lead-form textarea:hover {
  border-color: var(--sf-muted-2);
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--sf-brand-2);
  box-shadow: 0 0 0 4px rgba(22, 167, 179, 0.13);
  outline: none;
}

.lead-form > div:focus-within {
  transform: none;
}

.form-card {
  padding: 30px;
}

.form-submit {
  border-radius: 11px !important;
}

.form-consent,
.form-security-note {
  color: var(--sf-muted-2) !important;
  font-size: 0.745rem !important;
  line-height: 1.6;
}

.form-notice,
.form-success {
  border-radius: 12px;
}

/* --- CTA / trial banners ------------------------------------------------- */

/* Only the full-width closing band is dark. The mid-page trial banner is a
   teal card in the original design, so it keeps a light section behind it. */
.final-cta {
  background:
    radial-gradient(900px 400px at 88% 0%, rgba(22, 167, 179, 0.26) 0%, transparent 62%),
    linear-gradient(150deg, var(--sf-navy) 0%, var(--sf-navy-2) 100%);
  color: #fff;
  padding: 76px 0;
  position: relative;
  overflow: hidden;
}

.trial-banner-section {
  background: #fff;
}

.trial-banner {
  background:
    radial-gradient(600px 300px at 86% 8%, rgba(255, 255, 255, 0.16) 0%, transparent 60%),
    linear-gradient(140deg, var(--sf-brand) 0%, #0f8f99 52%, #0b6d77 100%);
  color: #fff;
  border-radius: var(--sf-radius-lg);
  padding: 48px 52px;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 44px;
  align-items: center;
  box-shadow: 0 28px 60px -30px rgba(13, 122, 133, 0.55);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.trial-banner h2 {
  color: #fff;
  margin-bottom: 10px;
}

.trial-banner p {
  color: rgba(255, 255, 255, 0.86);
}

.trial-banner .kicker {
  color: rgba(214, 255, 250, 0.95);
}

.trial-banner .button-light {
  background: #fff;
  color: var(--sf-brand-ink);
}

.trial-banner .button-outline-light {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.trial-points span {
  color: rgba(255, 255, 255, 0.86);
}

.final-cta-inner {
  gap: 40px;
  align-items: center;
}

.final-cta h2 {
  color: #fff;
  letter-spacing: -0.038em;
}

.final-cta p {
  color: rgba(206, 221, 238, 0.78);
}

.final-cta .kicker {
  color: rgba(150, 224, 232, 0.95);
}

/* --- Footer -------------------------------------------------------------- */

.site-footer {
  background: linear-gradient(180deg, #0b1826 0%, #08121d 100%);
  color: rgba(196, 214, 232, 0.72);
  padding-top: 72px;
}

.footer-grid {
  gap: 48px;
}

.footer-brand .brand {
  color: #fff;
}

.footer-brand .brand-mark {
  background: linear-gradient(140deg, var(--sf-brand-2) 0%, var(--sf-brand) 100%);
}

.footer-brand > p {
  color: rgba(170, 192, 214, 0.68);
  line-height: 1.7;
  font-size: 0.9rem;
  margin: 20px 0;
}

.human-link {
  color: #7fe4d2;
  font-weight: 600;
  transition: color 0.2s var(--sf-ease);
}

.human-link:hover {
  color: #b0f5e8;
}

.footer-socials a {
  color: rgba(170, 192, 214, 0.72);
  transition: color 0.2s var(--sf-ease);
}

.footer-socials a:hover {
  color: #fff;
}

.footer-grid > div > strong {
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.footer-grid > div > a {
  color: rgba(180, 200, 220, 0.74);
  font-size: 0.875rem;
  transition: color 0.2s var(--sf-ease), transform 0.2s var(--sf-ease);
}

.footer-grid > div > a:hover {
  color: #fff;
  transform: translateX(2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(150, 172, 196, 0.6);
  font-size: 0.78rem;
  margin-top: 52px;
  padding: 24px 0;
}

/* --- Floating WhatsApp --------------------------------------------------- */

.whatsapp-float {
  background: linear-gradient(140deg, #1cb187 0%, #128a68 100%);
  border-radius: 999px;
  box-shadow: 0 14px 32px -12px rgba(16, 122, 94, 0.6);
  font-weight: 600;
  transition: transform 0.26s var(--sf-ease), box-shadow 0.26s var(--sf-ease);
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -14px rgba(16, 122, 94, 0.75);
}

/* --- Article / resource -------------------------------------------------- */

.article-hero {
  background:
    radial-gradient(800px 360px at 85% 0%, rgba(22, 167, 179, 0.1) 0%, transparent 60%),
    linear-gradient(180deg, #f8fbfd 0%, var(--sf-bg) 100%);
}

.article-meta {
  color: var(--sf-muted-2);
}

.article-body section > span {
  color: var(--sf-brand);
  font-weight: 700;
  letter-spacing: 0.13em;
  font-size: 0.72rem;
}

.article-body section:before {
  background: var(--sf-line);
}

.article-checklist {
  background: var(--sf-soft-2);
  border: 1px solid rgba(22, 167, 179, 0.2);
  border-radius: var(--sf-radius-lg);
}

.article-checklist li svg {
  color: var(--sf-brand-2);
}

.resource-grid > a article {
  border-radius: var(--sf-radius-lg);
}

.resource-status {
  color: var(--sf-brand) !important;
  font-weight: 600;
  font-size: 0.78rem;
}

.resource-grid > a:hover article {
  transform: translateY(-4px);
  border-color: rgba(22, 167, 179, 0.34);
  box-shadow: var(--sf-shadow-lg);
}

/* Blog listing (Astra markup) */

.ast-article-post .ast-article-inner {
  background: var(--sf-surface);
  border: 1px solid var(--sf-line);
  border-radius: var(--sf-radius-lg) !important;
  box-shadow: var(--sf-shadow-xs);
  transition: transform 0.3s var(--sf-ease), box-shadow 0.3s var(--sf-ease),
    border-color 0.3s var(--sf-ease);
}

.ast-article-post .ast-article-inner:hover {
  transform: translateY(-4px);
  border-color: rgba(22, 167, 179, 0.32);
  box-shadow: var(--sf-shadow-lg);
}

.entry-title a {
  color: var(--sf-ink);
  letter-spacing: -0.024em;
  font-weight: 600;
  transition: color 0.2s var(--sf-ease);
}

.entry-title a:hover {
  color: var(--sf-brand);
}

.entry-meta,
.entry-meta a {
  color: var(--sf-muted-2) !important;
  font-size: 0.78rem;
}

.cat-links a {
  background: var(--sf-soft);
  color: var(--sf-brand-ink) !important;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* --- Video story --------------------------------------------------------- */

/* This section is dark in the original design (navy background, white text).
   It is kept dark: it gives the page a deliberate rhythm between light sections
   and the white copy needs it. */
.video-story-section {
  background: linear-gradient(165deg, var(--sf-navy) 0%, var(--sf-navy-2) 100%);
  color: rgba(226, 236, 246, 0.86);
  padding: 96px 0;
}

.video-story-section h2,
.video-story-section strong {
  color: #fff;
}

.video-story-section p {
  color: rgba(206, 221, 238, 0.76);
}

.video-story-section .kicker,
.video-story-copy .kicker {
  color: rgba(150, 224, 232, 0.92);
}

.video-story-proof span {
  color: rgba(206, 221, 238, 0.7);
}

.video-story-proof strong {
  color: #fff;
}

.video-frame {
  border-radius: var(--sf-radius-xl);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px;
  box-shadow: 0 34px 70px -34px rgba(0, 0, 0, 0.7);
}

.video-frame video {
  border-radius: calc(var(--sf-radius-xl) - 8px);
  display: block;
  width: 100%;
}

/* --- Trust strip --------------------------------------------------------- */

.trust-strip {
  border-top: 1px solid var(--sf-line);
  border-bottom: 1px solid var(--sf-line);
  background: var(--sf-surface);
}

.trust-strip span {
  color: var(--sf-muted);
  font-weight: 500;
  font-size: 0.85rem;
}

/* --- Motion -------------------------------------------------------------- */

/* Several of the theme's decorative loops animate paint-only properties
   (box-shadow, background-position) forever, which keeps the page repainting
   even when idle and makes scrolling compete for the main thread. They are
   replaced with static equivalents. Only transform-based loops are kept,
   because those run on the compositor. */
.status-dot,
.ops-core,
.hero-grid-bg,
.ops-card:before,
.dark-section:before,
.dark-section:after,
.final-cta:before,
.trial-banner:before,
.inner-hero:after,
.hero-service-mark:after,
.hero-service-mark > svg {
  animation: none !important;
}

/* A calm static halo instead of a pulsing one. */
.status-dot {
  box-shadow: 0 0 0 4px rgba(46, 207, 158, 0.16);
}

.ops-core {
  box-shadow: 0 0 46px rgba(22, 167, 179, 0.24);
}

/* Lighter reveal than the theme default: opacity + a small translate only.
   Dropping the scale() removes an extra compositing layer per element, and a
   shorter duration makes scrolling feel responsive instead of laggy. */
.reveal-item {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition:
    opacity 0.42s var(--sf-ease-out),
    transform 0.42s var(--sf-ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.page-intro {
  animation-duration: 0.5s;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- Responsive ---------------------------------------------------------- */

@media (max-width: 1050px) {
  .section {
    padding: 76px 0;
  }

  .hero {
    padding: 56px 0 72px;
  }

  .hero-layout {
    gap: 44px;
  }

  .container {
    width: calc(100% - 40px);
  }
}

@media (max-width: 780px) {
  .section {
    padding: 60px 0;
  }

  .container {
    width: calc(100% - 32px);
  }

  .hero-copy h1 {
    font-size: clamp(2.1rem, 8.4vw, 2.9rem);
    letter-spacing: -0.038em;
  }

  .inner-hero h1 {
    font-size: clamp(1.85rem, 7.4vw, 2.5rem);
    max-width: none;
  }

  h2 {
    font-size: clamp(1.65rem, 6vw, 2.1rem);
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .ops-card {
    padding: 18px;
    border-radius: var(--sf-radius-lg);
  }

  .form-card {
    padding: 22px;
  }

  .faq-list details {
    padding: 17px 18px;
  }

  .final-cta,
  .trial-banner {
    padding: 56px 0;
  }
}

@media (max-width: 480px) {
  .button {
    min-height: 48px;
  }

  .hero-proof {
    gap: 14px;
  }

  .footer-grid {
    gap: 34px;
  }
}
