:root {
  --bg: #111312;
  --surface: rgba(248, 244, 234, 0.08);
  --surface-strong: rgba(248, 244, 234, 0.14);
  --text: #f8f4ea;
  --muted: #b7b4aa;
  --line: rgba(248, 244, 234, 0.16);
  --amber: #e7b75f;
  --coral: #de6b5f;
  --teal: #79c7b9;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(135deg, #111312 0%, #18211d 48%, #241d18 100%);
  background-size: 44px 44px, 44px 44px, cover;
  overflow-x: hidden;
}

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

.page {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 28px 16px 48px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #111312;
  background: linear-gradient(135deg, var(--amber), var(--teal));
  box-shadow: 0 10px 26px rgba(121, 199, 185, 0.18);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.nav-links a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.07);
  outline: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  padding: clamp(56px, 9vw, 104px) 0 clamp(36px, 6vw, 72px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 680px;
  margin: 0;
  color: var(--text);
  font-size: 7.2rem;
  line-height: 0.9;
  letter-spacing: 0;
  text-align: left;
}

.intro {
  width: 100%;
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.75;
}

.sections {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.link-group {
  min-width: 0;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  backdrop-filter: blur(18px);
}

h3 {
  margin: 0 0 18px;
  color: var(--text);
  font-size: 1.05rem;
  letter-spacing: 0;
}

.item-list {
  display: grid;
  gap: 10px;
}

.item-list a {
  min-width: 0;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  font-weight: 720;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.item-list a::after {
  content: ">";
  width: 28px;
  height: 28px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #111312;
  background: var(--amber);
}

.item-list a:hover,
.item-list a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(231, 183, 95, 0.55);
  background: var(--surface-strong);
  outline: none;
}

@media (max-width: 900px) {
  h1 {
    font-size: 5.8rem;
  }
}

@media (max-width: 760px) {
  .page {
    width: 100%;
    max-width: 100%;
    padding: 16px 12px 40px;
  }

  nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-links a {
    width: 100%;
    padding: 0 10px;
    font-size: 0.86rem;
  }

  .intro {
    max-width: 100%;
    font-size: 1rem;
  }

  h1 {
    font-size: 3.25rem;
  }

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