:root {
  --bg: #07111f;
  --panel: rgba(15, 23, 42, 0.92);
  --panel-soft: rgba(2, 6, 23, 0.26);
  --border: rgba(148, 163, 184, 0.16);
  --surface-raised: #111d2d;
  --field-surface: #172536;
  --field-border: #3e5067;
  --field-focus: #51c6db;
  --field-valid: #4ca878;
  --field-error: #ed7d7d;
  --control-radius: 11px;
  --card-form-radius: 16px;
  --text: #e8f0fc;
  --muted: #96a8c3;
  --accent: #22d3ee;
  --ok: #22c55e;
  --bad: #ef4444;
  --warn: #f59e0b;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { min-height: 100%; background: var(--bg); }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font);
  background:
    radial-gradient(circle at 12% 0%, rgba(34, 211, 238, 0.17), transparent 30%),
    radial-gradient(circle at 95% 4%, rgba(124, 58, 237, 0.2), transparent 29%),
    linear-gradient(180deg, #08111f 0%, #0b1322 48%, #07111b 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.38;
  background:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent 80%);
}

button, input { font: inherit; }

button { -webkit-tap-highlight-color: transparent; }

.page {
  width: min(100% - 28px, 720px);
  margin: 0 auto;
  padding: 30px 0 56px;
}

.hero {
  padding: 8px 4px 22px;
}

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

.hero-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 11px;
  color: #dbeafe;
  background: rgba(15, 23, 42, 0.58);
  font-size: 0.86rem;
  font-weight: 750;
  text-decoration: none;
}

.hero-home:hover { background: rgba(255, 255, 255, 0.075); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #cbd9ea;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.7);
}

h1 {
  margin: 12px 0 8px;
  font-size: clamp(2rem, 7vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero p {
  margin: 0;
  max-width: 590px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

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

.step {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: rgba(15, 23, 42, 0.62);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 650;
}

.step-number {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 50%;
  background: rgba(255,255,255,0.035);
  color: #c8d6e8;
  font-size: 0.75rem;
}

.step.active {
  color: var(--text);
  border-color: rgba(34, 211, 238, 0.3);
  background: rgba(34, 211, 238, 0.07);
}

.step.active .step-number,
.step.complete .step-number {
  border-color: transparent;
  color: #04111b;
  background: var(--accent);
}

.step.complete { color: #cfe0ef; }

.card {
  position: relative;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.section + .section { margin-top: 12px; }

.checkout-section {
  display: grid;
  gap: 10px;
}

.section-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

h2 {
  margin: 0;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.price {
  color: #f2f7ff;
  font-size: 1.08rem;
  font-weight: 750;
  white-space: nowrap;
}

.total-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.total-box span {
  display: block;
  color: #e6eefb;
  font-size: 0.98rem;
  font-weight: 780;
}

.renewal-note {
  margin-top: 4px;
  color: #91a4bf;
  font-size: 0.82rem;
  line-height: 1.35;
}

.total-box .price {
  font-size: 1.42rem;
  font-weight: 850;
}

.mode-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  margin-bottom: 12px;
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.35);
}

.mode-button {
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  color: var(--muted);
  background: transparent;
  font-weight: 700;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease, transform 100ms ease;
}

.mode-button:active { transform: scale(0.985); }

.mode-button.active {
  color: var(--text);
  background: rgba(148, 163, 184, 0.13);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.search-wrap { position: relative; }

.search-input {
  width: 100%;
  min-height: 52px;
  padding: 13px 46px 13px 15px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 15px;
  outline: none;
  color: var(--text);
  background: linear-gradient(180deg, rgba(18, 27, 45, 0.98), rgba(9, 14, 25, 0.98));
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.search-input::placeholder { color: #7387a4; }

.search-input:focus {
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.11);
}

.search-spinner {
  position: absolute;
  top: 17px;
  right: 16px;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(148, 163, 184, 0.25);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

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

.results {
  position: absolute;
  z-index: 10;
  top: calc(100% + 7px);
  left: 0;
  right: 0;
  max-height: 315px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  background: #0a1322;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.42);
}

.result-button {
  width: 100%;
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 0;
  border-radius: 11px;
  color: var(--text);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.result-button:hover,
.result-button.highlighted { background: rgba(148, 163, 184, 0.12); }

.result-name { font-weight: 750; }
.result-address { color: var(--muted); font-size: 0.86rem; line-height: 1.35; }
.result-status { padding: 13px; color: var(--muted); font-size: 0.9rem; }

.purchase-summary {
  display: grid;
  gap: 13px;
  padding: 14px 15px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 15px;
  background: rgba(2, 6, 23, 0.24);
}

.summary-label {
  margin-bottom: 7px;
  color: #91a4bf;
  font-size: 0.76rem;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.summary-site-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.summary-divider {
  height: 1px;
  background: rgba(148, 163, 184, 0.16);
}

.selected-name {
  min-width: 0;
  flex: 1 1 auto;
  font-weight: 760;
  overflow-wrap: anywhere;
}
.selected-address { margin-top: 3px; color: #a9bdd5; font-size: 0.86rem; line-height: 1.35; }

.change-button,
.copy-button,
.open-button {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 12px;
  color: var(--text);
  background: rgba(255,255,255,0.045);
  font-weight: 700;
  cursor: pointer;
}

.change-button:hover,
.copy-button:hover,
.open-button:hover { background: rgba(255,255,255,0.075); }

.summary-site-row .change-button {
  min-height: auto;
  padding: 2px 0;
  border: 0;
  border-radius: 0;
  color: #9eeaff;
  background: transparent;
  font-size: 0.86rem;
  font-weight: 760;
  line-height: 1.2;
  white-space: nowrap;
}

.summary-site-row .change-button:hover {
  color: #d8f7ff;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
}


.site-help {
  margin: 14px 0 0;
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 15px;
  background: rgba(2, 6, 23, 0.22);
}

.site-help summary {
  padding: 13px 15px;
  color: #dce8f7;
  font-size: 0.88rem;
  font-weight: 780;
  cursor: pointer;
  list-style: none;
}

.site-help summary::-webkit-details-marker { display: none; }
.site-help summary::after { content: "+"; float: right; color: var(--accent); font-size: 1.15rem; line-height: 1; }
.site-help[open] summary::after { content: "−"; }
.site-help .site-guide { margin: 0 12px 12px; }

.site-guide {
  position: relative;
  display: grid;
  grid-template-columns: minmax(210px, 250px) 1fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 0;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(34, 211, 238, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 18%, rgba(34, 211, 238, 0.11), transparent 38%),
    rgba(2, 6, 23, 0.32);
}

.site-guide-visual {
  position: relative;
  min-height: 290px;
  display: grid;
  place-items: center;
  padding: 30px 14px 14px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 15px;
  background: rgba(8, 15, 28, 0.52);
}

.site-guide img {
  width: min(210px, 100%);
  height: auto;
  max-height: 285px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.28));
}

.site-guide-marker {
  position: absolute;
  z-index: 1;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 12px;
  border-radius: 999px;
  color: #04111b;
  background: var(--accent);
  box-shadow: 0 8px 20px rgba(34, 211, 238, 0.2);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-guide-marker::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 0;
  height: 0;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid var(--accent);
}

.site-guide-copy strong {
  display: block;
  margin-bottom: 7px;
  color: #e6eefb;
  font-size: 1rem;
}

.site-guide-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.site-guide-example {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  padding: 7px 10px;
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 999px;
  color: #cfe0ef;
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.76rem;
  font-weight: 750;
}

.bluefy-note {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  margin: 0 0 14px;
  padding: 13px 14px;
  border: 1px solid rgba(34, 211, 238, 0.24);
  border-radius: 15px;
  background: rgba(34, 211, 238, 0.075);
  text-align: left;
}

.bluefy-note strong {
  display: block;
  margin-bottom: 3px;
  color: #e6eefb;
  font-size: 0.9rem;
}

.bluefy-note p {
  margin: 0;
  color: #a9bdd5;
  font-size: 0.82rem;
  line-height: 1.45;
}

.bluefy-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 11px;
  color: #04111b;
  background: var(--accent);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.bluefy-link:hover { background: #67e8f9; }

.email-field {
  display: grid;
  gap: 6px;
  margin: 0;
}

.email-field label {
  color: #dbe7f7;
  font-size: 0.9rem;
  font-weight: 720;
}

.email-input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 11px;
  outline: none;
  color: var(--text);
  background: rgba(2, 6, 23, 0.22);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.email-input:focus {
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.11);
}

.email-input.invalid {
  border-color: rgba(239, 68, 68, 0.55);
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.09);
}

.promo-field {
  margin: -2px 0 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: hidden;
}

.promo-field summary {
  min-height: 34px;
  padding: 5px 4px 5px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
  color: #d8e5f6;
  font-size: 0.9rem;
  font-weight: 740;
  cursor: pointer;
  user-select: none;
}

.promo-field summary::-webkit-details-marker {
  display: none;
}

.promo-field summary::after {
  content: "";
  width: 9px;
  height: 9px;
  margin-right: 3px;
  border-right: 2px solid rgba(216, 229, 246, 0.72);
  border-bottom: 2px solid rgba(216, 229, 246, 0.72);
  transform: rotate(45deg);
  transform-origin: center;
  transition: transform 150ms ease;
  flex: 0 0 auto;
}

.promo-field[open] summary::after {
  transform: rotate(225deg);
}

.promo-field summary:focus-visible {
  outline: 2px solid rgba(34, 211, 238, 0.5);
  outline-offset: -2px;
}

.promo-panel {
  display: grid;
  gap: 7px;
  padding: 3px 0 6px;
}

.promo-panel label {
  color: #9fb1c8;
  font-size: 0.8rem;
  font-weight: 650;
}

.promo-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 7px;
}

.promo-input {
  width: 100%;
  min-height: 36px;
  padding: 8px 10px;
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 9px;
  outline: none;
  color: var(--text);
  background: rgba(15, 23, 42, 0.56);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.promo-input:focus {
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.11);
}

.promo-button {
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 9px;
  color: #d8e5f6;
  background: rgba(255,255,255,0.035);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.promo-button.primary {
  color: #d8f7ff;
  border-color: rgba(34, 211, 238, 0.22);
  background: rgba(34, 211, 238, 0.08);
}

.promo-status {
  min-height: 1.2em;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.promo-status.ok { color: #86efac; }
.promo-status.bad { color: #fca5a5; }

.field-hint {
  color: #7f93ad;
  font-size: 0.79rem;
  line-height: 1.4;
}

.email-status {
  margin-top: 10px !important;
  color: #b9cbe0 !important;
  font-size: 0.9rem;
}

.email-status.ok { color: #86efac !important; }
.email-status.bad { color: #fca5a5 !important; }

.secondary-button {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 12px;
  color: var(--text);
  background: rgba(255,255,255,0.045);
  font-weight: 700;
  cursor: pointer;
}

.secondary-button:hover { background: rgba(255,255,255,0.075); }

.payment-heading {
  margin: 8px 0 2px;
  font-size: 1rem;
}

.free-checkout-button {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 14px;
  color: #04111b;
  background: var(--accent);
  font-weight: 820;
  cursor: pointer;
}

.free-checkout-button:hover { background: #67e8f9; }
.free-checkout-button:disabled { cursor: wait; opacity: .72; }

#paymentMethods {
  display: grid;
  gap: 16px;
}

.express-checkout {
  display: grid;
  gap: 10px;
}

.payment-method-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.apple-pay-wrap,
.google-pay-wrap,
#googlePayButtonContainer {
  width: 100%;
  min-height: 54px;
}

#googlePayButtonContainer > div {
  width: 100% !important;
  height: 54px !important;
}

apple-pay-button {
  --apple-pay-button-width: 100%;
  --apple-pay-button-height: 54px;
  --apple-pay-button-border-radius: var(--control-radius);
  --apple-pay-button-padding: 0;
  --apple-pay-button-box-sizing: border-box;
  display: block;
  width: 100%;
}

.payment-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0;
}

.payment-divider::before,
.payment-divider::after {
  content: "";
  height: 1px;
  flex: 1 1 auto;
  background: var(--border);
}

#paypalButtonContainer {
  min-height: 54px;
}

.payment-method-separator {
  height: 1px;
  background: var(--border);
}

.card-fields {
  display: grid;
  gap: 10px;
}

.card-fields-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid var(--field-border);
  border-radius: var(--control-radius);
  color: var(--text);
  background: var(--field-surface);
  font: inherit;
  font-weight: 720;
  text-align: left;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.card-fields-toggle:hover { background: #1d2f43; }

.card-fields-toggle:focus-visible {
  border-color: var(--field-focus);
  outline: 0;
  box-shadow: 0 0 0 2px rgba(81, 198, 219, 0.2);
}

.card-fields-toggle-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.card-fields-toggle-icon {
  width: 19px;
  height: 19px;
  color: #c7d4e5;
}

.card-fields-toggle-chevron {
  width: 18px;
  height: 18px;
  color: var(--muted);
  transition: transform 150ms ease;
}

.card-fields.is-open .card-fields-toggle {
  border: 0;
  border-bottom: 1px solid rgba(126, 151, 178, 0.28);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.card-fields.is-open .card-fields-toggle-chevron { transform: rotate(180deg); }

.card-fields.is-open .card-fields-toggle:focus-visible {
  border-color: transparent;
  box-shadow: inset 0 0 0 2px rgba(81, 198, 219, 0.42);
}

.card-fields.is-open {
  gap: 0;
  overflow: hidden;
  border-radius: var(--card-form-radius);
  background: var(--surface-raised);
}

.card-fields-form {
  display: grid;
  gap: 10px;
  max-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: max-height 180ms ease, padding 180ms ease, opacity 150ms ease, visibility 0ms linear 180ms;
}

.card-fields.is-open .card-fields-form {
  max-height: 560px;
  padding: 14px;
  opacity: 1;
  visibility: visible;
  transition: max-height 180ms ease, padding 180ms ease, opacity 150ms ease;
}

.card-field-block {
  box-sizing: border-box;
  display: grid;
  gap: 6px;
  margin: 0;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
}

.card-field-label {
  color: #c7d4e5;
  font-size: 0.875rem;
  font-weight: 680;
  line-height: 1.25;
}

.card-field-label span {
  color: var(--muted);
  font-weight: 500;
}

.card-field-host {
  display: block;
  width: 100%;
  min-width: 0;
  height: 48px;
  overflow: hidden;
  border-radius: var(--control-radius);
  background: #fff;
}

.card-fields-form.is-processing .card-field-host { opacity: 0.72; pointer-events: none; }

.card-field-host iframe {
  display: block;
  width: calc(100% + 16px) !important;
  height: 64px !important;
  margin: -8px 0 0 -8px;
  border: 0;
}

.card-field-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}

.card-field-message {
  min-height: 17px;
  margin: 0;
  color: var(--field-error);
  font-size: 0.78rem;
  font-weight: 550;
  line-height: 1.3;
}

.card-submit {
  min-height: 54px;
  border: 0;
  border-radius: var(--control-radius);
  color: #04111b;
  background: var(--accent);
  font-size: 0.96rem;
  font-weight: 780;
  cursor: pointer;
  transition: background 150ms ease, opacity 150ms ease;
}

.card-submit:hover { background: #67e8f9; }
.card-submit:focus-visible { outline: 3px solid rgba(34, 211, 238, 0.32); outline-offset: 2px; }
.card-submit:disabled { cursor: wait; background: #527787; color: #e8f1f6; opacity: 0.82; }

.card-fields-disclosure {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.4;
  opacity: 0.82;
}

.card-fields-disclosure a { color: #b9ecf6; }

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

@media (prefers-reduced-motion: reduce) {
  .card-fields-toggle,
  .card-fields-toggle-chevron,
  .card-fields-form,
  .card-submit { transition: none; }
}

.message {
  min-height: 1.35em;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.45;
}

#emailPrompt { margin-top: -2px; }
#emailPrompt:empty { display: none; }

.message.bad { color: #fca5a5; }
.message.ok { color: #86efac; }

.success {
  text-align: center;
  padding: 10px 0 4px;
}

.success-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  border-radius: 50%;
  color: #042012;
  background: var(--ok);
  font-size: 1.6rem;
  font-weight: 900;
  box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.09);
}

.success h2 { font-size: 1.45rem; }

.success p {
  margin: 8px auto 0;
  max-width: 470px;
  color: var(--muted);
  line-height: 1.5;
}

.code-box {
  margin: 20px auto 14px;
  padding: 18px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: 18px;
  background: rgba(34, 211, 238, 0.075);
}

.code-label {
  color: #a9bdd5;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.access-code {
  margin-top: 7px;
  font-size: clamp(2rem, 10vw, 3.4rem);
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 1;
  overflow-wrap: anywhere;
}

.success-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.open-button {
  color: #05121d;
  border-color: transparent;
  background: var(--accent);
  text-decoration: none;
}

.open-button:hover { background: #67e8f9; }

.support-note {
  margin: 18px 2px 0;
  color: #91a4bf;
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: center;
}
.support-note a { color: #cdeefa; font-weight: 750; text-decoration: none; }
.support-note a:hover { text-decoration: underline; }

.fine-print {
  margin: 16px 2px 0;
  color: #6f839f;
  font-size: 0.78rem;
  line-height: 1.45;
  text-align: center;
}

.hidden { display: none !important; }

@media (max-width: 560px) {
  .page { width: min(100% - 20px, 720px); padding-top: 20px; }
  .card { padding: 17px; border-radius: 20px; }
  .steps { gap: 5px; }
  .step { min-height: 50px; justify-content: center; padding: 8px 4px; font-size: 0.76rem; }
  .step-number { width: 22px; height: 22px; }
  .section-title-row { display: grid; gap: 5px; }
  .summary-site-row { align-items: flex-start; }
  .site-guide {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 15px;
  }
  .site-guide-visual {
    min-height: 310px;
    padding: 32px 14px 14px;
  }
  .site-guide img {
    width: min(225px, 100%, 72vw);
    max-height: 300px;
  }
  .site-guide-copy { text-align: center; }
  .site-guide-copy p { font-size: 0.86rem; }
  .bluefy-note { grid-template-columns: 1fr; }
  .bluefy-link { width: 100%; }
  .success-actions { display: grid; }
  .success-actions > * { width: 100%; }
  .promo-row { grid-template-columns: 1fr; }
}

@media (max-width: 339px) {
  .card-field-row { grid-template-columns: 1fr; }
}
