:root {
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #244337;
  background: #f4f3ec;
  color-scheme: light;
}

* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }

.rights-shell {
  width: min(100%, 38rem);
  margin: 0 auto;
  padding: clamp(1.25rem, 5vw, 3rem);
}

.rights-card {
  margin-top: 1.25rem;
  padding: clamp(1.25rem, 5vw, 2rem);
  border: 1px solid #d5dfcf;
  border-radius: .5rem;
  background: #fffdf5;
}

h1 {
  margin: 0;
  font: 400 clamp(2rem, 6vw, 3rem)/1.1 Georgia, "Times New Roman", serif;
  letter-spacing: -.04em;
}

.intro, #rights-status { color: #52664c; }
.back { color: #28503e; }

form {
  display: grid;
  gap: .6rem;
}

label, legend { font-weight: 600; }

select {
  width: 100%;
  min-height: 44px;
  padding: .5rem;
  border: 1px solid #cfdac6;
  border-radius: .3rem;
  background: #fffdf5;
  color: inherit;
  font: inherit;
}

fieldset {
  margin: .5rem 0;
  padding: .6rem .8rem;
  border: 1px solid #cfdac6;
  border-radius: .3rem;
}

fieldset label {
  display: flex;
  align-items: center;
  gap: .6rem;
  min-height: 44px;
  font-weight: 400;
}

input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: #28503e;
}

.action, button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 44px;
  padding: .55rem .85rem;
  border: 0;
  border-radius: .3rem;
  color: #fffdf4;
  background: #28503e;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

button:disabled { opacity: .6; cursor: default; }
:focus-visible { outline: 3px solid #8c5e30; outline-offset: 3px; }
