:root {
  --red: #e02a21;
  --ink: #111214;
  --ink-2: #26282d;
  --muted: #656b73;
  --line: #e7e8ea;
  --soft: #f5f5f6;
  --white: #ffffff;
  --max: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--white);
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 235px;
  max-height: 62px;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  text-decoration: none;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 10px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--soft);
  outline: none;
}

.nav-links .nav-cta {
  background: var(--red);
  color: var(--white);
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta:focus-visible {
  background: #bf2019;
}

.hero {
  padding: 96px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  align-items: center;
  gap: 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .82rem;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  background: var(--red);
  border-radius: 999px;
}

h1, h2, h3 {
  line-height: 1.08;
  letter-spacing: -.035em;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.2rem);
  margin: 0;
  max-width: 850px;
}

h1 .red { color: var(--red); }

.lead {
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  color: var(--muted);
  max-width: 690px;
  margin: 26px 0 0;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.button:hover { transform: translateY(-1px); }

.button-primary {
  color: var(--white);
  background: var(--red);
}

.button-primary:hover { background: #bf2019; }

.button-secondary {
  border-color: var(--line);
  background: var(--white);
}

.button-secondary:hover { background: var(--soft); }

.hero-mark {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-mark img {
  width: min(100%, 390px);
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.12));
}

.trust-bar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

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

.trust-item {
  padding: 22px 24px;
  text-align: center;
  font-weight: 750;
}

.trust-item + .trust-item {
  border-left: 1px solid var(--line);
}

.section {
  padding: 84px 0;
}

.section-alt { background: var(--soft); }

.section-head {
  max-width: 730px;
  margin-bottom: 42px;
}

.section h2 {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  margin: 0;
}

.section-copy {
  color: var(--muted);
  font-size: 1.06rem;
  margin: 18px 0 0;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  min-height: 190px;
}

.service-icon {
  width: 44px;
  height: 44px;
  color: var(--red);
  margin-bottom: 22px;
}

.service-card h3 {
  font-size: 1.22rem;
  margin: 0 0 9px;
}

.service-card p {
  color: var(--muted);
  margin: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}

.step {
  counter-increment: step;
  padding: 24px 0;
  border-top: 3px solid var(--ink);
}

.step::before {
  content: "0" counter(step);
  display: block;
  color: var(--red);
  font-weight: 900;
  margin-bottom: 18px;
}

.step h3 {
  font-size: 1.1rem;
  margin: 0 0 8px;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.boundary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.boundary-card {
  border-radius: 20px;
  padding: 32px;
  border: 1px solid var(--line);
  background: var(--white);
}

.boundary-card.dark {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.boundary-card h3 {
  margin: 0 0 12px;
  font-size: 1.45rem;
}

.boundary-card p {
  margin: 0;
  color: var(--muted);
}

.boundary-card.dark p {
  color: #c7c9cd;
}

.cta-panel {
  background: var(--ink);
  color: var(--white);
  border-radius: 28px;
  padding: 54px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.cta-panel h2 {
  margin: 0;
  max-width: 650px;
}

.cta-panel p {
  color: #c7c9cd;
  margin: 14px 0 0;
}

.page-hero {
  padding: 68px 0 38px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  margin-inline: auto;
}

.page-hero .lead {
  margin-inline: auto;
}

.form-shell {
  width: min(calc(100% - 24px), 900px);
  margin: 0 auto 70px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 55px rgba(0,0,0,.08);
}

.form-note {
  padding: 20px 24px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .95rem;
}

.form-note strong { color: var(--ink); }

.form-shell iframe {
  width: 100%;
  height: 1740px;
  border: 0;
  display: block;
  background: #fff;
}

.prose {
  width: min(calc(100% - 40px), 820px);
  margin: 0 auto;
  padding: 20px 0 84px;
}

.prose h2 {
  margin-top: 42px;
  font-size: 1.7rem;
}

.prose h3 {
  margin-top: 28px;
}

.prose p, .prose li {
  color: #41464d;
}

.prose .callout {
  border-left: 4px solid var(--red);
  padding: 16px 20px;
  background: var(--soft);
  border-radius: 0 12px 12px 0;
  margin: 28px 0;
}

.site-footer {
  background: var(--ink);
  color: var(--white);
  margin-top: 0;
}

.footer-grid {
  min-height: 210px;
  padding: 42px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 30px;
}

.footer-brand img {
  width: 210px;
  background: white;
  border-radius: 10px;
  padding: 8px 10px;
}

.footer-brand p {
  color: #b6bac1;
  margin: 14px 0 0;
  max-width: 470px;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a {
  color: #d7d9dc;
  text-decoration: none;
}

.footer-links a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid #2e3136;
  color: #8f949c;
  font-size: .88rem;
  padding: 18px 0;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-mark { order: -1; justify-content: flex-start; }
  .hero-mark img { width: 210px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .boundary { grid-template-columns: 1fr; }
  .cta-panel { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 650px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .nav { min-height: 68px; }
  .brand img { width: 160px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-links .nav-cta { padding: 9px 13px; font-size: .92rem; }
  .hero { padding: 58px 0 52px; }
  h1 { font-size: clamp(2.75rem, 15vw, 4.3rem); }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .section { padding: 62px 0; }
  .services { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cta-panel { padding: 34px 24px; border-radius: 20px; }
  .form-shell iframe { height: 1900px; }
  .footer-grid { grid-template-columns: 1fr; align-items: start; }
  .footer-links { justify-content: flex-start; }
}
