@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --ink: #071012;
  --ink-raised: #0c1a1c;
  --line: rgba(216, 236, 230, 0.18);
  --text: #eff6f3;
  --muted: #aebeba;
  --lime: #9bcf4d;
  --danger: #f2a092;
}

* { box-sizing: border-box; }

a { color: inherit; text-decoration: none; }

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background: var(--ink);
  font-family: "Montserrat", sans-serif;
}

button,
input,
select,
textarea { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: 72px;
  padding: 12px max(28px, calc(50vw - 680px));
  border-bottom: 1px solid rgba(216, 236, 230, 0.12);
  background: rgba(7, 16, 18, 0.94);
  backdrop-filter: blur(18px);
}

.brand {
  display: block;
  flex: 0 0 268px;
  width: 268px;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.site-nav a { transition: color 180ms ease; }
.site-nav a:hover,
.site-nav a:focus-visible { color: var(--lime); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 47px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(1px) scale(0.985); }
.button-lime {
  color: #122006;
  background: var(--lime);
  box-shadow: 0 12px 24px rgba(102, 151, 43, 0.2);
}
.button-lime:hover { background: #b0df69; }
.nav-cta { margin-left: 3px; }

.signup-shell {
  min-height: 100vh;
  padding: 48px max(24px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(44px, 9vw, 150px);
  align-items: start;
  background: #091719;
}

.signup-context { max-width: 405px; padding-top: 16px; }
.eyebrow { margin: 0 0 14px; color: var(--lime); font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
h1, h2, p { margin-top: 0; }
h1, h2 { letter-spacing: 0; }
.signup-context h1 { margin-bottom: 18px; font-size: clamp(38px, 4vw, 58px); line-height: 1.03; }
.signup-context > p:not(.eyebrow) { margin-bottom: 30px; color: var(--muted); font-size: 17px; line-height: 1.55; }
.signup-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; color: var(--text); font-size: 14px; font-weight: 700; }
.signup-list li { display: flex; align-items: center; gap: 10px; }
.signup-list li::before { width: 9px; height: 9px; flex: 0 0 auto; border: 2px solid var(--lime); border-radius: 50%; content: ""; }

.enrollment-summary {
  margin-top: 38px;
  padding: 22px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--lime);
  border-radius: 8px;
  background: #0c1b1d;
}

.enrollment-summary .eyebrow { margin-bottom: 9px; }
.enrollment-price { margin: 0 0 7px; color: var(--text); font-size: 32px; font-weight: 800; line-height: 1; }
.enrollment-price span { color: var(--muted); font-size: 14px; font-weight: 700; }
.enrollment-copy { margin: 0 0 18px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.billing-cycle-control { display: grid; gap: 10px; }
.billing-cycle-control > span { color: var(--text); font-size: 13px; font-weight: 800; }
.billing-cycle-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.billing-cycle-option { display: flex; align-items: flex-start; gap: 10px; min-height: 80px; padding: 14px; border: 1px solid var(--line); border-radius: 7px; background: #0a1718; cursor: pointer; }
.billing-cycle-option:has(input:checked) { border-color: rgba(155, 207, 77, 0.72); background: rgba(155, 207, 77, 0.08); }
.billing-cycle-option input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--lime); }
.billing-cycle-option span { display: grid; gap: 5px; }
.billing-cycle-option strong { color: var(--text); font-size: 14px; }
.billing-cycle-option em { margin-left: 5px; color: var(--lime); font-size: 12px; font-style: normal; }
.billing-cycle-option small, .billing-cycle-note { color: var(--muted); font-size: 12px; line-height: 1.4; }
.billing-cycle-note { margin: 0; }
.discount-control { display: flex; align-items: end; justify-content: flex-end; gap: 8px; min-height: 0; }
.discount-toggle {
  display: inline-grid;
  order: 2;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  min-height: 26px;
  place-items: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: color-mix(in srgb, var(--muted) 62%, transparent);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}
.discount-toggle:hover,
.discount-toggle:focus-visible,
.discount-toggle[aria-expanded="true"] {
  border-color: var(--line);
  background: #0a1718;
  color: var(--lime);
}
.discount-field { order: 1; width: min(100%, 280px); margin: 0; }
.discount-field label { display: block; margin: 0 0 6px; color: var(--muted); font-size: 11px; font-weight: 700; }
.discount-field input { min-height: 43px; }
.discount-message { min-height: 22px; margin: 0; color: var(--muted); font-size: 12px; font-weight: 600; line-height: 1.45; }
.discount-message strong,
.discount-message.is-applied { color: var(--lime); }
.payment-method { display: grid; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: #0a1718; }
.payment-method h3 { margin: 0; color: var(--text); font-size: 14px; }
.payment-method > p { margin: 0; color: var(--muted); font-size: 12px; font-weight: 600; line-height: 1.5; }
#paymentElement { min-height: 42px; }
.payment-method-message { min-height: 18px; }
.payment-method-message.error { color: #ffaaa2; }
.payment-method-message.success { color: var(--lime); }
.charge-summary { display: grid; gap: 10px; margin: 0; }
.charge-summary div { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; padding-top: 10px; border-top: 1px solid var(--line); }
.charge-summary dt { color: var(--muted); font-size: 12px; font-weight: 700; }
.charge-summary dd { margin: 0; color: var(--text); font-size: 13px; font-weight: 800; text-align: right; }

.signup-form-wrap {
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--ink-raised);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
}

.form-heading { max-width: 560px; margin-bottom: 30px; }
.form-heading h2 { margin-bottom: 10px; font-size: clamp(28px, 3vw, 40px); line-height: 1.08; }
.form-heading > p:last-child { margin-bottom: 0; color: var(--muted); line-height: 1.5; }
form { display: grid; gap: 22px; }
.enrollment-progress { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.enrollment-progress li { display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 8px 10px; color: #82918e; border: 1px solid var(--line); border-radius: 7px; background: #0a1718; font-size: 12px; font-weight: 800; }
.enrollment-progress span { display: inline-grid; place-items: center; width: 21px; height: 21px; flex: 0 0 21px; color: #9cadab; border: 1px solid currentColor; border-radius: 50%; font-size: 11px; }
.enrollment-progress li.is-active { color: var(--text); border-color: rgba(155, 207, 77, 0.72); background: rgba(155, 207, 77, 0.1); }
.enrollment-progress li.is-active span,
.enrollment-progress li.is-complete span { color: #142006; border-color: var(--lime); background: var(--lime); }
.enrollment-progress li.is-complete { color: #d4e8d0; border-color: rgba(155, 207, 77, 0.3); }
.enrollment-step { display: grid; gap: 27px; }
.enrollment-step[hidden] { display: none; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { margin-bottom: 13px; color: var(--text); font-size: 14px; font-weight: 800; }
.field-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
label { display: grid; gap: 8px; color: var(--muted); font-size: 12px; font-weight: 800; }
.field-span-full { grid-column: 1 / -1; }
.domain-collection { display: grid; gap: 12px; }
.domain-collection-heading { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.domain-collection-heading > div { display: grid; gap: 5px; }
.domain-collection-heading span { color: var(--text); font-size: 14px; font-weight: 800; }
.domain-collection-heading p { margin: 0; color: var(--muted); font-size: 12px; font-weight: 600; line-height: 1.45; }
.domain-collection-heading .domain-price-hint { flex: 0 0 auto; padding: 6px 9px; color: var(--lime); border: 1px solid rgba(155, 207, 77, 0.28); border-radius: 999px; background: rgba(155, 207, 77, 0.08); font-size: 11px; font-weight: 800; white-space: nowrap; }
.website-url-list { display: grid; gap: 10px; }
.website-url-entry { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.remove-domain-button,
.add-domain-button { min-height: 42px; padding: 0 13px; color: var(--text); border: 1px solid var(--line); border-radius: 7px; background: #0a1718; font-size: 12px; font-weight: 800; cursor: pointer; transition: color 160ms ease, border-color 160ms ease, transform 160ms ease; }
.add-domain-button { width: fit-content; color: var(--lime); border-color: rgba(155, 207, 77, 0.45); }
.remove-domain-button:hover,
.add-domain-button:hover { color: var(--lime); border-color: var(--lime); transform: translateY(-1px); }
input,
select,
textarea {
  width: 100%;
  min-height: 47px;
  padding: 11px 12px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 7px;
  outline: none;
  background: #0a1718;
}

textarea { min-height: 108px; resize: vertical; line-height: 1.45; }
select { cursor: pointer; }
input::placeholder,
textarea::placeholder { color: #849490; opacity: 1; }
input:focus,
select:focus,
textarea:focus { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(155, 207, 77, 0.15); }
.consent-field { grid-template-columns: auto 1fr; align-items: start; gap: 10px; color: var(--text); font-size: 13px; line-height: 1.45; }
.consent-field input { width: 17px; min-height: 17px; margin: 1px 0 0; accent-color: var(--lime); }
.signature-help { margin: 0; color: var(--muted); font-size: 12px; font-weight: 600; line-height: 1.5; }
.autopay-field { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 10px; color: var(--text); font-size: 13px; line-height: 1.5; }
.autopay-field input { width: 17px; min-height: 17px; margin: 1px 0 0; accent-color: var(--lime); }
.payment-detail { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 18px; padding: 15px; border: 1px solid var(--line); border-radius: 7px; background: #0a1718; color: var(--muted); font-size: 12px; font-weight: 700; }
.payment-detail strong { color: var(--text); font-size: 13px; text-align: right; }
.agreement-card { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #0a1718; }
.agreement-parties { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 18px; padding: 18px; border-bottom: 1px solid var(--line); }
.agreement-parties p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.agreement-parties p:last-child { text-align: right; }
.agreement-parties strong { color: var(--text); font-size: 13px; }
.agreement-parties > span { color: var(--lime); font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.agreement-key-terms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.agreement-key-terms div { display: grid; gap: 5px; padding: 16px 12px; border-right: 1px solid var(--line); text-align: center; }
.agreement-key-terms div:last-child { border-right: 0; }
.agreement-key-terms strong { color: var(--lime); font-size: 14px; }
.agreement-key-terms span { color: var(--muted); font-size: 10px; font-weight: 700; line-height: 1.3; }
.agreement-summary { margin: 0; padding: 17px 18px; color: var(--text); font-size: 13px; font-weight: 700; line-height: 1.55; }
.supplemental-agreements { display: grid; gap: 10px; margin-top: 14px; }
.supplemental-agreement { overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: #0a1718; }
.supplemental-agreement summary { padding: 14px 16px; color: var(--lime); font-size: 12px; font-weight: 800; cursor: pointer; list-style-position: inside; }
.supplemental-agreement summary:hover { background: rgba(155, 207, 77, 0.06); }
.supplemental-agreement .agreement-document { max-height: 300px; }
.full-agreement { border-top: 1px solid var(--line); }
.full-agreement summary { padding: 15px 18px; color: var(--lime); font-size: 12px; font-weight: 800; cursor: pointer; list-style-position: inside; }
.full-agreement summary:hover { background: rgba(155, 207, 77, 0.06); }
.agreement-download { display: inline-flex; margin: 0 18px 14px; color: var(--lime); font-size: 11px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.agreement-download:hover { color: #d8ff9f; }
.supplemental-agreement .agreement-download { margin: 0 16px 13px; }
.agreement-document { max-height: 420px; overflow-y: auto; padding: 4px 20px 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.58; scrollbar-color: rgba(155, 207, 77, 0.55) #0a1718; }
.agreement-document h3 { margin: 20px 0 6px; color: var(--text); font-size: 16px; }
.agreement-document h4 { margin: 18px 0 5px; color: var(--text); font-size: 13px; }
.agreement-document p { margin: 0 0 10px; }
.agreement-document .agreement-version { color: var(--lime); font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.signature-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 18px; }
.agreement-consents { display: grid; gap: 10px; }
.agreement-consents .consent-field { padding: 14px; border: 1px solid var(--line); border-radius: 7px; background: #0a1718; }
.step-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 2px; }
.submit-button { min-height: 48px; padding: 0 18px; color: #142006; border: 0; border-radius: 8px; background: var(--lime); font-weight: 800; cursor: pointer; transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1), background-color 160ms cubic-bezier(0.23, 1, 0.32, 1); }
.submit-button:hover { transform: translateY(-2px); background: #b0df69; }
.submit-button:active { transform: translateY(1px); }
.submit-button:disabled { cursor: wait; opacity: 0.75; transform: none; }
.secondary-step-button { min-height: 48px; padding: 0 17px; color: var(--text); border: 1px solid var(--line); border-radius: 8px; background: #0a1718; font-weight: 800; cursor: pointer; transition: border-color 160ms ease, color 160ms ease, transform 160ms ease; }
.secondary-step-button:hover { color: var(--lime); border-color: rgba(155, 207, 77, 0.65); transform: translateY(-1px); }
.form-message { flex: 1 1 220px; min-height: 20px; margin: 0; color: var(--muted); font-size: 13px; font-weight: 700; line-height: 1.45; }
.form-message.error { color: var(--danger); }
.form-message.success { color: var(--lime); }

@media (max-width: 800px) {
  .site-header { gap: 18px; padding-inline: 20px; }
  .site-nav { display: none; }
  .nav-cta { margin-left: auto; }
  .signup-shell { grid-template-columns: 1fr; gap: 35px; padding: 30px 20px; }
  .signup-context { max-width: 650px; padding-top: 0; }
}

@media (max-width: 560px) {
  .site-header { min-height: 62px; padding: 9px 14px; }
  .brand { flex-basis: 128px; width: 128px; }
  .nav-cta { min-height: 40px; padding-inline: 12px; font-size: 12px; }
  .nav-cta svg { display: none; }
  .signup-shell { padding: 18px 14px; }
  .signup-context h1 { font-size: 38px; }
  .signup-form-wrap { padding: 20px 16px; }
  .enrollment-progress { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; }
  .field-span-full { grid-column: auto; }
  .domain-collection-heading,
  .website-url-entry { grid-template-columns: 1fr; flex-direction: column; }
  .domain-collection-heading .domain-price-hint { align-self: flex-start; white-space: normal; }
  .remove-domain-button,
  .add-domain-button { width: 100%; }
  .step-actions { align-items: stretch; flex-direction: column; }
  .submit-button,
  .secondary-step-button { width: 100%; }
  .payment-detail { grid-template-columns: 1fr; gap: 4px; }
  .payment-detail strong { margin-bottom: 10px; text-align: left; }
  .agreement-parties { grid-template-columns: 1fr; gap: 8px; }
  .agreement-parties p:last-child { text-align: left; }
  .agreement-parties > span { display: none; }
  .agreement-key-terms { grid-template-columns: 1fr 1fr; }
  .billing-cycle-options { grid-template-columns: 1fr; }
  .agreement-key-terms div:nth-child(2) { border-right: 0; }
  .agreement-key-terms div:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .signature-fields { grid-template-columns: 1fr; }
}

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