:root {
  color-scheme: light;
  --ink: #101820;
  --text: #21313d;
  --muted: #65737e;
  --paper: #f7f8f5;
  --white: #ffffff;
  --line: rgba(16, 24, 32, 0.13);
  --teal: #0f766e;
  --teal-soft: #d8f3ee;
  --mint: #8ed4c6;
  --gold: #fff0bd;
  --amber: #d97706;
  --amber-soft: #fff0d7;
  --plum: #6d3a77;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 32px));
  margin: 16px auto 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 36px rgba(16, 24, 32, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

.brand img,
.project-card img {
  flex: 0 0 auto;
  border-radius: 8px;
}

.brand span {
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  min-height: 36px;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav a:hover {
  color: var(--ink);
  background: rgba(15, 118, 110, 0.1);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(86vh, 900px);
  padding: 136px 20px 70px;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
  background:
    radial-gradient(circle at 78% 20%, rgba(217, 91, 61, 0.28), transparent 29%),
    radial-gradient(circle at 18% 74%, rgba(142, 212, 198, 0.26), transparent 31%),
    linear-gradient(145deg, #0f2238 0%, #183a54 48%, #24545f 100%);
}

.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
}

.hero::before {
  background-image: url("Assets/brand/isputnik-login-orbit-backdrop.svg");
  background-position: 10% 50%;
  background-repeat: no-repeat;
  background-size: min(1040px, 72vw) auto;
  opacity: 0.46;
}

.hero::after {
  background:
    linear-gradient(to bottom, transparent, transparent calc(100% - 124px), rgba(16, 34, 56, 0.9)),
    linear-gradient(90deg, rgba(15, 34, 56, 0.1), rgba(15, 34, 56, 0.58) 62%, rgba(15, 34, 56, 0.2)),
    linear-gradient(180deg, rgba(15, 34, 56, 0.05), rgba(15, 34, 56, 0.38));
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-content,
.section-inner {
  width: min(var(--max), calc(100vw - 40px));
  margin: 0 auto;
}

.hero-content {
  position: relative;
  z-index: 2;
  align-self: center;
}

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

.hero .eyebrow {
  color: #8ee6d8;
}

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

h1 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: 8.8rem;
  line-height: 0.88;
  letter-spacing: 0;
}

.hero h1 {
  color: var(--gold);
  text-shadow: 0 18px 60px rgba(5, 11, 21, 0.42);
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: 3rem;
  line-height: 1;
  letter-spacing: 0;
}

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

.lede {
  max-width: 610px;
  margin: 28px 0 0;
  color: #eef5f1;
  font-size: 1.32rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  color: var(--ink);
  background: var(--amber-soft);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.hero-orbit {
  position: absolute;
  left: 38%;
  top: 50%;
  width: min(78vw, 980px);
  aspect-ratio: 2.6 / 1;
  border: 1px solid rgba(248, 232, 176, 0.34);
  border-radius: 50%;
  transform: translate(-50%, -48%) rotate(-18deg);
}

.hero-orbit-b {
  width: min(62vw, 780px);
  border-color: rgba(134, 228, 216, 0.24);
  transform: translate(-44%, -54%) rotate(19deg);
}

.hero-orbit-c {
  width: min(48vw, 610px);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translate(-58%, -38%) rotate(54deg);
}

.hero-node {
  position: absolute;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 28px rgba(248, 232, 176, 0.8);
}

.hero-node-a {
  top: 25%;
  right: 40%;
  width: 16px;
  height: 16px;
}

.hero-node-b {
  left: 13%;
  bottom: 23%;
  width: 10px;
  height: 10px;
  background: var(--mint);
  box-shadow: 0 0 26px rgba(134, 228, 216, 0.78);
}

.hero-node-c {
  right: 44%;
  bottom: 17%;
  width: 12px;
  height: 12px;
  background: var(--amber);
  box-shadow: 0 0 28px rgba(245, 159, 90, 0.72);
}

.section {
  padding: 78px 20px;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 26px;
}

.project-band {
  background: var(--paper);
}

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

.project-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  min-height: 340px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 30px rgba(16, 24, 32, 0.07);
}

.project-card img {
  width: 64px;
  height: 64px;
}

.project-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.project-kicker {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 0.77rem;
  font-weight: 850;
  text-transform: uppercase;
}

.project-copy p:not(.project-kicker) {
  margin: 12px 0 18px;
  color: var(--muted);
}

.project-copy .project-codename {
  margin: 8px 0 0;
  color: var(--plum);
  font-weight: 800;
}

.project-copy .project-codename + p {
  margin-top: 8px;
}

.project-points {
  display: grid;
  gap: 7px;
  margin: 0 0 18px;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.project-points li {
  position: relative;
  padding-left: 16px;
}

.project-points li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
}

.project-copy a,
.link-list a {
  color: var(--teal);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.project-copy a {
  margin-top: auto;
}

.status-band {
  background: var(--teal-soft);
}

.status-layout,
.links-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.status-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.status-list li {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 58px;
  padding: 12px 14px;
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
}

.status-list span {
  color: var(--plum);
  font-weight: 850;
}

.links-band {
  background: var(--white);
}

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

.link-list a {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

@media (max-width: 880px) {
  .project-grid,
  .status-layout,
  .links-layout {
    grid-template-columns: 1fr;
  }

  .hero::before {
    background-position: 32% 62%;
    background-size: 780px auto;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    gap: 10px;
  }

  .nav {
    max-width: 58%;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .nav a {
    min-height: 32px;
    padding: 6px 8px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: min(82vh, 760px);
    padding-top: 150px;
  }

  .hero-orbit {
    left: 48%;
    width: min(132vw, 820px);
  }

  h1 {
    font-size: 4.6rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .lede {
    font-size: 1.12rem;
  }

  .hero-actions {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .project-card {
    grid-template-columns: 56px minmax(0, 1fr);
    min-height: auto;
    padding: 18px;
  }

  .project-card img {
    width: 56px;
    height: 56px;
  }

  .status-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 520px) {
  .site-header {
    align-items: center;
  }

  .hero-content,
  .section-inner {
    width: min(350px, calc(100vw - 40px));
  }

  .nav {
    display: none;
  }

  .project-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 3.5rem;
  }

  h2 {
    font-size: 1.9rem;
  }

}

@media (prefers-reduced-motion: no-preference) {
  .hero-node-a {
    animation: hero-drift 7s ease-in-out infinite;
  }

  .hero-node-b {
    animation: hero-drift 9s ease-in-out infinite reverse;
  }

  .hero-node-c {
    animation: hero-drift 8s ease-in-out infinite;
  }
}

@keyframes hero-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(12px, -10px, 0);
  }
}
