/* =========================================================
   Ampersand Public Advisors — Design System
   Palette from brand guide + observed sales-sheet execution
   ========================================================= */

/* Google Fonts are enqueued in functions.php (ampersand-fonts). */

:root{
  /* Brand palette */
  --navy-900:   #1F2E48;   /* deepest — hero band, on print-3 */
  --navy-700:   #3E5B8C;   /* primary hero blue from print-1/web-1 */
  --navy-600:   #557BB5;
  --steel-700:  #4E5863;   /* Public Steel */
  --slate-500:  #89A4AD;   /* Public Slate */
  --silver-200: #DCDFE4;   /* Public Silver */
  --silver-100: #EEF0F3;
  --paper:      #F7F7F4;   /* warm off-white */
  --white:      #FFFFFF;
  --ink:        #1A1F26;   /* body text */
  --ink-soft:   #4A5561;

  /* Signature accents observed in PDFs */
  --lime:       #BFD730;   /* the chartreuse headline color */
  --lime-dim:   #A6BC26;
  --green:      #4A8B6F;   /* logo bracket + section labels */
  --green-dim:  #3E7660;

  /* Active accent — swapped by Tweaks */
  --accent:     var(--lime);
  --accent-ink: var(--navy-900);

  /* Typography */
  --f-display: 'Space Grotesk', system-ui, sans-serif;
  --f-body:    'IBM Plex Sans', system-ui, sans-serif;
  --f-serif:   'Instrument Serif', 'Times New Roman', serif;

  /* Rhythm */
  --page-max: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(80px, 10vw, 140px);
}

/* -------- reset -------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--f-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  font-size: 17px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img,svg{ display:block; max-width:100%; }
a{ color:inherit; text-decoration: none; }
button{ font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* -------- layout primitives -------- */
.container{
  max-width: var(--page-max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.section{ padding-block: var(--section-y); }
.section-tight{ padding-block: clamp(56px, 7vw, 96px); }

.eyebrow{
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before{
  content:"";
  width: 24px; height: 1px;
  background: var(--green);
  display: inline-block;
}

.serif-note{
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 20px;
  color: var(--ink-soft);
}

/* -------- typography scale -------- */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 500;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.05;
  text-wrap: balance;
}

.display{
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(44px, 6.4vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.h1 { font-size: clamp(36px, 4.8vw, 64px); }
.h2 { font-size: clamp(28px, 3.4vw, 44px); }
.h3 { font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.01em; }

.lede{
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 60ch;
  text-wrap: pretty;
}

/* -------- buttons -------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.005em;
  border-radius: 999px;   /* pill — matches trustampersand */
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary{
  background: var(--green);
  color: var(--white);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}
.btn-primary:hover{ background: var(--green-dim); }
.btn-dark{
  background: var(--navy-900);
  color: var(--white);
}
.btn-dark:hover{ background: #0f1929; }
.btn-accent{
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-accent:hover{ background: var(--lime-dim); }
.btn-ghost{
  border-color: currentColor;
  color: var(--navy-900);
}
.btn-ghost:hover{ background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }
.btn-arrow::after{ content:"→"; transition: transform .2s; }
.btn:hover .btn-arrow::after, .btn-arrow:hover::after{ transform: translateX(3px); }

/* -------- top nav -------- */
.nav{
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--silver-200);
}
.nav-inner{
  display:flex; align-items:center; justify-content: space-between;
  padding: 18px var(--gutter);
  max-width: var(--page-max);
  margin: 0 auto;
}
.nav-logo{ display: inline-flex; align-items: center; color: var(--navy-900); }
.nav-logo .brand-logo{
  height: 44px;      /* renders the full lockup — wordmark + PUBLIC ADVISORS baseline */
  width: auto;
  display: block;
}
/* Legacy — no longer used, keep for safety */
.nav-logo .subline{ display: none; }
.nav-links{
  display:flex; align-items:center; gap: 6px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a{
  display: inline-block;
  padding: 10px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--steel-700);
  transition: color .15s;
  position: relative;
}
.nav-links a:hover, .nav-links a[aria-current="page"]{ color: var(--navy-900); }
.nav-links a[aria-current="page"]::after{
  content:""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; background: var(--accent);
}
.nav-cta{ margin-left: 12px; }

@media (max-width: 860px){
  .nav-links { display: none; }
}

/* -------- HERO -------- */
.hero{
  background: var(--navy-700);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding-top: clamp(72px, 9vw, 120px);
  padding-bottom: clamp(80px, 10vw, 140px);
}
.hero .container{ position: relative; z-index: 2; }
.hero-bracket{
  position: absolute;
  left: -60px; top: 40px;
  width: 460px;
  color: rgba(255,255,255,0.09);
  pointer-events: none;
}
.hero-wave{
  position: absolute;
  inset: auto 0 -1px 0;
  height: 260px;
  color: rgba(255,255,255,0.12);
  pointer-events: none;
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}
@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
}
.hero-eyebrow{
  color: var(--accent);
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 28px;
}
.hero-eyebrow::before{
  content:""; width: 32px; height: 1px; background: var(--accent);
}
.hero h1{
  color: var(--white);
  font-size: clamp(44px, 6.2vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 500;
  text-wrap: balance;
}
.hero h1 .accent{ color: var(--accent); }
.hero-body{
  max-width: 44ch;
  color: rgba(255,255,255,0.82);
  font-size: 17px;
  line-height: 1.55;
  margin-bottom: 28px;
}
.hero-actions{ display:flex; gap: 12px; flex-wrap: wrap; }
.hero-side{
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 32px;
}
.hero-side dt{
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); font-weight: 500;
  margin-bottom: 6px;
}
.hero-side dd{
  margin: 0;
  font-family: var(--f-display);
  color: var(--white);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-side dd small{
  display: block;
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.02em;
  margin-top: 8px;
  line-height: 1.4;
}

/* -------- vertical rail (Services include:) -------- */
.rail-label{
  position: absolute;
  left: 20px;
  top: 40%;
  transform: rotate(-90deg);
  transform-origin: left top;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 44px;
  color: var(--silver-200);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -0.01em;
}

/* -------- STATS strip -------- */
.stats{
  border-top: 1px solid var(--silver-200);
  border-bottom: 1px solid var(--silver-200);
}
.stats-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
@media (max-width: 820px){
  .stats-grid{ grid-template-columns: 1fr 1fr; }
}
.stat{
  padding: 44px 32px;
  border-right: 1px solid var(--silver-200);
  position: relative;
}
.stat:last-child{ border-right: 0; }
@media (max-width: 820px){
  .stat:nth-child(2n){ border-right: 0; }
  .stat:nth-child(-n+2){ border-bottom: 1px solid var(--silver-200); }
}
.stat-num{
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(40px, 4.5vw, 60px);
  color: var(--navy-900);
  line-height: 1;
  letter-spacing: -0.03em;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.stat-num .suffix{
  font-size: 0.5em;
  color: var(--green);
  font-weight: 500;
}
.stat-label{
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.4;
  max-width: 28ch;
}

/* -------- SERVICES grid -------- */
.services-head{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 60px;
}
@media (max-width: 860px){
  .services-head{ grid-template-columns: 1fr; gap: 24px; }
}
.services-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--silver-200);
  border: 1px solid var(--silver-200);
}
@media (max-width: 900px){
  .services-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px){
  .services-grid{ grid-template-columns: 1fr; }
}
.service-card{
  background: var(--white);
  padding: 36px 32px 32px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: background .22s ease;
  color: var(--navy-900);
}
.service-card:hover{ background: var(--paper); }
.service-num{
  font-family: var(--f-display);
  font-size: 13px;
  color: var(--green);
  letter-spacing: 0.14em;
  font-weight: 500;
}
.service-card h3{
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 22px;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}
.service-card p{
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0;
  line-height: 1.55;
  flex: 1;
}
.service-card .service-arrow{
  align-self: flex-start;
  color: var(--navy-900);
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-top: 6px;
}
.service-card .service-arrow::after{
  content:"→"; transition: transform .2s;
}
.service-card:hover .service-arrow::after{ transform: translateX(4px); }
.service-card::before{
  content:"";
  position: absolute;
  left: 32px; right: 32px; top: 0;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.service-card:hover::before{ transform: scaleX(1); }

/* -------- WHO WE SERVE strip -------- */
.serve-wrap{ background: var(--paper); }
.serve-grid{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-top: 1px solid var(--silver-200);
  border-bottom: 1px solid var(--silver-200);
}
@media (max-width: 900px){ .serve-grid{ grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px){ .serve-grid{ grid-template-columns: repeat(2, 1fr); } }
.serve-cell{
  padding: 32px 20px;
  border-right: 1px solid var(--silver-200);
  text-align: left;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}
.serve-cell:last-child{ border-right: 0; }
.serve-icon{
  width: 32px !important;
  height: 32px !important;
  max-width: 32px;
  max-height: 32px;
  color: var(--green);
  flex-shrink: 0;
  display: block;
}
.serve-label{
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--navy-900);
  line-height: 1.2;
  letter-spacing: -0.005em;
}

/* -------- HOW IT WORKS diagram -------- */
.how{
  background: var(--navy-900);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.how-head{ margin-bottom: 60px; max-width: 720px; }
.how h2{ color: var(--white); }
.how h2 .accent{ color: var(--accent); }
.how-lede{ color: rgba(255,255,255,0.75); margin-top: 20px; font-size: 18px; }
.how-diagram{
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}
@media (max-width: 900px){
  .how-diagram{ grid-template-columns: 1fr; gap: 24px; }
  .how-diagram .arrow{ display: none; }
}
.how-node{
  border: 1px solid rgba(255,255,255,0.22);
  padding: 28px 24px;
  min-height: 180px;
  position: relative;
  transition: border-color .2s;
}
.how-node:hover{ border-color: var(--accent); }
.how-node .n{
  font-family: var(--f-display);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: 500;
  text-transform: uppercase;
}
.how-node h3{
  color: var(--white);
  font-family: var(--f-display);
  font-size: 22px;
  margin: 10px 0 8px;
  font-weight: 500;
}
.how-node p{
  color: rgba(255,255,255,0.72);
  font-size: 14.5px;
  line-height: 1.5;
  margin: 0;
}
.how-node.hub{
  background: var(--accent);
  color: var(--navy-900);
  border-color: var(--accent);
}
.how-node.hub .n{ color: var(--navy-900); opacity: 0.7; }
.how-node.hub h3{ color: var(--navy-900); }
.how-node.hub p{ color: rgba(31,46,72,0.85); }
.arrow{
  color: rgba(255,255,255,0.5);
  font-size: 24px;
  text-align: center;
}

/* -------- QUOTE band -------- */
.quote-band{
  background: var(--paper);
  border-top: 1px solid var(--silver-200);
  border-bottom: 1px solid var(--silver-200);
}
.pull-quote{
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  max-width: 24ch;
  text-wrap: balance;
}
.pull-quote .accent{ color: var(--green); }
.quote-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: end;
}
@media (max-width: 900px){ .quote-grid{ grid-template-columns: 1fr; } }
.quote-meta{
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.quote-meta strong{ color: var(--navy-900); font-weight: 600; }

/* -------- CTA block -------- */
.cta-block{
  background: var(--navy-900);
  color: var(--white);
  padding: clamp(56px, 7vw, 96px) var(--gutter);
}
.cta-inner{
  max-width: var(--page-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px){ .cta-inner{ grid-template-columns: 1fr; gap: 24px; } }
.cta-inner h2{
  color: var(--white);
  font-size: clamp(32px, 4vw, 52px);
}
.cta-inner h2 .accent{ color: var(--accent); }
.cta-inner p{ color: rgba(255,255,255,0.75); margin: 20px 0 0; max-width: 44ch; }
.cta-actions{ display: flex; flex-direction: column; gap: 12px; }
.cta-actions .phone{
  font-family: var(--f-display);
  font-size: 22px;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.cta-actions .phone small{
  display: block;
  font-family: var(--f-body);
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 4px;
}

/* -------- FOOTER -------- */
.footer{
  background: #0F1929;
  color: rgba(255,255,255,0.7);
  padding: 72px var(--gutter) 32px;
  font-size: 14px;
}
.footer-inner{
  max-width: var(--page-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
@media (max-width: 900px){ .footer-inner{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .footer-inner{ grid-template-columns: 1fr; } }
.footer-brand svg{ color: var(--white); height: 36px; margin-bottom: 20px; }
.footer-brand .brand-logo-white{
  height: 52px;
  width: auto;
  display: block;
  margin-bottom: 20px;
  /* the SVG is dark on transparent — invert to white for the dark footer */
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.footer-brand p{ margin: 0 0 4px; line-height: 1.6; }
.footer h4{
  color: var(--white);
  font-family: var(--f-display);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 18px;
}
.footer ul{ list-style: none; margin: 0; padding: 0; }
.footer li{ margin-bottom: 10px; }
.footer a:hover{ color: var(--accent); }
.footer-bot{
  max-width: var(--page-max);
  margin: 60px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between;
  gap: 20px;
  font-size: 11.5px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.02em;
  flex-wrap: wrap;
}
.footer-disclaimer{
  max-width: var(--page-max);
  margin: 24px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 11.5px;
  line-height: 1.65;
  color: rgba(255,255,255,0.5);
}

/* -------- generic building blocks -------- */
.section-head{
  display:flex; align-items: end; justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
}
.section-head .lede{ max-width: 42ch; }
@media (max-width: 720px){ .section-head{ flex-direction: column; align-items: flex-start; } }

.grid-3{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-2{ display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 860px){ .grid-3{ grid-template-columns: 1fr; } .grid-2{ grid-template-columns: 1fr; } }

/* -------- page hero (interior pages) -------- */
.page-hero{
  background: var(--navy-900);
  color: var(--white);
  padding: clamp(64px, 8vw, 120px) 0 clamp(56px, 7vw, 96px);
  position: relative;
  overflow: hidden;
}
.page-hero h1{
  color: var(--white);
  font-size: clamp(44px, 6vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 14ch;
}
.page-hero h1 .accent{ color: var(--accent); }
.page-hero .breadcrumbs{
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.page-hero .breadcrumbs a{ color: rgba(255,255,255,0.6); }
.page-hero .breadcrumbs a:hover{ color: var(--white); }

/* -------- utility -------- */
.pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.9);
  white-space: nowrap;
}
.pill .dot{ flex-shrink: 0; }
.pill .dot{ width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.divider{ border: 0; border-top: 1px solid var(--silver-200); margin: 0; }

/* -------- FAQ-ish accordion for service page -------- */
.stages{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 860px){ .stages{ grid-template-columns: 1fr; } }
.stage{
  border-top: 1px solid var(--silver-200);
  padding-top: 24px;
}
.stage .n{
  font-family: var(--f-display);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--green);
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.stage h3{
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--navy-900);
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.stage ul{
  margin: 0; padding: 0; list-style: none;
}
.stage li{
  padding: 10px 0 10px 22px;
  border-bottom: 1px dashed var(--silver-200);
  position: relative;
  font-size: 15px;
  color: var(--ink-soft);
}
.stage li:last-child{ border-bottom: 0; }
.stage li::before{
  content:"→";
  position: absolute; left: 0; top: 10px;
  color: var(--green);
  font-size: 13px;
}

/* -------- team card -------- */
.team-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.team-grid.team-grid-2{
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 900px){
  .team-grid{ grid-template-columns: 1fr 1fr; }
  .team-grid.team-grid-2{ grid-template-columns: 1fr; }
}
@media (max-width: 620px){ .team-grid{ grid-template-columns: 1fr; } }

/* Portrait slot for the 2-up card layout.
   :host in the shadow DOM sets explicit width & height, so we override BOTH. */
.team-portrait-slot{
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4/5 !important;
  margin-bottom: 24px;
  background: var(--paper);
  border: 1px solid var(--silver-200);
  border-radius: 2px;
  overflow: hidden;
}
/* Team — identical fixed photo frames + tidy card layout */
.team-grid.team-grid-2 .team-card{
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}
.team-grid.team-grid-2 .team-card > :not(.team-photo){
  margin-left: 32px;
  margin-right: 32px;
}
.team-grid.team-grid-2 .team-card h3{ margin-top: 28px; font-size: 24px; }
.team-photo{
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--silver-100);
  border-bottom: 1px solid var(--silver-200);
}
.team-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.team-grid.team-grid-2 .team-bio{ flex: 1; margin: 0; }
.team-grid.team-grid-2 .team-role{ margin: 8px 0 16px; }
.team-grid.team-grid-2 .team-creds{
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 20px;
}
.team-grid.team-grid-2 .cred{
  display: inline-flex; align-items: center;
  white-space: nowrap;
  line-height: 1;
  padding: 7px 10px;
  font-size: 10.5px;
}
.team-grid.team-grid-2 .team-meta{ margin-bottom: 28px; }
.team-card .team-meta{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--silver-200);
  font-size: 13px;
  color: var(--ink-soft);
}
.team-card .team-meta a{
  color: var(--green);
  font-weight: 500;
}
.team-card .team-meta a:hover{ color: var(--green-dim); }
.team-card{
  border: 1px solid var(--silver-200);
  padding: 28px;
  background: var(--white);
  transition: border-color .2s;
}
.team-card:hover{ border-color: var(--navy-900); }
.team-portrait{
  aspect-ratio: 4/5;
  background:
    repeating-linear-gradient(45deg, var(--silver-100) 0 8px, var(--paper) 8px 16px);
  border: 1px solid var(--silver-200);
  margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  color: var(--slate-500);
  font-family: monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
}
.team-card h3{
  font-size: 20px;
  font-weight: 500;
}
.team-role{
  color: var(--green);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  margin: 6px 0 12px;
}
.team-bio{ color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; }
.team-creds{ margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.cred{
  font-size: 11px;
  padding: 4px 10px;
  background: var(--paper);
  border: 1px solid var(--silver-200);
  color: var(--steel-700);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

/* -------- contact form -------- */
.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px){ .contact-grid{ grid-template-columns: 1fr; gap: 40px; } }
.form-field{
  display: flex; flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.form-field label{
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel-700);
  font-weight: 500;
}
.form-field input, .form-field select, .form-field textarea{
  font: inherit;
  padding: 14px 16px;
  border: 1px solid var(--silver-200);
  background: var(--white);
  border-radius: 0;
  color: var(--ink);
  transition: border-color .15s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{
  outline: none; border-color: var(--navy-900);
}
.form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 620px){ .form-row{ grid-template-columns: 1fr; } }

.info-line{
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--silver-200);
  gap: 24px;
}
.info-line:first-of-type{ border-top: 1px solid var(--silver-200); }
.info-line dt{
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-500);
  font-weight: 500;
  flex-shrink: 0;
  width: 140px;
}
.info-line dd{
  margin: 0;
  color: var(--navy-900);
  font-size: 16px;
  text-align: right;
  line-height: 1.5;
}

/* -------- Tweaks panel look-and-feel already in tweaks-panel.jsx --------
   (only need to define our swatch colors, done inline in the page)
------------------------------------------------------------------------- */

/* ============================================================
   TRUSTAMPERSAND-inspired component patterns (light theme)
============================================================ */

/* Light hero (paper background, giant editorial statement) */
.hero-light{
  background: var(--paper);
  padding: clamp(80px, 10vw, 140px) 0 clamp(60px, 8vw, 100px);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--silver-200);
}
.hero-light .hero-inner{
  max-width: var(--page-max);
  margin: 0 auto;
  padding-inline: var(--gutter);
  text-align: center;
  position: relative;
  z-index: 2;
}
.hero-light .kicker{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--silver-200);
  border-radius: 999px;
  background: var(--white);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel-700);
  margin-bottom: 32px;
}
.hero-light .kicker .dot{
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
}
.hero-light h1{
  font-size: clamp(44px, 7.5vw, 108px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 500;
  color: var(--navy-900);
  max-width: 18ch;
  margin: 0 auto;
  text-wrap: balance;
}
.hero-light h1 .accent-inline{
  color: var(--green);
}
.hero-light h1 .light{
  color: var(--slate-500);
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
}
.hero-light .subhead{
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 32px auto 40px;
  text-wrap: pretty;
}
.hero-light .actions{
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-light .hero-note{
  font-family: var(--f-serif);
  font-style: italic;
  color: var(--slate-500);
  font-size: 15px;
  margin-top: 40px;
}

/* Big background wordmark */
.hero-light-mark{
  position: absolute;
  right: -80px; bottom: -60px;
  width: min(60vw, 700px);
  color: var(--silver-200);
  opacity: 0.4;
  pointer-events: none;
  transform: rotate(-6deg);
}

/* Trio feature row */
.trio{
  padding: clamp(56px, 7vw, 96px) 0;
  background: var(--white);
}
.trio-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--silver-200);
  border-bottom: 1px solid var(--silver-200);
}
@media (max-width: 780px){
  .trio-grid{ grid-template-columns: 1fr; }
}
.trio-cell{
  padding: 48px 40px;
  border-right: 1px solid var(--silver-200);
  text-align: center;
}
.trio-cell:last-child{ border-right: 0; }
@media (max-width: 780px){
  .trio-cell{ border-right: 0; border-bottom: 1px solid var(--silver-200); }
  .trio-cell:last-child{ border-bottom: 0; }
}
.trio-icon{
  width: 64px;
  height: 64px;
  min-width: 64px;
  margin: 0 auto 20px;
  color: var(--green);
  border: 1.5px solid currentColor;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.trio-icon > svg{
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  max-height: 28px !important;
  display: block;
  flex-shrink: 0;
}
.trio-head{
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 40px);
  color: var(--navy-900);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 8px;
}
.trio-sub{
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 30ch;
  margin: 0 auto;
}

/* Featured-in press strip */
.press-strip{
  padding: 32px 0;
  background: var(--white);
  border-bottom: 1px solid var(--silver-200);
}
.press-strip .container{
  display: flex; align-items: center; justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}
.press-label{
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--slate-500);
}
.press-logo{
  font-family: var(--f-serif);
  font-size: 24px;
  color: var(--steel-700);
  font-style: italic;
  letter-spacing: -0.01em;
  opacity: 0.7;
  transition: opacity .2s;
}
.press-logo:hover{ opacity: 1; }
.press-logo.grotesque{
  font-family: var(--f-display);
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.press-logo.serif-caps{
  font-family: 'Instrument Serif', serif;
  font-style: normal;
  text-transform: uppercase;
  font-size: 22px;
  letter-spacing: 0.08em;
}

/* Big illustrative stat "up to 7x more" pattern */
.hero-stat-band{
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--paper);
  border-top: 1px solid var(--silver-200);
  border-bottom: 1px solid var(--silver-200);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-stat-num{
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(120px, 22vw, 320px);
  line-height: 0.88;
  letter-spacing: -0.06em;
  color: var(--navy-900);
  margin: 0;
  position: relative;
  z-index: 2;
}
/* Word-based stats (e.g. "Billions") need to fit within container */
.hero-stat-num.stat-word{
  font-size: clamp(72px, 14vw, 180px);
  line-height: 0.94;
}
.hero-stat-num.stat-word .unit{
  font-size: 1em;
  vertical-align: baseline;
}
.hero-stat-num .unit{
  color: var(--green);
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.5em;
  letter-spacing: -0.02em;
  vertical-align: 0.15em;
}
.hero-stat-lead{
  font-size: clamp(20px, 2vw, 28px);
  color: var(--ink);
  font-family: var(--f-display);
  font-weight: 500;
  letter-spacing: -0.015em;
  max-width: 32ch;
  margin: 40px auto 0;
  line-height: 1.2;
  text-wrap: balance;
}
.hero-stat-lead .accent{ color: var(--green); }
.hero-stat-foot{
  font-family: var(--f-serif);
  font-style: italic;
  color: var(--slate-500);
  font-size: 15px;
  margin-top: 20px;
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

/* Problem vs Alternative comparison */
.compare-band{
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--white);
}
.compare-head{
  text-align: center;
  max-width: 800px;
  margin: 0 auto 72px;
}
.compare-head h2{
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--navy-900);
  margin-bottom: 20px;
}
.compare-head h2 .light{
  color: var(--slate-500);
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
}
.compare-head p{ color: var(--ink-soft); font-size: 18px; margin: 0; }

.compare-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}
@media (max-width: 860px){ .compare-grid{ grid-template-columns: 1fr; } }
.compare-col{
  border: 1px solid var(--silver-200);
  padding: 40px;
  background: var(--white);
  border-radius: 4px;
}
.compare-col.smart{
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
}
.compare-col .col-label{
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-500);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.compare-col.smart .col-label{ color: var(--accent); }
.compare-col .col-label::before{
  content:""; width: 12px; height: 12px; border-radius: 50%;
  background: var(--silver-200); border: 2px solid var(--slate-500);
}
.compare-col.smart .col-label::before{
  background: var(--accent); border-color: var(--accent);
}
.compare-col h3{
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 16px 0 8px;
  color: var(--navy-900);
}
.compare-col.smart h3{ color: var(--white); }
.compare-col .col-tagline{
  font-family: var(--f-serif);
  font-style: italic;
  color: var(--slate-500);
  font-size: 18px;
  margin-bottom: 32px;
}
.compare-col.smart .col-tagline{ color: rgba(255,255,255,0.55); }
.compare-row{
  padding: 24px 0;
  border-top: 1px solid var(--silver-200);
}
.compare-col.smart .compare-row{ border-color: rgba(255,255,255,0.14); }
.compare-row:last-child{ border-bottom: 1px solid var(--silver-200); }
.compare-col.smart .compare-row:last-child{ border-bottom-color: rgba(255,255,255,0.14); }
.compare-row .row-label{
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 8px;
}
.compare-col.smart .compare-row .row-label{ color: var(--accent); }
.compare-row .row-body{
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--navy-900);
}
.compare-col.smart .row-body{ color: var(--white); }
.compare-row small{
  display: block;
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-top: 6px;
  letter-spacing: 0;
  text-transform: none;
}
.compare-col.smart .compare-row small{ color: rgba(255,255,255,0.65); }

/* Trusted-by band */
.trusted-band{
  padding: clamp(72px, 8vw, 120px) 0;
  background: var(--paper);
  border-top: 1px solid var(--silver-200);
  text-align: center;
}
.trusted-band h2{
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--navy-900);
  max-width: 24ch;
  margin: 0 auto 20px;
  text-wrap: balance;
}
.trusted-band p{
  color: var(--ink-soft);
  font-size: 18px;
  max-width: 60ch;
  margin: 0 auto 48px;
}

/* Big signature statement */
.signature-band{
  padding: clamp(100px, 12vw, 180px) 0;
  background: var(--navy-900);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.signature-band .container{ position: relative; z-index: 2; }
.signature-band .three-liner{
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(48px, 8vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  color: var(--white);
  margin: 0 auto;
  max-width: 14ch;
  text-wrap: balance;
}
.signature-band .three-liner .line{
  display: block;
}
.signature-band .three-liner .line.accent{
  color: var(--accent);
}
.signature-band .three-liner .line.serif{
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--slate-500);
}
.signature-band .signature-sub{
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  max-width: 56ch;
  margin: 40px auto 0;
  line-height: 1.55;
}

/* Wordmark watermark background for signature band */
.signature-mark{
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.03);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 26vw;
  letter-spacing: -0.05em;
  pointer-events: none;
  z-index: 1;
}

/* ============================================================
   Iteration 3 — new component patterns
============================================================ */

/* Differentiators strip (replaces the old press-strip) */
.differentiators{
  padding: 40px 0;
  background: var(--white);
  border-bottom: 1px solid var(--silver-200);
}
.diff-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 820px){ .diff-grid{ grid-template-columns: 1fr; gap: 24px; } }
.diff-cell{
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.diff-mark{
  color: var(--green);
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1;
  padding-top: 2px;
  flex-shrink: 0;
  display: inline-block;
  width: 22px;
  text-align: center;
}
.diff-head{
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 16px;
  color: var(--navy-900);
  letter-spacing: -0.005em;
  margin-bottom: 4px;
}
.diff-body{
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* Protection tools grid (inside hero-stat-band) */
.protection-head{
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px;
}
.protection-title{
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 52px);
  color: var(--navy-900);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 20px 0 20px;
}
.protection-title .light{
  color: var(--slate-500);
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
}
.protection-lede{
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}
.protection-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--silver-200);
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
}
@media (max-width: 920px){ .protection-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .protection-grid{ grid-template-columns: 1fr; } }
.protection-card{
  padding: 36px 28px;
  border-right: 1px solid var(--silver-200);
  background: var(--white);
  transition: background .18s;
}
.protection-card:last-child{ border-right: 0; }
@media (max-width: 920px){
  .protection-card:nth-child(2n){ border-right: 0; }
  .protection-card:nth-child(-n+2){ border-bottom: 1px solid var(--silver-200); }
}
@media (max-width: 560px){
  .protection-card{ border-right: 0; border-bottom: 1px solid var(--silver-200); }
  .protection-card:last-child{ border-bottom: 0; }
}
.protection-card:hover{ background: var(--paper); }
.protection-num{
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 500;
  color: var(--green);
  letter-spacing: 0.16em;
  margin-bottom: 14px;
}
.protection-name{
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 19px;
  color: var(--navy-900);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  line-height: 1.2;
}
.protection-body{
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}
.protection-foot{
  margin-top: 40px;
  background: var(--navy-900);
  color: var(--white);
  padding: 32px 40px;
  border-radius: 4px;
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 28px;
  align-items: center;
}
@media (max-width: 780px){
  .protection-foot{ grid-template-columns: 1fr; gap: 16px; text-align: left; }
}
.protection-foot-mark{
  width: 44px; height: 44px;
  color: var(--accent);
}
.protection-foot-mark svg{ width: 100%; height: 100%; }
.protection-foot-head{
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--white);
  margin-bottom: 6px;
}
.protection-foot-body{
  font-size: 14.5px;
  color: rgba(255,255,255,0.72);
  line-height: 1.5;
  margin: 0;
  max-width: 62ch;
}

/* Network visualization band */
.network-band{
  background: var(--paper);
  padding: clamp(80px, 10vw, 140px) 0;
  border-top: 1px solid var(--silver-200);
  border-bottom: 1px solid var(--silver-200);
  position: relative;
  overflow: hidden;
}
.network-band .signature-mark{
  color: rgba(31,46,72,0.04);
  z-index: 1;
}
.signature-mark img{
  height: 88%;
  width: auto;
  opacity: 0.05;
}
.network-band .container{ position: relative; z-index: 2; }
.network-head{
  text-align: center;
  max-width: 780px;
  margin: 0 auto 60px;
}
.network-head .three-liner{
  color: var(--navy-900);
  font-size: clamp(40px, 6vw, 84px);
  line-height: 0.98;
}
.network-head .three-liner .serif{
  color: var(--slate-500);
}
.network-head .three-liner .accent{
  color: var(--green);
}
.network-head .signature-sub{
  color: var(--ink-soft);
  margin-top: 32px;
  font-size: 17px;
}

.network-viz{
  margin: 0 -20px;
}
.network-svg{
  width: 100%;
  height: auto;
  display: block;
  background: transparent;
}

.network-callouts{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
  padding: 0 20px;
}
@media (max-width: 820px){ .network-callouts{ grid-template-columns: 1fr; } }
.network-callout{
  background: var(--white);
  border: 1px solid var(--silver-200);
  padding: 24px 24px 20px;
  border-radius: 4px;
  position: relative;
}
.network-callout::before{
  content:"";
  position: absolute;
  left: 24px; right: 24px; top: 0;
  height: 2px;
  background: var(--green);
}
.callout-num{
  font-family: var(--f-display);
  font-size: 12px;
  color: var(--green);
  letter-spacing: 0.16em;
  font-weight: 500;
  margin-bottom: 10px;
}
.callout-head{
  font-family: var(--f-display);
  font-size: 18px;
  color: var(--navy-900);
  font-weight: 500;
  letter-spacing: -0.005em;
  margin-bottom: 8px;
  line-height: 1.25;
}
.network-callout p{
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
}

/* ============================================================
   Legal pages (privacy / terms / disclosures)
============================================================ */
.legal-page{
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(72px, 8vw, 120px);
}
.legal-container{
  max-width: 780px;
}
.legal-page h2{
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 28px);
  color: var(--navy-900);
  letter-spacing: -0.01em;
  margin: 56px 0 16px;
  padding-top: 32px;
  border-top: 1px solid var(--silver-200);
}
.legal-page h2:first-of-type{
  margin-top: 40px;
}
.legal-page p{
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  margin: 0 0 18px;
  text-wrap: pretty;
}
.legal-page ul{
  margin: 0 0 20px;
  padding: 0 0 0 20px;
  color: var(--ink);
}
.legal-page li{
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 10px;
}
.legal-page li::marker{ color: var(--slate-500); }
.legal-page strong{ color: var(--navy-900); font-weight: 600; }
.legal-page a{ color: var(--green); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.legal-page a:hover{ color: var(--green-dim); }
.legal-page .legal-intro{
  font-size: 18px;
  line-height: 1.6;
  color: var(--steel-700);
  padding: 24px 28px;
  background: var(--paper);
  border-left: 3px solid var(--green);
  margin-bottom: 32px;
}
.legal-page .legal-address{
  font-style: normal;
  font-size: 15px;
  line-height: 1.7;
  padding: 20px 24px;
  background: var(--paper);
  border: 1px solid var(--silver-200);
  border-radius: 2px;
  color: var(--ink);
  margin-top: 12px;
}

/* About — team history timeline */
.history-list{
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
@media (max-width: 820px){ .history-list{ grid-template-columns: 1fr; } }
.history-list li{ border-top: 2px solid var(--navy-900); padding-top: 24px; }
.history-list li.is-now{ border-top-color: var(--green); }
.history-year{
  font-family: var(--f-display); font-size: 28px; font-weight: 500;
  color: var(--navy-900); letter-spacing: -0.02em;
}
.history-head{
  font-family: var(--f-display); font-size: 18px; font-weight: 500;
  color: var(--navy-900); margin: 10px 0 8px; line-height: 1.25;
}
.history-list p{ color: var(--ink-soft); font-size: 15px; line-height: 1.55; margin: 0; }

/* Service detail pages — shared pieces */
.benefits-row{ display: grid; grid-template-columns: auto 1fr; gap: 60px; align-items: start; }
@media (max-width: 760px){ .benefits-row{ grid-template-columns: 1fr; gap: 20px; } }
.benefit-list{
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px;
}
.benefit-list li{ padding: 12px 0; border-top: 1px solid var(--silver-200); font-size: 15px; color: var(--navy-900); }
/* bottom rule on the last row only, so it breaks at the column gap like the others */
.benefit-list li:nth-last-child(-n+2):nth-child(odd),
.benefit-list li:last-child{ border-bottom: 1px solid var(--silver-200); }
@media (max-width: 760px){
  .benefit-list{ grid-template-columns: 1fr; }
  .benefit-list li:nth-last-child(-n+2):nth-child(odd){ border-bottom: 0; }
  .benefit-list li:last-child{ border-bottom: 1px solid var(--silver-200); }
}
.dark-grid{
  display: grid; gap: 1px;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.14);
}
.dark-grid-3{ grid-template-columns: repeat(3, 1fr); }
.dark-grid-4{ grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px){ .dark-grid-3, .dark-grid-4{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .dark-grid-3, .dark-grid-4{ grid-template-columns: 1fr; } }
.dark-cell{ padding: 28px 24px; background: var(--navy-900); }
.dark-num{ font-family: var(--f-display); font-size: 13px; letter-spacing: 0.16em; color: var(--accent); font-weight: 500; }
.dark-cell h3{ color: var(--white); font-family: var(--f-display); font-size: 20px; margin: 10px 0 6px; font-weight: 500; }
.dark-cell p{ color: rgba(255,255,255,0.65); font-size: 14px; margin: 0; line-height: 1.5; }

/* Service page compliance notes */
.svc-note{
  margin: 40px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--silver-200);
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 80ch;
}
.svc-note a{ color: var(--green); text-decoration: underline; text-underline-offset: 3px; }

/* -------- animations -------- */
@media (prefers-reduced-motion: no-preference){
  .fade-up{
    animation: fadeUp .8s cubic-bezier(.2,.7,.2,1) both;
  }
  @keyframes fadeUp{
    from{ opacity:0; transform: translateY(16px); }
    to{ opacity:1; transform: none; }
  }
  .fade-in{ animation: fadeIn .8s ease both; }
  @keyframes fadeIn{ from{opacity:0} to{opacity:1} }
}
