body {
  background: var(--bg);
  min-height: 100vh;
}

.auth-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.auth-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--rule);
  background: color-mix(in oklab, var(--paper) 92%, transparent);
  backdrop-filter: blur(14px);
}

.auth-header .brand {
  font-size: 22px;
}

.auth-main {
  flex: 1;
  padding: 44px 24px 76px;
}

.signup-step2 .auth-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px 80px;
}

.get-listed-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .72fr);
  gap: 34px;
  align-items: start;
}

.gl-hero {
  position: relative;
  padding: 18px 0;
}

.gl-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 11px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper);
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.gl-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-head);
  font-size: clamp(44px, 6.2vw, 82px);
  line-height: .96;
  letter-spacing: 0;
  font-weight: 600;
}

.gl-hero h1 span {
  display: block;
  color: var(--accent);
  font-size: .82em;
  line-height: .98;
}

.gl-subhead {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--ink-2);
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.45;
}

.gl-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  margin: 24px 0 0;
}

.gl-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 900;
  box-shadow: var(--shadow-1);
}

.gl-cta:hover {
  background: var(--accent);
}

.gl-cta-note {
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 800;
}

.gl-guarantee {
  max-width: 700px;
  margin: 24px 0 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid color-mix(in oklab, var(--accent) 36%, var(--rule));
  border-radius: var(--r-lg, 12px);
  background: var(--accent-soft);
  color: var(--ink);
  box-shadow: var(--shadow-1);
}

.gl-guarantee-mark {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: white;
  font-weight: 900;
}

.gl-guarantee strong {
  display: block;
  margin: 0 0 2px;
  font-size: 15px;
}

.gl-guarantee p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.45;
}

.gl-media {
  overflow: hidden;
  max-width: 760px;
  margin-top: 24px;
  border: 1px solid var(--rule);
  border-radius: var(--r-lg, 12px);
  background: var(--paper);
  box-shadow: var(--shadow-2);
}

.gl-media img {
  display: block;
  width: 100%;
  height: auto;
}

.gl-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
  margin: 24px 0 0;
}

.gl-trust div {
  padding: 14px 15px;
  border: 1px solid var(--rule);
  border-radius: var(--r-md, 8px);
  background: var(--paper);
}

.gl-trust strong {
  display: block;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0;
}

.gl-trust span {
  display: block;
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.gl-points {
  max-width: 720px;
  margin: 22px 0 0;
  display: grid;
  gap: 9px;
  color: var(--ink-2);
  font-size: 15px;
}

.gl-points p {
  margin: 0;
  display: flex;
  gap: 10px;
  align-items: center;
}

.gl-points b {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--live-soft);
  color: var(--live);
  font-size: 12px;
}

.gl-form-panel {
  align-self: stretch;
  display: flex;
  align-items: flex-start;
}

.auth-card {
  width: 100%;
  max-width: 460px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg, 12px);
  padding: 30px;
  box-shadow: var(--shadow-2);
}

.auth-card-wide {
  max-width: 560px;
}

.auth-card h1 {
  font-size: 24px;
  line-height: 1.08;
  letter-spacing: 0;
  margin: 0 0 6px;
  color: var(--ink);
}

.auth-card .sub {
  color: var(--ink-2);
  font-size: 14px;
  margin: 0 0 22px;
}

.auth-card label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin: 14px 0 6px;
  color: var(--ink);
}

.auth-card input[type="email"],
.auth-card input[type="text"],
.auth-card input[type="password"],
.auth-card input[type="tel"],
.auth-card select,
.auth-card textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--rule);
  border-radius: var(--r-md, 8px);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  box-sizing: border-box;
  font-family: inherit;
}

.auth-card textarea {
  resize: vertical;
}

.auth-card input:focus,
.auth-card select:focus,
.auth-card textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.auth-card .btn-primary {
  margin-top: 22px;
  width: 100%;
  padding: 13px 16px;
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: var(--r-md, 8px);
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

.auth-card .btn-primary:hover {
  background: var(--accent-2);
}

.auth-card .btn-primary:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.auth-card .error {
  padding: 12px 14px;
  border-radius: var(--r-md, 8px);
  font-size: 13px;
  margin: 0 0 16px;
  background: oklch(95% 0.04 25);
  color: oklch(36% 0.16 25);
  border: 1px solid oklch(85% 0.08 25);
}

.auth-card .notice {
  padding: 12px 14px;
  border-radius: var(--r-md, 8px);
  font-size: 13px;
  margin: 14px 0;
  background: oklch(95% 0.02 145);
  color: oklch(31% 0.10 145);
  border: 1px solid oklch(85% 0.05 145);
}

.gl-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.gl-row > div {
  flex: 1 1 0;
  min-width: 120px;
}

.gl-opt,
.gl-username-msg {
  color: var(--ink-2);
}

.gl-opt {
  font-weight: 400;
  font-size: 12px;
}

.gl-username-msg {
  font-size: 12.5px;
  margin-top: 6px;
  min-height: 18px;
}

.gl-username-msg.ok {
  color: oklch(39% 0.14 145);
}

.gl-username-msg.bad {
  color: oklch(42% 0.16 25);
}

.gl-username-msg.checking {
  color: var(--ink-2);
}

.gl-suggest {
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-left: 4px;
}

.gl-chip {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 1px 9px;
  cursor: pointer;
  color: var(--accent);
  font-size: 12px;
}

.gl-chip:hover {
  border-color: var(--accent);
}

.gl-svc-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.gl-svc {
  flex: 1 1 calc(50% - 8px);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--rule);
  border-radius: var(--r-md, 8px);
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  background: var(--bg);
}

.gl-svc:has(input:checked) {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.gl-svc input {
  width: auto;
  margin: 0;
  accent-color: var(--accent);
}

.gl-info {
  width: min(1180px, 100%);
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.gl-info-section {
  border: 1px solid var(--rule);
  border-radius: var(--r-lg, 12px);
  background: var(--paper);
  padding: 22px;
}

.gl-info-section h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0;
}

.gl-includes {
  display: grid;
  gap: 10px;
  margin: 0;
}

.gl-includes div {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.45;
}

.gl-includes b {
  color: var(--ink);
}

.gl-faq {
  display: grid;
  gap: 12px;
}

.gl-faq details {
  border-top: 1px solid var(--rule);
  padding-top: 12px;
}

.gl-faq details:first-child {
  border-top: 0;
  padding-top: 0;
}

.gl-faq summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
}

.gl-faq p {
  margin: 8px 0 0;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.5;
}

.auth-foot {
  text-align: center;
  color: var(--ink-2);
  font-size: 13px;
  padding: 24px;
  border-top: 1px solid var(--rule);
}

.auth-foot a {
  color: var(--accent);
  text-decoration: none;
}

.back-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-2);
  text-decoration: none;
}

.back-link:hover {
  color: var(--accent);
}

.theme-toggle {
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: var(--r-md, 8px);
  padding: 6px 10px;
  cursor: pointer;
  font-size: 16px;
  color: var(--ink);
}

.ti-sun {
  display: none;
}

:root[data-theme="dark"] .ti-moon {
  display: none;
}

:root[data-theme="dark"] .ti-sun {
  display: inline;
}

@media (max-width: 980px) {
  .auth-main {
    padding-top: 30px;
  }

  .get-listed-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    align-items: start;
  }

  .gl-hero {
    padding: 0;
  }

  .gl-form-panel {
    display: block;
  }

  .auth-card {
    max-width: none;
  }

  .gl-info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .auth-main {
    padding: 24px 14px 54px;
  }

  .auth-header {
    padding: 14px 16px;
  }

  .gl-hero h1 {
    font-size: 42px;
  }

  .gl-hero h1 span {
    font-size: .9em;
  }

  .gl-subhead {
    font-size: 17px;
  }

  .gl-cta {
    width: 100%;
  }

  .gl-cta-note {
    width: 100%;
    text-align: center;
  }

  .gl-trust {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .gl-trust div {
    padding: 10px 8px;
  }

  .gl-trust strong {
    font-size: 16px;
  }

  .gl-trust span {
    font-size: 9px;
    letter-spacing: .03em;
  }

  .gl-points {
    display: none;
  }

  .gl-guarantee,
  .gl-info-section {
    padding: 14px;
  }

  .auth-card {
    padding: 22px;
  }
}
