:root{
  --bg: #ffffff;
  --bg2:#f3f5f8;
  --text:#12161c;
  --muted:#525862;
  --line:#dde3ea;
  --brand:#c8102e;
  --brand-dark:#9c0c23;
  --ink:#0a3161;
  --shadow: 0 16px 36px rgba(10,20,40,0.16);
  --shadow2: 0 10px 22px rgba(10,20,40,0.10);
  --radius: 4px;
  --max: 1160px;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family: "IBM Plex Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

h1, h2, h3, .nav__wordmark, .btn, .pill{
  font-family: "Space Grotesk", "IBM Plex Sans", system-ui, sans-serif;
}

img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.container{max-width:var(--max);margin:0 auto;padding:0 18px}

/* NAV */
.nav{
  position:sticky; top:0; z-index:999;
  background:#ffffff;
  border-bottom:2px solid var(--ink);
}
.nav__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 0;
  gap:14px;
}
.nav__brand{
  display:flex; align-items:center; gap:10px;
  min-width: 200px;
}
.nav__mark{
  width:16px; height:16px;
  background: var(--brand);
  transform: rotate(45deg);
  flex-shrink:0;
}
.nav__wordmark{
  font-weight:700; letter-spacing:-0.01em;
  font-size:1.18rem;
  color: var(--ink);
}
.nav__links{
  display:flex; align-items:center; gap:16px;
}
.nav__links a{
  font-size:0.9rem;
  font-weight:500;
  color:#1c2430;
  padding:8px 10px;
  border-radius: var(--radius);
}
.nav__links a:hover{background:#eef2f7}
.nav__cta{
  background:var(--brand);
  color:#fff !important;
  padding:9px 14px !important;
  font-weight:600;
  box-shadow: 0 10px 18px rgba(200,16,46,0.26);
}
.nav__cta:hover{background:var(--brand-dark)}

.nav__toggle{
  display:none;
  width:42px; height:38px;
  border:1px solid var(--line);
  border-radius: var(--radius);
  background:#fff;
  padding:10px;
  cursor:pointer;
}
.nav__toggle span{
  display:block; height:2px; background:#222;
  margin:4px 0; border-radius:2px;
}

/* HERO */
.hero{
  position:relative;
  padding: 62px 0 38px;
  overflow:hidden;
}
.hero__bg{
  position:absolute; inset:0;
  background:
    radial-gradient(900px 500px at 12% 8%, rgba(200,16,46,0.09), transparent 60%),
    radial-gradient(700px 420px at 92% 18%, rgba(10,49,97,0.10), transparent 55%),
    linear-gradient(to bottom, #f7f9fb, #ffffff);
  pointer-events:none;
}
.hero__inner{
  position:relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 18px;
  text-align:center;
}
.pill{
  display:inline-block;
  padding:7px 12px;
  border-radius: var(--radius);
  background:#fff;
  border:1px solid var(--ink);
  color:var(--ink);
  font-weight:600;
  font-size:0.75rem;
  letter-spacing:0.14em;
}
.hero__brand{ display:none; }
.hero__logo{ display:none; }
.hero__headline{
  font-size: clamp(1.45rem, 2.8vw, 2.3rem);
  letter-spacing:-0.01em;
  line-height:1.25;
  margin: 16px auto 10px;
  color: var(--ink);
}
.hero__subhead{
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 760px;
  margin: 0 auto 18px;
}
.hero__actions{
  display:flex; flex-wrap:wrap;
  gap:10px;
  justify-content:center;
  margin-top: 12px;
}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-weight:600;
  font-size:0.92rem;
  border:1px solid var(--ink);
  background:#fff;
  color: var(--ink);
}
.btn--primary{
  background:var(--brand);
  color:#fff;
  border-color: var(--brand);
  box-shadow: 0 14px 26px rgba(200,16,46,0.24);
}
.btn--primary:hover{background:var(--brand-dark); border-color:var(--brand-dark)}
.btn--ghost:hover{background:#eef2f7}
.hero__scroll{
  display:inline-flex; flex-direction:column; align-items:center;
  gap:6px;
  margin-top: 18px;
  color:#4c5561;
  font-size:0.85rem;
}
.hero__arrow{
  width:34px;height:34px;
  display:grid;place-items:center;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
}

/* SECTIONS */
.section{padding: 54px 0}
.section--alt{background: var(--bg2)}
.section--contact{background: var(--ink); color:#fff}
.section--contact .contact p{color: rgba(255,255,255,0.72)}
.section h2{
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  letter-spacing:-0.01em;
  margin-bottom: 16px;
  position:relative;
  color: var(--ink);
}
.section h2:before{
  content:"";
  display:block;
  width:38px; height:4px;
  background: var(--brand);
  margin-bottom: 14px;
  border-radius:2px;
}
.section--contact h2:before{ background: var(--brand); }
.copy p{color: var(--muted); margin-bottom: 12px}
.note{margin-top:12px;color: var(--muted)}

.learn-pill {
  display: inline-block;
  margin-left: 10px;
  padding: 6px 12px;
  border-radius: var(--radius);
  background: #eef2f7;
  border: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: all 0.2s ease;
}
.list .learn-pill{
  display: inline-block;
}
.learn-pill:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

/* split layout */
.split{
  display:grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items:center;
}
.split--reverse .copy{order:1}
.split--reverse .media{order:2}

.media img{
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
  border: 1px solid var(--line);
  object-fit: cover;
}

/* lists */
.list{padding-left:18px}
.list li{margin: 7px 0}
.steps{padding-left:18px}
.steps li{margin: 10px 0; color: var(--muted)}
.steps strong{color: var(--text)}

/* Why cards */
.why{margin-bottom: 18px}
.cards{
  display:grid;
  grid-template-columns:1fr;
  gap: 12px;
  margin-top: 14px;
}
.card{
  background:#fff;
  border:1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow2);
}
.card h3{font-size:1.02rem;margin-bottom:6px; color: var(--ink)}
.card p{color: var(--muted)}

/* Form */
.form-shell{
  margin-top: 18px;
  border-radius: var(--radius);
  overflow:hidden;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 16px 34px rgba(0,0,0,0.34);
  background:#0c0f10;
}
.form-shell iframe{
  width:100%;
  height: 2841px;
  border:0;
  background:#fff;
}

/* Footer */
.footer{
  border-top:2px solid var(--ink);
  padding: 18px 0;
  background:#fff;
}
.footer__inner{
  display:flex; justify-content:space-between; align-items:center;
  gap:10px;
  color:#2a3038;
  font-size:0.9rem;
}
.footer__muted{color:#6b7280}

/* Reveal animation */
.reveal{
  opacity:0;
  transform: translateY(14px);
  filter: blur(6px);
  transition: opacity 700ms ease, transform 700ms ease, filter 700ms ease;
  will-change: opacity, transform, filter;
}
.reveal.is-visible{
  opacity:1;
  transform: translateY(0);
  filter: blur(0);
}

/* Desktop */
@media (min-width: 820px){
  .hero{padding: 76px 0 46px}
  .split{grid-template-columns: 1.05fr 0.95fr; gap: 30px}
  .split--reverse .copy{order:2}
  .split--reverse .media{order:1}
  .cards{grid-template-columns: repeat(3, 1fr)}
}

/* Mobile nav */
@media (max-width: 860px){
  .nav__toggle{display:block}
  .nav__links{
    position:absolute;
    left: 18px; right: 18px;
    top: 62px;
    background:#fff;
    border:1px solid var(--line);
    border-radius: var(--radius);
    padding: 10px;
    box-shadow: var(--shadow);
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:6px;
  }
  .nav__links.is-open{display:flex}
  .nav__links a{padding:10px 12px}
  .nav__cta{justify-content:center;text-align:center}
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .reveal{transition:none; transform:none; filter:none; opacity:1}
}
