:root {
  --bg: #f5f8f4;
  --panel: #ffffff;
  --panel-2: #edf4ef;
  --card: rgba(255, 255, 255, 0.88);
  --card-strong: rgba(255, 255, 255, 0.96);
  --text: #1f2c3a;
  --muted: #5f6f83;
  --line: rgba(31, 52, 77, 0.14);
  --accent: #2d3e50;
  --accent-2: #3fa9f5;
  --success: #2d7dd2;
  --shadow: 0 14px 42px rgba(27, 45, 66, 0.12);
  --radius: 24px;
  --radius-sm: 16px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background:
    radial-gradient(circle at top, rgba(63, 169, 245, 0.2), transparent 35%),
    radial-gradient(circle at 80% 8%, rgba(45, 62, 80, 0.1), transparent 40%),
    linear-gradient(180deg, #f8fafd 0%, #f4f7fb 55%, #eef3f9 100%);
  color: var(--text);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.site-shell { overflow: hidden; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(248, 251, 249, 0.84);
  border-bottom: 1px solid rgba(31, 52, 77, 0.1);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 5px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: grid;
  gap: 0.15rem;
}

.brand-text strong { font-size: 1rem; }
.brand-text span { color: var(--muted); font-size: 0.84rem; }

.nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover { color: var(--text); }
.nav-cta { color: var(--text) !important; font-weight: 600; }

.hero {
  padding: 5rem 0 3rem;
}

.hero-grid,
.two-column,
.audience-grid,
.cta-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.cta-grid {
  align-items: flex-start;
}

.eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-2);
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-copy h1,
.section-heading h2,
.cta-copy h2 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.hero-copy h1 { font-size: clamp(2.35rem, 5vw, 4.5rem); }
.section-heading h2,
.cta-copy h2 { font-size: clamp(1.9rem, 3vw, 3rem); }

.hero-text,
.section-heading p,
.cta-copy p,
.feature-card p,
.service-card p,
.step-card p,
.footer p,
.image-placeholder p,
.cta-note,
.ai-callout li,
.check-list li,
.turnstile-note,
.lead-form label span,
.form-status {
  color: var(--muted);
}

.turnstile-wrap {
  display: flex;
  align-items: center;
}

.hero-text {
  margin: 1.2rem 0 1.6rem;
  font-size: 1.08rem;
  line-height: 1.72;
  max-width: 60ch;
}

.hero-actions,
.form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, opacity 0.18s ease, border-color 0.18s ease;
}

.button:hover { transform: translateY(-1px); }
.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #ffffff;
}
.button-secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 1.8rem 0 0;
}

.hero-points li,
.mini-card,
.cta-note,
.ai-callout,
.feature-card,
.service-card,
.step-card,
.lead-form,
.image-card,
.card {
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
}

.hero-points li {
  padding: 0.9rem 1rem;
  border-radius: 16px;
  color: var(--text);
  font-size: 0.92rem;
}

.card {
  border-radius: var(--radius);
}

.image-card,
.lead-form,
.ai-callout,
.feature-card,
.service-card,
.step-card {
  border-radius: var(--radius);
}

.image-placeholder {
  min-height: 360px;
  border-radius: calc(var(--radius) - 2px);
  background:
    linear-gradient(135deg, rgba(63,169,245,0.2), rgba(45,62,80,0.08)),
    repeating-linear-gradient(135deg, rgba(31,52,77,0.02), rgba(31,52,77,0.02) 12px, transparent 12px, transparent 24px);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.75rem;
}

.image-placeholder span {
  font-weight: 700;
  font-size: 1rem;
}

.image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius) - 8px);
}

.hero-visual-flow {
  display: grid;
  gap: 0.5rem;
}

.hero-flow-card {
  padding: 0.8rem;
}

.hero-flow-card .image-placeholder {
  min-height: 250px;
  padding: 0.85rem;
}

.hero-flow-label {
  margin: 0.8rem 0 0.1rem;
  color: #3b5268;
  font-size: 0.92rem;
  font-weight: 600;
}

.hero-flow-arrow {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  min-height: 106px;
}

.hero-flow-arrow svg {
  width: min(260px, 96%);
  height: auto;
  filter: drop-shadow(0 8px 14px rgba(31, 52, 77, 0.18));
}

.hero-flow-chip {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(63, 169, 245, 0.4);
  color: #314f67;
  border-radius: 999px;
  padding: 0.38rem 0.8rem;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 10px 20px rgba(31, 52, 77, 0.12);
}

.image-result img {
  object-position: center top;
}

.trust-strip {
  padding: 0 0 1rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.trust-grid > div {
  border: 1px solid rgba(31,52,77,0.1);
  background: rgba(255,255,255,0.7);
  border-radius: 18px;
  padding: 1rem;
}

.trust-grid strong {
  display: block;
  margin-bottom: 0.35rem;
}

.trust-grid span { color: var(--muted); font-size: 0.93rem; }

.section {
  padding: 4.8rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(237,243,251,0.78), rgba(245,248,252,0.82));
  border-top: 1px solid rgba(31,52,77,0.08);
  border-bottom: 1px solid rgba(31,52,77,0.08);
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 2rem;
  text-align: center;
}

.left-align {
  text-align: left;
  margin-left: 0;
}

.problem-grid,
.services-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.feature-card,
.service-card,
.step-card,
.ai-callout,
.lead-form {
  padding: 1.4rem;
}

.feature-card h3,
.service-card h3,
.step-card h3,
.ai-callout h3 {
  margin-top: 0;
  margin-bottom: 0.7rem;
}

.bullet-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.mini-card {
  padding: 0.9rem 1rem;
  border-radius: 16px;
  color: var(--text);
}

.stacked-visuals {
  display: grid;
  gap: 1rem;
}

.small-gap .image-placeholder { min-height: 250px; }

.ai-callout ul,
.check-list {
  margin: 0;
  padding-left: 1.1rem;
  line-height: 1.7;
}

.step-card span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  margin-bottom: 1rem;
  background: rgba(63, 169, 245, 0.16);
  color: var(--accent-2);
  font-weight: 800;
}

.cta-band {
  padding-top: 5rem;
}

.cta-copy { max-width: 580px; }
.cta-note {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
}

.cta-image-card {
  margin-top: 1rem;
}

.cta-image-card .image-placeholder {
  min-height: 240px;
}

.lead-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 0.9rem;
}

.two-up {
  grid-template-columns: repeat(2, 1fr);
}

.two-up .span-2 {
  grid-column: 1 / -1;
}

label span {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.92rem;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(31,52,77,0.16);
  background: rgba(255,255,255,0.96);
  color: var(--text);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  font: inherit;
}

input::placeholder,
textarea::placeholder {
  color: #b8c6d4;
  opacity: 1;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(63, 169, 245, 0.24);
  border-color: rgba(63, 169, 245, 0.5);
}

.honeypot {
  position: absolute !important;
  left: -5000px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.turnstile-note {
  font-size: 0.9rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.92);
  border: 1px dashed rgba(31,52,77,0.2);
}

.turnstile-note code {
  display: block;
  margin-top: 0.45rem;
  white-space: pre-wrap;
  color: var(--text);
}

.form-status { min-height: 1.3rem; margin: 0; }
.form-status.success { color: var(--success); }
.form-status.error { color: #ff9e9e; }

.modal-backdrop {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 17, 23, 0.52);
  padding: 1.2rem;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.modal {
  width: min(520px, 100%);
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(31,52,77,0.18);
  box-shadow: 0 24px 70px rgba(11,17,23,0.28);
  padding: 1.4rem;
}

.modal h3 {
  margin: 0 0 0.55rem;
  color: #1f344d;
}

.modal p {
  margin: 0 0 1rem;
  color: #385066;
}

.privacy-note {
  margin: 0;
  max-width: none;
  font-size: 0.84rem;
  line-height: 1.55;
  white-space: nowrap;
}

.privacy-inline {
  margin-top: 0.9rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(31, 52, 77, 0.12);
  display: flex;
  width: 100%;
  align-items: baseline;
  gap: 0.45rem;
}

.link-button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--accent-2);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-align: right;
}

.link-button:hover {
  text-decoration: underline;
}

.privacy-link {
  margin-top: 0;
  text-align: left;
  color: #2d3e50;
  font-size: 0.84rem;
  line-height: 1.2;
  font-weight: 600;
  border: 1px solid rgba(31, 52, 77, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.3rem 0.7rem;
}

.privacy-link:hover {
  text-decoration: none;
  border-color: rgba(63, 169, 245, 0.55);
}

.consent-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: auto;
  z-index: 998;
}

.consent-banner-inner {
  width: min(460px, calc(100vw - 2rem));
  margin: 0 auto;
  border: 1px solid rgba(31, 52, 77, 0.2);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 12px 28px rgba(11, 17, 23, 0.2);
  border-radius: 14px;
  padding: 0.72rem 0.8rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.consent-banner-inner p {
  margin: 0.22rem 0 0;
  color: #4c637b;
  font-size: 0.81rem;
  line-height: 1.35;
}

.consent-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.consent-button {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  min-height: 32px;
  padding: 0 0.7rem;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.consent-button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.consent-button-secondary {
  color: var(--text);
  background: transparent;
  border-color: rgba(31, 52, 77, 0.2);
}

.footer {
  padding: 2rem 0 3rem;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(31,52,77,0.12);
}

.footer-links {
  display: grid;
  gap: 0.65rem;
  text-align: right;
}

@media (max-width: 1080px) {
  .hero-grid,
  .two-column,
  .audience-grid,
  .cta-grid,
  .problem-grid,
  .services-grid,
  .process-grid,
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-points { grid-template-columns: 1fr; }

  .hero-flow-card .image-placeholder {
    min-height: 220px;
  }
}

@media (max-width: 760px) {
  .topbar-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-text span {
    max-width: 34ch;
    line-height: 1.3;
  }

  .nav,
  .footer-links { text-align: left; }

  .privacy-note {
    white-space: normal;
  }

  .privacy-inline {
    display: flex;
    flex-wrap: wrap;
  }

  .link-button {
    text-align: left;
  }

  .nav {
    gap: 0.8rem;
  }

  .hero,
  .section { padding: 3.8rem 0; }

  .hero-grid,
  .two-column,
  .audience-grid,
  .cta-grid,
  .problem-grid,
  .services-grid,
  .process-grid,
  .trust-grid,
  .two-up,
  .bullet-cards {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 { font-size: 2.5rem; }
  .section-heading h2,
  .cta-copy h2 { font-size: 2rem; }

  .hero-actions,
  .form-actions {
    width: 100%;
  }

  .hero-actions .button,
  .form-actions .button {
    width: 100%;
  }

  .consent-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    width: min(520px, calc(100vw - 2rem));
  }

  .consent-actions {
    width: 100%;
    justify-content: flex-start;
    flex-direction: row;
  }

  .consent-actions .consent-button {
    width: auto;
  }

  .image-placeholder { min-height: 260px; }

  .hero-flow-arrow {
    min-height: 88px;
    margin: 0;
  }

  .hero-flow-arrow svg {
    width: min(230px, 98%);
  }

  .hero-flow-chip {
    font-size: 0.66rem;
    padding: 0.34rem 0.68rem;
  }
}
