:root {
  --bg: #f6f8fb;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --line: rgba(15, 23, 42, 0.1);
  --blue: #1e5ea8;
  --orange: #e24b2a;
  --radius: 18px;
  --shadow: 0 12px 30px rgba(2, 6, 23, 0.08);
  --shadow2: 0 8px 20px rgba(2, 6, 23, 0.08);
  --max: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px; /* sticky header offset */
}

html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(1200px 600px at 20% 0%, rgba(30, 94, 168, 0.1), transparent 55%),
    radial-gradient(900px 500px at 90% 20%, rgba(226, 75, 42, 0.1), transparent 50%),
    linear-gradient(#ffffff, var(--bg));
}

a {
  color: inherit;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: white;
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);

}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  text-decoration: none;
}

.brand img {
  height: auto;
  width: 260px;
  display: block;
  margin: 0 auto;
}

.nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  font-size: 14px;
  text-decoration: none;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav a:hover {
  background: rgba(30, 94, 168, 0.08);
  color: var(--text);
}

.cta-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Buttons */
.btn {
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 0 rgba(2, 6, 23, 0.02);
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
  white-space: nowrap;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow2);
  border-color: rgba(15, 23, 42, 0.16);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), #2b77cf);
  color: #fff;
  border-color: transparent;
}

.btn-primary:hover {
  box-shadow: 0 16px 32px rgba(30, 94, 168, 0.22);
}

.btn-accent {
  background: linear-gradient(135deg, var(--orange), #ff6a3d);
  color: #fff;
  border-color: transparent;
}

.btn-ghost {
  background: #fff;
  color: var(--text);
}

.btn-block {
  width: 100%;
}

.btn-block-sm {
  /* becomes 100% width on mobile only (see media query) */
}

/* Hamburger */
.nav-toggle {
  display: none;
  border: none;
  background: #fff;
  width: 60px;
  height: 60px;
  padding: 10px;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(2, 6, 23, 0.02);
  font-size: 60px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  margin: 6px 0;
  border-radius: 2px;
}

/* Mobile nav dropdown */
.mobile-nav {
  padding: 8px 0 14px;
}

.mobile-nav-inner {
  display: grid;
  gap: 8px;
  padding: 10px 0;
}

.mobile-nav-inner a {
  text-decoration: none;
  color: var(--text);
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 12px;
}

.mobile-cta {
  display: grid;
  gap: 10px;
  padding-top: 10px;
}

/* Pills */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.accent {
  color: var(--orange);
}

/* Hero */
.hero {
  padding: 54px 0 26px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: stretch;
}

.hero-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.75));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  overflow: hidden;
  position: relative;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(420px 200px at 15% 15%, rgba(30, 94, 168, 0.2), transparent 60%),
    radial-gradient(420px 200px at 85% 15%, rgba(226, 75, 42, 0.18), transparent 60%);
  z-index: 0;
}

.hero-card > * {
  position: relative;
  z-index: 1;
}

h1 {
  margin: 12px 0 10px;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.sub {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 16px;
}

.highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

/* Side card */
.side-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
  padding: 22px;
}

.side-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.side-card p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.5;
}

.mini-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.mini-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid var(--line);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  margin-top: 5px;
  flex: 0 0 auto;
}

.mt-14 {
  margin-top: 14px;
}

/* Sections */
section {
  padding: 28px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(20px, 2.6vw, 28px);
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 1px 0 rgba(2, 6, 23, 0.02);
}

.card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}

.badge {
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  margin-bottom: 10px;
}

.quote {
  margin-top: 8px !important;
  font-weight: 800;
  color: var(--text) !important;
}

/* Process */
.steps {
  counter-reset: step;
}

.step {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  flex: 0 0 auto;
}

.step strong {
  display: block;
  margin-bottom: 2px;
}

.step span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

/* Contact */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
}

.contact-card {
  padding: 20px;
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.contact-lines a {
  color: var(--text);
  text-decoration: none;
}

.contact-lines small {
  color: var(--muted);
}

.contact-actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.muted {
  color: var(--muted);
  margin-top: 6px;
}

form {
  display: grid;
  gap: 10px;
}

label {
  font-size: 13px;
  color: var(--muted);
}

input,
textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: #fff;
  font: inherit;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: rgba(30, 94, 168, 0.6);
  box-shadow: 0 0 0 4px rgba(30, 94, 168, 0.12);
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.fineprint {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
  margin: 0;
}

/* Footer */
footer {
  padding: 24px 0 38px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  margin-top: 26px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-copy {
  display: inline-block;
  margin-top: 8px;
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    padding: 28px 0 18px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .grid3 {
    grid-template-columns: 1fr;
  }

  .grid2 {
    grid-template-columns: 1fr;
  }

  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* Keep navigation usable on mobile */
  .nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* CTA compact */
  .cta-row {
    display: none;
  }

  /* Make key CTAs full-width on mobile */
  .btn-block-sm {
    width: 100%;
  }

  h1 {
    font-size: 32px;
    line-height: 1.08;
  }

  .hero-card,
  .side-card {
    padding: 18px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
