:root {
  --navy: #071a3a;
  --blue: #0b4bb3;
  --blue-2: #1464d2;
  --yellow: #ffc21c;
  --yellow-deep: #e9a900;
  --yellow-soft: #fff7d8;
  --sky: #eaf3ff;
  --green: #138a43;
  --ink: #12213b;
  --muted: #64748b;
  --line: #dbe5f1;
  --paper: #ffffff;
  --surface: #f7f9fc;
  --radius: 22px;
  --shadow: 0 20px 50px rgba(7, 26, 58, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(219,229,241,.9);
}
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand-logo {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
}
.brand-logo img {
  display: block;
  width: 34px;
  height: 34px;
  max-width: 34px;
  max-height: 34px;
  object-fit: contain;
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand-copy strong { font-size: 17px; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 700; }
.main-nav a { color: #31415d; }
.main-nav a:hover { color: var(--yellow-deep); }

.hero {
  position: relative;
  overflow: hidden;
  padding: 102px 0 94px;
  background:
    radial-gradient(circle at 82% 16%, rgba(255,194,28,.22), transparent 31%),
    radial-gradient(circle at 68% 4%, rgba(20,100,210,.08), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -120px -220px auto;
  width: 520px; height: 520px;
  border-radius: 50%;
  border: 90px solid rgba(255,194,28,.08);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: 80px; align-items: center; }
.eyebrow { color: #a97700; font-size: 12px; letter-spacing: .15em; font-weight: 900; }
.hero h1 { margin: 10px 0 16px; font-size: clamp(52px, 7vw, 88px); line-height: .98; letter-spacing: -.055em; color: var(--navy); }
.lead { margin: 0 0 18px; max-width: 770px; font-size: clamp(20px, 2.1vw, 28px); line-height: 1.38; font-weight: 650; color: #244268; }
.hero-copy > p:not(.lead) { max-width: 760px; color: #52637c; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 9px; font-weight: 800; font-size: 14px; transition: .2s ease; }
.button.primary { background: var(--yellow); color: var(--navy); box-shadow: 0 10px 28px rgba(233,169,0,.20); }
.button.primary:hover { transform: translateY(-1px); background: #f2b500; }
.button.secondary { background: #fff; border: 1px solid var(--line); color: var(--blue); }
.button.secondary:hover { border-color: #a7c5ed; background: var(--sky); }
.hero-note { margin-top: 24px; display: inline-flex; padding: 10px 13px; border-radius: 9px; background: #edf8f1; color: #126936; border: 1px solid #ccebd7; font-size: 13px; font-weight: 700; }

.hero-panel { background: #fff; border: 1px solid #dce7f5; border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow); }
.hero-panel-top { padding: 18px 18px 15px; color: #a97700; font-weight: 900; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.metric { display: grid; grid-template-columns: 110px 1fr; align-items: baseline; gap: 16px; padding: 19px 18px; border-top: 1px solid #edf2f7; }
.metric strong { color: var(--navy); font-size: 17px; }
.metric span { color: var(--muted); font-size: 14px; }

.section { padding: 94px 0; }
.section-light { background: var(--surface); }
.section-heading { max-width: 820px; margin-bottom: 44px; }
.section-heading.narrow { max-width: 920px; }
.section-heading h2, .split h2, .contact-section h2 { margin: 8px 0 14px; font-size: clamp(34px, 4vw, 52px); line-height: 1.1; letter-spacing: -.035em; color: var(--navy); }
.section-heading p, .split p, .contact-section p { margin: 0; color: var(--muted); font-size: 17px; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-card { min-height: 300px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 12px 34px rgba(15,49,93,.055); }
.feature-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--yellow-soft); color: #9a6d00; font-weight: 900; }
.feature-card h3 { margin: 26px 0 12px; color: var(--navy); font-size: 20px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14.5px; }

.architecture-card { margin: 42px 0 0; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.architecture-card img { width: 100%; height: auto; border-radius: 10px; }
.architecture-card figcaption { padding: 14px 4px 2px; color: var(--muted); font-size: 12px; text-align: center; }

.section-blue { background: linear-gradient(120deg, #082f78, #0b4bb3 64%, #1464d2); color: #fff; }
.three-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px; }
.three-columns article { padding-right: 20px; }
.number { display: block; margin-bottom: 20px; font-size: 12px; letter-spacing: .18em; font-weight: 900; color: #9cc7ff; }
.three-columns h3 { margin: 0 0 12px; font-size: 24px; }
.three-columns p { margin: 0; color: #dbeaff; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 84px; align-items: center; }
.audience-list { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.audience-list > div { display: grid; grid-template-columns: 54px 1fr; align-items: center; gap: 15px; padding: 20px 24px; border-bottom: 1px solid #eaf0f6; }
.audience-list > div:last-child { border-bottom: 0; }
.audience-list span { color: #a97700; font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.audience-list strong { color: var(--navy); }

.contact-section { background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 420px; gap: 80px; align-items: center; }
.contact-section p { max-width: 690px; margin-bottom: 26px; }
.contact-card { display: flex; flex-direction: column; gap: 8px; padding: 30px; border-radius: 18px; background: var(--navy); color: #fff; font-style: normal; box-shadow: var(--shadow); }
.contact-card strong { font-size: 20px; margin-bottom: 7px; }
.contact-card span { color: #c8d8ed; }
.contact-card a { color: #fff; font-weight: 700; }

.site-footer { border-top: 1px solid var(--line); background: #f8fafc; color: #64748b; font-size: 13px; }
.footer-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-wrap div { display: flex; gap: 20px; }
.footer-wrap a:hover { color: #a97700; }

@media (max-width: 980px) {
  .main-nav { display: none; }
  .hero { padding-top: 74px; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .three-columns { grid-template-columns: 1fr; gap: 34px; }
  .contact-card { max-width: 520px; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1180px); }
  .nav-wrap { min-height: 70px; }
  .brand-copy small { display: none; }
  .hero { padding: 62px 0 66px; }
  .hero h1 { font-size: 52px; }
  .lead { font-size: 20px; }
  .hero-panel { margin-top: 6px; }
  .metric { grid-template-columns: 1fr; gap: 4px; }
  .section { padding: 70px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .architecture-card { padding: 8px; border-radius: 14px; overflow-x: auto; }
  .architecture-card img { min-width: 900px; max-width: none; }
  .architecture-card figcaption { text-align: left; padding-left: 8px; }
  .footer-wrap { padding: 20px 0; align-items: flex-start; flex-direction: column; }
}

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

.site-header::before {
  content: "";
  display: block;
  height: 4px;
  background: var(--yellow);
}
.hero-panel {
  border-top: 4px solid var(--yellow);
}
.feature-card {
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: var(--yellow);
  opacity: .9;
}
.contact-card {
  border-top: 5px solid var(--yellow);
}

@media (max-width: 640px) {
  .brand-logo,
  .brand-logo img {
    width: 30px;
    height: 30px;
    max-width: 30px;
    max-height: 30px;
  }
  .brand-logo {
    flex-basis: 30px;
  }
}


/* v7 — hero rebuilt to match supplied reference composition */
.hero {
  padding: 58px 0 0;
  background:
    radial-gradient(circle at 89% 23%, rgba(255,194,28,.10), transparent 30%),
    linear-gradient(180deg,#fff 0%,#fff 100%);
  border-bottom: 1px solid #e7ebf0;
}
.hero::after { display:none !important; }

.hero-grid-ref {
  display:grid;
  grid-template-columns:minmax(0,1.02fr) minmax(380px,.98fr);
  gap:72px;
  align-items:center;
  min-height:430px;
}
.hero-copy-ref {
  max-width:700px;
}
.hero-copy-ref .eyebrow {
  color:#e4a200;
  font-size:.9rem;
  font-weight:800;
  letter-spacing:.075em;
  margin:0 0 18px;
}
.hero-copy-ref h1 {
  margin:0;
  color:var(--navy);
  font-size:clamp(2.65rem,4.15vw,4.3rem);
  line-height:1.03;
  letter-spacing:-.035em;
  font-weight:800;
}
.hero-copy-ref .lead {
  margin:28px 0 0;
  max-width:690px;
  color:#344765;
  font-size:1.15rem;
  line-height:1.65;
  font-weight:500;
}
.email-cta {
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-top:8px;
  padding:14px 20px !important;
  border-radius:7px !important;
  font-weight:800;
}
.mail-icon { font-size:1.15em; line-height:1; }

.hero-visual-ref {
  position:relative;
  min-height:340px;
}
.globe-ref {
  position:absolute;
  width:180px;
  height:180px;
  left:50%;
  top:25px;
  transform:translateX(-50%);
  border:3px solid #d9dee5;
  border-radius:50%;
  background:
    linear-gradient(90deg,transparent 48.7%,#d9dee5 49%,#d9dee5 51%,transparent 51.3%),
    linear-gradient(transparent 48.7%,#d9dee5 49%,#d9dee5 51%,transparent 51.3%);
}
.globe-ref::before,
.globe-ref::after {
  content:"";
  position:absolute;
  border:2px solid #d9dee5;
  border-radius:50%;
}
.globe-ref::before { inset:17px 45px; }
.globe-ref::after { inset:45px 17px; }

.device { position:absolute; border:2px solid #d9dee5; background:#fff; }
.laptop-ref {
  width:70px; height:43px; left:13%; top:128px; border-radius:4px;
}
.laptop-ref::after {
  content:""; position:absolute; left:-9px; right:-9px; bottom:-8px; height:5px;
  border:2px solid #d9dee5; border-top:0; border-radius:0 0 7px 7px;
}
.phone-ref {
  width:35px; height:66px; top:245px; border-radius:7px;
}
.phone-ref-left { left:7%; }
.phone-ref-right { right:7%; }

.router-ref {
  width:96px; height:42px; left:50%; top:245px;
  transform:translateX(-50%); border-radius:7px;
}
.router-ref::before,.router-ref::after {
  content:""; position:absolute; top:-43px; width:2px; height:45px; background:#d9dee5;
}
.router-ref::before { left:18px; }
.router-ref::after { right:18px; }
.router-ref {
  background:
    radial-gradient(circle at 25px 22px,#d9dee5 0 4px,transparent 4.3px),
    radial-gradient(circle at 48px 22px,#d9dee5 0 4px,transparent 4.3px),
    radial-gradient(circle at 71px 22px,#d9dee5 0 4px,transparent 4.3px),
    #fff;
}

.link-line {
  position:absolute;
  border-top:2px dashed #d9dee5;
  transform-origin:left center;
}
.ll1 { width:115px; left:20%; top:210px; transform:rotate(34deg); }
.ll2 { width:110px; left:50%; top:193px; transform:rotate(90deg); }
.ll3 { width:105px; right:18%; top:212px; transform:rotate(-35deg); }
.ll4 { width:120px; left:61%; top:267px; transform:rotate(0deg); }

.shield-ref {
  position:absolute;
  width:112px;
  height:126px;
  right:19%;
  top:88px;
  background:#ffb800;
  clip-path:polygon(50% 0,90% 14%,90% 57%,78% 76%,50% 100%,22% 76%,10% 57%,10% 14%);
  display:grid;
  place-items:center;
  z-index:3;
}
.shield-ref::after {
  content:"";
  position:absolute;
  inset:3px;
  background:#fff;
  clip-path:inherit;
}
.shield-ref span {
  position:relative;
  z-index:2;
  color:#ffb800;
  font-size:3.1rem;
  font-weight:400;
  transform:translateY(-2px);
}

/* feature strip */
.hero-features {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border-top:1px solid #e7ebf0;
  margin-top:30px;
}
.hero-feature {
  padding:28px 34px 34px;
  min-height:190px;
  border-right:1px solid #e7ebf0;
}
.hero-feature:first-child { padding-left:0; }
.hero-feature:last-child { border-right:0; padding-right:0; }
.hero-feature-icon {
  width:48px;
  height:48px;
  margin-bottom:14px;
  color:#ffb800;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:2rem;
  line-height:1;
  font-weight:500;
}
.hero-feature h3 {
  margin:0 0 12px;
  font-size:1.04rem;
  color:var(--navy);
}
.hero-feature p {
  margin:0;
  color:#43516a;
  font-size:.94rem;
  line-height:1.55;
}
.icon-search {
  position:relative;
  border:3px solid #ffb800;
  border-radius:50%;
  width:34px; height:34px;
  margin:5px 0 23px 4px;
}
.icon-search::after {
  content:""; position:absolute; width:17px; height:3px;
  background:#ffb800; right:-12px; bottom:-6px; transform:rotate(45deg);
  transform-origin:left center;
}
.icon-shield {
  font-size:0;
  position:relative;
}
.icon-shield::before {
  content:"";
  width:34px; height:40px;
  background:#ffb800;
  clip-path:polygon(50% 0,90% 14%,90% 57%,78% 76%,50% 100%,22% 76%,10% 57%,10% 14%);
}
.icon-shield::after {
  content:"";
  position:absolute;
  width:29px; height:35px;
  background:#fff;
  clip-path:polygon(50% 0,90% 14%,90% 57%,78% 76%,50% 100%,22% 76%,10% 57%,10% 14%);
}
.icon-globe { font-size:2.7rem; transform:scaleX(1.08); }
.icon-gear { font-size:2.4rem; }

/* keep lower page calmer and closer to reference */
.section-light { background:#fff; }
.section-heading h2 { font-size:2.05rem; }

@media (max-width: 980px) {
  .hero-grid-ref { grid-template-columns:1fr; gap:26px; }
  .hero-copy-ref { max-width:760px; }
  .hero-visual-ref { min-height:300px; max-width:620px; width:100%; margin:0 auto; }
  .hero-features { grid-template-columns:repeat(2,1fr); }
  .hero-feature:nth-child(2) { border-right:0; }
  .hero-feature:nth-child(1), .hero-feature:nth-child(2) { border-bottom:1px solid #e7ebf0; }
  .hero-feature:first-child { padding-left:34px; }
  .hero-feature:last-child { padding-right:34px; }
}
@media (max-width: 620px) {
  .hero { padding-top:38px; }
  .hero-copy-ref h1 { font-size:clamp(2.35rem,11vw,3.5rem); }
  .hero-copy-ref h1 br { display:none; }
  .hero-copy-ref .lead { font-size:1.02rem; }
  .hero-visual-ref { display:none; }
  .hero-features { grid-template-columns:1fr; }
  .hero-feature,
  .hero-feature:nth-child(2) {
    border-right:0;
    border-bottom:1px solid #e7ebf0;
    padding:24px 0;
    min-height:auto;
  }
  .hero-feature:last-child { border-bottom:0; }
}
