:root {
  --blue: #0f76d1;
  --blue-dark: #0756aa;
  --sky: #e8f5ff;
  --slate: #0f172a;
  --muted: #5b6678;
  --border: #dce6f1;
  --bg: #f7fbff;
  --white: #ffffff;
}
* { 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(--slate);
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 220px; }
.brand img { width: 48px; height: 48px; object-fit: cover; border-radius: 16px; }
.brand strong { display: block; font-size: 15px; line-height: 1.1; }
.brand span { display: block; font-size: 12px; color: var(--muted); }
.nav-links { display: flex; gap: 28px; color: var(--muted); font-size: 14px; font-weight: 650; }
.nav-links a:hover { color: var(--blue); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 18px;
  padding: 14px 22px;
  background: var(--blue);
  color: white;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(15,118,209,.22);
}
.btn:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-small { padding: 10px 16px; border-radius: 14px; font-size: 14px; }
.btn-secondary { background: white; color: var(--blue); border: 1px solid var(--border); box-shadow: none; }
.btn-secondary:hover { background: var(--sky); color: var(--blue-dark); }
.hero { background: radial-gradient(circle at 85% 10%, #dff4ff 0, transparent 28%), white; padding: 76px 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 46px; align-items: center; }
.pill { display: inline-flex; border: 1px solid #bde7ff; background: var(--sky); color: var(--blue-dark); font-weight: 800; font-size: 14px; padding: 8px 14px; border-radius: 999px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(42px, 7vw, 66px); line-height: .98; letter-spacing: -2px; margin-bottom: 24px; }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.05; letter-spacing: -1px; margin-bottom: 16px; }
h3 { font-size: 20px; margin-bottom: 8px; }
.lead { font-size: 19px; color: var(--muted); max-width: 650px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.quick-info { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; color: var(--muted); font-size: 14px; }
.quick-info span { background: #f2f7fc; border: 1px solid var(--border); border-radius: 999px; padding: 7px 11px; }
.hero-card { background: linear-gradient(145deg, #fff, #edf8ff); border: 1px solid var(--border); border-radius: 36px; padding: 32px; text-align: center; box-shadow: 0 26px 60px rgba(15, 23, 42, .10); }
.full-logo { width: 100%; max-width: 460px; border-radius: 20px; object-fit: contain; background: white; }
.hero-card p { color: var(--muted); margin: 24px auto 0; max-width: 420px; }
.section { padding: 76px 0; }
.section-label { color: var(--blue); font-weight: 900; letter-spacing: .02em; margin-bottom: 8px; }
.section-label.light { color: #8bd5ff; }
.section-intro { color: var(--muted); max-width: 720px; font-size: 17px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.card { background: white; border: 1px solid var(--border); border-radius: 28px; padding: 26px; box-shadow: 0 12px 30px rgba(15, 23, 42, .04); }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15, 23, 42, .08); }
.icon { font-size: 34px; margin-bottom: 16px; }
.card p, .about-copy, .quote-box p { color: var(--muted); }
.about-section, .contact-section { background: white; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 52px; }
.about-copy p { font-size: 17px; }
.about-copy strong { color: var(--slate); }
.quote-box { display: grid; grid-template-columns: .9fr 1.1fr; gap: 34px; align-items: start; background: var(--slate); color: white; border-radius: 36px; padding: 42px; box-shadow: 0 22px 55px rgba(15,23,42,.18); }
.quote-form { background: white; color: var(--slate); border-radius: 28px; padding: 24px; display: grid; gap: 15px; }
.quote-form label { font-size: 13px; font-weight: 800; color: #344155; }
input, textarea { width: 100%; margin-top: 6px; border: 1px solid var(--border); border-radius: 16px; padding: 13px 14px; font: inherit; outline: none; }
textarea { min-height: 120px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(15,118,209,.12); }
.form-note { font-size: 12px; margin: 0; }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
.contact-card { display: block; background: #f8fbff; border: 1px solid var(--border); border-radius: 26px; padding: 24px; }
.contact-card:hover { border-color: #9bd7ff; background: var(--sky); }
.contact-card span { display: block; color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.contact-card strong { display: block; overflow-wrap: anywhere; }
footer { border-top: 1px solid var(--border); padding: 26px 0; color: var(--muted); font-size: 14px; }
.footer-wrap { text-align: center; }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero-grid, .about-grid, .quote-box { grid-template-columns: 1fr; }
  .cards, .contact-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 54px 0; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 28px, 1120px); }
  .brand { min-width: auto; }
  .brand div { display: none; }
  .cards, .contact-grid { grid-template-columns: 1fr; }
  .quote-box { padding: 24px; border-radius: 28px; }
  h1 { letter-spacing: -1px; }
}
.trust-section { background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%); }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; margin-top: 34px; }
.trust-card { background: white; border: 1px solid var(--border); border-radius: 28px; padding: 24px; box-shadow: 0 12px 30px rgba(15, 23, 42, .04); }
.trust-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15, 23, 42, .08); }
.trust-icon { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--sky); color: var(--blue-dark); font-weight: 900; margin-bottom: 16px; }
.trust-card p { color: var(--muted); }
select { width: 100%; margin-top: 6px; border: 1px solid var(--border); border-radius: 16px; padding: 13px 14px; font: inherit; outline: none; background: white; }
select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(15,118,209,.12); }
@media (max-width: 860px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .trust-grid { grid-template-columns: 1fr; } }

.bug-section { background: white; }
.bug-box { display: grid; grid-template-columns: .95fr 1.05fr; gap: 34px; align-items: start; }
.bug-form { background: #f8fbff; color: var(--slate); border: 1px solid var(--border); border-radius: 28px; padding: 24px; display: grid; gap: 15px; box-shadow: 0 12px 30px rgba(15, 23, 42, .04); }
.bug-form label { font-size: 13px; font-weight: 800; color: #344155; }
@media (max-width: 860px) { .bug-box { grid-template-columns: 1fr; } }


.help-section { background: #ffffff; }
.help-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.help-list span { display: inline-flex; align-items: center; border: 1px solid var(--border); background: #f8fbff; color: #243147; border-radius: 999px; padding: 10px 14px; font-weight: 750; box-shadow: 0 8px 20px rgba(15,23,42,.03); }
.how-section { background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.step-card { background: white; border: 1px solid var(--border); border-radius: 28px; padding: 24px; box-shadow: 0 12px 30px rgba(15,23,42,.04); }
.step-card span { width: 38px; height: 38px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: var(--blue); color: white; font-weight: 900; margin-bottom: 16px; }
.step-card p { color: var(--muted); }
.faq-section { background: #f7fbff; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
details { background: white; border: 1px solid var(--border); border-radius: 22px; padding: 18px 20px; box-shadow: 0 10px 24px rgba(15,23,42,.035); }
summary { cursor: pointer; font-weight: 900; color: var(--slate); }
details p { color: var(--muted); margin: 12px 0 0; }
@media (max-width: 860px) { .steps-grid { grid-template-columns: 1fr 1fr; } .faq-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .steps-grid { grid-template-columns: 1fr; } .hero-actions .btn { width: 100%; } }


.featured-card {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 16px 45px rgba(37, 99, 235, 0.10);
}

.small-note {
  margin-top: 1rem;
  color: #64748b;
  font-size: 0.95rem;
}

.check-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  color: #334155;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  color: #2563eb;
}

.work-placeholder {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.work-placeholder div {
  min-height: 130px;
  border: 1px dashed #cbd5e1;
  border-radius: 1.5rem;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  font-size: 2rem;
  color: #1e293b;
}

.work-placeholder span {
  font-size: 0.95rem;
  font-weight: 700;
  color: #334155;
  text-align: center;
}

.clean-note {
  margin-top: 0.8rem;
  color: #64748b;
  font-size: 0.9rem;
}

@media (max-width: 800px) {
  .work-placeholder {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .work-placeholder {
    grid-template-columns: 1fr;
  }
}


.terms-section {
  background: #fff7ed;
}

.terms-box {
  border: 2px solid #f97316;
  background: #ffffff;
  border-radius: 2rem;
  padding: 2rem;
  box-shadow: 0 18px 55px rgba(249, 115, 22, 0.12);
}

.terms-box h2 {
  color: #9a3412;
}

.terms-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.terms-grid article {
  border: 1px solid #fed7aa;
  background: #fff7ed;
  border-radius: 1.25rem;
  padding: 1rem;
}

.terms-grid h3 {
  margin: 0 0 0.4rem;
  color: #9a3412;
}

.terms-grid p,
.terms-box p {
  color: #475569;
}

.terms-note {
  margin-top: 1.25rem;
  padding: 1rem;
  border-radius: 1.25rem;
  background: #ffedd5;
  font-weight: 700;
  color: #7c2d12 !important;
}


.acknowledgement {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1rem 0 1.1rem;
  padding: 1rem;
  border: 2px solid #f97316;
  background: #fff7ed;
  border-radius: 1rem;
  color: #334155;
  font-size: 0.92rem;
  line-height: 1.45;
  font-weight: 600;
}

.acknowledgement input {
  margin-top: 0.2rem;
  min-width: 20px;
  min-height: 20px;
  accent-color: #f97316;
}

.acknowledgement span {
  display: block;
}


@media (max-width: 850px) {
  .terms-grid {
    grid-template-columns: 1fr;
  }
}


.required-disclaimer-box {
  margin: 1rem 0 1.1rem;
}

.acknowledgement {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border: 2px solid #f97316;
  background: #fff7ed;
  border-radius: 1rem;
  color: #1f2937;
  font-size: 0.92rem;
  line-height: 1.45;
  font-weight: 600;
}

.acknowledgement input {
  margin-top: 0.2rem;
  min-width: 22px;
  min-height: 22px;
  accent-color: #f97316;
  cursor: pointer;
}

.acknowledgement span {
  display: block;
}

.acknowledgement strong {
  color: #9a3412;
}





body.modal-open { overflow: hidden; }

.lead-source-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(8px);
}

.lead-source-modal.show {
  display: flex;
}

.lead-source-card {
  width: min(560px, 100%);
  background: #ffffff;
  color: #0f172a;
  border-radius: 2rem;
  padding: 2rem;
  border: 1px solid #dbeafe;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.lead-source-card h2 {
  margin-top: 0.35rem;
  margin-bottom: 0.75rem;
  color: #0f172a;
}

.lead-source-card p {
  color: #475569;
  line-height: 1.6;
}

.lead-source-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.lead-source-options button {
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1e3a8a;
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  font-weight: 800;
  cursor: pointer;
}

.lead-source-options button:hover {
  background: #dbeafe;
}

.btn.secondary {
  background: #e2e8f0;
  color: #0f172a;
}

.btn.secondary:hover {
  background: #cbd5e1;
}

@media (max-width: 520px) {
  .lead-source-card {
    padding: 1.25rem;
    border-radius: 1.5rem;
  }

  .lead-source-options {
    grid-template-columns: 1fr;
  }
}


.lead-source-status {
  min-height: 1.2rem;
  margin-top: 0.75rem;
  text-align: center;
  color: #475569;
  font-size: 0.9rem;
  font-weight: 700;
}


.footer-links {
  margin-top: 0.75rem;
}

.footer-links a {
  color: #2563eb;
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.terms-section {
  background: #f8fafc;
}

.terms-box {
  border: 1px solid #fed7aa;
  background: #ffffff;
}

.terms-box h2 {
  color: #0f172a;
}

.terms-note {
  background: #fff7ed;
  color: #7c2d12 !important;
}


.work-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.work-card {
  overflow: hidden;
  border: 1px solid #dbeafe;
  border-radius: 1.5rem;
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.07);
}

.work-card img {
  width: 100%;
  height: 260px;
  display: block;
  object-fit: cover;
}

.work-card div {
  padding: 1.25rem;
}

.work-card h3 {
  margin: 0 0 0.45rem;
  color: #0b1633;
}

.work-card p {
  margin: 0;
  color: #536276;
  line-height: 1.6;
}

@media (max-width: 800px) {
  .work-gallery {
    grid-template-columns: 1fr;
  }

  .work-card img {
    height: 230px;
  }
}


/* Compact horizontal Our Work gallery */
.work-gallery.scroll-gallery {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding: 0.25rem 0 1rem;
  -webkit-overflow-scrolling: touch;
}

.work-gallery.scroll-gallery .work-card {
  flex: 0 0 min(380px, 82vw);
  scroll-snap-align: start;
  overflow: hidden;
  border: 1px solid #dbeafe;
  border-radius: 1.25rem;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
}

.work-gallery.scroll-gallery .work-card img {
  width: 100%;
  height: 190px;
  display: block;
  object-fit: cover;
}

.work-gallery.scroll-gallery .work-card div {
  padding: 1rem;
}

.work-gallery.scroll-gallery .work-card h3 {
  margin: 0 0 0.35rem;
  color: #0b1633;
  font-size: 1rem;
}

.work-gallery.scroll-gallery .work-card p {
  margin: 0;
  color: #536276;
  line-height: 1.5;
  font-size: 0.92rem;
}

.work-gallery.scroll-gallery::-webkit-scrollbar {
  height: 10px;
}

.work-gallery.scroll-gallery::-webkit-scrollbar-track {
  background: #eef6ff;
  border-radius: 999px;
}

.work-gallery.scroll-gallery::-webkit-scrollbar-thumb {
  background: #b8d8f3;
  border-radius: 999px;
}

@media (max-width: 700px) {
  .work-gallery.scroll-gallery .work-card {
    flex-basis: 86vw;
  }

  .work-gallery.scroll-gallery .work-card img {
    height: 175px;
  }
}


.about-founders {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 1.5rem;
  align-items: center;
  padding: 1.25rem;
  border: 1px solid #dbeafe;
  border-radius: 1.5rem;
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
}

.about-founder-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.about-founder-photos img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
}

.about-founder-text h3 {
  margin: 0 0 0.65rem;
  color: #0b1633;
}

.about-founder-text p {
  margin: 0 0 0.8rem;
  color: #536276;
  line-height: 1.65;
}

.about-founder-text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 850px) {
  .about-founders {
    grid-template-columns: 1fr;
  }

  .about-founder-photos img {
    height: 170px;
  }
}

@media (max-width: 520px) {
  .about-founder-photos {
    grid-template-columns: 1fr;
  }

  .about-founder-photos img {
    height: 220px;
  }
}


/* Polished About photo/text block */
.about-founders.polished {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
  padding: 1.25rem;
  border: 1px solid #dbeafe;
  border-radius: 1.5rem;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
}

.about-founder-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.about-founder-photos img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.about-founder-text h3 {
  margin: 0 0 0.65rem;
  color: #0b1633;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.15;
}

.about-founder-text p {
  margin: 0 0 0.75rem;
  color: #536276;
  line-height: 1.65;
}

.about-founder-text .eyebrow {
  margin-bottom: 0.45rem;
}

.about-highlight {
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  background: #eef6ff;
  color: #0f4775 !important;
  font-weight: 700;
}

@media (max-width: 850px) {
  .about-founders.polished {
    grid-template-columns: 1fr;
  }

  .about-founder-photos {
    max-width: 440px;
  }
}

@media (max-width: 520px) {
  .about-founder-photos img {
    height: 135px;
  }
}

.about-founder-photos img:nth-child(2) {
  object-position: center 28%;
}

/* v23 cleanup: keep hero visual clean and remove accidental work card styling in the top panel */
.hero-card .work-card,
.hero-visual .work-card,
.hero-media .work-card {
  display: none !important;
}

/* Make the right hero card cleaner after removing the accidental printer card */
.hero-card {
  align-items: center;
}

.hero-card p {
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}

/* Keep Our Work cards visible in the gallery */
#our-work .work-card {
  display: block !important;
}


/* Fixed About Us founders block */
.about-founders.polished {
  margin-top: 2rem !important;
  display: grid !important;
  grid-template-columns: minmax(220px, 360px) minmax(0, 1fr) !important;
  gap: 1.5rem !important;
  align-items: center !important;
  padding: 1.25rem !important;
  border: 1px solid #dbeafe !important;
  border-radius: 1.5rem !important;
  background: linear-gradient(180deg, #ffffff, #f8fbff) !important;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06) !important;
}

.about-founders.polished .about-founder-photos {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0.75rem !important;
}

.about-founders.polished .about-founder-photos img {
  width: 100% !important;
  height: 145px !important;
  max-width: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center 28% !important;
  border-radius: 1rem !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08) !important;
}

.about-founders.polished .about-founder-text h3 {
  margin: 0 0 0.65rem !important;
  color: #0b1633 !important;
  font-size: clamp(1.35rem, 2vw, 1.8rem) !important;
  line-height: 1.15 !important;
}

.about-founders.polished .about-founder-text p {
  margin: 0 0 0.75rem !important;
  color: #536276 !important;
  line-height: 1.65 !important;
}

.about-founders.polished .about-founder-text .eyebrow {
  margin-bottom: 0.45rem !important;
  color: #147bd1 !important;
  font-weight: 800 !important;
}

.about-founders.polished .about-highlight {
  padding: 0.85rem 1rem !important;
  border-radius: 1rem !important;
  background: #eef6ff !important;
  color: #0f4775 !important;
  font-weight: 700 !important;
  margin-bottom: 0 !important;
}

@media (max-width: 850px) {
  .about-founders.polished {
    grid-template-columns: 1fr !important;
  }

  .about-founders.polished .about-founder-photos {
    max-width: 440px !important;
  }
}

@media (max-width: 520px) {
  .about-founders.polished .about-founder-photos {
    grid-template-columns: 1fr !important;
  }

  .about-founders.polished .about-founder-photos img {
    height: 210px !important;
  }
}


.nav-links a.active {
  color: #147bd1;
  font-weight: 900;
}

.cta-row.center {
  justify-content: center;
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.cta-section {
  background: #f8fbff;
}


/* Footer spacing cleanup */
footer {
  padding-bottom: 2.25rem;
}

.footer-links {
  margin-top: 1.25rem !important;
  margin-bottom: 1.25rem !important;
  display: flex;
  gap: 0.9rem;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links a {
  display: inline-block;
  color: #2563eb;
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-dot {
  color: #94a3b8;
}


/* Move footer issue/terms links away from the far left edge */
.footer-links {
  max-width: 1120px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
}


/* v33: Our Work page gallery and duplicate cleanup */
.our-work-page {
  padding-top: 4rem;
}

.section-head.compact {
  margin-bottom: 1.5rem;
}

.section-head.compact h1 {
  margin: 0.35rem 0 0.75rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  color: #0b1633;
}

.work-gallery.scroll-gallery {
  display: flex !important;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding: 0.25rem 0 1rem;
  -webkit-overflow-scrolling: touch;
}

.work-gallery.scroll-gallery .work-card {
  flex: 0 0 min(380px, 82vw);
  scroll-snap-align: start;
  display: block !important;
  overflow: hidden;
  border: 1px solid #dbeafe;
  border-radius: 1.25rem;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
}

.work-gallery.scroll-gallery .work-card img {
  width: 100%;
  height: 190px;
  display: block;
  object-fit: cover;
}

.work-gallery.scroll-gallery .work-card div {
  padding: 1rem;
}

.work-gallery.scroll-gallery .work-card h3 {
  margin: 0 0 0.35rem;
  color: #0b1633;
  font-size: 1rem;
}

.work-gallery.scroll-gallery .work-card p {
  margin: 0;
  color: #536276;
  line-height: 1.5;
  font-size: 0.92rem;
}

.work-gallery.scroll-gallery::-webkit-scrollbar {
  height: 10px;
}

.work-gallery.scroll-gallery::-webkit-scrollbar-track {
  background: #eef6ff;
  border-radius: 999px;
}

.work-gallery.scroll-gallery::-webkit-scrollbar-thumb {
  background: #b8d8f3;
  border-radius: 999px;
}

@media (max-width: 700px) {
  .work-gallery.scroll-gallery .work-card {
    flex-basis: 86vw;
  }
  .work-gallery.scroll-gallery .work-card img {
    height: 175px;
  }
}
