:root {
  color-scheme: light;
  --blue: #075cf5;
  --blue-dark: #0348c7;
  --navy: #0b1f3b;
  --ink: #14233a;
  --muted: #64748b;
  --line: #dbe4f0;
  --surface: #ffffff;
  --wash: #f4f8ff;
  --success: #0a7f5a;
  --danger: #b42318;
  --shadow: 0 24px 70px rgb(11 31 59 / 10%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 3%, rgb(7 92 245 / 10%), transparent 24rem),
    linear-gradient(180deg, #fff 0, var(--wash) 46rem, #fff 100%);
  min-height: 100vh;
}

a {
  color: var(--blue);
}

code {
  font-size: 0.92em;
  color: var(--navy);
}

.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 850;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  place-items: center;
  gap: 3px;
  width: 34px;
  height: 34px;
  padding: 8px;
  background: var(--blue);
  border-radius: 10px;
}

.brand-mark i {
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 2px;
}

.brand-mark i:nth-child(2),
.brand-mark i:nth-child(3) {
  opacity: 0.72;
}

.edition {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
}

.shell {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto 72px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 48px;
  align-items: center;
  min-height: 300px;
  padding: 12px 0 34px;
}

.hero h1 {
  margin: 6px 0 20px;
  max-width: 760px;
  color: var(--navy);
  font-size: clamp(2.5rem, 5vw, 4.15rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.eyebrow {
  margin: 0;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.lede {
  max-width: 660px;
  color: #42536a;
  font-size: 1.18rem;
  line-height: 1.65;
}

.banner {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  filter: drop-shadow(0 20px 34px rgb(11 31 59 / 12%));
}

.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  counter-increment: steps;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #7b889a;
  font-size: 0.85rem;
  font-weight: 750;
}

.steps li::before {
  content: counter(steps);
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid #cdd8e7;
  border-radius: 50%;
  font-size: 0.7rem;
}

.steps li.active,
.steps li.done {
  color: var(--navy);
}

.steps li.active::before {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
}

.steps li.done::before {
  content: "✓";
  color: var(--success);
  border-color: #9bd4bf;
}

.panel {
  margin-bottom: 24px;
  padding: clamp(24px, 5vw, 44px);
  background: rgb(255 255 255 / 96%);
  border: 1px solid rgb(219 228 240 / 90%);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.panel-heading {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.panel-number {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--blue);
  background: #eaf1ff;
  border-radius: 13px;
  font-weight: 850;
}

.panel h2,
.success-panel h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  letter-spacing: -0.035em;
}

.panel-heading p,
.section-title p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.stack {
  display: grid;
  gap: 14px;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 750;
}

input,
select,
button {
  font: inherit;
}

input,
select {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  color: var(--ink);
  background: white;
  border: 1px solid #bfccdd;
  border-radius: 11px;
  outline: none;
}

input:focus,
select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgb(7 92 245 / 12%);
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 11px;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: white;
  background: var(--blue);
}

.button.primary:hover {
  background: var(--blue-dark);
}

.button.quiet {
  color: var(--blue);
  background: #edf3ff;
  border-color: #dce7ff;
}

.button.large {
  min-height: 52px;
  padding-inline: 24px;
}

.button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.field-help,
.fine-print {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.notice,
.install-note {
  display: grid;
  gap: 5px;
  margin-top: 22px;
  padding: 16px 18px;
  color: #38506e;
  background: #f2f7ff;
  border: 1px solid #dce7f8;
  border-radius: 13px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.subpanel {
  margin-bottom: 34px;
  padding: 24px;
  background: #f8faff;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.subpanel-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.subpanel h3,
.section-title h3,
.next-steps h3 {
  margin: 0 0 5px;
  color: var(--navy);
  font-size: 1.08rem;
}

.subpanel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.credential-help {
  margin-top: 16px;
  color: #52657e;
  font-size: 0.84rem;
  line-height: 1.55;
}

.credential-help:empty {
  display: none;
}

.section-title {
  margin-top: 20px;
}

.advanced {
  padding: 16px 18px;
  background: #fbfcff;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.advanced summary {
  color: var(--navy);
  cursor: pointer;
  font-weight: 800;
}

.advanced-grid {
  margin-top: 18px;
}

.check-row {
  display: flex;
  align-items: center;
  align-self: end;
  min-height: 48px;
}

.check-row input {
  width: 18px;
  min-height: 18px;
}

.install-note {
  margin: 8px 0;
  grid-template-columns: auto 1fr;
  gap: 10px;
}

.status-panel {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-block: 24px;
}

.status-panel[hidden] {
  display: none;
}

.status-icon {
  width: 12px;
  height: 12px;
  margin-top: 7px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgb(7 92 245 / 12%);
}

.status-panel.error .status-icon {
  background: var(--danger);
  box-shadow: 0 0 0 6px rgb(180 35 24 / 10%);
}

.status-panel h2 {
  font-size: 1.1rem;
}

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

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.success-panel {
  text-align: center;
  border-color: #b8e2d2;
}

.success-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  color: white;
  background: var(--success);
  border-radius: 50%;
  font-size: 2rem;
}

.success-panel > p:not(.eyebrow, .fine-print) {
  max-width: 680px;
  margin: 0 auto 24px;
  color: var(--muted);
  line-height: 1.6;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 28px 0;
  padding: 18px;
  background: #f5faf8;
  border-radius: 14px;
}

.facts div {
  padding: 8px;
  border-right: 1px solid #d8ebe3;
}

.facts div:last-child {
  border: 0;
}

.facts dt {
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.facts dd {
  margin: 5px 0 0;
  color: var(--navy);
  font-weight: 850;
}

.success-panel .button {
  margin: 20px auto 0;
}

.next-steps {
  max-width: 650px;
  margin: 36px auto 0;
  padding-top: 24px;
  text-align: left;
  border-top: 1px solid var(--line);
}

.next-steps ol {
  padding-left: 22px;
  color: #445a75;
  line-height: 1.7;
}

footer {
  padding: 24px 8px;
  color: #738198;
  font-size: 0.78rem;
  text-align: center;
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 18px;
  }

  .banner {
    max-height: 190px;
  }

  .grid.two,
  .facts {
    grid-template-columns: 1fr;
  }

  .facts div {
    border-right: 0;
    border-bottom: 1px solid #d8ebe3;
  }

  .subpanel-heading,
  .install-note {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .panel {
    border-radius: 18px;
  }
}
