:root {
  color-scheme: light;
  --ink: #15233a;
  --muted: #627086;
  --faint: #8a96a8;
  --line: #dce3ed;
  --line-strong: #c8d2df;
  --surface: #ffffff;
  --surface-soft: #f7f9fc;
  --blue: #2764e7;
  --blue-dark: #174dc5;
  --blue-soft: #eaf1ff;
  --teal: #168d84;
  --teal-soft: #e6f7f4;
  --orange: #d7791f;
  --orange-soft: #fff5e7;
  --red: #c83d4e;
  --red-soft: #fff0f2;
  --shadow: 0 24px 70px rgba(28, 51, 84, 0.11), 0 3px 12px rgba(28, 51, 84, 0.05);
  --radius: 22px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #f7f9fd 0, #f4f7fb 44%, #f7f9fc 100%);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button,
input,
select {
  font: inherit;
}

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

button,
a {
  touch-action: manipulation;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(39, 100, 231, 0.24);
  outline-offset: 2px;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-glow {
  position: fixed;
  z-index: -1;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.page-glow-one {
  top: -230px;
  left: calc(50% - 540px);
  background: radial-gradient(circle, rgba(77, 132, 241, 0.13), rgba(77, 132, 241, 0));
}

.page-glow-two {
  top: 160px;
  right: calc(50% - 650px);
  background: radial-gradient(circle, rgba(28, 171, 158, 0.09), rgba(28, 171, 158, 0));
}

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

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #3175f1, #1a54cf);
  border-radius: 12px;
  box-shadow: 0 7px 18px rgba(39, 100, 231, 0.24);
}

.brand-mark svg {
  width: 30px;
  height: 30px;
  fill: rgba(255, 255, 255, 0.16);
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.brand-mark .brand-mark-line {
  fill: none;
  stroke-width: 1.6;
}

.brand > span:last-child {
  display: grid;
  line-height: 1.1;
}

.brand strong {
  font-size: 17px;
  letter-spacing: 0.025em;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.release-pill,
.optional-tag {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 4px 9px;
  color: #4e6077;
  font-size: 11px;
  font-weight: 650;
  line-height: 1;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(205, 215, 228, 0.9);
  border-radius: 999px;
}

.shell {
  width: min(100% - 40px, 760px);
  margin: 42px auto 0;
}

.hero {
  max-width: 700px;
  margin: 0 auto 42px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(35px, 7vw, 54px);
  font-weight: 760;
  letter-spacing: -0.047em;
  line-height: 1.07;
}

.hero h1 span {
  color: var(--blue);
}

.hero-copy {
  max-width: 580px;
  margin: 21px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: center;
  margin-top: 25px;
  color: #506178;
  font-size: 12px;
}

.trust-row span {
  display: inline-flex;
  gap: 5px;
  align-items: center;
}

.trust-row svg {
  width: 15px;
  height: 15px;
  color: var(--teal);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 15px 15px 15px 16px;
  margin-bottom: 18px;
  border: 1px solid;
  border-radius: 15px;
}

.notice-error {
  color: #7e2432;
  background: var(--red-soft);
  border-color: #f0c8cf;
}

.notice-icon {
  display: grid;
  flex: 0 0 auto;
  width: 23px;
  height: 23px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  place-items: center;
  background: var(--red);
  border-radius: 50%;
}

.notice > div {
  flex: 1;
  min-width: 0;
}

.notice strong {
  font-size: 14px;
}

.notice p {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.55;
}

.icon-button {
  display: grid;
  width: 27px;
  height: 27px;
  padding: 0;
  color: currentColor;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  place-items: center;
  background: transparent;
  border: 0;
  border-radius: 7px;
  opacity: 0.68;
}

.install-card,
.progress-card,
.success-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(211, 220, 232, 0.92);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.step {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 17px;
  padding: 32px 34px;
  border-bottom: 1px solid var(--line);
}

.confirm-step {
  border-bottom: 0;
}

.step-number {
  display: grid;
  width: 30px;
  height: 30px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 750;
  place-items: center;
  background: var(--blue-soft);
  border: 1px solid #d4e2ff;
  border-radius: 10px;
}

.step-body {
  min-width: 0;
}

.step-heading {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
}

.step-heading h2 {
  margin: 2px 0 0;
  font-size: 19px;
  letter-spacing: -0.018em;
}

.step-heading p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.compact-heading {
  margin-bottom: 24px;
}

.status-badge {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 7px;
  align-items: center;
  min-height: 27px;
  padding: 5px 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.status-dot {
  width: 7px;
  height: 7px;
  background: #9ca7b7;
  border-radius: 50%;
}

.status-loading .status-dot {
  animation: pulse 1.2s ease-in-out infinite;
}

.status-connected {
  color: #14736c;
  background: var(--teal-soft);
  border-color: #c6e9e4;
}

.status-connected .status-dot {
  background: var(--teal);
}

.status-disconnected {
  color: #725832;
  background: #fbf7ef;
  border-color: #e8ddca;
}

.status-disconnected .status-dot {
  background: #b1874c;
}

.connection-panel {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 17px;
  margin-top: 22px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.connection-panel strong {
  font-size: 13px;
}

.connection-panel p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.connected-panel {
  justify-content: flex-start;
  background: #f3fbfa;
  border-color: #cfeae6;
}

.connected-icon {
  display: grid;
  flex: 0 0 auto;
  width: 35px;
  height: 35px;
  color: var(--teal);
  place-items: center;
  background: #dff5f1;
  border-radius: 11px;
}

.connected-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.connected-copy {
  flex: 1;
  min-width: 0;
}

.button {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 17px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  background: var(--blue);
  border: 0;
  border-radius: 11px;
  box-shadow: 0 7px 18px rgba(39, 100, 231, 0.16);
  transition:
    background 140ms ease,
    box-shadow 140ms ease,
    transform 140ms ease;
}

.button:hover:not(:disabled) {
  background: var(--blue-dark);
  box-shadow: 0 9px 22px rgba(39, 100, 231, 0.22);
  transform: translateY(-1px);
}

.button:active:not(:disabled) {
  transform: translateY(0);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.text-button {
  padding: 4px 0;
  color: var(--blue);
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
  background: transparent;
  border: 0;
}

.text-button:hover {
  color: var(--blue-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

fieldset {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

fieldset:disabled .step {
  opacity: 0.54;
}

.form-grid {
  display: grid;
  gap: 22px;
}

.field {
  min-width: 0;
}

.preferences-panel {
  padding: 18px;
  background: #f8faff;
  border: 1px solid #dce5f1;
  border-radius: 13px;
}

.preferences-heading {
  margin-bottom: 18px;
}

.preferences-heading h3 {
  margin: 0;
  color: #243550;
  font-size: 14px;
  letter-spacing: -0.01em;
}

.preferences-heading p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

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

.preference-group {
  min-width: 0;
}

.preference-group-wide {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid #dce5f1;
}

.preference-group legend,
.preference-label {
  display: block;
  width: 100%;
  margin-bottom: 9px;
  color: #334761;
  font-size: 12px;
  font-weight: 680;
  line-height: 1.5;
}

.preference-select-wrap select {
  height: 42px;
  background-color: #fff;
}

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

.radio-option {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.radio-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.radio-option-card {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 42px;
  padding: 8px 10px;
  color: #465a74;
  font-size: 12px;
  font-weight: 620;
  line-height: 1.35;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  transition:
    color 140ms ease,
    background 140ms ease,
    border-color 140ms ease,
    box-shadow 140ms ease;
}

.radio-option-card::before {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  content: "";
  background: #fff;
  border: 1.5px solid #aebccc;
  border-radius: 50%;
  transition:
    border-color 140ms ease,
    box-shadow 140ms ease;
}

.radio-option:hover input:not(:disabled) + .radio-option-card {
  border-color: #aebccd;
}

.radio-option input:checked + .radio-option-card {
  color: var(--blue-dark);
  background: #f4f7ff;
  border-color: #88aaf1;
  box-shadow: 0 1px 3px rgba(39, 100, 231, 0.08);
}

.radio-option input:checked + .radio-option-card::before {
  border: 4px solid var(--blue);
}

.radio-option input:focus-visible + .radio-option-card {
  outline: 3px solid rgba(39, 100, 231, 0.24);
  outline-offset: 2px;
}

.radio-option input:disabled + .radio-option-card {
  cursor: not-allowed;
  opacity: 0.58;
}

.preference-help {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.closed-loop-details {
  padding: 13px 14px;
  margin-top: 13px;
  color: #405570;
  background: #f0f5fc;
  border: 1px solid #d3deed;
  border-radius: 10px;
}

.closed-loop-details > strong {
  color: #314762;
  font-size: 12px;
}

.closed-loop-details > p {
  margin: 10px 0 0;
  font-size: 11px;
  line-height: 1.6;
}

.variable-list {
  display: grid;
  gap: 9px;
  margin: 11px 0 0;
}

.variable-list > div {
  min-width: 0;
}

.variable-list dt,
.variable-list dd {
  margin: 0;
}

.variable-list dt {
  margin-bottom: 3px;
  color: #355173;
  font-size: 10px;
  font-weight: 700;
}

.variable-list dd code {
  display: block;
  padding: 6px 8px;
  color: #4b5e76;
  font-size: 10px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  white-space: normal;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(203, 215, 231, 0.82);
  border-radius: 6px;
}

.variable-list code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.field label,
.label-row label {
  display: inline-block;
  margin-bottom: 8px;
  color: #243550;
  font-size: 13px;
  font-weight: 680;
}

.label-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

.label-row label {
  margin: 0;
}

.optional-tag {
  min-height: 20px;
  padding: 3px 7px;
  color: #6d7888;
  font-size: 10px;
  background: var(--surface-soft);
}

.input-wrap,
.select-wrap {
  position: relative;
}

input,
select {
  width: 100%;
  height: 46px;
  padding: 0 13px;
  color: var(--ink);
  font-size: 14px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(26, 44, 71, 0.02);
  transition:
    border-color 140ms ease,
    box-shadow 140ms ease;
}

input:hover,
select:hover {
  border-color: #aebccd;
}

input:focus,
select:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(39, 100, 231, 0.11);
}

input:user-invalid,
select:user-invalid {
  border-color: var(--red);
}

input::placeholder {
  color: #a1aaba;
}

select {
  padding-right: 38px;
  cursor: pointer;
  appearance: none;
}

.select-wrap > svg {
  position: absolute;
  top: 50%;
  right: 13px;
  width: 17px;
  height: 17px;
  color: #718097;
  pointer-events: none;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transform: translateY(-50%);
}

.field-help,
.slug-preview {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.field-meta {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}

.slug-preview {
  flex: 0 0 auto;
  color: #617188;
  white-space: nowrap;
}

.slug-preview strong {
  color: #344863;
  font-weight: 650;
}

.input-action {
  position: absolute;
  top: 50%;
  right: 7px;
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  color: #718097;
  cursor: pointer;
  place-items: center;
  background: transparent;
  border: 0;
  border-radius: 8px;
  transform: translateY(-50%);
}

.input-action:hover {
  color: var(--ink);
  background: var(--surface-soft);
}

.input-action svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.input-action .eye-closed,
.input-action[aria-pressed="true"] .eye-open {
  display: none;
}

.input-action[aria-pressed="true"] .eye-closed {
  display: block;
}

.secret-actions {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-top: 4px;
}

.secret-action-spacer {
  flex: 1;
}

.copy-status {
  min-width: 32px;
  color: var(--teal);
  font-size: 10px;
  font-weight: 650;
}

.secret-save-note {
  padding-left: 9px;
  margin: 9px 0 0;
  color: #526781;
  font-size: 11px;
  line-height: 1.55;
  border-left: 2px solid #8faee8;
}

.inline-warning {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 10px 11px;
  margin-top: 12px;
  color: #795222;
  font-size: 11px;
  line-height: 1.55;
  background: var(--orange-soft);
  border: 1px solid #f1dab8;
  border-radius: 9px;
}

.inline-warning svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  fill: none;
  stroke: var(--orange);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.access-note {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 13px 14px;
  margin-bottom: 14px;
  color: #465a74;
  background: #f2f6fc;
  border: 1px solid #d5dfed;
  border-radius: 11px;
}

.access-note > div:first-child {
  display: grid;
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  color: var(--blue);
  place-items: center;
  background: #e3edff;
  border-radius: 8px;
}

.access-note svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.access-note strong {
  color: #314762;
  font-size: 12px;
}

.access-note p {
  margin: 5px 0 0;
  font-size: 11px;
  line-height: 1.65;
}

.access-note code {
  padding: 1px 3px;
  color: #334d6f;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.94em;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 4px;
}

.confirm-box {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  cursor: pointer;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 11px;
  transition:
    background 140ms ease,
    border-color 140ms ease;
}

.confirm-box:hover {
  background: #f3f7fd;
  border-color: #bfcce0;
}

.confirm-box > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.custom-checkbox {
  display: grid;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: #fff;
  place-items: center;
  background: #fff;
  border: 1.5px solid #aebccc;
  border-radius: 6px;
  transition:
    background 120ms ease,
    border-color 120ms ease;
}

.custom-checkbox svg {
  width: 15px;
  height: 15px;
  opacity: 0;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.confirm-box > input:checked + .custom-checkbox {
  background: var(--blue);
  border-color: var(--blue);
}

.confirm-box > input:checked + .custom-checkbox svg {
  opacity: 1;
}

.confirm-box > input:focus-visible + .custom-checkbox {
  outline: 3px solid rgba(39, 100, 231, 0.2);
  outline-offset: 2px;
}

.confirm-box strong,
.confirm-box small {
  display: block;
}

.confirm-box strong {
  color: #2b3d58;
  font-size: 12px;
}

.confirm-box small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.button-deploy {
  width: 100%;
  min-height: 50px;
  margin-top: 17px;
  font-size: 14px;
  border-radius: 12px;
}

.button-spinner {
  display: none;
  width: 17px;
  height: 17px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}

.button-deploy.is-loading .button-spinner {
  display: block;
}

.button-deploy.is-loading .button-arrow {
  display: none;
}

.submit-note {
  margin: 9px 0 0;
  color: var(--faint);
  font-size: 11px;
  text-align: center;
}

.progress-card,
.success-card {
  padding: 32px 36px;
  margin-top: 22px;
}

.progress-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.progress-header .eyebrow {
  margin-bottom: 7px;
}

.progress-header h2,
.success-card h2 {
  margin: 0;
  font-size: 23px;
  letter-spacing: -0.025em;
}

.elapsed-time {
  min-width: 55px;
  padding: 6px 8px;
  color: #51647d;
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  text-align: center;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.deployment-meter {
  padding: 17px 18px 18px;
  margin-top: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 0, rgba(73, 132, 245, 0.12), transparent 42%),
    linear-gradient(145deg, #f8faff, #f2f7ff 58%, #f2fbf9);
  border: 1px solid rgba(190, 207, 235, 0.9);
  border-radius: 15px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 9px 24px rgba(45, 91, 166, 0.07);
  transition: background 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.deployment-meter-summary {
  display: flex;
  gap: 18px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 12px;
}

.deployment-meter-stage {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.deployment-meter-stage small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.deployment-meter-stage strong {
  overflow: hidden;
  color: #263d61;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.deployment-meter-percent {
  flex: 0 0 auto;
  color: var(--blue-dark);
  font-size: 22px;
  font-weight: 760;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.045em;
  line-height: 1;
}

.deployment-progress-track {
  position: relative;
  height: 11px;
  overflow: hidden;
  background: rgba(183, 199, 223, 0.42);
  border: 1px solid rgba(161, 183, 215, 0.4);
  border-radius: 999px;
  box-shadow: inset 0 1px 3px rgba(55, 82, 122, 0.1);
}

.deployment-progress-fill {
  --progress-scale: 0;
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: linear-gradient(90deg, #2869ed 0%, #4b88f2 48%, #1aa696 100%);
  border-radius: inherit;
  box-shadow: 0 0 14px rgba(42, 108, 232, 0.28);
  transform: scaleX(var(--progress-scale));
  transform-origin: left center;
  transition: transform 560ms cubic-bezier(0.22, 0.72, 0.23, 1);
  will-change: transform;
}

.deployment-progress-fill::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(100deg, transparent 18%, rgba(255, 255, 255, 0.48) 48%, transparent 78%);
  transform: translateX(-110%);
}

.deployment-meter.is-active .deployment-progress-fill::after {
  animation: progress-shimmer 1.65s ease-in-out infinite;
}

.deployment-meter.is-complete {
  background: linear-gradient(145deg, #f5fcfa, #eefaf7);
  border-color: #bfe4dd;
  box-shadow: inset 0 1px 0 #fff, 0 9px 24px rgba(22, 141, 132, 0.08);
}

.deployment-meter.is-complete .deployment-meter-stage strong,
.deployment-meter.is-complete .deployment-meter-percent {
  color: #11766f;
}

.deployment-meter.is-complete .deployment-progress-fill {
  background: linear-gradient(90deg, #16968b, #23b2a2);
  box-shadow: 0 0 14px rgba(22, 141, 132, 0.24);
}

.deployment-meter.is-error {
  background: linear-gradient(145deg, #fff9fa, #fff3f5);
  border-color: #efc5cb;
  box-shadow: inset 0 1px 0 #fff, 0 9px 24px rgba(200, 61, 78, 0.07);
}

.deployment-meter.is-error .deployment-meter-stage strong,
.deployment-meter.is-error .deployment-meter-percent {
  color: var(--red);
}

.deployment-meter.is-error .deployment-progress-fill {
  background: linear-gradient(90deg, #d34a5b, #e66a78);
  box-shadow: 0 0 12px rgba(200, 61, 78, 0.2);
}

.progress-message {
  min-height: 22px;
  margin: 14px 0 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.progress-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.progress-list li {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  min-height: 59px;
}

.progress-list li:not(:last-child)::after {
  position: absolute;
  top: 39px;
  bottom: -5px;
  left: 10px;
  width: 2px;
  content: "";
  background: var(--line);
}

.progress-marker {
  position: relative;
  z-index: 1;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  background: #fff;
  border: 2px solid #c9d3df;
  border-radius: 50%;
}

.progress-list strong,
.progress-list small {
  display: block;
}

.progress-list strong {
  color: #405069;
  font-size: 12px;
}

.progress-list small {
  margin-top: 3px;
  color: var(--faint);
  font-size: 10px;
}

.progress-list em {
  color: var(--faint);
  font-size: 10px;
  font-style: normal;
}

.progress-list li.is-active .progress-marker {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-soft);
}

.progress-list li.is-active .progress-marker::after {
  width: 6px;
  height: 6px;
  content: "";
  background: var(--blue);
  border-radius: 50%;
  animation: pulse 1.1s ease-in-out infinite;
}

.progress-list li.is-active strong,
.progress-list li.is-active em {
  color: var(--blue);
}

.progress-list li.is-complete .progress-marker {
  color: #fff;
  background: var(--teal);
  border-color: var(--teal);
}

.progress-list li.is-complete .progress-marker::after {
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  content: "\2713";
}

.progress-list li.is-complete strong,
.progress-list li.is-complete em {
  color: #11766f;
}

.progress-list li.is-complete:not(:last-child)::after {
  background: #83c8c0;
}

.progress-list li.is-error .progress-marker {
  border-color: var(--red);
  box-shadow: 0 0 0 4px var(--red-soft);
}

.progress-list li.is-error .progress-marker::after {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  content: "!";
}

.progress-list li.is-error strong,
.progress-list li.is-error em {
  color: var(--red);
}

.success-card {
  text-align: center;
}

.success-mark {
  display: grid;
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  color: #fff;
  place-items: center;
  background: linear-gradient(145deg, #24a398, #118278);
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(22, 141, 132, 0.22);
}

.success-mark svg {
  width: 41px;
  height: 41px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.6;
}

.success-card > p:not(.eyebrow, .success-url, .success-tip) {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.button-success {
  min-width: 210px;
  margin-top: 22px;
  background: var(--teal);
  box-shadow: 0 7px 18px rgba(22, 141, 132, 0.18);
}

.button-success:hover {
  background: #117c74 !important;
  box-shadow: 0 9px 22px rgba(22, 141, 132, 0.23) !important;
}

.success-url {
  margin: 10px 0 0;
  color: var(--faint);
  font-size: 11px;
  overflow-wrap: anywhere;
}

.success-tip {
  max-width: 540px;
  padding: 10px 12px;
  margin: 18px auto 0;
  color: #795222;
  font-size: 11px;
  line-height: 1.55;
  background: var(--orange-soft);
  border: 1px solid #f1dab8;
  border-radius: 9px;
}

.privacy-note {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 23px 25px;
  margin: 24px 0 0;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(210, 219, 231, 0.8);
  border-radius: 17px;
}

.privacy-icon {
  display: grid;
  flex: 0 0 auto;
  width: 37px;
  height: 37px;
  color: var(--blue);
  place-items: center;
  background: var(--blue-soft);
  border-radius: 11px;
}

.privacy-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.privacy-note h2 {
  margin: 1px 0 0;
  font-size: 13px;
}

.privacy-note p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

footer {
  width: min(100% - 40px, 760px);
  padding: 27px 0 42px;
  margin: 0 auto;
  color: #8a95a6;
  font-size: 10px;
  line-height: 1.65;
  text-align: center;
}

footer p {
  margin: 0;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  50% {
    opacity: 0.42;
    transform: scale(0.86);
  }
}

@keyframes progress-shimmer {
  60%,
  100% {
    transform: translateX(110%);
  }
}

@media (max-width: 640px) {
  .site-header,
  .shell,
  footer {
    width: min(100% - 26px, 760px);
  }

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

  .shell {
    margin-top: 29px;
  }

  .hero {
    margin-bottom: 31px;
  }

  .hero h1 {
    font-size: clamp(32px, 10vw, 43px);
  }

  .hero-copy {
    margin-top: 17px;
    font-size: 15px;
  }

  .trust-row {
    gap: 8px 13px;
    margin-top: 20px;
  }

  .step {
    grid-template-columns: 27px minmax(0, 1fr);
    gap: 11px;
    padding: 25px 18px;
  }

  .step-number {
    width: 27px;
    height: 27px;
    border-radius: 8px;
  }

  .step-heading {
    gap: 10px;
  }

  .step-heading h2 {
    font-size: 17px;
  }

  .connection-panel {
    flex-direction: column;
    align-items: stretch;
  }

  .connected-panel {
    display: grid;
    grid-template-columns: 35px minmax(0, 1fr);
  }

  .connected-panel .text-button {
    grid-column: 2;
    justify-self: start;
  }

  .button-primary {
    width: 100%;
  }

  .field-meta {
    display: block;
  }

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

  .preference-group-wide {
    grid-column: auto;
  }

  .slug-preview {
    white-space: normal;
  }

  .progress-card,
  .success-card {
    padding: 27px 21px;
  }

  .deployment-meter {
    padding: 15px 16px 16px;
  }

  .privacy-note {
    padding: 20px;
  }
}

@media (max-width: 410px) {
  .release-pill {
    display: none !important;
  }

  .trust-row {
    display: grid;
    justify-content: center;
    text-align: left;
  }

  .status-badge {
    padding-right: 7px;
    padding-left: 7px;
  }

  .preferences-panel {
    padding: 15px;
  }

  .radio-options {
    gap: 7px;
  }

  .radio-option-card {
    min-height: 44px;
    padding-right: 8px;
    padding-left: 8px;
  }

  .progress-list li {
    grid-template-columns: 22px minmax(0, 1fr);
  }

  .progress-list em {
    grid-column: 2;
    margin-top: -13px;
  }

  .deployment-meter-summary {
    gap: 10px;
  }

  .deployment-meter-stage strong {
    font-size: 12px;
  }

  .deployment-meter-percent {
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
