:root {
  --ink: #08111f;
  --ink-soft: #16253a;
  --text: #172033;
  --muted: #586579;
  --line: #dbe5ea;
  --surface: #fbfcf8;
  --surface-strong: #ffffff;
  --surface-cool: #edf6f5;
  --blue: #2f6fed;
  --teal: #0e7c7b;
  --green: #34d399;
  --violet: #7666f6;
  --coral: #d95d39;
  --shadow: 0 20px 60px rgba(8, 17, 31, .12);
  --radius: 8px;
  --radius-lg: 18px;
  --container: 1180px;
  --narrow: 840px;
  --header-height: 78px;
  --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

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

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

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

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

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

a:hover {
  color: var(--teal);
}

:focus-visible {
  outline: 3px solid rgba(47, 111, 237, .9);
  outline-offset: 4px;
}

.screen-reader-text,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--green);
  border-radius: var(--radius);
}

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

.container.narrow {
  max-width: var(--narrow);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--header-height);
  background: rgba(251, 252, 248, .92);
  border-bottom: 1px solid rgba(219, 229, 234, .9);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(calc(100% - 32px), 1280px);
  min-height: var(--header-height);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.1;
  min-width: max-content;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
}

.brand-mark rect {
  fill: var(--ink);
}

.brand-mark path:first-of-type {
  fill: var(--surface-strong);
}

.brand-mark path:last-of-type {
  fill: var(--green);
}

.brand-text {
  letter-spacing: 0;
}

.site-nav {
  margin-left: auto;
}

.primary-menu {
  display: flex;
  align-items: center;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-menu > .menu-item > a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 11px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius);
}

.primary-menu > .menu-item > a:hover,
.primary-menu > .menu-item:focus-within > a {
  color: var(--ink);
  background: var(--surface-cool);
}

.has-mega {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  width: min(980px, calc(100vw - 40px));
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  padding: 18px;
  color: var(--text);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.mega-menu::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 0;
  width: 100%;
  height: 18px;
}

.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-menu.compact {
  width: min(760px, calc(100vw - 40px));
}

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

.mega-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mega-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mega-grid-services {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.mega-column {
  padding: 14px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #f7fbfb);
  border: 1px solid rgba(219, 229, 234, .8);
}

.mega-title {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mega-column a,
.mega-card-link {
  display: block;
  padding: 7px 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.mega-card-link {
  min-height: 118px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.mega-card-link span,
.mega-feature p {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.mega-feature {
  color: #eaf6f5;
  background: linear-gradient(135deg, var(--ink), #123c55);
}

.mega-feature .mega-title,
.mega-feature .text-link {
  color: var(--green);
}

.mega-feature p {
  color: #c8d7e1;
}

.header-cta,
.button,
button.button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  color: #fff;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(8, 17, 31, .16);
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.button:hover,
.header-cta:hover,
button.button:hover,
.wp-block-button__link:hover {
  color: #fff;
  background: var(--teal);
  border-color: var(--teal);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(14, 124, 123, .22);
}

.button-secondary {
  color: var(--ink);
  background: transparent;
  border-color: rgba(8, 17, 31, .18);
  box-shadow: none;
}

.button-secondary:hover {
  color: #fff;
  background: var(--ink);
}

.button-light {
  color: var(--ink);
  background: var(--green);
  border-color: var(--green);
}

.button-light:hover {
  color: var(--ink);
  background: #7be8b7;
  border-color: #7be8b7;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #f7fbff;
  background:
    radial-gradient(circle at 82% 8%, rgba(52, 211, 153, .22), transparent 32%),
    radial-gradient(circle at 12% 72%, rgba(47, 111, 237, .18), transparent 34%),
    linear-gradient(135deg, #08111f 0%, #10213a 52%, #0d3f47 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
}

.hero-inner {
  position: relative;
  width: min(calc(100% - 40px), 1240px);
  min-height: calc(100vh - var(--header-height));
  max-height: 880px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: 48px;
  align-items: center;
  padding: 68px 0 84px;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero .eyebrow,
.dark-section .eyebrow,
.footer-cta .eyebrow {
  color: var(--green);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  color: #f7fbff;
  font-size: clamp(42px, 7vw, 82px);
  max-width: 820px;
}

.hero p {
  max-width: 660px;
  color: #c8d7e1;
  font-size: 20px;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

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

.growth-orbit {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.orbit-core {
  position: relative;
  z-index: 2;
  width: 184px;
  height: 184px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: linear-gradient(135deg, #f7fbff, #c5ffe4);
  border-radius: 50%;
  box-shadow: 0 24px 80px rgba(0,0,0,.28);
  font-size: 22px;
  font-weight: 900;
  text-align: center;
}

.orbit-node {
  position: absolute;
  width: 144px;
  min-height: 76px;
  padding: 14px;
  color: #eff8fb;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
  font-size: 14px;
  font-weight: 800;
}

.orbit-node span {
  display: block;
  margin-top: 3px;
  color: #b7cad7;
  font-size: 12px;
  font-weight: 600;
}

.node-search { top: 28px; left: 50%; transform: translateX(-50%); border-color: rgba(52, 211, 153, .44); }
.node-ai { top: 118px; right: 8px; border-color: rgba(118, 102, 246, .5); }
.node-content { right: 22px; bottom: 102px; border-color: rgba(47, 111, 237, .5); }
.node-website { bottom: 30px; left: 50%; transform: translateX(-50%); border-color: rgba(217, 93, 57, .5); }
.node-authority { left: 8px; bottom: 102px; border-color: rgba(52, 211, 153, .38); }
.node-analytics { top: 118px; left: 8px; border-color: rgba(255,255,255,.32); }

.orbit-lines {
  position: absolute;
  inset: 52px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
}

.orbit-lines::before,
.orbit-lines::after {
  content: "";
  position: absolute;
  inset: 54px;
  border: 1px solid rgba(52, 211, 153, .2);
  border-radius: 50%;
}

.orbit-lines::after {
  inset: 108px;
  border-color: rgba(47, 111, 237, .24);
}

.section {
  padding: 92px 0;
}

.section.alt {
  background: #fff;
}

.section-header {
  width: min(100%, 760px);
  margin-bottom: 34px;
}

.section-header.center {
  margin-inline: auto;
  text-align: center;
}

.section-header h2,
.archive-hero h1,
.not-found h1 {
  font-size: clamp(32px, 4.4vw, 56px);
}

.section-header p,
.archive-hero p,
.not-found p {
  color: var(--muted);
  font-size: 19px;
}

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

.outcome-card,
.service-group,
.feature-card,
.process-step,
.expect-card,
.post-card,
.answer-box,
.highlight-box,
.faq-list details,
.contact-panel,
.form-panel,
.market-card,
.quick-card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 34px rgba(8, 17, 31, .06);
}

.outcome-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 24px;
}

.outcome-card::before {
  content: "";
  display: block;
  width: 46px;
  height: 7px;
  margin-bottom: 28px;
  background: var(--accent, var(--teal));
  border-radius: 20px;
}

.outcome-card h3,
.service-group h3,
.feature-card h3,
.expect-card h3,
.market-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.outcome-card p,
.service-group p,
.feature-card p,
.expect-card p,
.market-card p,
.quick-card p {
  color: var(--muted);
  margin: 0 0 18px;
}

.text-link {
  color: var(--teal);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.services-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-group {
  padding: 28px;
}

.service-links {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.service-links a {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  color: var(--ink);
  border-top: 1px solid var(--line);
  font-weight: 800;
}

.service-links a::after {
  content: "->";
  color: var(--teal);
}

.dark-section {
  color: #eef7f9;
  background: linear-gradient(135deg, #08111f, #0d3443 60%, #0e4c4b);
}

.dark-section h2,
.dark-section h3 {
  color: #fff;
}

.dark-section p {
  color: #c9d9e1;
}

.discovery-map {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr);
  gap: 36px;
  align-items: center;
}

.signal-board {
  position: relative;
  min-height: 420px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 48px 48px;
}

.signal-pill {
  position: absolute;
  padding: 10px 13px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.signal-pill:nth-child(1) { left: 10%; top: 18%; }
.signal-pill:nth-child(2) { left: 50%; top: 12%; }
.signal-pill:nth-child(3) { right: 10%; top: 34%; }
.signal-pill:nth-child(4) { left: 16%; top: 54%; }
.signal-pill:nth-child(5) { right: 18%; bottom: 18%; }
.signal-pill:nth-child(6) { left: 42%; bottom: 30%; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding: 26px;
  counter-increment: step;
}

.process-step::before {
  content: counter(step, decimal-leading-zero);
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-bottom: 42px;
  color: var(--ink);
  background: var(--green);
  border-radius: 50%;
  font-weight: 900;
}

.process-step h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.process-step p {
  margin: 0;
  color: var(--muted);
}

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

.feature-card,
.expect-card,
.market-card,
.quick-card {
  padding: 26px;
}

.feature-card .chip,
.quick-card .chip {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 6px 10px;
  color: var(--ink);
  background: var(--surface-cool);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

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

.worldline {
  margin: 34px 0 0;
  height: 74px;
  background:
    radial-gradient(circle at 15% 45%, var(--teal) 0 4px, transparent 5px),
    radial-gradient(circle at 50% 40%, var(--violet) 0 4px, transparent 5px),
    radial-gradient(circle at 80% 48%, var(--green) 0 4px, transparent 5px),
    linear-gradient(90deg, transparent 0 13%, rgba(8,17,31,.15) 13% 17%, transparent 17% 47%, rgba(8,17,31,.15) 47% 53%, transparent 53% 78%, rgba(8,17,31,.15) 78% 83%, transparent 83%);
  border-radius: var(--radius-lg);
}

.expect-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.expect-card {
  padding: 22px;
}

.insights-row,
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.post-card {
  overflow: hidden;
}

.post-card-link {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: 26px;
}

.post-card h2 {
  margin-bottom: 12px;
  font-size: 24px;
}

.post-card p:not(.eyebrow) {
  color: var(--muted);
}

.post-card .text-link {
  margin-top: auto;
}

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

.faq-list details {
  padding: 0;
  overflow: clip;
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 24px;
  color: var(--ink);
  font-weight: 900;
}

.faq-list details p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted);
}

.cta-band,
.footer-cta {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  padding: 36px;
  color: #edf6f5;
  background: linear-gradient(135deg, var(--ink), #0e4c4b);
  border-radius: var(--radius-lg);
}

.cta-band h2,
.footer-cta h2 {
  color: #fff;
  font-size: clamp(28px, 4vw, 44px);
}

.cta-band p,
.footer-cta p {
  max-width: 720px;
  color: #c8d7e1;
}

.breadcrumbs {
  width: min(calc(100% - 40px), var(--container));
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: #9aa7b5;
}

.page-hero,
.archive-hero,
.article-hero,
.not-found {
  padding: 86px 0 64px;
}

.page-hero h1,
.article-hero h1 {
  max-width: 920px;
  font-size: clamp(38px, 6vw, 72px);
}

.page-hero p,
.article-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 20px;
}

.answer-box {
  padding: 28px;
  border-left: 6px solid var(--green);
}

.highlight-box {
  padding: 28px;
}

.answer-box h2 {
  margin-bottom: 12px;
  font-size: 30px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: start;
}

.check-list,
.plain-list,
.service-links-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.plain-list li,
.service-links-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before,
.plain-list li::before,
.service-links-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 10px;
  height: 10px;
  background: var(--teal);
  border-radius: 50%;
}

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

.capability-grid li {
  min-height: 110px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  list-style: none;
  font-weight: 800;
}

.related-services {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.related-services a {
  padding: 9px 12px;
  background: var(--surface-cool);
  border-radius: 999px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.08fr);
  gap: 24px;
  align-items: start;
}

.contact-panel,
.form-panel {
  padding: 28px;
}

.dgs-contact-form {
  display: grid;
  gap: 18px;
}

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

.field label,
.field legend {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.field input,
.field select,
.field textarea,
.search-field {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--text);
  background: #fff;
  border: 1px solid #cdd9df;
  border-radius: var(--radius);
  font: inherit;
}

.field textarea {
  min-height: 146px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.search-field:focus {
  outline: 3px solid rgba(47, 111, 237, .25);
  border-color: var(--blue);
}

.consent-field {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 15px;
}

.consent-field input {
  margin-top: 6px;
}

.form-message {
  padding: 14px 16px;
  border-radius: var(--radius);
  font-weight: 800;
}

.form-message.success {
  color: #053d2a;
  background: #dff8ed;
}

.form-message.error {
  color: #6b1d14;
  background: #fde8e3;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.prose {
  color: var(--text);
}

.prose > * + * {
  margin-top: 1.05em;
}

.prose h2 {
  margin-top: 1.8em;
  font-size: clamp(28px, 4vw, 40px);
}

.prose h3 {
  margin-top: 1.4em;
  font-size: 24px;
}

.prose p,
.prose li {
  color: #26344a;
}

.prose a {
  color: var(--teal);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 760px);
  gap: 44px;
  align-items: start;
  padding-bottom: 90px;
}

.toc {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.toc p {
  margin: 0 0 10px;
  color: var(--ink);
  font-weight: 900;
}

.toc a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.article-meta {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.article-cta {
  margin-top: 54px;
  padding: 28px;
  background: var(--surface-cool);
  border-radius: var(--radius);
}

.article-cta h2 {
  margin-top: 0;
  font-size: 30px;
}

.search-form {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.search-form label {
  flex: 1;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.quick-links a {
  padding: 10px 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 900;
}

.site-footer {
  padding: 54px 0 26px;
  color: #dce8ec;
  background: var(--ink);
}

.footer-grid {
  width: min(calc(100% - 40px), var(--container));
  margin: 42px auto 0;
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(5, minmax(120px, 1fr));
  gap: 28px;
}

.site-footer h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 15px;
}

.site-footer ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: #dce8ec;
}

.site-footer a:hover {
  color: var(--green);
}

.footer-brand p {
  color: #b7cad7;
}

.brand-footer .brand-text,
.brand-footer {
  color: #fff;
}

.brand-footer .brand-mark rect {
  fill: #fff;
}

.brand-footer .brand-mark path:first-of-type {
  fill: var(--ink);
}

.remote-note {
  font-size: 14px;
}

.footer-bottom {
  width: min(calc(100% - 40px), var(--container));
  margin: 34px auto 0;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: #a7bac8;
  font-size: 14px;
}

@media (max-width: 1100px) {
  .header-cta {
    display: none;
  }

  .mega-grid-services,
  .expect-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .outcome-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .header-inner {
    width: min(calc(100% - 28px), 1280px);
  }

  .nav-toggle {
    margin-left: auto;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }

  .nav-toggle-lines,
  .nav-toggle-lines::before,
  .nav-toggle-lines::after {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
  }

  .nav-toggle-lines {
    position: relative;
  }

  .nav-toggle-lines::before,
  .nav-toggle-lines::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .nav-toggle-lines::before { top: -7px; }
  .nav-toggle-lines::after { top: 7px; }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    max-height: calc(100vh - var(--header-height));
    overflow: auto;
    display: none;
    padding: 16px;
    background: var(--surface-strong);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: block;
  }

  .primary-menu {
    display: grid;
    align-items: stretch;
  }

  .primary-menu > .menu-item > a {
    width: 100%;
    min-height: 48px;
    padding: 12px;
  }

  .mega-menu {
    position: static;
    width: 100%;
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    padding: 8px 0 16px;
    border: 0;
  }

  .mega-grid,
  .mega-grid.two,
  .mega-grid.three,
  .mega-grid-services {
    grid-template-columns: 1fr;
  }

  .hero-inner,
  .discovery-map,
  .split-section,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
    padding: 54px 0 64px;
  }

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

  .services-matrix,
  .card-grid,
  .market-strip,
  .insights-row,
  .post-grid,
  .capability-grid {
    grid-template-columns: 1fr 1fr;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .container,
  .breadcrumbs,
  .cta-band,
  .footer-cta,
  .footer-grid,
  .footer-bottom {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand-text {
    max-width: 160px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero p,
  .page-hero p,
  .article-hero p {
    font-size: 18px;
  }

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

  .orbit-core {
    width: 136px;
    height: 136px;
    font-size: 18px;
  }

  .orbit-node {
    width: 122px;
    min-height: 66px;
    padding: 10px;
    font-size: 12px;
  }

  .outcome-grid,
  .services-matrix,
  .process-grid,
  .card-grid,
  .expect-grid,
  .market-strip,
  .insights-row,
  .post-grid,
  .capability-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }

  .page-hero,
  .archive-hero,
  .article-hero,
  .not-found {
    padding: 62px 0 44px;
  }

  .cta-band,
  .footer-cta {
    display: block;
    padding: 26px;
  }

  .cta-band .button,
  .footer-cta .button {
    margin-top: 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    display: block;
  }

  .search-form {
    display: grid;
  }
}

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

/* Premium visual system */
:root {
  --hero-bg: #07111f;
  --cyan: #62e7f2;
  --glass: rgba(255, 255, 255, .085);
  --motion-ease: cubic-bezier(.2, .8, .2, 1);
}

.home .site-header {
  position: fixed;
  width: 100%;
  background: rgba(7, 17, 31, .48);
  border-bottom-color: rgba(255, 255, 255, .12);
}

.admin-bar.home .site-header {
  top: 32px;
}

.home .site-header .brand,
.home .site-header .primary-menu > .menu-item > a {
  color: #f6fbff;
}

.home .site-header:not(.is-scrolled) .header-cta {
  color: var(--ink);
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 16px 34px rgba(52, 211, 153, .18);
}

.home .site-header .brand-mark rect {
  fill: #f6fbff;
}

.home .site-header .brand-mark path:first-of-type {
  fill: var(--ink);
}

.home .site-header .nav-toggle {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .18);
}

.home .site-header .nav-toggle-lines,
.home .site-header .nav-toggle-lines::before,
.home .site-header .nav-toggle-lines::after {
  background: #f6fbff;
}

.home .site-header.is-scrolled,
.home.nav-open .site-header {
  background: rgba(251, 252, 248, .95);
  border-bottom-color: rgba(219, 229, 234, .9);
}

.home .site-header.is-scrolled .brand,
.home .site-header.is-scrolled .primary-menu > .menu-item > a,
.home.nav-open .site-header .brand,
.home.nav-open .site-header .primary-menu > .menu-item > a {
  color: var(--ink-soft);
}

.home .site-header.is-scrolled .brand-mark rect,
.home.nav-open .site-header .brand-mark rect {
  fill: var(--ink);
}

.home .site-header.is-scrolled .brand-mark path:first-of-type,
.home.nav-open .site-header .brand-mark path:first-of-type {
  fill: var(--surface-strong);
}

.home .site-header.is-scrolled .nav-toggle,
.home.nav-open .site-header .nav-toggle {
  background: #fff;
  border-color: var(--line);
}

.home .site-header.is-scrolled .nav-toggle-lines,
.home .site-header.is-scrolled .nav-toggle-lines::before,
.home .site-header.is-scrolled .nav-toggle-lines::after,
.home.nav-open .site-header .nav-toggle-lines,
.home.nav-open .site-header .nav-toggle-lines::before,
.home.nav-open .site-header .nav-toggle-lines::after {
  background: var(--ink);
}

.hero-cinematic {
  min-height: 92vh;
  isolation: isolate;
  background:
    radial-gradient(circle at 78% 22%, rgba(98, 231, 242, .18), transparent 28%),
    radial-gradient(circle at 22% 78%, rgba(118, 102, 246, .18), transparent 32%),
    radial-gradient(circle at 52% 50%, rgba(52, 211, 153, .10), transparent 34%),
    linear-gradient(145deg, #040b16 0%, #07111f 46%, #0a2638 100%);
}

.hero-cinematic::before {
  z-index: 0;
  opacity: .26;
  background-image:
    linear-gradient(rgba(98, 231, 242, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(98, 231, 242, .07) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(circle at 50% 45%, #000 0 42%, transparent 75%);
}

.hero-cinematic::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4, 11, 22, .9), rgba(4, 11, 22, .38) 48%, rgba(4, 11, 22, .16)),
    radial-gradient(circle at 46% 45%, transparent 0 28%, rgba(4, 11, 22, .36) 72%);
}

.hero-canvas,
.hero-field-fallback,
.hero-fade {
  position: absolute;
  pointer-events: none;
}

.hero-canvas,
.hero-field-fallback {
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-canvas {
  z-index: 1;
  opacity: 0;
  transition: opacity .9s var(--motion-ease);
}

.hero-cinematic.is-canvas-ready .hero-canvas {
  opacity: 1;
}

.hero-field-fallback {
  z-index: 0;
  opacity: .58;
  background:
    radial-gradient(circle at 18% 72%, rgba(52, 211, 153, .32) 0 2px, transparent 3px),
    radial-gradient(circle at 30% 62%, rgba(98, 231, 242, .26) 0 2px, transparent 3px),
    radial-gradient(circle at 62% 38%, rgba(47, 111, 237, .22) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 48%, rgba(118, 102, 246, .22) 0 2px, transparent 3px);
  background-size: 180px 120px, 220px 160px, 260px 180px, 300px 220px;
  filter: drop-shadow(0 0 24px rgba(98, 231, 242, .24));
}

.hero-fade {
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 2;
  height: 190px;
  background: linear-gradient(to bottom, transparent, var(--surface));
}

.hero-cinematic .hero-inner {
  z-index: 3;
  min-height: min(940px, 94vh);
  max-height: none;
  grid-template-columns: minmax(0, 830px) minmax(220px, 1fr);
  padding-top: calc(var(--header-height) + 78px);
  padding-bottom: 120px;
}

.hero-cinematic .hero-copy {
  max-width: 830px;
}

.hero-cinematic .hero h1,
.hero-cinematic h1 {
  font-size: clamp(44px, 6.8vw, 86px);
}

.hero-cinematic p {
  max-width: 760px;
}

.hero-copy > * {
  opacity: 0;
  transform: translateY(16px);
  animation: heroIntro .68s var(--motion-ease) forwards;
}

.hero-copy > *:nth-child(1) { animation-delay: .12s; }
.hero-copy > *:nth-child(2) { animation-delay: .22s; }
.hero-copy > *:nth-child(3) { animation-delay: .34s; }
.hero-copy > *:nth-child(4) { animation-delay: .46s; }

@keyframes heroIntro {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.button-ghost-light {
  color: #f7fbff;
  border-color: rgba(255, 255, 255, .24);
}

.button-ghost-light:hover {
  color: var(--ink);
  background: #f7fbff;
  border-color: #f7fbff;
}

.section-header p.eyebrow,
.page-hero p.eyebrow,
.archive-hero p.eyebrow,
.article-hero p.eyebrow,
.not-found p.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-cinematic p.eyebrow,
.dark-section p.eyebrow {
  color: var(--green);
}

.hero-signal-rail {
  position: relative;
  min-height: 430px;
}

.hero-signal-rail span {
  position: absolute;
  min-width: 110px;
  padding: 10px 13px;
  color: rgba(241, 249, 255, .86);
  background: rgba(255, 255, 255, .075);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, .22);
  backdrop-filter: blur(14px);
  font-size: 13px;
  font-weight: 900;
}

.hero-signal-rail span:nth-child(1) { top: 8%; left: 0; }
.hero-signal-rail span:nth-child(2) { top: 23%; right: 7%; }
.hero-signal-rail span:nth-child(3) { top: 42%; left: 16%; }
.hero-signal-rail span:nth-child(4) { top: 57%; right: 0; }
.hero-signal-rail span:nth-child(5) { bottom: 18%; left: 5%; }
.hero-signal-rail span:nth-child(6) { bottom: 6%; right: 18%; }

.page-hero--visual,
.archive-hero,
.article-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 12%, rgba(98, 231, 242, .16), transparent 28%),
    radial-gradient(circle at 16% 88%, rgba(52, 211, 153, .16), transparent 28%),
    linear-gradient(180deg, #f7fbff 0%, var(--surface) 100%);
}

.page-hero--visual::before,
.article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .46;
  background-image:
    linear-gradient(rgba(8, 17, 31, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 17, 31, .045) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(100deg, #000, transparent 74%);
}

.page-hero-grid,
.article-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, .55fr);
  gap: 54px;
  align-items: center;
}

.page-hero-copy {
  max-width: 890px;
}

.visual-card {
  --visual-a: var(--teal);
  --visual-b: var(--blue);
  --visual-c: var(--green);
  position: relative;
  min-height: 314px;
  overflow: hidden;
  padding: 22px;
  background:
    radial-gradient(circle at 24% 72%, color-mix(in srgb, var(--visual-c) 28%, transparent), transparent 28%),
    radial-gradient(circle at 72% 22%, color-mix(in srgb, var(--visual-b) 28%, transparent), transparent 30%),
    linear-gradient(145deg, #07111f, #0b2233 64%, #0e3243);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 70px rgba(8, 17, 31, .16);
}

.visual-card--ai-search-optimization,
.visual-card--market-uk {
  --visual-a: var(--violet);
  --visual-b: var(--cyan);
  --visual-c: var(--green);
}

.visual-card--conversion-rate-optimization,
.visual-card--market-us {
  --visual-a: var(--coral);
  --visual-b: var(--blue);
  --visual-c: var(--green);
}

.visual-card--content-marketing,
.visual-card--email-marketing,
.visual-card--lifecycle-marketing,
.visual-card--market-canada {
  --visual-a: var(--green);
  --visual-b: var(--teal);
  --visual-c: var(--violet);
}

.visual-grid {
  position: absolute;
  inset: 0;
  opacity: .35;
  background-image:
    linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .1) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 52%, #000, transparent 78%);
}

.visual-orb {
  position: absolute;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--visual-a) 78%, #fff 12%), transparent 66%);
  filter: blur(2px);
  opacity: .9;
}

.visual-orb-a { left: 14%; bottom: 18%; }
.visual-orb-b { right: 12%; top: 14%; background: radial-gradient(circle, color-mix(in srgb, var(--visual-b) 80%, #fff 12%), transparent 66%); }

.visual-route {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--visual-c) 80%, #fff 10%), transparent);
  transform-origin: center;
  opacity: .65;
}

.visual-route-a {
  left: 16%;
  right: 12%;
  top: 48%;
  transform: rotate(-16deg);
}

.visual-route-b {
  left: 22%;
  right: 18%;
  top: 62%;
  transform: rotate(14deg);
}

.visual-label {
  position: absolute;
  padding: 8px 10px;
  color: #f7fbff;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 900;
}

.visual-label-1 { left: 11%; top: 18%; }
.visual-label-2 { right: 12%; top: 31%; }
.visual-label-3 { left: 24%; bottom: 22%; }
.visual-label-4 { right: 18%; bottom: 14%; }

.visual-break {
  padding-top: 0;
}

.service-diagram {
  position: relative;
  overflow: hidden;
  padding: 26px;
  color: #edf8fb;
  background:
    radial-gradient(circle at 10% 50%, rgba(52, 211, 153, .22), transparent 24%),
    radial-gradient(circle at 90% 40%, rgba(98, 231, 242, .20), transparent 26%),
    linear-gradient(135deg, #07111f, #0b3140);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg);
  box-shadow: 0 22px 60px rgba(8, 17, 31, .12);
}

.diagram-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.diagram-track::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(98, 231, 242, .72), transparent);
}

.diagram-track span {
  position: relative;
  z-index: 1;
  min-height: 86px;
  display: grid;
  place-items: center;
  padding: 14px;
  text-align: center;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}

.diagram-track strong {
  font-size: 14px;
}

.category-visual,
.card-visual {
  position: relative;
  display: block;
  overflow: hidden;
  margin-bottom: 22px;
  min-height: 118px;
  background:
    radial-gradient(circle at 22% 68%, rgba(52, 211, 153, .18), transparent 24%),
    radial-gradient(circle at 74% 24%, rgba(47, 111, 237, .15), transparent 28%),
    linear-gradient(135deg, #f9fcff, #eef8f7);
  border: 1px solid rgba(219, 229, 234, .9);
  border-radius: var(--radius);
}

.category-visual::before,
.card-visual::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(14, 124, 123, .14);
  border-radius: 999px;
}

.category-dot {
  position: absolute;
  padding: 7px 9px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(219, 229, 234, .9);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.category-dot-1 { left: 10%; top: 22%; }
.category-dot-2 { right: 12%; top: 28%; }
.category-dot-3 { left: 36%; bottom: 18%; }

.card-visual::after {
  content: "";
  position: absolute;
  left: 20%;
  right: 16%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14, 124, 123, .42), transparent);
  transform: rotate(-10deg);
}

.outcome-card,
.service-group,
.feature-card,
.process-step,
.expect-card,
.post-card,
.market-card,
.quick-card,
.mega-card-link,
.related-services a,
.quick-links a {
  transition: transform .28s var(--motion-ease), box-shadow .28s var(--motion-ease), border-color .28s var(--motion-ease), background .28s var(--motion-ease);
}

@media (hover: hover) {
  .outcome-card:hover,
  .service-group:hover,
  .feature-card:hover,
  .process-step:hover,
  .expect-card:hover,
  .post-card:hover,
  .market-card:hover,
  .quick-card:hover,
  .mega-card-link:hover {
    transform: translateY(-5px);
    border-color: color-mix(in srgb, var(--teal) 42%, var(--line));
    box-shadow: 0 24px 66px rgba(8, 17, 31, .13);
  }

  .service-links a:hover::after,
  .text-link:hover {
    transform: translateX(4px);
  }
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .22s ease, transform .22s ease;
}

.text-link::after {
  content: "";
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width .22s ease;
}

.text-link:hover::after {
  width: 18px;
}

.ai-discovery-section {
  position: relative;
  overflow: hidden;
}

.ai-discovery-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .28;
  background-image:
    radial-gradient(circle at 24% 26%, rgba(98, 231, 242, .22), transparent 18%),
    radial-gradient(circle at 82% 72%, rgba(118, 102, 246, .18), transparent 22%);
}

.ai-flow {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px),
    rgba(255, 255, 255, .045);
  background-size: 46px 46px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .2);
}

.ai-flow-node {
  position: absolute;
  width: min(190px, 42%);
  padding: 13px 14px;
  color: #f7fbff;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
}

.ai-flow-node strong,
.ai-flow-node small {
  display: block;
}

.ai-flow-node strong {
  font-size: 14px;
}

.ai-flow-node small {
  margin-top: 4px;
  color: #b7cad7;
  font-size: 12px;
  line-height: 1.35;
}

.ai-flow-node-1 { left: 7%; top: 10%; }
.ai-flow-node-2 { left: 39%; top: 20%; }
.ai-flow-node-3 { right: 7%; top: 10%; }
.ai-flow-node-4 { left: 12%; bottom: 18%; }
.ai-flow-node-5 { left: 42%; bottom: 10%; }
.ai-flow-node-6 { right: 8%; bottom: 24%; border-color: rgba(52, 211, 153, .5); }

.ai-flow-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(98, 231, 242, .74), transparent);
  transform-origin: center;
  animation: linePulse 3.8s ease-in-out infinite;
}

.ai-flow-line-a { left: 12%; right: 10%; top: 39%; transform: rotate(8deg); }
.ai-flow-line-b { left: 18%; right: 12%; bottom: 38%; transform: rotate(-12deg); animation-delay: .8s; }
.ai-flow-line-c { left: 35%; right: 8%; top: 58%; transform: rotate(24deg); animation-delay: 1.4s; }

@keyframes linePulse {
  0%, 100% { opacity: .28; }
  50% { opacity: .9; }
}

.process-flow {
  position: relative;
}

.process-flow::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 49px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14, 124, 123, .42), transparent);
}

.process-flow .process-step {
  z-index: 1;
}

.remote-section {
  background:
    radial-gradient(circle at 90% 20%, rgba(98, 231, 242, .11), transparent 28%),
    linear-gradient(180deg, var(--surface), #eef6f8);
}

.remote-market-visual {
  position: relative;
  overflow: hidden;
  margin-bottom: 22px;
  padding: 18px;
  color: #f7fbff;
  background: linear-gradient(135deg, #07111f, #0b3140);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 70px rgba(8, 17, 31, .15);
}

.remote-market-visual svg {
  width: 100%;
  height: auto;
}

.map-arc {
  fill: none;
  stroke: rgba(98, 231, 242, .56);
  stroke-width: 1.7;
  stroke-dasharray: 7 11;
  animation: dashDrift 9s linear infinite;
}

.map-arc-b {
  stroke: rgba(52, 211, 153, .48);
  animation-delay: -2s;
}

.map-arc-c {
  stroke: rgba(118, 102, 246, .54);
  animation-delay: -4s;
}

.market-node circle {
  fill: var(--green);
  filter: drop-shadow(0 0 12px rgba(52, 211, 153, .75));
}

.market-node text {
  fill: #f7fbff;
  font-size: 18px;
  font-weight: 800;
}

.map-caption {
  position: absolute;
  left: 22px;
  bottom: 18px;
  color: #b7cad7;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

@keyframes dashDrift {
  to { stroke-dashoffset: -72; }
}

.post-card-link {
  gap: 0;
}

.post-visual {
  position: relative;
  display: block;
  min-height: 132px;
  margin: -26px -26px 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 60%, rgba(52, 211, 153, .24), transparent 24%),
    radial-gradient(circle at 74% 26%, rgba(47, 111, 237, .22), transparent 28%),
    linear-gradient(135deg, #07111f, #0f3247);
}

.post-visual span {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
}

.post-visual span:nth-child(1) { width: 150px; height: 52px; left: 18%; top: 28%; transform: rotate(-16deg); }
.post-visual span:nth-child(2) { width: 110px; height: 110px; right: 16%; top: 14%; }
.post-visual span:nth-child(3) { width: 180px; height: 1px; left: 28%; bottom: 28%; background: rgba(98, 231, 242, .48); }

.article-hero .post-visual {
  min-height: 320px;
  margin: 0;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 70px rgba(8, 17, 31, .13);
}

.faq-list summary {
  position: relative;
  list-style: none;
  padding-right: 58px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--surface-cool);
  border-radius: 50%;
  transform: translateY(-50%);
  transition: transform .24s var(--motion-ease), background .24s ease;
}

.faq-list details[open] summary::after {
  background: #dff8ed;
  transform: translateY(-50%) rotate(45deg);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity .62s var(--motion-ease),
    transform .62s var(--motion-ease);
  transition-delay: calc(var(--reveal-index, 0) * 55ms);
}

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

@media (max-width: 900px) {
  .home .site-header {
    position: sticky;
  }

  .admin-bar.home .site-header {
    top: 46px;
  }

  .hero-cinematic .hero-inner,
  .page-hero-grid,
  .article-hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-cinematic .hero-inner {
    min-height: auto;
    padding-top: calc(var(--header-height) + 38px);
    padding-bottom: 84px;
  }

  .hero-signal-rail {
    min-height: 220px;
  }

  .page-visual {
    min-height: 260px;
  }

  .diagram-track {
    grid-template-columns: 1fr;
  }

  .diagram-track::before,
  .process-flow::before {
    display: none;
  }

  .ai-flow {
    min-height: 540px;
  }
}

@media (max-width: 640px) {
  .admin-bar.home .site-header {
    top: 0;
  }

  .hero-cinematic {
    min-height: auto;
  }

  .hero-cinematic .hero-inner {
    padding-top: 54px;
    padding-bottom: 74px;
  }

  .hero-cinematic h1 {
    font-size: 40px;
  }

  .hero-signal-rail {
    display: none;
  }

  .visual-card {
    min-height: 240px;
  }

  .visual-label {
    font-size: 11px;
  }

  .ai-flow {
    min-height: auto;
    display: grid;
    gap: 10px;
    padding: 16px;
  }

  .ai-flow-node {
    position: static;
    width: 100%;
  }

  .ai-flow-line {
    display: none;
  }

  .map-caption {
    position: static;
    display: block;
    padding: 0 4px 6px;
  }

  .market-node text {
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-canvas {
    display: none;
  }

  .hero-cinematic.is-canvas-ready .hero-canvas {
    opacity: 0;
  }

  .hero-copy > *,
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }

  .ai-flow-line,
  .map-arc {
    animation: none !important;
  }
}
