
:root {
  --ink: #132033;
  --muted: #5c6b80;
  --line: #dbe4f0;
  --soft: #f5f8fc;
  --paper: #ffffff;
  --brand: #075ed8;
  --brand-dark: #0d2a5f;
  --brand-soft: #eef5ff;
  --gold: #f59e0b;
  --green: #1f7a53;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(7, 94, 216, 0.07), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
}
a { color: inherit; }
img { max-width: 100%; display: block; }

.shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.watermark {
  position: fixed;
  inset: 50% auto auto 50%;
  width: min(64vw, 660px);
  opacity: 0.025;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.layer {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: min(182px, 42vw);
  height: auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.nav a,
.nav .chip,
.button,
.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
}

.nav a {
  color: var(--muted);
  border-color: transparent;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--brand);
  background: var(--brand-soft);
  outline: none;
}

.nav .chip {
  color: var(--brand);
  background: var(--brand-soft);
  border-color: #c6daf8;
}

.hero,
.section,
.content-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: clamp(16px, 4vw, 48px);
  padding-right: clamp(16px, 4vw, 48px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 20px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1, h2, h3, p {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.05;
}

.lead {
  margin-top: 12px;
  max-width: 760px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.hero-panel {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-panel strong {
  display: block;
  margin-bottom: 4px;
  color: var(--brand-dark);
}

.section {
  padding-top: 8px;
  padding-bottom: 28px;
}

.section h2 {
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--brand);
  color: var(--brand-dark);
  font-size: 24px;
  line-height: 1.2;
}

.grid {
  display: grid;
  gap: 16px;
}

.cards {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.cards.tight {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.card,
.box,
.file-row,
.breadcrumb,
.summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.card {
  padding: 16px;
  text-decoration: none;
}

.card:hover,
.card:focus-visible {
  border-color: #b9d2f0;
  transform: translateY(-1px);
  outline: none;
}

.card .tag {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.card h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.25;
}

.card p,
.box p,
.summary p,
.file-row p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.grid-list {
  display: grid;
  gap: 10px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 10px 14px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumb a {
  color: var(--brand);
  text-decoration: none;
}

.summary {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 700;
}

.box {
  padding: 16px;
}

.file-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  text-decoration: none;
}

.file-row:hover,
.file-row:focus-visible {
  border-color: #b9d2f0;
  outline: none;
}

.file-row strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.button,
.ghost {
  width: fit-content;
  border-color: #bfd4ee;
}

.button {
  color: #fff;
  background: var(--brand);
}

.ghost {
  color: var(--brand);
  background: #f7fbff;
}

.footer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px clamp(16px, 4vw, 48px) 32px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .topbar {
    align-items: start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }
}
