:root {
  color-scheme: dark;
  --bg: #07101d;
  --navy: #0b1f3a;
  --panel: #0d1726;
  --panel-2: #111824;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f3f7fb;
  --muted: #9bacbf;
  --blue: #1f6feb;
  --cyan: #00d4ff;
  --green: #00ff88;
  --gold: #b0894f;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 16, 29, 0.9);
  backdrop-filter: blur(16px);
}

.brand,
nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
}

.brand-icon {
  width: 34px;
  height: 34px;
}

nav {
  gap: 18px;
  font-size: 0.92rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
}

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

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(52px, 8vw, 104px) clamp(20px, 7vw, 96px);
  background:
    radial-gradient(circle at 80% 20%, rgba(31, 111, 235, 0.22), transparent 30%),
    linear-gradient(130deg, rgba(7, 16, 29, 0.98), rgba(11, 31, 58, 0.9));
}

.hero-asset-grid {
  position: absolute;
  right: clamp(-90px, 2vw, 90px);
  top: 16vh;
  width: min(42vw, 520px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  opacity: 0.28;
}

.hero-asset-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  filter: saturate(1.05);
}

.hero-inner {
  position: relative;
  max-width: 860px;
}

.hero-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 28px;
}

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

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 6vw, 6.2rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy,
.section-heading p,
.subsidiary-copy p,
.method p,
.product-card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy {
  max-width: 700px;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 6px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  border-color: var(--blue);
  background: var(--blue);
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(20px, 7vw, 96px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: 34px;
}

.section-heading h2,
.subsidiary h2,
.method h2,
.contact h2 {
  max-width: 820px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.products {
  background: #081323;
}

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

.product-card,
.method article {
  min-height: 248px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.product-card.defense {
  border-color: rgba(0, 212, 255, 0.34);
  background: rgba(0, 212, 255, 0.06);
}

.product-logo {
  width: 100%;
  height: 80px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 20px;
}

.product-card h3,
.method h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.subsidiary {
  display: grid;
  grid-template-columns: minmax(240px, 420px) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: center;
  background: #f5efe2;
  color: #132033;
}

.subsidiary-lockup {
  display: grid;
  min-height: 260px;
  align-items: center;
  padding: 24px;
  border: 1px solid rgba(176, 137, 79, 0.34);
  border-radius: 8px;
  background: #fffaf0;
}

.subsidiary-lockup img {
  width: 100%;
  object-fit: contain;
}

.subsidiary-copy p {
  max-width: 720px;
  color: #59616f;
}

.index-strip {
  display: flex;
  gap: 12px;
  margin: 24px 0;
}

.index-strip img {
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.method {
  background: #0d0d14;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.contact {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  background: var(--navy);
}

.tools-promo,
.mcp-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #07101d;
}

.tools-promo p,
.mcp-promo p {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.7;
}

.mcp-promo {
  background: #0d1726;
}

.tool-hero {
  min-height: 64vh;
  display: grid;
  align-items: center;
  padding: clamp(52px, 8vw, 96px) clamp(20px, 7vw, 96px);
  background:
    radial-gradient(circle at 82% 18%, rgba(0, 212, 255, 0.18), transparent 28%),
    linear-gradient(130deg, #07101d, #0b1f3a);
}

.tool-mark {
  width: 110px;
  height: 110px;
  object-fit: contain;
  margin-bottom: 26px;
}

.tool-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.75;
}

.tool-grid-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  background: #081323;
}

.tool-card {
  min-height: 420px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.tool-card-head {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
}

.tool-card-head img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.tool-card h2 {
  margin-bottom: 6px;
  font-size: 1.35rem;
}

.tool-card p {
  color: var(--muted);
  line-height: 1.55;
}

.tool-inputs,
.check-list {
  display: grid;
  gap: 12px;
  margin: 22px 0;
  font-size: 0.95rem;
}

.tool-inputs label,
.check-list label {
  display: grid;
  gap: 7px;
  color: #d8e4f2;
}

.tool-inputs input[type="number"] {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  background: #0a1322;
}

.tool-output {
  display: block;
  padding: 16px;
  border: 1px solid rgba(31, 111, 235, 0.38);
  border-radius: 8px;
  color: #f3f7fb;
  background: rgba(31, 111, 235, 0.14);
  font-weight: 850;
}

.mcp-hero {
  min-height: 64vh;
  display: grid;
  align-items: center;
  padding: clamp(52px, 8vw, 96px) clamp(20px, 7vw, 96px);
  background:
    radial-gradient(circle at 78% 18%, rgba(31, 111, 235, 0.22), transparent 28%),
    linear-gradient(130deg, #07101d, #0d1726);
}

.mcp-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.75;
}

.mcp-grid-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  background: #081323;
}

.mcp-card {
  min-height: 330px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.mcp-card h2 {
  font-size: 1.25rem;
  line-height: 1.2;
}

.mcp-card p,
.mcp-card li {
  color: var(--muted);
  line-height: 1.65;
}

.mcp-card code {
  color: var(--cyan);
}

.mcp-status {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 10px;
  border: 1px solid rgba(0, 212, 255, 0.28);
  border-radius: 999px;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mcp-principles {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  background: #0d0d14;
}

.mcp-principles p,
.mcp-principles li {
  color: var(--muted);
  line-height: 1.7;
}

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

@media (max-width: 760px) {
  .site-header,
  .section-heading,
  .subsidiary,
  .method-grid,
  .tool-grid-section {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    flex-wrap: wrap;
  }

  .hero-asset-grid {
    display: none;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .tools-promo,
  .mcp-promo {
    align-items: flex-start;
    flex-direction: column;
  }

  .mcp-grid-section,
  .mcp-principles {
    grid-template-columns: 1fr;
  }
}
