:root {
  --bg: #101014;
  --bg-soft: #15171a;
  --surface: #1b2024;
  --surface-2: #22282d;
  --text: #f4f8f9;
  --muted: #aab4ba;
  --line: rgba(244, 248, 249, 0.16);
  --cyan: #2dd4e5;
  --green: #b8f24d;
  --amber: #f7b955;
  --coral: #ff6b4a;
  --shadow: rgba(0, 0, 0, 0.32);
  --radius: 8px;
  --page-pad: 24px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  min-width: 320px;
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 70%);
}

img {
  max-width: 100%;
}

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

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

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

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
  border-radius: var(--radius);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 10px 12px;
  color: #101014;
  background: var(--green);
  border-radius: var(--radius);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  min-width: 0;
  max-width: 100vw;
  padding: 14px var(--page-pad);
  border-bottom: 1px solid var(--line);
  background: rgba(16, 16, 20, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  color: #101014;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background:
    linear-gradient(135deg, var(--green), var(--cyan));
  box-shadow: 0 0 0 5px rgba(45, 212, 229, 0.08);
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy strong {
  color: var(--text);
  font-size: 1.04rem;
  font-weight: 950;
  letter-spacing: 0;
}

.brand-copy strong span {
  color: var(--cyan);
}

.brand-copy small {
  margin-top: 4px;
  color: rgba(244, 248, 249, 0.64);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  min-width: 0;
  color: rgba(244, 248, 249, 0.72);
  font-size: 0.94rem;
  font-weight: 750;
}

.main-nav a {
  flex: 0 0 auto;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover {
  color: var(--text);
  border-color: var(--green);
}

.header-cta,
.footer-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  color: #101014;
  font-size: 0.9rem;
  font-weight: 900;
  border-radius: var(--radius);
  background: var(--green);
}

.hero {
  position: relative;
  min-height: 82svh;
  display: flex;
  align-items: center;
  isolation: isolate;
  min-width: 0;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  padding: 84px var(--page-pad) 64px;
  border-bottom: 1px solid var(--line);
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(16, 16, 20, 0.96) 0%, rgba(16, 16, 20, 0.86) 36%, rgba(16, 16, 20, 0.45) 66%, rgba(16, 16, 20, 0.3) 100%),
    linear-gradient(0deg, rgba(16, 16, 20, 0.82), rgba(16, 16, 20, 0.1) 48%, rgba(16, 16, 20, 0.5));
}

.hero-shell {
  width: min(100%, var(--content));
  min-width: 0;
  max-width: 100%;
  margin: 0 auto;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  min-width: 0;
  margin-bottom: 20px;
  color: #fff;
  font-size: 4rem;
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: break-word;
  word-break: normal;
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: 16px;
  color: var(--text);
  font-size: 3rem;
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 0;
  color: rgba(244, 248, 249, 0.84);
  font-size: 1.14rem;
  overflow-wrap: break-word;
}

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

.center-actions {
  justify-content: center;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 950;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.btn-primary {
  color: #101014;
  background: var(--green);
}

.btn-primary:hover {
  background: #c8ff66;
}

.btn-secondary {
  color: var(--text);
  border-color: rgba(244, 248, 249, 0.24);
  background: rgba(244, 248, 249, 0.08);
}

.btn-secondary:hover {
  border-color: var(--cyan);
  background: rgba(45, 212, 229, 0.12);
}

.hero-signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 170px));
  gap: 1px;
  width: min(100%, 620px);
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
  border: 1px solid rgba(244, 248, 249, 0.16);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(244, 248, 249, 0.1);
}

.hero-signals li {
  padding: 14px;
  background: rgba(16, 16, 20, 0.76);
}

.hero-signals strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
}

.hero-signals span {
  display: block;
  margin-top: 2px;
  color: rgba(244, 248, 249, 0.62);
  font-size: 0.78rem;
}

.intent-strip {
  max-width: var(--content);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: -28px auto 0;
  padding: 0 var(--page-pad);
  position: relative;
  z-index: 4;
}

.intent-strip a {
  min-height: 108px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(27, 32, 36, 0.96);
  box-shadow: 0 20px 40px var(--shadow);
}

.intent-strip strong {
  color: var(--text);
  font-size: 1rem;
}

.intent-strip span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: 86px var(--page-pad);
}

.section-dark {
  background: var(--bg);
}

.section-contrast {
  background: #17151a;
}

.section-light {
  background: #e8ecec;
  color: #111417;
}

.section-light h2,
.section-light h3 {
  color: #111417;
}

.section-light p,
.section-light .process-grid p,
.section-light .faq-list p {
  color: #4d595e;
}

.section-light .eyebrow {
  color: #25695f;
}

.section-inner {
  width: min(100%, var(--content));
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading p {
  max-width: 680px;
  font-size: 1.06rem;
}

.split-heading {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.7fr);
  gap: 34px;
  align-items: end;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.product-grid article,
.review-list article,
.service-table article,
.process-grid li,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.product-grid article {
  min-height: 210px;
  padding: 20px;
  background: var(--surface);
}

.product-grid span {
  display: inline-flex;
  margin-bottom: 36px;
  color: var(--amber);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.1em;
}

.product-grid p,
.review-list p,
.service-table p,
.process-grid p {
  margin-bottom: 0;
}

.compare-layout,
.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  gap: 56px;
  align-items: start;
}

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

.review-list article {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 18px;
  background: rgba(244, 248, 249, 0.04);
}

.review-list strong {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #111417;
  border-radius: var(--radius);
  background: var(--amber);
}

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

.process-grid li {
  min-height: 230px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.62);
}

.process-grid span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 28px;
  color: #101014;
  font-weight: 950;
  border-radius: var(--radius);
  background: var(--green);
}

.sticky-copy {
  position: sticky;
  top: 110px;
}

.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  color: var(--green);
  font-weight: 950;
  border-bottom: 2px solid rgba(184, 242, 77, 0.5);
}

.service-table {
  display: grid;
  border-top: 1px solid var(--line);
}

.service-table article {
  display: grid;
  grid-template-columns: minmax(160px, 0.35fr) minmax(0, 1fr);
  gap: 24px;
  padding: 20px 0;
  border-width: 0 0 1px;
  border-radius: 0;
  background: transparent;
}

.service-table h3 {
  margin: 0;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1fr);
  gap: 48px;
  align-items: start;
}

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

.faq-list details {
  background: rgba(255, 255, 255, 0.72);
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: #111417;
  font-weight: 950;
}

.faq-list p {
  padding: 0 20px 20px;
  margin-bottom: 0;
}

.final-cta {
  padding: 96px var(--page-pad);
  text-align: center;
  background:
    linear-gradient(rgba(16, 16, 20, 0.58), rgba(16, 16, 20, 0.9)),
    url("assets/hero-workbench.jpg") center / cover no-repeat;
  border-top: 1px solid var(--line);
}

.final-inner {
  width: min(100%, 820px);
  margin: 0 auto;
}

.final-inner h2 {
  font-size: 3.2rem;
}

.final-inner p {
  max-width: 660px;
  margin-right: auto;
  margin-left: auto;
  color: rgba(244, 248, 249, 0.8);
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  min-width: 56px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  color: #101014;
  font-size: 0.82rem;
  font-weight: 950;
  border-radius: var(--radius);
  background: var(--green);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.4);
}

.site-footer {
  padding: 0 var(--page-pad) 22px;
  background: var(--bg);
}

.footer-inner {
  width: min(100%, var(--content));
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  margin: 0 auto;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.footer-inner p {
  justify-self: center;
  margin-bottom: 0;
  text-align: center;
}

.footer-bottom {
  width: min(100%, var(--content));
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  padding-top: 16px;
  color: rgba(244, 248, 249, 0.56);
  border-top: 1px solid rgba(244, 248, 249, 0.08);
  font-size: 0.86rem;
}

.footer-bottom p {
  margin-bottom: 0;
}

.footer-bottom a {
  color: rgba(244, 248, 249, 0.86);
}

@media (max-width: 980px) {
  :root {
    --page-pad: 20px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

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

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(16, 16, 20, 0.96) 0%, rgba(16, 16, 20, 0.88) 52%, rgba(16, 16, 20, 0.62) 100%),
      linear-gradient(0deg, rgba(16, 16, 20, 0.8), rgba(16, 16, 20, 0.2));
  }

  h1 {
    font-size: 3rem;
  }

  h2,
  .final-inner h2 {
    font-size: 2.35rem;
  }

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

  .compare-layout,
  .service-layout,
  .faq-layout,
  .split-heading {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .sticky-copy {
    position: static;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 640px) {
  :root {
    --page-pad: 16px;
  }

  .site-header {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
    width: 100%;
    overflow: hidden;
  }

  .main-nav {
    grid-column: 1;
    width: 100%;
    max-width: calc(100vw - 32px);
    gap: 18px;
  }

  .header-cta {
    grid-column: 1;
    width: 100%;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-copy small {
    font-size: 0.58rem;
  }

  .header-cta {
    min-height: 40px;
    padding: 9px 11px;
  }

  .hero {
    width: 100vw;
    max-width: 100vw;
    padding-top: 58px;
    padding-bottom: 48px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-shell {
    width: 100%;
    max-width: 358px;
    margin-left: 0;
    margin-right: auto;
  }

  .hero-shell > * {
    max-width: 100%;
  }

  .hero-image {
    object-position: 68% center;
  }

  h1 {
    width: 100%;
    max-width: 358px;
    font-size: 1.9rem;
    line-height: 1.03;
    overflow-wrap: anywhere;
  }

  .hero-lead {
    width: 100%;
    max-width: 358px;
  }

  h2,
  .final-inner h2 {
    font-size: 2rem;
  }

  .hero-lead,
  .section-heading p,
  .section-heading p {
    font-size: 1rem;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .hero-signals,
  .intent-strip,
  .product-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero-signals {
    width: 100%;
  }

  .intent-strip {
    margin-top: 0;
    padding-top: 12px;
    background: var(--bg);
  }

  .intent-strip a {
    min-height: auto;
    box-shadow: none;
  }

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

  .product-grid article,
  .process-grid li {
    min-height: auto;
  }

  .service-table article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .faq-list summary {
    padding: 16px;
  }

  .faq-list p {
    padding: 0 16px 16px;
  }

  .final-cta {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .footer-link {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .back-to-top {
    right: 12px;
    bottom: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
