:root {
  --brand-blue: #1e4a9e;
  --brand-blue-dark: #173a7d;
  --brand-teal: #2a9d8f;
  --brand-teal-dark: #20796e;
  --brand-gradient: linear-gradient(135deg, #1e4a9e 0%, #2a9d8f 100%);
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-tint: #eef6f4;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --container: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--brand-blue); text-decoration: none; }
a:hover { color: var(--brand-teal); }

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

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  z-index: 50;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 65px; width: auto; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 15px;
}
.nav-links a:hover { color: var(--brand-blue); }
.nav-cta {
  background: var(--brand-gradient);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.nav-cta:hover { opacity: 0.94; color: #fff !important; }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  padding: 96px 0 80px;
  background:
    radial-gradient(1000px 400px at 100% -10%, rgba(42, 157, 143, 0.12), transparent 60%),
    radial-gradient(800px 400px at -10% 10%, rgba(30, 74, 158, 0.10), transparent 60%),
    var(--bg);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  background: var(--bg-tint);
  color: var(--brand-teal-dark);
  font-weight: 600;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.2px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
  margin: 0 0 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero h1 .grad {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 0 28px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  font-size: 15px;
}
.btn-primary {
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: 0 10px 24px rgba(30, 74, 158, 0.22);
}
.btn-primary:hover { transform: translateY(-1px); color: #fff; }
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--brand-teal); color: var(--brand-teal-dark); }

.hero-stats {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 520px;
}
.hero-stats .stat strong {
  display: block;
  font-size: 22px;
  color: var(--brand-blue);
  font-weight: 800;
}
.hero-stats .stat span { font-size: 13px; color: var(--muted); }

.hero-art {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(30, 74, 158, 0.08), rgba(42, 157, 143, 0.10)),
    var(--bg-soft);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-art .card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
  font-size: 13px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-art .card .dot {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--brand-gradient);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.hero-art .c1 { top: 10%; left: 8%; }
.hero-art .c2 { top: 42%; right: 6%; }
.hero-art .c3 { bottom: 10%; left: 14%; }
.hero-art .blob {
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: var(--brand-gradient);
  opacity: 0.18;
  filter: blur(10px);
}

/* Section base */
section { padding: 84px 0; }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

/* Features */
.features {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.feature .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-tint);
  color: var(--brand-teal-dark);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  font-size: 22px;
  font-weight: 700;
}
.feature h3 {
  font-size: 18px;
  margin: 0 0 8px;
  font-weight: 700;
}
.feature p { color: var(--muted); margin: 0; font-size: 15px; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-grid h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  margin: 0 0 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.about-grid p { color: var(--ink-soft); font-size: 16px; }
.checklist { list-style: none; padding: 0; margin: 20px 0 0; }
.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  color: var(--ink-soft);
}
.checklist li::before {
  content: "";
  flex: 0 0 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-gradient);
  margin-top: 2px;
  background-image:
    linear-gradient(135deg, #1e4a9e 0%, #2a9d8f 100%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>");
  background-size: cover, 14px 14px;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}
.about-visual {
  background: var(--bg-gradient, var(--brand-gradient));
  border-radius: 22px;
  padding: 2px;
}
.about-visual-inner {
  background: #fff;
  border-radius: 20px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.mini-stat {
  padding: 18px;
  background: var(--bg-soft);
  border-radius: 14px;
  border: 1px solid var(--line);
}
.mini-stat strong {
  display: block;
  font-size: 26px;
  color: var(--brand-blue);
  font-weight: 800;
}
.mini-stat span { font-size: 13px; color: var(--muted); }

/* CTA */
.cta-band {
  background: var(--brand-gradient);
  color: #fff;
  border-radius: 24px;
  padding: 56px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 {
  margin: 0 0 6px;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
}
.cta-band p { margin: 0; opacity: 0.92; }
.cta-band .btn {
  background: #fff;
  color: var(--brand-blue);
}
.cta-band .btn:hover { color: var(--brand-blue-dark); }

/* Footer */
.footer {
  background: #0b1730;
  color: #cbd5e1;
  padding: 64px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
}
.footer h4 {
  color: #fff;
  font-size: 15px;
  margin: 0 0 14px;
  letter-spacing: 0.02em;
}
.footer a { color: #cbd5e1; font-size: 14px; display: block; padding: 4px 0; }
.footer a:hover { color: #fff; }
.footer .brand-foot img {
  height: 80px;
  filter: brightness(0) invert(1);
  margin-bottom: 18px;
}
.footer .brand-foot p { font-size: 14px; color: #94a3b8; max-width: 320px; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: #94a3b8;
}

/* Legal / content pages */
.page-hero {
  background:
    radial-gradient(800px 300px at 100% -20%, rgba(42, 157, 143, 0.12), transparent 60%),
    radial-gradient(800px 300px at -20% 0%, rgba(30, 74, 158, 0.10), transparent 60%),
    var(--bg);
  padding: 80px 0 48px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(30px, 4.2vw, 44px);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.page-hero p { color: var(--muted); margin: 0; font-size: 16px; }

.doc {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}
.doc h2 {
  font-size: 22px;
  margin: 36px 0 10px;
  font-weight: 700;
  color: var(--ink);
}
.doc h3 {
  font-size: 17px;
  margin: 22px 0 8px;
  font-weight: 600;
}
.doc p, .doc li { color: var(--ink-soft); font-size: 16px; }
.doc ul { padding-left: 20px; }
.doc .meta {
  color: var(--muted);
  font-size: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 10px;
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 64px 24px;
}
.contact-info h2 {
  font-size: 26px;
  margin: 0 0 10px;
  font-weight: 800;
}
.contact-info p { color: var(--ink-soft); }
.info-item {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.info-item:last-child { border-bottom: 0; }
.info-item .ico {
  flex: 0 0 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-tint);
  color: var(--brand-teal-dark);
  display: grid;
  place-items: center;
  font-weight: 700;
}
.info-item strong { display: block; color: var(--ink); }
.info-item span { color: var(--muted); font-size: 14px; }

.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.form h2 { margin: 0 0 8px; font-size: 22px; font-weight: 800; }
.form p.hint { color: var(--muted); margin: 0 0 20px; font-size: 14px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--brand-teal);
  box-shadow: 0 0 0 4px rgba(42, 157, 143, 0.14);
}
.field textarea { min-height: 130px; resize: vertical; }
.form .btn { width: 100%; justify-content: center; }
.form-success {
  display: none;
  background: #ecfdf5;
  color: #065f46;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  margin-top: 14px;
  border: 1px solid #a7f3d0;
}
.form-success.show { display: block; }

/* Mobile */
@media (max-width: 900px) {
  .nav-inner { height: 84px; }
  .brand img { height: 52px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 18px 24px;
    border-bottom: 1px solid var(--line);
    gap: 14px;
  }
  .nav-toggle { display: block; }
  .hero { padding: 56px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { max-width: 520px; margin: 0 auto; width: 100%; }
  .grid-3 { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-visual-inner { grid-template-columns: 1fr 1fr; padding: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .cta-band { padding: 36px 28px; text-align: center; justify-content: center; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; padding: 40px 24px; }
  section { padding: 64px 0; }
}
@media (max-width: 520px) {
  .nav-inner { height: 72px; }
  .brand img { height: 44px; }
  .nav-links.open { top: 72px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-visual-inner { grid-template-columns: 1fr; }
}
