:root {
  --ink: #08111f;
  --muted: #526172;
  --line: rgba(12, 25, 43, 0.12);
  --panel: rgba(255, 255, 255, 0.88);
  --blue: #0a5cff;
  --cyan: #23c8d2;
  --green: #45d483;
  --amber: #f5b84b;
  --white: #ffffff;
  --shadow: 0 26px 80px rgba(6, 17, 33, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f6f8fb;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 4vw, 56px);
  color: var(--white);
}

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

.brand-mark {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-note {
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 30px);
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 650;
}

.nav a {
  transition: color 180ms ease;
}

.nav a:hover {
  color: var(--white);
}

.nav-product {
  position: relative;
}

.nav-product::before {
  content: "";
  position: absolute;
  top: 100%;
  right: -12px;
  left: -12px;
  height: 14px;
}

.nav-product-trigger {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  cursor: pointer;
}

.nav-product-trigger::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}

.nav-product-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 5;
  width: 260px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(6, 17, 31, 0.96);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.nav-product:hover .nav-product-menu,
.nav-product:focus-within .nav-product-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-product-menu a {
  display: grid;
  gap: 3px;
  padding: 12px;
  border-radius: 6px;
  color: var(--white);
}

.nav-product-menu a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-product-menu span {
  font-size: 14px;
  font-weight: 850;
}

.nav-product-menu small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 650;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 74% 22%, rgba(35, 200, 210, 0.2), transparent 28%),
    linear-gradient(135deg, #07101e 0%, #0b1930 45%, #102a3b 100%);
  background-size: 82px 82px, 82px 82px, auto, auto;
}

#security-canvas,
.hero-overlay {
  position: absolute;
  inset: 0;
}

#security-canvas {
  width: 100%;
  height: 100%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 16, 31, 0.94) 0%, rgba(6, 16, 31, 0.72) 44%, rgba(6, 16, 31, 0.36) 100%),
    linear-gradient(0deg, rgba(246, 248, 251, 0.12) 0, transparent 28%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  align-items: end;
  gap: clamp(36px, 7vw, 90px);
  width: min(1180px, calc(100% - 40px));
  min-height: 92vh;
  margin: 0 auto;
  padding: 132px 0 72px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

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

.button.primary {
  color: #06111f;
  background: linear-gradient(135deg, var(--green), var(--cyan));
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.button.dark {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), #09306f);
}

.signal-panel {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(6, 15, 27, 0.68);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.panel-header,
.signal-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.panel-header {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-dot {
  width: 10px;
  height: 10px;
  margin-right: auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(69, 212, 131, 0.12);
}

.signal-list div {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.signal-list div:last-child {
  border-bottom: 0;
}

.signal-list span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
}

.signal-list strong {
  color: var(--white);
  font-size: 14px;
}

.section-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 100px 0;
}

.intro {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: clamp(28px, 7vw, 90px);
  align-items: start;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

.intro p:last-child,
.security-copy p,
.contact-card p {
  color: var(--muted);
  font-size: 18px;
}

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

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--white);
}

.service-card {
  min-height: 340px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.service-card:last-child {
  border-right: 0;
}

.service-card.accent {
  color: var(--white);
  background: linear-gradient(180deg, #092f68, #081526);
}

.service-number {
  display: block;
  margin-bottom: 76px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
}

.service-card.accent .service-number {
  color: var(--green);
}

.service-card h3,
.security-matrix h3,
.method-card h3 {
  font-size: 20px;
  line-height: 1.18;
  letter-spacing: 0;
}

.service-card p,
.security-matrix p {
  color: var(--muted);
  font-size: 15px;
}

.service-card.accent p {
  color: rgba(255, 255, 255, 0.72);
}

.security-band {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(6, 17, 33, 0.98), rgba(7, 36, 55, 0.96)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 88px);
}

.security-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(34px, 7vw, 76px);
  align-items: start;
}

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

.security-copy p {
  color: rgba(255, 255, 255, 0.7);
}

.security-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.security-matrix div {
  min-height: 230px;
  padding: 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.security-matrix div:nth-child(2n) {
  border-right: 0;
}

.security-matrix div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.security-matrix p {
  color: rgba(255, 255, 255, 0.68);
}

.method-section {
  padding-bottom: 70px;
}

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

.method-card {
  min-height: 148px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.method-card.strong {
  color: var(--white);
  border-color: transparent;
  background: linear-gradient(135deg, #0a5cff, #0e273f);
}

.method-card span {
  display: block;
  margin-bottom: 34px;
  color: var(--blue);
  font-weight: 850;
}

.method-card.strong span {
  color: var(--green);
}

.proof-band {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #e9eef4;
}

.proof-track {
  display: flex;
  gap: 12px;
  width: max-content;
  padding: 18px 20px;
  animation: drift 28s linear infinite;
}

.proof-track span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid rgba(8, 17, 31, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: #263446;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.work {
  padding-bottom: 30px;
}

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

.work-card {
  min-height: 270px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9)),
    radial-gradient(circle at 84% 12%, rgba(35, 200, 210, 0.24), transparent 32%);
}

.work-card span {
  display: block;
  margin-bottom: 58px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.work-card h3 {
  margin-bottom: 12px;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: 0;
}

.work-card p {
  color: var(--muted);
  font-size: 14px;
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(30px, 8vw, 96px);
  align-items: start;
}

.contact-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 54px rgba(8, 17, 31, 0.08);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  color: #263446;
  font-size: 13px;
  font-weight: 800;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid rgba(8, 17, 31, 0.16);
  border-radius: 6px;
  background: #f9fbfd;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.form-row input,
.form-row select {
  height: 48px;
  padding: 0 14px;
}

.form-row textarea {
  min-height: 132px;
  resize: vertical;
  padding: 12px 14px;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: rgba(10, 92, 255, 0.72);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(10, 92, 255, 0.1);
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.captcha-slot {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 14px;
  border: 1px dashed rgba(8, 17, 31, 0.22);
  border-radius: 6px;
  background: #f5f8fb;
  color: #526172;
  font-size: 14px;
  font-weight: 750;
}

.captcha-slot.captcha-loaded {
  display: block;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.captcha-icon {
  width: 24px;
  height: 24px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  box-shadow: inset 0 0 0 5px rgba(35, 200, 210, 0.14);
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-meta {
  display: block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.66);
  background: #06111f;
  font-size: 13px;
  font-weight: 750;
}

@keyframes drift {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 980px) {
  .site-header {
    position: absolute;
  }

  .brand-note {
    display: none;
  }

  .hero-grid,
  .intro,
  .security-layout,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    align-items: center;
    padding-bottom: 44px;
  }

  .signal-panel {
    max-width: 520px;
  }

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

  .service-card {
    min-height: 280px;
    border-bottom: 1px solid var(--line);
  }

  .service-card:nth-child(2n) {
    border-right: 0;
  }

  .service-card:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .security-copy {
    position: static;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    padding-top: 18px;
  }

  .nav {
    max-width: 240px;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 14px;
    font-size: 12px;
  }

  .nav-product-menu {
    right: -8px;
    width: min(250px, calc(100vw - 32px));
  }

  .hero {
    min-height: auto;
  }

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

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

  .section-shell {
    width: min(100% - 32px, 1180px);
    padding: 72px 0;
  }

  .service-grid,
  .security-matrix,
  .method-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card:nth-child(2n),
  .security-matrix div,
  .security-matrix div:nth-child(2n),
  .security-matrix div:nth-last-child(-n + 2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .security-matrix div,
  .security-matrix div:nth-last-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .service-card:last-child,
  .security-matrix div:last-child {
    border-bottom: 0;
  }

  .service-number {
    margin-bottom: 42px;
  }

  .footer {
    flex-direction: column;
  }
}
