:root {
  color-scheme: light;
  font-family: "Segoe UI", "SF Pro Text", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(139, 205, 116, 0.2), transparent 28%),
    linear-gradient(180deg, #f7f3ea 0%, #fdfcf9 100%);
  color: #15261c;
}

.page-shell {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 20px 72px;
}

.eyebrow {
  margin: 0 0 10px;
  color: #567060;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(32px, 6vw, 52px);
  line-height: 1;
}

.subtitle {
  margin: 14px 0 0;
  color: #4d6457;
  font-size: 15px;
  line-height: 1.6;
}

.card {
  margin-top: 24px;
  border: 1px solid rgba(21, 38, 28, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 42px rgba(21, 38, 28, 0.08);
  padding: 20px;
}

.card + .card {
  margin-top: 16px;
}

.status {
  margin: 0;
  color: #4b6355;
  font-size: 14px;
  line-height: 1.6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

button,
input {
  font: inherit;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 700;
  padding: 12px 16px;
  text-decoration: none;
  transition: transform 120ms ease, opacity 120ms ease;
}

.button:hover,
.button-secondary:hover {
  transform: translateY(-1px);
}

.button {
  background: #153726;
  color: #f8f7f3;
}

.button-secondary {
  background: rgba(21, 38, 28, 0.08);
  color: #173524;
}

.button[disabled],
.button-secondary[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.code-box {
  margin-top: 18px;
  border-radius: 18px;
  background: #132c1e;
  color: #f4f6ef;
  padding: 18px;
  font-size: clamp(16px, 4vw, 24px);
  font-weight: 700;
  letter-spacing: 0.04em;
  word-break: break-word;
}

.small {
  color: #5e7266;
  font-size: 12px;
  line-height: 1.5;
}

.field {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.field label {
  font-size: 13px;
  font-weight: 700;
}

.field input {
  width: 100%;
  border: 1px solid rgba(21, 38, 28, 0.14);
  border-radius: 14px;
  background: #ffffff;
  color: inherit;
  padding: 12px 14px;
}

.hidden {
  display: none !important;
}

.error {
  color: #983f2f;
}

.doc-shell {
  max-width: 840px;
}

.doc-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 20px;
}

.doc-nav a {
  border-radius: 999px;
  background: rgba(21, 38, 28, 0.08);
  color: #173524;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  padding: 10px 12px;
  text-decoration: none;
}

.doc-shell h2 {
  margin: 30px 0 10px;
  font-size: 22px;
  line-height: 1.2;
}

.doc-shell p,
.doc-shell li {
  font-size: 16px;
  line-height: 1.7;
}

.doc-shell ul {
  margin: 12px 0;
  padding-left: 20px;
}

.note {
  margin-top: 18px;
  border: 1px solid rgba(21, 38, 28, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 30px rgba(21, 38, 28, 0.08);
  padding: 16px 18px;
}

.legal-footer {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(21, 38, 28, 0.1);
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.legal-links a {
  color: #173524;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
