/* ===== Tokens (sampled from the live page) ===== */
:root {
  --ink: #1F3942;
  --muted: #5A6B71;
  --blue: #00117D;
  --coral: #F6643C;
  --bg: #FFFFFF;
  --grey: #F7F7F7;
  --footer: #000630;
  --border: #E2E4EE;
  --serif: "PT Serif", Georgia, serif;
  --sans: "Outfit", system-ui, sans-serif;
  --maxw: 1296px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
.nav { background: var(--bg); border-bottom: 1px solid var(--border); }
.nav__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 84px; }
.nav__logo { justify-self: start; }
.nav__logo img { height: 38px; width: auto; }
.nav__links { display: flex; gap: 32px; justify-self: center; }
.nav__phone { justify-self: end; }
.nav__links a { font-size: 16px; font-weight: 500; letter-spacing: -0.2px; color: var(--ink); }
.nav__links a:hover { color: var(--blue); }
.nav__links a.is-active { text-decoration: underline; text-underline-offset: 5px; }
.nav__phone { font-size: 16px; font-weight: 600; color: var(--ink); }

/* ===== Hero ===== */
.hero { background: var(--grey); padding: 56px 0 76px; }
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1.18fr;
  grid-template-areas: "title form" "points form";
  column-gap: 52px;
  align-items: start;
}
.hero__title { grid-area: title; }
.points { grid-area: points; }
.card { grid-area: form; }
/* after submit: drop the pitch, center the thank-you card */
.hero__inner.thanks-mode { grid-template-columns: 1fr; grid-template-areas: "form"; justify-items: center; }
.hero__inner.thanks-mode .hero__title, .hero__inner.thanks-mode .points { display: none; }
.hero__inner.thanks-mode .card { width: 100%; max-width: 560px; }
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 60px;
  line-height: 1.2;
  letter-spacing: -1.5px;
  margin: 6px 0 40px;
}

.points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 32px; }
.points li { display: flex; gap: 16px; }
.points__icon {
  flex: 0 0 22px; width: 22px; height: 22px; margin-top: 2px;
  border-radius: 50%; border: 2px solid var(--coral); position: relative;
}
.points__icon::after {
  content: ""; position: absolute; left: 5px; top: 8px;
  width: 4px; height: 8px; border: solid var(--coral); border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.points h3 { font-size: 18px; font-weight: 600; margin: 0 0 4px; }
.points p { margin: 0; color: var(--muted); font-size: 16px; }

/* ===== Form card (white wrapper around the real embed) ===== */
.card { background: var(--bg); border: 1px solid #EFEFF4; border-radius: 10px; padding: 22px 26px; }

/* ===== Real form embed styles (verbatim from production) ===== */
.lp-shell{font-family:Outfit,Inter,Arial,sans-serif;color:#1f3942;width:100%;box-sizing:border-box;padding:6px 0;transition:opacity .12s ease}
.lp-shell[data-loading='true']{opacity:0}
.lp-shell *{box-sizing:border-box}
.lp-form{width:100%}
.lp-form h3,.lp-thanks h3{font-family:"PT Serif",Georgia,serif;font-size:24px;line-height:1.18;font-weight:400;margin:0 0 18px}
.lp-form p,.lp-thanks p{font-size:14px;line-height:1.4;color:#5a6b71;margin:0 0 10px}
.lp-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px}
.lp-field{display:flex;flex-direction:column;gap:5px;margin-bottom:8px}
.lp-field.full{grid-column:1/-1}
.lp-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.lp-form label{font-size:13px;font-weight:500;color:#1f3942}
.lp-form input,.lp-form textarea,.lp-form select{width:100%;border:1px solid rgba(31,57,66,.14);background:#f7f7f7;border-radius:6px;padding:11px 12px;font:400 14px Outfit,Inter,Arial,sans-serif;color:#1f3942;outline:none}
.lp-form input:focus,.lp-form textarea:focus,.lp-form select:focus{border-color:#00117d;background:#fff;box-shadow:0 0 0 3px rgba(0,17,125,.10)}
.lp-field.is-missing input,.lp-field.is-missing select,.lp-field.is-missing textarea{border-color:#b42318;background:#fff8f7;box-shadow:0 0 0 3px rgba(180,35,24,.10)}
.lp-check.is-missing{background:#fff8f7;border-color:rgba(180,35,24,.22)}
.lp-field.is-complete input,.lp-field.is-complete select,.lp-field.is-complete textarea{border-color:rgba(0,17,125,.28);background:#fff}
.lp-missing-msg{display:block;visibility:hidden;min-height:14px;font-size:11px;line-height:1.25;color:#b42318;margin-top:1px}
.lp-field.is-missing .lp-missing-msg,.lp-check.is-missing .lp-missing-msg{visibility:visible}
.lp-check .lp-missing-msg{grid-column:2;margin-left:0;white-space:normal;width:100%;max-width:100%;min-width:0}
.lp-form textarea{min-height:76px;resize:vertical}
.lp-form button,.lp-thanks a{width:100%;height:48px;border:0;border-radius:6px;background:#00117d;color:white;font:600 15px Outfit,Inter,Arial,sans-serif;cursor:pointer;text-decoration:none;display:flex;align-items:center;justify-content:center}
.lp-confidential{grid-column:1/-1;background:rgba(0,17,125,.05);border:1px solid rgba(0,17,125,.12);border-radius:6px;padding:8px 10px;color:#1f3942;font-size:12px;line-height:1.35;margin-bottom:2px}
.lp-check{display:grid;grid-template-columns:18px minmax(0,1fr);gap:10px;align-items:start;margin:0 0 10px;border:1px solid transparent;border-radius:6px;padding:8px;background:transparent}
.lp-check label{font-size:12px;line-height:1.35;color:#1f3942;min-width:0}
.lp-check input[type='checkbox']{appearance:none;-webkit-appearance:none;box-sizing:border-box;width:18px;height:18px;min-width:18px;min-height:18px;margin:1px 0 0;padding:0;border:1.5px solid #00117d;border-radius:5px;background:#fff;position:relative;display:block;flex:0 0 18px;accent-color:#00117d}
.lp-check input[type='checkbox']:checked{background:#00117d;border-color:#00117d}
.lp-check input[type='checkbox']:checked:after{content:'';position:absolute;left:5px;top:1px;width:5px;height:10px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.lp-error{color:#b42318;font-size:13px;margin-top:10px;text-align:center}
.lp-thanks{display:none;text-align:left;padding:18px 0}
.lp-thanks .lp-mark{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:#00117d;color:white;font-weight:700;margin-bottom:18px}
.lp-form button.is-submitting{opacity:.78;cursor:wait;pointer-events:none}
.lp-form button.is-submitting:before{content:'';width:14px;height:14px;margin-right:8px;border:2px solid rgba(255,255,255,.45);border-top-color:#fff;border-radius:50%;display:inline-block;animation:lp-spin .8s linear infinite}
@keyframes lp-spin{to{transform:rotate(360deg)}}
@media(max-width:480px){
  .lp-grid{grid-template-columns:1fr;gap:8px}
  .lp-form h3,.lp-thanks h3{font-size:22px}
  .lp-field{margin-bottom:0}
  .lp-form input,.lp-form textarea,.lp-form select{min-height:44px;padding:10px 12px;font-size:14px}
  .lp-check label{font-size:13px;line-height:1.4}
}

/* ===== Offices ===== */
.offices { background: var(--bg); padding: 88px 0; }
.offices__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.offices__copy h2 { font-family: var(--serif); font-weight: 400; font-size: 60px; line-height: 1.2; letter-spacing: -1.5px; margin: 0 0 14px; }
.offices__copy > p { color: var(--muted); font-size: 18px; line-height: 1.5; max-width: 440px; margin: 0 0 36px; }
.offices__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
.offices__grid h4 { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 600; margin: 0 0 6px; }
.offices__grid h4::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.offices__grid p { margin: 0; color: var(--muted); font-size: 15px; }
.offices__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.offices__photos img { border-radius: 10px; height: 100%; object-fit: cover; }

/* ===== CTA band ===== */
.cta { background: var(--blue); color: #fff; position: relative; padding-bottom: 110px; }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 56px 24px 32px; }
.cta__inner p { font-family: var(--serif); font-size: 36px; font-weight: 400; line-height: 1.3; margin: 0; max-width: 400px; }
.cta__spire { position: absolute; left: 50%; bottom: 110px; transform: translateX(-50%); width: 86px; height: 150px; }
.btn { display: inline-flex; align-items: center; justify-content: center; font-family: var(--sans); font-weight: 600; font-size: 15px; padding: 0 24px; height: 48px; border-radius: 6px; cursor: pointer; border: none; }
.btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.6); border-radius: 999px; }
.btn--ghost:hover { background: rgba(255,255,255,.1); }

/* ===== Footer ===== */
.footer { background: var(--footer); color: #c9cfe0; padding: 72px 0 40px; font-size: 16px; position: relative; z-index: 1; border-top-left-radius: 32px; border-top-right-radius: 110px; margin-top: -110px; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.footer__brand img { height: 30px; margin-bottom: 28px; }
.footer__brand p { margin: 0 0 18px; line-height: 1.7; }
.footer__brand a { color: #c9cfe0; }
.footer__brand a:hover { color: #fff; }
.footer__col h5 { color: #fff; font-size: 16px; font-weight: 500; margin: 0 0 22px; }
.footer__col a { display: block; margin-bottom: 16px; color: #c9cfe0; font-size: 16px; }
.footer__col a:hover { color: #fff; }
.footer__social { display: flex; gap: 12px; }
.footer__social a { width: 38px; height: 38px; border-radius: 8px; border: 1px solid rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; color: #fff; }
.footer__social a svg { width: 17px; height: 17px; }
.footer__social a:hover { background: rgba(255,255,255,.1); }
.footer__legal { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 48px; color: #8a92ab; font-size: 14px; }
.footer__legal span { white-space: nowrap; }
.footer__legal a:hover { color: #fff; }
.to-top { position: absolute; right: 32px; bottom: 40px; width: 44px; height: 44px; border-radius: 10px; background: var(--blue); display: flex; align-items: center; justify-content: center; color: #fff; }
.to-top svg { width: 18px; height: 18px; }
.to-top:hover { background: #001aa8; }

/* ===== Entrance animations (fade-up on scroll, ~matches Framer reveals) ===== */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
}
.js-reveal [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero__inner, .offices__inner, .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  /* mobile order: heading -> form -> reassurance bullets (form up top where it converts) */
  .hero__inner { grid-template-areas: "title" "form" "points"; row-gap: 28px; }
  .hero__title { margin-bottom: 0; }
  .hero__title, .offices__copy h2 { font-size: 40px; letter-spacing: -1px; }
  .cta__inner { flex-direction: column; align-items: flex-start; text-align: left; gap: 24px; padding: 44px 24px 28px; }
  .cta__inner p { font-size: 26px; }
  /* links hidden on mobile — switch nav to flex so the phone sits hard right */
  .nav__links { display: none; }
  .nav__inner { display: flex; justify-content: space-between; }
  .offices__photos { max-width: 520px; }
  /* scale the decorative spire + footer corner down so they fit a phone */
  .cta { padding-bottom: 72px; }
  .cta__spire { bottom: 72px; width: 58px; height: 100px; }
  .footer { margin-top: -72px; border-top-left-radius: 24px; border-top-right-radius: 60px; }
}
@media (max-width: 520px) {
  .container { padding: 0 18px; }
  .nav__inner { height: 56px; }
  .nav__logo img { height: 28px; }
  .nav__phone { font-size: 15px; }
  /* pull the heading + form up so more of the form is in the first screen */
  .hero { padding: 14px 0 44px; }
  .hero__inner { row-gap: 16px; }
  .hero__title { font-size: 30px; line-height: 1.15; letter-spacing: -0.5px; }
  .points { gap: 24px; margin-top: 8px; }
  .offices { padding: 56px 0; }
  .offices__copy h2 { font-size: 32px; }
  .offices__grid { gap: 22px 18px; }
  .card { padding: 18px; }
  .cta__inner p { font-size: 24px; }
  /* iOS Safari auto-zooms when an input's font is < 16px — force 16px on phones */
  .lp-form input, .lp-form select, .lp-form textarea { font-size: 16px; }
}
