/* Tatawwor — brand system derived from the logo mark:
   deep blue → cyan gradients, violet mid-stroke, pill geometry. */
:root {
  --ink: #0a1730;            /* navy ink — heros, footer */
  --ink-2: #12244a;
  --text: #33415c;
  --text-soft: #5a6b85;
  --surface: #ffffff;
  --surface-2: #f4f7fb;      /* soft blue-biased grey */
  --line: #e3e9f2;
  --blue: #0b52c0;
  --cyan: #35c8d6;
  --violet: #7c5cff;
  --grad: linear-gradient(100deg, var(--blue) 0%, var(--cyan) 100%);
  --grad-violet: linear-gradient(100deg, var(--violet) 0%, var(--cyan) 100%);
  --radius: 16px;
  --maxw: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.65;
  font-size: 16.5px;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ── Header ─────────────────────────────────────────────── */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none !important; }
.brand img { width: 30px; height: 30px; }
.brand span {
  font-weight: 800; letter-spacing: .18em; font-size: 15px; color: var(--ink);
}
.nav-links { display: flex; align-items: center; gap: 22px; margin-inline-start: auto; }
.nav-links > a {
  color: var(--text); font-weight: 600; font-size: 14.5px; text-decoration: none;
}
.nav-links > a:hover { color: var(--blue); }
.dropdown { position: relative; }
.dropdown > a::after { content: " ▾"; font-size: 10px; color: var(--text-soft); }
.dropdown-menu {
  position: absolute; top: 100%; inset-inline-start: -12px; padding-top: 10px;
  display: none; min-width: 230px;
}
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu ul {
  list-style: none; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; box-shadow: 0 12px 32px rgba(10,23,48,.10); padding: 8px;
}
.dropdown-menu a {
  display: block; padding: 9px 14px; border-radius: 8px;
  color: var(--text); font-weight: 600; font-size: 14px; text-decoration: none;
}
.dropdown-menu a:hover { background: var(--surface-2); color: var(--blue); }
.btn {
  display: inline-block; background: var(--grad); color: #fff !important;
  font-weight: 700; font-size: 14.5px; padding: 11px 22px; border-radius: 999px;
  text-decoration: none !important; box-shadow: 0 4px 14px rgba(11,82,192,.25);
}
.btn:hover { filter: brightness(1.07); }
.btn.ghost {
  background: transparent; color: #fff !important;
  border: 1px solid rgba(255,255,255,.35); box-shadow: none;
}
.btn.ghost:hover { background: rgba(255,255,255,.08); }

/* mobile nav */
.nav-toggle { display: none; margin-inline-start: auto; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2.5px; background: var(--ink); margin: 4.5px 0; border-radius: 2px; }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px 18px 18px;
  }
  .nav-links.open { display: flex; }
  .nav-links > a { padding: 12px 6px; border-bottom: 1px solid var(--surface-2); }
  .dropdown-menu { display: block; position: static; padding: 0; }
  .dropdown-menu ul { border: 0; box-shadow: none; padding: 0 0 0 14px; }
  .nav-links .btn { margin-top: 14px; text-align: center; }
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 60%, #16305f 100%);
}
.hero .wrap { position: relative; z-index: 2; padding-top: 88px; padding-bottom: 96px; }
.hero.compact .wrap { padding-top: 64px; padding-bottom: 64px; }
.kicker {
  display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(30px, 5vw, 46px); line-height: 1.15; font-weight: 800;
  letter-spacing: -.01em; max-width: 720px; text-wrap: balance;
}
.hero p.lede { margin-top: 18px; font-size: 18px; color: rgba(255,255,255,.82); max-width: 620px; }
.hero .cta-row { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
/* decorative brand pills (the logo motif) */
.pill { position: absolute; border-radius: 999px; filter: blur(2px); opacity: .5; z-index: 1; }
.pill.p1 { width: 420px; height: 120px; background: var(--grad); top: -40px; right: -120px; }
.pill.p2 { width: 260px; height: 84px; background: var(--grad-violet); bottom: 40px; right: 60px; opacity: .35; }
.pill.p3 { width: 130px; height: 48px; background: var(--grad); bottom: -14px; right: 260px; opacity: .45; }

/* ── Sections ───────────────────────────────────────────── */
section { padding: 72px 0; }
section.alt { background: var(--surface-2); }
h2.sec {
  font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; color: var(--ink);
  letter-spacing: -.01em; margin-bottom: 14px; text-wrap: balance;
}
p.sec-lede { color: var(--text-soft); max-width: 700px; margin-bottom: 34px; }
.prose p { margin-bottom: 16px; max-width: 760px; }
.prose h3 { color: var(--ink); font-size: 20px; margin: 28px 0 8px; }

/* cards */
.grid { display: grid; gap: 18px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px;
}
section.alt .card { border-color: #e8edf5; }
.card h3 { color: var(--ink); font-size: 17.5px; margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--text-soft); }
.card .chip {
  display: inline-block; width: 42px; height: 14px; border-radius: 999px;
  background: var(--grad); margin-bottom: 16px;
}
.card:nth-child(3n+2) .chip { background: var(--grad-violet); }
.card ul { margin: 10px 0 0 18px; font-size: 15px; color: var(--text-soft); }
.card ul li { margin-bottom: 6px; }

/* stats band */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; text-align: center; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat b { display: block; font-size: 34px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat b em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat span { font-size: 13.5px; color: var(--text-soft); font-weight: 600; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--ink) 0%, #16305f 100%); color: #fff; border-radius: 22px; padding: 44px; position: relative; overflow: hidden; }
.cta-band h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; margin-bottom: 10px; text-wrap: balance; }
.cta-band p { color: rgba(255,255,255,.8); max-width: 640px; margin-bottom: 24px; }
.cta-band .pill { opacity: .35; }

/* footer */
footer.site { background: var(--ink); color: rgba(255,255,255,.75); margin-top: 40px; }
footer.site .wrap { padding: 52px 24px 32px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr; } }
footer .brand span { color: #fff; }
footer h4 { color: #fff; font-size: 13.5px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
footer a { color: rgba(255,255,255,.75); text-decoration: none; display: block; margin-bottom: 8px; font-size: 14.5px; }
footer a:hover { color: #fff; }
footer .fine { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px; font-size: 13px; color: rgba(255,255,255,.5); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
footer .contact p { margin-bottom: 8px; font-size: 14.5px; }

/* solutions page */
.solution-hero {
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
}
@media (max-width: 860px) { .solution-hero { grid-template-columns: 1fr; } }
.solution-hero img { width: 168px; height: 168px; border-radius: 36px; box-shadow: 0 16px 48px rgba(10,23,48,.35); }
