:root {
  --bg: #f3f6fb;
  --bg-soft: #e9eef6;
  --surface: #ffffff;
  --surface-alt: #f7f9fc;
  --ink: #0f1f33;
  --ink-soft: #4d5b6d;
  --line: #d7e0ea;
  --line-strong: #b9c8d9;
  --navy: #102a43;
  --navy-deep: #081a2b;
  --navy-soft: #163a5c;
  --accent: #cc092f;
  --accent-deep: #9f0624;
  --shadow: 0 18px 48px rgba(16, 42, 67, 0.1);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #edf2f8 0, #edf2f8 120px, var(--bg) 120px, var(--bg) 100%);
}

a {
  color: inherit;
}

.site-header {
  background: var(--navy-deep);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header-inner,
.page-shell {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

.site-header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(180deg, #d50b33 0%, #af0829 100%);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.brand-label {
  margin: 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.74);
}

.brand-name {
  margin: 3px 0 0;
  font-size: 1.02rem;
  font-weight: 700;
}

.header-meta {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
}

.page-shell {
  padding: 32px 0 72px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 42px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 46%),
    linear-gradient(140deg, var(--navy) 0%, var(--navy-soft) 58%, #1e4c78 100%);
  color: #fff;
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -40px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 68%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr);
  gap: 28px;
  align-items: end;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

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

h1 {
  max-width: 12ch;
  margin-bottom: 18px;
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.intro {
  max-width: 60ch;
  margin-bottom: 0;
  font-size: 1.03rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.8);
}

.hero-panel {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(7, 23, 37, 0.22);
  backdrop-filter: blur(8px);
}

.hero-panel-title {
  margin-bottom: 12px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
}

.hero-panel-value {
  margin-bottom: 10px;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero-panel-note {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.6;
}

.content {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr);
  gap: 24px;
  margin-top: 24px;
  align-items: start;
}

.card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.downloads-card {
  position: relative;
}

.downloads-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  background: linear-gradient(180deg, var(--accent) 0%, #e64f62 100%);
}

.section-label {
  color: var(--accent);
}

.section-heading {
  margin-bottom: 18px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.section-copy {
  margin: 14px 0 0;
  max-width: 62ch;
  color: var(--ink-soft);
  line-height: 1.68;
}

.download-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.download-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-decoration: none;
  background: linear-gradient(180deg, #fff 0%, var(--surface-alt) 100%);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.download-item:hover,
.download-item:focus-visible {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 12px 28px rgba(16, 42, 67, 0.1);
}

.download-item[aria-disabled="true"] {
  cursor: default;
}

.download-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #eaf1f8;
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.download-main {
  min-width: 0;
}

.file-name {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
}

.file-description {
  display: block;
  margin-top: 4px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.file-meta {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-deep);
  white-space: nowrap;
}

.sidebar {
  display: grid;
  gap: 24px;
}

.note-card,
.support-card {
  background: var(--surface);
}

.note-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.note-list li {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  line-height: 1.6;
}

.note-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.note-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.support-card h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
  letter-spacing: -0.03em;
}

.support-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

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

  h1 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .site-header-inner,
  .page-shell {
    width: min(100% - 20px, var(--max-width));
  }

  .site-header-inner {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .page-shell {
    padding-top: 20px;
  }

  .hero,
  .card {
    padding: 22px;
  }

  .download-item {
    grid-template-columns: 1fr;
  }

  .file-meta {
    white-space: normal;
  }
}
