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

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 2rem;
  background:
    radial-gradient(circle at 15% 10%, rgb(221 235 222 / 80%), transparent 35%),
    linear-gradient(145deg, #f7f4e9, #edf2e8);
}

main {
  width: min(100%, 34rem);
  padding: clamp(2rem, 7vw, 4rem);
  border: 1px solid rgb(23 33 28 / 12%);
  border-radius: 1.5rem;
  background: rgb(255 255 252 / 88%);
  box-shadow: 0 2rem 6rem rgb(41 62 48 / 12%);
}

.eyebrow {
  margin: 0 0 2rem;
  color: #3f6d51;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.2em;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 8vw, 4.5rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

h2 {
  margin: 0 0 0.75rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 500;
}

.summary {
  margin: 1.5rem 0 2rem;
  color: #526058;
  font-size: 1.05rem;
  line-height: 1.6;
}

button {
  width: 100%;
  border: 0;
  border-radius: 0.75rem;
  padding: 0.95rem 1.25rem;
  color: #fff;
  background: #244c35;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

button:hover:not(:disabled) {
  background: #183b28;
}

button:focus-visible {
  outline: 3px solid #9bc7a8;
  outline-offset: 3px;
}

button:disabled {
  cursor: wait;
  opacity: 0.65;
}

button.secondary {
  margin-top: 0.75rem;
  border: 1px solid rgb(23 33 28 / 22%);
  color: #244c35;
  background: transparent;
}

button.secondary:hover:not(:disabled) {
  background: rgb(36 76 53 / 8%);
}

button.danger {
  color: #8a2529;
}

#status {
  min-height: 1.5rem;
  margin: 1rem 0 0;
  color: #526058;
  font-size: 0.9rem;
}

#status[data-kind="success"] {
  color: #17633a;
}

#status[data-kind="pending"] {
  color: #735918;
}

#status[data-kind="error"] {
  color: #9b2d30;
}

.privacy {
  margin: 2.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgb(23 33 28 / 10%);
  color: #69756e;
  font-size: 0.78rem;
  line-height: 1.55;
}

#workspace-connection {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(23 33 28 / 10%);
}

#onboarding-progress {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(23 33 28 / 10%);
}

#policy-review,
#channel-preferences {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(23 33 28 / 10%);
}

#channel-preferences p,
#channel-preferences fieldset {
  color: #526058;
  line-height: 1.55;
}

#channel-preferences fieldset {
  margin: 1rem 0;
  border: 1px solid rgb(23 33 28 / 14%);
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
}

#channel-preferences legend {
  padding: 0 0.35rem;
  color: #244c35;
  font-weight: 700;
}

#channel-preferences label {
  display: block;
  padding: 0.3rem 0;
}

#channel-preferences input {
  margin-right: 0.45rem;
}

#channel-preferences .channel-note {
  font-size: 0.85rem;
}

#policy-review p,
#policy-review ul {
  color: #526058;
  line-height: 1.55;
}

#policy-review ul {
  padding-left: 1.4rem;
}

#onboarding-progress ol {
  margin: 0 0 1.25rem;
  padding-left: 1.4rem;
  color: #526058;
  line-height: 1.8;
}

#onboarding-progress li[data-status="validated"] {
  color: #17633a;
  font-weight: 650;
}

#workspace-connection p {
  margin: 0 0 1.25rem;
  color: #526058;
  line-height: 1.55;
}
