:root {
  --bg: #f4f0e6;
  --paper: #fcfaf4;
  --paper-2: #eef4fb;
  --ink: #141416;
  --muted: #56616a;
  --line: #d8d1c4;
  --line-cool: #c9d8e8;
  --brand-blue: #0e6ed8;
  --brand-blue-soft: #d8ebff;
  --brand-blue-deep: #072c58;
  --accent: #c24a15;
  --accent-dark: #9d3d13;
  --shadow: 0 18px 40px rgba(20, 20, 22, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(14, 110, 216, 0.08), transparent 26%),
    linear-gradient(180deg, #f7f3ea 0%, var(--bg) 100%);
  color: var(--ink);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
.shell { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.shell-narrow { width: min(920px, calc(100% - 2rem)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(252, 250, 244, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.brand img {
  display: block;
  height: 42px;
  width: auto;
  object-fit: contain;
}
.site-nav {
  display: flex;
  gap: 1.4rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1 1 420px;
  min-width: 0;
}
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 14px;
  border: 1px solid var(--line-cool);
  background: rgba(255, 255, 255, 0.76);
  color: var(--brand-blue-deep);
}
.nav-toggle-box {
  display: grid;
  gap: 5px;
}
.nav-toggle-box span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-open .nav-toggle-box span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-open .nav-toggle-box span:nth-child(2) {
  opacity: 0;
}
.nav-open .nav-toggle-box span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.site-nav a, .site-footer a { color: var(--muted); }
.site-nav a:hover, .site-footer a:hover, .text-link:hover { color: var(--brand-blue-deep); }
.site-nav .nav-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.55rem 0.95rem;
  border-radius: 14px;
  background: var(--brand-blue);
  color: #fdfcf8;
  border: 1px solid var(--brand-blue);
  box-shadow: 0 10px 22px rgba(14, 110, 216, 0.16);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.site-nav .nav-contact:hover {
  background: #fdfcf8;
  color: var(--brand-blue-deep);
  border-color: var(--brand-blue);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.button:hover { transform: translateY(-1px); }
.button-primary {
  background: var(--accent);
  color: #fffdf8;
  box-shadow: 0 8px 24px rgba(194, 74, 21, 0.18);
}
.button-primary::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  background:
    linear-gradient(115deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0) 28%,
      rgba(124, 207, 255, 0.95) 42%,
      rgba(255,255,255,1) 50%,
      rgba(124, 207, 255, 0.95) 58%,
      rgba(255,255,255,0) 72%,
      rgba(255,255,255,0) 100%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: laser-ring 3.2s linear infinite;
  pointer-events: none;
  z-index: -1;
}
.button-primary::after {
  content: "";
  position: absolute;
  inset: 18% -35%;
  background: linear-gradient(90deg, transparent 0%, rgba(123, 213, 255, 0.9) 46%, rgba(255,255,255,0.98) 50%, rgba(123, 213, 255, 0.9) 54%, transparent 100%);
  transform: translateX(-120%) rotate(-8deg);
  opacity: 0.85;
  filter: blur(0.5px);
  animation: laser-scan 2.8s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}
.button-primary:hover { background: var(--accent-dark); }
.button-secondary {
  background: transparent;
  border-color: var(--line-cool);
  color: var(--brand-blue-deep);
}
@keyframes laser-scan {
  0%, 12% { transform: translateX(-125%) rotate(-8deg); opacity: 0; }
  20% { opacity: 0.95; }
  48% { transform: translateX(115%) rotate(-8deg); opacity: 0.9; }
  60%, 100% { transform: translateX(115%) rotate(-8deg); opacity: 0; }
}
@keyframes laser-ring {
  0% { transform: rotate(0deg); opacity: 0.95; }
  100% { transform: rotate(360deg); opacity: 0.95; }
}
.eyebrow {
  margin: 0 0 0.6rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}
h1, h2, h3 {
  margin: 0 0 0.9rem;
  line-height: 1.08;
  letter-spacing: -0.04em;
}
h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); max-width: 11ch; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
.lead { color: var(--muted); max-width: 56ch; font-size: 1.08rem; }
.wire-hero, .wire-section, .page-hero, .page-section { padding: 3rem 0; }
.wire-hero {
  border-bottom: 1px solid var(--line);
  min-height: calc(100svh - 88px);
  display: flex;
  align-items: center;
  position: relative;
}
.wire-hero::after {
  content: "";
  position: absolute;
  right: 0;
  top: 18%;
  width: 40%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(14, 110, 216, 0.15) 20%, rgba(14, 110, 216, 0.95) 60%, rgba(255,255,255,0.95) 74%, rgba(14, 110, 216, 0.95) 88%, transparent 100%);
  box-shadow: 0 0 16px rgba(14, 110, 216, 0.55);
  transform: rotate(-12deg);
  pointer-events: none;
}
.wire-hero-copy { max-width: 760px; }
.wire-hero-copy > .button { margin-top: 0.25rem; }
.section-head {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.section-head p { color: var(--muted); max-width: 62ch; }
.section-head-inline {
  grid-template-columns: 1fr auto;
  align-items: end;
}
.explain-grid, .faq-grid, .contact-layout, .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.text-panel, .process-summary, .detail-block, .faq-block, .contact-panel, .contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.text-panel, .process-summary, .detail-block, .faq-block, .contact-panel {
  padding: 1.5rem;
}
.video-placeholder {
  display: flex;
  align-items: stretch;
}
.video-frame {
  width: 100%;
  min-height: 280px;
  border: 1px dashed #97b9de;
  border-radius: 24px;
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.98) 0%, rgba(216,235,255,0.92) 42%, rgba(7,44,88,0.12) 100%),
    repeating-linear-gradient(90deg, transparent, transparent 32px, rgba(14,110,216,0.04) 32px, rgba(14,110,216,0.04) 33px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
}
.video-play {
  display: inline-grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-bottom: 0.8rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue) 0%, #59b5ff 100%);
  color: white;
  font-size: 1.25rem;
  box-shadow: 0 0 24px rgba(14, 110, 216, 0.35);
}
.application-row, .sector-row {
  display: grid;
  gap: 1rem;
}
.application-row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.sector-row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.mini-card, .sector-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.58), rgba(216,235,255,0.3));
  border: 1px solid var(--line-cool);
  border-radius: 20px;
  padding: 1rem 1rem 1.1rem;
}
.mini-card h3, .sector-card h3 { margin-bottom: 0.55rem; }
.mini-card p, .sector-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.process-inline {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
}
.process-inline li { margin-bottom: 0.45rem; }
.embedded-form, .contact-form {
  padding: 1.5rem;
  display: grid;
  gap: 0.75rem;
}
label { font-weight: 700; font-size: 0.94rem; }
input, textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid #d9d0c0;
  background: #fff;
  font: inherit;
  color: inherit;
}
input:focus, textarea:focus {
  outline: 2px solid rgba(194, 74, 21, 0.18);
  border-color: var(--accent);
}
.form-note, .text-link {
  color: var(--muted);
}
.text-link {
  font-weight: 700;
  color: var(--brand-blue-deep);
}
.page-hero {
  border-bottom: 1px solid var(--line);
}
.page-hero p { max-width: 64ch; color: var(--muted); }
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 1.25rem;
  align-items: start;
}
.hero-aside {
  background: linear-gradient(180deg, rgba(7, 44, 88, 0.96), rgba(11, 63, 122, 0.92));
  color: #f7fbff;
  border: 1px solid rgba(89, 181, 255, 0.2);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 1.35rem;
}
.hero-aside p {
  color: rgba(247, 251, 255, 0.74);
}
.content-stack {
  display: grid;
  gap: 1rem;
}
.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 1rem;
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.25rem;
}
.metric-tile {
  background: linear-gradient(180deg, rgba(255,255,255,0.8), rgba(216,235,255,0.28));
  border: 1px solid var(--line-cool);
  border-radius: 18px;
  padding: 1rem;
}
.metric-tile strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1;
  margin-bottom: 0.35rem;
  color: var(--brand-blue-deep);
}
.metric-tile span {
  color: var(--muted);
  font-size: 0.92rem;
}
.soft-panel,
.cream-panel {
  border-radius: 24px;
  padding: 1.35rem;
  box-shadow: var(--shadow);
}
.soft-panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.72), rgba(216,235,255,0.32));
  border: 1px solid var(--line-cool);
}
.cream-panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.65), rgba(242, 230, 208, 0.8));
  border: 1px solid #e4d2b2;
}
.note-list,
.legal-list {
  margin: 0;
  padding-left: 1.15rem;
}
.note-list li,
.legal-list li {
  margin-bottom: 0.55rem;
}
.faq-rows {
  display: grid;
  gap: 0.9rem;
}
.faq-row {
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1rem 1.1rem;
}
.faq-row h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}
.faq-row p {
  margin: 0;
  color: var(--muted);
}
.service-callout {
  display: grid;
  gap: 0.85rem;
}
.mini-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: var(--brand-blue-soft);
  color: var(--brand-blue-deep);
  border: 1px solid var(--line-cool);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  background: linear-gradient(180deg, rgba(7,44,88,0.96), rgba(10,72,140,0.9));
  border: 1px solid rgba(89, 181, 255, 0.22);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 1.4rem;
}
.cta-panel h2,
.cta-panel p {
  color: #f7fbff;
}
.cta-panel p {
  margin-bottom: 0;
  opacity: 0.78;
}
.actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.legal-table-wrap {
  overflow-x: auto;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.8);
  box-shadow: var(--shadow);
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}
.legal-table th,
.legal-table td {
  padding: 0.9rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(216, 209, 196, 0.75);
  font-size: 0.95rem;
}
.legal-table th {
  color: var(--brand-blue-deep);
  background: rgba(216, 235, 255, 0.42);
}
.legal-table tr:last-child td {
  border-bottom: 0;
}
.legal-meta {
  display: grid;
  gap: 0.7rem;
}
.legal-meta p:last-child { margin-bottom: 0; }
.faq-grid {
  grid-template-columns: 0.9fr 1.1fr;
}
.faq-list {
  display: grid;
  gap: 1rem;
}
.faq-block h3, .detail-block h3 { margin-top: 1.2rem; }
.contact-panel ul {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.25rem 0 3rem;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(216,235,255,0.28));
}
.footer-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.15fr 0.8fr 0.8fr;
}
.footer-top {
  display: grid;
  gap: 1.5rem;
}
.footer-grid > div {
  display: grid;
  align-content: start;
  gap: 0.45rem;
}
.footer-compact .brand {
  margin-bottom: 0.25rem;
}
.footer-compact .brand img {
  height: 34px;
}
.footer-grid h3 {
  font-size: 1rem;
  margin-bottom: 0.45rem;
}
.footer-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.footer-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line-cool);
  background: rgba(255,255,255,0.55);
  color: var(--brand-blue-deep);
  font-size: 0.92rem;
}
.footer-chip:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fffdf8;
}
.subfooter {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.subfooter-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.subfooter-copy {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 1024px) {
  .shell { width: min(100%, calc(100% - 1.5rem)); }
  .application-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sector-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .faq-grid, .contact-layout, .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-hero-grid,
  .cta-panel,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sector-row article:last-child { grid-column: span 3; }
  .wire-hero { min-height: auto; padding-top: 3rem; padding-bottom: 3rem; }
}

@media (max-width: 820px) {
  .nav-wrap {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    row-gap: 0;
  }
  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }
  .site-nav {
    display: none;
    order: 4;
    grid-column: 1 / -1;
    margin-top: 0.9rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(252, 250, 244, 0.96);
    box-shadow: var(--shadow);
    gap: 0.9rem;
    justify-items: stretch;
  }
  .nav-open .site-nav {
    display: grid;
    grid-template-columns: 1fr;
  }
  .site-nav a {
    padding: 0.25rem 0;
    text-align: left;
  }
  .site-nav .nav-contact {
    min-height: 46px;
    width: 100%;
    justify-content: flex-start;
    padding-inline: 1rem;
  }
  .application-row,
  .sector-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sector-row article:last-child {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .site-header { position: static; }
  .shell { width: min(100%, calc(100% - 1.25rem)); }
  .section-head-inline {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: stretch;
  }
  .nav-wrap {
    gap: 0.75rem 0.5rem;
    padding: 0.85rem 0 1rem;
  }
  .brand {
    justify-content: start;
  }
  .brand img {
    height: 34px;
  }
  .nav-wrap > .button,
  .wire-hero-copy > .button,
  .section-head-inline > .button {
    width: 100%;
  }
  .nav-wrap > .button {
    grid-column: 1 / -1;
  }
  .nav-toggle {
    width: 44px;
    height: 44px;
  }
  .wire-hero {
    min-height: auto;
    padding-top: 2rem;
    padding-bottom: 2.25rem;
  }
  .wire-hero::after { width: 62%; top: 12%; }
  .explain-grid, .faq-grid, .contact-layout, .form-grid, .footer-grid, .application-row, .sector-row {
    grid-template-columns: 1fr;
  }
  .grid-2,
  .grid-3,
  .grid-4,
  .page-hero-grid,
  .metric-grid,
  .cta-panel {
    grid-template-columns: 1fr;
  }
  .footer-inline-links,
  .subfooter,
  .subfooter-links {
    display: grid;
    grid-template-columns: 1fr;
  }
  .section-head {
    margin-bottom: 1rem;
  }
  .wire-section, .page-section {
    padding: 2.25rem 0;
  }
  .page-hero {
    padding: 2.25rem 0 1.5rem;
  }
  .text-panel, .process-summary, .detail-block, .faq-block, .contact-panel, .contact-form {
    border-radius: 20px;
  }
  .text-panel, .process-summary, .detail-block, .faq-block, .contact-panel, .contact-form, .mini-card, .sector-card {
    padding: 1.1rem;
  }
  .video-frame {
    min-height: 220px;
    padding: 1.5rem;
  }
  .video-play {
    width: 56px;
    height: 56px;
    font-size: 1rem;
  }
  .lead,
  .section-head p,
  .page-hero p {
    max-width: 100%;
  }
  .legal-table {
    min-width: 580px;
  }
  h1 { max-width: 100%; }
  h2 {
    max-width: 100%;
  }
  input, textarea {
    font-size: 16px;
  }
  .footer-grid {
    gap: 1.25rem;
  }
  .footer-chip {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .eyebrow {
    font-size: 0.72rem;
  }
  h1 {
    font-size: clamp(2.1rem, 10vw, 2.7rem);
  }
  h2 {
    font-size: clamp(1.55rem, 7.5vw, 2rem);
  }
  .button {
    min-height: 44px;
    padding: 0.78rem 1rem;
  }
  .button-primary::after {
    inset: 22% -45%;
  }
  .wire-hero::after {
    width: 68%;
    top: 10%;
  }
}
