@import url("../vendor/bootstrap-icons/bootstrap-icons.min.css");

/* ==========================================================================
   Theme: "Signal"
   Midnight navy, crisp white and mist panels with an electric lime accent.
   Geometric sans headlines (Space Grotesk), Inter for body copy, sharp 8px
   corners and blueprint grid lines.
   Selectors are prefixed with `body` where needed so they win over
   uikit.min.css regardless of the (shuffled) stylesheet load order.
   ========================================================================== */

:root {
  --night: #0a1628;
  --night-2: #0f1f38;
  --night-3: #182c4b;
  --night-line: rgba(255, 255, 255, 0.1);
  --lime: #c6f24e;
  --lime-hover: #d5f77a;
  --lime-deep: #3f6212;
  --sky: #5cc8ff;
  --white: #ffffff;
  --mist: #f1f4f8;
  --mist-2: #e6ebf2;
  --text: #0a1628;
  --muted: #51607a;
  --muted-light: #9fb0c8;
  --line: #dbe2ec;
  --good: #16a34a;
  --bad: #e11d48;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 24px 60px -28px rgba(10, 22, 40, 0.45);
  --shadow-sm: 0 10px 30px -18px rgba(10, 22, 40, 0.35);
  --font-display: "Space Grotesk", "Inter", -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-body: "Inter", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  --header-h: 74px;
  --grid-lines: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  word-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

body h1, body h2, body h3, body h4, body h5, body h6 {
  font-family: var(--font-display);
  color: inherit;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 0.6em;
  text-transform: none;
}
body h1 { font-size: clamp(2.3rem, 5vw, 4rem); }
body h2 { font-size: clamp(1.75rem, 3.1vw, 2.55rem); }
body h3 { font-size: 1.28rem; letter-spacing: -0.015em; }
body h4 { font-size: 1.08rem; letter-spacing: -0.01em; }

body p { margin: 0 0 1em; }
body ul, body ol { margin: 0 0 1em; }

body a { color: var(--night); text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 3px; transition: color 0.2s ease, text-decoration-color 0.2s ease; }
body a:hover { color: var(--lime-deep); text-decoration-color: var(--lime-deep); }

body img { max-width: 100%; height: auto; vertical-align: middle; }

body :focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }

::selection { background: var(--lime); color: var(--night); }

.site-main { flex: 1; position: relative; overflow-x: clip; }
.site-footer { flex-shrink: 0; }

.wrap {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 28px;
}
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

.section { padding: 112px 0; position: relative; }
@media (max-width: 960px) { .section { padding: 72px 0; } }

.section-mist, .section-soft { background: var(--mist); }
.section-night { background: var(--night); color: #dbe4f2; }
.section-night h2, .section-night h3 { color: var(--white); }

/* Eyebrow label: mono-ish uppercase tag with a lime bar */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime-deep);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  background: var(--lime);
  border-radius: 2px;
}
.section-night .eyebrow, .page-hero .eyebrow, .post-hero .eyebrow, .side-card-ink .eyebrow { color: var(--lime); }
.eyebrow-dark { color: var(--night); }
.eyebrow-dark::before { background: var(--night); }

/* Buttons */
body .btn,
body a.cu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border: 0;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
body .btn strong, body a.cu-button strong { font-weight: inherit; }
body .btn-primary,
body a.cu-button.btn-primary {
  background: var(--lime);
  color: var(--night);
  box-shadow: 0 10px 24px -12px rgba(132, 180, 20, 0.8);
}
body .btn-primary:hover,
body a.cu-button.btn-primary:hover { background: var(--lime-hover); color: var(--night); transform: translateY(-2px); }
body .btn-primary::after,
body a.cu-button.btn-primary::after { content: "\2192"; font-weight: 700; transition: transform 0.2s ease; }
body .btn-primary:hover::after { transform: translateX(3px); }
body .btn-dark,
body .btn-ink,
body a.cu-button.btn-ink {
  background: var(--night);
  color: var(--white);
}
body .btn-dark:hover,
body .btn-ink:hover,
body a.cu-button.btn-ink:hover { background: var(--night-3); color: var(--lime); transform: translateY(-2px); }
body .btn-block { display: flex; width: 100%; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 980;
  background: rgba(10, 22, 40, 0.92);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--night-line);
}
.nav-row {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

body .logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
body .logo:hover { color: var(--white); }
.logo-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  padding: 8px 7px;
  border-radius: 8px;
  background: var(--lime);
}
.logo-mark i { display: block; width: 4px; border-radius: 1px; background: var(--night); }
.logo-mark i:nth-child(1) { height: 7px; }
.logo-mark i:nth-child(2) { height: 12px; }
.logo-mark i:nth-child(3) { height: 18px; }

.nav-area { display: flex; align-items: center; }
.main-nav { display: flex; align-items: center; gap: 10px; }
body .nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0 8px 0 0; padding: 0; }
body .nav-links a {
  position: relative;
  display: block;
  padding: 10px 16px;
  color: #c8d3e4;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
body .nav-links a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
body .nav-links a:hover { color: var(--white); }
body .nav-links a:hover::after { transform: scaleX(1); }

.lang-switch { position: relative; }

body .lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--night-line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  font: 600 13px/1 var(--font-body);
  cursor: pointer;
  transition: border-color 0.2s ease;
}
body .lang-btn:hover { border-color: var(--lime); }
body .lang-btn a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
  pointer-events: none; /* let the click open the dropdown */
}
.lang-btn img, .lang-menu img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.toggle-dropdown { display: none; }

body .lang-menu.uk-dropdown {
  min-width: 170px;
  max-height: 60vh;
  overflow-y: auto;
  padding: 6px;
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
body .lang-menu ul { list-style: none; margin: 0; padding: 0; }
body .lang-menu li { margin: 0; }
body .lang-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
body .lang-menu a:hover { background: var(--mist); color: var(--text); }
body .lang-menu .lang-current a { background: var(--mist-2); }

body .nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  background: var(--lime);
  color: var(--night);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
body .nav-cta:hover { background: var(--lime-hover); color: var(--night); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--night-line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  padding-right: 11px;
}
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--white); border-radius: 2px; }
.menu-toggle span:nth-child(2) { width: 14px; background: var(--lime); }
.menu-toggle span:nth-child(3) { width: 9px; }

@media (max-width: 1080px) {
  body .nav-links a { padding: 10px 12px; }
  body .nav-links a::after { left: 12px; right: 12px; }
}
@media (max-width: 960px) {
  body .nav-links, .main-nav > .lang-switch, body .nav-cta { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* Mobile off-canvas */
body .mobile-panel.uk-offcanvas-bar {
  width: min(86vw, 360px);
  padding: 22px;
  background: var(--night);
  background-image: var(--grid-lines);
  background-size: 32px 32px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mobile-panel-head { display: flex; align-items: center; justify-content: space-between; }
body .mobile-close {
  position: static;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--night-line);
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
body .mob-menu { list-style: none; margin: 0; padding: 0; counter-reset: mob; }
body .mob-menu li { border-bottom: 1px solid var(--night-line); counter-increment: mob; }
body .mob-menu a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
}
body .mob-menu a::before {
  content: "0" counter(mob);
  font-size: 12px;
  color: var(--lime);
  letter-spacing: 0.1em;
}
body .mob-menu a:hover { color: var(--lime); }
.lang-mob { position: relative; }
.lang-mob-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-bottom: 10px;
}

/* --------------------------------------------------------------------------
   Hero (home)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 0;
  background: var(--night);
  color: #c8d3e4;
}
.hero::after {
  /* white base the form card sits on */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 150px;
  background: var(--white);
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image: var(--grid-lines);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 40%, transparent 100%);
}
.hero-glow {
  position: absolute;
  width: 760px;
  height: 760px;
  left: 50%;
  top: -420px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 242, 78, 0.22) 0%, rgba(92, 200, 255, 0.08) 45%, transparent 70%);
  pointer-events: none;
}
.hero-stack { position: relative; z-index: 1; }
.hero-copy {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  margin-bottom: 28px;
  border: 1px solid var(--night-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #dbe4f2;
  font-size: 13.5px;
  font-weight: 500;
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(198, 242, 78, 0.2);
}
.hero h1 { color: var(--white); margin-bottom: 22px; }
.hero h1 .hl {
  color: var(--night);
  background: var(--lime);
  padding: 0 0.18em;
  border-radius: 6px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hero-lead {
  max-width: 680px;
  margin: 0 auto 30px;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: #b4c2d8;
}
body .hero-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  list-style: none;
  padding: 0;
  margin: 0 0 56px;
  font-size: 15px;
  font-weight: 500;
  color: #dbe4f2;
}
.hero-points li { display: inline-flex; align-items: center; gap: 10px; }
.tick {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(198, 242, 78, 0.16);
  position: relative;
}
.tick::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  width: 5px;
  height: 9px;
  border: solid var(--lime);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.hero-form-wrap { position: relative; z-index: 2; max-width: 1100px; margin: 0 auto; }

/* --------------------------------------------------------------------------
   Form card (home hero, contact page)
   -------------------------------------------------------------------------- */
.form-card {
  position: relative;
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
}
.form-console { padding: 0; overflow: hidden; }
.form-console .lead-form { padding: 28px 32px 30px; }
.console-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 18px;
  background: var(--night-2);
  border-bottom: 1px solid var(--night-line);
  font: 500 12px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--muted-light);
}
.console-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2b3f60; }
.console-bar i:first-child { background: var(--lime); }
.console-bar span { margin-left: 10px; letter-spacing: 0.04em; }

.form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
body .form-title {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin: 0;
  color: var(--text);
}
.form-badge {
  flex-shrink: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.form-grid .field { grid-column: 1 / -1; min-width: 0; position: relative; }
.form-grid .field-q { grid-column: span 1; }
@media (max-width: 520px) { .form-grid .field-q { grid-column: 1 / -1; } }

/* Wide hero console: four fields in one row, consent beside the button */
@media (min-width: 1000px) {
  .form-console .form-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .form-console .field-consent { grid-column: 1 / span 3; }
  .form-console .field-submit { grid-column: 4 / span 1; }
  .form-console .field-submit .btn-submit { margin-top: 0; }
  .form-console .form-note { text-align: left; }
}

.field-label {
  display: block;
  margin-bottom: 6px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}

body input.form-control,
body .uk-input {
  width: 100%;
  height: 52px;
  padding: 0 14px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
body input.form-control::placeholder { color: #8c99ae; }
body input.form-control:focus {
  outline: none;
  background: var(--white);
  border-color: var(--night);
  box-shadow: 0 0 0 4px rgba(198, 242, 78, 0.45);
}
body input.form-control.error { border-color: var(--bad); }

body .iti { width: 100%; display: block; }
body .iti--separate-dial-code input.form-control,
body .iti input.form-control[type=tel] { padding-left: 96px; }
.iti__selected-dial-code, .iti__country-name { color: var(--muted); }

body .consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
  cursor: pointer;
}
body .consent input[type=checkbox] {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--night);
}

body .btn-submit,
body button.btn_1 {
  width: 100%;
  height: 56px;
  margin: 4px 0 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--night);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
body .btn-submit .btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: var(--lime);
  color: var(--night);
  transition: transform 0.2s ease;
}
body .btn-submit:hover,
body button.btn_1:hover { background: var(--night-3); color: var(--lime); }
body .btn-submit:hover .btn-arrow { transform: translateX(3px); }
body .form-note {
  margin: 10px 0 0;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
}

/* Validation messages (used by js/main.js) */
.hide { display: none !important; }

.error-message,
#message-home {
  display: none;
  width: 100%;
  margin-top: 6px;
  padding: 7px 10px;
  font-size: 12.5px;
  font-weight: 500;
  color: #9f1239;
  background: #ffe4ea;
  border: 0;
  border-left: 3px solid var(--bad);
  border-radius: 4px;
}
#message-home { margin: 0 0 14px; }
#error-msg {
  display: block;
  width: 100% !important;
  margin-top: 6px;
  padding: 7px 10px;
  font-size: 12.5px;
  color: #9f1239 !important;
  background: #ffe4ea;
  border-left: 3px solid var(--bad);
  border-radius: 4px;
}
.showre, #loadering.showre { display: block !important; }

#loadering {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
}
.circle-side2 {
  position: absolute;
  width: 46px;
  height: 46px;
  top: 50%;
  left: 50%;
  margin: -23px 0 0 -23px;
  border: 3px solid var(--mist-2);
  border-top-color: var(--night);
  border-right-color: var(--lime);
  border-radius: 50%;
  animation: animate-preloader 0.8s linear infinite;
}
@keyframes animate-preloader {
  to { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   Disclaimer
   -------------------------------------------------------------------------- */
.disclaimer-band { padding: 56px 0 0; background: var(--white); }
.disclaimer-inner {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.disclaimer-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 2px;
}
.disclaimer-text em { font-size: 13px; line-height: 1.65; font-style: normal; color: var(--muted); }
@media (max-width: 640px) { .disclaimer-inner { grid-template-columns: 1fr; gap: 6px; } }

/* --------------------------------------------------------------------------
   Services overview
   -------------------------------------------------------------------------- */
.services-overview { padding-top: 96px; }
.intro-head {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 56px;
}
.intro-title h2 { margin: 0; font-size: clamp(2rem, 3.8vw, 3rem); }
.intro-text { color: var(--muted); }
.intro-text p:last-child { margin-bottom: 0; }
@media (max-width: 960px) { .intro-head { grid-template-columns: 1fr; gap: 20px; } }

.service-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.service-row .tile {
  border: 0;
  border-radius: 0;
  border-right: 1px solid var(--line);
  box-shadow: none;
}
.service-row .tile:last-child { border-right: 0; }
@media (max-width: 1000px) {
  .service-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-row .tile:nth-child(2n) { border-right: 0; }
  .service-row .tile:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .service-row { grid-template-columns: 1fr; }
  .service-row .tile { border-right: 0; border-bottom: 1px solid var(--line); }
  .service-row .tile:last-child { border-bottom: 0; }
}

.tile {
  position: relative;
  padding: 34px 28px 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: background-color 0.25s ease, color 0.25s ease;
}
.tile::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 3px;
  width: 0;
  background: var(--lime);
  transition: width 0.3s ease;
}
.tile:hover::before { width: 100%; }
.tile:hover { background: var(--night); color: #c8d3e4; }
.tile:hover h3 { color: var(--white); }
.tile-num {
  display: block;
  margin-bottom: 40px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--lime-deep);
  letter-spacing: 0.08em;
}
.tile:hover .tile-num { color: var(--lime); }
.tile h3 { margin-bottom: 12px; }
.tile p { margin: 0; font-size: 15px; color: inherit; opacity: 0.85; }
.tile-featured { background: var(--night); color: #c8d3e4; }
.tile-featured h3 { color: var(--white); }

/* --------------------------------------------------------------------------
   Partner (image + copy)
   -------------------------------------------------------------------------- */
.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 960px) { .partner-grid { grid-template-columns: 1fr; gap: 48px; } }

.media-stack {
  position: relative;
  padding: 0 28px 28px 0;
}
.media-stack::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 70%;
  height: 70%;
  border-radius: var(--radius);
  background: var(--lime);
}
.media-stack::after {
  content: "";
  position: absolute;
  left: -18px;
  top: -18px;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(var(--night) 1.6px, transparent 1.6px);
  background-size: 14px 14px;
  opacity: 0.35;
}
.media-stack .img-1 {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.media-stack .img-shape { display: none; }
.media-tag {
  position: absolute;
  z-index: 2;
  left: 22px;
  bottom: 50px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--night);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.media-stack-alt { padding: 0 0 28px 28px; }
.media-stack-alt::before { right: auto; left: 0; background: var(--night); }
.media-stack-alt::after { left: auto; right: -18px; }

.partner-copy h2, .community-copy h2 { margin-bottom: 22px; }
.partner-copy p, .community-copy p { color: var(--muted); }
.partner-copy .cu-button, .community-copy .cu-button { margin-top: 12px; }

/* --------------------------------------------------------------------------
   Expertise: sticky head + stacked feature rows
   -------------------------------------------------------------------------- */
.expertise-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 72px;
  align-items: start;
}
.expertise-head .section-head { position: sticky; top: calc(var(--header-h) + 40px); }
.expertise-head p { color: var(--muted); }
@media (max-width: 960px) {
  .expertise-grid { grid-template-columns: 1fr; gap: 40px; }
  .expertise-head .section-head { position: static; }
}

.section-head { max-width: 760px; margin-bottom: 48px; }
.expertise-head .section-head { margin-bottom: 0; }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head-center .eyebrow { justify-content: center; }
.section-sub {
  display: block;
  margin-bottom: 16px;
  padding-left: 14px;
  border-left: 3px solid var(--lime);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
}

.feature-list { display: flex; flex-direction: column; gap: 16px; }
.feature-list .feature-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  column-gap: 22px;
  align-items: start;
}
.feature-list .feature-card .feature-icon { grid-row: span 2; margin: 0; }
.feature-list .feature-card h3 { margin: 4px 0 8px; }

.card-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 960px) { .card-row { grid-template-columns: 1fr; } }

.feature-card {
  position: relative;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.feature-card:hover { border-color: var(--night); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.feature-card p { margin: 0; font-size: 15px; color: var(--muted); }
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
  background: var(--night);
  color: var(--lime);
}

/* --------------------------------------------------------------------------
   Call to action panel
   -------------------------------------------------------------------------- */
.cta-section, .cta-band { padding: 0 0 112px; }
.cta-band { padding: 96px 0; }
@media (max-width: 960px) { .cta-section { padding-bottom: 72px; } .cta-band { padding: 64px 0; } }

.cta-inner {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  padding: 64px;
  border-radius: 16px;
  background: var(--lime);
  color: var(--night);
}
.cta-inner::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 56px solid rgba(10, 22, 40, 0.06);
}
.cta-copy { position: relative; max-width: 760px; }
.cta-copy h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.cta-copy p { color: rgba(10, 22, 40, 0.78); }
.cta-copy p:last-child { margin-bottom: 0; }
.cta-action { position: relative; }
.cta-inner .btn-primary,
body .cta-inner a.cu-button.btn-primary { background: var(--night); color: var(--white); box-shadow: none; }
@media (max-width: 860px) {
  .cta-inner { grid-template-columns: 1fr; padding: 40px 24px; }
}

/* --------------------------------------------------------------------------
   Pillars (dark)
   -------------------------------------------------------------------------- */
.pillars { background-image: var(--grid-lines); background-size: 56px 56px; }
.pillars-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  margin-bottom: 56px;
}
.pillars-head .eyebrow { grid-column: 1 / -1; margin-bottom: -14px; }
.pillars-head h2 { max-width: 760px; margin: 0; }
@media (max-width: 760px) { .pillars-head { grid-template-columns: 1fr; } }

.pillar-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--night-line);
  border: 1px solid var(--night-line);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (max-width: 760px) { .pillar-list { grid-template-columns: 1fr; } }
.pillar {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 36px 32px;
  background: var(--night);
  transition: background-color 0.25s ease;
}
.pillar:hover { background: var(--night-2); }
.pillar h3 { margin-bottom: 10px; }
.pillar p { margin: 0; font-size: 15px; color: #a9b8cf; }
.pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(198, 242, 78, 0.4);
  color: var(--lime);
}

/* --------------------------------------------------------------------------
   Community
   -------------------------------------------------------------------------- */
.community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 960px) { .community-grid { grid-template-columns: 1fr; gap: 48px; } }

.check-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.check-item:last-of-type { border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.check-item h3 { font-size: 1.1rem; margin-bottom: 6px; }
.check-item p { margin: 0; font-size: 15px; }
.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--night);
}

/* --------------------------------------------------------------------------
   Review: spec sheet + verdict
   -------------------------------------------------------------------------- */
.review-head { margin-bottom: 32px; }
.review-head h2 { max-width: 720px; }

.spec-table { margin: 0 0 80px; }
body .spec-table table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
body .spec-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  vertical-align: top;
}
body .spec-table tr:last-child td { border-bottom: 0; }
body .spec-table td:first-child {
  width: 34%;
  background: var(--night);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  border-bottom-color: var(--night-line);
}
body .spec-table tr:hover td:last-child { background: #f7fbe9; }
@media (max-width: 640px) {
  body .spec-table td { display: block; width: 100% !important; padding: 12px 16px; }
  body .spec-table td:first-child { border-bottom: 0; }
}

.deep-dive {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}
@media (max-width: 960px) { .deep-dive { grid-template-columns: 1fr; gap: 40px; } }
.deep-copy > p { color: var(--muted); }
.deep-brand {
  display: inline-block;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: var(--night);
  color: var(--lime) !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
}
.deep-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}
@media (max-width: 520px) { .fact-grid { grid-template-columns: 1fr; } }
body .fact {
  margin: 0;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 15px;
}
body .fact strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.fact-wide { grid-column: 1 / -1; }

.verdict {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 960px) { .verdict { grid-template-columns: 1fr; } }
.rating-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 40px 24px;
  border-radius: var(--radius);
  background: var(--night);
  background-image: var(--grid-lines);
  background-size: 28px 28px;
  color: var(--white);
  text-align: center;
}
.rating-card > strong {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-light);
}
.rating-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--night);
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
}
.rating-of { font-family: var(--font-display); font-size: 15px; color: var(--muted-light); }
.rank-math-review-result-wrapper img { max-width: 130px; border-radius: 4px; }

.proscons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 760px) { .proscons { grid-template-columns: 1fr; } }
.pc {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.pc h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 1.3rem;
}
.pc h4::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  background: #dcfce7;
  color: var(--good);
  font-size: 20px;
}
.pc-cons h4::before { content: "\2212"; background: #ffe4ea; color: var(--bad); }
body .pc ul { list-style: none; margin: 0; padding: 0; }
body .pc li {
  position: relative;
  padding: 10px 0 10px 22px;
  border-top: 1px dashed var(--line);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}
body .pc li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--good);
}
body .pc-cons li::before { background: var(--bad); }

/* --------------------------------------------------------------------------
   Inner page hero (about, blog, contact, legal)
   -------------------------------------------------------------------------- */
.page-hero, .post-hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 88px;
  background: var(--night);
  color: #c8d3e4;
}
.page-hero-decor {
  position: absolute;
  inset: 0;
  background-image: var(--grid-lines);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 60%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 60%);
  pointer-events: none;
}
.page-hero-decor::after {
  content: "";
  position: absolute;
  right: -160px;
  top: -200px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 242, 78, 0.2), transparent 65%);
}
.page-hero .wrap, .post-hero .wrap { position: relative; z-index: 1; }
.page-hero h1, .post-hero h1 { color: var(--white); max-width: 900px; }
.page-hero-compact { padding: 64px 0 72px; }
.page-hero-compact h1 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 10px; }
.page-hero-sub { font-size: 1.1rem; color: #b4c2d8; margin: 0; }
.post-hero { padding: 28px 0; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  font: 500 13px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--muted-light);
}
.post-hero .crumbs { margin: 0; }
body .crumbs a { color: var(--lime); text-decoration: none; }
body .crumbs a:hover { color: var(--white); }

.page-hero-grid {
  display: grid;
  grid-template-columns: 7fr 4fr;
  gap: 64px;
  align-items: center;
}
.page-hero-copy .desc { color: #b4c2d8; font-size: 1.05rem; }
@media (max-width: 960px) { .page-hero-grid { grid-template-columns: 1fr; gap: 36px; } }

/* Side cards (about, posts) */
.side-card {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.side-card h4 { margin-bottom: 12px; }
.side-card-ink {
  background: var(--night-2);
  border-color: var(--night-line);
  color: #c8d3e4;
}
.side-card-ink h3 { color: var(--white); }
.page-hero .side-card-ink { background: rgba(255, 255, 255, 0.04); border-color: rgba(198, 242, 78, 0.35); }
body .side-list { list-style: none; padding: 0; margin: 0 0 22px; }
body .side-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--night-line);
  font-size: 15px;
}
body .side-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--lime);
}
body .side-links { list-style: none; margin: 0; padding: 0; }
body .side-links li { border-top: 1px solid var(--line); }
body .side-links a {
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
}
body .side-links a::after { content: "\2192"; color: var(--lime-deep); }
body .side-links a:hover { color: var(--lime-deep); }
.side-sticky { position: sticky; top: calc(var(--header-h) + 24px); }

/* About page grids */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 1080px) { .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .value-grid { grid-template-columns: 1fr; } }
.section-foot { max-width: 820px; margin: 48px auto 0; text-align: center; color: var(--muted); }
.section-head p, .gfa { color: var(--muted); }

/* --------------------------------------------------------------------------
   Blog list: horizontal rows
   -------------------------------------------------------------------------- */
.post-grid { display: flex; flex-direction: column; gap: 20px; }
.post-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.post-card:hover { border-color: var(--night); box-shadow: var(--shadow-sm); }
.post-img a { display: block; height: 100%; }
.post-img img { width: 100%; height: 100%; min-height: 210px; object-fit: cover; }
.post-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
  padding: 32px 36px;
}
.post-tag {
  padding: 5px 10px;
  border-radius: 4px;
  background: var(--mist);
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.post-card-featured { grid-template-columns: 1.2fr 1fr; background: var(--night); border-color: var(--night); }
.post-card-featured .post-tag { background: var(--lime); color: var(--night); }
.post-card-featured .post-img img { min-height: 320px; }
body .post-card .title { margin: 0; font-size: 1.45rem; }
body .post-card-featured .title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
body .post-card .title a { color: var(--text); text-decoration: none; }
body .post-card-featured .title a { color: var(--white); }
body .post-card .title a:hover { color: var(--lime-deep); }
body .post-card-featured .title a:hover { color: var(--lime); }
.read-more { font-family: var(--font-display); font-weight: 700; font-size: 14.5px; color: var(--lime-deep); }
.post-card-featured .read-more { color: var(--lime); }
@media (max-width: 860px) {
  .post-card, .post-card-featured { grid-template-columns: 1fr; }
  .post-img img, .post-card-featured .post-img img { min-height: 0; aspect-ratio: 16 / 9; }
  .post-body { padding: 24px; }
}

/* --------------------------------------------------------------------------
   Single post
   -------------------------------------------------------------------------- */
.post-section { padding-top: 64px; }
.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 64px;
  align-items: start;
}
@media (max-width: 960px) { .post-layout { grid-template-columns: 1fr; gap: 40px; } }
.post-aside { display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(var(--header-h) + 24px); }
.post-aside .side-sticky { position: static; }
@media (max-width: 960px) { .post-aside { position: static; } }

.post-content { max-width: 760px; font-size: 17px; }
.post-content h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 28px; }
.post-content h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); margin-top: 1.8em; }
.post-content h3 { margin-top: 1.6em; }
.post-content p { color: #2c3a52; }
.featuredImg { width: 100%; margin: 0 0 32px; border-radius: var(--radius); }
body .post-content ul { padding: 0; list-style: none; }
body .post-content ul li {
  position: relative;
  padding: 8px 0 8px 28px;
  border-bottom: 1px solid var(--line);
}
body .post-content ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 17px;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(198, 242, 78, 0.3);
}

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */
.page-hero-contact { padding: 72px 0 96px; }
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.contact-lead {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 36px;
}
body .steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
body .steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 26px 62px;
}
body .steps li::before {
  content: "0" counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--lime);
  color: var(--night);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
}
body .steps li::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 48px;
  bottom: 6px;
  width: 1px;
  background: var(--night-line);
}
body .steps li:last-child::after { display: none; }
.steps strong { display: block; color: var(--white); font-family: var(--font-display); font-size: 1.1rem; }
.steps span { font-size: 15px; color: #a9b8cf; }
.contact-form-sec h1 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin-bottom: 8px; color: var(--text); }
.contact-form-sec .form-title { font-size: 1.05rem; font-family: var(--font-body); font-weight: 500; color: var(--muted); letter-spacing: 0; }
.contact-form-sec .form-badge { display: none; }

/* --------------------------------------------------------------------------
   Legal pages
   -------------------------------------------------------------------------- */
.legal-body { padding-top: 64px; }
.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
@media (max-width: 960px) { .legal-layout { grid-template-columns: 1fr; gap: 32px; } }
.legal-nav {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 20px;
  background: var(--mist);
  border-radius: var(--radius);
}
@media (max-width: 960px) { .legal-nav { position: static; } }
.legal-nav h4 {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
body .legal-nav ul { list-style: none; margin: 0; padding: 0; }
body .legal-nav a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
body .legal-nav a:hover { background: var(--white); }
body .legal-nav .is-active a { background: var(--night); color: var(--white); box-shadow: inset 3px 0 0 var(--lime); }

.legal-content { max-width: 820px; }
.legal-content h2,
.legal-content .bold {
  font-size: 1.35rem;
  margin: 2em 0 0.7em;
  padding-top: 1.4em;
  border-top: 1px solid var(--line);
}
.legal-content > h2:first-of-type, .legal-content > .bold:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-content p, .legal-content li { color: #2c3a52; }
.pl-3 { padding-left: 0; }
body .legal-content table {
  width: 100%;
  margin: 1em 0 1.5em;
  border-collapse: collapse;
  font-size: 15px;
  border: 1px solid var(--line);
}
body .legal-content th,
body .legal-content td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
body .legal-content th, body .legal-content thead td { background: var(--night); color: var(--white); font-family: var(--font-display); }
@media (max-width: 640px) { body .legal-content table { display: block; overflow-x: auto; } }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  padding-top: 0;
  background: var(--night);
  color: #a9b8cf;
}
.site-footer::before {
  /* white half behind the floating CTA card */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 80px;
  background: var(--white);
}
body:has(main > section:last-child:is(.section-mist, .section-soft)) .site-footer::before { background: var(--mist); }
.footer-cta-card {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 44px;
  border-radius: 14px;
  background: var(--lime);
  color: var(--night);
}
.footer-cta-copy .eyebrow { margin-bottom: 8px; }
.footer-cta-text {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
@media (max-width: 760px) {
  .footer-cta-card { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding: 72px 0 56px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; padding: 56px 0 40px; } .footer-brand { grid-column: 1 / -1; } }
.footer-brand p { margin: 18px 0 18px; max-width: 360px; }
body .footer-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.footer-tags li {
  padding: 5px 11px;
  border: 1px solid var(--night-line);
  border-radius: 999px;
  font-size: 12.5px;
  color: #c8d3e4;
}
body .footer-heaing {
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
}
body .footer-widget ul:not(.footer-tags) { list-style: none; margin: 0; padding: 0; }
body .footer-widget li { margin-bottom: 10px; }
body .footer-widget a:not(.logo) { color: #dbe4f2; text-decoration: none; font-size: 15px; }
body .footer-widget a:not(.logo):hover { color: var(--lime); }

.footer-bottom { border-top: 1px solid var(--night-line); }
.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  font-size: 13.5px;
}
body .scroll-top { color: #dbe4f2; text-decoration: none; font-weight: 600; }
body .scroll-top:hover { color: var(--lime); }

/* --------------------------------------------------------------------------
   Small screens
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  .hero { padding-top: 56px; }
  .hero::after { height: 90px; }
  body .hero-points { flex-direction: column; align-items: center; gap: 10px; margin-bottom: 40px; }
  .form-console .lead-form { padding: 22px 18px 24px; }
  .form-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .form-card:not(.form-console) { padding: 22px 18px; }
  .disclaimer-band { padding-top: 40px; }
  .services-overview { padding-top: 64px; }
  .tile-num { margin-bottom: 20px; }
  .media-stack { padding: 0 16px 16px 0; }
  .media-stack-alt { padding: 0 0 16px 16px; }
  .media-tag { bottom: 32px; left: 14px; }
  .pillar { grid-template-columns: 1fr; padding: 28px 22px; }
  .feature-list .feature-card { grid-template-columns: 1fr; }
  .feature-list .feature-card .feature-icon { margin-bottom: 16px; }
  .pc { padding: 22px; }
  .page-hero, .page-hero-contact { padding: 52px 0 60px; }
  .footer-bottom-row { padding: 20px 16px; }
}
body:has(main > section:last-child.page-hero) .site-footer::before { background: var(--night); }
