:root {
  color-scheme: dark;
  --bg: #080a0d;
  --panel: #11161b;
  --panel-2: #171d23;
  --text: #f6f8fb;
  --muted: #98a5b3;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #c6ff3d;
  --accent-ink: #111600;
  --blue: #62b7ff;
  --coral: #ff7f6e;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 56px);
  background: rgba(8, 10, 13, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 17px;
  line-height: 1;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
}

nav a:hover {
  color: var(--text);
}

.header-cta,
.primary,
.secondary {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 750;
}

.header-cta,
.primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.header-actions {
  display: flex;
  gap: 10px;
}

.header-cta.alt {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(28px, 5vw, 64px);
  min-height: 82vh;
  align-items: center;
  overflow: hidden;
  padding: clamp(64px, 10vw, 120px) clamp(18px, 5vw, 56px) clamp(48px, 8vw, 86px);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 10, 13, 0.95), rgba(8, 10, 13, 0.72) 56%, rgba(8, 10, 13, 0.9)),
    url("assets/boostly-logo.png") right 7vw center / min(54vw, 680px) no-repeat;
  opacity: 0.5;
}

.hero-mark {
  position: absolute;
  right: clamp(10px, 5vw, 90px);
  bottom: clamp(10px, 4vw, 70px);
  width: min(38vw, 420px);
  opacity: 0.18;
  filter: saturate(1.2);
  pointer-events: none;
}

.hero-copy,
.request-card,
.section,
.process,
.brief {
  position: relative;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(44px, 8vw, 92px);
  line-height: 0.95;
  letter-spacing: 0;
}

.lead {
  max-width: 640px;
  color: #c9d2dd;
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.request-card {
  align-self: end;
  padding: 28px;
  background: rgba(17, 22, 27, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.status-dot {
  display: block;
  width: 10px;
  height: 10px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 22px rgba(198, 255, 61, 0.8);
}

.request-card h2 {
  margin-bottom: 12px;
  font-size: 26px;
}

.request-card p {
  color: #c3ccd7;
  line-height: 1.65;
}

dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 24px 0 0;
}

dt {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

dd {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 750;
}

.section,
.process,
.brief {
  padding: clamp(58px, 8vw, 92px) clamp(18px, 5vw, 56px);
}

.section-head,
.brief > div {
  max-width: 760px;
  margin-bottom: 30px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.05;
  letter-spacing: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-grid article {
  min-height: 230px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-grid article:nth-child(3n + 2) {
  background: #121922;
}

.service-grid article:nth-child(3n) {
  background: #15171f;
}

.service-grid span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
}

.service-grid h3 {
  margin: 18px 0 12px;
  font-size: 21px;
}

.service-grid p,
.brief-list p {
  color: #bcc7d2;
  line-height: 1.62;
}

.app-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(58px, 8vw, 92px) clamp(18px, 5vw, 56px);
}

.app-copy h2 {
  margin-bottom: 18px;
}

.app-copy .lead {
  margin-bottom: 0;
}

.app-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.app-features article {
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.app-features h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.app-features p {
  margin: 0;
  color: #bcc7d2;
  font-size: 14px;
  line-height: 1.55;
}

.platform-chips {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.platform-chips li {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.process {
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(198, 255, 61, 0.07), transparent 70%),
    #0d1116;
  border-block: 1px solid var(--line);
}

.process-head {
  max-width: 720px;
  margin: 0 auto clamp(36px, 5vw, 56px);
  text-align: center;
}

.process ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.process li {
  position: relative;
  counter-increment: step;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.process li:hover {
  transform: translateY(-3px);
  border-color: rgba(198, 255, 61, 0.45);
}

.process li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 0 0 6px rgba(198, 255, 61, 0.12);
}

/* Connector from each step's badge to the next card. */
.process li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 45px;
  left: 82px;
  right: -17px;
  height: 2px;
  background: linear-gradient(90deg, rgba(198, 255, 61, 0.55), rgba(198, 255, 61, 0.08));
}

.process li strong {
  display: block;
  font-size: 19px;
  line-height: 1.25;
}

.process li span {
  color: #bcc7d2;
  font-size: 15px;
  line-height: 1.6;
}

.brief {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.brief-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.brief-list p {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

footer a {
  color: var(--text);
  font-weight: 750;
}

@media (max-width: 900px) {
  nav {
    display: none;
  }

  .hero,
  .brief {
    grid-template-columns: 1fr;
  }

  .process ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-section {
    grid-template-columns: 1fr;
  }

  .app-features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process li::after {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 64px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(8, 10, 13, 0.72), rgba(8, 10, 13, 0.98)),
      url("assets/boostly-logo.png") center 26px / 78vw no-repeat;
    opacity: 0.38;
  }

  .request-card {
    align-self: auto;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .app-features {
    grid-template-columns: 1fr;
  }

  .process-head {
    text-align: left;
  }

  .process ol {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .process li {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 16px;
    row-gap: 4px;
    padding: 20px;
  }

  .process li::before {
    grid-row: 1 / span 2;
    margin-bottom: 0;
  }

  .process li:not(:last-child)::after {
    display: block;
    top: 72px;
    left: 41px;
    right: auto;
    bottom: -15px;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, rgba(198, 255, 61, 0.55), rgba(198, 255, 61, 0.08));
  }

  .site-header {
    gap: 12px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .header-cta {
    min-height: 40px;
    padding-inline: 12px;
  }

  .header-actions {
    gap: 8px;
  }

  .long {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary,
  .secondary {
    width: 100%;
  }

  dl,
  .service-grid,
  .brief-list {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(42px, 14vw, 58px);
  }

  .service-grid article {
    min-height: auto;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
