@font-face {
  font-family: "Urbanist";
  src: url("/urbanist-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: "Urbanist";
  src: url("/urbanist-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: "Urbanist", sans-serif;
  color: #161b22;
  background: #f4f5f5;
  --ink: #161b22;
  --muted: #606c76;
  --line: #dfe3e5;
  --orange: #ff9418;
  --orange-dark: #e27b00;
  --blue: #1953dc;
  --night: #080b12;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

.platform-symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f4f5f5;
}

.topbar {
  min-height: 88px;
  padding: 12px clamp(22px, 4vw, 64px);
  display: flex;
  align-items: center;
  gap: 24px;
  color: #d9dee7;
  background: var(--night);
  border-bottom: 1px solid rgb(255 255 255 / 12%);
}

.brand {
  display: inline-flex;
  width: 116px;
  height: 58px;
  align-items: center;
}

.brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-name {
  font-size: 15px;
  font-weight: 500;
}

.read-only-badge {
  margin-left: auto;
  padding: 7px 12px;
  color: #fff;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

main {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  min-height: 610px;
  background: #fff;
}

.brand-panel {
  min-width: 0;
  padding: clamp(52px, 7vw, 96px) clamp(28px, 6vw, 88px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  color: #fff;
  background-color: #0b0d13;
  background-image: linear-gradient(115deg, rgb(0 0 0 / 80%), rgb(20 69 196 / 68%));
}

.brand-copy {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.eyebrow,
.step {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
}

.setup-panel .step {
  color: #a64f00;
}

h1 {
  margin: 0 0 22px;
  max-width: 620px;
  font-size: clamp(42px, 4.6vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
}

.brand-copy > p:last-child {
  max-width: 580px;
  margin: 0;
  color: #d1d8e6;
  font-size: 18px;
  line-height: 1.55;
}

.brand-rule {
  position: relative;
  width: min(100%, 580px);
  height: 1px;
  margin-top: 48px;
  background: rgb(255 255 255 / 20%);
}

.brand-rule span {
  position: absolute;
  width: 88px;
  height: 3px;
  left: 0;
  top: -1px;
  background: var(--orange);
}

.setup-panel {
  width: min(100% - 48px, 620px);
  margin: auto auto auto 0;
  padding: 42px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 22px 70px rgb(29 42 52 / 12%);
}

.panel-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  display: grid;
  place-items: center;
  background: #fff4e6;
  border-radius: 8px;
}

.panel-icon span {
  width: 16px;
  height: 20px;
  border: 2px solid var(--orange-dark);
  border-radius: 8px 8px 4px 4px;
  position: relative;
}

.panel-icon span::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 9px;
  left: 1px;
  top: -10px;
  border: 2px solid var(--orange-dark);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.panel-heading {
  margin-bottom: 22px;
}

h2 {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
}

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

.status {
  margin: 0 0 24px;
  padding: 11px 13px;
  display: flex;
  gap: 9px;
  align-items: center;
  color: #48545d;
  background: #f4f6f7;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  flex: none;
  background: #8b969d;
  border-radius: 50%;
}

.status.connected {
  color: #176d16;
  background: #e5f4e4;
}

.status.connected .status-dot {
  background: #239b21;
}

.label-row {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

label {
  font-size: 14px;
  font-weight: 700;
}

.label-row a {
  color: #42515b;
  font-size: 13px;
  font-weight: 600;
}

.input-wrap {
  position: relative;
}

input {
  width: 100%;
  height: 50px;
  padding: 0 82px 0 14px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #aeb8bd;
  border-radius: 6px;
  font: inherit;
}

input:focus {
  border-color: var(--orange);
  outline: 3px solid rgb(255 148 24 / 20%);
}

.toggle-key {
  position: absolute;
  top: 1px;
  right: 1px;
  height: 48px;
  padding: 0 14px;
  color: #4d5961;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.primary {
  width: 100%;
  min-height: 50px;
  padding: 0 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #11151a;
  background: var(--orange);
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.primary:hover {
  background: #ffa536;
}

.primary:disabled {
  cursor: wait;
  opacity: 0.65;
}

.privacy {
  margin: 14px 0 22px;
  display: flex;
  gap: 10px;
  color: #5c6870;
}

.privacy p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.lock {
  width: 12px;
  height: 10px;
  margin-top: 5px;
  flex: none;
  border: 1.5px solid #69767d;
  border-radius: 2px;
  position: relative;
}

.lock::before {
  content: "";
  position: absolute;
  width: 7px;
  height: 6px;
  left: 1px;
  top: -7px;
  border: 1.5px solid #69767d;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
}

.message {
  min-height: 22px;
  margin: 18px 0 0;
  color: #4f5d65;
  font-size: 14px;
  line-height: 1.5;
}

.message:empty {
  display: none;
}

.message.error {
  color: #b42328;
}

.desktop-download {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid #e5e8e9;
}

.desktop-download > p:not(.step) {
  margin: 0;
  color: #5c6870;
  font-size: 13px;
  line-height: 1.5;
}

.service-downloads {
  margin-top: 18px;
  border-top: 1px solid #e5e8e9;
}

.service-download {
  padding: 18px 0;
  border-bottom: 1px solid #e5e8e9;
}

.service-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.service-heading h4 {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: 0;
}

.service-heading span {
  padding: 4px 7px;
  color: #4d5961;
  background: #f1f3f4;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
}

.service-download > p {
  margin: 6px 0 0;
  color: #5c6870;
  font-size: 12px;
  line-height: 1.45;
}

.download-actions {
  margin: 12px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.download-actions a {
  min-height: 44px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.platform-icon {
  width: 17px;
  height: 17px;
  flex: none;
  fill: currentColor;
}

.download-primary {
  color: #11151a;
  background: var(--orange);
}

.download-primary:hover {
  background: #ffa536;
}

.download-secondary {
  color: #344149;
  background: #fff;
  border: 1px solid #cbd3d7;
}

.download-secondary:hover {
  border-color: var(--orange);
}

.download-note {
  margin-top: 14px !important;
  font-size: 12px !important;
}

.support-note {
  margin: 22px 0 0;
  padding-top: 20px;
  color: #68757c;
  border-top: 1px solid #e5e8e9;
  font-size: 13px;
  line-height: 1.5;
}

footer {
  min-height: 46px;
  padding: 0 clamp(22px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #728087;
  background: #fff;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

@media (max-width: 900px) {
  .topbar {
    min-height: 76px;
  }

  main {
    grid-template-columns: 1fr;
  }

  .brand-panel {
    min-height: 390px;
  }

  h1 {
    font-size: clamp(38px, 9vw, 54px);
  }

  .setup-panel {
    margin: 40px auto;
  }
}

@media (max-width: 560px) {
  .product-name {
    display: none;
  }

  .brand-panel {
    min-height: 0;
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .brand-copy > p:last-child {
    font-size: 16px;
  }

  .brand-rule {
    margin-top: 30px;
  }

  .setup-panel {
    width: min(100% - 28px, 520px);
    padding: 28px 22px;
  }

  .download-actions {
    grid-template-columns: 1fr;
  }

  footer {
    padding: 14px 18px;
    gap: 10px;
    flex-direction: column;
  }
}