:root {
  --bg: #07101d;
  --bg-2: #0a1727;
  --text: #f5f8fc;
  --muted: #9baabd;
  --muted-2: #6f8094;
  --line: rgba(255, 255, 255, 0.11);
  --blue: #68baff;
  --mint: #70e2ce;
  --max: 1260px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
a {
  font: inherit;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 78% 12%, rgba(68, 112, 225, 0.18), transparent 30%),
    linear-gradient(145deg, #07101d 0%, #091725 58%, #07101d 100%);
}

.grid {
  position: absolute;
  inset: 0;
  z-index: -5;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(185, 215, 255, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 215, 255, 0.075) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 95%);
}

.accent {
  position: absolute;
  z-index: -4;
  border-radius: 50%;
  filter: blur(105px);
  pointer-events: none;
}

.accent-one {
  width: 460px;
  height: 460px;
  right: -150px;
  top: -170px;
  background: rgba(78, 127, 255, 0.24);
}

.accent-two {
  width: 330px;
  height: 330px;
  left: -130px;
  bottom: -130px;
  background: rgba(71, 209, 185, 0.13);
}

.header,
.main,
.footer {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

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

.identity {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--text);
  text-decoration: none;
  font-weight: 760;
  letter-spacing: -0.025em;
}

.monogram {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 50%;
  font-weight: 820;
  letter-spacing: -0.045em;
}

.header-status {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 650;
}

.header-status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 17px rgba(112, 226, 206, 0.68);
}

.main {
  min-height: calc(100vh - 166px);
  padding: 86px 0 74px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, 0.65fr);
  align-items: center;
  gap: 100px;
}

.eyebrow,
.panel-label {
  margin: 0 0 19px;
  color: var(--blue);
  font-size: 0.73rem;
  line-height: 1.2;
  font-weight: 840;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 890px;
  margin: 0;
  font-size: clamp(3.65rem, 7vw, 7rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
  font-weight: 790;
}

.lead {
  max-width: 760px;
  margin: 33px 0 0;
  color: #dce6f0;
  font-size: clamp(1.24rem, 2vw, 1.66rem);
  line-height: 1.45;
  letter-spacing: -0.026em;
}

.note {
  max-width: 675px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.99rem;
  line-height: 1.72;
}

.links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
  margin-top: 35px;
}

.link {
  min-height: 49px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: inherit;
  text-decoration: none;
  font-weight: 760;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease,
    color 0.18s ease, border-color 0.18s ease;
}

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

.primary {
  color: var(--bg);
  background: var(--text);
}

.primary:hover {
  background: var(--mint);
}

.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.18);
}

.secondary:hover {
  background: rgba(255, 255, 255, 0.11);
}

.text-link {
  padding-inline: 9px;
  color: var(--text);
  background: transparent;
}

.text-link:hover {
  color: var(--blue);
}

.side-panel {
  border-top: 1px solid rgba(255, 255, 255, 0.38);
}

.panel-block {
  padding: 25px 0 28px;
  border-bottom: 1px solid var(--line);
}

.panel-block ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.panel-block li {
  padding: 9px 0;
  color: #d9e4ef;
  font-size: 0.94rem;
  font-weight: 630;
}

.location-block p:not(.panel-label) {
  margin: 4px 0;
  color: var(--muted);
  font-size: 0.91rem;
}

.build-block {
  display: grid;
  grid-template-columns: 70px 1fr;
  column-gap: 20px;
}

.build-index {
  grid-row: 1 / span 2;
  margin: 0;
  color: var(--mint);
  font-size: 0.76rem;
  font-weight: 820;
}

.build-title {
  margin: 0;
  color: var(--text);
  font-weight: 780;
}

.build-copy {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.58;
}

.footer {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted-2);
  border-top: 1px solid var(--line);
  font-size: 0.79rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 20;
  transform: translate(-50%, 18px);
  padding: 11px 16px;
  color: var(--bg);
  background: var(--text);
  border-radius: 999px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 960px) {
  .main {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .side-panel {
    max-width: 720px;
  }
}

@media (max-width: 680px) {
  .header,
  .main,
  .footer {
    width: min(calc(100% - 28px), var(--max));
  }

  .header {
    min-height: 76px;
  }

  .identity > span:last-child {
    display: none;
  }

  .header-status {
    max-width: 180px;
    text-align: right;
    line-height: 1.3;
  }

  .main {
    min-height: auto;
    padding: 64px 0 56px;
  }

  h1 {
    font-size: clamp(3.1rem, 15vw, 5.1rem);
  }

  .lead {
    font-size: 1.24rem;
  }

  .links {
    align-items: stretch;
  }

  .primary,
  .secondary {
    flex: 1 1 135px;
  }

  .text-link {
    flex-basis: 100%;
    justify-content: flex-start;
  }

  .footer {
    min-height: auto;
    padding: 20px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
