:root {
  --ink: #14171F;
  --ink-raised: #1B1F2A;
  --paper: #EDEAE2;
  --brass: #B8934B;
  --brass-bright: #D4AF6A;
  --muted: #8A93A6;
  --verified: #5FAE7C;
  --line: rgba(237, 234, 226, 0.10);

  --display: "Fraunces", serif;
  --body: "IBM Plex Sans", sans-serif;
  --mono: "IBM Plex Mono", monospace;
}

* { box-sizing: border-box; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  background-image:
    radial-gradient(ellipse 800px 500px at 15% -10%, rgba(184, 147, 75, 0.10), transparent),
    radial-gradient(ellipse 600px 400px at 100% 100%, rgba(184, 147, 75, 0.06), transparent);
  font-family: var(--body);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.panel {
  width: 100%;
  max-width: 880px;
  background: var(--ink-raised);
  border: 1px solid var(--line);
  border-radius: 4px;
  display: grid;
  grid-template-columns: 240px 1fr;
  overflow: hidden;
}

@media (max-width: 680px) {
  .panel { grid-template-columns: 1fr; }
  .seal-wrap { padding: 32px 0 8px; }
}

.seal-wrap {
  background:
    repeating-linear-gradient(135deg, transparent, transparent 26px, rgba(184,147,75,0.04) 26px, rgba(184,147,75,0.04) 27px),
    #10131A;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
  padding: 20px;
}

@media (max-width: 680px) {
  .seal-wrap { border-right: none; border-bottom: 1px solid var(--line); }
}

.seal {
  width: 150px;
  height: 150px;
  animation: seal-drift 16s linear infinite;
  transform-origin: center;
}

@keyframes seal-drift {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.seal-ring-outer, .seal-ring-inner {
  fill: none;
  stroke: var(--brass);
  stroke-width: 1;
  opacity: 0.55;
}

.seal-text {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 2px;
  fill: var(--brass-bright);
}

.seal-check {
  opacity: 0;
  stroke: var(--verified);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.seal-check path {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
}

.seal-wrap.verified .seal-check {
  opacity: 1;
  animation: stamp-in 0.4s ease-out forwards;
}

.seal-wrap.verified .seal-check path {
  animation: stamp-draw 0.35s 0.05s ease-out forwards;
}

.seal-wrap.verified .seal {
  animation-play-state: paused;
}

@keyframes stamp-in {
  0% { transform: scale(2.2); }
  60% { transform: scale(0.9); }
  100% { transform: scale(1); }
}

@keyframes stamp-draw {
  to { stroke-dashoffset: 0; }
}

.content {
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 10px;
}

h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 32px;
  margin: 0 0 12px;
  color: var(--paper);
}

.sub {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 40ch;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--paper);
  color: var(--ink);
  border: none;
  border-radius: 3px;
  padding: 12px 20px;
  font-family: var(--body);
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease;
}

.btn-primary:hover { background: #fff; transform: translateY(-1px); }
.btn-primary:focus-visible { outline: 2px solid var(--brass-bright); outline-offset: 2px; }
.btn-primary:disabled { opacity: 0.6; cursor: default; transform: none; }

.btn-secondary {
  margin-top: 14px;
  background: none;
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 3px;
  padding: 10px 18px;
  font-family: var(--body);
  font-size: 13.5px;
  cursor: pointer;
}

.btn-secondary:hover { border-color: var(--brass); color: var(--paper); }
.btn-secondary:focus-visible { outline: 2px solid var(--brass-bright); outline-offset: 2px; }

.hidden { display: none !important; }

.status {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 13px;
  min-height: 18px;
  color: var(--verified);
}

.status.error { color: #E08484; }

.footnote {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.4px;
  color: var(--muted);
  opacity: 0.7;
  text-align: center;
  margin: 0;
}
