    :root {
      --bg: #0c1117;
      --surface: rgba(255, 255, 255, 0.05);
      --surface-2: #101820;
      --surface-soft: rgba(255, 255, 255, 0.04);
      --border: rgba(255, 255, 255, 0.08);
      --text: #ffffff;
      --text-soft: rgba(255, 255, 255, 0.75);
      --muted: rgba(255, 255, 255, 0.55);
      --accent: #3d9cf5;
      --warm: #f59e0b;
      --good: #34d399;
      --max: 1120px;
    }
    * { box-sizing: border-box; }
    body {
      margin: 0;
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.5;
      font-size: 1rem;
    }
    a { color: var(--accent); text-decoration: none; }
    a:hover { text-decoration: underline; }
    .wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
    .site-header .wrap.nav {
      max-width: 1160px;
    }
    header {
      position: sticky;
      top: 0;
      z-index: 20;
      background: rgba(12, 17, 23, 0.92);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--border);
    }
    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.85rem 0;
      gap: 1rem;
      flex-wrap: wrap;
    }
    .logo {
      font-weight: 800;
      font-size: 1.18rem;
      letter-spacing: 0;
      line-height: 1;
      color: inherit;
      text-decoration: none;
    }
    .logo span { color: var(--accent); }
    .nav-links { display: flex; gap: 1.4rem; flex-wrap: wrap; align-items: center; }
    .nav-links a { color: var(--muted); font-size: 0.96rem; font-weight: 600; }
    .nav-links a:hover { color: var(--text); text-decoration: none; }
    .nav-links a.btn-primary { color: #06101c; }
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.65rem 1.2rem;
      border-radius: 10px;
      font-weight: 700;
      font-size: 0.95rem;
      border: 0;
      cursor: pointer;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
      transition: background-color 170ms ease, box-shadow 170ms ease, transform 170ms ease;
    }
    .btn-primary { background: var(--accent); color: #06101c; }
    .btn:hover { transform: translateY(-1px) scale(1.01); box-shadow: 0 7px 16px rgba(0, 0, 0, 0.3); }
    .btn:active { transform: translateY(0) scale(0.995); }
    .btn-primary:hover { background: #5eb0ff; text-decoration: none; }
    .btn:disabled {
      cursor: wait;
      opacity: 0.72;
      transform: none;
    }
    form.is-busy { cursor: wait; }
    .btn-secondary { background: transparent; color: var(--text); border: 1px solid var(--border); }
    .btn-secondary:hover { border-color: var(--muted); text-decoration: none; }
    .btn-compact { padding: 0.5rem 1rem; }
    .signup-hero {
      padding: 3.25rem 0;
      background:
        radial-gradient(circle at top left, rgba(61, 156, 245, 0.16), transparent 34rem),
        linear-gradient(135deg, rgba(52, 211, 153, 0.08), rgba(61, 156, 245, 0.06)),
        var(--bg);
      border-bottom: 1px solid var(--border);
    }
    .signup-grid {
      display: flex;
      justify-content: center;
    }
    .eyebrow {
      display: inline-block;
      margin-bottom: 0.75rem;
      color: #8fd3ff;
      font-size: 0.82rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }
    h1 {
      margin: 0 0 1rem;
      max-width: 14ch;
      font-family: Georgia, "Times New Roman", Times, serif;
      font-size: clamp(2.25rem, 5vw, 3.25rem);
      font-weight: 400;
      line-height: 1.08;
      letter-spacing: 0;
    }
    .lead {
      margin: 0 0 1.5rem;
      max-width: 42rem;
      color: var(--muted);
      font-size: 1.12rem;
    }
    .signup-card {
      width: min(100%, 560px);
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 16px;
      box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
      overflow: hidden;
    }
    .card-head {
      padding: 1.25rem 1.35rem;
      border-bottom: 1px solid var(--border);
      background: rgba(255, 255, 255, 0.015);
    }
    .card-head h2 {
      margin: 0 0 0.3rem;
      font-size: 1.25rem;
      letter-spacing: 0;
    }
    .card-head p { margin: 0; color: var(--muted); font-size: 0.95rem; }
    form { padding: 1.75rem; }
    .field { margin-bottom: 1.1rem; }
    .security-check-field { margin-top: 2.05rem; }
    label {
      display: block;
      margin-bottom: 0.45rem;
      color: rgba(255, 255, 255, 0.58);
      font-size: 0.76rem;
      font-weight: 400;
    }
    input,
    select,
    textarea {
      width: 100%;
      min-height: 48px;
      padding: 0.72rem 0.8rem;
      border: 1px solid var(--border);
      border-radius: 8px;
      background: var(--surface-2);
      color: var(--text);
      font: inherit;
    }
    input:focus,
    select:focus,
    textarea:focus {
      outline: 2px solid rgba(61, 156, 245, 0.42);
      outline-offset: 2px;
      border-color: var(--accent);
    }
    input:-webkit-autofill,
    input:-webkit-autofill:hover,
    input:-webkit-autofill:focus,
    select:-webkit-autofill,
    select:-webkit-autofill:hover,
    select:-webkit-autofill:focus,
    textarea:-webkit-autofill,
    textarea:-webkit-autofill:hover,
    textarea:-webkit-autofill:focus {
      -webkit-text-fill-color: var(--text);
      caret-color: var(--text);
      box-shadow: 0 0 0 1000px var(--surface-2) inset;
      border-color: var(--accent);
      transition: background-color 9999s ease-out;
    }
    .hint {
      margin: 0.35rem 0 0;
      color: var(--muted);
      font-size: 0.82rem;
    }
    .verify-options {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0;
      margin-top: 0.35rem;
      padding: 0.28rem;
      border: 1px solid var(--border);
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.055);
      box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.24);
    }
    .verify-option {
      display: flex;
      gap: 0.7rem;
      align-items: center;
      justify-content: center;
      min-height: 44px;
      padding: 0.62rem 2.5rem 0.62rem 1rem;
      border: 0;
      border-radius: 999px;
      background: transparent;
      color: var(--text-soft);
      font-size: 0.95rem;
      font-weight: 500;
      cursor: pointer;
      position: relative;
      transition: background-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
    }
    .verify-option input {
      opacity: 0;
      pointer-events: none;
      position: absolute;
    }
    .verify-option:has(input:focus-visible) {
      outline: 2px solid rgba(61, 156, 245, 0.42);
      outline-offset: 2px;
    }
    .verify-option:has(input:checked) {
      background: rgba(255, 255, 255, 0.105);
      box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
      color: var(--text);
      transform: scale(1.006);
    }
    .verify-option strong {
      display: block;
      line-height: 1.2;
      font-weight: 500;
      color: var(--text-soft);
      transition: color 180ms ease;
    }
    .verify-option span { display: block; color: var(--muted); font-size: 0.82rem; }
    .verify-option > span:first-of-type > span { display: none; }
    .verify-option:has(input:checked) strong { color: var(--text); }
    .selection-check {
      align-items: center;
      background: #34d399;
      border-radius: 999px;
      color: #06101c;
      display: inline-flex;
      flex: 0 0 auto;
      font-size: 0.78rem;
      font-weight: 800;
      height: 20px;
      justify-content: center;
      opacity: 0;
      position: absolute;
      right: 0.85rem;
      transform: scale(0.82);
      transition: opacity 160ms ease, transform 160ms ease;
      width: 20px;
    }
    .verify-option:has(input:checked) .selection-check {
      opacity: 1;
      transform: scale(1);
    }
    .fieldset-reset { border: 0; margin-left: 0; margin-right: 0; padding: 0; }
    .fieldset-reset legend {
      margin: 0 0 0.6rem;
      padding: 0;
      color: rgba(255, 255, 255, 0.58);
      font-size: 0.76rem;
      font-weight: 400;
    }
    .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;
    }
    .field-helper {
      display: flex;
      align-items: center;
      gap: 0.45rem;
      margin: 0;
      color: var(--muted);
      font-size: 0.82rem;
      line-height: 1.4;
    }
    .field-helper img { flex: 0 0 auto; }
    .choice-fieldset {
      padding: 1rem 1.05rem 1.1rem;
      border: 1px solid var(--border);
      border-radius: 12px;
      background: rgba(25, 35, 49, 0.42);
    }
    .legend-label {
      margin-bottom: 0.35rem;
      color: var(--text-soft);
      font-size: 0.9rem;
      font-weight: 400;
    }
    .mt-tight { margin-top: 0.65rem; }
    .section-heading {
      margin: 0;
      font-size: clamp(1.8rem, 3vw, 2.25rem);
      font-family: Georgia, "Times New Roman", Times, serif;
      font-weight: 400;
    }
    .captcha-box {
      min-height: 78px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 0.55rem;
      border: 1px solid var(--border);
      border-radius: 12px;
      background: var(--surface-soft);
      color: var(--text);
      overflow: hidden;
    }
    .captcha-fallback {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      padding: 0.85rem 1rem;
      font-weight: 400;
      color: var(--text-soft);
      line-height: 1.2;
    }
    .captcha-fallback input {
      width: 22px;
      height: 22px;
      min-height: 22px;
      margin: 0;
      accent-color: var(--accent);
      transition: transform 140ms ease;
    }
    .cf-turnstile:has(iframe) .captcha-fallback { display: none; }
    .captcha-fallback input:checked { transform: scale(1.05); }
    .security-status {
      align-items: center;
      display: flex;
      gap: 0.4rem;
      justify-content: center;
      margin: 0;
      color: var(--muted);
      font-size: 0.8rem;
      font-weight: 400;
      line-height: 1.4;
      padding: 0.35rem 0.65rem;
      border-radius: 999px;
      text-align: center;
      transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
    }
    .security-status[hidden] { display: none !important; }
    .security-spinner {
      width: 0.85rem;
      height: 0.85rem;
      border: 2px solid rgba(255, 255, 255, 0.18);
      border-top-color: var(--accent);
      border-radius: 999px;
      animation: security-spin 800ms linear infinite;
    }
    .security-status:not([data-state="loading"]) .security-spinner { display: none; }
    .security-status[data-state="complete"] {
      animation: security-status-in 220ms ease-out;
      background: rgba(52, 211, 153, 0.1);
      color: rgba(167, 243, 208, 0.9);
    }
    .security-status[data-state="complete"]::before {
      align-items: center;
      background: rgba(52, 211, 153, 0.9);
      border-radius: 999px;
      color: #06101c;
      content: "\2713";
      display: inline-flex;
      font-size: 0.68rem;
      font-weight: 800;
      height: 0.95rem;
      justify-content: center;
      width: 0.95rem;
    }
    .security-status[data-state="error"] { color: rgba(248, 113, 113, 0.92); }
    .security-status[data-state="challenge"] {
      color: var(--text-soft);
      font-weight: 500;
    }
    @keyframes security-spin {
      to { transform: rotate(360deg); }
    }
    @keyframes security-status-in {
      from {
        opacity: 0;
        transform: translateY(4px) scale(0.98);
      }
      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }
    @media (prefers-reduced-motion: reduce) {
      .btn,
      .verify-option,
      .verify-option strong,
      .selection-check,
      .security-status,
      .captcha-fallback input {
        transition: none;
      }
      .btn:hover,
      .btn:active,
      .verify-option:has(input:checked) {
        transform: none;
      }
      .security-spinner,
      .security-status[data-state="complete"] {
        animation: none;
      }
    }
    .honeypot {
      position: absolute;
      left: -10000px;
      width: 1px;
      height: 1px;
      overflow: hidden;
    }
    .form-actions {
      margin-top: 1.8rem;
      text-align: center;
    }
    .form-actions .btn {
      width: 100%;
      max-width: none;
      min-height: 48px;
    }
    .secure-note {
      margin: 0.8rem 0 0;
      color: var(--muted);
      font-size: 0.82rem;
      text-align: center;
    }
    .trust-note {
      align-items: flex-start;
      display: inline-flex;
      gap: 0.55rem;
      justify-content: center;
      margin: 0.25rem auto 0;
      max-width: 32rem;
      color: var(--muted);
      font-size: 0.82rem;
      line-height: 1.45;
      text-align: left;
    }
    .form-actions .trust-note { display: flex; width: fit-content; }
    .trust-note img { flex: 0 0 auto; margin-top: 0.18rem; opacity: 0.78; }
    .trust-note a { color: var(--text-soft); text-decoration: underline; text-underline-offset: 0.12em; }
    .alternate-action {
      margin: 0.9rem 0 0;
      color: var(--muted);
      font-size: 0.95rem;
      text-align: center;
    }
    .alternate-action a {
      color: var(--text);
      font-weight: 650;
    }
    .security-summary {
      margin: 1rem 0 0;
      color: var(--muted);
      font-size: 0.82rem;
      line-height: 1.35;
      text-align: center;
    }
    .hidden { display: none !important; }
    .form-grid-2 {
      display: grid;
      grid-template-columns: 1fr;
      gap: 1rem;
    }
    @media (min-width: 620px) {
      .form-grid-2 { grid-template-columns: 1fr 1fr; }
    }
    .alert {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      margin: 0 1.35rem 1rem;
      padding: 0.85rem 1rem;
      border-radius: 10px;
      border: 1px solid var(--border);
      background: rgba(61, 156, 245, 0.1);
      color: var(--text);
    }
    .alert-error {
      background: rgba(248, 113, 113, 0.1);
      border-color: rgba(248, 113, 113, 0.35);
    }
    .alert img { flex: 0 0 auto; }
    .alert-info {
      background: rgba(37, 211, 102, 0.08);
      border-color: rgba(37, 211, 102, 0.28);
      color: var(--text-soft);
    }
    .verification-helper {
      height: 0;
      margin-top: 0.15rem;
      overflow: hidden;
      position: relative;
      transition: height 180ms ease;
    }
    .verification-helper-panel {
      left: 0;
      opacity: 0;
      padding-bottom: 1.25rem;
      pointer-events: none;
      position: absolute;
      top: 0;
      transform: translateY(5px);
      transition: opacity 160ms ease, transform 160ms ease;
      width: 100%;
    }
    .verification-helper-panel.is-active {
      opacity: 1;
      pointer-events: auto;
      position: relative;
      transform: translateY(0);
    }
    .action-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 0.85rem;
      padding: 1.35rem;
    }
    @media (min-width: 620px) {
      .action-grid { grid-template-columns: 1fr 1fr; }
    }
    .action-card {
      display: flex;
      flex-direction: column;
      gap: 0.7rem;
      min-height: 160px;
      padding: 1rem;
      border: 1px solid var(--border);
      border-radius: 12px;
      background: var(--surface-soft);
    }
    .action-card h3 { margin: 0; font-size: 1.05rem; }
    .action-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }
    .action-card .btn { margin-top: auto; }
    .after-submit {
      padding: 2.75rem 0;
      border-top: 1px solid var(--border);
    }
    .steps {
      display: grid;
      grid-template-columns: 1fr;
      gap: 1rem;
      margin-top: 1.5rem;
    }
    @media (min-width: 760px) {
      .steps { grid-template-columns: repeat(3, 1fr); }
    }
    .step {
      padding: 1.15rem;
      border: 1px solid var(--border);
      border-radius: 12px;
      background: var(--surface);
    }
    .step-number {
      display: inline-flex;
      width: 30px;
      height: 30px;
      align-items: center;
      justify-content: center;
      margin-bottom: 0.75rem;
      border-radius: 999px;
      background: rgba(61, 156, 245, 0.16);
      color: var(--accent);
      font-weight: 800;
    }
    .step h3 { margin: 0 0 0.35rem; font-size: 1rem; }
    .step p { margin: 0; color: var(--muted); font-size: 0.94rem; }
    footer {
      padding: 2rem 0;
      color: var(--muted);
      border-top: 1px solid var(--border);
      font-size: 0.92rem;
    }
    .footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
    .footer-grid a { color: var(--muted); margin-left: 1rem; }
    @media (max-width: 640px) {
      .nav { align-items: flex-start; }
      .nav-links { gap: 0.9rem; }
      .signup-hero { padding: 2.75rem 0; }
      form { padding: 1rem; }
      .footer-grid a { margin: 0 0.8rem 0 0; }
    }

/* Shared auth polish aligned with the homepage system */
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.signup-grid {
  justify-content: center;
}

.signup-card {
  width: min(100%, 560px);
}

form {
  padding: 1.75rem;
  text-align: left;
}

.field {
  margin-bottom: 1.25rem;
}

.form-grid-2 {
  gap: 1.25rem;
}

label,
.fieldset-reset legend {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.25;
}

input,
select,
textarea {
  min-height: 52px;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.35;
}

.fieldset-reset {
  margin-bottom: 1.25rem;
}

.fieldset-reset legend {
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.2;
}

.verify-options {
  margin-top: 0;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.045);
}

.verify-option {
  min-height: 48px;
  padding: 0.65rem 2.4rem 0.65rem 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 500;
}

.verify-option:has(input:checked) {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.verify-option strong {
  font-weight: 500;
}

.verify-option span {
  font-size: 0.85rem;
  line-height: 1.3;
}

.verification-helper {
  margin-top: 0;
}

.verification-helper-panel {
  padding-bottom: 1.25rem;
}

.field-helper,
.hint,
.security-summary,
.trust-note {
  font-size: 0.85rem;
  line-height: 1.3;
}

.field-helper,
.hint {
  color: rgba(255, 255, 255, 0.58);
}

.security-check-field {
  margin-top: 1.25rem;
  margin-bottom: 0;
}

.captcha-box {
  min-height: 0;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.45rem;
  padding: 0.45rem 0.5rem;
  border-color: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.cf-turnstile {
  max-width: 100%;
  line-height: 1.3;
  transform-origin: left center;
}

.cf-turnstile iframe {
  max-width: 100%;
  border-radius: 8px;
}

.captcha-fallback {
  gap: 0.55rem;
  padding: 0.4rem 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.3;
}

.captcha-fallback input {
  width: 18px;
  height: 18px;
  min-height: 18px;
}

.captcha-box a {
  opacity: 0.82;
}

.security-status {
  justify-content: flex-start;
  gap: 0.35rem;
  padding: 0.25rem 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.3;
  text-align: left;
}

.security-status[data-state="complete"] {
  background: transparent;
  color: rgba(167, 243, 208, 0.88);
}

.security-status[data-state="complete"]::before {
  width: 0.95rem;
  height: 0.95rem;
  font-size: 0.68rem;
}

.security-status[data-state="challenge"] {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 400;
}

.security-status[data-state="error"] {
  color: rgba(248, 113, 113, 0.9);
}

.form-actions {
  margin-top: 1.5rem;
  text-align: left;
}

.form-actions .btn,
form .btn {
  min-height: 52px;
  padding: 0.9rem 1.4rem;
  border-radius: 8px;
  background: var(--accent);
  color: #06101c;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.1;
  box-shadow: 0 12px 34px rgba(61, 156, 245, 0.22);
}

.form-actions .btn:hover,
form .btn:hover {
  box-shadow: 0 14px 34px rgba(61, 156, 245, 0.26);
}

.security-summary {
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.85rem;
  line-height: 1.3;
  text-align: left;
}

.trust-note {
  margin: 0.5rem 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.85rem;
  line-height: 1.3;
  text-align: left;
}

.form-actions .trust-note {
  width: auto;
  margin-right: 0;
  margin-left: 0;
}

.trust-note a {
  color: rgba(255, 255, 255, 0.78);
}

.alternate-action {
  margin: 2rem 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.85rem;
  line-height: 1.3;
  text-align: left;
}

.alternate-action a {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 500;
}

/* Auth bottom alignment rail */
.form-actions {
  text-align: left;
}

form .security-summary,
form .trust-note,
form .alternate-action {
  width: 100%;
  margin-right: 0;
  margin-left: 0;
  padding-right: 0;
  padding-left: 0;
  text-align: left;
}

form .trust-note {
  justify-content: flex-start;
}

form .alternate-action a {
  display: inline;
  margin: 0;
  padding: 0;
}

@media (max-width: 640px) {
  form {
    padding: 1.25rem;
  }
}
