/* Athena Systems North Star — verifier styling.
   Brand palette: cream + navy + warm gold, Playfair Display headings.
   Mirrors the marketing/product look so the verifier feels like part of
   the product, not a bolt-on. */

:root {
  --cream: #faf6ee;
  --cream-card: #fffdf8;
  --navy-900: #0b1f3a;
  --navy-800: #0b4f9e;
  --ink: #1c2733;
  --ink-muted: #5b6672;
  --gold: #c8962a;
  --border: #e7dfce;
  --ok: #1f7a4d;
  --ok-bg: #e8f5ee;
  --fail: #b3261e;
  --fail-bg: #fdeceb;
  --warn: #9a6a00;
  --warn-bg: #fdf3e0;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(11, 31, 58, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

a {
  color: var(--navy-800);
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: rgba(11, 31, 58, 0.05);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

/* Header / brand lockup ------------------------------------------------ */

.site-header {
  padding: 1.5rem 1.5rem 0;
  max-width: 760px;
  margin: 0 auto;
}

.ns-lockup {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
}

.ns-lockup-eyebrow {
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
}

.ns-lockup-name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy-900);
}

/* Layout --------------------------------------------------------------- */

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.5rem;
}

.intro h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.2rem;
  color: var(--navy-900);
  margin: 1rem 0 0.5rem;
}

.lede {
  font-size: 1.1rem;
  color: var(--ink-muted);
  margin: 0 0 1rem;
}

/* Verify card ---------------------------------------------------------- */

.verify-card {
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.dropzone {
  border: 2px dashed #cdbf9e;
  border-radius: var(--radius);
  background: rgba(200, 150, 42, 0.04);
  padding: 2.5rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.dropzone:hover,
.dropzone:focus-visible,
.dropzone--over {
  border-color: var(--gold);
  background: rgba(200, 150, 42, 0.09);
  outline: none;
}

.dropzone-icon {
  font-size: 2rem;
  color: var(--gold);
}

.dropzone-text {
  margin: 0.5rem 0 0.25rem;
  font-size: 1.05rem;
}

.dropzone-sub {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.paste {
  margin-top: 1rem;
}

.paste summary {
  cursor: pointer;
  color: var(--navy-800);
  font-weight: 500;
  font-size: 0.95rem;
}

.paste-input {
  width: 100%;
  margin-top: 0.75rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85rem;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  resize: vertical;
}

.btn {
  margin-top: 0.75rem;
  background: var(--navy-800);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.6rem 1.4rem;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
}

.btn:hover {
  background: var(--navy-900);
}

/* Result --------------------------------------------------------------- */

.result {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
}

.result--empty {
  color: var(--ink-muted);
  background: transparent;
  border-style: dashed;
}

.result--pending {
  background: var(--cream);
}

.result--ok {
  background: var(--ok-bg);
  border-color: #b9e0cb;
  text-align: left;
}

.result--fail {
  background: var(--fail-bg);
  border-color: #f3c4c1;
  text-align: left;
}

.result--error,
.result--unknown {
  background: var(--warn-bg);
  border-color: #f0dcb0;
}

.result-icon {
  width: 2.75rem;
  height: 2.75rem;
  line-height: 2.75rem;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin: 0 auto 0.75rem;
  color: #fff;
}

.result--ok .result-icon {
  background: var(--ok);
}

.result--fail .result-icon {
  background: var(--fail);
}

.result--error .result-icon,
.result--unknown .result-icon {
  background: var(--warn);
}

.result--ok .result-icon,
.result--fail .result-icon {
  margin-left: 0;
}

.result-headline {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  font-family: "Playfair Display", Georgia, serif;
}

.result--ok .result-headline {
  color: var(--ok);
}

.result--fail .result-headline {
  color: var(--fail);
}

.result-detail {
  margin: 0;
  color: var(--ink-muted);
}

.section-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  margin: 1.5rem 0 0.5rem;
}

.meta-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.meta-table th {
  text-align: left;
  font-weight: 500;
  color: var(--ink-muted);
  padding: 0.4rem 1rem 0.4rem 0;
  white-space: nowrap;
  vertical-align: top;
  width: 38%;
}

.meta-table td {
  padding: 0.4rem 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85rem;
  word-break: break-word;
}

.checks {
  margin-top: 1.25rem;
}

.checks summary {
  cursor: pointer;
  color: var(--navy-800);
  font-weight: 500;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}

.check {
  display: flex;
  gap: 0.6rem;
  padding: 0.6rem 0;
  border-top: 1px solid rgba(11, 31, 58, 0.08);
}

.check-mark {
  font-weight: 700;
}

.check--ok .check-mark {
  color: var(--ok);
}

.check--fail .check-mark {
  color: var(--fail);
}

.check-body {
  display: flex;
  flex-direction: column;
}

.check-detail {
  color: var(--ink-muted);
  font-size: 0.9rem;
}

/* How it works --------------------------------------------------------- */

.how {
  margin-top: 2.5rem;
}

.how h2 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--navy-900);
  font-size: 1.5rem;
}

.how-list {
  padding-left: 1.1rem;
}

.how-list li {
  margin-bottom: 0.75rem;
}

.how-note {
  color: var(--ink-muted);
  font-size: 0.95rem;
}

/* Footer --------------------------------------------------------------- */

.site-footer {
  max-width: 760px;
  margin: 2rem auto 3rem;
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.footer-fine {
  font-size: 0.82rem;
  margin-bottom: 0;
}

@media (max-width: 520px) {
  .intro h1 {
    font-size: 1.8rem;
  }
  .meta-table th {
    width: 45%;
  }
}
