:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --panel: #ffffff;
  --text: #172033;
  --muted: #657089;
  --line: #dce3ef;
  --accent: #2364aa;
  --accent-strong: #174a82;
  --soft: #e8f1fb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.shell {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0;
}

.hero {
  padding: 40px 0 32px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.toolbar,
.file-card {
  display: grid;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 30px rgba(23, 32, 51, 0.06);
}

.toolbar {
  grid-template-columns: 1fr 1fr auto;
  padding: 18px;
}

.label {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 13px;
}

.button,
.file-card a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.button {
  padding: 0 18px;
}

.button:hover,
.file-card a:hover {
  background: var(--accent-strong);
}

.grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.file-card {
  grid-template-columns: 64px minmax(0, 1fr) 132px;
  padding: 18px;
}

.file-type {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--soft);
  color: var(--accent-strong);
  font-weight: 800;
}

h2 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.25;
}

.file-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.file-card a {
  padding: 0 16px;
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 24px, 1040px);
    padding: 28px 0;
  }

  .toolbar,
  .file-card {
    grid-template-columns: 1fr;
  }

  .button,
  .file-card a {
    width: 100%;
  }
}
