:root {
  color-scheme: dark;
  --navy: #202e54;
  --navy-deep: #182441;
  --navy-soft: #293963;
  --ink: #f5f4ef;
  --muted: #aeb8d0;
  --line: rgba(202, 213, 239, 0.2);
  --accent: #f3ce3e;
  --accent-soft: rgba(243, 206, 62, 0.16);
  --success: #72db9a;
  --shadow: rgba(5, 11, 27, 0.34);
  --shell: min(1180px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 76% 12%, rgba(78, 101, 159, 0.22), transparent 25rem),
    linear-gradient(145deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

a {
  color: inherit;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.ambient {
  position: fixed;
  z-index: -1;
  border: 1px solid rgba(107, 131, 193, 0.13);
  border-radius: 50%;
  pointer-events: none;
}

.ambient-one {
  top: 18vh;
  right: -22rem;
  width: 42rem;
  aspect-ratio: 1;
}

.ambient-two {
  bottom: -19rem;
  left: -14rem;
  width: 34rem;
  aspect-ratio: 1;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 15px 5px 15px 5px;
  box-shadow: 0 7px 18px var(--shadow);
  font-size: 29px;
  font-weight: 900;
  line-height: 1;
}

.brand-copy {
  display: grid;
  font-size: 14px;
  line-height: 1.05;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.brand-copy strong {
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0.09em;
}

.brand-copy span {
  color: var(--muted);
}

.environment-label {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 7px var(--accent-soft), 0 0 18px rgba(243, 206, 62, 0.58);
}

.environment-prod .status-dot {
  background: var(--success);
  box-shadow: 0 0 0 7px rgba(114, 219, 154, 0.12), 0 0 18px rgba(114, 219, 154, 0.45);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
  min-height: 680px;
  padding-block: 76px 100px;
}

.hero-copy {
  min-width: 0;
}

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

h1,
h2,
p {
  text-wrap: balance;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(4.25rem, 8.3vw, 7.65rem);
  font-weight: 950;
  line-height: 0.87;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

h1 span {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
  text-stroke: 1.5px var(--ink);
}

.hero-intro {
  max-width: 610px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 260px;
  margin-top: 38px;
  padding: 17px 20px 17px 24px;
  border: 2px solid var(--accent);
  border-radius: 18px 5px 18px 5px;
  box-shadow: 0 9px 0 rgba(4, 10, 26, 0.23);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.primary-action span {
  font-size: 20px;
}

.primary-action:hover,
.primary-action:focus-visible {
  background: var(--accent);
  color: var(--navy-deep);
  outline: none;
  transform: translateY(-3px);
}

.hero-orbit {
  position: relative;
  display: grid;
  width: min(34vw, 420px);
  min-width: 320px;
  aspect-ratio: 1;
  place-items: center;
  justify-self: end;
}

.orbit-ring {
  position: absolute;
  border: 1px solid rgba(156, 176, 225, 0.27);
  border-radius: 50%;
}

.orbit-ring-one {
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 45px rgba(95, 117, 172, 0.07);
}

.orbit-ring-two {
  width: 68%;
  height: 68%;
  border-style: dashed;
}

.orbit-core {
  display: grid;
  width: 42%;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(156, 176, 225, 0.35);
  border-radius: 32px 9px 32px 9px;
  background: rgba(19, 29, 54, 0.35);
  box-shadow: 0 24px 60px rgba(5, 10, 25, 0.38);
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 950;
  letter-spacing: -0.05em;
}

.orbit-label {
  position: absolute;
  display: grid;
  min-width: 64px;
  min-height: 34px;
  place-items: center;
  border: 1px solid rgba(156, 176, 225, 0.28);
  border-radius: 12px 3px 12px 3px;
  background: var(--navy-deep);
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.orbit-label-rest {
  top: 5%;
  left: 46%;
}

.orbit-label-ws {
  right: 1%;
  bottom: 24%;
}

.orbit-label-json {
  bottom: 8%;
  left: 8%;
}

.resources {
  padding-block: 90px 120px;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 52px;
}

.section-heading .eyebrow {
  margin: 0 0 7px;
}

h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.6rem, 5.4vw, 5.2rem);
  font-weight: 950;
  line-height: 0.96;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

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

.resource-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  min-height: 190px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px 7px 34px 7px;
  background: linear-gradient(145deg, rgba(51, 68, 111, 0.28), rgba(22, 33, 61, 0.2));
  box-shadow: 0 22px 45px rgba(6, 12, 30, 0.14);
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.resource-card::after {
  position: absolute;
  right: -60px;
  bottom: -110px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(149, 171, 225, 0.1);
  border-radius: 50%;
  content: "";
}

.resource-card:hover,
.resource-card:focus-visible {
  border-color: var(--accent);
  background: linear-gradient(145deg, rgba(61, 79, 126, 0.42), rgba(24, 36, 67, 0.28));
  outline: none;
  transform: translateY(-5px);
}

.resource-card-featured {
  border-color: rgba(243, 206, 62, 0.55);
}

.card-number {
  position: absolute;
  top: 20px;
  right: 24px;
  color: rgba(196, 208, 237, 0.32);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.card-icon {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 23px 6px 23px 6px;
  background: rgba(15, 24, 47, 0.28);
}

.card-icon svg {
  width: 42px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.card-copy {
  display: grid;
  gap: 5px;
}

.card-copy strong {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.card-copy > span {
  color: var(--muted);
  font-size: 14px;
}

.card-arrow {
  z-index: 1;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 18px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  padding-block: 30px 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.production-main {
  min-height: calc(100vh - 205px);
}

.production-hero {
  min-height: 650px;
}

.production-panel {
  width: min(38vw, 430px);
  min-width: 330px;
  padding: 28px;
  border: 1px solid rgba(243, 206, 62, 0.56);
  border-radius: 48px 9px 48px 9px;
  background:
    linear-gradient(135deg, rgba(54, 72, 116, 0.45), rgba(17, 27, 52, 0.35));
  box-shadow: 0 28px 65px rgba(4, 9, 23, 0.35), inset 0 0 55px rgba(83, 106, 164, 0.08);
}

.production-panel-top,
.production-panel-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.service-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}

.service-state i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 13px rgba(114, 219, 154, 0.7);
}

.production-monogram {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 300px;
  padding-bottom: 45px;
  border-bottom: 1px solid var(--line);
}

.production-monogram span {
  font-size: clamp(5.5rem, 9vw, 8rem);
  font-weight: 950;
  line-height: 0.7;
  letter-spacing: -0.09em;
}

.production-monogram small {
  margin-left: 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.production-panel-bottom {
  padding-top: 20px;
}

.production-statement {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 40px;
  padding-block: 70px 105px;
  border-top: 1px solid var(--line);
}

.statement-index {
  margin: 0;
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.statement-copy {
  max-width: 780px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.9vw, 2.7rem);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-orbit {
    width: min(70vw, 420px);
    justify-self: center;
  }

  .production-panel {
    width: min(100%, 540px);
    justify-self: start;
  }
}

@media (max-width: 700px) {
  :root {
    --shell: min(100% - 30px, 1180px);
  }

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

  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .environment-label {
    max-width: 130px;
    justify-content: flex-end;
    text-align: right;
    font-size: 9px;
  }

  .hero {
    gap: 74px;
    padding-block: 74px 88px;
  }

  h1 {
    font-size: clamp(3.2rem, 16.5vw, 5.3rem);
  }

  .hero-orbit {
    min-width: 280px;
  }

  .section-heading,
  .production-statement {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .resource-card {
    min-height: 164px;
    padding: 26px 22px;
  }

  .card-icon {
    width: 62px;
    height: 62px;
  }

  .card-arrow {
    width: 36px;
    height: 36px;
  }

  .production-panel {
    min-width: 0;
    padding: 22px;
  }

  .production-monogram {
    min-height: 240px;
  }

  .site-footer {
    gap: 20px;
    line-height: 1.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
