:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #172d2a;
  background: #f8faf8;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
.home { display: grid; place-items: center; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 1rem 1.4rem;
  border: 1px solid #234b40;
  border-radius: 0.7rem;
  color: #fff;
  background: #234b40;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: #183c32; }
:focus-visible { outline: 3px solid #83b7a4; outline-offset: 4px; }
.credits-page { width: min(100%, 32rem); margin: 0 auto; padding: 3rem 1.25rem; }
.back-link { display: inline-block; color: #50665d; text-decoration: none; margin: 0 0 1.5rem 0.15rem; font-size: 0.9rem; }
.back-link:hover { text-decoration: underline; }
.card { padding: 2.5rem; border: 1px solid #e0e7e1; border-radius: 1.5rem; background: #fff; box-shadow: 0 12px 40px #233f3108; }
.eyebrow { margin: 0 0 1.25rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: #557364; }
h1 { margin: 0; font-size: clamp(2rem, 7vw, 2.6rem); letter-spacing: -0.05em; line-height: 1.15; }
.intro { margin: 0.9rem 0 1.5rem; color: #596b63; line-height: 1.5; }
.free-note { padding: 0.8rem 0.9rem; border-radius: 0.6rem; background: #edf5ef; color: #355442; font-size: 0.82rem; line-height: 1.6; }
.free-note span { margin-right: 0.3rem; }
form { margin-top: 1.75rem; }
fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
label { display: block; margin-bottom: 0.6rem; font-size: 0.88rem; font-weight: 600; }
input { width: 100%; min-height: 3.2rem; padding: 0.85rem 0.95rem; border: 1px solid #cbd7ce; border-radius: 0.6rem; color: inherit; background: #fff; font: inherit; }
input::placeholder { color: #7e8b84; }
.hint, .account-status, .feedback { font-size: 0.8rem; line-height: 1.55; overflow-wrap: anywhere; }
.hint { margin: 0.55rem 0 0; color: #63736a; }
.account-status { min-height: 1.55em; margin: 0.65rem 0 1.4rem; color: #355442; }
form .button { width: 100%; margin-top: 1.4rem; justify-content: space-between; }
:disabled { cursor: wait; opacity: 0.65; }
.feedback { margin: 1rem 0 0; color: #355442; }
.feedback:empty { margin: 0; }
[data-error="true"] { color: #a1392a; }
[hidden] { display: none !important; }
.button.secondary { color: #355442; background: #fff; border-color: #cbd7ce; }
.button.secondary:hover { background: #edf5ef; }
.provider-list { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.provider-list .button { flex: 1 1 auto; }
.provider-list:empty { display: none; }
.account-details { display: grid; gap: 1rem; margin: 1.75rem 0; }
.account-details dd { font-size: 0.9rem; }
.mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.85rem; }
.token-reveal { display: grid; gap: 0.75rem; margin: 1.25rem 0; }
.token-list { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.token-list li { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; justify-content: space-between; border-top: 1px solid #edf1ed; padding: 0.75rem 0; font-size: 0.85rem; overflow-wrap: anywhere; }
.token-meta { color: #63736a; font-size: 0.75rem; }
.token-list .button { padding: 0.5rem 0.8rem; font-size: 0.78rem; }
.card h2 { margin: 2rem 0 0.75rem; font-size: 1.15rem; }
.card > .button.secondary { margin-top: 1.5rem; }
.site-nav { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; margin-bottom: 1.5rem; font-size: 0.9rem; }
.site-nav a:not(.button), .docs-page a { color: #355442; text-underline-offset: 0.2em; }
.home .site-nav .button { flex: 1; white-space: nowrap; }
.site-nav [aria-current="page"] { font-weight: 700; }
.docs-page { width: min(100%, 52rem); margin: 0 auto; padding: 3rem 1.25rem; line-height: 1.65; overflow-wrap: anywhere; }
.docs-page h2 { margin: 2rem 0 0.75rem; font-size: 1.35rem; line-height: 1.3; }
.docs-page code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.9em; }
.docs-page pre { padding: 1rem; border: 1px solid #e0e7e1; border-radius: 0.6rem; background: #f8faf8; overflow-x: auto; line-height: 1.5; }
@media (max-width: 420px) {
  .credits-page, .docs-page { padding-top: 1.5rem; }
  .card { padding: 1.75rem 1.25rem; }
}
