.wb-upb {
  --indigo: #283851;
  --green: #90b5a4;
  --turquoise: #316572;
  --soft: #e8f2ee;
  --soft-turq: #e2ecef;
  --ink: #1a2433;
  --mute: #5a6570;
  --paper: #f3f7f5;
  --line: rgba(40, 56, 81, 0.14);
  --danger: #9b2c2c;
  --radius: 6px;
  --font: "Outfit", system-ui, sans-serif;
  --display: "Source Serif 4", Georgia, serif;
  box-sizing: border-box;
  font-family: var(--font);
  color: var(--ink);
  position: relative;
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 1.5rem 0 3rem;
}

.wb-upb *,
.wb-upb *::before,
.wb-upb *::after { box-sizing: border-box; }

.wb-upb.shell,
.wb-upb .shell {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  margin: 0 auto;
}

.hero {
  margin-bottom: 1.35rem;
}

/* Light text for the site’s dark teal page background */
.hero h1 {
  margin: 0 0 0.55rem;
  font-family: var(--font);
  font-size: clamp(1.55rem, 3.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.2;
}

.lede {
  margin: 0;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.55;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}

.hero .btn.primary {
  margin-top: 1rem;
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(40, 56, 81, 0.08);
  padding: 1.35rem 1.45rem 1.6rem;
}

.panel.verify {
  margin-top: 1rem;
}

.block {
  margin-bottom: 1.35rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--line);
}

.block:last-of-type { border-bottom: 0; }

.block h2 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--indigo);
}

.block h2 span {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--mute);
}

.section-prod {
  background: linear-gradient(90deg, rgba(40, 56, 81, 0.06), transparent 70%);
  margin-left: -0.5rem;
  margin-right: -0.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  border-radius: var(--radius);
}

.section-non {
  background: linear-gradient(90deg, rgba(49, 101, 114, 0.08), transparent 70%);
  margin-left: -0.5rem;
  margin-right: -0.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  border-radius: var(--radius);
}

.hint {
  margin: -0.25rem 0 0.85rem;
  color: var(--mute);
  font-size: 0.92rem;
  line-height: 1.45;
}

.privacy-note {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  background: var(--soft);
  border-left: 3px solid var(--green);
  color: var(--indigo);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.45;
}

.grid {
  display: grid;
  gap: 0.85rem 1rem;
}

.grid.two { grid-template-columns: 1fr 1fr; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid .span2 { grid-column: 1 / -1; }

label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--indigo);
}

input, select, textarea {
  font: inherit;
  font-weight: 500;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fffcf5;
  padding: 0.65rem 0.75rem;
}

input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(144, 181, 164, 0.55);
  outline-offset: 1px;
  border-color: var(--green);
}

input[readonly] {
  background: var(--soft);
  color: var(--mute);
}

.cols-head, .row {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 1.4fr;
  gap: 0.55rem;
  margin-bottom: 0.45rem;
}

.cols-head {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mute);
}

.role-fixed {
  display: flex;
  align-items: center;
  font-weight: 700;
  color: #fff;
  background: var(--indigo);
  border-radius: 4px;
  padding: 0.55rem 0.75rem;
}

.consent {
  display: flex;
  flex-direction: row;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 0.85rem 0 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
}

.consent input {
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
  margin: 0.2rem 0 0;
  padding: 0;
  accent-color: var(--turquoise);
}

.consent span {
  flex: 1 1 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  padding: 0.85rem 1.35rem;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.btn.primary {
  background: var(--green);
  color: var(--indigo);
}

.btn.primary:hover {
  background: #7ea897;
}

.btn.primary:disabled {
  opacity: 0.65;
  cursor: wait;
}

.error {
  margin: 0.85rem 0 0;
  padding: 0.7rem 0.85rem;
  background: #fde8e8;
  color: var(--danger);
  border: 1px solid rgba(155, 44, 44, 0.25);
  border-radius: 4px;
  font-size: 0.92rem;
}

@media (max-width: 720px) {
  .grid.two, .grid.three, .cols-head, .row {
    grid-template-columns: 1fr;
  }
  .cols-head { display: none; }
}
