/*
Theme Name: HRM Class Action
Theme URI: https://example.com/
Description: A simple document download website for the HRM Class Action.
Version: 1.0.0
Author: Codex
Text Domain: hrm-class-action
*/

:root {
  color-scheme: light;
  --ink: #1a242f;
  --muted: #596775;
  --paper: #f5f7fa;
  --panel: #ffffff;
  --navy: #14365d;
  --blue: #2267a9;
  --blue-soft: #e6f0fa;
  --gold: #b68a2b;
  --line: #d8e0e8;
  --shadow: 0 18px 45px rgba(20, 54, 93, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: var(--blue);
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(20px, 5vw, 72px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 72px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand,
.nav-links,
.document-card,
.site-footer a {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
}

.brand-mark {
  display: grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
}

.nav-links {
  display: inline-flex;
  gap: clamp(18px, 3vw, 34px);
  color: var(--muted);
  font-weight: 700;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--blue);
}

.hero {
  padding: clamp(60px, 10vw, 118px) clamp(20px, 5vw, 72px) clamp(42px, 6vw, 70px);
  background:
    linear-gradient(135deg, rgba(20, 54, 93, 0.95), rgba(34, 103, 169, 0.86)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.26), transparent 34%);
  color: #fff;
}

.hero-inner {
  width: min(920px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f1d58b;
}

h1,
h2 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 8vw, 6.6rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.intro {
  max-width: 780px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.1rem, 2vw, 1.36rem);
}

.case-caption {
  width: min(780px, 100%);
  margin-top: 28px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 26px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 45px rgba(8, 28, 52, 0.16);
}

.caption-court {
  margin: 0 0 18px;
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-align: center;
}

.caption-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.45fr);
  gap: 22px;
  align-items: center;
}

.caption-parties {
  border-right: 1px solid rgba(255, 255, 255, 0.34);
  padding-right: 22px;
}

.caption-parties p,
.caption-docket strong,
.caption-docket span {
  margin: 0;
}

.caption-parties p + p {
  margin-top: 12px;
}

.caption-parties span,
.caption-docket {
  color: rgba(255, 255, 255, 0.8);
}

.caption-docket {
  display: grid;
  gap: 6px;
}

.caption-docket strong {
  color: #fff;
}

.intro a {
  color: #fff;
  font-weight: 900;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.18em;
}

.document-section,
.info-section {
  padding: clamp(48px, 7vw, 88px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 24px;
}

.document-menu {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.document-card {
  display: flex;
  min-height: 142px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--panel);
  color: var(--ink);
  box-shadow: var(--shadow);
  transition:
    border-color 180ms ease,
    transform 180ms ease;
}

.document-card:hover {
  border-color: rgba(34, 103, 169, 0.42);
  transform: translateY(-2px);
}

.document-card strong,
.document-card small {
  display: block;
}

.document-card strong {
  font-size: 1.25rem;
}

.document-card small {
  margin-top: 6px;
  color: var(--muted);
  font-weight: 800;
}

.download-icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 900;
}

.info-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 560px);
  gap: clamp(22px, 5vw, 60px);
  align-items: start;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.info-section p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.site-footer {
  background: var(--navy);
  color: #fff;
}

.site-footer span {
  font-weight: 800;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 1100px) {
  .document-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .document-menu,
  .info-section,
  .caption-grid {
    grid-template-columns: 1fr;
  }

  .caption-parties {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.34);
    padding-right: 0;
    padding-bottom: 18px;
  }
}

@media (max-width: 560px) {
  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  h1 {
    font-size: clamp(2.8rem, 17vw, 4.5rem);
  }

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