/* Resollect site — shared styles
   Stripe-register, sharp boxes, white + navy + teal accent. */

:root {
  --navy: #0B1220;
  --ink: #111827;
  --slate: #33475B;
  --n500: #677489;
  --n400: #8A95A5;
  --hair: #E4E7EC;
  --hair-2: #DCE3E9;
  --hair-3: #CAD6E2;
  --paper: #FAFAFA;
  --mist: #F5F8FA;
  --teal: #02A783;
  --teal-deep: #028A6E;
  --teal-soft: #E6F7F2;
  --orange: #F25C37;
  /* primary brand action color — Resollect blue */
  --brand: #2563EB;
  --brand-deep: #1D4ED8;
  --brand-soft: #EFF4FF;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}
::selection { background: var(--brand); color: #fff; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* type ==================================================== */
.eyebrow {
  font-size: 12px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--brand);
}
h1.display {
  font-size: 76px; font-weight: 600; line-height: 1.02;
  letter-spacing: -0.028em; color: var(--ink); margin: 0;
}
h2.h {
  font-size: 48px; font-weight: 600; line-height: 1.06;
  letter-spacing: -0.022em; color: var(--ink); margin: 0;
}
h3.sub {
  font-size: 22px; font-weight: 600; color: var(--ink); margin: 0;
  letter-spacing: -0.012em; line-height: 1.25;
}
p.lede {
  font-size: 19px; line-height: 1.55; color: var(--slate);
  margin: 0; max-width: 56ch; font-weight: 400;
}
p.body { font-size: 16px; line-height: 1.6; color: var(--slate); margin: 0; }
.teal { color: var(--brand); }

/* nav ===================================================== */
nav.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(15,23,42,0.04), 0 8px 24px -16px rgba(15,23,42,0.10);
}
.nav_inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.nav_brand img { height: 52px; width: auto; display: block; }
.nav_links {
  display: flex; gap: 32px; align-items: center;
}
.nav_links a {
  font-size: 14px; font-weight: 500; color: var(--slate);
  transition: color 140ms ease;
  position: relative;
}
.nav_links a:hover { color: var(--ink); }
.nav_links a.active { color: var(--ink); }
.nav_links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -22px;
  height: 2px; background: var(--brand);
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  font-size: 14px; font-weight: 500;
  border: 0; cursor: pointer; font-family: inherit;
  transition: all 180ms cubic-bezier(0.2, 0, 0, 1);
}
.btn_primary {
  background: var(--brand); color: #fff; border-radius: 10px;
}
.btn_primary:hover { background: var(--brand-deep); }
.btn_primary svg { transition: transform 180ms cubic-bezier(0.2, 0, 0, 1); }
.btn_primary:hover svg { transform: translateX(3px); }
.btn_lg { padding: 14px 24px; font-size: 15px; }
.btn_secondary {
  background: transparent; color: var(--ink);
  border: 1px solid var(--hair-3); border-radius: 10px;
}
.btn_secondary:hover { border-color: var(--brand); color: var(--brand); }

/* sections shared ========================================= */
section.section { padding: 120px 0; border-bottom: 1px solid var(--hair); }
.section_head {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: 80px; margin-bottom: 64px;
  align-items: end;
}
.section_head .left { display: flex; flex-direction: column; gap: 16px; }
.section_head .left h2.h { max-width: 14ch; }

/* footer ================================================== */
footer.foot {
  background: var(--ink); color: #fff;
  padding: 80px 0 32px;
}
.foot_top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
}
.foot_brand img { height: 32px; }
.foot_brand .triad {
  margin-top: 16px; font-size: 14px; color: rgba(255,255,255,0.7);
}
.foot_brand .pitch {
  margin-top: 20px; font-size: 13px; color: rgba(255,255,255,0.5);
  line-height: 1.55; max-width: 30ch;
}
.foot_brand .socials {
  margin-top: 28px; display: flex; gap: 8px;
}
.foot_brand .socials a {
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all 180ms cubic-bezier(0.2, 0, 0, 1);
}
.foot_brand .socials a:hover {
  background: var(--brand); color: #fff;
  border-color: var(--brand);
}
.foot_brand .socials svg { width: 14px; height: 14px; }
.foot_col h4 {
  font-size: 12px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.45);
  margin: 0 0 16px;
}
.foot_col ul { list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px; }
.foot_col a {
  font-size: 14px; color: rgba(255,255,255,0.85);
  transition: color 140ms ease;
}
.foot_col a:hover { color: var(--brand); }
.foot_addr {
  font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.55;
}
.foot_bot {
  margin-top: 64px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: rgba(255,255,255,0.45);
  flex-wrap: wrap; gap: 16px;
}

/* sub-page hero =========================================== */
/* headline band on top, then a hairline-divided two-column intro */
section.subhero {
  padding: 88px 0 76px;
  background: #fff;
}
.subhero_head {
  display: flex; flex-direction: column; gap: 20px;
  margin-bottom: 48px;
}
.subhero_head h1.display { font-size: 64px; max-width: 17ch; }
.subhero_cols {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: start;
  padding-top: 40px; border-top: 1px solid var(--hair);
}
.subhero_cols p.lede { max-width: 46ch; }
.subhero_cols p.body { max-width: 44ch; color: var(--n500); }

/* reveal animations ======================================= */
/* always-visible. .in retained as a no-op for legacy markup. */
.r-fade { opacity: 1; transform: none; }
.r-fade.in { opacity: 1; transform: none; }

/* responsive ============================================== */
@media (max-width: 1080px) {
  h1.display { font-size: 64px; }
  h2.h { font-size: 38px; }
  .subhero_head h1.display { font-size: 52px; }
}
@media (max-width: 920px) {
  .nav_links { display: none; }
  .wrap { padding: 0 24px; }
  h1.display { font-size: 44px; }
  h2.h { font-size: 32px; }
  section.section { padding: 72px 0; }
  .section_head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
  section.subhero { padding: 56px 0 48px; }
  .subhero_head { margin-bottom: 32px; }
  .subhero_head h1.display { font-size: 40px; }
  .subhero_cols { grid-template-columns: 1fr; gap: 24px; padding-top: 28px; }
  .foot_top { grid-template-columns: 1fr 1fr; }
  .foot_brand { grid-column: 1 / -1; }
}
