/* Zada Partners - shared styles
   Palette sampled from the logo: navy, blue, cyan. */

:root {
  --navy: #2e3192;
  --navy-deep: #1d2070;
  --blue: #1b75bc;
  --cyan: #40c4f0;
  --ink: #0f1b2d;
  --muted: #5b6778;
  --line: #e2e8f0;
  --soft: #f4f8fc;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(29, 32, 112, 0.08);
  --max: 1160px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100;
}
.skip-link:focus { left: 8px; }

.wrap { width: min(100% - 32px, var(--max)); margin-inline: auto; }
section { padding: 88px 0; }
.section-soft { background: var(--soft); }

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 14px; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 16px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 64ch; }

.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 14px;
}
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 0.98rem;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .2s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--cyan); color: var(--navy-deep); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand img { height: 58px; width: auto; }
.brand span { font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 9px 14px; border-radius: 999px;
  color: var(--ink); font-weight: 500; font-size: 0.95rem; text-decoration: none;
}
.nav-links a:hover { background: var(--soft); text-decoration: none; }
.nav-links a.btn-primary { color: #fff; background: var(--navy); padding: 11px 20px; }
.nav-links a.btn-primary:hover { background: var(--navy-deep); }
.nav-links a[aria-current="page"] { color: var(--navy); background: #e8ecfa; font-weight: 600; }
.nav-cta { margin-left: 8px; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 12px; font: inherit; color: var(--ink); cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(64, 196, 240, 0.25), transparent 60%),
    radial-gradient(700px 480px at -10% 110%, rgba(46, 49, 146, 0.12), transparent 60%),
    var(--white);
  padding: 96px 0 88px;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero .lead { margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: #e8f6fd; color: var(--navy); font-size: 0.85rem; font-weight: 600; margin-bottom: 22px;
}
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.hero-visual {
  background: linear-gradient(160deg, var(--navy) 0%, var(--blue) 60%, var(--cyan) 100%);
  border-radius: 24px; padding: 40px; color: #fff; box-shadow: 0 30px 60px rgba(46, 49, 146, 0.25);
  display: grid; place-items: center;
}
.hero-visual img {
  width: min(340px, 100%); height: auto; background: #fff; border-radius: 20px; padding: 28px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

/* ---------- Cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); transition: transform .2s ease, border-color .2s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); border-color: #c7d6ea; }
.card p { color: var(--muted); font-size: 0.97rem; }
.card .icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, #e8f6fd, #e8ecfa); color: var(--navy); margin-bottom: 18px;
}
.card .icon svg { width: 24px; height: 24px; }
.card .more { margin-top: auto; padding-top: 14px; font-weight: 600; font-size: 0.95rem; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--muted); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 14px; height: 14px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: inset 0 0 0 4px #fff;
}

/* ---------- Two column split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.panel { background: var(--soft); border-radius: 22px; padding: 40px; }

/* ---------- Stats / strip ---------- */
.strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff;
}
.strip div { padding: 26px 24px; border-right: 1px solid var(--line); }
.strip div:last-child { border-right: 0; }
.strip strong { display: block; font-size: 1.05rem; color: var(--navy); margin-bottom: 4px; }
.strip span { color: var(--muted); font-size: 0.93rem; }

/* ---------- Dark AI/AR band ---------- */
.band-dark {
  background:
    radial-gradient(800px 420px at 90% 0%, rgba(64, 196, 240, 0.28), transparent 60%),
    linear-gradient(160deg, var(--navy-deep), var(--navy));
  color: #e9f1ff;
}
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark p, .band-dark li { color: #c9d6ee; }
.band-dark .eyebrow { color: var(--cyan); }
.band-dark .card { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.12); box-shadow: none; }
.band-dark .card:hover { border-color: rgba(64, 196, 240, 0.6); }
.band-dark .card p { color: #c3d0ea; }
.band-dark .card .icon { background: rgba(64, 196, 240, 0.15); color: var(--cyan); }
.band-dark .check-list li { color: #c9d6ee; }
.band-dark .card .more,
.band-dark a:not(.btn) { color: var(--cyan); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; padding-top: 56px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
}
.step p { color: var(--muted); font-size: 0.96rem; }

/* ---------- Quote ---------- */
.quote {
  background: #fff; border-left: 4px solid var(--cyan); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 28px 32px; box-shadow: var(--shadow);
}
.quote blockquote { margin: 0 0 12px; font-size: 1.25rem; font-weight: 500; color: var(--ink); }
.quote cite { font-style: normal; color: var(--muted); font-size: 0.95rem; }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(120deg, var(--navy), var(--blue));
  color: #fff; border-radius: 24px; padding: 56px; display: flex; align-items: center;
  justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta h2 { color: #fff; margin: 0 0 8px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta p { color: #dbe7ff; margin: 0; }

/* ---------- Page header (inner pages) ---------- */
.page-hero {
  padding: 80px 0 56px;
  background: radial-gradient(900px 380px at 90% -20%, rgba(64, 196, 240, 0.22), transparent 60%), var(--white);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); }

/* ---------- Team ---------- */
.person { display: flex; gap: 18px; align-items: flex-start; }
.avatar {
  flex: 0 0 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--cyan));
  color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem;
}
.person h3 { margin-bottom: 2px; }
.role { color: var(--blue); font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; display: block; }
.person p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---------- News ---------- */
.news-item { border-bottom: 1px solid var(--line); padding: 20px 0; }
.news-item:first-child { padding-top: 0; }
.news-item time { font-size: 0.85rem; color: var(--blue); font-weight: 600; }
.news-item h3 { margin: 4px 0 6px; font-size: 1.05rem; }
.news-item p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid #cbd5e1; border-radius: 10px; padding: 12px 14px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(27, 117, 188, 0.15);
}
.form-note { font-size: 0.9rem; color: var(--muted); margin: 0; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { margin-bottom: 18px; }
.contact-list strong { display: block; color: var(--navy); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; }

/* ---------- Diagram ---------- */
.ar-frame {
  background: radial-gradient(circle at 50% 40%, #1d3f73, #0b1830 70%);
  border-radius: 22px; padding: 16px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}
.ar-frame svg { width: 100%; height: auto; }
.ar-caption { color: #9fb3d6; font-size: 0.85rem; margin-top: 12px; text-align: center; }

/* ---------- Tags ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag { font-size: 0.78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #eef4fb; color: var(--navy); }
.band-dark .tag { background: rgba(64, 196, 240, 0.14); color: #bfeafc; }
.tag-established { background: #e3f4ea; color: #146c3a; }
.tag-scaling { background: #e8ecfa; color: var(--navy); }
.tag-emerging { background: #fff1d6; color: #8a5300; }
.card > .tag { align-self: flex-start; margin-bottom: 10px; }

/* ---------- Comparison table ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.table-wrap {
  overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.compare { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 0.95rem; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--soft); color: var(--navy); font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; }
.compare tbody th { color: var(--ink); font-weight: 700; }
.compare td { color: var(--muted); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }

.note {
  border: 1px dashed #94a3b8; border-radius: 12px; padding: 14px 18px;
  color: var(--muted); font-size: 0.93rem; background: #fff;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b8c4d6; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer .footer-heading { color: #fff; font-weight: 700; font-size: 0.95rem; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #b8c4d6; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-brand img { height: 84px; width: auto; background: #fff; border-radius: 12px; padding: 8px 12px; margin-bottom: 14px; }
.footer-bottom {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.88rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  section { padding: 68px 0; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .strip div:nth-child(2) { border-right: 0; }
  .strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 80px; left: 0; right: 0; background: #fff; flex-direction: column;
    align-items: stretch; padding: 12px 16px 20px; border-bottom: 1px solid var(--line);
    display: none; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-cta { margin: 8px 0 0; text-align: center; }
  .site-header { position: sticky; }
  .nav { position: relative; }
  .cta { padding: 40px 28px; }
}

@media (max-width: 640px) {
  .wrap { width: min(100% - 32px, var(--max)); }
  .grid-2, .grid-3, .grid-4, .steps, .strip { grid-template-columns: 1fr; }
  .strip div { border-right: 0; border-bottom: 1px solid var(--line); }
  .strip div:last-child { border-bottom: 0; }
  .form .row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 56px; }
  .hero-visual { padding: 28px; }
  .panel { padding: 26px; }
  .quote { padding: 22px; }
  .brand span { font-size: 0.95rem; }
  .brand img { height: 40px; }
  .btn { width: 100%; justify-content: center; }
  .hero-actions .btn { width: 100%; }
  .nav-cta { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
