:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #060a17;
  color: #f4f8ff;
  font-synthesis: none;
  --ink: #060a17;
  --panel: #0c1326;
  --panel-soft: #111a31;
  --line: rgb(151 174 218 / 18%);
  --muted: #91a0bb;
  --cyan: #55e8ff;
  --lime: #c9ff4a;
  --violet: #906cff;
  --coral: #ff6f61;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--ink);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 14% 16%, rgb(53 80 185 / 24%), transparent 31rem),
    radial-gradient(circle at 91% 81%, rgb(100 53 186 / 18%), transparent 28rem),
    #060a17;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg width='52' height='52' viewBox='0 0 52 52' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M52 0H0V52' fill='none' stroke='%23202b46' stroke-width='.6'/%3E%3C/svg%3E");
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 88%);
  opacity: .48;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgb(85 232 255 / 35%);
  outline-offset: 3px;
}

.portal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

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

.portal-brand > span:last-child {
  display: grid;
  gap: 2px;
}

.portal-brand strong {
  font-size: 14px;
  letter-spacing: .18em;
}

.portal-brand small {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.portal-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgb(85 232 255 / 50%);
  background: linear-gradient(145deg, rgb(85 232 255 / 16%), rgb(144 108 255 / 17%));
  box-shadow: inset 0 0 18px rgb(85 232 255 / 10%);
  color: var(--cyan);
  font-size: 17px;
  font-weight: 900;
  transform: skew(-7deg);
}

.secure-label {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: #aebbd0;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.secure-label i,
.download-meta i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 15px var(--lime);
}

.portal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .72fr);
  gap: clamp(48px, 8vw, 128px);
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  min-height: calc(100vh - 95px);
  margin: 0 auto;
  padding: 64px 0 88px;
}

.portal-kicker,
.step-chip {
  margin: 0;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.portal-visual h1,
.download-head h1,
.activation-card h1 {
  margin: 20px 0 22px;
  font-size: clamp(52px, 7vw, 94px);
  line-height: .92;
  letter-spacing: -.065em;
}

.portal-lead {
  max-width: 570px;
  margin: 0;
  color: #aab5ca;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
}

.visual-board {
  position: relative;
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 34px;
  align-items: center;
  max-width: 650px;
  margin-top: 52px;
  padding: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgb(16 27 52 / 92%), rgb(7 13 29 / 76%));
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
}

.visual-board::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 28px;
  height: 1px;
  background: var(--cyan);
  content: "";
  transform: rotate(45deg);
  transform-origin: right;
}

.orbit {
  display: grid;
  width: 172px;
  height: 172px;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #0a1020 50%, transparent 51%),
    conic-gradient(var(--cyan) 0 41%, var(--violet) 41% 72%, var(--lime) 72% 88%, #1c2945 88%);
  box-shadow: 0 0 42px rgb(85 232 255 / 10%);
}

.orbit span {
  display: grid;
  width: 128px;
  height: 128px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .24em;
}

.board-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.board-metrics div {
  min-height: 96px;
  padding: 8px 18px;
  border-left: 1px solid var(--line);
}

.board-metrics b {
  display: block;
  color: #fff;
  font-size: 32px;
  line-height: 1;
}

.board-metrics span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  text-transform: uppercase;
}

.portal-panel {
  position: relative;
}

.portal-panel::before {
  position: absolute;
  inset: -14px 14px 14px -14px;
  z-index: -1;
  border: 1px solid rgb(85 232 255 / 24%);
  content: "";
}

.panel-card {
  padding: clamp(32px, 5vw, 54px);
  border: 1px solid rgb(165 185 225 / 21%);
  background:
    linear-gradient(152deg, rgb(22 31 57 / 98%), rgb(9 15 31 / 98%));
  box-shadow: 0 38px 90px rgb(0 0 0 / 42%);
}

.panel-card h2 {
  margin: 22px 0 14px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -.045em;
}

.panel-copy,
.activation-card > p:not(.step-chip, .status) {
  margin: 0;
  color: #9facbf;
  font-size: 15px;
  line-height: 1.65;
}

form {
  margin-top: 36px;
}

label {
  display: block;
  margin-bottom: 10px;
  color: #c7d0e1;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.input-shell {
  display: flex;
  align-items: center;
  border: 1px solid #34405b;
  background: #070c18;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.input-shell:focus-within {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgb(85 232 255 / 9%);
}

.input-shell > span {
  padding: 0 14px;
  border-right: 1px solid #26324c;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .15em;
}

input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  letter-spacing: .08em;
  padding: 17px 15px;
}

input::placeholder {
  color: #526078;
}

input:focus {
  outline: 0;
}

button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 54px;
  margin-top: 16px;
  border: 0;
  background: var(--lime);
  color: #090e18;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .055em;
  padding: 0 20px;
  text-transform: uppercase;
  transition: transform .2s ease, filter .2s ease;
}

form button,
.activation-card > button {
  width: 100%;
}

button:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
}

button[disabled] {
  cursor: wait;
  filter: grayscale(.4);
  opacity: .62;
  transform: none;
}

.status {
  min-height: 22px;
  margin: 18px 0 0;
  color: #9eabc1;
  font-size: 13px;
  line-height: 1.55;
}

.status.error {
  color: #ff8d81;
}

.download-layout {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 82px 0 100px;
}

.download-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  column-gap: 36px;
  margin-bottom: 48px;
}

.download-head .portal-kicker {
  grid-column: 1 / -1;
}

.download-head h1 {
  margin-bottom: 0;
}

.session-line {
  min-width: 230px;
  margin: 0 0 8px;
  padding: 14px 16px;
  border-left: 2px solid var(--cyan);
  background: rgb(14 24 47 / 76%);
}

.download-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 17px 20px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .04em;
}

.download-meta p {
  margin: 0;
}

.download-meta > span {
  display: flex;
  gap: 9px;
  align-items: center;
  color: #cdd7e8;
  text-transform: uppercase;
}

.platforms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.platform-download {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: end;
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--line);
  color: #fff;
  overflow: hidden;
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease;
}

.platform-download::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: .74;
  transition: opacity .2s ease, transform .35s ease;
}

.platform-download::after {
  position: absolute;
  top: 26px;
  right: 24px;
  width: 70px;
  height: 70px;
  border: 1px solid currentcolor;
  content: "";
  opacity: .15;
  transform: rotate(45deg);
}

.platform-download.windows::before {
  background: linear-gradient(145deg, #0d2940, #0a1020 62%);
}

.platform-download.linux::before {
  background: linear-gradient(145deg, #323310, #0a1020 62%);
}

.platform-download.macos::before {
  background: linear-gradient(145deg, #2d1d55, #0a1020 62%);
}

.platform-download:hover {
  border-color: rgb(85 232 255 / 55%);
  transform: translateY(-5px);
}

.platform-download:hover::before {
  opacity: 1;
  transform: scale(1.03);
}

.platform-index {
  align-self: start;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}

.platform-name {
  display: grid;
  gap: 7px;
}

.platform-name b {
  font-size: clamp(25px, 3vw, 35px);
  letter-spacing: -.04em;
}

.platform-name small {
  color: #99a6bd;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.download-arrow {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 23%);
  color: var(--lime);
  font-size: 18px;
}

.download-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 38px;
}

.download-info > p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.download-info strong {
  color: #fff;
}

.actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex: 0 0 auto;
}

.text-link {
  color: #d9e2f0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .07em;
  text-decoration: none;
  text-transform: uppercase;
}

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

.secondary {
  min-height: 42px;
  margin: 0;
  border: 1px solid #33405a;
  background: transparent;
  color: #d9e2f0;
  font-size: 11px;
}

.activation-layout {
  display: grid;
  grid-template-columns: minmax(310px, .72fr) minmax(400px, .86fr);
  gap: clamp(50px, 9vw, 145px);
  align-items: center;
  width: min(1080px, calc(100% - 48px));
  min-height: calc(100vh - 95px);
  margin: 0 auto;
  padding: 70px 0 96px;
}

.activation-visual {
  display: grid;
  justify-items: center;
  gap: 32px;
}

.activation-visual > p {
  color: #75839c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .28em;
}

.device-pulse {
  position: relative;
  display: grid;
  width: min(390px, 74vw);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgb(85 232 255 / 14%);
  border-radius: 50%;
}

.device-pulse::before,
.device-pulse::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.device-pulse::before {
  inset: 15%;
  border: 1px dashed rgb(144 108 255 / 35%);
}

.device-pulse::after {
  inset: 31%;
  background: radial-gradient(circle, rgb(85 232 255 / 19%), transparent 66%);
  box-shadow: 0 0 80px rgb(85 232 255 / 15%);
}

.pulse-ring {
  position: absolute;
  border-radius: 50%;
}

.ring-one {
  inset: 6%;
  border-top: 2px solid var(--cyan);
  border-right: 2px solid transparent;
  transform: rotate(37deg);
}

.ring-two {
  inset: 23%;
  border-bottom: 2px solid var(--violet);
  border-left: 2px solid transparent;
  transform: rotate(-24deg);
}

.device-core {
  z-index: 1;
  display: grid;
  width: 100px;
  height: 100px;
  place-items: center;
  border: 1px solid var(--cyan);
  background: #0b1528;
  box-shadow: 0 0 40px rgb(85 232 255 / 17%);
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .18em;
  transform: rotate(45deg);
}

.device-core::first-letter {
  color: var(--lime);
}

.signal-dot {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 15px var(--lime);
}

.dot-one {
  top: 11%;
  left: 38%;
}

.dot-two {
  right: 9%;
  bottom: 35%;
  background: var(--cyan);
  box-shadow: 0 0 15px var(--cyan);
}

.dot-three {
  bottom: 12%;
  left: 27%;
  background: var(--violet);
  box-shadow: 0 0 15px var(--violet);
}

.activation-card {
  padding: clamp(34px, 6vw, 62px);
  border-left: 1px solid rgb(85 232 255 / 35%);
  background: linear-gradient(120deg, rgb(14 23 45 / 90%), rgb(8 13 27 / 74%));
  box-shadow: 32px 32px 80px rgb(0 0 0 / 23%);
}

.activation-card h1 {
  font-size: clamp(43px, 5.5vw, 72px);
}

.activation-checks {
  display: grid;
  gap: 13px;
  margin: 30px 0;
  padding: 0;
  list-style: none;
}

.activation-checks li {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #bec9da;
  font-size: 13px;
}

.activation-checks span {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgb(201 255 74 / 35%);
  color: var(--lime);
  font-size: 11px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .portal-layout,
  .activation-layout {
    grid-template-columns: 1fr;
    gap: 54px;
    padding-top: 54px;
  }

  .portal-layout {
    min-height: auto;
  }

  .portal-visual h1,
  .download-head h1 {
    font-size: clamp(50px, 12vw, 76px);
  }

  .visual-board {
    max-width: none;
  }

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

  .platform-download {
    min-height: 150px;
  }

  .activation-visual {
    order: 2;
  }
}

@media (max-width: 640px) {
  .portal-header,
  .portal-layout,
  .download-layout,
  .activation-layout {
    width: min(100% - 30px, 1180px);
  }

  .portal-header {
    padding: 20px 0;
  }

  .secure-label {
    font-size: 0;
  }

  .secure-label i {
    width: 9px;
    height: 9px;
  }

  .portal-layout,
  .activation-layout {
    padding: 44px 0 66px;
  }

  .portal-visual h1,
  .download-head h1,
  .activation-card h1 {
    font-size: clamp(43px, 14vw, 61px);
  }

  .visual-board {
    grid-template-columns: 1fr;
  }

  .orbit {
    width: 142px;
    height: 142px;
  }

  .orbit span {
    width: 106px;
    height: 106px;
  }

  .board-metrics div {
    padding-inline: 12px;
  }

  .panel-card,
  .activation-card {
    padding: 30px 22px;
  }

  .download-layout {
    padding: 52px 0 70px;
  }

  .download-head {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .session-line {
    min-width: 0;
  }

  .download-meta,
  .download-info,
  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .download-meta {
    align-items: flex-start;
  }

  .actions {
    width: 100%;
  }

  .secondary {
    width: 100%;
  }

  .text-link {
    padding: 10px 0;
  }

  .platform-download {
    grid-template-columns: auto 1fr auto;
    min-height: 138px;
  }

  .activation-layout {
    grid-template-columns: 1fr;
  }

  .device-pulse {
    width: min(310px, 78vw);
  }
}
