:root {
  --navy-950: #071426;
  --navy-900: #0a1c33;
  --navy-800: #102944;
  --navy-700: #173a5c;
  --white: #ffffff;
  --mist: #eef5fb;
  --steel: #9fb4c7;
  --cyan: #5fd9ff;
  --cyan-soft: rgba(95, 217, 255, 0.18);
  --gold: #d9b56d;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--navy-950);
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(115deg, rgba(7, 20, 38, 0.96) 0%, rgba(10, 28, 51, 0.88) 44%, rgba(7, 20, 38, 0.98) 100%),
    radial-gradient(circle at 82% 14%, rgba(95, 217, 255, 0.16), transparent 26%),
    radial-gradient(circle at 14% 72%, rgba(217, 181, 109, 0.1), transparent 22%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 78%);
}

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

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

.site-header {
  position: sticky;
  top: 12px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(7, 20, 38, 0.82);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.menu-toggle {
  position: relative;
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(95, 217, 255, 0.2);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  color: var(--white);
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.menu-toggle:hover,
.menu-toggle[aria-expanded="true"] {
  border-color: rgba(95, 217, 255, 0.42);
  background: rgba(95, 217, 255, 0.12);
  box-shadow: 0 0 0 4px rgba(95, 217, 255, 0.08);
}

.menu-toggle span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle span:nth-child(1) {
  transform: translate(-50%, calc(-50% - 7px));
}

.menu-toggle span:nth-child(3) {
  transform: translate(-50%, calc(-50% + 7px));
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.brand,
.nav-links,
.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-size: 1rem;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.brand-mark img {
  width: 40px;
  height: 40px;
  filter: none;
  mix-blend-mode: normal;
  object-fit: contain;
  opacity: 1;
}

.nav-links {
  gap: 28px;
  color: var(--steel);
  font-size: 0.94rem;
  font-weight: 600;
}

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

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

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

#services,
#product,
#about,
#contact {
  scroll-margin-top: 110px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(380px, 1.06fr);
  gap: 54px;
  align-items: center;
  min-height: min(760px, calc(100vh - 132px));
  padding: 46px 0 78px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.3rem, 8vw, 6.7rem);
  line-height: 0.93;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.25rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
  line-height: 1.2;
}

.hero-subtitle,
.section-heading p,
.product-copy p,
.about-panel p,
.contact-copy p {
  color: #cad8e5;
  font-size: 1.08rem;
}

.hero-subtitle {
  max-width: 650px;
  margin-bottom: 34px;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button-primary {
  background: var(--white);
  color: var(--navy-950);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
}

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

.button-secondary:hover {
  border-color: rgba(95, 217, 255, 0.5);
  background: rgba(95, 217, 255, 0.1);
}

.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 580px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 50% 52%, rgba(7, 20, 38, 0.76), rgba(7, 20, 38, 0.38) 34%, rgba(7, 20, 38, 0.1) 62%),
    linear-gradient(90deg, rgba(7, 20, 38, 0.22), transparent 45%),
    linear-gradient(0deg, rgba(7, 20, 38, 0.26), transparent 52%);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 580px;
  object-fit: cover;
}

.signal-panel {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: min(86%, 540px);
  padding: 0;
  text-align: center;
  transform: translate(-50%, -50%);
}

.signal-panel span {
  display: block;
  color: rgba(202, 216, 229, 0.9);
  font-size: clamp(0.72rem, 1.35vw, 0.82rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
}

.signal-panel strong {
  display: block;
  min-height: 2.05em;
  margin-top: 10px;
  color: var(--white);
  font-size: clamp(2.35rem, 5.5vw, 4.7rem);
  line-height: 0.98;
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.62);
  text-wrap: balance;
}

.signal-panel strong.is-changing {
  animation: cycle-text 420ms ease;
}

@keyframes cycle-text {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1180px, calc(100% - 40px));
  margin: -28px auto 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(10, 28, 51, 0.82);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.trust-strip span {
  min-height: 76px;
  padding: 24px;
  border-right: 1px solid var(--line);
  color: #dce8f1;
  font-size: 0.9rem;
  font-weight: 800;
}

.trust-strip span:last-child {
  border-right: 0;
}

.services-section,
.about-section,
.contact-layout {
  padding: 118px 0;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 44px;
}

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

.service-card {
  min-height: 310px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(95, 217, 255, 0.42);
  background: linear-gradient(180deg, rgba(95, 217, 255, 0.12), rgba(255, 255, 255, 0.04));
}

.service-card p,
.feature-list p,
.metrics-grid span {
  color: var(--steel);
}

.service-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 56px;
  border: 1px solid rgba(95, 217, 255, 0.36);
  border-radius: 8px;
  background: var(--cyan-soft);
}

.service-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: var(--cyan);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.product-section {
  border-block: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(238, 245, 251, 0.98));
  color: var(--navy-950);
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1.15fr);
  gap: 54px;
  align-items: center;
  padding: 104px 0;
}

.product-copy .eyebrow {
  color: var(--navy-700);
}

.product-brand {
  display: block;
  margin-bottom: 22px;
}

.product-wordmark {
  display: block;
  width: min(100%, 420px);
  max-height: 132px;
  object-fit: contain;
  object-position: left center;
}

.product-copy p {
  color: #314a61;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--navy-950);
  font-weight: 800;
  border-bottom: 2px solid var(--gold);
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list div {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid rgba(16, 41, 68, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 55px rgba(16, 41, 68, 0.08);
}

.feature-list span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: var(--navy-950);
  color: var(--white);
  font-weight: 800;
}

.feature-list p {
  margin: 0;
  color: #365068;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 54px;
  align-items: end;
}

.about-panel {
  max-width: 780px;
}

.metrics-grid {
  display: grid;
  gap: 14px;
}

.metrics-grid div {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.metrics-grid strong {
  display: block;
  margin-bottom: 6px;
  color: var(--cyan);
  font-size: 1.4rem;
}

.contact-section {
  background: rgba(255, 255, 255, 0.035);
  border-top: 1px solid var(--line);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
  gap: 54px;
}

.email-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--white);
  font-size: 1.12rem;
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 20, 38, 0.68);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: #dce8f1;
  font-size: 0.9rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font: inherit;
  outline: none;
  padding: 14px 15px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: rgba(95, 217, 255, 0.68);
  box-shadow: 0 0 0 4px rgba(95, 217, 255, 0.12);
}

input.has-error,
textarea.has-error {
  border-color: rgba(255, 180, 180, 0.9);
  box-shadow: 0 0 0 4px rgba(255, 180, 180, 0.11);
}

.field-error {
  min-height: 18px;
  color: #ffb4b4;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
}

.privacy-check {
  grid-template-columns: 18px 1fr;
  align-items: start;
  color: var(--steel);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.45;
}

.privacy-check input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--cyan);
}

.privacy-error {
  grid-column: 2;
}

.privacy-check a,
.policy-content a,
.footer-links a {
  color: var(--white);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(95, 217, 255, 0.55);
  text-underline-offset: 3px;
}

.form-status {
  min-height: 22px;
  margin: -4px 0 0;
  color: var(--steel);
  font-size: 0.88rem;
  font-weight: 700;
}

.form-status.is-success {
  color: #7df0ba;
}

.form-status.is-error {
  color: #ffb4b4;
}

.site-footer {
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 40px));
  min-height: 92px;
  margin: 0 auto;
  color: var(--steel);
  font-size: 0.92rem;
}

.site-footer > span:not(.footer-brand) {
  text-align: center;
}

.site-footer > span:last-child {
  text-align: right;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

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

.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: #ffffff;
  filter: none;
  mix-blend-mode: normal;
  object-fit: contain;
  opacity: 1;
  padding: 2px;
}

.policy-header {
  position: relative;
}

.policy-page {
  padding-bottom: 60px;
}

.policy-hero {
  padding: 84px 0 46px;
}

.policy-hero h1 {
  max-width: 960px;
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
}

.policy-hero p:last-child {
  color: var(--steel);
  font-weight: 700;
}

.policy-content {
  max-width: 900px;
  padding: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.policy-content h2 {
  margin: 46px 0 12px;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content p,
.policy-content li {
  color: #cad8e5;
  font-size: 1.08rem;
  line-height: 1.65;
}

.policy-content ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

.policy-content li {
  margin-bottom: 10px;
}

[data-reveal] {
  animation: fade-up 700ms ease both;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .product-layout,
  .about-section,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 28px 0 48px;
  }

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

  .hero-visual img {
    min-height: 420px;
  }

  .trust-strip,
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-strip span:nth-child(2) {
    border-right: 0;
  }

  .trust-strip span:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .site-header,
  .section-shell,
  .trust-strip,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    align-items: center;
    flex-direction: row;
    gap: 12px;
    justify-content: space-between;
    min-height: 74px;
  }

  .menu-toggle {
    display: grid;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    left: auto;
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    justify-items: stretch;
    width: min(270px, calc(100vw - 28px));
    gap: 6px;
    padding: 12px;
    border: 1px solid rgba(95, 217, 255, 0.18);
    border-radius: 8px;
    background:
      linear-gradient(180deg, rgba(16, 41, 68, 0.98), rgba(7, 20, 38, 0.98)),
      var(--navy-950);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
    overflow: visible;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-links::before {
    position: absolute;
    top: -6px;
    right: 17px;
    width: 12px;
    height: 12px;
    border-top: 1px solid rgba(95, 217, 255, 0.18);
    border-left: 1px solid rgba(95, 217, 255, 0.18);
    background: rgba(16, 41, 68, 0.98);
    content: "";
    transform: rotate(45deg);
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .nav-links a {
    display: block;
    padding: 13px 12px;
    border-radius: 8px;
    color: #dce8f1;
    font-size: 0.94rem;
    font-weight: 800;
    letter-spacing: 0;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible {
    background: rgba(95, 217, 255, 0.1);
    color: var(--white);
  }

  h1 {
    font-size: clamp(2.65rem, 17vw, 4.5rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero {
    padding-bottom: 54px;
  }

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

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

  .hero-visual img {
    min-height: 350px;
  }

  .signal-panel {
    width: min(calc(100% - 28px), 340px);
  }

  .trust-strip,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-strip span:last-child {
    border-bottom: 0;
  }

  .services-section,
  .about-section,
  .contact-layout {
    padding: 80px 0;
  }

  .product-layout {
    padding: 80px 0;
  }

  .service-card,
  .contact-form {
    padding: 22px;
  }

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

  .product-brand {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .product-wordmark {
    width: min(100%, 320px);
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .site-footer > span:not(.footer-brand),
  .site-footer > span:last-child {
    text-align: left;
  }

  .footer-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .policy-hero {
    padding-top: 56px;
  }

  .policy-content {
    padding: 24px;
  }
}
