:root {
  --navy: #102033;
  --blue: #1f3a5f;
  --teal: #2bb3a3;
  --teal-dark: #1e8f83;
  --ice: #eaf7fa;
  --snow: #f7fafc;
  --white: #ffffff;
  --text: #1a202c;
  --muted: #5a6778;
  --line: #dbe5ee;
  --shadow: 0 16px 36px rgba(16, 32, 51, 0.08);
  --shadow-strong: 0 18px 45px rgba(16, 32, 51, 0.12);
  --radius: 24px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--snow);
  line-height: 1.55;
  font-size: 16px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* =========================
   Header
========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 250, 252, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(219, 229, 238, 0.8);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  font-size: 1.2rem;
  white-space: nowrap;
}

.brand-name {
  display: inline-flex;
  align-items: flex-start;
  gap: 4px;
}

.brand-canada {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 0, 0, 0.08);
  color: #ff0000;
  border: 1px solid rgba(255, 0, 0, 0.18);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 13px;
  background:
    radial-gradient(circle at 70% 30%, rgba(43, 179, 163, 0.95), transparent 38%),
    linear-gradient(135deg, var(--navy), var(--blue));
  position: relative;
  box-shadow: 0 8px 18px rgba(16, 32, 51, 0.18);
}

.brand-mark::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 11px;
  height: 2px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  transform: rotate(-10deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.93rem;
  color: var(--blue);
  font-weight: 600;
}

.nav-links a {
  opacity: 0.88;
}

.nav-links a:hover {
  color: var(--teal-dark);
  opacity: 1;
}

.mobile-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.75rem;
  color: var(--navy);
  cursor: pointer;
}

/* =========================
   Buttons
========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 750;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(16, 32, 51, 0.16);
}

.btn-primary:hover {
  background: #172b43;
  box-shadow: 0 14px 28px rgba(16, 32, 51, 0.2);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--line);
}

.btn-secondary:hover {
  border-color: rgba(43, 179, 163, 0.45);
  box-shadow: 0 10px 24px rgba(16, 32, 51, 0.08);
}

/* =========================
   Typography
========================= */

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  letter-spacing: -0.035em;
  line-height: 1.12;
}

h1 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  max-width: 640px;
}

h2 {
  font-size: clamp(1.65rem, 2.45vw, 2.45rem);
}

h3 {
  font-size: 1.24rem;
  letter-spacing: -0.025em;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 650px;
  margin: 18px 0 0;
}

/* =========================
   Boxed Hero
========================= */

.hero-boxed {
  padding: 42px 0 48px;
}

.hero-shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 34px;
}

.hero-copy {
  max-width: 620px;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 12px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--blue);
  background: var(--ice);
  border: 1px solid rgba(43, 179, 163, 0.18);
  border-radius: 999px;
  letter-spacing: 0.01em;
}

.hero-boxed h1 {
  margin: 0 0 16px;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--navy);
  max-width: 620px;
}

.hero-text {
  margin: 0 0 18px;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 580px;
}

.hero-points {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.hero-points li {
  position: relative;
  padding-left: 26px;
  color: var(--text);
  font-size: 0.98rem;
}

.hero-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--teal-dark);
  font-weight: 900;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-media img {
  width: 100%;
  max-width: 520px;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 14px 32px rgba(16, 32, 51, 0.12);
  background: #fff;
}

/* Optional fallback if no image loads */
.hero-media {
  min-height: 300px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 80% 20%, rgba(43, 179, 163, 0.22), transparent 35%),
    linear-gradient(135deg, #f7fafc, #eaf7fa);
}

/* =========================
   Legacy hero classes
   Kept so older HTML still does not break
========================= */

.hero {
  position: relative;
  overflow: hidden;
  padding: 52px 0 54px;
}

.hero-grid,
.hero-v2-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 44px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  background: rgba(234, 247, 250, 0.85);
  color: var(--blue);
  border: 1px solid rgba(43, 179, 163, 0.2);
  border-radius: 999px;
  font-weight: 750;
  font-size: 0.84rem;
  margin-bottom: 18px;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(43, 179, 163, 0.12);
}

.trust-line {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.95rem;
  display: flex;
  gap: 10px;
  align-items: center;
}

.check {
  color: var(--teal-dark);
  font-weight: 900;
}

/* =========================
   Assistant mockup
========================= */

.assistant-card,
.hero-v2-panel {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(219, 229, 238, 0.95);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.assistant-card::before,
.hero-v2-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--teal), #8be1d8, var(--blue));
}

.assistant-top {
  padding: 22px 22px 15px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.assistant-title {
  font-weight: 850;
  color: var(--navy);
}

.status-pill {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--teal-dark);
  background: rgba(43, 179, 163, 0.12);
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.assistant-body {
  padding: 22px;
}

.question-box,
.panel-question {
  background: var(--snow);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 15px;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 16px;
}

.answer-box,
.panel-answer {
  background: linear-gradient(180deg, #ffffff, #f9fcfd);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 17px;
}

.answer-box p,
.panel-answer p {
  margin: 0;
  color: #34445a;
}

.sources {
  margin-top: 16px;
  display: grid;
  gap: 9px;
}

.source {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  background: rgba(234, 247, 250, 0.55);
  border: 1px solid rgba(43, 179, 163, 0.12);
  padding: 10px 12px;
  border-radius: 13px;
}

.mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 22px 22px;
}

.mini-tags span {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--blue);
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 10px;
}

/* =========================
   Page Sections
========================= */

section {
  padding: 68px 0;
}

.section-head {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.02rem;
  margin: 0;
}

.cards-3,
.cards-4 {
  display: grid;
  gap: 20px;
}

.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

.cards-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 10px 24px rgba(16, 32, 51, 0.05);
}

.card p {
  color: var(--muted);
  margin: 12px 0 0;
}

.icon {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--ice);
  color: var(--teal-dark);
  margin-bottom: 16px;
  font-size: 1.25rem;
}

.soft-section {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.solutions .card {
  min-height: 260px;
}

.best-for {
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--blue);
  font-weight: 750;
}

/* =========================
   Process
========================= */

.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  min-height: 215px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 13px;
  background: var(--navy);
  color: var(--white);
  font-weight: 850;
  margin-bottom: 16px;
}

.step p {
  color: var(--muted);
  margin: 10px 0 0;
  font-size: 0.94rem;
}

/* =========================
   Trust Band
========================= */

.trust-band {
  background:
    radial-gradient(circle at 15% 10%, rgba(43, 179, 163, 0.18), transparent 28%),
    linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
  border-radius: 32px;
  padding: 42px;
  overflow: hidden;
  position: relative;
}

.trust-band h2,
.trust-band h3 {
  color: var(--white);
}

.trust-band .section-head p,
.trust-band p {
  color: rgba(255, 255, 255, 0.76);
}

.trust-band .card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.trust-band .icon {
  background: rgba(255, 255, 255, 0.12);
  color: #9cf0e7;
}

/* =========================
   Security
========================= */

.security-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
}

.security-panel {
  background: var(--ice);
  border: 1px solid rgba(43, 179, 163, 0.16);
  border-radius: 28px;
  padding: 32px;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #34445a;
}

/* =========================
   Case Study
========================= */

.case-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 30px;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.case-visual {
  background:
    radial-gradient(circle at 30% 20%, rgba(43, 179, 163, 0.28), transparent 34%),
    linear-gradient(135deg, #102033, #1f3a5f);
  min-height: 320px;
  padding: 30px;
  display: flex;
  align-items: flex-end;
}

.case-mini {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  padding: 22px;
  color: var(--white);
  backdrop-filter: blur(10px);
}

.case-mini strong {
  display: block;
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.case-copy {
  padding: 38px 38px 38px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-copy p {
  color: var(--muted);
  font-size: 1rem;
}

/* =========================
   Pricing
========================= */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 28px;
  box-shadow: 0 10px 24px rgba(16, 32, 51, 0.055);
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border: 2px solid rgba(43, 179, 163, 0.45);
  box-shadow: var(--shadow-strong);
  transform: translateY(-6px);
}

.price {
  color: var(--navy);
  font-size: 1.75rem;
  letter-spacing: -0.04em;
  font-weight: 900;
  margin: 18px 0 4px;
}

.price-note {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 22px;
}

.price-card ul {
  padding: 0;
  margin: 18px 0 28px;
  list-style: none;
  display: grid;
  gap: 12px;
  color: #34445a;
}

.price-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.price-card .btn {
  margin-top: auto;
}

/* =========================
   CTA and Contact Form
========================= */

.cta {
  background:
    radial-gradient(circle at 85% 20%, rgba(43, 179, 163, 0.16), transparent 32%),
    var(--white);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 46px;
  box-shadow: var(--shadow);
}

.cta > h2,
.cta > p {
  text-align: center;
}

.cta p {
  color: var(--muted);
  max-width: 720px;
  margin: 18px auto 0;
  font-size: 1.04rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.contact-cta {
  text-align: left;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 34px;
  align-items: start;
  margin-top: 38px;
}

.contact-note {
  background: linear-gradient(180deg, rgba(234, 247, 250, 0.9), rgba(247, 250, 252, 0.95));
  border: 1px solid rgba(43, 179, 163, 0.18);
  border-radius: 24px;
  padding: 26px;
  min-height: 100%;
}

.contact-note h3 {
  margin-bottom: 12px;
}

.contact-note p {
  color: var(--muted);
  margin: 0 0 18px;
  font-size: 1rem;
}

.contact-note .feature-list li {
  color: #34445a;
}

.contact-form {
  background: #ffffff;
  border: 1px solid rgba(219, 229, 238, 0.95);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 16px 38px rgba(16, 32, 51, 0.09);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #8a98a8;
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(43, 179, 163, 0.85);
  box-shadow: 0 0 0 4px rgba(43, 179, 163, 0.12);
  background: #fcffff;
}

.form-field.error input,
.form-field.error select,
.form-field.error textarea {
  border-color: #d64545;
  box-shadow: 0 0 0 4px rgba(214, 69, 69, 0.08);
}

.error-message {
  min-height: 18px;
  color: #b42318;
  font-size: 0.84rem;
  font-weight: 650;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.form-actions .btn {
  min-width: 160px;
}

.form-status {
  display: none;
  color: var(--teal-dark);
  font-weight: 800;
}

.form-status.show {
  display: inline-flex;
}

.form-disclaimer {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.88rem;
}

/* =========================
   Footer
========================= */

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.74);
  padding: 52px 0 26px;
  margin-top: 76px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr 0.7fr;
  gap: 34px;
}

.site-footer h4 {
  color: var(--white);
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}

.site-footer a:hover {
  color: #9cf0e7;
}

.footer-brand {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 850;
  margin-bottom: 14px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 36px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

/* =========================
   Responsive
========================= */

@media (max-width: 1040px) {
  .hero-shell,
  .hero-grid,
  .hero-v2-wrap,
  .section-head,
  .security-grid,
  .case-card,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-boxed h1 {
    max-width: 100%;
  }

  .hero-media img {
    max-width: 100%;
  }

  .case-copy {
    padding: 34px;
  }

  .cards-4,
  .process {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid,
  .cards-3 {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .mobile-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 82px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow-strong);
    padding: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links .btn {
    width: 100%;
  }

  .hero-boxed {
    padding: 30px 0 38px;
  }

  .hero-shell {
    padding: 28px;
  }

  section {
    padding: 54px 0;
  }

  .trust-band {
    padding: 32px 22px;
  }

  .cta {
    padding: 34px 22px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(var(--max), calc(100% - 28px));
  }

  h1,
  .hero-boxed h1 {
    font-size: 1.9rem;
  }

  h2 {
    font-size: 1.65rem;
  }

  .hero-shell {
    padding: 22px;
    border-radius: 22px;
  }

  .hero-media {
    min-height: 220px;
  }

  .cards-4,
  .process,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .assistant-top,
  .assistant-body,
  .mini-tags {
    padding-left: 18px;
    padding-right: 18px;
  }

  .card,
  .price-card,
  .security-panel,
  .contact-form,
  .contact-note {
    padding: 22px;
  }

  .form-actions .btn {
    width: 100%;
  }
}