:root {
  --navy-950: #061426;
  --navy-900: #0a2038;
  --navy-800: #123452;
  --steel-700: #35516a;
  --steel-500: #688198;
  --steel-300: #b9c7d2;
  --steel-150: #dbe4ea;
  --steel-75: #eef3f6;
  --white: #ffffff;
  --teal-700: #087d7b;
  --teal-500: #16a6a1;
  --teal-300: #72d6cf;
  --orange-600: #e3541b;
  --orange-500: #ff6b2c;
  --orange-100: #ffeadf;
  --ink: #102438;
  --muted: #52677a;
  --success: #17764c;
  --shadow: 0 18px 45px rgba(6, 20, 38, .12);
  --shadow-small: 0 8px 24px rgba(6, 20, 38, .09);
  --radius: 18px;
  --radius-small: 10px;
  --content: 1160px;
  --header-height: 76px;
  --font: 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(--ink);
  background: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--teal-700); text-underline-offset: 3px; }
a:hover { color: var(--orange-600); }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 3px; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: .65rem 1rem;
  color: var(--white);
  background: var(--navy-950);
  border-radius: 8px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.container { width: min(calc(100% - 2rem), var(--content)); margin-inline: auto; }
.narrow { width: min(calc(100% - 2rem), 780px); margin-inline: auto; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-compact { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-tint { background: var(--steel-75); }
.section-dark { color: var(--white); background: var(--navy-950); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 .8rem;
  color: var(--teal-700);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.3;
  text-transform: uppercase;
}
.eyebrow::before { width: 24px; height: 3px; content: ""; background: var(--orange-500); }
.section-dark .eyebrow { color: var(--teal-300); }
h1, h2, h3 { margin: 0; color: var(--navy-950); line-height: 1.12; letter-spacing: -.025em; }
h1 { max-width: 850px; font-size: clamp(2.5rem, 6.5vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--white); }
.lead { max-width: 720px; margin: 1.3rem 0 0; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.3rem); }
.section-dark .lead { color: var(--steel-150); }
.section-heading { max-width: 760px; margin-bottom: 2.5rem; }
.section-heading.center { margin-inline: auto; text-align: center; }
.section-heading.center .eyebrow { justify-content: center; }
.section-heading.center .lead { margin-inline: auto; }
.kicker { color: var(--orange-600); font-weight: 800; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(53, 81, 106, .16);
  backdrop-filter: blur(12px);
}
.nav-wrap { display: flex; min-height: var(--header-height); align-items: center; justify-content: space-between; gap: 1rem; }
.wordmark { display: inline-flex; align-items: center; gap: .7rem; color: var(--navy-950); font-weight: 850; letter-spacing: .03em; text-decoration: none; }
.wordmark-mark { position: relative; width: 34px; height: 34px; border: 3px solid var(--teal-500); border-radius: 7px; }
.wordmark-mark::before, .wordmark-mark::after { position: absolute; content: ""; }
.wordmark-mark::before { top: 8px; left: -8px; width: 45px; height: 5px; background: var(--orange-500); transform: rotate(-13deg); border-radius: 5px; }
.wordmark-mark::after { right: 5px; bottom: 5px; width: 8px; height: 8px; background: var(--teal-300); border-radius: 2px; box-shadow: -14px 0 var(--teal-300); }
.wordmark small { display: block; color: var(--steel-500); font-size: .58rem; font-weight: 700; letter-spacing: .18em; line-height: 1; }
.nav-links { display: flex; margin: 0; padding: 0; align-items: center; gap: .2rem; list-style: none; }
.nav-links a { display: block; padding: .65rem .72rem; color: var(--navy-900); border-radius: 8px; font-size: .9rem; font-weight: 700; text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--teal-700); background: var(--steel-75); }
.nav-links .nav-cta { margin-left: .35rem; color: var(--white); background: var(--navy-900); }
.nav-links .nav-cta:hover, .nav-links .nav-cta[aria-current="page"] { color: var(--white); background: var(--teal-700); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; color: var(--navy-950); background: transparent; border: 0; border-radius: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: currentColor; transition: transform .2s, opacity .2s; }

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 9vw, 8.5rem) 0;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(6,20,38,.99) 0%, rgba(10,32,56,.95) 60%, rgba(8,77,80,.9) 100%);
}
.hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: .16;
  background-image: linear-gradient(rgba(114,214,207,.24) 1px, transparent 1px), linear-gradient(90deg, rgba(114,214,207,.24) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to right, transparent, #000 40%);
}
.hero-grid { position: relative; display: grid; align-items: center; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 6vw, 6rem); }
.hero h1 { color: var(--white); }
.hero .lead { color: var(--steel-150); }
.hero-actions { display: flex; margin-top: 2rem; flex-wrap: wrap; gap: .8rem; }
.trust-row { display: flex; margin: 2rem 0 0; padding: 0; flex-wrap: wrap; gap: .75rem 1.3rem; color: var(--steel-150); font-size: .9rem; list-style: none; }
.trust-row li::before { margin-right: .45rem; color: var(--teal-300); content: "✓"; font-weight: 900; }
.hero-visual { position: relative; min-height: 410px; }
.industry-panel { position: absolute; inset: 0; padding: 2rem; background: rgba(255,255,255,.08); border: 1px solid rgba(114,214,207,.3); border-radius: 28px; box-shadow: 0 30px 80px rgba(0,0,0,.24); backdrop-filter: blur(8px); }
.industry-panel::after { position: absolute; inset: 14px; content: ""; border: 1px dashed rgba(114,214,207,.22); border-radius: 20px; }
.circuit-line { position: absolute; height: 2px; background: var(--teal-300); transform-origin: left center; opacity: .75; }
.circuit-line.one { top: 28%; left: 16%; width: 67%; transform: rotate(12deg); }
.circuit-line.two { top: 61%; left: 16%; width: 69%; transform: rotate(-15deg); }
.circuit-line.three { top: 44%; left: 30%; width: 45%; transform: rotate(80deg); }
.node { position: absolute; z-index: 2; display: grid; width: 72px; height: 72px; color: var(--navy-950); background: var(--white); border: 6px solid rgba(114,214,207,.35); border-radius: 18px; place-items: center; box-shadow: var(--shadow); }
.node svg { width: 34px; height: 34px; }
.node.a { top: 13%; left: 12%; }
.node.b { top: 14%; right: 12%; }
.node.c { bottom: 12%; left: 13%; }
.node.d { right: 13%; bottom: 11%; }
.node.core { top: 50%; left: 50%; width: 100px; height: 100px; color: var(--white); background: var(--orange-500); border-color: rgba(255,255,255,.25); transform: translate(-50%, -50%); }
.node-label { position: absolute; right: 1.5rem; bottom: 1.4rem; z-index: 3; color: var(--teal-300); font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }

.btn { display: inline-flex; min-height: 48px; padding: .78rem 1.2rem; align-items: center; justify-content: center; gap: .5rem; color: var(--white); background: var(--teal-700); border: 2px solid transparent; border-radius: 9px; font-weight: 800; line-height: 1.2; text-decoration: none; transition: transform .18s, background .18s, box-shadow .18s; }
.btn:hover { color: var(--white); background: var(--orange-600); box-shadow: var(--shadow-small); transform: translateY(-2px); }
.btn-primary { background: var(--orange-500); }
.btn-primary:hover { background: #d84b13; }
.btn-secondary { color: var(--white); background: transparent; border-color: rgba(255,255,255,.55); }
.btn-secondary:hover { color: var(--navy-950); background: var(--white); }
.btn-outline { color: var(--navy-900); background: transparent; border-color: var(--steel-300); }
.btn-outline:hover { color: var(--white); border-color: var(--teal-700); background: var(--teal-700); }
.btn[aria-disabled="true"] { color: var(--steel-500); background: var(--steel-150); border-color: transparent; box-shadow: none; cursor: not-allowed; transform: none; }
.text-link { display: inline-flex; align-items: center; gap: .35rem; font-weight: 800; text-decoration: none; }
.text-link::after { content: "→"; transition: transform .18s; }
.text-link:hover::after { transform: translateX(4px); }

.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.5rem; }
.product-card { position: relative; display: flex; min-height: 420px; padding: clamp(1.5rem, 4vw, 2.5rem); flex-direction: column; overflow: hidden; background: var(--white); border: 1px solid var(--steel-150); border-radius: var(--radius); box-shadow: var(--shadow-small); }
.product-card::before { position: absolute; top: 0; left: 0; width: 100%; height: 6px; content: ""; background: var(--teal-500); }
.product-card.rma::before { background: var(--orange-500); }
.product-card .icon-box, .feature-card .icon-box { display: grid; width: 54px; height: 54px; margin-bottom: 1.4rem; color: var(--teal-700); background: #e1f7f5; border-radius: 14px; place-items: center; }
.product-card.rma .icon-box { color: var(--orange-600); background: var(--orange-100); }
.icon-box svg { width: 27px; height: 27px; }
.product-card h3 { font-size: clamp(1.55rem, 3vw, 2rem); }
.audience { margin: .5rem 0 1rem; color: var(--orange-600); font-size: .82rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.product-card p { color: var(--muted); }
.feature-list { margin: .3rem 0 1.5rem; padding: 0; color: var(--steel-700); list-style: none; }
.feature-list li { position: relative; margin: .55rem 0; padding-left: 1.5rem; }
.feature-list li::before { position: absolute; left: 0; color: var(--teal-700); content: "✓"; font-weight: 900; }
.product-card.rma .feature-list li::before { color: var(--orange-600); }
.card-actions { display: flex; margin-top: auto; align-items: center; flex-wrap: wrap; gap: .8rem 1.2rem; }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.2rem; }
.feature-card { padding: 1.5rem; background: var(--white); border: 1px solid var(--steel-150); border-radius: var(--radius-small); }
.feature-card p { margin-bottom: 0; color: var(--muted); }
.feature-card .icon-box { width: 46px; height: 46px; margin-bottom: 1rem; }
.feature-card .icon-box svg { width: 23px; height: 23px; }
.section-dark .feature-card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.section-dark .feature-card p { color: var(--steel-150); }

.split { display: grid; align-items: center; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 6rem); }
.workflow { position: relative; padding: 2rem; background: var(--navy-950); border-radius: 22px; box-shadow: var(--shadow); }
.workflow-step { position: relative; display: flex; padding: 1rem; align-items: center; gap: 1rem; color: var(--white); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; }
.workflow-step + .workflow-step { margin-top: 1.3rem; }
.workflow-step + .workflow-step::before { position: absolute; top: -1.35rem; left: 29px; width: 2px; height: 1.35rem; content: ""; background: var(--teal-500); }
.step-number { display: grid; width: 36px; height: 36px; flex: 0 0 auto; color: var(--navy-950); background: var(--teal-300); border-radius: 50%; font-weight: 900; place-items: center; }
.workflow-step strong { display: block; }
.workflow-step small { color: var(--steel-300); }

.metric-strip { display: grid; overflow: hidden; background: var(--white); border: 1px solid var(--steel-150); border-radius: var(--radius); grid-template-columns: repeat(3,1fr); box-shadow: var(--shadow-small); }
.metric { padding: 2rem; text-align: center; }
.metric + .metric { border-left: 1px solid var(--steel-150); }
.metric strong { display: block; color: var(--teal-700); font-size: 1.35rem; }
.metric span { color: var(--muted); font-size: .9rem; }

.page-hero { position: relative; overflow: hidden; padding: clamp(4rem, 8vw, 7rem) 0; color: var(--white); background: var(--navy-950); }
.page-hero::after { position: absolute; right: -12%; bottom: -70%; width: 52vw; height: 52vw; content: ""; background: radial-gradient(circle, rgba(22,166,161,.28), transparent 66%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 920px; color: var(--white); font-size: clamp(2.4rem, 5vw, 4.5rem); }
.page-hero .lead { color: var(--steel-150); }
.page-hero-actions { display: flex; margin-top: 2rem; flex-wrap: wrap; gap: .8rem; }
.badge { display: inline-flex; padding: .35rem .7rem; align-items: center; color: var(--teal-300); background: rgba(114,214,207,.1); border: 1px solid rgba(114,214,207,.3); border-radius: 999px; font-size: .8rem; font-weight: 800; }

.application-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.2rem; }
.application-card { display: flex; min-height: 330px; padding: 1.5rem; flex-direction: column; background: var(--white); border: 1px solid var(--steel-150); border-radius: var(--radius); }
.application-card .app-art { display: grid; height: 105px; margin-bottom: 1.25rem; color: var(--teal-300); background: var(--navy-900); border-radius: 12px; place-items: center; }
.application-card .app-art svg { width: 62px; height: 62px; }
.application-card p { color: var(--muted); }
.application-card .status { display: inline-flex; width: fit-content; margin: 0 0 .7rem; padding: .25rem .55rem; color: var(--steel-700); background: var(--steel-75); border-radius: 5px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.application-card .card-actions { margin-top: auto; }

.value-list { display: grid; margin: 2rem 0 0; padding: 0; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; list-style: none; }
.value-list li { padding: 1.1rem; background: var(--steel-75); border-left: 4px solid var(--teal-500); border-radius: 0 8px 8px 0; }
.value-list strong { display: block; color: var(--navy-950); }
.value-list span { color: var(--muted); font-size: .92rem; }

.cta-band { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 5rem); color: var(--white); background: linear-gradient(120deg,var(--teal-700),var(--navy-900)); border-radius: 24px; }
.cta-band::after { position: absolute; top: -80px; right: -70px; width: 260px; height: 260px; content: ""; border: 40px solid rgba(255,255,255,.07); border-radius: 50%; }
.cta-band h2 { position: relative; color: var(--white); }
.cta-band p { position: relative; max-width: 680px; color: var(--steel-150); }
.cta-band .hero-actions { position: relative; }

.contact-panel { display: grid; padding: clamp(1.5rem, 5vw, 3rem); background: var(--steel-75); border: 1px solid var(--steel-150); border-radius: var(--radius); grid-template-columns: .85fr 1.15fr; gap: 2rem; }
.contact-email { display: inline-block; margin-top: .75rem; color: var(--navy-950); font-size: clamp(1.15rem, 3vw, 1.7rem); font-weight: 850; overflow-wrap: anywhere; }
.contact-note { padding: 1.4rem; background: var(--white); border-radius: var(--radius-small); }
.contact-note h3 { margin-bottom: .5rem; }
.contact-note p { margin: 0; color: var(--muted); }

.site-footer { padding: 4rem 0 2rem; color: var(--steel-300); background: var(--navy-950); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 3rem; }
.footer-brand p { max-width: 440px; }
.footer-logo { width: 120px; height: 120px; margin-bottom: 1rem; object-fit: cover; border-radius: 18px; }
.site-footer h3 { margin-bottom: 1rem; color: var(--white); font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li + li { margin-top: .5rem; }
.site-footer a { color: var(--steel-150); text-decoration: none; }
.site-footer a:hover { color: var(--teal-300); }
.footer-bottom { display: flex; margin-top: 3rem; padding-top: 1.4rem; justify-content: space-between; gap: 1rem; color: var(--steel-500); border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 920px) {
  .site-header { backdrop-filter: none; }
  .wordmark, .menu-toggle { position: relative; z-index: 2; }
  .menu-toggle { display: block; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-links { position: fixed; top: var(--header-height); right: 0; bottom: 0; left: 0; z-index: 1; display: none; padding: 1rem; align-items: stretch; flex-direction: column; gap: .25rem; background: var(--white); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .9rem 1rem; font-size: 1rem; }
  .nav-links .nav-cta { margin: .5rem 0 0; text-align: center; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 360px; }
  .product-grid, .split, .contact-panel { grid-template-columns: 1fr; }
  .feature-grid, .application-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  :root { --header-height: 68px; }
  .section { padding: 3.8rem 0; }
  .hero { padding: 4.2rem 0; }
  .hero-visual { min-height: 300px; }
  .industry-panel { padding: 1rem; }
  .node { width: 56px; height: 56px; border-width: 4px; border-radius: 14px; }
  .node svg { width: 26px; height: 26px; }
  .node.core { width: 78px; height: 78px; }
  .product-grid, .feature-grid, .application-grid, .value-list, .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .metric-strip { grid-template-columns: 1fr; }
  .metric + .metric { border-top: 1px solid var(--steel-150); border-left: 0; }
  .hero-actions .btn, .page-hero-actions .btn { width: 100%; }
  .product-card { min-height: 0; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}
