:root {
  --navy: #0B2545;
  --navy-900: #071A34;
  --navy-700: #13386A;
  --amber: #C8A15A;
  --amber-600: #B08B45;
  --surface: #F8F6F1;
  --ink: #1C2A3A;
  --slate: #5B6B7E;
  --border: #E2DED5;
  --forest: #2F6B4F;
  --shadow-card: 0 1px 2px rgba(11,37,69,.04), 0 8px 24px rgba(11,37,69,.06);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--surface);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
img, svg { display: block; max-width: 100%; }

a:focus-visible, button:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.05; font-weight: 500; }
h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.15; font-weight: 500; }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1rem; }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--amber-600);
  margin: 0 0 16px;
}

.prose { max-width: 68ch; }
.muted { color: var(--slate); }

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) { .container { padding: 0 40px; } }

.section { padding: 80px 0; }
@media (min-width: 768px) { .section { padding: 112px 0; } }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 24px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-700); }
.btn-amber { background: var(--amber); color: var(--navy); }
.btn-amber:hover { background: var(--amber-600); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-full { width: 100%; }

/* Hero pattern */
.hero-pattern {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(11,37,69,.05) 0 1px, transparent 1px 24px);
  pointer-events: none;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-card);
}

/* Skip link */
.skip {
  position: absolute;
  left: 12px; top: 12px;
  background: var(--navy);
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
  transform: translateY(-120%);
  transition: transform .15s ease;
  z-index: 100;
  font-size: 14px;
}
.skip:focus { transform: translateY(0); }

/* Legal prose */
.legal h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: .75rem;
}
.legal h3 {
  font-size: 1.15rem;
  margin-top: 1.75rem;
  margin-bottom: .5rem;
}
.legal p, .legal li { color: var(--ink); }
.legal ul { padding-left: 1.25rem; }
.legal li { margin-bottom: .4rem; }
.legal strong { font-weight: 600; }
.legal hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }
.legal a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 3px; }

.hr-thin { border: 0; border-top: 1px solid var(--border); margin: 0; }

/* Site chrome */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(248,246,241,.92);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
  height: 72px;
}
.site-header .inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.wordmark img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 100%;
}
.site-footer .wordmark img { height: 48px; }
@media (max-width: 520px) {
  .wordmark img { height: 34px; }
  .site-footer .wordmark img { height: 42px; }
}

.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
  padding: 8px 2px;
  position: relative;
  letter-spacing: -0.005em;
}
.nav-links a.active { color: var(--navy); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--amber);
}

.header-contact { display: flex; align-items: center; gap: 20px; }
.header-contact a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.header-contact .email { color: var(--slate); }
.header-contact .phone { color: var(--navy); font-weight: 600; }

.menu-btn {
  width: 44px; height: 44px;
  display: none;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
}

.mm-panel {
  position: fixed;
  inset: 72px 0 0 0;
  background-color: #F8F6F1;
  background-image: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  padding: 24px;
  z-index: 100;
  display: none;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--border);
  overflow-y: auto;
}
.mm-panel.open { display: flex; }
.mm-panel a {
  display: block;
  padding: 14px 4px;
  border-bottom: 1px solid var(--border);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
}
.mm-panel a.active { color: var(--navy); font-weight: 600; }
.mm-panel .phone-row,
.mm-panel .email-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 899px) {
  .nav-links, .header-contact { display: none; }
  .menu-btn { display: grid; }
}

/* Disclosure band */
.disclosure {
  background: var(--navy);
  color: #fff;
  padding: 32px 0;
}
.disclosure .inner {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: center;
}
.disclosure p {
  margin: 0;
  max-width: 68ch;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255,255,255,.92);
}
.disclosure .icon { flex-shrink: 0; margin-top: 3px; color: var(--amber); }

/* Contact strip */
.contact-strip {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.contact-strip .grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.contact-strip .label { margin: 0 0 8px; }
.contact-strip .value {
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.8);
}
.site-footer .outer { padding: 56px 0 24px; }
.site-footer .grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.site-footer .blurb {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,.72);
  max-width: 38ch;
}
.site-footer .eyebrow { color: var(--amber); margin-bottom: 14px; }
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.site-footer li, .site-footer a { font-size: 14px; }
.site-footer a { display: inline-flex; align-items: center; gap: 8px; }
.site-footer .legal-row {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 13px;
  color: rgba(255,255,255,.55);
}

/* Landing specific */
.hero-wrap { position: relative; overflow: hidden; }
.hero-inner {
  position: relative;
  padding: 72px 24px 96px;
}
.hero-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  align-items: start;
}
@media (max-width: 899px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero h1 { margin-bottom: 20px; max-width: 18ch; text-wrap: balance; overflow-wrap: break-word; word-wrap: break-word; hyphens: auto; }
@media (max-width: 767px) {
  .hero h1 { max-width: 100%; font-size: clamp(1.85rem, 8vw, 2.5rem); }
  .hero-lede { font-size: 16px; }
  .hero-inner { padding: 56px 20px 72px; }
  .about-hero-inner { padding: 56px 20px 36px; }
}
.hero-lede {
  font-size: 18px;
  color: var(--slate);
  max-width: 52ch;
  line-height: 1.6;
  margin-bottom: 28px;
}
.hero-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-cta-row .tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--slate);
}
.hero-cta-row .tel strong { color: var(--navy); font-weight: 600; }

.abstract-blocks {
  display: flex;
  gap: 12px;
  margin-top: 64px;
  max-width: 100%;
  flex-wrap: wrap;
}
.abstract-blocks > div { border-radius: 8px; height: 80px; flex-shrink: 0; }
.ab-1 { width: 80px; background: var(--navy); }
.ab-2 { width: 80px; background: var(--amber); }
.ab-3 { width: 160px; background: #fff; border: 1px solid var(--border); }
.ab-4 { width: 80px; background: var(--navy-700); }
@media (max-width: 520px) {
  .abstract-blocks { margin-top: 40px; gap: 10px; }
  .abstract-blocks > div { height: 56px; }
  .ab-1, .ab-2, .ab-4 { width: 56px; }
  .ab-3 { width: 116px; }
}

/* How it works */
.hiw-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.hiw-step { padding: 8px 28px; }
.hiw-step + .hiw-step { border-left: 1px solid var(--border); }
@media (max-width: 899px) {
  .hiw-step + .hiw-step { border-left: none; border-top: 1px solid var(--border); margin-top: 16px; padding-top: 24px; }
}
.hiw-num {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 48px;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 16px;
}
.hiw-step h3 { font-size: 20px; margin-bottom: 10px; }
.hiw-step p { color: var(--slate); font-size: 15px; margin: 0; }

/* Role comparison */
.role-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.role-card { padding: 32px; }
.role-card h3 { font-size: 20px; margin-bottom: 18px; }
.role-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.role-list li { display: flex; gap: 12px; align-items: flex-start; }
.role-list .icon-bubble {
  flex-shrink: 0;
  margin-top: 2px;
  width: 24px; height: 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
}
.role-list .icon-bubble.do { background: rgba(47,107,79,.1); color: var(--forest); }
.role-list .icon-bubble.dont { background: rgba(91,107,126,.1); color: var(--slate); }
.role-list span.text { font-size: 15px; color: var(--ink); line-height: 1.55; }

/* Editorial block */
.editorial p {
  font-size: 17px;
  color: var(--ink);
  line-height: 1.7;
}

/* Main form section */
.mainform-head { margin-bottom: 32px; text-align: center; }
.mainform-head p { margin: 0 auto; max-width: 56ch; font-size: 16px; }

.bg-white-band {
  background: #fff;
  border-top: 1px solid var(--border);
}
.bg-white-band.with-bottom { border-bottom: 1px solid var(--border); }

/* Privacy summary */
.privacy-summary {
  max-width: 68ch;
}
.privacy-summary ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 10px;
}
.privacy-summary li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.privacy-summary .dot {
  flex-shrink: 0;
  margin-top: 10px;
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--amber);
}
.privacy-summary .link-out {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
  border-bottom: 1px solid var(--amber);
  padding-bottom: 2px;
}

/* About page */
.about-hero-inner { padding: 72px 24px 48px; max-width: 760px; }
.about-wrap { max-width: 720px; padding: 48px 24px 96px; }
.about-wrap section { margin-bottom: 56px; }
.about-wrap section:last-of-type { margin-bottom: 0; }
.about-wrap h2 { margin-bottom: 20px; }
.about-wrap .lead { font-size: 17px; color: var(--ink); line-height: 1.7; }

.about-steps {
  padding: 0; margin: 0;
  list-style: none;
  display: grid;
  gap: 20px;
}
.about-steps li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  align-items: baseline;
}
.about-steps .num {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 32px;
  color: var(--amber);
}
.about-steps .txt { font-size: 17px; color: var(--ink); line-height: 1.6; }
.about-steps .txt strong { font-weight: 600; }

.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.info-list li { display: flex; gap: 12px; align-items: flex-start; }
.info-list .bubble {
  flex-shrink: 0;
  margin-top: 2px;
  width: 22px; height: 22px;
  border-radius: 999px;
  background: rgba(91,107,126,.1);
  display: grid;
  place-items: center;
  color: var(--slate);
}
.info-list .text { font-size: 16px; color: var(--ink); }

.contact-dl {
  margin: 0;
  display: grid;
  grid-template-columns: 180px 1fr;
  row-gap: 12px;
}
.contact-dl dt { color: var(--slate); font-size: 14px; font-weight: 500; }
.contact-dl dd { margin: 0; font-size: 15px; color: var(--ink); }
@media (max-width: 520px) {
  .contact-dl { grid-template-columns: 1fr; row-gap: 4px; }
  .contact-dl dd { margin-bottom: 10px; }
}

.final-note {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 32px;
  border-radius: 10px;
}
.final-note p {
  margin: 0;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.65;
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
}

.cta-strip {
  background: var(--navy);
  padding: 48px 0;
}
.cta-strip .inner {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.cta-strip h3 {
  color: #fff;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  margin: 0;
}

/* Legal page header strip */
.legal-header {
  background: var(--navy);
  color: #fff;
  padding: 40px 0;
}
.legal-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  min-height: 80px;
}
.legal-header h1 {
  color: #fff;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin: 0;
}
.legal-header .updated {
  color: rgba(255,255,255,.75);
  font-size: 14px;
}

.legal-wrap { max-width: 760px; padding: 64px 24px 80px; }

/* Contact card (hero right column) */
.contact-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-card .eyebrow { margin: 0; }
.contact-card .cc-heading {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.015em;
}
.contact-card .cc-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}
.contact-card .cc-row:first-of-type { border-top: none; padding-top: 4px; }
.contact-card .cc-icon {
  width: 40px; height: 40px;
  border-radius: 999px;
  background: rgba(200,161,90,.12);
  color: var(--amber-600);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-card .cc-label {
  font-size: 12px;
  color: var(--slate);
  font-weight: 500;
  margin: 0 0 2px;
}
.contact-card .cc-value {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  display: block;
  letter-spacing: -0.01em;
}
.contact-card .cc-value.email { font-size: 15px; }
.contact-card .cc-note {
  font-size: 13.5px;
  color: var(--slate);
  line-height: 1.55;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* Entrance animation */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .45s cubic-bezier(.2,.7,.3,1) both; }

/* Call popup — centered modal */
@keyframes callBackdropIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes callPopupIn {
  from { opacity: 0; transform: translateY(8px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.call-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11,37,69,.55);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: callBackdropIn .25s ease-out both;
}
.call-backdrop.open { display: flex; }
.call-popup {
  position: relative;
  z-index: 61;
  width: 400px;
  max-width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 30px 60px rgba(11,37,69,.25), 0 8px 16px rgba(11,37,69,.1);
  padding: 32px;
  animation: callPopupIn .35s cubic-bezier(.2,.7,.3,1) both;
}
.call-popup .close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--slate);
}
.call-popup .close-btn:hover { background: var(--surface); color: var(--ink); }
.call-popup .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber-600);
  background: rgba(200,161,90,.12);
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.call-popup .badge .pulse {
  width: 7px; height: 7px;
  border-radius: 999px;
  background: var(--forest);
  box-shadow: 0 0 0 0 rgba(47,107,79,.55);
  animation: callPulse 1.8s ease-out infinite;
}
@keyframes callPulse {
  0%   { box-shadow: 0 0 0 0 rgba(47,107,79,.55); }
  70%  { box-shadow: 0 0 0 10px rgba(47,107,79,0); }
  100% { box-shadow: 0 0 0 0 rgba(47,107,79,0); }
}
.call-popup .cc-icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(200,161,90,.15);
  color: var(--amber-600);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.call-popup h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 22px;
  color: var(--ink);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.call-popup p.sub {
  font-size: 14px;
  color: var(--slate);
  margin: 0 0 20px;
  line-height: 1.55;
}
.call-popup a.call-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 48px;
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.005em;
  transition: background-color .15s ease;
}
.call-popup a.call-cta:hover { background: var(--navy-700); }
.call-popup a.call-cta strong { font-weight: 600; letter-spacing: 0; }
.call-popup .note {
  font-size: 11.5px;
  color: var(--slate);
  text-align: center;
  margin: 10px 0 0;
  line-height: 1.4;
}
@media (max-width: 520px) {
  .call-backdrop { padding: 16px; }
  .call-popup { padding: 22px; border-radius: 12px; }
}
