/* ============================================================
   We Build SOCs — design system
   Clean, trust-led: deep navy + an "operational" emerald green.
   ============================================================ */
:root {
  --ink:      #0c1a2b;
  --body:     #44566a;
  --muted:    #7b8a9c;
  --bg:       #ffffff;
  --soft:     #f3f8f6;
  --soft-2:   #e8f2ec;
  --accent:   #0a9d63;
  --accent-d: #08824f;
  --accent-2: #34d399;
  --line:     #e1eae6;
  --dark:     #0c1a2b;
  --dark-2:   #122438;
  --radius:   16px;
  --radius-sm: 11px;
  --shadow:   0 24px 60px -28px rgba(12,26,43,.30);
  --shadow-sm: 0 10px 26px -16px rgba(12,26,43,.30);
  --maxw:     1140px;
  --display:  "Manrope", system-ui, -apple-system, sans-serif;
  --sans:     "Inter", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); color: var(--body); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-d); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.13; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; font-weight: 700; }

.eyebrow { display: inline-block; font-family: var(--display); font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.eyebrow--accent { color: var(--accent-d); }
.hl { color: var(--accent-d); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: .96rem; padding: 13px 24px; border-radius: 10px; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s, border-color .2s, color .2s; }
.btn--sm { padding: 9px 16px; font-size: .9rem; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 12px 26px -12px rgba(10,157,99,.7); }
.btn--primary:hover { background: var(--accent-d); transform: translateY(-2px); text-decoration: none; }
.btn--ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-d); text-decoration: none; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand__mark { color: var(--accent); display: inline-flex; }
.brand__name { font-family: var(--display); font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.brand__name b { color: var(--accent-d); }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a:not(.btn) { font-weight: 500; font-size: .95rem; color: var(--body); transition: color .15s; }
.nav__links a:not(.btn):hover { color: var(--accent-d); text-decoration: none; }

/* hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--soft), #fff); }
.hero__glow { position: absolute; inset: -25% -10% auto auto; width: 70vw; max-width: 820px; height: 700px; background: radial-gradient(circle at 70% 30%, rgba(10,157,99,.14), transparent 60%), radial-gradient(circle at 35% 70%, rgba(52,211,153,.12), transparent 55%); pointer-events: none; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; padding: clamp(52px, 8vw, 96px) 0; }
.hero h1 { margin: 14px 0 22px; }
.lede { font-size: 1.14rem; color: var(--body); max-width: 36em; }
.hero__cta { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero__trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: .9rem; color: var(--muted); font-weight: 500; }
.hero__trust li { position: relative; padding-left: 18px; }
.hero__trust li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* hero monitoring panel */
.hero__art { display: flex; justify-content: center; }
.panel { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.panel__title { font-family: var(--display); font-weight: 700; color: var(--ink); }
.panel__live { display: inline-flex; align-items: center; gap: 7px; font-family: var(--display); font-weight: 700; font-size: .72rem; letter-spacing: .04em; color: var(--accent-d); }
.panel__live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(10,157,99,.6); animation: blip 1.8s ease-out infinite; }
.panel__pulse { width: 100%; height: 52px; margin: 6px 0 14px; }
.pulse-track { stroke: var(--line); stroke-width: 1.5; fill: none; }
.pulse-line { stroke: var(--accent); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 520; stroke-dashoffset: 520; animation: sweep 3.2s linear infinite; }
.panel__rows { list-style: none; display: grid; gap: 9px; }
.panel__rows li { display: flex; align-items: center; justify-content: space-between; padding: 10px 13px; background: var(--soft); border: 1px solid var(--line); border-radius: 10px; }
.panel__svc { font-weight: 600; color: var(--ink); font-size: .92rem; }
.panel__stat { font-family: var(--display); font-weight: 700; font-size: .76rem; padding: 3px 10px; border-radius: 999px; }
.panel__stat.ok { color: var(--accent-d); background: rgba(10,157,99,.12); }
.panel__stat.run { color: #b06a00; background: rgba(245,181,49,.16); }
.panel__caption { margin-top: 16px; text-align: center; font-family: var(--display); font-weight: 600; font-size: .82rem; letter-spacing: .02em; color: var(--muted); }

/* sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--dark); }
.section--dark h2, .section--dark .eyebrow--accent { color: #fff; }
.section--dark .eyebrow--accent { color: var(--accent-2); }
.section--dark p { color: #aebccb; }
.section-head { max-width: 46rem; margin: 0 auto clamp(38px, 5vw, 56px); text-align: center; }
.section-sub { margin-top: 12px; color: var(--body); font-size: 1.05rem; }

/* four services */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: #c7ddd2; }
.svc--featured { border-color: var(--accent); box-shadow: 0 18px 40px -22px rgba(10,157,99,.55); }
.svc__ico { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 13px; background: rgba(10,157,99,.1); color: var(--accent-d); margin-bottom: 16px; }
.svc__ico svg { width: 25px; height: 25px; }
.svc__kicker { font-family: var(--display); font-weight: 700; font-size: .74rem; letter-spacing: .05em; text-transform: uppercase; color: var(--accent-d); margin: 2px 0 10px; }
.svc h3 { color: var(--ink); }
.svc p:last-child { font-size: .95rem; color: var(--body); }
.svc-more { text-align: center; margin-top: 30px; color: var(--muted); }

/* capabilities */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.cap__ico { display: inline-flex; width: 46px; height: 46px; border-radius: 12px; align-items: center; justify-content: center; background: var(--soft-2); color: var(--accent-d); margin-bottom: 14px; }
.cap__ico svg { width: 24px; height: 24px; }
.cap h3 { margin-bottom: 7px; }
.cap p { font-size: .95rem; }

/* why */
.why__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.why__copy p { margin-top: 14px; font-size: 1.06rem; }
.why__list { list-style: none; display: grid; gap: 14px; }
.why__list li { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 12px; padding: 16px 18px; font-size: .98rem; }
.why__list strong { color: var(--ink); font-family: var(--display); }

/* steps */
.steps { list-style: none; counter-reset: step; max-width: 54rem; margin-inline: auto; }
.step { position: relative; padding: 0 0 30px 60px; }
.step:last-child { padding-bottom: 0; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: -2px; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--display); font-weight: 800; font-size: .95rem; display: grid; place-items: center; box-shadow: 0 8px 18px -8px rgba(10,157,99,.7); }
.step::after { content: ""; position: absolute; left: 18px; top: 40px; bottom: 4px; width: 2px; background: linear-gradient(var(--accent), rgba(10,157,99,.12)); }
.step:last-child::after { display: none; }
.step h4 { font-family: var(--display); color: var(--ink); font-size: 1.06rem; margin-bottom: 4px; }
.step p { color: var(--body); font-size: .96rem; }

/* compliance band */
.compliance__inner { max-width: 50rem; margin-inline: auto; text-align: center; }
.compliance__inner p { margin-top: 12px; font-size: 1.06rem; max-width: 40em; margin-inline: auto; }
.badges { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.badges li { font-family: var(--display); font-weight: 600; font-size: .86rem; color: #d6e4dd; background: var(--dark-2); border: 1px solid rgba(255,255,255,.1); border-radius: 999px; padding: 9px 16px; }

/* about page */
.about-hero { background: linear-gradient(180deg, var(--soft), #fff); border-bottom: 1px solid var(--line); }
.about-hero__inner { max-width: 50rem; margin-inline: auto; text-align: center; padding: clamp(56px, 9vw, 100px) 0 clamp(40px, 6vw, 60px); }
.about-hero h1 { margin: 14px 0 18px; }
.about-hero p { font-size: 1.14rem; color: var(--body); max-width: 42em; margin-inline: auto; }
.story { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.story h2 { margin-top: 6px; }
.story__col p { font-size: 1.06rem; }
.story__col p + p { margin-top: 16px; }
.cap-grid--3 { grid-template-columns: repeat(3, 1fr); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.member { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; text-align: center; }
.member__photo { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 14px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: .02em; }
.member__name { font-family: var(--display); font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.member__role { color: var(--accent-d); font-family: var(--display); font-weight: 600; font-size: .82rem; margin: 3px 0 10px; }
.member__bio { font-size: .92rem; color: var(--body); }

/* integrity statement */
.ethics__inner { max-width: 44rem; margin-inline: auto; text-align: center; }
.ethics__mark { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 16px; background: rgba(10,157,99,.1); color: var(--accent-d); margin: 0 auto 18px; }
.ethics__mark svg { width: 28px; height: 28px; }
.ethics__inner h2 { margin-top: 4px; }
.ethics__inner p { margin-top: 14px; font-size: 1.08rem; color: var(--body); max-width: 40em; margin-inline: auto; }

/* enquiry / form */
.demo__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.demo__copy p { margin-top: 14px; font-size: 1.06rem; }
.demo__points { list-style: none; margin-top: 20px; display: grid; gap: 10px; }
.demo__points li { position: relative; padding-left: 26px; color: var(--ink); font-weight: 500; }
.demo__points li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-d); font-weight: 800; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 16px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label, .field__label { display: block; font-family: var(--display); font-weight: 600; font-size: .88rem; color: var(--ink); margin-bottom: 7px; }
.opt { color: var(--muted); font-weight: 500; }
.field input, .field textarea { width: 100%; font-family: var(--sans); font-size: .98rem; color: var(--ink); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(10,157,99,.14); }
.field input.invalid { border-color: #d9534f; }
.radios { display: flex; flex-wrap: wrap; gap: 9px; }
.radio { position: relative; }
.radio input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio span { display: inline-block; padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 999px; font-size: .9rem; font-weight: 500; color: var(--body); cursor: pointer; transition: all .15s; }
.radio input:checked + span { border-color: var(--accent); background: rgba(10,157,99,.1); color: var(--accent-d); font-weight: 600; }
.form .btn { width: 100%; margin-top: 4px; }
.form__msg { margin-top: 12px; font-size: .92rem; min-height: 1.2em; }
.form__msg.ok { color: var(--accent-d); }
.form__msg.err { color: #d9534f; }
.form__fine { margin-top: 12px; font-size: .82rem; color: var(--muted); text-align: center; }

/* footer */
.footer { background: var(--dark); color: #aebccb; padding: 54px 0 40px; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.footer__brand .brand__name { color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.2rem; }
.footer__brand .brand__name b { color: var(--accent-2); }
.footer__brand p { margin-top: 10px; font-size: .92rem; max-width: 34ch; }
.footer__meta { display: flex; flex-direction: column; gap: 9px; font-size: .9rem; text-align: right; }
.footer__meta a { color: #aebccb; }
.footer__meta a:hover { color: var(--accent-2); }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* animations */
@keyframes blip { 0% { box-shadow: 0 0 0 0 rgba(10,157,99,.5); } 70% { box-shadow: 0 0 0 8px rgba(10,157,99,0); } 100% { box-shadow: 0 0 0 0 rgba(10,157,99,0); } }
@keyframes sweep { to { stroke-dashoffset: -520; } }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .panel__live .dot { animation: none; }
  .pulse-line { animation: none; stroke-dashoffset: 0; }
}

/* responsive */
@media (max-width: 940px) {
  .hero__inner, .why__inner, .demo__inner { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 420px; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .cap-grid { grid-template-columns: 1fr 1fr; }
  .story { grid-template-columns: 1fr; gap: 18px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) {
  .nav__links a:not(.btn) { display: none; }
  .svc-grid, .cap-grid, .team-grid { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; }
  .footer__meta { text-align: left; }
}
