:root {
  --bg: #050505;
  --bg-soft: #0b0b0b;
  --panel: #111111;
  --panel-soft: #151515;
  --text: #f2f2f2;
  --text-muted: #a7a7a7;
  --text-soft: #d0d0d0;
  --line: #2a2a2a;
  --red: #b00020;
  --red-bright: #e1062c;
  --red-dark: #5c0010;
  --white: #ffffff;
  --max: 1120px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  background:
    radial-gradient(circle at 55% 0%, rgba(176, 0, 32, 0.13), transparent 32rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 22rem),
    var(--bg);
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-180%);
  background: var(--white);
  color: var(--bg);
  padding: 0.65rem 0.85rem;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 5, 5, 0.84);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 50%;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.site-nav a {
  position: relative;
  padding: 0.55rem 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.2rem;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--red-bright);
  transition: transform 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: var(--text);
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
}

.section {
  padding: clamp(4rem, 8vw, 7.5rem) 0;
}

.section-divided {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.012);
}

.hero {
  min-height: calc(100svh - 74px);
  display: flex;
  align-items: center;
  padding-top: clamp(3rem, 8vw, 7rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.hero-logo {
  width: min(540px, 100%);
  margin: 0 0 1.2rem;
}

.red-line {
  width: min(420px, 72vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red-bright), var(--red-dark), transparent);
  margin: 0 0 2rem;
}

.eyebrow,
.category {
  margin: 0 0 0.8rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
}

h1 {
  max-width: 760px;
  margin-bottom: 1.15rem;
  font-size: clamp(2.35rem, 6vw, 5.4rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.65rem);
}

h3 {
  margin-bottom: 0.75rem;
  color: var(--white);
  font-size: 1.08rem;
  line-height: 1.25;
}

p {
  color: var(--text-soft);
}

.lead {
  max-width: 670px;
  color: var(--text);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  font-weight: 700;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(225, 6, 44, 0.55);
}

.button-primary {
  background: var(--white);
  color: var(--bg);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.035);
  color: var(--white);
}

.button-disabled {
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-muted);
  cursor: not-allowed;
}

.hero-panel,
.card,
.quote-card,
.newsletter-inner {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
}

.hero-panel {
  padding: clamp(1rem, 3vw, 1.5rem);
}

.hero-panel img {
  margin-bottom: 1.2rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading.compact {
  max-width: 650px;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.2rem, 4vw, 3rem);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.topics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dossiers {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  min-height: 100%;
  padding: 1.35rem;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.card:hover {
  border-color: rgba(225, 6, 44, 0.45);
  transform: translateY(-2px);
}

.method-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  margin: 2rem 0;
  padding: 0;
  border-top: 1px solid var(--red-dark);
}

.method-list li {
  position: relative;
  min-height: 142px;
  padding: 1.35rem 0.85rem 0 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-soft);
  font-size: 0.95rem;
}

.method-list li::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red-bright);
}

.method-list span {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.quote-panel {
  margin: 2rem 0 0;
  padding: 1.3rem 1.5rem;
  border-left: 2px solid var(--red-bright);
  background: rgba(255, 255, 255, 0.035);
}

.quote-panel p {
  margin: 0;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.25;
}

.dossier-card {
  display: flex;
  flex-direction: column;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  padding-top: 1rem;
  color: var(--white);
  font-weight: 700;
}

.text-link::after {
  content: "";
  width: 2.3rem;
  height: 1px;
  align-self: center;
  margin-left: 0.65rem;
  background: var(--red-bright);
}

.text-link.disabled {
  color: var(--text-muted);
  cursor: not-allowed;
}

.sharp-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1fr);
  gap: clamp(1.5rem, 6vw, 4rem);
  align-items: center;
}

.quote-card {
  margin: 0;
  padding: clamp(1.5rem, 4vw, 2.8rem);
  border-left: 2px solid var(--red-bright);
}

.quote-card blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4vw, 3.25rem);
  line-height: 1.1;
}

.quote-card figcaption {
  margin-top: 1.1rem;
  color: var(--text-muted);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.85rem;
}

.social-grid a,
.social-grid .social-disabled {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--white);
  font-weight: 700;
  transition: border-color 160ms ease, transform 160ms ease;
}

.social-grid a:hover {
  transform: translateY(-2px);
  border-color: rgba(225, 6, 44, 0.55);
}

.social-grid .social-disabled {
  color: var(--text-muted);
  cursor: not-allowed;
}

.newsletter {
  padding-top: 0;
}

.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.35rem, 4vw, 2.4rem);
}

.newsletter-inner p {
  max-width: 650px;
  margin-bottom: 0;
}

.contact {
  padding-top: 0;
}

.contact-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 3rem;
}

.contact-mail {
  color: var(--white);
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 700;
  border-bottom: 1px solid var(--red-bright);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem 0;
  background: var(--bg-soft);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-inner p {
  margin-bottom: 0.35rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-inner nav {
  display: flex;
  gap: 1rem;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.legal-page {
  min-height: 100svh;
}

.legal-main {
  padding: 6rem 0;
}

.legal-card {
  max-width: 780px;
  padding: clamp(1.35rem, 4vw, 2.4rem);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 2px solid var(--red-bright);
  border-radius: 18px;
}

.legal-content {
  max-width: 860px;
}

.legal-hero {
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-hero h1 {
  margin-bottom: 1rem;
}

.legal-section {
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-section h2 {
  margin-bottom: 1rem;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.legal-section h3 {
  margin-top: 1.35rem;
  color: var(--text);
}

.legal-section a {
  color: var(--white);
  border-bottom: 1px solid var(--red-bright);
}

.legal-section ul {
  margin: 0 0 1.2rem;
  padding-left: 1.2rem;
  color: var(--text-soft);
}

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

  .card-grid.three,
  .topics,
  .dossiers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .method-list {
    grid-template-columns: 1fr;
    border-top: 0;
    border-left: 1px solid var(--red-dark);
    padding-left: 1rem;
  }

  .method-list li {
    min-height: auto;
    padding: 0 0 1.2rem 1rem;
    border-right: 0;
  }

  .method-list li::before {
    top: 0.45rem;
    left: -1.3rem;
  }

  .social-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 1.25rem, var(--max));
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 74px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(5, 5, 5, 0.98);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.9rem 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    display: none;
  }

  .hero-actions,
  .newsletter-inner,
  .contact-inner,
  .footer-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .two-column,
  .card-grid.three,
  .topics,
  .dossiers,
  .social-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .hero-panel,
  .quote-card,
  .newsletter-inner,
  .legal-card {
    border-radius: 12px;
  }

  .footer-inner nav {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
