@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=Manrope:wght@400;500;600;700;800&family=Sora:wght@400;500;600;700;800&display=swap");

:root {
  --brand-black: #090a0d;
  --brand-charcoal: #111317;
  --brand-panel: rgba(255, 255, 255, 0.06);
  --brand-line: rgba(255, 255, 255, 0.1);
  --brand-orange: #ef8300;
  --brand-orange-soft: rgba(239, 131, 0, 0.18);
  --brand-silver: #edf1f7;
  --brand-steel: #b6bfca;
  --brand-beige: #d9c6b1;
  --brand-lime: #d5ff53;
  --text-main: #f5f7fb;
  --text-muted: rgba(245, 247, 251, 0.7);
  --surface: rgba(255, 255, 255, 0.05);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow-strong: 0 30px 70px rgba(0, 0, 0, 0.22);
  --shell-width: min(1260px, calc(100vw - 32px));
  --accent-color: var(--brand-orange);
  --nav-bg: rgba(10, 11, 15, 0.56);
  --font-body: "Manrope", sans-serif;
  --font-display: "Sora", sans-serif;
  --font-accent: "IBM Plex Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--brand-black);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.45;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

.crawl-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.shell {
  width: var(--shell-width);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 18px 0;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid var(--brand-line);
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text-main);
}

.brand-lockup__dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-orange), #ffd28a);
  box-shadow: 0 0 22px rgba(239, 131, 0, 0.5);
}

.brand-lockup strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

.brand-highlight {
  color: #ef8300;
  background: linear-gradient(transparent 58%, rgba(239, 131, 0, 0.24) 58%);
  padding: 0 0.08em;
  border-radius: 2px;
}

.brand-lockup__subline {
  display: block;
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.page-switcher {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.page-switcher a {
  min-width: 54px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--text-muted);
  text-align: center;
  transition: transform 0.22s ease, border-color 0.22s ease, background-color 0.22s ease,
    color 0.22s ease;
}

.page-switcher a:hover,
.page-switcher a:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text-main);
}

.page-switcher a.is-active {
  color: var(--accent-color);
  background: var(--brand-orange-soft);
  border-color: rgba(239, 131, 0, 0.24);
}

.eyebrow,
.section-tag,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-accent);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow,
.section-tag {
  color: var(--accent-color);
}

.kicker {
  color: inherit;
  opacity: 0.85;
}

.lead {
  max-width: 62ch;
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  color: var(--text-muted);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease,
    background-color 0.22s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
}

.button--primary {
  background: var(--accent-color);
  color: #121317;
}

.button--ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
}

.site-footer {
  padding: 28px 0 60px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .topbar {
    position: static;
    padding-bottom: 0;
  }

  .topbar-inner {
    border-radius: 28px;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100vw - 20px, 100%);
  }

  .topbar-inner {
    padding: 12px;
    border-radius: 22px;
    gap: 12px;
  }

  .brand-lockup {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .page-switcher {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .page-switcher a {
    width: 100%;
    min-height: 40px;
    padding: 8px 10px;
    font-size: 0.78rem;
    line-height: 1.12;
    white-space: normal;
  }
}
