:root {
  color-scheme: light;
  --ink: #132a2d;
  --muted: #53676a;
  --brand: #0b6b66;
  --brand-dark: #084b48;
  --accent: #e8b65b;
  --surface: #ffffff;
  --canvas: #f2f6f5;
  --border: #d4e0de;
  --danger: #9a2f2f;
  --success: #1c7050;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 5% 0%, rgb(11 107 102 / 14%), transparent 32rem),
    var(--canvas);
  font-size: 1rem;
  line-height: 1.6;
}

.shell {
  width: min(100% - 2rem, 58rem);
  margin-inline: auto;
  padding: 2rem 0 4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.brand-mark {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  color: white;
  background: var(--brand);
  border-radius: 0.8rem;
}

.poc-badge {
  margin-left: auto;
  padding: 0.25rem 0.65rem;
  color: var(--brand-dark);
  background: #dcefeb;
  border: 1px solid #b8d9d4;
  border-radius: 99rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.card {
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.4rem;
  box-shadow: 0 1.2rem 3rem rgb(23 53 56 / 9%);
}

.hero {
  padding-block: clamp(2rem, 7vw, 5rem);
}

.auth-card {
  width: min(100%, 34rem);
  margin-inline: auto;
}

h1 {
  max-width: 18ch;
  margin: 0 0 1rem;
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.auth-card h1,
.state-card h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
}

p {
  max-width: 65ch;
  color: var(--muted);
}

.eyebrow,
.status {
  margin: 0 0 0.6rem;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-denied {
  color: var(--danger);
}

.status-granted {
  color: var(--success);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 2.9rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  color: white;
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 0.75rem;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: var(--brand-dark);
}

.button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.button-secondary {
  color: var(--brand-dark);
  background: transparent;
}

.notice,
.error {
  padding: 0.8rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.92rem;
}

.notice {
  color: #4b4a33;
  background: #fff7df;
  border: 1px solid #efdaa0;
}

.error {
  color: var(--danger);
  background: #fff0f0;
  border: 1px solid #e7bcbc;
}

.proof-list {
  display: grid;
  gap: 0;
  margin: 2rem 0;
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  overflow: hidden;
}

.proof-list div {
  display: grid;
  grid-template-columns: minmax(8rem, 0.8fr) minmax(0, 1.5fr);
  gap: 1rem;
  padding: 0.8rem 1rem;
}

.proof-list div + div {
  border-top: 1px solid var(--border);
}

.proof-list dt {
  color: var(--muted);
  font-size: 0.9rem;
}

.proof-list dd {
  margin: 0;
  font-weight: 700;
  overflow-wrap: anywhere;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
}

hanko-auth {
  display: block;
  margin-top: 1.5rem;
  --color: var(--ink);
  --color-primary: var(--brand);
  --border-radius: 0.75rem;
}

@media (max-width: 36rem) {
  .shell {
    width: min(100% - 1rem, 58rem);
    padding-top: 1rem;
  }

  .card {
    border-radius: 1rem;
  }

  .proof-list div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}
