@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #eef5f5;
  --bg-2: #e4eeee;

  --surface: rgba(255, 255, 255, 0.76);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --surface-soft: rgba(245, 250, 250, 0.82);

  --border: rgba(18, 59, 66, 0.16);
  --border-strong: rgba(18, 59, 66, 0.24);

  --text: #0b1b21;
  --muted: #445b61;
  --soft: #657c82;
  --deep: #0f2f38;
  --hero-text: #0b2730;
  --hero-muted: rgba(11, 39, 48, 0.82);

  --accent: #2c979d;
  --accent-2: #5fc1bf;
  --accent-3: #18777f;

  --shadow-soft: 0 18px 44px rgba(11, 34, 39, 0.12);
  --shadow: 0 24px 72px rgba(11, 34, 39, 0.14);
  --shadow-strong: 0 30px 84px rgba(11, 34, 39, 0.22);

  --radius: 24px;
  --radius-sm: 18px;
  --radius-lg: 32px;
  --max: 1180px;

  --font-display: "Manrope", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html[data-theme="dark"] {
  --bg: #06090b;
  --bg-2: #0b1013;

  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --surface-soft: rgba(255, 255, 255, 0.04);

  --border: rgba(232, 244, 246, 0.12);
  --border-strong: rgba(232, 244, 246, 0.2);

  --text: #eaf4f5;
  --muted: rgba(234, 244, 245, 0.72);
  --soft: rgba(234, 244, 245, 0.52);
  --deep: #eaf4f5;
  --hero-text: #f3fbfc;
  --hero-muted: rgba(234, 244, 245, 0.78);

  --accent: #dff4f6;
  --accent-2: #f3fbfc;
  --accent-3: #7ed9dd;

  --shadow-soft: 0 20px 48px rgba(0, 0, 0, 0.42);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
  --shadow-strong: 0 36px 96px rgba(0, 0, 0, 0.62);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(108, 212, 206, 0.16), transparent 0 30%),
    radial-gradient(circle at 88% 12%, rgba(133, 225, 220, 0.14), transparent 0 28%),
    radial-gradient(circle at 82% 78%, rgba(80, 193, 188, 0.11), transparent 0 24%),
    linear-gradient(135deg, #f7fbfb 0%, #eef7f7 34%, #fdfefe 68%, #eef8f7 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

/* Header */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  padding-top: 12px;
  transition: transform 0.28s ease, opacity 0.24s ease;
  will-change: transform;
}

.site-header.header-hidden {
  transform: translateY(calc(-100% - 18px));
  opacity: 0.02;
  pointer-events: none;
}

.header-spacer {
  height: 66px;
}

.nav-shell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 14px 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: linear-gradient(180deg, rgba(255,255,255,0.52), rgba(201,220,220,0.48));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 44px rgba(12, 38, 41, 0.11);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--deep);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.95), rgba(255,255,255,0.35) 35%, transparent 36%),
    linear-gradient(135deg, #70d5d0, #27979f);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.65), 0 10px 24px rgba(48, 145, 148, 0.18);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 10px;
}

.brand-logo {
  height: 42px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 16px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #318f95, #17636a);
  box-shadow: 0 16px 28px rgba(23, 99, 106, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 20px 36px rgba(23, 99, 106, 0.36);
}

.btn-secondary {
  color: var(--deep);
  border-color: rgba(20, 86, 89, 0.14);
  background: rgba(255,255,255,0.64);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.78);
}

/* Hero */

.hero {
  position: relative;
  padding-top: 84px;
  padding-bottom: 78px;
  min-height: 840px;
  overflow: hidden;
  scroll-margin-top: 104px;
  background:
    radial-gradient(circle at 12% 18%, rgba(28, 104, 106, 0.34), transparent 0 27%),
    radial-gradient(circle at 86% 14%, rgba(54, 128, 130, 0.26), transparent 0 24%),
    radial-gradient(circle at 78% 70%, rgba(18, 66, 76, 0.24), transparent 0 24%),
    linear-gradient(135deg, #b7cccc 0%, #aec3c3 28%, #c3d9d8 58%, #e2eeee 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(4, 28, 34, 0.26), transparent 24%, transparent 74%, rgba(4, 28, 34, 0.14)),
    radial-gradient(circle at 52% 28%, rgba(255,255,255,0.24), transparent 0 40%),
    linear-gradient(180deg, rgba(255,255,255,0.06), transparent 24%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 220px;
  background: linear-gradient(
    180deg,
    rgba(212, 232, 231, 0) 0%,
    rgba(226, 241, 241, 0.64) 42%,
    rgba(246, 251, 251, 1) 100%
  );
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(520px, 0.92fr);
  gap: 64px;
  align-items: center;
}

.hero-grid > :first-child {
  position: relative;
  z-index: 5;
  max-width: 640px;
  padding-right: 8px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(20, 86, 89, 0.18);
  background: linear-gradient(180deg, rgba(255,255,255,0.5), rgba(222,238,238,0.46));
  color: var(--deep);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 28px rgba(12, 38, 41, 0.08);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #79d8d3, #299da2);
  box-shadow: 0 0 0 6px rgba(66, 183, 183, 0.12);
}

h1 {
  margin: 16px 0 18px;
  max-width: 11.5ch;
  color: var(--hero-text);
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-copy {
  max-width: 590px;
  margin: 0;
  position: relative;
  z-index: 5;
  color: var(--hero-muted);
  font-size: 17px;
  line-height: 1.64;
}

.hero-actions {
  position: relative;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-badges {
  position: relative;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.badge {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(20, 86, 89, 0.1);
  background: rgba(255,255,255,0.42);
  color: rgba(18, 56, 61, 0.88);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Hero visual */

.hero-stage {
  position: relative;
  z-index: 1;
  min-height: 670px;
  display: grid;
  place-items: center end;
  padding-top: 12px;
  overflow: visible;
}

.hero-visual {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  transform: translateY(0);
}

.orbital {
  position: relative;
  z-index: 1;
  width: min(600px, 100%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  transform-origin: center center;
  animation: orbitalFloat 12s ease-in-out infinite;
}

.ring,
.ring-two,
.ring-three {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(25, 102, 106, 0.12);
  box-shadow: inset 0 0 42px rgba(255,255,255,0.18);
}

.ring {
  width: 100%;
  height: 100%;
}

.ring-two {
  width: 80%;
  height: 80%;
}

.ring-three {
  width: 60%;
  height: 60%;
}

.orbital::before,
.orbital::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(40px);
  z-index: 0;
}

.orbital::before {
  width: 66%;
  height: 62%;
  background: rgba(66, 170, 167, 0.2);
}

.orbital::after {
  width: 34%;
  height: 34%;
  top: 10%;
  right: 8%;
  background: rgba(91, 196, 190, 0.16);
}

.orbital .safe-zone {
  position: absolute;
  inset: 19% 18% 19% 18%;
  z-index: 2;
  pointer-events: none;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255,255,255,0.22), rgba(255,255,255,0.1));
  opacity: 0.62;
}

.center-panel {
  position: relative;
  z-index: 3;
  width: 68%;
  padding: 28px;
  overflow: hidden;
  cursor: pointer;
  border-radius: 30px;
  border: 1px solid rgba(20, 86, 89, 0.18);
  background: linear-gradient(180deg, rgba(255,255,255,0.58), rgba(179, 204, 205, 0.5));
  box-shadow: 0 28px 68px rgba(13, 41, 44, 0.15), inset 0 1px 0 rgba(255,255,255,0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.34s ease, box-shadow 0.34s ease, border-color 0.34s ease;
  animation: panelDrift 10s ease-in-out infinite;
}

.center-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(74, 197, 192, 0.14), transparent 45%, rgba(74, 197, 192, 0.1)),
    linear-gradient(180deg, rgba(255,255,255,0.16), transparent 26%);
  pointer-events: none;
}

.panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.panel-title {
  color: rgba(18, 56, 61, 0.72);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.signal span {
  display: block;
  width: 8px;
  border-radius: 8px;
  background: linear-gradient(180deg, #73d5d0, #20939a);
  opacity: 0.92;
}

.signal span:nth-child(1) { height: 10px; }
.signal span:nth-child(2) { height: 16px; }
.signal span:nth-child(3) { height: 22px; }

.big-line {
  margin: 0 0 18px;
  max-width: 11ch;
  color: #0d2d35;
  font-family: var(--font-display);
  font-size: clamp(20px, 1.9vw, 28px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.micro-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.micro-card {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(21, 83, 87, 0.1);
  background: rgba(239, 247, 247, 0.72);
}

.micro-label {
  margin-bottom: 6px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.micro-value {
  color: var(--deep);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.22;
}

.floating-card {
  position: absolute;
  z-index: 4;
  width: 220px;
  padding: 14px 15px;
  border-radius: 18px;
  border: 1px solid rgba(18, 56, 61, 0.12);
  background: linear-gradient(180deg, rgba(255,255,255,0.78), rgba(207, 225, 226, 0.74));
  box-shadow: 0 20px 42px rgba(12, 38, 41, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    top 0.48s cubic-bezier(.2,.8,.2,1),
    right 0.48s cubic-bezier(.2,.8,.2,1),
    bottom 0.48s cubic-bezier(.2,.8,.2,1),
    left 0.48s cubic-bezier(.2,.8,.2,1),
    transform 0.36s cubic-bezier(.2,.8,.2,1),
    box-shadow 0.36s cubic-bezier(.2,.8,.2,1),
    border-color 0.36s cubic-bezier(.2,.8,.2,1),
    background 0.36s cubic-bezier(.2,.8,.2,1);
}

.floating-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--deep);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.floating-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.42;
}

.fc-1 { top: 7%; left: -2%; }
.fc-2 { top: 20%; right: -3%; }
.fc-3 { bottom: 20%; left: 0%; }
.fc-4 { bottom: 14%; right: -1%; }

.orbital:hover .fc-1,
.orbital.expanded .fc-1 {
  top: 2%;
  left: -20%;
}

.orbital:hover .fc-2,
.orbital.expanded .fc-2 {
  top: 18%;
  right: -20%;
}

.orbital:hover .fc-3,
.orbital.expanded .fc-3 {
  bottom: 19%;
  left: -20%;
}

.orbital:hover .fc-4,
.orbital.expanded .fc-4 {
  bottom: 13%;
  right: -20%;
}

.orbital.expanded .center-panel {
  transform: translateY(0) scale(1);
}

.center-panel:hover,
.orbital.expanded .center-panel {
  transform: translateY(0);
  box-shadow: 0 26px 62px rgba(12, 38, 41, 0.15), inset 0 1px 0 rgba(255,255,255,0.68);
  border-color: rgba(33, 144, 147, 0.2);
}

.floating-card:hover,
.panel:hover,
.step:hover,
.region-card:hover,
.authority-point:hover,
.authority-card:hover,
.authority-mini-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(17, 50, 53, 0.12);
  border-color: rgba(33, 144, 147, 0.2);
  filter: saturate(1.02);
}

/* Smooth hover tint — light theme */

.floating-card:hover {
  background: linear-gradient(180deg, rgba(255,255,255,0.86), rgba(219, 237, 238, 0.82));
}

.panel:hover,
.step:hover,
.region-card:hover {
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(226, 242, 242, 0.82));
}

.authority-point:hover {
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(232, 244, 244, 0.82));
}

.authority-card:hover,
.authority-mini-card:hover {
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(228, 242, 242, 0.84));
}

/* Smooth hover tint — dark theme */

html[data-theme="dark"] .floating-card:hover {
  background: linear-gradient(180deg, rgba(30,30,30,0.94), rgba(16,16,16,0.9));
}

html[data-theme="dark"] .panel:hover,
html[data-theme="dark"] .step:hover,
html[data-theme="dark"] .region-card:hover {
  background: linear-gradient(180deg, rgba(24,24,24,0.96), rgba(10,10,10,0.92));
}

html[data-theme="dark"] .authority-point:hover {
  background: linear-gradient(180deg, rgba(24,24,24,0.94), rgba(12,12,12,0.9));
}

html[data-theme="dark"] .authority-card:hover,
html[data-theme="dark"] .authority-mini-card:hover {
  background: linear-gradient(180deg, rgba(28,28,28,0.95), rgba(12,12,12,0.92));
}

.floating-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 48px rgba(12, 38, 41, 0.12);
}

.panel:hover,
.step:hover,
.region-card:hover,
.authority-point:hover,
.authority-card:hover,
.authority-mini-card:hover {
  box-shadow: 0 30px 68px rgba(17, 50, 53, 0.11);
}

.orbital:hover,
.orbital:hover .center-panel,
.orbital:hover .floating-card,
.orbital.expanded,
.orbital.expanded .center-panel,
.orbital.expanded .floating-card {
  animation-play-state: paused;
}

.center-panel:focus-visible {
  outline: 2px solid rgba(33, 144, 147, 0.24);
  outline-offset: 4px;
}

/* Sections */

.section {
  padding: 64px 0 30px;
  scroll-margin-top: 140px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 26px;
}

.section h2 {
  position: relative;
  margin: 0;
  max-width: 12ch;
  color: var(--deep);
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin-top: 26px;
  border-radius: 999px;
  background: linear-gradient(90deg, #3aaeb0, #7ad0cf);
}

.section-intro {
  max-width: 580px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.64;
}

.feature-layout {
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  gap: 22px;
  align-items: stretch;
}

.stack {
  display: grid;
  gap: 22px;
  height: 100%;
}

.panel {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.84), rgba(255,255,255,0.68));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.38s cubic-bezier(.2,.8,.2,1),
    box-shadow 0.38s cubic-bezier(.2,.8,.2,1),
    border-color 0.38s cubic-bezier(.2,.8,.2,1),
    background 0.38s cubic-bezier(.2,.8,.2,1);
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(105, 213, 209, 0.1), transparent 34%);
  pointer-events: none;
}

.panel h3 {
  margin: 0 0 10px;
  color: var(--deep);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.025em;
}

.panel p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.64;
}

.big-panel {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(18, 56, 61, 0.08);
  background: rgba(241, 248, 248, 0.92);
  color: var(--deep);
  font-size: 13px;
  font-weight: 700;
}

.signal-lines {
  display: grid;
  gap: 12px;
}

.signal-line {
  display: grid;
  grid-template-columns: 160px 1fr 56px;
  align-items: center;
  gap: 12px;
  color: var(--deep);
  font-size: 14px;
  font-weight: 700;
}

.bar {
  position: relative;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(20, 86, 89, 0.08);
}

.bar span {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #79d8d3, #2b9ea3);
}

/* Timeline */

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 8px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 30px;
  height: 2px;
  z-index: 0;
  background: linear-gradient(90deg, rgba(60, 171, 173, 0.22), rgba(60, 171, 173, 0.52), rgba(60, 171, 173, 0.22));
}

.step {
  position: relative;
  z-index: 1;
  min-height: 206px;
  padding: 18px 18px 20px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.74));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px rgba(17, 50, 53, 0.06);
  transition:
    transform 0.38s cubic-bezier(.2,.8,.2,1),
    box-shadow 0.38s cubic-bezier(.2,.8,.2,1),
    border-color 0.38s cubic-bezier(.2,.8,.2,1),
    background 0.38s cubic-bezier(.2,.8,.2,1);
}

.step-num {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #72d4cf, #259aa1);
  color: #fff;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 18px rgba(42, 145, 148, 0.18);
}

.step h3 {
  margin: 0 0 10px;
  color: var(--deep);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}

/* Coverage */

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.region-card {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.region-tag {
  display: inline-flex;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(18, 56, 61, 0.08);
  background: rgba(241, 248, 248, 0.95);
  color: var(--soft);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.region-card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Authority section */

.authority-section {
  position: relative;
  padding: 82px 0 44px;
}

.authority-shell {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border-radius: 34px;
  border: 1px solid rgba(20, 86, 89, 0.14);
  background:
    radial-gradient(circle at 12% 18%, rgba(95, 193, 191, 0.12), transparent 0 20%),
    radial-gradient(circle at 88% 76%, rgba(95, 193, 191, 0.08), transparent 0 18%),
    linear-gradient(180deg, rgba(255,255,255,0.88), rgba(235,244,244,0.82));
  box-shadow:
    0 34px 100px rgba(11, 34, 39, 0.12),
    inset 0 1px 0 rgba(255,255,255,0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.authority-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(125deg, rgba(255,255,255,0.22), transparent 32%, transparent 72%, rgba(255,255,255,0.1)),
    radial-gradient(circle at top right, rgba(95, 193, 191, 0.12), transparent 0 22%);
}

.authority-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}

.authority-copy {
  max-width: 680px;
}

.authority-eyebrow {
  margin-bottom: 18px;
}

.authority-title {
  margin: 0 0 18px;
  max-width: 10ch;
  color: var(--deep);
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.authority-text {
  max-width: 760px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.authority-points {
  display: grid;
  gap: 16px;
}

.authority-point {
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(20, 86, 89, 0.1);
  background: linear-gradient(180deg, rgba(255,255,255,0.84), rgba(245,250,250,0.74));
  box-shadow:
    0 18px 44px rgba(11,34,39,0.08),
    inset 0 1px 0 rgba(255,255,255,0.65);
  transition:
    transform 0.38s cubic-bezier(.2,.8,.2,1),
    box-shadow 0.38s cubic-bezier(.2,.8,.2,1),
    border-color 0.38s cubic-bezier(.2,.8,.2,1),
    background 0.38s cubic-bezier(.2,.8,.2,1);
}

.authority-point strong {
  display: block;
  margin-bottom: 8px;
  color: var(--deep);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.authority-point p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.authority-side {
  display: grid;
  gap: 18px;
}

.authority-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(20, 86, 89, 0.12);
  background: linear-gradient(180deg, rgba(255,255,255,0.86), rgba(236,244,244,0.78));
  box-shadow:
    0 26px 70px rgba(11,34,39,0.1),
    inset 0 1px 0 rgba(255,255,255,0.62);
  transition:
    transform 0.38s cubic-bezier(.2,.8,.2,1),
    box-shadow 0.38s cubic-bezier(.2,.8,.2,1),
    border-color 0.38s cubic-bezier(.2,.8,.2,1),
    background 0.38s cubic-bezier(.2,.8,.2,1);
}

.authority-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.22), transparent 26%, transparent 70%, rgba(255,255,255,0.08)),
    radial-gradient(circle at top right, rgba(95, 193, 191, 0.1), transparent 0 24%);
}

.authority-card-main {
  padding: 24px;
}

.authority-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.authority-label {
  color: rgba(18, 56, 61, 0.62);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.authority-big-line {
  margin: 0 0 18px;
  max-width: 14ch;
  color: var(--deep);
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.authority-metrics {
  display: grid;
  gap: 14px;
}

.authority-metric {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
  align-items: center;
}

.authority-metric span {
  color: var(--deep);
  font-size: 14px;
  font-weight: 600;
}

.authority-metric em {
  color: rgba(18, 56, 61, 0.56);
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
}

.authority-bar {
  grid-column: 1 / -1;
  position: relative;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(20, 86, 89, 0.08);
}

.authority-bar span {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #79d8d3, #2b9ea3);
}

.authority-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.authority-mini-card {
  padding: 20px 18px;
}

.authority-mini-label {
  margin-bottom: 8px;
  color: rgba(18, 56, 61, 0.56);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.authority-mini-value {
  color: var(--deep);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* CTA */

.cta {
  padding: 28px 0 74px;
}

.cta-shell {
  position: relative;
  overflow: hidden;
  padding: 36px;
  border-radius: 34px;
  border: 1px solid rgba(20, 86, 89, 0.14);
  color: #fff;
  background:
    radial-gradient(circle at 8% 20%, rgba(123, 216, 212, 0.18), transparent 0 24%),
    radial-gradient(circle at 92% 80%, rgba(104, 204, 200, 0.12), transparent 0 24%),
    linear-gradient(135deg, rgba(8, 31, 36, 0.98), rgba(15, 52, 58, 0.96));
  box-shadow: 0 30px 70px rgba(17, 50, 53, 0.16);
}

.cta-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0.06), transparent 36%, rgba(255,255,255,0.03));
  pointer-events: none;
}

.cta-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.cta h2 {
  margin: 0 0 16px;
  max-width: 12ch;
  font-family: var(--font-display);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.cta p {
  max-width: 620px;
  margin: 0;
  color: rgba(236, 247, 247, 0.82);
  font-size: 17px;
  line-height: 1.66;
}

.cta .btn-secondary {
  color: #fff;
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.18);
}

/* Footer */

footer {
  padding: 0 0 44px;
  color: var(--soft);
  font-size: 14px;
}

.footer-shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(18, 56, 61, 0.08);
}

/* Mobile menu */

.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: rgba(255,255,255,0.72);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--deep);
}

.mobile-drawer {
  display: none;
}

.mobile-drawer.is-open {
  display: block;
}

/* Scroll top */

.scroll-top {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 9999;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(135deg, #318f95, #17636a);
  color: #fff;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  box-shadow: 0 18px 34px rgba(44, 145, 148, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.scroll-top:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(44, 145, 148, 0.34);
  filter: saturate(1.04);
}

.scroll-top:active {
  transform: translateY(0);
}

/* Toggle switch */

.theme-toggle {
  position: relative;
  display: inline-flex;
  width: 60px;
  height: 34px;
  cursor: pointer;
  flex: 0 0 auto;
}

.theme-toggle input {
  display: none;
}

.theme-toggle-slider {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.theme-toggle-slider::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease;
}

.theme-toggle input:checked + .theme-toggle-slider::before {
  transform: translateX(26px);
}

/* Animations */

@keyframes orbitalFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -5px, 0); }
}

@keyframes panelDrift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, 4px, 0); }
}

/* =========================
   DARK THEME OVERRIDES
   ========================= */

html[data-theme="dark"] body {
  background:
    radial-gradient(circle at 14% 10%, rgba(87, 196, 201, 0.06), transparent 0 16%),
    radial-gradient(circle at 84% 16%, rgba(87, 196, 201, 0.04), transparent 0 14%),
    radial-gradient(circle at 68% 72%, rgba(87, 196, 201, 0.03), transparent 0 12%),
    linear-gradient(180deg, #020405 0%, #06090b 22%, #030607 52%, #070b0d 78%, #020405 100%);
}

html[data-theme="dark"] .nav-shell {
  border: 1px solid rgba(232, 244, 246, 0.1);
  background: linear-gradient(180deg, rgba(16, 18, 20, 0.86), rgba(10, 12, 14, 0.78));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"] .brand-mark {
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.95), rgba(255,255,255,0.18) 35%, transparent 36%),
    linear-gradient(135deg, #7ed9dd, #27979f);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.38), 0 10px 24px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .brand-mark::after {
  border: 1px solid rgba(255,255,255,0.26);
}

html[data-theme="dark"] .brand-logo {
  filter: brightness(1.08) contrast(1.03);
}

html[data-theme="dark"] .btn-primary {
  color: #0a0f12;
  background: linear-gradient(135deg, #f3fbfc 0%, #d8f1f3 54%, #bfe6e9 100%);
  box-shadow:
    0 22px 56px rgba(0,0,0,0.58),
    inset 0 1px 0 rgba(255,255,255,0.46);
}

html[data-theme="dark"] .btn-primary:hover {
  box-shadow:
    0 28px 68px rgba(0,0,0,0.68),
    inset 0 1px 0 rgba(255,255,255,0.52);
}

html[data-theme="dark"] .btn-secondary {
  border-color: rgba(232, 244, 246, 0.16);
  background: rgba(255,255,255,0.06);
}

html[data-theme="dark"] .btn-secondary:hover {
  background: rgba(255,255,255,0.1);
}

html[data-theme="dark"] .hero {
  background:
    radial-gradient(circle at 18% 12%, rgba(87, 196, 201, 0.06), transparent 0 16%),
    radial-gradient(circle at 86% 18%, rgba(87, 196, 201, 0.04), transparent 0 14%),
    radial-gradient(circle at 78% 72%, rgba(87, 196, 201, 0.03), transparent 0 14%),
    linear-gradient(180deg, #030506 0%, #080c0e 28%, #040708 64%, #020405 100%);
}

html[data-theme="dark"] .hero::before {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.018), transparent 24%, transparent 74%, rgba(255,255,255,0.02)),
    radial-gradient(circle at 52% 28%, rgba(255,255,255,0.04), transparent 0 30%),
    linear-gradient(180deg, rgba(255,255,255,0.018), transparent 24%);
}

html[data-theme="dark"] .hero::after {
  background: linear-gradient(
    180deg,
    rgba(3, 5, 6, 0) 0%,
    rgba(5, 8, 10, 0.88) 42%,
    rgba(2, 4, 5, 1) 100%
  );
}

html[data-theme="dark"] .eyebrow {
  border: 1px solid rgba(232, 244, 246, 0.14);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] .eyebrow::before {
  background: linear-gradient(135deg, #7ed9dd, #36b8bf);
  box-shadow: 0 0 0 6px rgba(87, 196, 201, 0.1);
}

html[data-theme="dark"] .badge {
  border: 1px solid rgba(232, 244, 246, 0.12);
  background: rgba(255,255,255,0.05);
  color: rgba(234, 244, 245, 0.88);
}

html[data-theme="dark"] .ring,
html[data-theme="dark"] .ring-two,
html[data-theme="dark"] .ring-three {
  border: 1px solid rgba(232, 244, 246, 0.08);
  box-shadow: inset 0 0 42px rgba(255,255,255,0.03);
}

html[data-theme="dark"] .orbital::before {
  background: rgba(87, 196, 201, 0.06);
}

html[data-theme="dark"] .orbital::after {
  background: rgba(87, 196, 201, 0.05);
}

html[data-theme="dark"] .orbital .safe-zone {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
}

html[data-theme="dark"] .center-panel,
html[data-theme="dark"] .panel,
html[data-theme="dark"] .step,
html[data-theme="dark"] .region-card,
html[data-theme="dark"] .floating-card,
html[data-theme="dark"] .nav-shell,
html[data-theme="dark"] .cta-shell {
  border-color: rgba(232, 244, 246, 0.14);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.62),
    0 10px 24px rgba(87, 196, 201, 0.04),
    inset 0 1px 0 rgba(255,255,255,0.065),
    inset 0 -1px 0 rgba(255,255,255,0.025);
}

html[data-theme="dark"] .center-panel,
html[data-theme="dark"] .panel,
html[data-theme="dark"] .step,
html[data-theme="dark"] .region-card,
html[data-theme="dark"] .floating-card {
  background: linear-gradient(180deg, rgba(20,20,20,0.96) 0%, rgba(11,11,11,0.92) 46%, rgba(6,6,6,0.94) 100%);
}

html[data-theme="dark"] .center-panel::before {
  background:
    radial-gradient(circle at top right, rgba(87, 196, 201, 0.08), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent 32%);
}

html[data-theme="dark"] .center-panel::after,
html[data-theme="dark"] .floating-card::after,
html[data-theme="dark"] .nav-shell::after,
html[data-theme="dark"] .cta-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(120deg,
      rgba(255,255,255,0.09) 0%,
      rgba(255,255,255,0.035) 24%,
      transparent 52%);
  opacity: 0.55;
}

html[data-theme="dark"] .panel-title {
  color: rgba(234, 244, 245, 0.62);
}

html[data-theme="dark"] .signal span {
  background: linear-gradient(180deg, #7ed9dd, #36b8bf);
}

html[data-theme="dark"] .big-line,
html[data-theme="dark"] h1,
html[data-theme="dark"] .section h2,
html[data-theme="dark"] .cta h2,
html[data-theme="dark"] .panel h3,
html[data-theme="dark"] .step h3,
html[data-theme="dark"] .floating-card strong {
  text-shadow: 0 1px 0 rgba(255,255,255,0.02);
}

html[data-theme="dark"] .big-line {
  color: #f3fbfc;
}

html[data-theme="dark"] .micro-card {
  border: 1px solid rgba(232, 244, 246, 0.08);
  background: rgba(255,255,255,0.04);
}

html[data-theme="dark"] .floating-card {
  border: 1px solid rgba(232, 244, 246, 0.1);
  background: linear-gradient(180deg, rgba(24,24,24,0.88), rgba(12,12,12,0.78));
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.36);
}

html[data-theme="dark"] .floating-card strong {
  color: #f3fbfc;
}

html[data-theme="dark"] .section h2::after {
  background: linear-gradient(90deg, #7ed9dd, #36b8bf);
}

html[data-theme="dark"] .chip {
  border: 1px solid rgba(232, 244, 246, 0.08);
  background: rgba(255,255,255,0.04);
}

html[data-theme="dark"] .bar {
  background: rgba(232, 244, 246, 0.08);
}

html[data-theme="dark"] .bar span {
  background: linear-gradient(90deg, #7ed9dd, #36b8bf);
}

html[data-theme="dark"] .timeline::before {
  background: linear-gradient(90deg, rgba(87, 196, 201, 0.18), rgba(126, 217, 221, 0.44), rgba(87, 196, 201, 0.18));
}

html[data-theme="dark"] .step-num {
  background: linear-gradient(135deg, #7ed9dd, #36b8bf);
  color: #0a0f12;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.22);
}

html[data-theme="dark"] .region-tag {
  border: 1px solid rgba(232, 244, 246, 0.08);
  background: rgba(255,255,255,0.04);
}

html[data-theme="dark"] .authority-shell {
  border: 1px solid rgba(232, 244, 246, 0.10);
  background:
    radial-gradient(circle at 12% 18%, rgba(87, 196, 201, 0.05), transparent 0 20%),
    radial-gradient(circle at 88% 76%, rgba(87, 196, 201, 0.04), transparent 0 18%),
    linear-gradient(180deg, rgba(12,12,12,0.96), rgba(5,5,5,0.98));
  box-shadow:
    0 34px 100px rgba(0, 0, 0, 0.68),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

html[data-theme="dark"] .authority-shell::before {
  background:
    linear-gradient(125deg, rgba(255,255,255,0.05), transparent 32%, transparent 72%, rgba(255,255,255,0.02)),
    radial-gradient(circle at top right, rgba(87, 196, 201, 0.05), transparent 0 22%);
}

html[data-theme="dark"] .authority-title {
  color: #f3fbfc;
}

html[data-theme="dark"] .authority-text {
  color: rgba(234, 244, 245, 0.82);
}

html[data-theme="dark"] .authority-point {
  border: 1px solid rgba(232, 244, 246, 0.08);
  background: linear-gradient(180deg, rgba(18,18,18,0.88), rgba(9,9,9,0.84));
  box-shadow:
    0 18px 44px rgba(0,0,0,0.34),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

html[data-theme="dark"] .authority-point strong {
  color: #f3fbfc;
}

html[data-theme="dark"] .authority-point p {
  color: rgba(234, 244, 245, 0.74);
}

html[data-theme="dark"] .authority-card {
  border: 1px solid rgba(232, 244, 246, 0.11);
  background: linear-gradient(180deg, rgba(21,21,21,0.94), rgba(8,8,8,0.92));
  box-shadow:
    0 26px 70px rgba(0,0,0,0.46),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

html[data-theme="dark"] .authority-card::before {
  background:
    linear-gradient(120deg, rgba(255,255,255,0.06), transparent 26%, transparent 70%, rgba(255,255,255,0.02)),
    radial-gradient(circle at top right, rgba(87, 196, 201, 0.05), transparent 0 24%);
}

html[data-theme="dark"] .authority-label {
  color: rgba(234, 244, 245, 0.62);
}

html[data-theme="dark"] .authority-big-line {
  color: #f3fbfc;
}

html[data-theme="dark"] .authority-metric span {
  color: #eaf4f5;
}

html[data-theme="dark"] .authority-metric em {
  color: rgba(234, 244, 245, 0.62);
}

html[data-theme="dark"] .authority-bar {
  background: rgba(232, 244, 246, 0.08);
}

html[data-theme="dark"] .authority-bar span {
  background: linear-gradient(90deg, #7ed9dd, #36b8bf);
}

html[data-theme="dark"] .authority-mini-label {
  color: rgba(234, 244, 245, 0.56);
}

html[data-theme="dark"] .authority-mini-value {
  color: #f3fbfc;
}

html[data-theme="dark"] .cta-shell {
  border: 1px solid rgba(232, 244, 246, 0.1);
  color: #fff;
  background:
    radial-gradient(circle at 8% 20%, rgba(87, 196, 201, 0.06), transparent 0 24%),
    radial-gradient(circle at 92% 80%, rgba(87, 196, 201, 0.04), transparent 0 24%),
    linear-gradient(135deg, rgba(6, 6, 6, 0.99), rgba(15, 15, 15, 0.95));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
}

html[data-theme="dark"] .cta-shell::before {
  background: linear-gradient(120deg, rgba(255,255,255,0.04), transparent 36%, rgba(255,255,255,0.02));
}

html[data-theme="dark"] .cta p {
  color: rgba(234, 244, 245, 0.82);
}

html[data-theme="dark"] .cta .btn-secondary {
  color: var(--deep);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
}

html[data-theme="dark"] .footer-shell {
  border-top: 1px solid rgba(232, 244, 246, 0.08);
}

html[data-theme="dark"] .mobile-menu-toggle {
  background: rgba(255,255,255,0.06);
}

html[data-theme="dark"] .scroll-top {
  background: linear-gradient(135deg, #f3fbfc, #d8f1f3);
  color: #0a0f12;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .scroll-top:hover {
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.34);
}

html[data-theme="dark"] .theme-toggle-slider {
  background: var(--surface);
  border-color: var(--border);
}

/* Responsive */

@media (max-width: 1180px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(460px, 0.9fr);
    gap: 40px;
  }

  .orbital {
    width: min(540px, 100%);
  }

  .center-panel {
    width: 62%;
  }

  .floating-card {
    width: 184px;
    padding: 13px 14px;
  }

  .floating-card strong {
    font-size: 13.5px;
  }

  .floating-card p {
    font-size: 12px;
  }
}

@media (max-width: 860px) {
  html,
  body {
    overflow-x: hidden;
  }

  .wrap {
    width: calc(100% - 20px);
  }

  .site-header {
    top: 10px;
    padding-top: 8px;
  }

  .header-spacer {
    height: 110px;
  }

  .nav-links {
    display: none !important;
  }

  .nav-actions .btn-secondary {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .mobile-drawer {
    display: none;
    padding: 10px 0 0;
  }

  .mobile-drawer.is-open {
    display: block;
  }

  .mobile-drawer-inner {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(255,255,255,0.96);
    box-shadow: 0 18px 36px rgba(15, 41, 44, 0.08);
  }

  .mobile-drawer-inner a {
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(18, 56, 61, 0.08);
    background: rgba(245, 250, 250, 0.95);
    color: var(--deep);
    font-weight: 600;
  }

  .mobile-drawer-inner .mobile-drawer-cta {
    background: linear-gradient(135deg, #318f95, #17636a);
    color: #fff;
    border-color: transparent;
  }

  html[data-theme="dark"] .mobile-drawer-inner {
    background: rgba(12,12,12,0.96);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
  }

  html[data-theme="dark"] .mobile-drawer-inner a {
    border: 1px solid rgba(232, 244, 246, 0.08);
    background: rgba(255,255,255,0.04);
    color: var(--deep);
  }

  html[data-theme="dark"] .mobile-drawer-inner .mobile-drawer-cta {
    background: linear-gradient(135deg, #f3fbfc, #d8f1f3);
    color: #0a0f12;
    border-color: transparent;
  }

  .hero {
    padding-top: 34px;
    padding-bottom: 52px;
    min-height: auto;
  }

  .hero::after {
    height: 120px;
  }

  .hero-grid,
  .feature-layout,
  .grid-2,
  .coverage-grid,
  .timeline,
  .cta-grid,
  .section-head,
  .micro-grid,
  .authority-grid,
  .authority-mini-grid {
    display: grid;
    grid-template-columns: 1fr !important;
  }

  .stack {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .hero-grid {
    gap: 22px;
  }

  .hero-grid > :first-child {
    max-width: none;
    padding-right: 0;
  }

  .authority-copy,
  .authority-title,
  .authority-big-line {
    max-width: none;
  }

  .hero-stage {
    min-height: auto;
    display: block;
    padding-top: 8px;
  }

  .hero-visual {
    display: block;
  }

  .orbital {
    width: 100%;
    max-width: 100%;
    aspect-ratio: auto;
    display: grid;
    gap: 14px;
    place-items: stretch;
    animation: none !important;
  }

  .ring,
  .ring-two,
  .ring-three,
  .safe-zone {
    display: none !important;
  }

  .center-panel,
  .floating-card,
  .micro-card,
  .panel,
  .step,
  .region-card,
  .authority-point,
  .authority-card,
  .authority-mini-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .center-panel {
    padding: 22px;
    animation: none !important;
    transform: none !important;
  }

  .floating-card {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    margin: 0;
    transform: none !important;
    animation: none !important;
  }

  h1 {
    max-width: none;
    font-size: clamp(34px, 9vw, 48px);
    line-height: 1.02;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .big-line {
    max-width: none;
    font-size: clamp(22px, 6vw, 30px);
    line-height: 1.04;
  }

  .hero-copy,
  .section-intro,
  .panel p,
  .step p,
  .region-card ul,
  .cta p,
  .authority-text,
  .authority-point p {
    font-size: 16px;
    line-height: 1.58;
  }

  .chip-row,
  .hero-badges,
  .hero-actions,
  .nav-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .hero-actions .btn,
  .nav-actions .btn,
  .cta .nav-actions .btn {
    width: 100%;
  }

  .signal-line {
    grid-template-columns: 1fr !important;
    gap: 8px;
  }

  .timeline::before {
    display: none !important;
  }

  .section {
    padding: 44px 0 22px;
  }

  .panel,
  .step,
  .cta-shell {
    padding: 20px;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: calc(100% - 16px);
  }

  .authority-shell {
    padding: 20px;
    border-radius: 22px;
  }

  .authority-card-main,
  .authority-mini-card,
  .authority-point {
    padding: 18px;
  }

  .header-spacer {
    height: 120px;
  }

  .hero {
    padding-top: 28px;
    padding-bottom: 42px;
  }

  .panel,
  .step,
  .cta-shell,
  .center-panel,
  .floating-card {
    padding: 18px;
    border-radius: 18px;
  }

  .badge,
  .chip {
    font-size: 13px;
  }

  .scroll-top {
    left: 12px;
    bottom: 12px;
    width: 48px;
    height: 48px;
    font-size: 21px;
  }
}

/* ========================================
   HEADER + THEME TOGGLE FIX
   ======================================== */

.mobile-theme-slot {
  display: none;
}

.site-header .theme-toggle {
  flex: 0 0 auto;
}

.site-header .nav-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
}

.site-header .brand {
  min-width: max-content;
}

.site-header .nav-links {
  justify-content: center;
}

.site-header .nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: max-content;
}

.site-header .nav-actions .btn {
  white-space: nowrap;
}

@media (max-width: 860px) {
  .site-header .nav-shell {
    display: flex;
  }

  .site-header .nav-actions {
    min-width: 0;
  }

  .site-header .nav-actions .btn-secondary,
  .site-header .nav-actions .btn-primary {
    min-width: 0;
  }

  .site-header .nav-actions .theme-toggle {
    display: none !important;
  }

  .mobile-theme-slot {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(18, 56, 61, 0.08);
    background: rgba(245, 250, 250, 0.95);
  }

  html[data-theme="dark"] .mobile-theme-slot {
    border: 1px solid rgba(232, 244, 246, 0.08);
    background: rgba(255,255,255,0.04);
  }

  .mobile-theme-slot .theme-toggle {
    display: inline-flex !important;
    width: 54px;
    height: 30px;
  }

  .mobile-theme-slot .theme-toggle-slider::before {
    width: 22px;
    height: 22px;
    top: 3px;
    left: 3px;
  }

  .mobile-theme-slot .theme-toggle input:checked + .theme-toggle-slider::before {
    transform: translateX(24px);
  }
}

/* LOGO THEME SWITCH */

.brand-logo-light,
.brand-logo-dark {
  height: 42px;
  width: auto;
}

.brand-logo-light {
  display: block !important;
}

.brand-logo-dark {
  display: none !important;
}

html[data-theme="dark"] .brand-logo-light {
  display: none !important;
}

html[data-theme="dark"] .brand-logo-dark {
  display: block !important;
}
@media (max-width: 430px) {
  .site-header .nav-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand burger"
      "cta cta";
    align-items: center;
    gap: 12px;
  }

  .site-header .brand {
    grid-area: brand;
    min-width: 0;
  }

  .site-header .brand-logo-light,
  .site-header .brand-logo-dark,
  .site-header .brand-logo {
    max-width: 100%;
    height: auto;
  }

  .site-header .nav-actions {
    grid-area: cta;
    width: 100%;
    min-width: 0;
    justify-content: stretch;
  }

  .site-header .nav-actions .btn-primary {
    width: 100%;
    min-width: 0;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
    justify-content: center;
  }

  .site-header .mobile-menu-toggle {
    grid-area: burger;
    justify-self: end;
  }
}