:root {
  --deep: #061827;
  --deep-2: #071f33;
  --ocean: #0b2a42;
  --petrol: #123a52;
  --blue: #0078d4;
  --ice: #f4f8fb;
  --muted: #a9bdca;
  --gold: #d4af37;
  --amber: #f2c66d;
  --glass: rgba(244, 248, 251, 0.08);
  --line: rgba(244, 248, 251, 0.16);
  --shadow: rgba(0, 0, 0, 0.45);
  --danger: #ff6f61;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ice);
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 120, 212, 0.18), transparent 32rem),
    linear-gradient(180deg, var(--deep) 0%, var(--deep-2) 42%, #04111d 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body.legal-body {
  background:
    radial-gradient(circle at 20% 0%, rgba(212, 175, 55, 0.09), transparent 26rem),
    linear-gradient(180deg, var(--deep) 0%, #04111d 100%);
}

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

p {
  line-height: 1.7;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 4vw, 4rem);
  background: linear-gradient(180deg, rgba(6, 24, 39, 0.86), rgba(6, 24, 39, 0.26), transparent);
  backdrop-filter: blur(14px);
}

.brand {
  display: grid;
  gap: 0.15rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand small {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 1.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}

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

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

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  margin: 7px auto;
  background: var(--ice);
}

.section,
.section-full,
.legal-main {
  position: relative;
  padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 6vw, 6rem);
}

.section-full {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.hero {
  overflow: hidden;
}

.hero-content {
  max-width: 980px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 700;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 0.95;
}

h1 {
  font-size: clamp(3.2rem, 10.5vw, 9.2rem);
  letter-spacing: -0.08em;
}

h2 {
  font-size: clamp(2.3rem, 6.6vw, 5.8rem);
  letter-spacing: -0.065em;
}

h3 {
  font-size: clamp(1.28rem, 2.35vw, 1.9rem);
  letter-spacing: -0.035em;
}

h4 {
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
}

.lead {
  max-width: 780px;
  margin: 2rem auto 0;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  line-height: 1.55;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.4rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  transition: transform 180ms ease, background 180ms ease, border 180ms ease;
}

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

.btn.primary {
  background: linear-gradient(135deg, var(--blue), #46b7ff);
  border-color: transparent;
  color: white;
  box-shadow: 0 18px 50px rgba(0, 120, 212, 0.25);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.04);
}

.beam {
  position: absolute;
  width: 68vw;
  height: 15vh;
  background: linear-gradient(90deg, transparent, rgba(244, 248, 251, 0.26), transparent);
  filter: blur(22px);
  opacity: 0.42;
  transform-origin: center;
  mix-blend-mode: screen;
}

.beam-a {
  top: 18%;
  left: -20%;
  transform: rotate(-18deg);
  animation: driftA 14s ease-in-out infinite alternate;
}

.beam-b {
  bottom: 14%;
  right: -28%;
  transform: rotate(20deg);
  animation: driftB 16s ease-in-out infinite alternate;
}

.hero-orbit {
  position: absolute;
  inset: auto 5vw 6vh 5vw;
  display: flex;
  justify-content: space-between;
  color: rgba(244, 248, 251, 0.22);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-weight: 800;
}

.ambient {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.4;
}

.ambient-one {
  width: 32vw;
  height: 32vw;
  left: -10vw;
  top: 20vh;
  background: rgba(0, 120, 212, 0.3);
}

.ambient-two {
  width: 28vw;
  height: 28vw;
  right: -12vw;
  top: 45vh;
  background: rgba(212, 175, 55, 0.12);
}

.cursor-glow {
  position: fixed;
  z-index: 100;
  width: 240px;
  height: 240px;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 248, 251, 0.12), transparent 64%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.two-column {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.two-column p,
.world-header p,
.contact-card p {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.7;
}

.world {
  border-top: 1px solid var(--line);
}

.world::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 74% 16%, rgba(244, 248, 251, 0.07), transparent 28rem);
}

.world-header {
  max-width: 900px;
  margin: 0 auto 3rem;
}

.world-header h2 {
  margin: 0.4rem 0 1.2rem;
}

.cards,
.lab-grid,
.story-grid,
.experience-grid,
.trust-grid {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  display: grid;
  gap: 1rem;
}

.cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.experience-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2.2rem;
}

.card,
.lab-card,
.story-panel,
.contact-card,
.pipeline div,
.experience-card,
.trust-card,
.legal-card {
  background: linear-gradient(180deg, rgba(244, 248, 251, 0.09), rgba(244, 248, 251, 0.035));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(1.2rem, 2vw, 2rem);
  box-shadow: 0 24px 70px var(--shadow);
  backdrop-filter: blur(18px);
}

.card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card p,
.lab-card p,
.story-panel p,
.pipeline span,
.experience-card p,
.trust-card p,
.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.6;
}

.icon {
  font-size: 2rem;
}

.story-panel {
  max-width: var(--max);
  margin: 1rem auto 0;
}

.story-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1rem;
}

.feature-strip {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.feature-strip span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.85rem 1rem;
  color: var(--muted);
  background: rgba(244, 248, 251, 0.05);
}

.sensecore {
  background: linear-gradient(180deg, rgba(0, 120, 212, 0.08), rgba(212, 175, 55, 0.045));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pipeline {
  max-width: var(--max);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 3rem auto 0;
}

.pipeline strong {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}

.lab-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.contact {
  display: grid;
  place-items: center;
  min-height: 70vh;
}

.contact-card {
  max-width: 900px;
  text-align: center;
}

.contact-card .btn {
  margin-top: 1rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 3rem clamp(1.25rem, 6vw, 6rem);
  color: var(--muted);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
}

.footer-brand {
  display: grid;
  gap: 0.6rem;
}

.footer-brand strong {
  color: var(--ice);
  font-size: 1.3rem;
  letter-spacing: 0.08em;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a:hover {
  color: var(--ice);
}

.legal-main {
  min-height: 100vh;
  padding-top: 9rem;
}

.legal-card {
  max-width: 980px;
  margin: 0 auto;
}

.legal-card h1 {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  margin-bottom: 1rem;
}

.legal-card h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-top: 2.4rem;
  margin-bottom: 0.8rem;
  letter-spacing: -0.04em;
}

.legal-note {
  border-left: 3px solid var(--amber);
  padding-left: 1rem;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes driftA {
  from { transform: rotate(-18deg) translateX(-2vw); }
  to { transform: rotate(-12deg) translateX(12vw); }
}

@keyframes driftB {
  from { transform: rotate(20deg) translateX(2vw); }
  to { transform: rotate(14deg) translateX(-12vw); }
}

@media (max-width: 1040px) {
  .experience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .site-nav {
    position: fixed;
    top: 82px;
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(6, 24, 39, 0.96);
  }

  .site-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .two-column,
  .cards,
  .cards.three,
  .pipeline,
  .lab-grid,
  .story-grid,
  .trust-grid,
  .experience-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .hero-orbit {
    display: none;
  }

  .cursor-glow {
    display: none;
  }
}

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

.brand{
    display:flex;
    align-items:center;
    gap:18px;
}

.brand-logo{
    width:54px;
    height:54px;
    object-fit:contain;
}

.brand-text{
    display:flex;
    flex-direction:column;
}

.footer-brand{

    display:flex;

    align-items:center;

    gap:20px;

}

.footer-logo{

    width:70px;

    height:auto;

}

