:root {
  color-scheme: light;
  background: #f7f7f0;
  color: #24342e;
  font: 100%/1.6 system-ui, sans-serif;
}

body {
  margin: 0 auto;
  max-width: 72rem;
  padding: 0 clamp(1.25rem, 5vw, 4rem);
}

header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .5rem 2rem;
  border-bottom: 1px solid #cbd6ca;
  padding: 1.25rem 0;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1.15rem;
  font-size: .9375rem;
}

a { color: #225d49; text-underline-offset: .2em; }
nav a, .brand { text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { text-decoration: underline; }
.brand { font-weight: 750; }

main { padding: clamp(3rem, 12vw, 8rem) 0; }

h1 {
  margin: 0 0 1rem;
  font: 400 clamp(2.5rem, 7vw, 5rem)/1.05 Georgia, serif;
  letter-spacing: -.035em;
}

p { max-width: 36rem; font-size: 1.125rem; }
.links { margin-top: 1.75rem; }

#pool-summary {
  max-width: 44rem;
  margin-top: 2rem;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}

.main-metric { margin: 0; }
.main-metric strong {
  font: 400 clamp(2.5rem, 7vw, 4rem)/1.05 Georgia, serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.035em;
}
.status-text { margin-inline-start: .35rem; color: #526258; font-size: 1rem; }
.summary-line { max-width: none; margin: .5rem 0 1.25rem; font-size: 1rem; }

.plain-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  font-variant-numeric: tabular-nums;
}
.plain-list li + li { margin-top: .35rem; }
.tier-name { font-weight: 600; }
.meta { margin: .35rem 0; color: #526258; font-size: .875rem; }

.passkey-access { margin-top: 2.5rem; }
.passkey-primary-row { margin: 0 0 .5rem; }

.text-action {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: #225d49;
  font: inherit;
  text-align: start;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}
.text-action:hover:enabled,
.text-action:focus-visible { text-decoration-thickness: .15em; }
.text-action:focus-visible { outline: 0; text-decoration-style: double; }
.text-action:disabled { cursor: default; opacity: .6; }
.primary-action { font-size: 1.25rem; font-weight: 600; }

#intake, #inventory { margin-top: 2.5rem; }
#intake fieldset {
  display: grid;
  gap: .75rem;
  min-width: 0;
  max-width: 32rem;
  margin: 0 0 1rem;
  border: 0;
  padding: 0;
}
#intake legend { padding: 0 0 .5rem; font-weight: 600; }
#intake label { display: grid; gap: .125rem; color: #526258; }
#intake input, #intake select {
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  padding: .25rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #24342e;
  font: inherit;
}
#identity, #review, #message, #inventory { overflow-wrap: anywhere; }
#inventory pre { white-space: pre-wrap; }
#auth-request, #conn-list-section { margin-top: 2rem; overflow-wrap: anywhere; }
#auth-message, #conn-message { overflow-wrap: anywhere; }
