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

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(18, 97, 92, 0.12), transparent 36%),
    linear-gradient(315deg, rgba(62, 87, 164, 0.12), transparent 34%),
    #eef2f5;
}

.shell {
  width: min(100%, 760px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px;
  display: flex;
  align-items: stretch;
}

.signup-panel {
  width: 100%;
  margin: auto 0;
  padding: 22px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #d9e1e7;
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(26, 43, 64, 0.14);
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  background: #12615c;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
}

.eyebrow {
  margin: 0 0 3px;
  color: #627084;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.12;
}

.form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
  color: #354258;
  font-weight: 700;
}

input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #c8d2dc;
  border-radius: 8px;
  padding: 0 13px;
  color: #152033;
  font: inherit;
  background: #fff;
}

input:focus {
  outline: 3px solid rgba(18, 97, 92, 0.18);
  border-color: #12615c;
}

.services {
  min-width: 0;
  margin: 2px 0 0;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 10px;
  color: #354258;
  font-weight: 800;
}

.service-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}

.service-option {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #d8e0e7;
  border-radius: 8px;
  background: #fbfcfd;
  color: #223049;
  font-weight: 700;
}

.service-option input {
  width: 20px;
  min-height: 20px;
  accent-color: #12615c;
}

.primary-button {
  min-height: 50px;
  border: 0;
  border-radius: 8px;
  background: #12615c;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.primary-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.result {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #cdd9df;
  border-radius: 8px;
  background: #f7fafb;
}

.result h2 {
  margin: 0 0 10px;
  font-size: 20px;
}

.code {
  display: block;
  margin: 10px 0;
  padding: 13px;
  border-radius: 8px;
  background: #152033;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  text-align: center;
  letter-spacing: 0;
}

.steps {
  margin: 12px 0 0;
  padding-left: 20px;
  color: #354258;
}

.steps li {
  margin: 7px 0;
}

.notice {
  margin: 12px 0 0;
  color: #68758a;
  font-size: 14px;
}

.error {
  color: #9c2b2e;
}

@media (min-width: 640px) {
  .shell {
    padding: 32px;
  }

  .signup-panel {
    padding: 30px;
  }

  .service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
