.signup-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 82% 10%, rgba(15, 143, 120, 0.16), transparent 30rem),
    radial-gradient(circle at 0% 0%, rgba(182, 138, 58, 0.24), transparent 34rem),
    #0f0d09;
}

.signup-shell {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(1rem, 3vw, 2rem);
  min-height: 100vh;
  padding: clamp(1rem, 4vw, 3rem);
}

.signup-hero {
  color: #fff7e8;
  display: grid;
  align-content: space-between;
  gap: 2rem;
  min-height: calc(100vh - 6rem);
}

.signup-brand {
  align-items: center;
  display: inline-flex;
  gap: 0.8rem;
  font-size: 1.2rem;
  font-weight: 900;
}

.signup-brand img {
  height: 52px;
  width: 52px;
}

.signup-hero h1 {
  color: #fff7e8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: 0.9;
  margin: 0.5rem 0 1rem;
}

.signup-hero p {
  color: rgba(255, 247, 232, 0.72);
  font-size: 1.05rem;
  max-width: 620px;
}

.signup-rules {
  display: grid;
  gap: 0.7rem;
}

.signup-rules article {
  align-items: center;
  border: 1px solid rgba(209, 162, 70, 0.28);
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  padding: 1rem;
}

.signup-rules strong {
  color: #d1a246;
  font-size: 2rem;
}

.signup-rules span {
  color: rgba(255, 247, 232, 0.7);
}

.signup-card {
  align-self: start;
  background: #fffaf0;
  border: 1px solid rgba(209, 162, 70, 0.22);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

.signup-card form {
  display: grid;
  gap: 0;
}

.form-section {
  border-bottom: 1px solid #eadfce;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 1.25rem;
}

.form-section h2 {
  grid-column: 1 / -1;
  font-size: 1.05rem;
  margin: 0;
}

.form-section [data-fiscal-mode][hidden] {
  display: none;
}

.section-note {
  color: #70685c;
  font-size: 0.9rem;
  grid-column: 1 / -1;
  margin: -0.2rem 0 0.25rem;
}

.form-section label {
  display: grid;
  gap: 0.36rem;
}

.form-section label span,
.terms-line span {
  color: #70685c;
  font-size: 0.86rem;
}

.form-section label small {
  color: #8a8173;
  font-size: 0.74rem;
  line-height: 1.25;
}

.form-section .wide,
.field-hint,
.terms-line,
.signup-submit,
.signup-status {
  grid-column: 1 / -1;
}

.field-hint {
  color: #70685c;
  font-size: 0.84rem;
  margin: -0.2rem 0 0;
  min-height: 1rem;
}

.field-hint.error {
  color: #b8323b;
  font-weight: 800;
}

.terms-line {
  align-items: start;
  display: flex;
  gap: 0.65rem;
  padding: 1rem 1.25rem 0;
}

.terms-line input {
  margin-top: 0.2rem;
  width: 18px;
}

.signup-submit {
  justify-self: start;
  margin: 1.25rem;
}

.signup-status {
  color: #70685c;
  margin: 0 1.25rem 1.25rem;
  min-height: 1.2rem;
}

.signup-status.ok {
  color: #0f8f78;
  font-weight: 800;
}

.signup-status.error {
  color: #b8323b;
  font-weight: 800;
}

.terms-panel {
  border-bottom: 1px solid #eadfce;
  display: grid;
  gap: 0.8rem;
  padding: 1.25rem;
}

.terms-panel h2 {
  font-size: 1.05rem;
  margin: 0.25rem 0;
}

.terms-panel p,
.terms-panel li {
  color: #70685c;
  font-size: 0.9rem;
}

.terms-panel ul {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding-left: 1.1rem;
}

.terms-panel a {
  color: #12100b;
  font-weight: 900;
  text-decoration: underline;
}

@media (max-width: 980px) {
  .signup-shell,
  .form-section {
    grid-template-columns: 1fr;
  }

  .signup-hero {
    min-height: auto;
  }
}
