:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0f172a;
  background: #f1f5f9;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, #ccfbf1, transparent 35%),
    linear-gradient(180deg, #f8fafc, #eef2ff);
}

a {
  color: inherit;
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 64px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 44px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  background: #0f172a;
  color: white;
  font-weight: 800;
}

.brand-name {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-subtitle {
  margin-top: 2px;
  color: #64748b;
  font-size: 13px;
}

.language-link {
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  padding: 10px 16px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 40px;
  align-items: start;
}

.introduction {
  padding: 36px 4px;
}

.eyebrow {
  margin: 0;
  color: #0f766e;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 18px 0;
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.lead {
  max-width: 580px;
  color: #475569;
  font-size: 18px;
  line-height: 1.75;
}

.process {
  margin-top: 36px;
  display: grid;
  gap: 16px;
}

.process-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.process-number {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #ccfbf1;
  color: #115e59;
  font-weight: 800;
}

.process-item strong {
  display: block;
  margin-bottom: 4px;
}

.process-item p {
  margin: 0;
  color: #64748b;
  line-height: 1.55;
}

.form-card {
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  padding: clamp(24px, 4vw, 42px);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

.form-heading {
  margin: 0 0 8px;
  font-size: 28px;
}

.form-description {
  margin: 0 0 28px;
  color: #64748b;
  line-height: 1.6;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  min-width: 0;
}

.field-full {
  grid-column: 1 / -1;
}

label {
  display: block;
  margin-bottom: 8px;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 13px;
  background: white;
  padding: 12px 14px;
  color: #0f172a;
  font: inherit;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #14b8a6;
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.14);
}

textarea {
  min-height: 125px;
  resize: vertical;
}

.hint {
  margin: 7px 0 0;
  color: #64748b;
  font-size: 12px;
}

.consent {
  display: flex;
  grid-column: 1 / -1;
  gap: 12px;
  align-items: flex-start;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.consent span {
  color: #475569;
  font-size: 14px;
  line-height: 1.6;
}

.submit-button {
  grid-column: 1 / -1;
  border: 0;
  border-radius: 999px;
  background: #0f172a;
  padding: 14px 22px;
  color: white;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.submit-button:hover {
  background: #0f766e;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.status {
  display: none;
  grid-column: 1 / -1;
  border-radius: 14px;
  padding: 13px 15px;
  font-size: 14px;
}

.status.visible {
  display: block;
}

.status.success {
  background: #ecfdf5;
  color: #166534;
}

.status.error {
  background: #fef2f2;
  color: #991b1b;
}

.security-note {
  margin-top: 20px;
  color: #64748b;
  font-size: 12px;
  text-align: center;
}

@media (max-width: 840px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .introduction {
    padding: 8px 2px;
  }
}

@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .field-full,
  .consent,
  .submit-button,
  .status {
    grid-column: auto;
  }
}
.login-links {
  margin-top: 22px;
  text-align: center;
  color: #64748b;
  font-size: 14px;
  line-height: 1.7;
}

.login-links a {
  color: #0f766e;
  font-weight: 700;
  text-decoration: none;
}

.login-links a:hover {
  text-decoration: underline;
}

.account-box {
  margin-top: 20px;
  border: 1px solid #dbeafe;
  border-radius: 18px;
  background: #f8fafc;
  padding: 22px;
}

.account-box[hidden] {
  display: none;
}

.account-label {
  margin: 0 0 8px;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.account-name {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
}

.account-email {
  margin: 6px 0 16px;
  color: #64748b;
  word-break: break-word;
}

.account-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  border-top: 1px solid #e2e8f0;
  padding-top: 16px;
}

.account-status {
  display: inline-block;
  border-radius: 999px;
  background: #ccfbf1;
  color: #115e59;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 800;
}

.secondary-button {
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: white;
  padding: 9px 15px;
  color: #334155;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.secondary-button:hover {
  background: #f1f5f9;
}

.secondary-button:disabled {
  opacity: 0.5;
}
