:root {
  color-scheme: dark;
  --bg: #05080d;
  --bg-soft: #08111b;
  --panel: rgba(12, 20, 31, .74);
  --panel-strong: rgba(15, 26, 39, .92);
  --line: rgba(160, 184, 216, .18);
  --line-strong: rgba(107, 252, 185, .42);
  --text: #f4f7fb;
  --muted: #aeb9c8;
  --soft: #7f8da1;
  --purple: #9a5cff;
  --cyan: #25c8ff;
  --green: #38f08e;
  --danger: #ff6f91;
  --shadow: 0 24px 80px rgba(0, 0, 0, .35);
  --gradient: linear-gradient(110deg, var(--purple), var(--cyan) 52%, var(--green));
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --header-logo-size: 104px;
  --header-pad-y: 0px;
  --header-min-height: 138px;
  --header-border-width: 1px;
  --header-height: calc(var(--header-min-height) + var(--header-border-width));
  --anchor-offset: var(--header-height);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--anchor-offset);
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 16% 0%, rgba(154, 92, 255, .14), transparent 30rem),
    radial-gradient(circle at 86% 8%, rgba(37, 200, 255, .1), transparent 28rem),
    radial-gradient(circle at 58% 74%, rgba(56, 240, 142, .08), transparent 34rem),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
}

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

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

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

a:hover {
  color: #fff;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(37, 200, 255, .9);
  outline-offset: 4px;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  padding: .65rem .9rem;
  border-radius: 6px;
  background: #fff;
  color: #05101c;
  transform: translateY(-150%);
}

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

.shell {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 76px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(160, 184, 216, .12);
  background: rgba(5, 8, 13, .82);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: var(--header-min-height);
  padding: var(--header-pad-y) 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  flex: 0 0 auto;
  font-weight: 760;
  font-size: 1.18rem;
}

.brand img {
  width: var(--header-logo-size);
  height: var(--header-logo-size);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  gap: clamp(.7rem, 2.2vw, 1.7rem);
  color: var(--muted);
  font-size: .92rem;
}

.site-nav a {
  padding: .5rem .1rem;
}

.header-inner > .button {
  margin-right: clamp(1.2rem, 4vw, 2rem);
}

.button {
  --button-base: #101a29;
  --button-fill: 0;
  --button-fill-mid: 0;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 1.05rem;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(110deg, rgba(154, 92, 255, var(--button-fill)), rgba(37, 200, 255, var(--button-fill-mid)) 52%, rgba(56, 240, 142, var(--button-fill))),
    var(--button-base);
  color: var(--text);
  font-weight: 720;
  font-size: .94rem;
  box-shadow: 0 0 28px rgba(37, 200, 255, .12);
  transition: color 140ms ease;
}

.button::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 1px;
  border-radius: inherit;
  background: var(--gradient);
  content: "";
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.button:hover,
.button:focus-visible {
  --button-fill: .22;
  --button-fill-mid: .19;
  color: var(--text);
}

.button-small {
  min-height: 40px;
  padding-inline: .92rem;
  font-size: .86rem;
}

.button-secondary {
  --button-base: rgba(15, 26, 39, .7);
  border-color: rgba(160, 184, 216, .25);
  color: var(--muted);
  box-shadow: none;
}

.button-secondary::before {
  opacity: .35;
}

.hero {
  padding-top: 94px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, .9fr);
  align-items: center;
  gap: clamp(42px, 7vw, 88px);
}

.eyebrow {
  margin: 0 0 .8rem;
  color: var(--green);
  font-size: .78rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 1.25rem;
  font-size: 5.4rem;
  line-height: .95;
  letter-spacing: 0;
}

h1 span,
.product-brand h2 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  margin-bottom: 1rem;
  font-size: 3.1rem;
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin-bottom: .72rem;
  font-size: 1.18rem;
  line-height: 1.15;
}

.hero-lede {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin: 2rem 0 1.5rem;
}

.value-list {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.2rem;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  list-style: none;
}

.value-list li {
  display: inline-flex;
  align-items: center;
  gap: .52rem;
}

.value-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}

.hero-visual {
  position: relative;
  min-height: 470px;
  overflow: visible;
  background-image: url("/assets/hero-image.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  filter: drop-shadow(0 34px 60px rgba(0, 0, 0, .3));
}

@supports (background-image: image-set(url("/assets/hero-image-900.webp") 1x)) {
  .hero-visual {
    background-image: image-set(
      url("/assets/hero-image-900.webp") 1x,
      url("/assets/hero-image-1200.webp") 2x
    );
  }
}

@supports (background-image: image-set(url("/assets/hero-image-900.avif") type("image/avif") 1x)) {
  .hero-visual {
    background-image: image-set(
      url("/assets/hero-image-900.avif") type("image/avif") 1x,
      url("/assets/hero-image-1200.avif") type("image/avif") 2x,
      url("/assets/hero-image-900.webp") type("image/webp") 1x,
      url("/assets/hero-image-1200.webp") type("image/webp") 2x
    );
  }
}

.hero-flow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.hero-flow-path {
  fill: none;
  stroke: transparent;
}

.hero-flow-dot {
  opacity: 0;
  mix-blend-mode: screen;
}

.hero-flow-halo {
  opacity: .16;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.75rem;
}

.section-heading h2 {
  max-width: 680px;
}

.compact-heading {
  max-width: 760px;
  display: block;
}

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

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(160deg, rgba(18, 30, 45, .92), rgba(8, 15, 24, .86));
  box-shadow: 0 16px 50px rgba(0, 0, 0, .2);
}

.service-card {
  display: flex;
  min-height: 400px;
  flex-direction: column;
  padding: 1.25rem;
}

.primary-card {
  border-color: rgba(154, 92, 255, .48);
}

.service-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.05rem;
  flex: 0 0 auto;
}

.service-card p {
  color: var(--muted);
  font-size: .95rem;
}

.service-card ul,
.product-list {
  padding: 1rem 0 0;
  margin: auto 0 0;
  border-top: 1px solid rgba(160, 184, 216, .12);
  color: var(--muted);
  font-size: .9rem;
  list-style: none;
}

.service-card li,
.product-list li {
  position: relative;
  padding-left: 1.15rem;
  margin-bottom: .48rem;
}

.service-card li::before,
.product-list li::before {
  position: absolute;
  left: 0;
  content: "✓";
  color: var(--green);
}

.product-panel {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid rgba(56, 240, 142, .42);
  border-radius: 8px;
  background:
    radial-gradient(circle at 82% 18%, rgba(56, 240, 142, .12), transparent 22rem),
    linear-gradient(140deg, rgba(14, 23, 36, .96), rgba(7, 14, 23, .94));
  box-shadow: 0 0 60px rgba(56, 240, 142, .08);
}

.product-brand {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.product-brand img {
  width: 96px;
  height: 96px;
  flex: 0 0 auto;
}

.product-brand h2 {
  margin-bottom: .55rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.product-brand p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.product-list {
  padding-top: 0;
  border-top: 0;
  margin-top: 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 14% 0%, rgba(154, 92, 255, .12), transparent 18rem),
    linear-gradient(140deg, rgba(12, 20, 31, .72), rgba(7, 14, 23, .82));
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: .9rem;
  align-items: center;
  min-height: 92px;
  padding: .9rem 1.1rem;
}

.process-step + .process-step {
  border-left: 1px solid rgba(160, 184, 216, .12);
}

.process-step:not(:last-child)::after {
  position: absolute;
  right: -.34rem;
  top: 50%;
  z-index: 1;
  width: .68rem;
  height: .68rem;
  border-top: 1px solid rgba(160, 184, 216, .5);
  border-right: 1px solid rgba(160, 184, 216, .5);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.process-icon {
  width: 52px;
  height: 52px;
  filter: drop-shadow(0 0 18px rgba(154, 92, 255, .18));
  flex: 0 0 auto;
}

.process-step h3 {
  margin-bottom: .25rem;
  font-size: .98rem;
}

.process-step p,
.about-section p,
.faq-section p,
.contact-section p {
  color: var(--muted);
}

.about-section .eyebrow,
.faq-section .eyebrow,
.contact-section .eyebrow {
  color: var(--green);
}

.about-grid {
  display: grid;
  grid-template-columns: 104px minmax(0, 760px);
  gap: 1.4rem;
  align-items: center;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(220px, .4fr) minmax(0, 1fr);
  gap: 2rem;
}

.faq-list {
  display: grid;
  gap: .8rem;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(11, 18, 29, .72);
}

summary {
  cursor: pointer;
  padding: 1rem 1.1rem;
  font-weight: 720;
}

details p {
  padding: 0 1.1rem 1.05rem;
  margin: 0;
}

.cta-band {
  --cta-band-pad: clamp(1.2rem, 4vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: var(--cta-band-pad);
  border: 1px solid rgba(37, 200, 255, .34);
  border-radius: 8px;
  background: linear-gradient(120deg, rgba(154, 92, 255, .14), rgba(37, 200, 255, .08), rgba(56, 240, 142, .1));
}

.cta-band h2 {
  max-width: 760px;
  margin: 0;
  font-size: 2.5rem;
}

.cta-band .button {
  margin-left: auto;
  white-space: nowrap;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .65fr) minmax(320px, .75fr);
  gap: clamp(2rem, 6vw, 4rem);
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.4rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
}

.field-group {
  display: grid;
  gap: .45rem;
}

label {
  color: var(--muted);
  font-size: .88rem;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(160, 184, 216, .22);
  border-radius: 6px;
  background: #070f18;
  color: var(--text);
  padding: .8rem .9rem;
}

textarea {
  resize: vertical;
}

.bot-field {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  color: var(--muted);
}

.form-status[data-state="success"] {
  color: var(--green);
}

.form-status[data-state="error"] {
  color: var(--danger);
}

.verify-section {
  display: flex;
  min-height: calc(100vh - var(--header-height) - 45px);
  align-items: center;
}

.verify-panel {
  max-width: 720px;
}

.verify-panel h1 {
  margin-bottom: 1rem;
}

.turnstile-shell {
  display: flex;
  min-height: 86px;
  align-items: center;
  margin: 2rem 0 1rem;
}

.verify-fallback {
  margin-top: 1.2rem;
  color: var(--muted);
}

.verify-fallback a {
  color: var(--green);
  font-weight: 700;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(160, 184, 216, .12);
  padding: 10px 20px;
  color: var(--muted);
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: .92rem;
}

@media (max-width: 980px) {
  :root {
    --header-logo-size: 56px;
    --header-pad-y: .4rem;
    --header-min-height: calc(var(--header-logo-size) + (var(--header-pad-y) * 2));
  }

  .header-inner {
    flex-wrap: nowrap;
    gap: .75rem;
  }

  .brand {
    gap: 0;
  }

  .brand span {
    display: none;
  }

  .site-nav {
    order: 0;
    flex: 1 1 auto;
    flex-basis: auto;
    min-width: 0;
    justify-content: flex-start;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 0;
    font-size: .9rem;
  }

  .site-nav a {
    padding: .25rem 0;
  }

  .header-inner > .button {
    display: none;
  }

  .hero-grid,
  .section-heading,
  .product-panel,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 64px;
  }

  h1 {
    font-size: 4.2rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  .hero-visual {
    min-height: 360px;
  }

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

  .process-step:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(160, 184, 216, .12);
  }

  .process-step:nth-child(4) {
    border-top: 1px solid rgba(160, 184, 216, .12);
  }

  .process-step:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 28px, 1120px);
  }

  .section {
    padding: 54px 0;
  }

  .site-nav {
    gap: .9rem;
    font-size: .88rem;
  }

  .hero-grid {
    gap: 22px;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-visual {
    min-height: 310px;
  }

  .service-grid,
  .process-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    min-height: 86px;
  }

  .process-step + .process-step {
    border-left: 0;
    border-top: 1px solid rgba(160, 184, 216, .12);
  }

  .process-step:not(:last-child)::after {
    display: none;
  }

  .service-card {
    min-height: auto;
  }

  .product-brand {
    align-items: flex-start;
  }

  .product-brand img {
    width: 72px;
    height: 72px;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-band .button {
    align-self: flex-end;
  }

  .cta-band h2 {
    font-size: 1.7rem;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-flow-dot,
  .hero-flow-halo,
  .hero-flow-core {
    animation: none;
  }

  .hero-flow-dot {
    display: none;
  }
}
