/* Extracted from methods.html. */
:root {
  --ink: #16201d;
  --muted: #61706b;
  --soft: #eef3f1;
  --paper: #fbfcfb;
  --line: #d5dedb;
  --panel: #ffffff;
  --accent: #1f6b5b;
  --accent-strong: #144d43;
  --accent-soft: #dbeee9;
  --dark: #111a18;
  --dark-2: #1a2825;
  --teal: #3ecfad;
  --radius: 8px;
  --max: 860px;
  font-family: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; overflow-wrap: anywhere; }

.skip-link {
  position: absolute; top: 12px; left: 12px; z-index: 20;
  padding: 8px 12px; border-radius: var(--radius);
  background: var(--ink); color: #fff;
  opacity: 0; transform: translateY(-10px);
  transition: opacity 160ms ease, transform 160ms ease;
}
.skip-link:focus { opacity: 1; transform: translateY(0); }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px clamp(18px, 4vw, 44px);
  border-bottom: 1px solid rgba(213, 222, 219, 0.5);
  background: rgba(17, 26, 24, 0.92);
  backdrop-filter: blur(18px);
}

.brand-lockup {
  display: flex; align-items: center; gap: 12px;
  min-width: 0; color: #fff;
}

.brand-mark {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--accent-strong);
  flex-shrink: 0;
}

.brand-name { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; color: #fff; margin: 0; }
.brand-subtitle { color: rgba(255,255,255,0.45); font-size: 0.75rem; margin: 0; }

.header-right { display: flex; align-items: center; gap: 20px; }

.top-nav {
  display: flex; flex-wrap: wrap; gap: 20px;
  font-size: 0.88rem; font-weight: 500;
}
.top-nav a {
  color: rgba(255,255,255,0.6);
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: color 120ms;
}
.top-nav a:hover { color: var(--teal); }
.top-nav a[aria-current="page"] { color: var(--teal); border-bottom-color: var(--teal); }

.btn-login {
  display: inline-flex; align-items: center;
  padding: 7px 16px;
  border-radius: var(--radius);
  border: 1.5px solid rgba(255,255,255,0.2);
  background: transparent;
  color: rgba(255,255,255,0.8);
  font-family: inherit; font-size: 0.85rem; font-weight: 500;
  cursor: pointer; white-space: nowrap;
  transition: border-color 120ms, color 120ms;
  text-decoration: none;
}
.btn-login:hover { border-color: var(--teal); color: var(--teal); }

/* layout */
.page-inner {
  width: min(var(--max), calc(100vw - 32px));
  margin-inline: auto;
  padding: clamp(48px, 7vw, 80px) 0 clamp(64px, 8vw, 100px);
}

/* page header */
.page-hero {
  padding-bottom: clamp(40px, 5vw, 60px);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(40px, 5vw, 60px);
}

.eyebrow {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 14px;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600; letter-spacing: -0.025em;
  color: var(--ink); line-height: 1.08;
  margin-bottom: 20px;
}

.page-hero p {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.05rem; color: var(--muted);
  max-width: 640px; line-height: 1.75;
}

/* toc */
.toc {
  background: var(--soft);
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: clamp(40px, 5vw, 60px);
}

.toc-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 12px;
}

.toc ol {
  margin: 0; padding: 0 0 0 18px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 4px 24px;
}

.toc li { font-size: 0.88rem; }
.toc a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.toc a:hover { color: var(--accent-strong); }

/* sections */
.method-section {
  padding-bottom: clamp(36px, 4vw, 52px);
  margin-bottom: clamp(36px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
}
.method-section:last-child { border-bottom: none; margin-bottom: 0; }

.section-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: 10px;
}

.method-section h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 600; letter-spacing: -0.02em;
  color: var(--ink); line-height: 1.2;
  margin-bottom: 16px;
}

.method-section p {
  font-family: 'Lora', Georgia, serif;
  font-size: 0.97rem; color: var(--ink);
  line-height: 1.8; margin-bottom: 16px;
}

.method-section p:last-child { margin-bottom: 0; }

.method-section p.muted {
  color: var(--muted);
}

.upload-requirements {
  scroll-margin-top: 86px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.requirement-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.requirement-card h3 {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--accent-strong);
  margin-bottom: 10px;
}

.requirement-card ul {
  margin: 0;
  padding-left: 18px;
}

.requirement-card li {
  margin-bottom: 7px;
  color: var(--ink);
  font-family: 'Lora', Georgia, serif;
  font-size: 0.88rem;
  line-height: 1.55;
}

.requirement-card li:last-child {
  margin-bottom: 0;
}

/* pipeline steps */
.pipeline {
  margin: 28px 0;
  display: flex; flex-direction: column; gap: 0;
}

.pipeline-step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0 16px;
  padding-bottom: 28px;
  position: relative;
}

.pipeline-step:last-child { padding-bottom: 0; }

.step-marker {
  display: flex; flex-direction: column; align-items: center;
}

.step-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent-strong); color: #fff;
  font-size: 0.75rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.step-line {
  width: 1px; flex: 1; min-height: 16px;
  background: var(--line);
  margin-top: 4px;
}

.pipeline-step:last-child .step-line { display: none; }

.step-body { padding-top: 4px; }

.step-body h3 {
  font-size: 0.97rem; font-weight: 600;
  color: var(--ink); margin-bottom: 6px;
}

.step-body p {
  font-family: 'Lora', Georgia, serif;
  font-size: 0.9rem; color: var(--muted);
  line-height: 1.75; margin: 0;
}

/* status table */
.status-grid {
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.status-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  border-bottom: 1px solid var(--line);
}

.status-row:last-child { border-bottom: none; }

.status-pill-cell {
  padding: 14px 16px;
  display: flex; align-items: flex-start;
  border-right: 1px solid var(--line);
  background: var(--soft);
}

.status-pill {
  display: inline-block;
  padding: 3px 10px; border-radius: 999px;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  white-space: nowrap;
}

.status-pill.verified { background: rgba(62,207,173,0.15); color: var(--accent-strong); }
.status-pill.weak { background: rgba(255,200,80,0.15); color: #7a5800; }
.status-pill.unsupported { background: rgba(220,80,70,0.1); color: #8c2c24; }
.status-pill.not-found { background: rgba(97,112,107,0.12); color: var(--muted); }

.status-desc {
  padding: 14px 16px;
  font-family: 'Lora', Georgia, serif;
  font-size: 0.88rem; color: var(--ink);
  line-height: 1.7;
}

/* callout */
.callout {
  margin: 24px 0;
  padding: 18px 20px;
  border-radius: 10px;
  border-left: 3px solid var(--teal);
  background: var(--accent-soft);
}

.callout p {
  font-family: 'Lora', Georgia, serif;
  font-size: 0.92rem; color: var(--ink);
  line-height: 1.75; margin: 0;
}

.disclaimer-callout {
  border-left-color: #8a5d14;
  background: #fff1d6;
}

.method-extra-note { margin-top: 20px; }

/* footer */
.site-footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px clamp(18px, 4vw, 44px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
}
.site-footer p { font-size: 0.8rem; color: rgba(255,255,255,0.3); margin: 0; }
.site-footer a { color: rgba(255,255,255,0.4); font-size: 0.8rem; }
.site-footer a:hover { color: var(--teal); }

/* cta band */
.cta-band {
  background: var(--dark-2);
  padding: clamp(48px, 6vw, 72px) clamp(18px, 4vw, 44px);
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 600; letter-spacing: -0.02em;
  color: #fff; line-height: 1.1; margin-bottom: 14px;
}

.cta-band p {
  font-family: 'Lora', Georgia, serif;
  font-size: 0.97rem; color: rgba(255,255,255,0.55);
  max-width: 480px; margin: 0 auto 28px; line-height: 1.75;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: var(--radius);
  background: var(--teal); color: var(--dark);
  font-family: inherit; font-size: 0.92rem; font-weight: 600;
  border: none; cursor: pointer; text-decoration: none;
  transition: background 120ms;
}
.btn-primary:hover { background: #50deba; }

@media (max-width: 600px) {
  .toc ol { grid-template-columns: 1fr; }
  .upload-requirements { grid-template-columns: 1fr; }
  .status-row { grid-template-columns: 1fr; }
  .status-pill-cell { border-right: none; border-bottom: 1px solid var(--line); }
}
