:root {
  color-scheme: dark;
  --bg: #0a0118;
  --bg-2: #120820;
  --panel: #160d25;
  --panel-2: #1d112f;
  --ink: #ffffff;
  --muted: #d4d2df;
  --subtle: #9a94aa;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(124, 58, 237, 0.42);
  --violet: #7c3aed;
  --violet-2: #5b21b6;
  --amber: #ffc367;
  --teal: #22d3ee;
  --success: #16a34a;
  --danger: #dc2626;
  --shadow: 0 26px 90px rgba(0, 0, 0, 0.38);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(180deg, rgba(10, 1, 24, 0.42), rgba(10, 1, 24, 0.96)),
    url("../images/Circle-Lines.png") center top / cover no-repeat;
  opacity: 0.46;
}

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

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

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

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  min-height: 74px;
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 195, 103, 0.54);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.52), rgba(34, 211, 238, 0.18));
  color: var(--amber);
  font-size: 20px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  min-height: 42px;
  padding: 10px 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--subtle);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-color: var(--line-strong);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  content: "";
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
}

.button.primary {
  background: var(--amber);
  color: #0a0118;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
}

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

.hero {
  position: relative;
  display: grid;
  min-height: 78vh;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(10, 1, 24, 0.97) 0%, rgba(10, 1, 24, 0.82) 42%, rgba(10, 1, 24, 0.34) 100%),
    url("../images/work-1.jpg") center / cover no-repeat;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  content: "";
  background: linear-gradient(180deg, rgba(10, 1, 24, 0), var(--bg));
}

.hero-inner,
.section-inner,
.footer-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 24px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 82px;
  padding-bottom: 92px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 13px;
  border: 1px solid rgba(124, 58, 237, 0.58);
  border-radius: 999px;
  color: var(--amber);
  background: rgba(124, 58, 237, 0.12);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-family: Outfit, Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.05;
}

h1 {
  max-width: 780px;
  margin-top: 22px;
  font-size: 68px;
}

h2 {
  font-size: 44px;
}

h3 {
  font-size: 24px;
}

h4 {
  font-size: 19px;
}

.hero-copy {
  max-width: 610px;
  margin: 22px 0 0;
  color: #edeaf8;
  font-size: 20px;
}

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

.hero-actions.center,
.section-actions.center {
  justify-content: center;
}

.hero-metrics {
  display: grid;
  max-width: 960px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.metric {
  min-height: 112px;
  padding: 20px;
  background: rgba(10, 1, 24, 0.74);
}

.metric strong {
  display: block;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.08;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: var(--subtle);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.section {
  padding: 92px 0;
}

.section.alt {
  background: rgba(255, 255, 255, 0.035);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 42px;
}

.section-head p {
  margin: 0;
  color: var(--subtle);
  font-size: 18px;
}

.lead {
  max-width: 760px;
  color: var(--subtle);
  font-size: 18px;
}

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

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

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

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

.card,
.quote,
.price-card,
.article-card,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(22, 13, 37, 0.82);
  box-shadow: var(--shadow);
}

.card {
  min-height: 230px;
  padding: 26px;
}

.card-number {
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.card h3,
.card h4 {
  margin-top: 14px;
}

.card p,
.article-card p,
.quote p,
.price-card p {
  margin: 14px 0 0;
  color: var(--subtle);
}

.media-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 34px;
  align-items: center;
}

.media-frame {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--panel);
}

.media-frame img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}

.media-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(10, 1, 24, 0.1), rgba(10, 1, 24, 0.38));
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.check-list li::before {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-top: 8px;
  border-radius: 50%;
  content: "";
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(34, 211, 238, 0.12);
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.logo-cell {
  display: grid;
  min-height: 94px;
  place-items: center;
  padding: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.logo-cell img {
  max-height: 38px;
  object-fit: contain;
  opacity: 0.88;
  filter: grayscale(1) brightness(1.4);
}

.logo-cell strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
  text-align: center;
}

.workflow-card p strong {
  color: var(--ink);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}

.step {
  position: relative;
  min-height: 210px;
  padding: 28px;
  border-top: 2px solid var(--amber);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  color: rgba(255, 195, 103, 0.32);
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
}

.step h3 {
  margin-top: 20px;
}

.step p {
  margin: 12px 0 0;
  color: var(--subtle);
}

.page-hero {
  padding: 96px 0 76px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(18, 8, 32, 0.9), rgba(10, 1, 24, 0.96)),
    url("../images/Circle-Lines-1.png") center / cover no-repeat;
}

.page-hero h1 {
  max-width: 860px;
}

.page-hero p {
  max-width: 720px;
  margin: 22px 0 0;
  color: #edeaf8;
  font-size: 19px;
}

.feature-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.feature-row {
  display: grid;
  grid-template-columns: 240px 1fr 1fr;
  gap: 1px;
  background: var(--line);
}

.feature-row > div {
  min-height: 72px;
  padding: 20px;
  background: rgba(22, 13, 37, 0.95);
}

.feature-row strong {
  color: var(--ink);
}

.price-card {
  padding: 28px;
}

.price {
  margin: 22px 0 4px;
  color: var(--ink);
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
}

.price small {
  color: var(--subtle);
  font-size: 15px;
  font-weight: 700;
}

.price-card.featured {
  border-color: rgba(255, 195, 103, 0.72);
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.28), rgba(22, 13, 37, 0.88));
}

.article-card {
  overflow: hidden;
}

.article-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.article-body {
  padding: 24px;
}

.tag {
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.quote {
  padding: 26px;
}

.quote-author {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 22px;
}

.quote-author img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.quote-author strong {
  display: block;
  color: var(--ink);
}

.quote-author span {
  display: block;
  color: var(--subtle);
  font-size: 13px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 24px;
  align-items: start;
}

.contact-panel {
  padding: 28px;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.contact-list strong {
  display: block;
  color: var(--ink);
}

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

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

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  padding: 13px 14px;
}

textarea {
  min-height: 144px;
  resize: vertical;
}

.form-note {
  min-height: 24px;
  margin-top: 14px;
  color: var(--teal);
  font-weight: 800;
}

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

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

summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 850;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  background: #07010f;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  padding-top: 44px;
  padding-bottom: 44px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--subtle);
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--ink);
}

.fineprint {
  margin-top: 12px;
  color: var(--subtle);
  font-size: 14px;
}

.not-found {
  display: grid;
  min-height: calc(100vh - 74px);
  place-items: center;
  padding: 72px 24px;
  text-align: center;
}

.not-found img {
  width: min(360px, 90vw);
  margin: 0 auto 26px;
}

.not-found h1 {
  margin: 0 auto;
}

.not-found p {
  max-width: 560px;
  margin: 18px auto 0;
}

@media (max-width: 940px) {
  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 34px;
  }

  .site-nav {
    position: absolute;
    top: 74px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #0d0618;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    border-radius: 8px;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    min-height: auto;
  }

  .hero-metrics,
  .grid.three,
  .grid.two,
  .grid.four,
  .steps,
  .media-band,
  .section-head,
  .contact-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

  .feature-row {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .header-inner,
  .hero-inner,
  .section-inner,
  .footer-inner {
    padding-right: 18px;
    padding-left: 18px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-copy,
  .page-hero p,
  .lead {
    font-size: 16px;
  }

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

  .button {
    width: 100%;
  }

  .section {
    padding: 70px 0;
  }

  .page-hero {
    padding: 72px 0 54px;
  }

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

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