@charset "utf-8";
@import url("https://use.typekit.net/kva4hup.css");

:root {
  --bg: #07141f;
  --panel: rgba(8, 28, 44, 0.8);
  --panel-strong: rgba(10, 35, 54, 0.95);
  --line: rgba(177, 179, 179, 0.22);
  --text: #d7dee2;
  --muted: #9eaab1;
  --accent: #ffd478;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius-lg: 28px;
  --radius-md: 18px;
  --site-width: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "proxima-nova", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(255, 212, 120, 0.08), transparent 28%),
    linear-gradient(180deg, #081723 0%, #04111a 100%);
}

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

a {
  color: inherit;
}

.site-shell {
  width: min(calc(100% - 32px), var(--site-width));
  margin: 24px auto 40px;
}

.hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(7, 20, 31, 0.92), rgba(15, 34, 48, 0.78));
  box-shadow: var(--shadow);
}

.hero-image {
  position: absolute;
  inset: 0;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 20, 31, 0.92) 0%, rgba(7, 20, 31, 0.65) 45%, rgba(7, 20, 31, 0.3) 100%);
}

.hero-image img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  padding: 56px 48px;
}

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

h1,
h2 {
  font-family: "ff-tisa-sans-web-pro", "Segoe UI", sans-serif;
  letter-spacing: -0.02em;
}

h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  line-height: 0.95;
}

.hero-text {
  margin: 20px 0 0;
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.content-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  margin-top: 28px;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 20px;
}

.menu-panel,
.intro-card,
.topic-card,
.footer-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.menu-panel {
  padding: 22px;
}

.menu-title {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li + li {
  margin-top: 10px;
}

.nav-link,
.nav-link-disabled {
  display: block;
  padding: 14px 16px;
  border: 1px solid rgba(255, 212, 120, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  transform: translateX(4px);
  border-color: rgba(255, 212, 120, 0.45);
  background: rgba(255, 212, 120, 0.08);
  color: #fff4cf;
  outline: none;
}

.nav-link-disabled {
  color: #7d8a92;
  cursor: default;
  opacity: 0.7;
}

.main {
  min-width: 0;
}

.intro-card {
  padding: 32px;
  background: var(--panel-strong);
}

.intro-card h2 {
  margin: 0 0 18px;
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
}

.intro-card p,
.topic-card p,
.site-footer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1rem;
}

.intro-card p + p {
  margin-top: 16px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.topic-card {
  padding: 24px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.topic-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 212, 120, 0.35);
  background: rgba(12, 34, 50, 0.95);
}

.topic-card-muted {
  opacity: 0.78;
}

.topic-card h2 {
  margin: 0 0 12px;
  color: #f4f7f8;
  font-size: 1.35rem;
}

.site-footer {
  margin-top: 28px;
}

.footer-panel {
  padding: 24px 28px;
}

.footer-title {
  margin-bottom: 6px;
  color: #f4f7f8;
  font-weight: 700;
}

.footer-panel a,
.home-link {
  color: var(--accent);
  text-decoration: none;
}

.footer-panel a:hover,
.footer-panel a:focus-visible,
.home-link:hover,
.home-link:focus-visible {
  color: #fff4cf;
}

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

  .sidebar {
    position: static;
  }

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

@media (max-width: 640px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--site-width));
    margin-top: 10px;
  }

  .hero-copy,
  .intro-card,
  .menu-panel,
  .topic-card,
  .footer-panel {
    padding: 20px;
  }

  .hero-image img {
    min-height: 400px;
  }

  h1 {
    max-width: 10ch;
  }
}
