/* ================================================================
   Xchange · Signup screen (premium fintech look)
   ----------------------------------------------------------------
   Design tokens
     • Primary purple    #7C3AED
     • Focus halo        rgba(124, 58, 237, 0.15)
     • Border default    #D1D5DB  (high-contrast neutral 300)
     • Surface           #FFFFFF
     • Text strong       #111827
     • Text muted        #6B7280
     • Success           #10B981
     • Danger            #EF4444
   Spacing scale
     • field gap         14px (recommendation 12-16)
     • section gap       22px (recommendation ~20)
   Typography
     • h1                32px / 700
     • subtitle          15px / 500
   Background
     • Animated blue → purple → pink mesh + two blurred floating
       shapes for soft depth on the perimeter.
   ================================================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --xc-primary:       #7C3AED;
  --xc-primary-700:   #5B21B6;
  --xc-primary-100:   rgba(124, 58, 237, 0.15);
  --xc-border:        #D1D5DB;
  --xc-border-soft:   #E5E7EB;
  --xc-text:          #111827;
  --xc-muted:         #6B7280;
  --xc-muted-2:       #4B5563;
  --xc-bg-soft:       #F9FAFB;
  --xc-success:       #10B981;
  --xc-success-50:    #ECFDF5;
  --xc-danger:        #EF4444;
  --xc-danger-50:     #FEF2F2;
  --xc-shadow-input:  0 2px 4px rgba(17, 24, 39, 0.04);
  --xc-shadow-card:   0 25px 60px rgba(15, 23, 42, 0.18);
  --xc-shadow-btn:    0 8px 20px rgba(124, 58, 237, 0.35);
}

html, body { height: 100%; }

body {
  font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--xc-text);
  min-height: 100vh;
  /* Plain block layout instead of flex-centering. Flex `align-items:
     center` clips the top of any item taller than the viewport (no
     upward scroll). Block layout + horizontal `margin: 0 auto` on the
     container always lets the page scroll cleanly to the very top of
     the form. */
  padding: 32px 16px;
  /* Soft neutral canvas — a near-white linear wash with two whisper-low
     radial accents at the corners. Lets the brand-mark and CTA carry
     the colour weight; the page itself reads as premium/quiet. */
  background: #C6FCFF;
  background-attachment: fixed;
  position: relative;
  overflow-x: hidden;
}

/* ─── Aurora layer · floating blur orbs ────────────────────────────
   A fixed full-viewport stage holding five large blurred circles
   that drift independently. Each orb uses a radial gradient and is
   animated with both translate and scale so the parallax never
   loops in the same place — the eye reads it as continuous motion. */
.xc-aurora {
  display: none;
}

.xc-orb {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(110px);
  /* Multiply blends the orb colour into the near-white canvas so
     it reads as a faint colour highlight rather than a glowing blob. */
  mix-blend-mode: multiply;
  opacity: 0.10;
  will-change: transform;
}

.xc-orb--1 {
  width: 520px; height: 520px;
  top: -160px; left: -180px;
  background: radial-gradient(circle, #60A5FA 0%, rgba(96, 165, 250, 0) 70%);
  animation: xcFloatA 24s ease-in-out infinite;
}
.xc-orb--2 {
  width: 480px; height: 480px;
  top: -120px; right: -160px;
  background: radial-gradient(circle, #C7D2FE 0%, rgba(199, 210, 254, 0) 70%);
  animation: xcFloatB 28s ease-in-out infinite;
}
.xc-orb--3 {
  width: 600px; height: 600px;
  bottom: -220px; left: 25%;
  background: radial-gradient(circle, #DDD6FE 0%, rgba(221, 214, 254, 0) 70%);
  animation: xcFloatC 32s ease-in-out infinite;
  opacity: 0.08;
}
.xc-orb--4 {
  width: 360px; height: 360px;
  top: 40%; left: -120px;
  background: radial-gradient(circle, #BAE6FD 0%, rgba(186, 230, 253, 0) 70%);
  animation: xcFloatD 26s ease-in-out infinite;
  opacity: 0.08;
}
.xc-orb--5 {
  width: 420px; height: 420px;
  top: 30%; right: -140px;
  background: radial-gradient(circle, #FBCFE8 0%, rgba(251, 207, 232, 0) 70%);
  animation: xcFloatE 30s ease-in-out infinite;
  opacity: 0.07;
}

/* Subtle grain layer kills gradient banding and adds a tactile feel.
   SVG noise inlined as a data URI so there's no extra HTTP request. */
.xc-aurora__noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.4  0 0 0 0 0.4  0 0 0 0 0.45  0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.5'/></svg>");
  opacity: 0.04;
  mix-blend-mode: multiply;
  pointer-events: none;
}

@keyframes xcFloatA {
  0%, 100% { transform: translate(0, 0)        scale(1);    }
  50%      { transform: translate(80px, 100px) scale(1.15); }
}
@keyframes xcFloatB {
  0%, 100% { transform: translate(0, 0)        scale(1);    }
  50%      { transform: translate(-90px, 80px) scale(1.1);  }
}
@keyframes xcFloatC {
  0%, 100% { transform: translate(0, 0)         scale(1);    }
  50%      { transform: translate(-60px, -90px) scale(1.18); }
}
@keyframes xcFloatD {
  0%, 100% { transform: translate(0, 0)         scale(1);    }
  50%      { transform: translate(120px, -50px) scale(1.2);  }
}
@keyframes xcFloatE {
  0%, 100% { transform: translate(0, 0)          scale(1);    }
  50%      { transform: translate(-100px, -70px) scale(1.12); }
}

/* ─── Container & card ──────────────────────────────────────────── */
.signup-container {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.auth-lang {
  position: fixed;
  top: max(16px, env(safe-area-inset-top, 0px));
  right: max(16px, env(safe-area-inset-right, 0px));
  left: auto;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  max-width: min(168px, calc(100vw - 32px));
  padding: 0 28px 0 10px;
  border-radius: 999px;
  border: 1px solid #E5E7EB;
  background: #F8FAFC;
  font-size: 12px;
  font-weight: 700;
  color: #5B21B6;
  white-space: nowrap;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.10);
  cursor: pointer;
}
.auth-lang__icon,
.auth-lang__current,
.auth-lang__caret { pointer-events: none; }
.auth-lang__current {
  min-width: 0;
  max-width: 7.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1;
}
.auth-lang__caret {
  position: absolute;
  right: 10px;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
  color: rgba(91, 33, 182, 0.5);
  flex-shrink: 0;
}
.auth-lang__select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: transparent;
  font: inherit;
  cursor: pointer;
  opacity: 0;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  z-index: 2;
}
.auth-lang__select:focus { outline: 0; }
.auth-lang:focus-within {
  box-shadow: 0 0 0 3px rgba(108, 77, 255, 0.22);
}
.auth-lang__select option {
  color: #1f2937;
  background: #fff;
  font-weight: 600;
}
@media (max-width: 480px) {
  .auth-lang {
    top: max(12px, env(safe-area-inset-top, 0px));
    right: max(12px, env(safe-area-inset-right, 0px));
    max-width: min(148px, calc(100vw - 24px));
  }
}
.signup-card {
  /* Premium light-mode card: solid white with a soft cool-grey shadow
     stack. The faint translucency keeps the underlying neutral wash
     visible at the edges without drifting into glassmorphism. */
  position: relative;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 20px;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 12px 28px rgba(15, 23, 42, 0.10),
    0 24px 60px rgba(15, 23, 42, 0.06);
  padding: 28px 32px 32px;
  animation: xcSlideUp 0.4s ease-out;
}

/* Soft top sheen — simulates light catching the glass edge. */
.signup-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 35%);
  pointer-events: none;
  opacity: 0.7;
}
.signup-card > *:not(.auth-lang) { position: relative; }

@keyframes xcSlideUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Logo block ────────────────────────────────────────────────── */
.logo-container {
  text-align: center;
  margin: 0 0 8px;
}

.logo {
  width: min(248px, 100%);
  height: auto;
  max-width: 100%;
  aspect-ratio: 420 / 230;
  object-fit: contain;
  object-position: center;
  image-rendering: auto;
  display: block;
  margin: 0 auto;
  background: transparent;
  filter:
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.55))
    drop-shadow(0 8px 18px rgba(50, 93, 156, 0.16));
  animation: xcSlideUp 0.5s ease-out;
}

.brand-tagline {
  margin-top: 6px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--xc-primary);
  background: linear-gradient(90deg, #7C3AED, #EC4899);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ─── Headings ──────────────────────────────────────────────────── */
h1 {
  color: var(--xc-text);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 16px 0 6px;
  text-align: center;
}

.subtitle {
  color: var(--xc-muted-2);
  text-align: center;
  margin-bottom: 22px;
  font-size: 15px;
  line-height: 1.5;
}

/* ─── Form skeleton ─────────────────────────────────────────────── */
.signup-form { margin-bottom: 16px; }

.form-group { margin-bottom: 14px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-row .form-group { margin-bottom: 14px; }

label {
  display: block;
  color: var(--xc-text);
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 13.5px;
  letter-spacing: 0.005em;
}

/* ─── Inputs ────────────────────────────────────────────────────── */
input[type="text"],
input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--xc-border);
  border-radius: 12px;
  font-size: 14.5px;
  color: var(--xc-text);
  background: #FFFFFF;
  box-shadow: var(--xc-shadow-input);
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
  font-family: inherit;
}

input::placeholder { color: #9CA3AF; }

input[type="text"]:hover,
input[type="email"]:hover,
input[type="password"]:hover {
  border-color: #9CA3AF;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
  outline: none;
  border-color: var(--xc-primary);
  box-shadow: 0 0 0 4px var(--xc-primary-100);
}

input.has-error {
  border-color: var(--xc-danger);
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}

/* ─── Password input with toggle (icon + label) ────────────────── */
.password-input-group {
  position: relative;
  display: flex;
}
.password-input-group input {
  flex: 1;
  padding-right: 96px; /* room for eye + Show pill */
}

.toggle-password {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  background: var(--xc-bg-soft);
  border: 1px solid var(--xc-border-soft);
  border-radius: 8px;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--xc-muted-2);
  overflow: hidden;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.toggle-password:hover {
  background: #F3F4F6;
  color: var(--xc-primary);
  border-color: var(--xc-primary);
}
.toggle-password .eye-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  overflow: hidden;
  flex-shrink: 0;
}
.toggle-password .eye-icon svg {
  width: 16px;
  height: 16px;
  display: block;
  pointer-events: none;
}
.toggle-password .eye-icon svg[hidden] { display: none; }
.toggle-password .eye-label { font-size: 12px; }

/* ─── Password strength meter ──────────────────────────────────── */
.password-strength {
  margin-top: 10px;
  display: none;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
}
.password-strength.is-visible { display: flex; }

.strength-bar {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: var(--xc-border-soft);
  overflow: hidden;
}
.strength-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: var(--xc-danger);
  transition: width 0.25s ease, background-color 0.25s ease;
}

.strength-label {
  min-width: 56px;
  text-align: right;
  color: var(--xc-muted);
}
.password-strength[data-tier="weak"]   .strength-bar-fill { width: 25%;  background: #EF4444; }
.password-strength[data-tier="fair"]   .strength-bar-fill { width: 50%;  background: #F59E0B; }
.password-strength[data-tier="good"]   .strength-bar-fill { width: 75%;  background: #84CC16; }
.password-strength[data-tier="strong"] .strength-bar-fill { width: 100%; background: var(--xc-success); }

.password-strength[data-tier="weak"]   .strength-label { color: #EF4444; }
.password-strength[data-tier="fair"]   .strength-label { color: #B45309; }
.password-strength[data-tier="good"]   .strength-label { color: #4D7C0F; }
.password-strength[data-tier="strong"] .strength-label { color: var(--xc-success); }

/* ─── Password requirements list ───────────────────────────────── */
.password-requirements {
  background: var(--xc-bg-soft);
  border: 1px solid var(--xc-border-soft);
  border-radius: 12px;
  padding: 10px 12px;
  margin-top: 10px;
  font-size: 12.5px;
}

.requirement {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--xc-muted);
  margin: 4px 0;
  transition: color 0.15s ease;
}
.requirement.met { color: var(--xc-success); }

.indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #E5E7EB;
  color: #9CA3AF;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}
.requirement.met .indicator {
  background: var(--xc-success);
  color: #FFFFFF;
}

/* ─── Inline & block error messages ────────────────────────────── */
.error-message {
  display: block;
  color: var(--xc-danger);
  font-size: 12.5px;
  font-weight: 500;
  margin-top: 6px;
  min-height: 16px;
}

.error-message.is-shown {
  display: flex;
  align-items: center;
  gap: 6px;
}

.error-message.is-shown::before {
  content: '⚠';
  font-size: 13px;
  line-height: 1;
}

.form-error {
  display: none;
  color: var(--xc-danger);
  background: var(--xc-danger-50);
  border: 1px solid #FCA5A5;
  padding: 12px 14px;
  border-radius: 12px;
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 500;
}
.form-error.show { display: flex; align-items: center; gap: 8px; }
.form-error.show::before { content: '⚠'; font-size: 16px; }

.success-message {
  display: none;
  color: #047857;
  background: var(--xc-success-50);
  border: 1px solid #6EE7B7;
  padding: 12px 14px;
  border-radius: 12px;
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 500;
}
.success-message.show { display: flex; align-items: center; gap: 8px; }
.success-message.show::before { content: '✓'; font-size: 16px; }

/* ─── Terms checkbox ───────────────────────────────────────────── */
.form-options { margin: 18px 0 4px; }

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  color: var(--xc-muted-2);
  font-size: 13.5px;
  line-height: 1.5;
  padding: 6px 4px;
  border-radius: 8px;
  transition: background 0.15s ease;
}
.checkbox:hover { background: rgba(124, 58, 237, 0.04); }

.checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  cursor: pointer;
  flex-shrink: 0;
  accent-color: var(--xc-primary);
}

.checkbox .link {
  color: var(--xc-primary);
  text-decoration: underline;
  text-decoration-color: rgba(124, 58, 237, 0.4);
  text-underline-offset: 2px;
  font-weight: 600;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
.checkbox .link:hover {
  color: var(--xc-primary-700);
  text-decoration-color: var(--xc-primary-700);
}

/* ─── Buttons ──────────────────────────────────────────────────── */
.btn {
  width: 100%;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.18s ease, background 0.18s ease;
  font-family: inherit;
}

.btn-primary {
  margin-top: 14px;
  background: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.32);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--xc-shadow-btn);
}
.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(124, 58, 237, 0.28);
}
.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--xc-text);
  border: 1px solid var(--xc-border);
  box-shadow: var(--xc-shadow-input);
}
.btn-secondary:hover {
  background: var(--xc-bg-soft);
  border-color: #9CA3AF;
  transform: translateY(-1px);
}
.btn-secondary svg { flex-shrink: 0; }
.google-g { width: 18px; height: 18px; display: block; }

.btn-full { margin-bottom: 16px; }

/* ─── Trust badges ─────────────────────────────────────────────── */
.trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 14px 0 4px;
  color: var(--xc-muted-2);
  font-size: 12.5px;
  font-weight: 500;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.trust-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--xc-success-50);
  color: var(--xc-success);
  font-size: 10px;
  font-weight: 700;
}

/* ─── Divider ──────────────────────────────────────────────────── */
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: center;
  color: var(--xc-muted);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 22px 0 16px;
}
.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--xc-border) 30%, var(--xc-border) 70%, transparent);
}

/* ─── Footer link ──────────────────────────────────────────────── */
.login-link {
  text-align: center;
  color: var(--xc-muted-2);
  font-size: 14px;
}
.login-link a {
  color: var(--xc-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
}
.login-link + .login-link {
  margin-top: 8px;
}

/* ─── Optional "Use my location" capture (premium variant) ─────── */
.form-group-geo {
  background: linear-gradient(135deg, #F5F3FF 0%, #FDF2F8 100%);
  border: 1px solid #E9D5FF;
  border-radius: 14px;
  padding: 14px 16px;
}
.form-group-geo {
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.form-group-geo.has-error {
  border-color: var(--xc-danger);
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}
.form-group-geo .geo-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  color: var(--xc-primary-700);
  font-size: 13px;
  font-weight: 700;
}
.geo-required {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7C3AED, #EC4899);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.form-group-geo .geo-pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7C3AED, #EC4899);
  color: #FFFFFF;
  font-size: 11px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(124, 58, 237, 0.35);
}
.geo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.btn-geo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #C4B5FD;
  background: #FFFFFF;
  color: var(--xc-primary-700);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.btn-geo:hover:not(:disabled) {
  border-color: var(--xc-primary);
  background: #FAF5FF;
  box-shadow: 0 4px 10px rgba(124, 58, 237, 0.18);
  transform: translateY(-1px);
}
.btn-geo:disabled {
  opacity: 0.7;
  cursor: progress;
}
.btn-geo.is-captured {
  background: var(--xc-success-50);
  border-color: var(--xc-success);
  color: #047857;
}
.btn-geo .geo-icon { font-size: 14px; }
.geo-status {
  font-size: 12.5px;
  color: var(--xc-muted-2);
}
.geo-status[data-tone="ok"]      { color: #047857; font-weight: 600; }
.geo-status[data-tone="error"]   { color: var(--xc-danger); }
.geo-status[data-tone="pending"] { color: var(--xc-primary); }
.geo-help {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--xc-muted);
  line-height: 1.55;
}

/* ─── Responsive (mobile-first refinements) ────────────────────── */
@media (max-width: 480px) {
  body { padding: 12px; }
  .signup-container { max-width: 420px; }
  .signup-card {
    padding: 22px 18px 26px;
    border-radius: 16px;
  }
  h1 { font-size: 26px; }
  .subtitle { font-size: 14px; margin-bottom: 18px; }
  .logo { width: min(220px, 100%); height: auto; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .password-requirements { font-size: 12px; padding: 10px; }
  .trust-row { gap: 10px; font-size: 12px; }

  /* Sticky CTA so users on tall mobile pages can submit without
     scrolling all the way back. The card itself scrolls inside the
     viewport, so we anchor against body. */
  .btn-primary {
    position: sticky;
    bottom: 12px;
    z-index: 5;
  }
}

/* Reduce-motion respect */
@media (prefers-reduced-motion: reduce) {
  body,
  .xc-orb,
  .signup-card,
  .logo {
    animation: none !important;
  }
  * { transition-duration: 0.01ms !important; }
}
