:root {
  color-scheme: dark;
  --bg: #07111d;
  --bg-2: #0d1b2a;
  --panel: rgba(12, 24, 38, 0.76);
  --panel-strong: rgba(16, 31, 49, 0.92);
  --border: rgba(180, 210, 255, 0.16);
  --text: #edf4ff;
  --muted: #97aeca;
  --accent: #69d6c3;
  --accent-strong: #98f0e0;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(105, 214, 195, 0.22), transparent 30%),
    radial-gradient(circle at top right, rgba(120, 148, 255, 0.18), transparent 28%),
    linear-gradient(160deg, #04101b 0%, var(--bg) 48%, var(--bg-2) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 88%);
}

.page-shell {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 72px;
}

.hero {
  display: grid;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 28px;
}

.hero-copy,
.file-card,
.note-card {
  backdrop-filter: blur(18px);
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-copy {
  border-radius: 28px;
  padding: 34px 32px 30px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
.note-title {
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 4vw, 4.25rem);
  line-height: 0.98;
}

.lead {
  max-width: 62ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.file-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.file-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  min-height: 210px;
  border-radius: 26px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(14, 28, 45, 0.82), rgba(9, 18, 29, 0.9));
}

.file-type {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.file-card h2 {
  font-size: 1.45rem;
  line-height: 1.28;
}

.file-path {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
  word-break: break-all;
}

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: fit-content;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(105, 214, 195, 0.3);
  color: #04131d;
  background: linear-gradient(135deg, var(--accent), #b3fff0);
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    filter 160ms ease;
}

.download-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 28px rgba(105, 214, 195, 0.22);
  filter: brightness(1.02);
}

.download-button:focus-visible {
  outline: 3px solid rgba(179, 255, 240, 0.45);
  outline-offset: 3px;
}

.note-card {
  margin-top: 18px;
  border-radius: 26px;
  padding: 22px 24px;
  background: var(--panel-strong);
}

.note-title {
  margin-bottom: 8px;
  font-size: 1.18rem;
}

.note-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

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

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding: 20px 0 28px;
  }

  .hero-copy,
  .file-card,
  .note-card {
    border-radius: 22px;
  }

  .hero-copy,
  .file-card,
  .note-card {
    padding-left: 18px;
    padding-right: 18px;
  }

  .file-card {
    min-height: 196px;
  }

  h1 {
    font-size: clamp(2.1rem, 11vw, 3.2rem);
  }
}
