:root {
  --ink: #0b1f35;
  --blue: #4f95c7;
  --paper: #f8fafc;
  --mist: #edf4fa;
  --gold: #c8a24a;
  --text: #27384a;
  --muted: #617184;
  --line: rgba(11, 31, 53, 0.12);
  --shadow: 0 24px 70px rgba(11, 31, 53, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.section-shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 16px 0 auto;
  z-index: 50;
  display: flex;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 14px 16px;
  color: var(--ink);
  background: rgba(248, 250, 252, 0.84);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(11, 31, 53, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: white;
  background:
    radial-gradient(circle at 68% 20%, rgba(200, 162, 74, 0.22), transparent 28%),
    linear-gradient(145deg, #123a5c, var(--ink));
  border: 1px solid rgba(200, 162, 74, 0.3);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(248, 250, 252, 0.12), 0 10px 24px rgba(11, 31, 53, 0.16);
}

.brand-mark svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mark-ring {
  stroke: rgba(200, 162, 74, 0.72);
  stroke-width: 1.5;
}

.mark-n {
  stroke: white;
  stroke-width: 2.6;
}

.mark-spark {
  stroke: var(--gold);
  stroke-width: 1.8;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  padding: 0;
  background: white;
  border: 1px solid rgba(11, 31, 53, 0.12);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(11, 31, 53, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  grid-area: 1 / 1;
  background: var(--ink);
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle span:first-child {
  transform: translateY(-7px);
}

.menu-toggle span:last-child {
  transform: translateY(7px);
}

.site-header.menu-open .menu-toggle span:first-child {
  transform: rotate(45deg);
}

.site-header.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.menu-open .menu-toggle span:last-child {
  transform: rotate(-45deg);
}

.nav-links {
  gap: clamp(12px, 2vw, 28px);
  color: #385066;
  font-size: 0.88rem;
  font-weight: 800;
}

.nav-links a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-links .nav-cta {
  padding: 0 16px;
  color: white;
  background: var(--ink);
  border: 1px solid rgba(11, 31, 53, 0.12);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(11, 31, 53, 0.14);
}

.nav-links .nav-cta:hover {
  color: white;
  background: #163553;
  transform: translateY(-1px);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 122px;
  background:
    radial-gradient(circle at 78% 22%, rgba(79, 149, 199, 0.28), transparent 30%),
    radial-gradient(circle at 24% 10%, rgba(200, 162, 74, 0.14), transparent 26%),
    linear-gradient(135deg, #f8fafc 0%, #edf4fa 54%, #f8fafc 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(11, 31, 53, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 31, 53, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, black, transparent 78%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.85fr);
  gap: clamp(44px, 8vw, 92px);
  align-items: center;
}

.hero-copy-block,
.hero-system,
.trust-grid,
.audience-card,
.feature-card,
.service-card,
.method-story,
.standards-panel,
.footer-grid {
  animation: rise-in 700ms ease both;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  max-width: 13.4ch;
  font-size: clamp(3.1rem, 6.3vw, 6.25rem);
  line-height: 0.94;
}

h2 {
  max-width: 760px;
  font-size: clamp(2.15rem, 4.4vw, 4.8rem);
  line-height: 1;
}

h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.14rem;
  line-height: 1.24;
}

.hero-copy {
  max-width: 650px;
  margin: 28px 0 0;
  color: #334b63;
  font-size: clamp(1.06rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: white;
  background: var(--ink);
  box-shadow: 0 16px 34px rgba(11, 31, 53, 0.2);
}

.button.primary:hover {
  background: #163553;
}

.button.secondary {
  color: var(--ink);
  background: rgba(248, 250, 252, 0.72);
  border-color: rgba(11, 31, 53, 0.16);
}

.button.secondary:hover {
  border-color: rgba(79, 149, 199, 0.5);
  box-shadow: 0 12px 28px rgba(11, 31, 53, 0.08);
}

.hero-system {
  position: relative;
  min-height: 520px;
  border: 1px solid rgba(11, 31, 53, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(248, 250, 252, 0.78), rgba(237, 244, 250, 0.72)),
    radial-gradient(circle at 50% 45%, rgba(79, 149, 199, 0.28), transparent 38%);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  animation: rise-in 700ms ease both, system-glow 5.6s ease-in-out infinite;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(79, 149, 199, 0.32);
  border-radius: 50%;
}

.orbit-one {
  inset: 72px 52px;
  animation: slow-spin 18s linear infinite;
}

.orbit-two {
  inset: 128px 96px;
  border-color: rgba(200, 162, 74, 0.3);
  animation: slow-spin 22s linear infinite reverse;
}

.core-card,
.floating-card {
  position: absolute;
  border: 1px solid rgba(11, 31, 53, 0.12);
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.88);
  box-shadow: 0 18px 40px rgba(11, 31, 53, 0.12);
  backdrop-filter: blur(18px);
}

.core-card {
  left: 50%;
  top: 50%;
  width: min(310px, calc(100% - 50px));
  padding: 28px;
  transform: translate(-50%, -50%);
  animation: core-breathe 4.8s ease-in-out infinite;
}

.signal-dot {
  display: block;
  width: 14px;
  height: 14px;
  margin-bottom: 20px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(200, 162, 74, 0.12);
}

.core-card p,
.floating-card span {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.core-card strong,
.floating-card strong {
  display: block;
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.1;
}

.floating-card {
  width: 210px;
  padding: 18px;
  animation: card-float 5.2s ease-in-out infinite;
}

.card-values {
  top: 52px;
  left: 34px;
  animation-delay: 120ms;
}

.card-risk {
  top: 108px;
  right: 28px;
  animation-delay: 720ms;
}

.card-care {
  right: 74px;
  bottom: 58px;
  animation-delay: 1280ms;
}

.trust-bar {
  position: relative;
  overflow: hidden;
  padding: clamp(58px, 8vw, 104px) 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(79, 149, 199, 0.3), transparent 25%),
    radial-gradient(circle at 100% 92%, rgba(79, 149, 199, 0.22), transparent 24%),
    var(--ink);
}

.trust-bar::before,
.trust-bar::after {
  content: "";
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 162, 74, 0.85), transparent);
  transform: rotate(-58deg);
  transform-origin: center;
}

.trust-bar::before {
  right: 9%;
  top: -80px;
  width: 360px;
}

.trust-bar::after {
  right: 18%;
  bottom: -110px;
  width: 280px;
  opacity: 0.42;
}

.trust-panel {
  position: relative;
  z-index: 2;
}

.trust-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.trust-badge {
  display: grid;
  justify-items: center;
  gap: 12px;
  min-height: 210px;
  padding: 34px 30px;
  text-align: center;
  color: rgba(248, 250, 252, 0.76);
  border-right: 1px solid rgba(200, 162, 74, 0.45);
}

.trust-badge:last-child {
  border-right: 0;
}

.trust-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: var(--gold);
  border: 1px solid rgba(200, 162, 74, 0.7);
  border-radius: 50%;
}

.trust-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.trust-badge h3 {
  margin: 10px 0 0;
  color: white;
  font-size: 0.94rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trust-badge p {
  max-width: 290px;
  margin: 0;
}

.trust-footer {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.trust-footer::before,
.trust-footer::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(200, 162, 74, 0.62);
}

.trust-footer span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(200, 162, 74, 0.72);
  border-radius: 50%;
  color: var(--blue);
  font-size: 1.4rem;
  letter-spacing: 0;
}

.trust-footer p {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
}

.serve-section,
.feature-section,
.work-section,
.method-section,
.standards-section {
  padding: clamp(82px, 10vw, 142px) 0;
}

.section-heading {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(34px, 6vw, 64px);
}

.section-heading p:not(.eyebrow) {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.audience-card,
.service-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, white, rgba(248, 250, 252, 0.82));
  box-shadow: 0 16px 38px rgba(11, 31, 53, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.audience-card:hover,
.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(79, 149, 199, 0.34);
  box-shadow: 0 24px 54px rgba(11, 31, 53, 0.12);
}

.audience-card span,
.service-card span {
  display: block;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.audience-card p,
.service-card p {
  margin: 0;
  color: var(--muted);
}

.feature-section {
  background: var(--mist);
}

.feature-grid {
  display: block;
}

.feature-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-wide {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 70px);
  min-height: 0;
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  background:
    radial-gradient(circle at 92% 12%, rgba(79, 149, 199, 0.16), transparent 34%),
    linear-gradient(135deg, #f8fafc, #edf4fa);
}

.feature-text {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 24px;
  padding: clamp(16px, 3vw, 28px);
}

.feature-text h2 {
  max-width: 16.8ch;
  font-size: clamp(2.4rem, 4vw, 4.35rem);
}

.feature-text p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.decision-panel {
  align-self: center;
  width: min(440px, 100%);
  margin: 0 auto;
  padding: 28px;
  background: rgba(248, 250, 252, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 22px 54px rgba(11, 31, 53, 0.12);
}

.compliance-panel {
  display: grid;
  gap: 18px;
}

.compliance-panel p {
  margin: 0;
  color: var(--muted);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.panel-header {
  margin-bottom: 4px;
}

.panel-header span {
  width: 44px;
  height: 44px;
  background: var(--ink);
  border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(79, 149, 199, 0.12);
}

.compliance-list {
  display: grid;
  gap: 12px;
}

.compliance-list span {
  display: block;
  padding: 14px 16px;
  color: var(--ink);
  background: rgba(237, 244, 250, 0.8);
  border: 1px solid rgba(11, 31, 53, 0.08);
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 800;
}

.compliance-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 4px 0;
}

.compliance-flow span {
  display: grid;
  min-height: 64px;
  place-items: center;
  color: var(--ink);
  background: white;
  border: 1px solid rgba(79, 149, 199, 0.18);
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 900;
}

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

.work-section {
  background: var(--paper);
}

.method-section {
  background:
    linear-gradient(180deg, #f4f7fa 0%, #edf4fa 100%);
}

.method-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 8vw, 92px);
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid rgba(11, 31, 53, 0.1);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 18%, rgba(79, 149, 199, 0.16), transparent 32%),
    rgba(248, 250, 252, 0.74);
  box-shadow: 0 24px 60px rgba(11, 31, 53, 0.08);
  overflow: hidden;
}

.method-layout::before {
  content: "";
  position: absolute;
  inset: 34px auto 34px 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(79, 149, 199, 0.45), transparent);
}

.method-section h2,
.standards-section h2 {
  max-width: 620px;
  font-size: clamp(2rem, 3.25vw, 3.6rem);
}

.sticky-heading {
  position: sticky;
  top: 120px;
  align-self: start;
}

.method-story {
  position: relative;
  justify-self: end;
  width: min(420px, 100%);
  min-height: 640px;
  overflow: hidden;
  color: white;
  background: var(--ink);
  border: 1px solid rgba(11, 31, 53, 0.12);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(11, 31, 53, 0.18);
  isolation: isolate;
}

.method-story::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(11, 31, 53, 0.04) 0%, rgba(11, 31, 53, 0.22) 45%, rgba(11, 31, 53, 0.84) 100%),
    radial-gradient(circle at 50% 18%, rgba(248, 250, 252, 0.22), transparent 30%);
  pointer-events: none;
}

.story-bars {
  position: absolute;
  inset: 18px 18px auto;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.story-bars span {
  height: 4px;
  overflow: hidden;
  background: rgba(248, 250, 252, 0.28);
  border-radius: 999px;
}

.story-bars span::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: white;
  border-radius: inherit;
  transform: translateX(-100%);
  animation: story-progress 24s linear infinite;
}

.story-bars span:nth-child(2)::before {
  animation-delay: 6s;
}

.story-bars span:nth-child(3)::before {
  animation-delay: 12s;
}

.story-bars span:nth-child(4)::before {
  animation-delay: 18s;
}

.story-slide {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  align-content: end;
  gap: 16px;
  padding: 70px 32px 36px;
  opacity: 0;
  background-position: center;
  background-size: cover;
  animation: story-slide 24s infinite;
}

.story-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 31, 53, 0.06), rgba(11, 31, 53, 0.74)),
    radial-gradient(circle at 75% 22%, rgba(79, 149, 199, 0.28), transparent 32%);
}

.story-slide span {
  width: fit-content;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.story-slide h3 {
  max-width: 330px;
  color: white;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  line-height: 1;
}

.story-slide p {
  max-width: 330px;
  margin: 0;
  color: rgba(248, 250, 252, 0.78);
}

.slide-discover {
  background-image:
    linear-gradient(140deg, rgba(11, 31, 53, 0.12), rgba(11, 31, 53, 0.42)),
    radial-gradient(circle at 26% 28%, rgba(248, 250, 252, 0.82) 0 7%, transparent 8%),
    radial-gradient(circle at 76% 24%, rgba(79, 149, 199, 0.52), transparent 24%),
    linear-gradient(135deg, #dfeaf3, #8eb5d1);
}

.slide-discern {
  animation-delay: 6s;
  background-image:
    linear-gradient(140deg, rgba(11, 31, 53, 0.12), rgba(11, 31, 53, 0.44)),
    repeating-linear-gradient(115deg, rgba(248, 250, 252, 0.16) 0 2px, transparent 2px 18px),
    radial-gradient(circle at 66% 28%, rgba(200, 162, 74, 0.38), transparent 25%),
    linear-gradient(135deg, #d9e7f2, #537c9f);
}

.slide-design {
  animation-delay: 12s;
  background-image:
    linear-gradient(140deg, rgba(11, 31, 53, 0.1), rgba(11, 31, 53, 0.46)),
    linear-gradient(90deg, rgba(248, 250, 252, 0.18) 1px, transparent 1px),
    linear-gradient(rgba(248, 250, 252, 0.18) 1px, transparent 1px),
    linear-gradient(135deg, #cddfea, #426b8d);
  background-size: auto, 34px 34px, 34px 34px, auto;
}

.slide-deploy {
  animation-delay: 18s;
  background-image:
    linear-gradient(140deg, rgba(11, 31, 53, 0.08), rgba(11, 31, 53, 0.5)),
    radial-gradient(circle at 76% 22%, rgba(248, 250, 252, 0.4), transparent 18%),
    radial-gradient(circle at 30% 38%, rgba(79, 149, 199, 0.48), transparent 28%),
    linear-gradient(135deg, #d7e5ef, #254a69);
}

.standards-section {
  color: var(--paper);
  background:
    radial-gradient(circle at 76% 20%, rgba(79, 149, 199, 0.35), transparent 30%),
    linear-gradient(135deg, #07192c 0%, var(--ink) 62%, #123a5c 100%);
}

.standards-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: clamp(34px, 8vw, 90px);
  padding: clamp(32px, 6vw, 62px);
  border: 1px solid rgba(248, 250, 252, 0.14);
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.04);
  box-shadow: inset 0 1px 0 rgba(248, 250, 252, 0.12), 0 24px 60px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.standards-panel::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(200, 162, 74, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 46px rgba(79, 149, 199, 0.06), 0 0 0 92px rgba(248, 250, 252, 0.03);
}

.standards-panel h2 {
  color: white;
}

.standards-list {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 14px;
}

.standards-list p {
  margin: 0;
  padding: 18px;
  color: rgba(248, 250, 252, 0.78);
  background: rgba(248, 250, 252, 0.06);
  border: 1px solid rgba(248, 250, 252, 0.12);
  border-radius: 8px;
  font-size: 1.08rem;
}

.standards-list strong {
  color: white;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 124px) 0 28px;
  color: rgba(248, 250, 252, 0.76);
  background:
    radial-gradient(circle at 88% 18%, rgba(79, 149, 199, 0.24), transparent 28%),
    linear-gradient(135deg, #07192c 0%, var(--ink) 62%, #123a5c 100%);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.36;
  background-image:
    linear-gradient(rgba(248, 250, 252, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 250, 252, 0.06) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, black, transparent 80%);
}

.footer-grid,
.footer-bottom {
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.68fr) minmax(0, 1fr) minmax(180px, 0.42fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: start;
  padding-bottom: clamp(42px, 6vw, 72px);
  border-bottom: 1px solid rgba(248, 250, 252, 0.14);
}

.footer-logo {
  color: white;
}

.footer-brand {
  display: grid;
  gap: 18px;
}

.footer-brand p,
.footer-cta p:not(.eyebrow),
.footer-bottom p {
  margin: 0;
  color: rgba(248, 250, 252, 0.68);
}

.footer-cta {
  display: grid;
  justify-items: start;
  gap: 20px;
}

.footer-cta h2 {
  max-width: 660px;
  color: white;
  font-size: clamp(2.2rem, 4vw, 4.4rem);
}

.footer-cta p:not(.eyebrow) {
  max-width: 620px;
  font-size: 1.08rem;
}

.footer-button {
  color: var(--ink);
  background: white;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
}

.footer-button:hover {
  background: var(--mist);
}

.footer-links {
  display: grid;
  gap: 12px;
}

.footer-links a {
  color: rgba(248, 250, 252, 0.78);
  font-weight: 800;
  text-decoration: none;
}

.footer-links a:hover {
  color: white;
}

.contact-routes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-routes span {
  padding: 8px 12px;
  color: white;
  background: rgba(248, 250, 252, 0.08);
  border: 1px solid rgba(248, 250, 252, 0.14);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-top: 24px;
}

.chat-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 12px;
}

.chat-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  padding: 0;
  color: white;
  background: var(--ink);
  border: 1px solid rgba(248, 250, 252, 0.18);
  border-radius: 50%;
  box-shadow: 0 18px 42px rgba(11, 31, 53, 0.28);
  cursor: pointer;
}

.chat-toggle::before,
.chat-toggle::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(79, 149, 199, 0.44);
  border-radius: 50%;
  animation: pulse-ring 2.4s ease-out infinite;
}

.chat-toggle::after {
  inset: -16px;
  border-color: rgba(200, 162, 74, 0.34);
  animation-delay: 700ms;
}

.chat-toggle span {
  display: grid;
  position: relative;
  z-index: 2;
  width: 36px;
  height: 36px;
  place-items: center;
  color: white;
  background: transparent;
  border-radius: 50%;
}

.chat-toggle svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.chat-toggle strong {
  position: absolute;
  right: 76px;
  width: max-content;
  padding: 9px 12px;
  color: var(--ink);
  background: white;
  border: 1px solid rgba(11, 31, 53, 0.1);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(11, 31, 53, 0.12);
  font-size: 0.82rem;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.chat-toggle:hover strong,
.chat-toggle:focus-visible strong {
  opacity: 1;
  transform: translateX(0);
}

.chat-panel {
  order: -1;
  display: none;
  width: min(380px, calc(100vw - 32px));
  padding: 18px;
  color: var(--text);
  background: rgba(248, 250, 252, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(11, 31, 53, 0.24);
  backdrop-filter: blur(18px);
}

.chat-panel.open {
  display: block;
  animation: pop-in 180ms ease both;
}

.chat-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.chat-header span {
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chat-header strong {
  display: block;
  color: var(--ink);
  line-height: 1.2;
}

.chat-close {
  width: 34px;
  height: 34px;
  color: var(--ink);
  background: var(--mist);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
}

.chat-progress {
  height: 6px;
  margin-bottom: 18px;
  overflow: hidden;
  background: var(--mist);
  border-radius: 999px;
}

.chat-progress span {
  display: block;
  width: 25%;
  height: 100%;
  background: var(--blue);
  border-radius: inherit;
  transition: width 180ms ease;
}

.chat-step {
  display: none;
  margin: 0;
  padding: 0;
  border: 0;
}

.chat-step.active {
  display: grid;
  gap: 10px;
}

.chat-step label {
  color: var(--ink);
  font-weight: 900;
  line-height: 1.25;
}

.chat-step input,
.chat-step select,
.chat-step textarea {
  width: 100%;
  padding: 12px 13px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
}

.chat-step input:focus,
.chat-step select:focus,
.chat-step textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(79, 149, 199, 0.16);
}

.chat-note,
.chat-success,
.chat-error {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.chat-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.chat-actions button {
  min-height: 42px;
  flex: 1;
  border-radius: 8px;
  border: 1px solid var(--line);
  cursor: pointer;
  font-weight: 900;
}

.chat-back {
  color: var(--ink);
  background: white;
}

.chat-next,
.chat-submit {
  color: white;
  background: var(--ink);
}

.chat-submit,
.chat-success,
.chat-error,
.hp-field {
  display: none;
}

.chat-submit.visible,
.chat-success.visible,
.chat-error.visible {
  display: block;
}

.chat-error.visible {
  color: #8f2f2f;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

@keyframes slow-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes system-glow {
  0%,
  100% {
    box-shadow: var(--shadow);
  }

  50% {
    box-shadow: 0 30px 88px rgba(79, 149, 199, 0.2);
  }
}

@keyframes core-breathe {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.025);
  }
}

@keyframes card-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes pulse-ring {
  0% {
    opacity: 0.75;
    transform: scale(0.88);
  }

  80%,
  100% {
    opacity: 0;
    transform: scale(1.34);
  }
}

@keyframes story-slide {
  0% {
    opacity: 0;
    transform: scale(1.03);
  }

  4%,
  24% {
    opacity: 1;
    transform: scale(1);
  }

  28%,
  100% {
    opacity: 0;
    transform: scale(1.03);
  }
}

@keyframes story-progress {
  0% {
    transform: translateX(-100%);
  }

  25%,
  100% {
    transform: translateX(0);
  }
}

@keyframes pop-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes menu-drop {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

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

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

  .story-slide {
    display: none;
    opacity: 1;
  }

  .story-slide:first-of-type {
    display: grid;
  }
}

@media (max-width: 1020px) {
  .site-header {
    position: absolute;
  }

  .hero-grid,
  .feature-grid,
  .feature-wide,
  .method-layout,
  .standards-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-system {
    min-height: 460px;
  }

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

  .sticky-heading {
    position: static;
  }

  .method-story {
    justify-self: center;
  }
}

@media (max-width: 760px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    min-height: 76px;
  }

  .menu-toggle {
    display: grid;
  }

  .nav-links {
    grid-column: 1 / -1;
    width: 100%;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    padding: 12px 0 2px;
  }

  .site-header.menu-open .nav-links {
    display: flex;
    animation: menu-drop 180ms ease both;
  }

  .nav-links a {
    min-height: 48px;
    justify-content: space-between;
    padding: 0 12px;
    background: rgba(237, 244, 250, 0.72);
    border: 1px solid rgba(11, 31, 53, 0.08);
    border-radius: 8px;
  }

  .nav-links .nav-cta {
    justify-content: center;
  }

  .hero {
    padding-top: 150px;
  }

  h1 {
    max-width: 12.5ch;
    font-size: clamp(3rem, 14vw, 4.8rem);
  }

  h2 {
    font-size: clamp(2.1rem, 11vw, 3.4rem);
  }

  .audience-grid,
  .service-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-badge {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(200, 162, 74, 0.45);
  }

  .trust-badge:last-child {
    border-bottom: 0;
  }

  .trust-footer {
    align-items: flex-start;
    flex-direction: column;
    letter-spacing: 0.1em;
  }

  .trust-footer::before,
  .trust-footer::after {
    width: 100%;
    flex: none;
  }

  .feature-wide {
    min-height: auto;
  }

  .decision-panel {
    margin-bottom: 34px;
  }

  .hero-system {
    min-height: 520px;
  }

  .method-layout::before {
    display: none;
  }

  .method-story {
    width: 100%;
    min-height: 560px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .floating-card {
    width: 190px;
  }

  .card-values {
    left: 16px;
  }

  .card-risk {
    right: 16px;
  }

  .card-care {
    right: 34px;
  }

  .button {
    width: 100%;
  }

  .chat-widget {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 440px) {
  .section-shell {
    width: min(100% - 28px, var(--max));
  }

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

  .method-story {
    min-height: 520px;
  }

  .core-card {
    padding: 22px;
  }

  .floating-card {
    width: 170px;
    padding: 14px;
  }

  .floating-card strong {
    font-size: 1rem;
  }

  .chat-toggle strong {
    display: none;
  }
}
