:root {
  --bg: #08111f;
  --bg-deep: #050914;
  --panel: rgba(255, 255, 255, .075);
  --panel2: rgba(255, 255, 255, .11);
  --text: #f7fbff;
  --muted: #a9bad0;
  --soft: #d8e8f7;
  --brand: #e85d04;
  --brand2: #ff7a2f;
  --accent: #ffd98a;
  --border: rgba(255, 255, 255, .14);
  --shadow: 0 24px 70px rgba(0, 0, 0, .35);
  --radius: 24px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background:
    radial-gradient(circle at 20% -10%, rgba(232, 93, 4, .32), transparent 38%),
    radial-gradient(circle at 90% 4%, rgba(255, 122, 47, .18), transparent 32%),
    linear-gradient(180deg, var(--bg), var(--bg-deep) 52%, #07101d);
  color: var(--text);
  line-height: 1.65;
}

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

.container {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.skip-link,
.sr-only {
  position: absolute;
  left: -9999px;
}

.skip-link {
  top: 16px;
  z-index: 99;
  padding: 10px 14px;
  background: #fff;
  color: #07101d;
  border-radius: 12px;
}

.skip-link:focus {
  left: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(5, 9, 20, .78);
  border-bottom: 1px solid var(--border);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: auto;
  height: 38px;
  max-width: 230px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: .95rem;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  cursor: pointer;
}

.menu-bars,
.menu-bars span {
  display: block;
}

.menu-bars {
  width: 20px;
}

.menu-bars span {
  height: 2px;
  margin: 5px 0;
  border-radius: 99px;
  background: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #03101a;
  background: linear-gradient(135deg, var(--brand2), var(--brand));
  box-shadow: 0 16px 34px rgba(232, 93, 4, .32);
}

.btn-secondary,
.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, .08);
  border-color: var(--border);
}

.hero {
  padding: 76px 0 42px;
}

.hero-home {
  padding-bottom: 44px;
  overflow: hidden;
}

.hero-narrow,
.hero-intro {
  max-width: 920px;
}

.hero-intro {
  margin-bottom: 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 42px;
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 122, 47, .22);
  border-radius: 999px;
  background: rgba(232, 93, 4, .11);
  color: var(--brand2);
  font-size: .88rem;
  font-weight: 900;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.2rem, 4.4vw, 4.15rem);
  font-weight: 1000;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 1000;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.22rem;
  font-weight: 950;
}

.lead {
  max-width: 820px;
  margin: 20px 0 0;
  color: var(--soft);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 0;
}

.hero-narrow .hero-actions {
  margin-top: 30px;
}

.mini-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 26px;
}

.proof {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, .065);
}

.proof strong {
  display: block;
}

.proof span {
  color: var(--muted);
  font-size: .9rem;
}

.search-panel {
  margin-top: 28px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 14px 48px rgba(0, 0, 0, .22);
}

.search-form,
.search-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.search-box {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
}

.search-box form {
  display: contents;
}

.search-form input,
.search-box input {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .09);
  color: var(--text);
  outline: none;
  font-size: 1rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  background: rgba(255, 255, 255, .09);
  color: #fff;
}

.form-field input {
  min-height: 46px;
  padding: 0 12px;
}

.form-field textarea {
  min-height: 140px;
  padding: 12px;
}

.form-wide {
  grid-column: 1 / -1;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 14px;
}

.chips a,
.chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(0, 0, 0, .12);
  color: var(--muted);
  font-size: .9rem;
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .055));
  box-shadow: var(--shadow);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -30% -20% auto auto;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 122, 47, .32), transparent 65%);
  pointer-events: none;
}

.intent-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.intent-item {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  background: rgba(0, 0, 0, .14);
}

.intent-item b {
  display: block;
  color: #fff;
}

.intent-item span {
  color: var(--muted);
  font-size: .93rem;
}

.breadcrumb {
  padding-top: 24px;
  color: var(--muted);
  font-size: .92rem;
}

.breadcrumb a {
  color: var(--brand2);
}

section {
  padding: 46px 0;
}

.panel {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
}

.notice {
  border-left: 4px solid var(--brand2);
  background: rgba(232, 93, 4, .1);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.card:hover {
  border-color: rgba(255, 122, 47, .35);
  background: var(--panel2);
  transform: translateY(-3px);
}

.card p,
.panel p,
li {
  color: var(--muted);
}

.card strong,
.panel strong {
  color: var(--text);
}

.muted {
  color: var(--muted);
}

.soft {
  color: var(--soft);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.section-head p {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--muted);
}

.badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 122, 47, .32);
  border-radius: 999px;
  background: rgba(232, 93, 4, .18);
  color: var(--brand2);
  font-size: .78rem;
  font-weight: 950;
}

.badge-accent {
  border-color: rgba(255, 217, 138, .28);
  background: rgba(255, 217, 138, .13);
  color: var(--accent);
}

.list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
}

.link-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#genres .link-list {
  grid-template-columns: repeat(4, 1fr);
}

.link-list a {
  display: block;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, .065);
  color: var(--soft);
  font-weight: 900;
}

.link-list a:hover {
  background: rgba(255, 255, 255, .11);
  color: #fff;
}

.deep-copy {
  display: grid;
  gap: 18px;
}

.deep-copy p {
  margin: 0;
  color: var(--muted);
}

.feature-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
}

.feature-row h3 {
  font-size: 1.32rem;
}

.feature-row ul {
  margin-top: 10px;
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  background: rgba(0, 0, 0, .14);
}

.dot {
  width: 12px;
  height: 12px;
  margin-top: 8px;
  border-radius: 99px;
  background: var(--brand2);
  box-shadow: 0 0 0 5px rgba(255, 122, 47, .12);
}

.cta-line {
  margin-top: 20px;
}

details {
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, .07);
}

details + details {
  margin-top: 12px;
}

summary {
  cursor: pointer;
  font-weight: 950;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  margin: 12px 0 0;
  color: var(--muted);
}

.site-footer {
  margin-top: 30px;
  padding: 34px 0;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, .22);
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr .7fr;
  gap: 24px;
}

.footer-grid h3 {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 1rem;
}

.footer-grid ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.copyright {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .9rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .grid-2,
  .editorial-grid,
  .feature-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .mini-proof {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .brand-logo {
    height: 34px;
    max-width: 190px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-left: 0;
    padding: 18px;
    border: 1px solid var(--border);
    border-top: 0;
    border-radius: 0 0 18px 18px;
    background: rgba(5, 9, 20, .96);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .32);
  }

  .nav-toggle:checked ~ .nav-menu {
    display: grid;
  }

  .nav-links {
    display: grid;
    gap: 12px;
  }

  .nav-links a {
    padding: 9px 0;
  }

  .nav-menu .nav-cta {
    width: fit-content;
    min-height: 40px;
    padding: 0 14px;
    font-size: .9rem;
    box-shadow: 0 10px 22px rgba(232, 93, 4, .25);
  }

  .link-list,
  #genres .link-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .brand-logo {
    max-width: 170px;
  }

  h1 {
    font-size: clamp(1.95rem, 10.5vw, 2.85rem);
  }

  .hero {
    padding-top: 56px;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid,
  .link-list,
  #genres .link-list,
  .search-form,
  .search-box {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .nav-menu .nav-cta {
    width: fit-content;
  }

  .hero-actions {
    flex-direction: column;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }
}
