:root {
  --bg: #06111d;
  --bg-soft: #0a1826;
  --surface: rgba(13, 31, 48, 0.72);
  --surface-strong: rgba(12, 28, 44, 0.95);
  --border: rgba(157, 194, 214, 0.16);
  --border-strong: rgba(31, 197, 218, 0.35);
  --text: #f4f8fb;
  --muted: #a9bdca;
  --muted-strong: #c5d3dc;
  --accent: #18bfd2;
  --accent-light: #65e1ec;
  --accent-dark: #087d91;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 88% 9%, rgba(13, 149, 173, 0.18), transparent 32rem),
    radial-gradient(circle at 10% 48%, rgba(10, 91, 115, 0.13), transparent 28rem),
    linear-gradient(155deg, #06111d 0%, #071522 52%, #06101a 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  transform: translateY(-180%);
  border-radius: 0.6rem;
  color: #041019;
  background: var(--accent-light);
  font-weight: 750;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-size: 1.22rem;
  font-weight: 680;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.header-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted-strong);
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 160ms ease;
}

.header-link:hover {
  color: var(--accent-light);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(350px, 0.82fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
  min-height: 720px;
  padding: 5.6rem 0 6.2rem;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  margin-bottom: 1.7rem;
  color: var(--accent-light);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(24, 191, 210, 0.1), 0 0 24px rgba(24, 191, 210, 0.72);
  animation: pulse 2.8s ease-in-out infinite;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 1.7rem;
  font-size: clamp(3.2rem, 6.3vw, 5.9rem);
  line-height: 0.99;
  letter-spacing: -0.065em;
  font-weight: 670;
}

h1 span {
  display: block;
  color: var(--accent);
  text-shadow: 0 0 40px rgba(24, 191, 210, 0.14);
}

.hero-lead {
  max-width: 720px;
  margin-bottom: 2rem;
  color: var(--muted-strong);
  font-size: clamp(1.05rem, 1.65vw, 1.24rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.84rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 0.72rem;
  font-size: 0.95rem;
  font-weight: 720;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

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

.button-primary {
  color: #04141b;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  box-shadow: 0 15px 34px rgba(7, 150, 169, 0.23);
}

.button-primary:hover {
  box-shadow: 0 18px 38px rgba(7, 150, 169, 0.36);
}

.button-secondary {
  color: var(--muted-strong);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.025);
}

.button-secondary:hover {
  border-color: var(--border-strong);
  background: rgba(24, 191, 210, 0.07);
}

.signal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.25rem;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 620;
  list-style: none;
}

.signal-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.52rem;
}

.signal-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(24, 191, 210, 0.65);
}

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

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 5% -15% 0 -10%;
  z-index: -3;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(19, 180, 203, 0.18), rgba(6, 17, 29, 0) 68%);
  filter: blur(8px);
}

.mark-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(76%, 360px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%) rotate(-2deg);
  border: 1px solid rgba(126, 218, 230, 0.2);
  border-radius: 28%;
  background: rgba(8, 22, 36, 0.8);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 0 80px rgba(12, 161, 184, 0.15);
  backdrop-filter: blur(14px);
}

.mark-card img {
  width: 100%;
  height: 100%;
  border-radius: 27%;
}

.visual-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  border: 1px solid rgba(47, 178, 198, 0.19);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-14deg);
}

.visual-orbit-one {
  width: 103%;
  aspect-ratio: 1.08;
}

.visual-orbit-two {
  width: 76%;
  aspect-ratio: 0.78;
  transform: translate(-50%, -50%) rotate(32deg);
}

.metric-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 148px;
  padding: 0.82rem 0.95rem;
  border: 1px solid rgba(104, 208, 222, 0.17);
  border-radius: 0.85rem;
  color: var(--muted-strong);
  background: rgba(7, 24, 39, 0.84);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.25);
  font-size: 0.78rem;
  font-weight: 670;
  backdrop-filter: blur(10px);
}

.metric-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 0.5rem;
  color: var(--accent-light);
  background: rgba(24, 191, 210, 0.1);
  font-weight: 800;
}

.metric-card-top {
  top: 13%;
  right: -2%;
  animation: float 6s ease-in-out infinite;
}

.metric-card-bottom {
  bottom: 11%;
  left: -3%;
  animation: float 6s ease-in-out 1.4s infinite;
}

.node {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(24, 191, 210, 0.06), 0 0 22px rgba(24, 191, 210, 0.6);
}

.node-one { top: 6%; left: 26%; }
.node-two { top: 65%; right: 3%; }
.node-three { bottom: 4%; left: 38%; }

.principles {
  padding: 7rem 0 6rem;
  border-top: 1px solid var(--border);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.7fr 1.4fr 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 3.4rem;
}

.section-kicker {
  margin-bottom: 0.8rem;
  color: var(--accent-light);
  font-size: 0.75rem;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-heading h2,
.status-panel h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.55rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  font-weight: 650;
}

.section-heading > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.principle-card {
  min-height: 275px;
  padding: 1.65rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(16, 35, 52, 0.74), rgba(8, 21, 34, 0.72));
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.principle-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: linear-gradient(145deg, rgba(18, 41, 60, 0.82), rgba(8, 23, 37, 0.8));
}

.card-number {
  display: block;
  margin-bottom: 4rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 780;
  letter-spacing: 0.11em;
}

.principle-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.17rem;
  letter-spacing: -0.025em;
}

.principle-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.66;
}

.status-panel {
  display: grid;
  grid-template-columns: 1.15fr 1fr auto;
  gap: 2rem;
  align-items: end;
  margin: 1rem 0 7rem;
  padding: clamp(1.7rem, 4vw, 3rem);
  border: 1px solid rgba(59, 198, 216, 0.22);
  border-radius: 1.25rem;
  background:
    linear-gradient(100deg, rgba(13, 39, 58, 0.93), rgba(8, 27, 43, 0.86)),
    radial-gradient(circle at 90% 20%, rgba(28, 194, 214, 0.2), transparent 30%);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
}

.status-panel > p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.72;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  color: var(--accent-light);
  font-size: 0.9rem;
  font-weight: 730;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 110px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-brand {
  color: var(--muted-strong);
  font-size: 1rem;
}

.footer-brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.site-footer p {
  margin-bottom: 0;
}

:focus-visible {
  outline: 3px solid var(--accent-light);
  outline-offset: 4px;
}

@keyframes pulse {
  0%, 100% { opacity: 0.72; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.08); }
}

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

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 4.7rem;
  }

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

  .hero-visual {
    width: min(100%, 600px);
    min-height: 500px;
    margin: -1rem auto 0;
  }

  .section-heading {
    grid-template-columns: 1fr 2fr;
  }

  .section-heading > p:last-child {
    grid-column: 2;
  }

  .status-panel {
    grid-template-columns: 1fr 1fr;
  }

  .status-panel .text-link {
    grid-column: 2;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 1.25rem), var(--max-width));
  }

  .site-header {
    min-height: 76px;
  }

  .header-link {
    font-size: 0;
  }

  .header-link span {
    font-size: 1rem;
  }

  .hero {
    gap: 1rem;
    padding: 4rem 0 4.8rem;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

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

  .metric-card {
    min-width: 132px;
    padding: 0.72rem;
  }

  .metric-card-top { right: 1%; }
  .metric-card-bottom { left: 1%; }

  .principles {
    padding: 5rem 0 4rem;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    margin-bottom: 1.2rem;
  }

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

  .principle-card {
    min-height: auto;
  }

  .card-number {
    margin-bottom: 2.7rem;
  }

  .status-panel {
    grid-template-columns: 1fr;
    align-items: start;
    margin-bottom: 4.5rem;
  }

  .status-panel .text-link {
    grid-column: 1;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
  }
}

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