* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: light;
  --ink: #0f172a;
  --text: #1f2937;
  --muted: #475569;
  --line: rgba(15, 23, 42, 0.08);
  --panel: rgba(255, 255, 255, 0.9);
  --panel-soft: rgba(255, 255, 255, 0.76);
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  padding: 0 20px 76px;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 20px;
  top: 16px;
  z-index: 20;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  transform: translateY(-140%);
  transition: transform 0.2s ease;
}

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

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  width: calc(100% + 40px);
  margin-left: -20px;
  border-bottom: 1px solid #e5e7eb;
  background: rgba(255, 255, 255, 0.92);
  font-family: ui-sans-serif, system-ui, sans-serif;
}

.site-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(100%, 1000px);
  min-height: 66px;
  margin: 0 auto;
  padding: 12px 20px;
}

.site-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #000;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav-brand img {
  width: 38px;
  height: 32px;
  object-fit: contain;
}

.site-nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 4px;
  background: #000;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav-link:hover {
  background: #262626;
}

.page {
  display: flex;
  flex-direction: column;
  gap: 82px;
  width: 100%;
}

.container {
  width: min(100%, 1000px);
  margin: 0 auto;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(34px, 8vw, 72px);
  padding-top: clamp(42px, 7vw, 82px);
  text-align: left;
}

.hero-text {
  display: flex;
  flex: 1 1 520px;
  flex-direction: column;
  justify-content: center;
  order: 1;
}

h1 {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
  color: #000;
  line-height: 1;
  animation: fadeIn 0.8s ease-out;
}

.hero-mark {
  font-size: clamp(54px, 9vw, 100px);
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-title {
  max-width: 18ch;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.12;
}

.hero-byline {
  max-width: 680px;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(19px, 2.4vw, 25px);
  font-weight: 300;
  line-height: 1.48;
  animation: fadeIn 1s ease-out;
}

.image-container {
  display: inline-flex;
  flex: 0 0 auto;
  order: 2;
  width: min(38vw, 360px);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  animation: slideUp 0.9s ease-out;
}

.image-container img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

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

.topic-card {
  min-height: 238px;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.topic-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.13);
}

.topic-card p {
  color: var(--text);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.62;
}

.footer {
  padding-bottom: 8px;
}

.footer-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel-soft);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
}

.footer-card img {
  width: 150px;
  height: auto;
  object-fit: contain;
  opacity: 0.86;
}

.eyebrow {
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer a {
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(15, 23, 42, 0.2);
}

.footer a:hover {
  border-bottom-color: rgba(15, 23, 42, 0.65);
}

a:focus-visible {
  outline: 2px solid rgba(15, 23, 42, 0.8);
  outline-offset: 4px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 52px;
  }

  .page {
    gap: 52px;
  }

  .hero {
    flex-direction: column;
    text-align: center;
  }

  h1 {
    align-items: center;
  }

  .hero-title,
  .hero-byline {
    max-width: none;
  }

  .image-container {
    order: 0;
    width: min(100%, 420px);
    padding: 18px;
  }

  .topics {
    grid-template-columns: 1fr;
  }

  .topic-card {
    min-height: auto;
  }

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

  .footer-card img {
    width: 128px;
  }
}

@media (max-width: 520px) {
  .site-nav-brand span {
    display: none;
  }

  .hero-mark {
    letter-spacing: 0.1em;
  }
}

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