:root {
  --navy: #2B2F36;
  --teal: #2F8C86;
  --teal-dk: #236B66;
  --teal-lt: #4FB3A9;
  --paper: #F5F7F7;
  --white: #FFFFFF;
  --ink: #2B2F36;
  --muted: #5E6670;
  --line: #DDE2E4;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 'Plus Jakarta Sans', system-ui, sans-serif;
}
a { color: var(--teal-dk); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.3px; }
h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; }
h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 14px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand img { display: block; width: auto; height: 52px; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--navy); }
.nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--teal); }

/* Sections */
section { padding: 72px 0; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--teal-dk); margin-bottom: 10px; }
.lead { font-size: 19px; color: var(--muted); max-width: 640px; }
.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Hero */
.hero { padding: 88px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.flow { width: 100%; height: auto; }

/* Cards */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; }
.alt .card { background: var(--paper); }
.for { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.card p { color: var(--muted); font-size: 16px; flex: 1; }
.more { font-weight: 700; font-size: 15px; text-decoration: none; }
.status { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; margin-bottom: 14px; align-self: flex-start; }
.status.live { background: #DCEFEC; color: var(--teal-dk); }
.status.dev { background: #E8EBED; color: var(--muted); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 3px solid var(--navy); padding-top: 16px; }
.steps li:last-child { border-top-color: var(--teal); }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-weight: 800; color: var(--teal-dk); font-size: 14px; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 16px; }

/* Company facts */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--white); margin-top: 28px; }
.facts div { padding: 18px 20px; border-left: 1px solid var(--line); }
.facts div:first-child { border-left: 0; }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-weight: 700; }

/* Page intro and solution blocks */
.page-intro { padding: 64px 0 40px; }
.solution .wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; }
.solution .status { margin-bottom: 10px; }
.used { font-size: 15px; font-weight: 500; color: var(--teal-dk); }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 32px; }
.items { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.items li { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; }
.alt .items li { background: var(--paper); }
.items b { display: block; }
.items span { color: var(--muted); font-size: 15px; }

/* Contact */
.phone { display: flex; align-items: center; gap: 14px; }
.wa { display: inline-flex; color: #25D366; }
.wa svg { width: 28px; height: 28px; fill: currentColor; }

/* Long text */
.prose { max-width: 760px; }
.prose h2 { font-size: 22px; margin-top: 36px; }
.prose ul { padding-left: 20px; margin: 0 0 14px; }

/* Draft-only marker for content still to be supplied */
.placeholder { outline: 2px dashed #E0A458; outline-offset: 4px; }

/* Footer */
.site-footer { background: var(--navy); color: #C9CFD3; font-size: 14px; padding: 36px 0; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.site-footer a { color: var(--teal-lt); }
.site-footer b { color: var(--white); }

@media (max-width: 860px) {
  .hero .wrap, .grid3, .solution .wrap { grid-template-columns: 1fr; gap: 24px; }
  .steps, .facts, .grid4 { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  section { padding: 52px 0; }
}
@media (max-width: 520px) {
  .steps, .facts, .grid4 { grid-template-columns: 1fr; }
  .facts div { border-left: 0; border-top: 1px solid var(--line); }
  .facts div:first-child { border-top: 0; }
}

/* Motion (assets/site.js adds the classes; without JS the page is static) */
.hero { position: relative; overflow: hidden; }
.hero .net { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.35), #000 65%); mask-image: linear-gradient(90deg, rgba(0,0,0,.35), #000 65%); }
.hero .wrap { position: relative; }
.hero h1 .rest { visibility: hidden; }
.hero h1 .caret { display: inline-block; width: 0.08em; height: 0.9em; margin: 0 0.04em -0.08em; background: var(--teal); animation: blink 1s steps(1) infinite; }
.hero h1.typed-done .caret { display: none; }
@keyframes blink { 50% { opacity: 0; } }
.flow .line { animation: flowdash 1.2s linear infinite; }
@keyframes flowdash { to { stroke-dashoffset: -12; } }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.card { transition: opacity .6s ease, transform .3s ease, box-shadow .25s ease, border-color .25s ease; }
.card:hover { transform: translateY(-4px); border-color: var(--teal); box-shadow: 0 10px 28px rgba(43,47,54,.10); }
@media (prefers-reduced-motion: reduce) {
  .flow .line, .hero h1 .caret { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .card:hover { transition: none; transform: none; }
}
