:root {
  --brand: #f9f9f9;
  --brand-dark: #231f2b;
  --brand-light: #b7b7b7;
  --text-muted: #ffffff;
  --border: #3d3945;
  --surface: #2d2935;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #f9f9f9;
  background: #231f2b;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 10;
  background: var(--brand-dark);
  color: var(--brand);
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  text-decoration: none;
  transition: top 0.15s ease-in-out;
}

.skip-link:focus {
  top: 1rem;
}

.audio-toggle {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 20;
  border: 1px solid #b9d8d3;
  border-radius: 999px;
  padding: 0.75rem 1rem;
  background: #1e1b34;
  color: #fff;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0.5rem 1.25rem rgb(0 0 0 / 22%);
}

.audio-toggle:hover,
.audio-toggle:focus-visible {
  border-color: #fff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 1rem;
}

header.site-header {
  border-bottom: 1px solid var(--border);
  background-color: #231f2b;
  background-image: -webkit-linear-gradient(left, #ffffff 0%, #ffffff 58%, #231f2b 82%, #231f2b 100%);
  background-image: linear-gradient(90deg, #ffffff 0%, #ffffff 58%, #231f2b 82%, #231f2b 100%);
}

@media (min-width: 48rem) {
  header.site-header {
    background-image: -webkit-linear-gradient(left, #ffffff 0, #ffffff 18rem, #231f2b 26rem, #231f2b 100%);
    background-image: linear-gradient(90deg, #ffffff 0, #ffffff 18rem, #231f2b 26rem, #231f2b 100%);
  }
}

header.site-header .bar {
  width: 100%;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-link img {
  height: 48px;
  width: 48px;
  object-fit: contain;
}

.brand-link span {
  font-weight: 700;
  font-size: 1.125rem;
  color: #231f2b;
  letter-spacing: -0.01em;
}

nav.main-nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}

nav.main-nav a {
  text-decoration: none;
  color: var(--brand);
}

nav.main-nav a:hover {
  color: var(--brand-light);
}

.menu {
  position: relative;
}

.menu summary {
  cursor: pointer;
  color: #ffffff;
  font-size: 1.7rem;
  line-height: 1;
  list-style: none;
}

.menu summary::-webkit-details-marker {
  display: none;
}

.menu .main-nav {
  position: absolute;
  right: 0;
  top: 2rem;
  z-index: 2;
  min-width: 12rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.25);
}

@media (max-width: 25rem) {
  .brand-link {
    gap: 0.5rem;
  }

  .brand-link span {
    font-size: 1rem;
  }
}

.login-page {
  min-height: 100vh;
  background: var(--brand-dark);
}

.login-main {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.login-card {
  width: 100%;
  max-width: 24rem;
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--surface);
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.35);
}

.login-brand {
  display: inline-block;
  margin-bottom: 0.75rem;
}

.login-brand img {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
}

.login-card h1 {
  margin: 0;
  font-size: 1.25rem;
}

.login-subtitle {
  margin: 0.25rem 0 1.5rem;
  font-size: 0.75rem;
  color: #b7b7b7;
}

.login-notice {
  margin: 0;
  padding: 1rem;
  line-height: 1.6;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  background: var(--brand-dark);
}

.login-back-link {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: #b7b7b7;
}

.login-back-link:hover {
  color: #ffffff;
}

.card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.hero {
  background: var(--brand-dark);
  color: #fff;
  padding: 4rem 1rem;
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
}

.hero p {
  color: #ffffff;
  margin: 0;
  line-height: 1.6;
}

.cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  padding: 3rem 1rem;
  max-width: 1024px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1.5rem;
  background: var(--surface);
  display: flex;
  flex-direction: column;
}

.card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 0.35rem;
  margin-bottom: 1rem;
}

.card p {
  margin: 0;
  font-size: 0.9rem;
  color: #ffffff;
  line-height: 1.6;
}

section.content {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

section.content:nth-of-type(even) {
  background: var(--surface);
}

section.content img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}

section.content h2 {
  color: var(--brand);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

section.content p {
  line-height: 1.6;
  color: #ffffff;
}

section.content h3 {
  color: var(--brand);
  font-size: 1.05rem;
  margin: 1.5rem 0 0.5rem;
}

section.content ul {
  color: #ffffff;
  line-height: 1.6;
  margin: 0.5rem 0 1rem;
  padding-left: 1.25rem;
}

footer.site-footer {
  background: var(--brand-dark);
  color: #f9f9f9;
}

footer.site-footer .bar {
  max-width: 1024px;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  footer.site-footer .bar {
    grid-template-columns: repeat(3, 1fr);
  }
}

footer.site-footer h3 {
  color: #f9f9f9;
  font-size: 1rem;
  margin: 0 0 0.5rem;
}

footer.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
}

footer.site-footer nav a {
  text-decoration: none;
}

footer.site-footer nav a:hover {
  color: #b7b7b7;
}

.legal-notice {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  color: #92400e;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.85rem;
  margin: 1.5rem 0;
}

.social-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #1877F2;
  color: #ffffff !important;
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: background 0.15s ease, transform 0.1s ease;
}

.social-badge:hover,
.social-badge:focus-visible {
  background: #166fe5;
  transform: translateY(-1px);
}

.social-badge svg {
  flex-shrink: 0;
}
