/* Fianchetto — fianchettochess.app
   Design system from the owner's draft: deep-green palette, fixed blur nav,
   card grid components. No frameworks, no external requests, no JavaScript.
   Dark-only by design (color-scheme pinned below). */

/* ─── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  color-scheme: dark;
  --green-deep:   #0F2E1D;
  --green-dark:   #1E5C3A;
  --green-mid:    #2A7A4E;
  --green-light:  #3D9966;
  --sq-light:     #F0D9B5;
  --sq-dark:      #B58863;
  --purple:       #8C5D88;
  --orange:       #E8853D;
  --maroon:       #9B2B22;
  --cream:        #F5EDD8;
  --text-primary: #F0EDE6;
  --text-secondary: #A8C4B0;
  --text-muted:   #6B9E7C;
  --border:       rgba(255,255,255,0.08);
  --card-bg:      rgba(255,255,255,0.04);
  --card-hover:   rgba(255,255,255,0.07);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  background: var(--green-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── Typography ────────────────────────────────────────────── */
h1, h2, h3 { line-height: 1.2; font-weight: 600; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -0.015em; }
h3 { font-size: 1.15rem; }
p  { color: var(--text-secondary); }

/* ─── Nav ───────────────────────────────────────────────────── */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  height: 64px;
  background: rgba(15, 46, 29, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text-primary);
}

.nav-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  object-fit: cover;
  display: block;
}

.nav-brand span { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  text-decoration: none; color: var(--text-secondary);
  font-size: 0.9rem; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }

/* CSS-only mobile menu (no JS on this site). Hidden on desktop; replaces the
   hidden .nav-links row below 768px so Docs/Privacy stay reachable on phones. */
.nav-menu { display: none; position: relative; }
.nav-menu summary {
  list-style: none; cursor: pointer;
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
  width: 40px; height: 40px; padding: 0 10px;
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--card-bg);
}
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary span {
  display: block; height: 2px; border-radius: 1px;
  background: var(--text-primary);
}
.nav-menu[open] summary { background: var(--card-hover); }
.nav-menu-panel {
  position: absolute; right: 0; top: 52px;
  display: flex; flex-direction: column; gap: 0.25rem;
  min-width: 180px; padding: 0.5rem;
  background: rgba(15, 46, 29, 0.97);
  border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
}
.nav-menu-panel a {
  text-decoration: none; color: var(--text-secondary);
  font-size: 0.95rem; font-weight: 500;
  padding: 0.55rem 0.75rem; border-radius: 8px;
}
.nav-menu-panel a:hover { color: var(--text-primary); background: var(--card-hover); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0.55rem 1.25rem;
  border-radius: 10px;
  font-size: 0.9rem; font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--green-mid);
  color: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.08) inset;
}
.btn-primary:hover {
  background: var(--green-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid rgba(255,255,255,0.2);
}
.btn-outline:hover {
  background: var(--card-hover);
  border-color: rgba(255,255,255,0.35);
}
.btn-large {
  padding: 0.85rem 2rem;
  font-size: 1rem;
  border-radius: 13px;
}

/* ─── Hero ──────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 8rem 1.5rem 5rem;
  position: relative;
  overflow: hidden;
}

/* Chessboard grid background */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(15,46,29,0.92) 0%, rgba(15,46,29,0.6) 40%, rgba(15,46,29,0.92) 100%),
    repeating-conic-gradient(
      rgba(176,136,99,0.12) 0% 25%,
      rgba(240,217,181,0.06) 25% 50%
    ) 0 0 / 80px 80px;
  z-index: 0;
}

/* Radial glow */
.hero::after {
  content: "";
  position: absolute;
  top: 20%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(ellipse, rgba(42,122,78,0.25) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; max-width: 780px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(42,122,78,0.2);
  border: 1px solid rgba(42,122,78,0.45);
  border-radius: 100px;
  padding: 0.35rem 1rem;
  font-size: 0.8rem; font-weight: 600;
  color: var(--green-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.8rem;
}

.hero-badge::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--green-light);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.4); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-badge::before { animation: none; }
  html { scroll-behavior: auto; }
}

.app-icon-large {
  width: 120px; height: 120px;
  border-radius: 28px;
  margin: 0 auto 2rem;
  display: block;
  object-fit: cover;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.08) inset;
}

.hero-wordmark {
  /* The app's SnellRoundhand wordmark, pre-rendered (the font is not
     web-licensed). White glyphs — the export for dark backgrounds. */
  width: min(360px, 80vw);
  height: auto;
  display: block;
  margin: 0 auto 1.4rem;
}

.hero h1 {
  margin-bottom: 1.2rem;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #F0D9B5 0%, #B58863 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}

.hero-ctas {
  display: flex; gap: 1rem;
  align-items: center; justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.platform-tags {
  display: flex; gap: 0.75rem;
  align-items: center; justify-content: center;
  flex-wrap: wrap;
}

.platform-tag {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.3rem 0.75rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-note {
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ─── Mockup ────────────────────────────────────────────────── */
.mockup-section {
  padding: 0 clamp(1rem, 5vw, 4rem) 6rem;
  max-width: 1100px;
  margin: 0 auto;
}

.app-window {
  background: linear-gradient(160deg, #1a3d28, #0d2419);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 40px 120px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05);
  overflow: hidden;
}

.window-chrome {
  height: 42px;
  background: rgba(0,0,0,0.25);
  display: flex; align-items: center;
  padding: 0 1.2rem;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red    { background: #FF5F57; }
.dot-yellow { background: #FFBD2E; }
.dot-green  { background: #28CA41; }

.window-content {
  display: grid;
  grid-template-columns: 1fr 280px;
  min-height: 420px;
}

/* Chess board — static markup, pieces are the app's Inkwell SVG set */
.board-area {
  padding: 1.8rem;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}

.chess-board {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  width: min(340px, 100%);
  aspect-ratio: 1;
  border: 3px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.sq { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; position: relative; }
.sq.light { background: var(--sq-light); }
.sq.dark  { background: var(--sq-dark); }
.sq img   { width: 84%; height: 84%; display: block; }

.sq.highlight-best::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(100, 200, 120, 0.35);
}
.sq.highlight-move::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(255, 210, 0, 0.35);
}

/* Analysis sidebar */
.analysis-sidebar {
  background: rgba(0,0,0,0.2);
  border-left: 1px solid rgba(255,255,255,0.06);
  padding: 1.2rem;
  display: flex; flex-direction: column; gap: 1rem;
}

.sidebar-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.eval-bar-wrap {
  background: rgba(0,0,0,0.3);
  border-radius: 6px;
  overflow: hidden;
  height: 8px;
}
.eval-bar {
  height: 100%;
  width: 62%;
  background: linear-gradient(90deg, var(--green-mid), var(--green-light));
  border-radius: 6px;
}

.eval-score {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.move-list {
  display: flex; flex-direction: column; gap: 4px;
  flex: 1;
}

.move-row {
  display: grid;
  grid-template-columns: 28px 1fr 1fr;
  gap: 4px;
  font-size: 0.78rem;
  padding: 3px 6px;
  border-radius: 5px;
}
.move-row:hover { background: rgba(255,255,255,0.04); }
.move-row.active { background: rgba(42,122,78,0.25); }
.move-num { color: var(--text-muted); }
.move-w, .move-b {
  padding: 2px 5px;
  border-radius: 4px;
  color: var(--text-primary);
  font-weight: 500;
}
.move-w.current { background: rgba(42,122,78,0.4); }

.annotation-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 0.3rem 0.7rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-blunder { background: rgba(155,43,34,0.25); color: #E07060; border: 1px solid rgba(155,43,34,0.4); }
.badge-best    { background: rgba(42,122,78,0.25); color: #6DC98A; border: 1px solid rgba(42,122,78,0.4); }
.badge-inaccuracy { background: rgba(200,150,0,0.2); color: #D4A820; border: 1px solid rgba(200,150,0,0.35); }

/* ─── Section Wrapper ───────────────────────────────────────── */
section { padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 4rem); }

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}
.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 0.8rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p { font-size: 1.05rem; line-height: 1.7; }

/* ─── Features Grid ─────────────────────────────────────────── */
#features { background: rgba(0,0,0,0.15); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5px;
  max-width: 1100px;
  margin: 0 auto;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.feature-card {
  background: var(--green-deep);
  padding: 2rem;
  transition: background 0.2s;
}
.feature-card:hover { background: #132818; }

.feature-icon {
  width: 44px; height: 44px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.1rem;
}
.feature-card h3 { margin-bottom: 0.5rem; }
.feature-card p  { font-size: 0.9rem; line-height: 1.65; }

/* ─── Engines Section ───────────────────────────────────────── */
#engines {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 0;
}

.engines-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.engine-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, background 0.2s;
}
.engine-card:hover {
  background: var(--card-hover);
  border-color: rgba(255,255,255,0.14);
}
.engine-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
}
.engine-card.stockfish::before { background: linear-gradient(90deg, var(--green-mid), transparent); }
.engine-card.maia::before      { background: linear-gradient(90deg, var(--purple), transparent); }
.engine-card.reckless::before  { background: linear-gradient(90deg, var(--orange), transparent); }

.engine-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.pill-stockfish {
  background: rgba(42,122,78,0.2);
  color: var(--green-light);
  border: 1px solid rgba(42,122,78,0.4);
}
.pill-maia {
  background: rgba(140,93,136,0.2);
  color: #C490C0;
  border: 1px solid rgba(140,93,136,0.4);
}
.pill-reckless {
  background: rgba(232,133,61,0.15);
  color: var(--orange);
  border: 1px solid rgba(232,133,61,0.4);
}

.engine-new {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--text-muted);
  vertical-align: middle;
}

.engine-card h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }
.engine-card p  { font-size: 0.93rem; line-height: 1.7; margin-bottom: 1.2rem; }

.engine-stat {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.engine-stat strong { color: var(--text-primary); }

/* ─── Import Section ────────────────────────────────────────── */
#import { background: rgba(0,0,0,0.15); }

.import-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.2rem;
  max-width: 900px;
  margin: 0 auto;
}

.import-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.8rem;
  text-align: center;
  transition: all 0.2s;
}
.import-card:hover {
  background: var(--card-hover);
  transform: translateY(-2px);
}

.import-logo {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
}
.import-card h3 { margin-bottom: 0.4rem; }
.import-card p  { font-size: 0.85rem; }

/* ─── Privacy Section ───────────────────────────────────────── */
.privacy-section {
  max-width: 1100px;
  margin: 0 auto;
}

.privacy-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.privacy-text h2 { margin-bottom: 1rem; }
.privacy-text p  { margin-bottom: 1.5rem; font-size: 1rem; line-height: 1.75; }

.privacy-points {
  display: flex; flex-direction: column; gap: 0.85rem;
}

.privacy-point {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.privacy-point-icon {
  width: 28px; height: 28px; flex-shrink: 0;
  background: rgba(42,122,78,0.15);
  border: 1px solid rgba(42,122,78,0.3);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  margin-top: 1px;
}

.privacy-cta { margin-top: 1.8rem; }

.privacy-visual {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
}
.privacy-icon-big { font-size: 5rem; margin-bottom: 1rem; }
.privacy-visual p { font-size: 0.9rem; }

/* ─── Specs ─────────────────────────────────────────────────── */
#specs { background: rgba(0,0,0,0.15); }

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
  max-width: 900px;
  margin: 0 auto;
}

.spec-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
}
.spec-card .spec-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.spec-num em {
  font-style: normal;
  color: var(--green-light);
}
.spec-card .spec-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ─── Centered prose sections (platforms, open source) ─────── */
.centered-section {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.centered-section h2 { margin-bottom: 1rem; }
.centered-section p  { font-size: 1rem; line-height: 1.75; margin-bottom: 1.25rem; }
.centered-section p:last-of-type { margin-bottom: 2rem; }

.gpl-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(42,122,78,0.15);
  border: 1.5px solid rgba(42,122,78,0.35);
  border-radius: 10px;
  padding: 0.7rem 1.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-light);
}

/* ─── Closing CTA ───────────────────────────────────────────── */
.closing-section {
  background: linear-gradient(160deg, #1A3D28 0%, #0F2E1D 100%);
  border-top: 1px solid var(--border);
  text-align: center;
  padding: clamp(5rem, 10vw, 8rem) 2rem;
  position: relative;
  overflow: hidden;
}
.closing-section::before {
  content: "♞";
  position: absolute;
  font-size: 30rem;
  opacity: 0.03;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  line-height: 1;
  pointer-events: none;
}

.closing-section h2 { margin-bottom: 1rem; }
.closing-section p  { font-size: 1.05rem; margin-bottom: 2.5rem; max-width: 480px; margin-left: auto; margin-right: auto; }

.closing-ctas {
  display: flex; gap: 1rem;
  align-items: center; justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.closing-fine { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0 !important; }

/* ─── Footer ────────────────────────────────────────────────── */
footer {
  padding: 2rem clamp(1.5rem, 5vw, 4rem) 2.5rem;
  border-top: 1px solid var(--border);
}

.footer-top {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-brand .nav-icon { width: 28px; height: 28px; border-radius: 7px; }
.footer-brand span { font-size: 0.85rem; color: var(--text-muted); }

.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-secondary); }

.footer-fine {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.footer-fine p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 72rem;
  margin: 0 0 0.85rem;
}
.footer-fine p:last-child { margin-bottom: 0; }
.footer-fine a { color: var(--text-secondary); }
.footer-fine a:hover { color: var(--text-primary); }

/* ─── Annotation legend ─────────────────────────────────────── */
.annotation-legend {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
}

/* ─── Subpages (privacy policy, 404) ────────────────────────── */
.page {
  max-width: 46rem;
  margin: 0 auto;
  padding: calc(64px + 3.5rem) 1.5rem 4.5rem;
}

.page h1 { font-size: clamp(2.2rem, 5vw, 3rem); margin-bottom: 0.75rem; }
.page h2 { font-size: 1.5rem; margin: 2.75rem 0 0.75rem; }
.page h3 { font-size: 1.1rem; margin: 1.75rem 0 0.5rem; color: var(--text-primary); }
.page p  { margin: 0.65rem 0; }
.page ul { padding-left: 1.35rem; color: var(--text-secondary); }
.page li { margin: 0.35rem 0; }
.page a  { color: var(--green-light); }
.page a:hover { color: #5FBD87; }
.page strong { color: var(--text-primary); }

.page .meta {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

.page code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.08em 0.35em;
  color: var(--text-primary);
}

.summary-card {
  background: var(--card-bg);
  border: 1px solid rgba(42,122,78,0.45);
  border-radius: 16px;
  padding: 1.4rem 1.6rem;
  margin: 1.75rem 0;
}
.summary-card h2 { margin: 0 0 0.6rem; font-size: 1.2rem; }
.summary-card ul { margin-bottom: 0; }

/* ─── 404 ───────────────────────────────────────────────────── */
.notfound {
  min-height: calc(100svh - 64px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: calc(64px + 3rem) 1.5rem 4rem;
}
.notfound h1 { font-size: clamp(4rem, 12vw, 7rem); }
.notfound .glyph { font-size: 4rem; line-height: 1; margin-bottom: 1rem; opacity: 0.5; }
.notfound p { margin: 0.75rem 0 2rem; font-size: 1.05rem; }

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links a:not(.btn) { display: none; }
  .nav-menu { display: block; }
  .window-content { grid-template-columns: 1fr; }
  .analysis-sidebar { display: none; }
  .engines-split { grid-template-columns: 1fr; }
  .import-grid { grid-template-columns: 1fr; }
  .privacy-layout { grid-template-columns: 1fr; }
  .privacy-visual { display: none; }
}
