:root{
  /* 5-color palette */
  --bg: #F7F9FC;
  --text: #1C2A3A;
  --blue: #0B3A78;
  --blue2: #245D9A;
  --accent: #6FAFD8;

  --card: #FFFFFF;
  --border: rgba(28,42,58,0.12);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height:1.55;
}

.container{
  width:min(1040px, calc(100% - 48px));
  margin:0 auto;
}

a{ color: var(--blue2); text-decoration:none; }
a:hover{ text-decoration:underline; }

.sr-only{
  position:absolute !important;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0);
  white-space:nowrap; border:0;
}

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background: rgba(247,249,252,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:12px;
  flex-wrap: nowrap;
}

/* Left: logo container can shrink */
.brand{
  display:flex;
  align-items:center;
  min-width: 0;
  flex: 1 1 auto;        /* allow it to shrink */
}

/* Make the logo responsive within its container */
.brand-logo{
  height:32px;
  width:auto;
  display:block;
  max-width: 100%;        /* key: never exceed available space */
}

/* Right: CTA stays on one line and never overlaps */
.site-header .email-link{
  flex: 0 0 auto;         /* do not shrink into overlap */
  white-space: nowrap;
  margin-left: 12px;
  font-size: 13px;        /* slightly smaller for mobile safety */
}

/* On very small screens, tighten further */
@media (max-width: 420px){
  .brand-logo{ height:28px; }
  .site-header .email-link{ font-size: 12px; }
}

/* Sections */
.section{ padding:72px 0; }

.section-alt{
  background:#fff;
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}

/* Hero */
.hero{ padding:92px 0; }

.hero-title{
  margin:0 0 10px 0;
  font-size:52px;
  letter-spacing:-0.04em;
  color: var(--blue);
}

.hero-subtitle{
  margin:0 0 18px 0;
  font-size:18px;
  color: rgba(28,42,58,0.82);
  max-width:60ch;
}

/* --- Hero layout override (fixes desktop + mobile) --- */
.hero .hero-wrap{
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;   /* ALWAYS stack: text then CTA */
  align-items: center;      /* center the text block */
}

.hero .hero-text{
  text-align: center;
}

.hero .hero-cta-row{
  width: 100%;
  display: flex;
  justify-content: center;  /* desktop: button to the right */
  margin-top: 18px;
}

/* Typography */
.section-title{
  margin:0 0 14px 0;
  font-size:28px;
  letter-spacing:-0.02em;
}

.section-body{
  margin:0 0 12px 0;
  font-size:16px;
  max-width: 76ch;
}

.section-body.subtle{
  margin-top:18px;
  color: rgba(28,42,58,0.78);
}

/* Focus cards */
.grid.two{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px;
  margin-top:18px;
}

@media (max-width: 860px){
  .hero-title{ font-size:44px; }
  .grid.two{ grid-template-columns:1fr; }
}

.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius:18px;
  padding:18px;
}

.card-title{
  margin:0 0 10px 0;
  font-size:16px;
  letter-spacing:-0.01em;
}

.list{
  margin:0;
  padding-left:18px;
  color: rgba(28,42,58,0.88);
}

.list li{ margin:8px 0; }

/* Button */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 14px;
  border-radius:14px;
  border: 1px solid rgba(11,58,120,0.25);
  background: var(--blue);
  color: #fff;
  font-weight:600;
  font-size:14px;
  cursor:pointer;
  text-decoration:none;
}

.btn:hover{ text-decoration:none; filter: brightness(1.03); }
.btn:active{ transform: translateY(1px); }

.btn-small{
  padding:10px 12px;
  border-radius:12px;
}

/* Footer */
.site-footer{ padding:28px 0; }

.footer-inner{
  display:flex;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
  border-top:1px solid var(--border);
  padding-top:18px;
}

.footer-brand{ font-weight:600; }

.footer-right{
  max-width: 620px;
  font-size:13px;
  color: rgba(28,42,58,0.72);
}

.legal{ margin-top:8px; }

.email-link{
  font-size:14px;
  font-weight:600;
  color: var(--blue);
  letter-spacing:0.2px;
  display:inline-flex;
  align-items:center;
  gap:6px;
}

.email-link:hover{
  text-decoration:underline;
}

.arrow{
  font-size:16px;
  line-height:1;
  transition: transform 0.2s ease;
}

.email-link:hover .arrow{
  transform: translateX(4px);
}


/* ---------- Subtle transitions / polish ---------- */

/* Global motion tokens (easy to tune) */
:root{
  --ease: cubic-bezier(.2,.8,.2,1);
  --t-fast: 150ms;
  --t: 220ms;
}

/* Slightly smoother overall text rendering */
body{
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle page fade-in */
body{
  animation: wgFadeIn var(--t) var(--ease) both;
}
@keyframes wgFadeIn{
  from { opacity: 0; transform: translateY(2px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Header feels more “anchored” */
.site-header{
  transition: box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
  box-shadow: 0 6px 18px rgba(11,58,120,0.04);
}

/* Links: more refined hover */
a{
  transition: color var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}

/* If you're using .email-link (header/footer) */
.email-link{
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.email-link:hover{
  opacity: 0.92;
}
.email-link:active{
  transform: translateY(1px);
}

/* Arrow motion (↗) */
.arrow{
  transition: transform var(--t) var(--ease);
}
.email-link:hover .arrow{
  transform: translate(2px, -2px);
}

/* Buttons (if you still have .btn anywhere) */
.btn{
  transition: transform var(--t-fast) var(--ease),
              filter var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease);
  box-shadow: 0 10px 26px rgba(11,58,120,0.10);
}
.btn:hover{
  filter: brightness(1.03);
  transform: translateY(-1px);
}
.btn:active{
  transform: translateY(1px);
  box-shadow: 0 6px 16px rgba(11,58,120,0.08);
}

/* Inputs (if you add any later): smoother focus */
input, textarea{
  transition: box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce){
  *{
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Scroll reveal animation */
.reveal{
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition: opacity 450ms cubic-bezier(.2,.8,.2,1),
              transform 450ms cubic-bezier(.2,.8,.2,1);
}

.reveal.visible{
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Centered section text */
.center{
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Start a Conversation layout */
.contact-wrap{
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-cta{
  margin-top: 18px;
}

/* Force CTA in Start a Conversation to be centered */
#contact .contact-cta{
  width: 100%;
  display: flex;
  justify-content: center;
}

#contact .contact-cta .btn{
  margin: 0;
}

/* Force Start a Conversation CTA to be centered no matter what */
#contact .contact-wrap{
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#contact .contact-btn{
  margin-top: 18px;
  margin-left: auto !important;
  margin-right: auto !important;
}

.sub-bullet {
  margin-left: 18px;
  font-style: italic;
  opacity: 0.85;
}

/* --- Buy Box Grid Layout --- */
.grid.buybox {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

/* Tablet */
@media (max-width: 1024px) {
  .grid.buybox {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 640px) {
  .grid.buybox {
    grid-template-columns: 1fr;
  }
}

/* -------------------------
   PROCESS STEPS GRID
-------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

/* Tablet */
@media (max-width: 1024px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 640px) {
  .steps {
    grid-template-columns: 1fr;
  }
}


/* -------------------------
   WHY WITHIN GROUP GRID
-------------------------- */
.grid.three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

/* Tablet */
@media (max-width: 1024px) {
  .grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 640px) {
  .grid.three {
    grid-template-columns: 1fr;
  }
}












