/* ============================================================================
   DESIGN TOKENS
   ============================================================================ */
:root {
  --bg-card:      rgba(23, 23, 23, 0.95);
  --bg-inset:     rgba(17, 24, 39, 0.8);
  --border:       rgba(55, 65, 81, 0.3);
  --border-strong:rgba(55, 65, 81, 0.4);
  --heading:      #fafafa;
  --text:         #d1d5db;
  --text-soft:    #e5e7eb;
  --text-muted:   #9ca3af;
  --text-dim:     #6b7280;
  --accent:       #60a5fa;
  --accent-light: #93c5fd;
}

/* ============================================================================
   FONTS (self-hosted Inter — css/fonts/)
   ============================================================================ */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-v20-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-v20-latin-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/inter-v20-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-v20-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/inter-v20-latin-700.woff2') format('woff2');
}

/* ============================================================================
   RESET & BASE
   ============================================================================ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-soft);
  background: linear-gradient(135deg, #0a0a0a 0%, #000000 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  padding-top: 60px;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--accent);
}

/* ============================================================================
   FLOATING NAVIGATION
   ============================================================================ */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.98);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.nav-logo {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--heading);
  letter-spacing: -0.02em;
}
.nav-logo:hover {
  color: var(--accent);
}
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
}
.nav-links a:hover {
  color: var(--accent);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.nav-links a:hover::after {
  transform: scaleX(1);
}

/* ============================================================================
   ARTICLE CONTAINER
   ============================================================================ */
article {
  max-width: 1100px;
  margin: 1.5rem auto 4rem;
  padding: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

/* ============================================================================
   ARTICLE HEADER
   ============================================================================ */
.article-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.article-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
  color: var(--heading);
}
.article-meta {
  color: var(--text-muted);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.meta-separator {
  opacity: 0.5;
}
.meta-date {
  font-feature-settings: 'tnum';
}
.meta-reading-time {
  color: var(--text-muted);
}
.meta-author {
  color: var(--text);
}
.meta-category {
  color: var(--accent);
  font-weight: 500;
}

/* ============================================================================
   TYPOGRAPHY
   ============================================================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin: 2.5rem 0 1rem 0;
  letter-spacing: -0.02em;
  color: var(--heading);
}
h2 {
  font-size: 1.75rem;
  border-bottom: 2px solid;
  border-image: linear-gradient(90deg, rgba(96, 165, 250, 0.4) 0%, rgba(96, 165, 250, 0.1) 100%) 1;
  padding-bottom: 0.75rem;
  margin: 2.5rem 0 1.25rem 0;
}
h3 { font-size: 1.4rem; }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.05rem; }
h6 {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
p {
  margin-bottom: 1.5rem;
  color: var(--text);
  line-height: 1.6;
  font-size: 1.0625rem;
}
strong {
  font-weight: 600;
  color: var(--heading);
}
em {
  font-style: italic;
  color: var(--text-soft);
}
mark {
  background: rgba(59, 130, 246, 0.15);
  color: var(--accent-light);
  padding: 0.15em 0.35em;
  border-radius: 3px;
}
code {
  font-family: 'JetBrains Mono', 'Menlo', monospace;
  background: var(--bg-inset);
  border: 1px solid var(--border-strong);
  padding: 0.2em 0.45em;
  border-radius: 3px;
  font-size: 0.9em;
  color: var(--accent-light);
}
pre {
  background: var(--bg-inset);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  padding: 1.5rem;
  margin: 1.75rem 0;
  overflow-x: auto;
}
pre code {
  background: none;
  border: none;
  padding: 0;
  color: var(--text);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ============================================================================
   LISTS
   ============================================================================ */
ul, ol {
  margin: 1.5rem 0 1.5rem 2rem;
  color: var(--text);
}
li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
  font-size: 1.0625rem;
}
li::marker {
  color: var(--accent);
}

/* ============================================================================
   BLOCKQUOTE
   ============================================================================ */
blockquote {
  margin: 2rem 0;
  padding: 1.5rem 1.75rem;
  background: rgba(59, 130, 246, 0.04);
  border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: var(--text);
}
blockquote p {
  font-size: 1.05rem;
  line-height: 1.6;
}
blockquote p:last-child {
  margin-bottom: 0;
}
blockquote cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-style: normal;
  color: var(--text-muted);
}
blockquote cite::before {
  content: "— ";
}

/* ============================================================================
   CALLOUTS
   ============================================================================ */
.callout {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border-radius: 6px;
  border-left: 3px solid;
}
.callout-info    { background: rgba(59, 130, 246, 0.08); border-color: var(--accent); }
.callout-warning { background: rgba(251, 191, 36, 0.08); border-color: #fbbf24; }
.callout-success { background: rgba(16, 185, 129, 0.08); border-color: #10b981; }
.callout-danger  { background: rgba(239, 68, 68, 0.08);  border-color: #ef4444; }
.callout-title {
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.callout-info .callout-title    { color: var(--accent-light); }
.callout-warning .callout-title { color: #fcd34d; }
.callout-success .callout-title { color: #6ee7b7; }
.callout-danger .callout-title  { color: #fca5a5; }
.callout p {
  color: var(--text);
  line-height: 1.6;
}

/* ============================================================================
   TABLES
   ============================================================================ */
table {
  width: 100%;
  margin: 2rem 0;
  border-collapse: collapse;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  overflow: hidden;
  background: rgba(17, 24, 39, 0.6);
  font-size: 0.9375rem;
}
thead {
  background: rgba(31, 41, 55, 0.8);
}
th {
  padding: 0.875rem 1rem;
  text-align: left;
  font-weight: 600;
  border-bottom: 1px solid rgba(59, 130, 246, 0.3);
  color: var(--heading);
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}
td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
tr:last-child td {
  border-bottom: none;
}
tbody tr:hover {
  background: rgba(55, 65, 81, 0.15);
}
th:last-child,
td:last-child {
  text-align: right;
}

/* ============================================================================
   HORIZONTAL RULE
   ============================================================================ */
hr {
  margin: 3rem 0;
  border: none;
  border-top: 1px solid var(--border);
}
.footer-rule {
  margin: 2.5rem 0;
  opacity: 0.3;
}

/* ============================================================================
   IMAGES
   ============================================================================ */
img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 2rem 0;
  border: 1px solid var(--border-strong);
}
.image-placeholder {
  text-align: center;
  color: var(--text-dim);
  font-style: italic;
  padding: 3rem 2rem;
  background: rgba(17, 24, 39, 0.6);
  border-radius: 6px;
  border: 1px solid var(--border);
  margin: 2rem 0 0.75rem;
  font-size: 0.9375rem;
}
.img-caption {
  display: block;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  margin-bottom: 2rem;
  font-style: italic;
}

/* ============================================================================
   SEAL (404 / footer brand mark)
   ============================================================================ */
.footer-seal {
  display: block;
  width: 180px;
  height: 180px;
  margin: 0 auto 1.75rem;
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none;
  opacity: 0.95;
}
.not-found-seal {
  margin-top: 3rem;
}
.not-found-seal img {
  width: 120px;
  height: auto;
  margin: 0 auto;
  border: none;
  border-radius: 0;
  opacity: 0.4;
}

/* ============================================================================
   FEATURED IN (auto-scrolling logo strip)
   ============================================================================ */
.featured-in {
  padding: 2.5rem 0 1rem;
}
.featured-in-label {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}
.featured-in-viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.featured-in-track {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: max-content;
  padding-right: 4rem;
  list-style: none;
  animation: featured-scroll 40s linear infinite;
}
.featured-in-track:hover {
  animation-play-state: paused;
}
.featured-in-track img {
  height: 30px;
  width: auto;
  margin: 0;
  border: none;
  border-radius: 0;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  display: block;
}
.featured-in-track li:hover img {
  opacity: 1;
}
@keyframes featured-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .featured-in-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
    padding-right: 0;
    row-gap: 1.5rem;
  }
  .featured-in-viewport {
    -webkit-mask-image: none;
            mask-image: none;
  }
}

/* ============================================================================
   FOOTER
   ============================================================================ */
footer {
  text-align: center;
  padding: 3rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
footer p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}
footer nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.875rem;
}
footer nav span {
  color: var(--text-dim);
}
footer a {
  color: var(--text-muted);
}
footer a:hover {
  color: var(--accent);
}

/* ============================================================================
   FOOTER DISCLAIMER
   ============================================================================ */
.footer-disclaimer {
  max-width: 1100px;
  margin: 0 auto 2rem;
  padding: 2rem;
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 6px;
  text-align: left;
}
.footer-disclaimer h4 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fca5a5;
  margin: 0 0 1rem 0;
}
.footer-disclaimer p {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 0.875rem;
}
.footer-disclaimer p:last-child {
  margin-bottom: 0;
}
.footer-disclaimer strong {
  color: var(--heading);
  font-weight: 600;
}
.footer-disclaimer-consult {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(239, 68, 68, 0.15);
  margin-top: 1rem !important;
}

/* ============================================================================
   COMING SOON PAGE
   ============================================================================ */
.coming-soon-container {
  max-width: 600px;
  margin: 8rem auto;
  padding: 3rem 2rem;
  text-align: center;
}
.coming-soon-title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 0.75rem;
}
.coming-soon-message {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}
.coming-soon-link {
  color: var(--accent);
  font-weight: 500;
}
.coming-soon-link:hover {
  text-decoration: underline;
}

/* ============================================================================
   HOME PAGE
   ============================================================================ */
.home-wrap {
  max-width: 760px;
  margin: 6rem auto 4rem;
  padding: 0 2rem;
}
.home-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--heading);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.home-def {
  font-size: 1.0625rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 3rem;
  max-width: 640px;
}
.process-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1rem;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}
.process-box {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  padding: 1.5rem;
}
.process-num {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.process-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 0.4rem;
}
.process-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.home-cta {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--accent);
}
.home-cta:hover {
  color: var(--accent-light);
}

/* ============================================================================
   LATEST RESEARCH BOX
   ============================================================================ */
.latest-research-box {
  margin: 2.5rem auto;
  max-width: 640px;
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-card);
  text-align: left;
}
.latest-research-label {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.latest-research-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--heading);
}
.latest-research-title:hover {
  text-decoration: underline;
}
.latest-research-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.latest-research-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.latest-research-ticker {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(96, 165, 250, 0.12);
  color: var(--accent-light);
  letter-spacing: 0.02em;
}
.latest-research-error {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.latest-research-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.latest-research-item {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
}
.latest-research-item:last-child {
  border-bottom: none;
}

/* ============================================================================
   CREDIBILITY SUBLINE
   ============================================================================ */
.credibility-line {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
  border-left: 2px solid var(--accent);
  padding-left: 1rem;
  margin: -1.5rem 0 3rem;
  max-width: 640px;
}

/* ============================================================================
   OPEN THESES TRACKER
   ============================================================================ */
.theses {
  margin-bottom: 3rem;
}
.theses-head {
  margin-bottom: 1rem;
}
.theses-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-top: 0.35rem;
}
.theses-scroll {
  overflow-x: auto;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: rgba(17, 24, 39, 0.6);
}
.theses-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 0;
  border: none;
  min-width: 560px;
}
.theses-table thead {
  background: rgba(31, 41, 55, 0.8);
}
.theses-table th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(96, 165, 250, 0.25);
}
.theses-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: middle;
}
.theses-table tbody tr:last-child td {
  border-bottom: none;
}
.theses-table tbody tr:hover {
  background: rgba(55, 65, 81, 0.15);
}
.t-ticker {
  font-weight: 700;
  color: var(--heading);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.t-date {
  color: var(--text-muted);
  white-space: nowrap;
  font-feature-settings: 'tnum';
}
.t-dir {
  font-weight: 600;
  white-space: nowrap;
}
.t-long  { color: #6ee7b7; }
.t-short { color: #fca5a5; }
.t-status {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  letter-spacing: 0.03em;
}
.t-open   { background: rgba(96, 165, 250, 0.12); color: var(--accent-light); }
.t-hit    { background: rgba(16, 185, 129, 0.14); color: #6ee7b7; }
.t-miss   { background: rgba(239, 68, 68, 0.14);  color: #fca5a5; }
.t-closed { background: rgba(107, 114, 128, 0.18); color: var(--text-muted); }
.theses-note {
  font-size: 0.8125rem;
  color: var(--text-dim);
  margin-top: 0.85rem;
}

/* ============================================================================
   EMAIL CAPTURE
   ============================================================================ */
.capture {
  position: relative;
  overflow: hidden;
  margin: 3rem 0;
  padding: 2.25rem 2.25rem 2rem;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--bg-card);
  isolation: isolate;
  transition: border-color 0.3s ease;
}
.capture:hover {
  border-color: rgba(96, 165, 250, 0.35);
}
.capture::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -60px;
  width: 320px;
  height: 260px;
  z-index: -1;
  opacity: 0.5;
  background-image:
    radial-gradient(circle 3px at 20% 30%, rgba(96, 165, 250, 0.55) 98%, transparent),
    radial-gradient(circle 3px at 45% 15%, rgba(96, 165, 250, 0.4) 98%, transparent),
    radial-gradient(circle 3px at 45% 55%, rgba(96, 165, 250, 0.4) 98%, transparent),
    radial-gradient(circle 4px at 72% 8%,  rgba(96, 165, 250, 0.3) 98%, transparent),
    radial-gradient(circle 4px at 72% 38%, rgba(96, 165, 250, 0.3) 98%, transparent),
    radial-gradient(circle 4px at 72% 68%, rgba(96, 165, 250, 0.3) 98%, transparent),
    linear-gradient(20deg,  transparent 49.4%, rgba(96,165,250,0.28) 49.4%, rgba(96,165,250,0.28) 50.2%, transparent 50.2%),
    linear-gradient(160deg, transparent 49.4%, rgba(96,165,250,0.28) 49.4%, rgba(96,165,250,0.28) 50.2%, transparent 50.2%);
  background-repeat: no-repeat;
  mask-image: radial-gradient(circle at 65% 30%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 65% 30%, #000 0%, transparent 72%);
}
.capture-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'JetBrains Mono', 'Menlo', monospace;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.25);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  margin-bottom: 1rem;
}
.capture-kicker::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-light);
}
.capture-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--heading);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 0.65rem;
  border: none;
  padding: 0;
  max-width: 26ch;
}
.capture-copy {
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 460px;
}
.capture-form {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  max-width: 480px;
}
.capture-input {
  flex: 1 1 240px;
  min-width: 0;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--text-soft);
  background: var(--bg-inset);
  border: 1px solid var(--border-strong);
  border-radius: 7px;
  padding: 0.75rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.capture-input::placeholder {
  color: var(--text-dim);
}
.capture-input:hover {
  border-color: rgba(255, 255, 255, 0.18);
}
.capture-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.15);
}
.capture-btn {
  display: inline-flex;
  align-items: center;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0a0a0a;
  background: var(--accent);
  border: none;
  border-radius: 7px;
  padding: 0.75rem 1.35rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.capture-btn:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(96, 165, 250, 0.25);
}
.capture-btn:active {
  transform: translateY(0);
}
.capture-btn:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
  box-shadow: none;
}
.capture-status {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.85rem;
  min-height: 1.2em;
}
.capture-status--ok  { color: #6ee7b7; }
.capture-status--err { color: #fca5a5; }
.capture-fine {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  line-height: 1.5;
  max-width: 460px;
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 768px) {
  html, body {
    font-size: 16px;
  }
  .nav-container {
    padding: 0 1.5rem;
  }
  .nav-links {
    gap: 1.5rem;
  }
  .nav-links a {
    font-size: 0.875rem;
  }
  article {
    padding: 2rem 1.5rem;
    margin: 1.5rem 1rem 2rem;
  }
  .article-title {
    font-size: 1.875rem;
  }
  .article-meta {
    font-size: 0.8125rem;
  }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  pre { padding: 1.25rem; }
  table { font-size: 0.875rem; }
  th, td { padding: 0.75rem; }
  footer { padding: 2.5rem 1.25rem; }
  .footer-disclaimer { padding: 1.5rem; }
  .footer-disclaimer p { font-size: 0.75rem; }
  .featured-in-track { gap: 2.75rem; }
  .featured-in-track img { height: 26px; }
  .capture {
    padding: 1.75rem 1.5rem;
  }
  .capture::before {
    opacity: 0.28;
    width: 220px;
    height: 180px;
    top: -30px;
    right: -50px;
  }
  .capture-title {
    max-width: none;
  }
  .capture-btn {
    flex: 1 1 100%;
    justify-content: center;
  }
  .footer-seal {
    width: 130px;
    height: 130px;
  }
}
@media (max-width: 540px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .nav-links {
    gap: 1rem;
  }
  .nav-links a {
    font-size: 0.8125rem;
  }
  .nav-links a::after {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .capture,
  .capture-btn,
  .capture-input {
    transition: none;
  }
}
