:root {
  color-scheme: dark;
  --bg: #070201;
  --bg-soft: #130603;
  --panel: rgba(26, 8, 4, 0.8);
  --panel-solid: #160805;
  --text: #fffaf0;
  --muted: #d3bca1;
  --line: rgba(255, 193, 92, 0.15);
  --line-strong: rgba(255, 202, 92, 0.38);
  --gold: #ffe083;
  --amber: #ff941f;
  --cyan: #4deaff;
  --danger: #ff3a1d;
  --container: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 72% 4%, rgba(255, 136, 0, 0.28), transparent 34%),
    radial-gradient(circle at 50% 16%, rgba(255, 58, 29, 0.18), transparent 36%),
    radial-gradient(circle at 18% 44%, rgba(255, 211, 106, 0.09), transparent 30%),
    linear-gradient(180deg, #140401 0%, #080201 42%, #030100 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: normal;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 178, 70, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 178, 70, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 75%);
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  right: auto;
  width: min(var(--container), calc(100% - 48px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
  padding: 0 20px 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(12, 3, 1, 0.82);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.brand,
.site-header nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  min-width: 0;
  font-weight: 900;
}

.brand img {
  display: block;
  width: 184px;
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(255, 138, 31, 0.22));
}

.site-header nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  transition: color 160ms ease;
}

.site-header nav a:hover {
  color: var(--gold);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 142px clamp(20px, 5vw, 76px) 86px;
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    radial-gradient(circle at 74% 32%, rgba(255, 199, 70, 0.13), transparent 26%),
    radial-gradient(circle at 82% 56%, rgba(255, 75, 28, 0.16), transparent 28%),
    linear-gradient(90deg, rgba(18, 4, 1, 0.2), rgba(18, 4, 1, 0.08));
  background-color: var(--bg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.56;
  transform: scale(1.01);
}

.hero-overlay {
  background:
    radial-gradient(circle at 78% 48%, rgba(255, 119, 0, 0.3), transparent 30%),
    radial-gradient(circle at 68% 24%, rgba(255, 213, 106, 0.18), transparent 22%),
    linear-gradient(90deg, rgba(14, 3, 1, 0.99) 0%, rgba(17, 4, 1, 0.92) 52%, rgba(18, 5, 1, 0.72) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(18, 4, 1, 0) 34%);
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(360px, 420px);
  gap: clamp(48px, 7vw, 112px);
  align-items: center;
  width: min(var(--container), 100%);
  margin: 0 auto;
}

.hero-content {
  position: relative;
  width: 100%;
}

.hero-poster-card {
  position: relative;
  justify-self: end;
  width: 420px;
  perspective: 1200px;
}

.hero-poster-card::before,
.hero-poster-card::after {
  content: "";
  position: absolute;
  inset: 18px -12px -12px 18px;
  border: 1px solid rgba(255, 213, 106, 0.24);
  border-radius: 8px;
  transform: rotate(1.5deg);
}

.hero-poster-card::after {
  inset: -12px 18px 18px -12px;
  border-color: rgba(255, 74, 38, 0.18);
  transform: rotate(-1.5deg);
}

.poster-frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 213, 106, 0.48);
  border-radius: 8px;
  background: #120804;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.48),
    0 0 80px rgba(255, 138, 31, 0.24);
  transform: rotate(0deg);
}

.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0.18), transparent 26%, transparent 68%, rgba(255, 213, 106, 0.12));
  pointer-events: none;
}

.poster-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.poster-caption {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2px;
  width: calc(100% - 28px);
  margin: -34px auto 0;
  padding: 15px 18px;
  border: 1px solid rgba(255, 213, 106, 0.42);
  border-radius: 8px;
  background: rgba(5, 7, 12, 0.86);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(14px);
}

.poster-caption strong {
  color: var(--gold);
  font-size: 18px;
  line-height: 1.1;
}

.poster-caption span {
  color: var(--muted);
  font-size: 13px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--danger));
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(46px, 5.4vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: wrap;
}

h1 span {
  display: block;
}

h1 span:first-child {
  color: var(--gold);
  text-shadow: 0 0 30px rgba(255, 138, 31, 0.28);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: wrap;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.28;
  letter-spacing: 0;
}

.hero-copy,
.section-heading p,
.split > div > p,
.contact-section p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  overflow-wrap: normal;
}

.hero-copy {
  max-width: 680px;
  color: #d8d9df;
  font-size: 20px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(255, 213, 106, 0.28);
  border-radius: 999px;
  background: rgba(255, 213, 106, 0.08);
  color: #ffe7a1;
  font-size: 13px;
  font-weight: 900;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 900;
  white-space: nowrap;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--gold), var(--amber) 52%, #ff4b2f);
  color: #150a03;
  border-color: transparent;
  box-shadow: 0 16px 40px rgba(255, 138, 31, 0.28);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.button.secondary:hover {
  border-color: rgba(255, 213, 106, 0.45);
  background: rgba(255, 213, 106, 0.08);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(650px, 100%);
  margin: 46px 0 0;
}

.hero-stats div {
  padding: 20px;
  border: 1px solid rgba(255, 213, 106, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 213, 106, 0.13), rgba(255, 255, 255, 0.04)),
    rgba(7, 10, 18, 0.82);
}

.hero-stats dt {
  color: var(--gold);
  font-size: 29px;
  line-height: 1;
  font-weight: 950;
}

.hero-stats dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 104px clamp(20px, 5vw, 76px);
  width: min(1440px, 100%);
  margin: 0 auto;
}

.section-heading {
  max-width: 900px;
  margin-bottom: 36px;
}

.grid {
  display: grid;
  gap: 16px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

article,
.ops-panel,
details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025)),
    var(--panel);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
}

article {
  position: relative;
  overflow: hidden;
  padding: 26px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

article:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 213, 106, 0.32);
  background:
    linear-gradient(180deg, rgba(255, 213, 106, 0.08), rgba(255, 255, 255, 0.03)),
    var(--panel);
}

article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(35, 215, 255, 0.7), transparent);
  opacity: 0.78;
}

article p,
.ops-panel,
details p,
.site-footer,
.seo-visual figcaption {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.split.reverse {
  grid-template-columns: minmax(280px, 1.1fr) minmax(0, 0.9fr);
}

.scope-list,
.ops-panel ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.scope-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.scope-list li,
.ops-panel li {
  min-height: 64px;
  border: 1px solid rgba(255, 213, 106, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 213, 106, 0.13), rgba(35, 215, 255, 0.055)),
    rgba(255, 255, 255, 0.035);
  padding: 18px 20px;
  font-weight: 900;
  overflow-wrap: normal;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.detail-section {
  width: 100%;
  max-width: none;
  background: linear-gradient(180deg, rgba(255, 138, 31, 0.055), rgba(5, 7, 12, 0));
}

.detail-section > * {
  width: min(1288px, calc(100% - clamp(40px, 10vw, 152px)));
  margin-left: auto;
  margin-right: auto;
}

.detail-section .section-heading {
  margin-left: auto;
  margin-right: auto;
}

.seo-visual {
  margin: 42px 0 0;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
}

.seo-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.seo-visual figcaption {
  padding: 14px 18px;
  font-size: 14px;
  background: rgba(5, 7, 12, 0.86);
}

.api-band {
  background: linear-gradient(180deg, rgba(255, 140, 31, 0.08), rgba(7, 2, 1, 0));
}

.seo-info {
  background:
    linear-gradient(180deg, rgba(255, 58, 29, 0.07), rgba(7, 2, 1, 0)),
    linear-gradient(90deg, rgba(255, 211, 106, 0.045), transparent 54%);
}

.info-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.build-scope {
  padding-top: 72px;
}

.checklist-panel {
  border: 1px solid rgba(255, 213, 106, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 213, 106, 0.12), rgba(255, 58, 29, 0.08)),
    rgba(16, 5, 2, 0.86);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
}

.checklist-panel ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 1px;
  list-style: none;
}

.checklist-panel li {
  position: relative;
  min-height: 62px;
  padding: 18px 20px 18px 46px;
  background: rgba(7, 2, 1, 0.64);
  color: #f4dfc0;
  font-weight: 800;
}

.checklist-panel li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 25px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--amber));
  box-shadow: 0 0 18px rgba(255, 148, 31, 0.55);
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 950;
}

.ops-panel {
  padding: 30px;
}

.ops-panel p {
  margin-bottom: 18px;
  color: var(--text);
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 1040px;
}

details {
  padding: 20px 22px;
}

summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 900;
  overflow-wrap: normal;
}

details p {
  margin: 12px 0 0;
}

.contact-section {
  position: relative;
  overflow: hidden;
  margin: 0 clamp(20px, 5vw, 76px) 76px;
  padding: clamp(36px, 6vw, 72px);
  border: 1px solid rgba(255, 213, 106, 0.38);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 213, 106, 0.18), rgba(255, 61, 46, 0.11)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    var(--panel-solid);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.32);
}

.contact-section::after {
  content: "";
  position: absolute;
  right: -100px;
  top: -120px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 213, 106, 0.18);
  transform: rotate(22deg);
}

.contact-section > * {
  position: relative;
  z-index: 1;
}

.site-footer {
  padding: 30px clamp(20px, 5vw, 76px);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(180px, 0.7fr) minmax(240px, 0.9fr);
  gap: 28px;
  width: min(var(--container), 100%);
  margin: 0 auto;
}

.footer-grid img {
  width: 190px;
  height: auto;
  margin-bottom: 14px;
}

.footer-grid h2 {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 16px;
}

.footer-grid a {
  display: block;
  margin-top: 8px;
  color: #ffe2a3;
  font-weight: 800;
}

.site-footer p,
.copyright {
  margin: 0;
}

.copyright {
  width: min(var(--container), 100%);
  margin: 28px auto 0;
  color: rgba(211, 188, 161, 0.72);
}

.sub-hero {
  padding-top: 168px;
  padding-bottom: 82px;
  background:
    radial-gradient(circle at 74% 10%, rgba(255, 148, 31, 0.18), transparent 32%),
    linear-gradient(180deg, rgba(255, 58, 29, 0.08), rgba(7, 2, 1, 0));
}

.sub-hero-inner,
.content-section {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.sub-hero h1 {
  max-width: 900px;
}

.content-section {
  padding: 72px 0;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.content-block {
  margin-top: 28px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(26, 8, 4, 0.7);
}

.content-list {
  display: grid;
  gap: 14px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.content-list li {
  padding: 16px 18px;
  border: 1px solid rgba(255, 213, 106, 0.18);
  border-radius: 8px;
  background: rgba(7, 2, 1, 0.52);
}

.content-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.related-links a {
  padding: 10px 14px;
  border: 1px solid rgba(255, 213, 106, 0.24);
  border-radius: 999px;
  color: #ffe2a3;
  font-weight: 900;
}

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.error-shell {
  max-width: 560px;
}

@media (max-width: 980px) {
  .site-header {
    position: absolute;
    top: 14px;
    width: calc(100% - 32px);
  }

  .site-header nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 124px;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 7, 12, 0.98), rgba(5, 7, 12, 0.82)),
      linear-gradient(0deg, var(--bg), rgba(5, 7, 12, 0.08));
  }

  .hero-media {
    background-position: center top;
    opacity: 0.22;
  }

  .hero-poster-card {
    justify-self: start;
    width: min(360px, 82vw);
  }

  .feature-grid,
  .detail-grid,
  .info-grid,
  .content-grid,
  .process-grid,
  .split,
  .split.reverse {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    width: calc(100% - 24px);
  }

  .brand {
    font-size: 15px;
  }

  .brand img {
    width: 160px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 32px;
  }

  .hero-stats,
  .scope-list,
  .checklist-panel ul {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .contact-section {
    padding: 30px;
  }

  .button {
    width: 100%;
  }

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