/* ═══════════════════════════════════════════════════════════════════
   AI ASSIST, INC. · Corporate Design System
   Brand: Midnight Navy / Helm Teal / Helm Ink / Lift
   Type: Public Sans (reading) + IBM Plex Mono (evidence)
   Matches the AiF&I and Argus 360 site architecture. Parent accent only.
   ═══════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Public+Sans:wght@300;400;500;600;700;800;900&family=IBM+Plex+Mono:wght@400;500;600;700&display=swap');

:root {
  /* Brand core */
  --navy-900: #0B1D3A;       /* Midnight Navy · family anchor */
  --navy-800: #102849;
  --navy-700: #15355d;
  --navy-600: #1B4682;

  /* Parent signature */
  --teal:     #1FB8A6;       /* Helm Teal · graphic color, reserved for the parent */
  --teal-600: #18A090;
  --teal-ink: #0E7264;       /* Helm Ink · AA-safe teal for text on white */
  --lift:     #E4F7F4;       /* Lift · light surface */
  --lift-200: #C9EFE9;

  --white:    #FFFFFF;

  /* Family neutrals */
  --g-50:  #F7F9FC;
  --g-100: #EEF2F7;
  --g-200: #DDE3EC;
  --g-300: #C2CCD9;
  --g-400: #94A2B5;
  --g-500: #6B7891;
  --g-600: #495267;
  --g-700: #2F3849;
  --g-800: #1F2937;          /* Graphite · body copy */
  --g-900: #0F1420;

  /* Semantic (UI feedback only) */
  --success: #10B981;
  --danger:  #B91C1C;

  /* Surfaces */
  --bg:      #FFFFFF;
  --bg-soft: #FAFBFD;
  --bg-tint: #F4F7FB;

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-2xl: 28px;

  /* Shadows */
  --sh-1: 0 1px 2px rgba(11,29,58,0.06), 0 1px 3px rgba(11,29,58,0.04);
  --sh-2: 0 4px 12px rgba(11,29,58,0.08), 0 2px 4px rgba(11,29,58,0.05);
  --sh-3: 0 12px 32px rgba(11,29,58,0.12), 0 4px 8px rgba(11,29,58,0.06);
  --sh-4: 0 28px 64px rgba(11,29,58,0.18), 0 12px 24px rgba(11,29,58,0.08);

  /* Type scale */
  --fs-xs:12px; --fs-sm:14px; --fs-md:16px; --fs-lg:18px; --fs-xl:20px;
  --fs-2xl:24px; --fs-3xl:30px; --fs-4xl:38px; --fs-5xl:48px; --fs-6xl:60px; --fs-7xl:76px;

  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  /* Layout */
  --max-w: 1200px;
  --max-w-narrow: 920px;
  --nav-h: 72px;
}

/* ─────── Reset ─────── */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: var(--fs-md);
  line-height: 1.55;
  color: var(--g-800);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; }
a { color: var(--teal-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
.mono { font-family: var(--mono); }

/* Layout helpers */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: var(--max-w-narrow); margin: 0 auto; padding: 0 24px; }
.section { padding: 112px 0; }
.section-sm { padding: 64px 0; }
.section-tint { background: var(--bg-tint); }
.section-lift { background: var(--lift); }

/* Type */
h1, h2, h3, h4 { color: var(--navy-900); margin: 0; letter-spacing: -0.02em; line-height: 1.1; font-weight: 800; }
h1 { font-size: clamp(40px, 6vw, var(--fs-7xl)); letter-spacing: -0.035em; line-height: 1.04; }
h2 { font-size: clamp(30px, 4.2vw, var(--fs-5xl)); letter-spacing: -0.028em; line-height: 1.08; }
h3 { font-size: clamp(22px, 2.4vw, var(--fs-3xl)); letter-spacing: -0.022em; line-height: 1.18; }
h4 { font-size: var(--fs-xl); font-weight: 700; }
p  { margin: 0 0 14px; }
.lede { font-size: var(--fs-xl); line-height: 1.55; color: var(--g-600); font-weight: 400; }

/* The parent signature pairing: ExtraBold + Light in one line */
.pair-strong { font-weight: 800; }
.pair-light  { font-weight: 300; }

/* The Lift Rule · the smallest unit of the brand. Sits above the heading. */
.lift-rule { width: 34px; height: 3px; background: var(--teal); border-radius: 2px; margin-bottom: 18px; }
.lift-rule.center { margin-left: auto; margin-right: auto; }

/* Kicker · numbered, editorial, sized to be read rather than decoded */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 16px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.11em;
  color: var(--navy-900);
}
.eyebrow i {
  font-style: normal; font-family: var(--mono); font-weight: 700;
  font-size: 13.5px; line-height: 1; color: var(--teal-ink);
  background: var(--lift); border: 1px solid rgba(31,184,166,0.4);
  padding: 6px 9px 5px; border-radius: 7px;
  font-feature-settings: 'tnum';
}
.eyebrow::after {
  content: ""; height: 2px; width: 0; background: var(--teal);
  border-radius: 2px; transition: width 0.7s cubic-bezier(0.22,1,0.36,1) 0.15s;
}
.visible .eyebrow::after, .eyebrow.visible::after { width: 42px; }
@media (prefers-reduced-motion: reduce) { .eyebrow::after { width: 42px; transition: none; } }
.text-center { text-align: center; }

/* Evidence figures */
.figure { font-family: var(--mono); font-feature-settings: 'tnum'; }

/* Buttons · teal carries navy text (AA), navy carries white */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px;
  font-size: 15px; font-weight: 600; letter-spacing: -0.005em;
  border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: all 0.15s ease; text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--teal); color: var(--navy-900); box-shadow: 0 1px 0 rgba(0,0,0,0.05); }
.btn-primary:hover { background: #22CDB9; color: var(--navy-900); text-decoration: none; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(31,184,166,0.35); }
.btn-navy { background: var(--navy-900); color: var(--white); }
.btn-navy:hover { background: var(--navy-800); color: var(--white); text-decoration: none; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy-900); border-color: var(--g-200); }
.btn-ghost:hover { border-color: var(--navy-900); color: var(--navy-900); text-decoration: none; }
.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.25); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.08); color: var(--white); text-decoration: none; }
.btn-text { background: transparent; color: var(--navy-900); padding: 0 12px; height: 38px; }
.btn-text:hover { color: var(--teal-ink); text-decoration: none; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 16px; }

/* ─────── HEADER (light, consistent on every page, matches siblings) ─────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.85);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
          backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(11,29,58,0.06);
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.94);
  box-shadow: 0 1px 0 rgba(11,29,58,0.04), 0 8px 24px rgba(11,29,58,0.06);
  border-bottom-color: rgba(11,29,58,0.08);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; width: 100%; }

/* Ascent Mark lockup */
.brand-link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; height: 44px; }
.brand-link:hover { text-decoration: none; }
.brand-link .mark { width: 30px; height: 30px; flex-shrink: 0; }
.brand-link .word { font-size: 21px; letter-spacing: -0.01em; color: var(--navy-900); line-height: 1; }
.brand-link .word b { font-weight: 800; }
.brand-link .word span { font-weight: 300; }

.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a {
  color: var(--g-700);
  font-size: 14.5px; font-weight: 500;
  padding: 8px 14px; border-radius: var(--r-md);
  transition: all 0.15s ease;
  position: relative;
}
.site-nav a:hover { color: var(--navy-900); background: rgba(11,29,58,0.04); text-decoration: none; }
.site-nav a.active { color: var(--navy-900); background: transparent; }
.site-nav a.active::after {
  content: ""; display: block; height: 2px; width: 22px;
  background: var(--teal); margin: 4px auto -10px;
  border-radius: 2px;
}

.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn-text { color: var(--g-700); }
.header-cta .btn-text:hover { color: var(--navy-900); }
.header-cta .btn-primary { height: 38px; font-size: 14px; padding: 0 18px; }

.nav-toggle {
  display: none; background: transparent; border: 0; padding: 8px;
  color: var(--navy-900); cursor: pointer; border-radius: 8px;
}
.nav-toggle:hover { background: rgba(11,29,58,0.06); }

@media (max-width: 960px) {
  .site-nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.menu-open + .mobile-menu { display: flex; }
}
.mobile-menu {
  display: none;
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--white); padding: 16px 24px 24px;
  border-bottom: 1px solid var(--g-100);
  box-shadow: 0 12px 24px rgba(11,29,58,0.08);
  flex-direction: column; gap: 4px;
  z-index: 99;
}
.mobile-menu a { color: var(--g-700); font-weight: 500; padding: 12px 14px; border-radius: var(--r-md); }
.mobile-menu a:hover { background: rgba(11,29,58,0.04); color: var(--navy-900); text-decoration: none; }
.mobile-menu .btn { margin-top: 8px; height: 44px; }

/* ─────── HERO (light, airy · matches sibling motion language, parent colors) ─────── */
.hero {
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFBFD 65%, #F0FAF8 100%);
  padding: 96px 0 88px;
  overflow: hidden;
}
.hero .wrap { position: relative; z-index: 2; }

.hero-motion { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.hero-motion::before {
  content: ""; position: absolute; inset: -10%;
  background-image: radial-gradient(circle, rgba(11,29,58,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
  opacity: 0.5;
  animation: grid-drift 60s linear infinite;
}
.hero-motion .orb { position: absolute; border-radius: 50%; filter: blur(70px); will-change: transform, opacity; }
.hero-motion .orb-teal {
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(31,184,166,0.55) 0%, rgba(31,184,166,0) 70%);
  top: -18%; left: -10%;
  animation: drift-a 18s linear infinite, breathe-a 11s ease-in-out infinite;
}
.hero-motion .orb-navy {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(27,70,130,0.55) 0%, rgba(27,70,130,0) 70%);
  top: 30%; left: 42%;
  animation: drift-b 22s linear infinite -7s, breathe-b 13s ease-in-out infinite -3s;
}
.hero-motion .orb-teal-2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(31,184,166,0.42) 0%, rgba(31,184,166,0) 70%);
  bottom: -14%; right: -6%;
  animation: drift-c 20s linear infinite -4s, breathe-a 14s ease-in-out infinite -8s;
}
.hero-motion .orb-deep {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(11,29,58,0.35) 0%, rgba(11,29,58,0) 70%);
  top: 4%; right: 18%;
  animation: drift-d 16s linear infinite -9s, breathe-b 10s ease-in-out infinite -5s;
}
@keyframes drift-a { 0%{transform:translate(0,0)} 25%{transform:translate(280px,140px)} 50%{transform:translate(180px,320px)} 75%{transform:translate(-120px,200px)} 100%{transform:translate(0,0)} }
@keyframes drift-b { 0%{transform:translate(0,0)} 25%{transform:translate(-300px,-160px)} 50%{transform:translate(-420px,80px)} 75%{transform:translate(-160px,240px)} 100%{transform:translate(0,0)} }
@keyframes drift-c { 0%{transform:translate(0,0)} 25%{transform:translate(-260px,-140px)} 50%{transform:translate(-380px,-320px)} 75%{transform:translate(-140px,-200px)} 100%{transform:translate(0,0)} }
@keyframes drift-d { 0%{transform:translate(0,0)} 25%{transform:translate(-220px,180px)} 50%{transform:translate(80px,300px)} 75%{transform:translate(240px,120px)} 100%{transform:translate(0,0)} }
@keyframes breathe-a { 0%,100%{opacity:0.6} 50%{opacity:0.85} }
@keyframes breathe-b { 0%,100%{opacity:0.45} 50%{opacity:0.7} }
@keyframes grid-drift { from{transform:translate(0,0)} to{transform:translate(28px,28px)} }
@media (prefers-reduced-motion: reduce) {
  .hero-motion .orb, .hero-motion::before, .ascent-hero .lift-chevron, .ascent-hero .pilot-dot { animation: none !important; }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: center;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 8px;
  background: var(--white);
  border: 1px solid var(--g-100);
  border-radius: 999px;
  font-size: 12.5px; font-weight: 600;
  color: var(--g-700);
  margin-bottom: 24px;
  box-shadow: 0 1px 2px rgba(11,29,58,0.04);
}
.hero-eyebrow .pulse {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  background: rgba(31,184,166,0.14); border-radius: 50%;
}
.hero-eyebrow .pulse::before {
  content: ""; width: 8px; height: 8px;
  background: var(--teal); border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(31,184,166,0.55);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100%{box-shadow:0 0 0 0 rgba(31,184,166,0.55)} 50%{box-shadow:0 0 0 6px rgba(31,184,166,0)} }

.hero h1 { color: var(--navy-900); margin-bottom: 22px; }
.hero .lede { max-width: 560px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-cta .btn { height: 52px; font-size: 15.5px; padding: 0 26px; }

/* The Ascent Mark hero visual · the signature moment of the parent site */
.ascent-hero { position: relative; display: grid; place-items: center; padding: 24px 0; }
.ascent-hero svg { width: min(360px, 78%); height: auto; overflow: visible; }
.ascent-hero .lift-chevron { animation: lift-rise 4.5s ease-in-out infinite; transform-origin: 50% 60%; }
.ascent-hero .pilot-dot { animation: pilot-rise 4.5s ease-in-out infinite; }
@keyframes lift-rise { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
@keyframes pilot-rise { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-11px)} }
.ascent-note {
  position: absolute; font-size: 12px; font-weight: 600; color: var(--g-500);
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
}
.ascent-note::before { content: ""; width: 22px; height: 1px; background: var(--g-300); }
.ascent-note.right::before { order: 2; }
@media (max-width: 640px) { .ascent-note { display: none; } }

/* ─────── Section header pattern ─────── */
.sec-head { max-width: 760px; margin-bottom: 56px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { margin-bottom: 16px; }
.sec-head .sub { font-size: var(--fs-lg); color: var(--g-600); line-height: 1.6; }

/* ─────── Cards ─────── */
.card {
  background: var(--white);
  border: 1px solid var(--g-100);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-1);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
a.card { display: block; color: inherit; }
a.card:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--sh-3); border-color: var(--g-200); }

/* Principle cards */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 980px) { .principles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .principles { grid-template-columns: 1fr; } }
.principle { padding: 30px 26px; }
.principle .num { font-family: var(--mono); font-weight: 600; font-size: 13px; color: var(--teal-ink); letter-spacing: 0.08em; }
.principle h4 { margin: 12px 0 10px; font-size: 18px; }
.principle p { font-size: 14.5px; color: var(--g-600); line-height: 1.6; margin: 0; }

/* Portfolio product cards · exhibits shown in their own colors */
.product-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 900px) { .product-cards { grid-template-columns: 1fr; } }
.product-card { overflow: hidden; }
.product-card .visual { height: 220px; display: grid; place-items: center; position: relative; overflow: hidden; }
.product-card .visual svg.wordmark { width: 62%; max-width: 320px; height: auto; position: relative; z-index: 2; }
.product-card .body { padding: 30px; }
.product-card .oneline { font-weight: 700; color: var(--navy-900); font-size: 17px; margin-bottom: 10px; }
.product-card .desc { font-size: 15px; color: var(--g-600); line-height: 1.65; margin-bottom: 18px; }
.product-card .accents { display: flex; gap: 10px; align-items: center; margin-bottom: 18px; }
.product-card .swatch { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; color: var(--g-500); }
.product-card .swatch i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.product-card .go { font-weight: 700; color: var(--teal-ink); font-size: 14.5px; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.team-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1020px) { .team-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .team-grid, .team-grid.cols-4 { grid-template-columns: 1fr; } }
.person { padding: 26px; }
.person .photo {
  width: 100%; aspect-ratio: 1/1; border-radius: var(--r-lg);
  object-fit: cover; margin-bottom: 18px; background: var(--g-100);
}
.person .initials {
  width: 100%; aspect-ratio: 1/1; border-radius: var(--r-lg);
  display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: var(--white); font-weight: 800; font-size: clamp(40px, 6vw, 64px); letter-spacing: 0.02em;
}
.person h4 { font-size: 19px; margin-bottom: 4px; }
.person .role { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--teal-ink); margin-bottom: 12px; }
.person p { font-size: 14.5px; color: var(--g-600); line-height: 1.65; margin: 0; }
.person.lead { display: grid; grid-template-columns: 200px 1fr; gap: 26px; align-items: start; padding: 30px; }
.person.lead .photo, .person.lead .initials { margin-bottom: 0; }
@media (max-width: 700px) { .person.lead { grid-template-columns: 1fr; } .person.lead .photo { max-width: 220px; } }

/* Resource cards */
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 980px) { .res-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .res-grid { grid-template-columns: 1fr; } }
.res-card { overflow: hidden; display: flex; flex-direction: column; }
.res-card .thumb { height: 150px; position: relative; display: flex; align-items: flex-end; padding: 18px; overflow: hidden; }
.res-card .thumb .tag {
  position: relative; z-index: 2;
  font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  color: var(--white); background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.22);
  padding: 4px 10px; border-radius: 999px;
}
.res-card .body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.res-card h4 { font-size: 17.5px; line-height: 1.3; margin-bottom: 10px; }
.res-card p { font-size: 14px; color: var(--g-600); line-height: 1.62; margin: 0 0 16px; flex: 1; }
.res-card .go { font-weight: 700; color: var(--teal-ink); font-size: 14px; }
.res-card .src { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--g-400); margin-bottom: 8px; }

/* Ascent motif · corner-anchored chevron echoes on navy surfaces */
.ascent-echo { position: absolute; pointer-events: none; opacity: 0.08; }
.ascent-echo path { stroke: var(--white); }
.ascent-echo.teal path { stroke: var(--teal); }

/* Navy band / CTA */
.navy-band {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: var(--white);
  border-radius: var(--r-2xl);
  padding: 72px 56px;
}
.navy-band h2 { color: var(--white); }
.navy-band .lede { color: rgba(255,255,255,0.78); }
@media (max-width: 640px) { .navy-band { padding: 48px 28px; } }

/* Stats · evidence set in Plex Mono, one source line each */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .stat-row { grid-template-columns: 1fr; } }
.stat-card { padding: 30px 28px; }
.stat-card .val { font-family: var(--mono); font-weight: 700; font-size: clamp(30px, 3.4vw, 42px); color: var(--navy-900); line-height: 1.05; }
.stat-card .val .accent { color: var(--teal-ink); }
.stat-card .lbl { font-weight: 700; color: var(--navy-900); font-size: 15px; margin: 12px 0 8px; }
.stat-card .src { font-size: 12.5px; color: var(--g-500); line-height: 1.55; }

/* Callout */
.callout {
  background: var(--lift); border-left: 3px solid var(--teal);
  border-radius: var(--r-md); padding: 22px 26px;
  font-size: 15px; color: var(--g-700); line-height: 1.65;
}

/* Prose blocks */
.prose { max-width: 720px; }
.prose p { font-size: 17px; line-height: 1.75; color: var(--g-700); margin-bottom: 22px; }
.prose p strong { color: var(--navy-900); }

/* ─────── Forms (matches sibling pattern) ─────── */
.form-shell { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
@media (max-width: 880px) { .form-shell { grid-template-columns: 1fr; gap: 32px; } }
.form-side h2 { margin-bottom: 16px; }
.form-side .lede { font-size: 16.5px; }
.form-side .meta { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--g-200); }
.form-side .meta .row { display: flex; gap: 14px; margin-bottom: 12px; font-size: 14px; }
.form-side .meta .row .lbl { color: var(--g-500); font-weight: 600; width: 90px; flex-shrink: 0; }
.form-side .meta .row .val, .form-side .meta .row a { color: var(--navy-900); font-weight: 600; }
.form-side .meta .row a { color: var(--teal-ink); }

.contact-card { background: var(--white); border: 1px solid var(--g-100); border-radius: var(--r-xl); padding: 34px; box-shadow: var(--sh-2); }
.form-row { margin-bottom: 18px; }
.form-row.split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
@media (max-width: 540px) { .form-row.split { grid-template-columns: 1fr; } }
.form-row label { display: block; font-size: 11.5px; font-weight: 700; color: var(--g-500); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 12px 14px; font-size: 14.5px; font-family: inherit;
  background: var(--white); border: 1px solid var(--g-200); border-radius: var(--r-md);
  color: var(--navy-900); transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(31,184,166,0.18);
}
.form-row textarea { resize: vertical; min-height: 120px; }
.submit-row { margin-top: 22px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.submit-row .legal { font-size: 12px; color: var(--g-400); max-width: 320px; line-height: 1.5; }

/* ─────── FOOTER (matches siblings, navy) ─────── */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.75); padding: 72px 0 36px; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; position: relative; z-index: 2; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .lockup { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand .lockup .word { font-size: 22px; color: var(--white); }
.footer-brand .lockup .word b { font-weight: 800; }
.footer-brand .lockup .word span { font-weight: 300; }
.footer-brand p { font-size: 14px; line-height: 1.65; max-width: 320px; color: rgba(255,255,255,0.65); }
.footer-email { color: var(--teal); font-weight: 600; font-size: 14px; }
.footer-email:hover { color: #4BD6C7; }
.footer-col h5 { color: var(--white); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; margin: 0 0 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.65); font-size: 14px; }
.footer-col a:hover { color: var(--white); text-decoration: none; }
.footer-base {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px; color: rgba(255,255,255,0.5); position: relative; z-index: 2;
}
.footer-disclosure { margin-top: 18px; font-size: 11.5px; line-height: 1.6; color: rgba(255,255,255,0.4); position: relative; z-index: 2; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.5); }

/* Fade-in on scroll */
.fade-in { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .fade-in { opacity: 1; transform: none; transition: none; } }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid rgba(31,184,166,0.55); outline-offset: 2px;
}

/* Page hero (interior pages) */
.page-hero { position: relative; background: linear-gradient(180deg, #FFFFFF 0%, #F4F7FB 100%); padding: 84px 0 64px; overflow: hidden; }
.page-hero h1 { font-size: clamp(36px, 5vw, 60px); margin-bottom: 18px; }
.page-hero .lede { max-width: 680px; }

/* Deep-profile screenshot frame */
.shot-frame {
  border-radius: var(--r-2xl); background: var(--white); overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(11,29,58,0.22), 0 18px 36px -18px rgba(11,29,58,0.14), 0 0 0 1px rgba(11,29,58,0.05);
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 940px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.split .txt h3 { margin-bottom: 14px; }
.split .txt p { font-size: 15.5px; color: var(--g-600); line-height: 1.7; }
.feature-list { list-style: none; margin: 18px 0 0; padding: 0; }
.feature-list li { display: flex; gap: 12px; margin-bottom: 12px; font-size: 15px; color: var(--g-700); line-height: 1.55; }
.feature-list li::before { content: ""; flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; margin-top: 7px; background: var(--teal); }
.feature-list.aif li::before { background: #E63946; }
.feature-list.arg li::before { background: #D89B2C; }

/* ════════════════ v2 · VISUAL ENHANCEMENT LAYER ════════════════ */

/* Dot-grid ornament patches */
.dots {
  position: absolute; pointer-events: none; z-index: 0;
  background-image: radial-gradient(rgba(11,29,58,0.14) 1.2px, transparent 1.2px);
  background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 30%, transparent 100%);
}
.dots-light {
  background-image: radial-gradient(rgba(255,255,255,0.22) 1.2px, transparent 1.2px);
}

/* ─────── Hero product stage: both interfaces, layered ─────── */
.hero-stage {
  position: relative; z-index: 1;
  height: clamp(420px, 44vw, 600px);
  perspective: 1400px;
}
.hero-stage .stage-chevron {
  position: absolute; inset: -6% -10% auto auto; width: 78%; opacity: 0.10; z-index: 0;
}
.screen-card {
  position: absolute; background: var(--white);
  border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(11,29,58,0.10);
  box-shadow: 0 2px 6px rgba(11,29,58,0.06), 0 24px 60px -18px rgba(11,29,58,0.35);
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s ease;
  will-change: transform;
}
.hero-stage.on .screen-card { opacity: 1; transform: translateY(0); }
.hero-stage.on .sc-argus { transition-delay: 0.22s; }
.screen-card .chrome {
  height: 32px; display: flex; align-items: center; gap: 6px;
  padding: 0 12px; background: linear-gradient(#FAFBFD, #F0F3F8);
  border-bottom: 1px solid rgba(11,29,58,0.08);
}
.screen-card .chrome i { width: 8px; height: 8px; border-radius: 50%; background: rgba(11,29,58,0.14); }
.screen-card .chrome .url {
  margin-left: 8px; flex: 1; max-width: 260px; height: 18px; border-radius: 9px;
  background: rgba(11,29,58,0.05); border: 1px solid rgba(11,29,58,0.06);
  font-family: var(--mono); font-size: 10px; color: var(--g-500);
  display: flex; align-items: center; padding: 0 10px; overflow: hidden; white-space: nowrap;
}
.screen-card img { display: block; width: 100%; height: auto; }
.screen-card .tab {
  position: absolute; top: 44px; left: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--white); background: rgba(11,29,58,0.82);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: 6px 11px; border-radius: 999px;
}
.screen-card .tab i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.sc-aifandi { width: 76%; left: 0; top: 3%; z-index: 2; }
.sc-argus   { width: 64%; right: 0; bottom: 4%; z-index: 3; }
@media (min-width: 981px) {
  .hero-stage.on .sc-aifandi { animation: floatA 9s ease-in-out 1.2s infinite; }
  .hero-stage.on .sc-argus   { animation: floatB 11s ease-in-out 1.4s infinite; }
}
@keyframes floatA { 0%,100% { transform: translateY(0) rotate(-1.2deg); } 50% { transform: translateY(-12px) rotate(-1.2deg); } }
@keyframes floatB { 0%,100% { transform: translateY(0) rotate(1.1deg); }  50% { transform: translateY(-9px)  rotate(1.1deg); } }
@media (max-width: 980px) {
  .hero-stage { height: auto; margin-top: 34px; }
  .screen-card { position: relative; opacity: 1; transform: none; }
  .sc-aifandi { width: 94%; }
  .sc-argus { width: 86%; margin: -34px 0 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .screen-card { opacity: 1 !important; transform: none !important; animation: none !important; transition: none; }
}

/* ─────── Marquee band ─────── */
.marquee-band {
  background: var(--navy-900); color: var(--white);
  overflow: hidden; padding: 17px 0; position: relative;
}
.marquee-band::before, .marquee-band::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none;
}
.marquee-band::before { left: 0; background: linear-gradient(90deg, var(--navy-900), transparent); }
.marquee-band::after { right: 0; background: linear-gradient(-90deg, var(--navy-900), transparent); }
.marquee-track {
  display: flex; gap: 0; width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee-band:hover .marquee-track { animation-play-state: paused; }
.marquee-track .mq {
  display: inline-flex; align-items: center; gap: 26px; padding-right: 26px;
  font-family: var(--mono); font-size: 13.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.85); white-space: nowrap;
}
.marquee-track .mq svg { width: 13px; height: 13px; flex-shrink: 0; opacity: 0.9; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ─────── Card motion: lift + accent line ─────── */
.card { position: relative; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-ink));
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 4px 10px rgba(11,29,58,0.05), 0 22px 44px -16px rgba(11,29,58,0.18); }
.card:hover::before { transform: scaleX(1); }
.card.no-line::before { display: none; }
@media (prefers-reduced-motion: reduce) { .card, .card::before { transition: none; } .card:hover { transform: none; } }

/* Arrow links nudge */
a .arr, .btn .arr { display: inline-block; transition: transform 0.2s ease; }
a:hover .arr, .btn:hover .arr { transform: translateX(4px); }

/* Counter figures */
.stat-card .val { transition: color 0.3s ease; }

/* ─────── Resources · document objects & tool frames ─────── */
.res-hero-strip { position: relative; }
.doc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 900px) { .doc-grid { grid-template-columns: 1fr; } }
.doc-card { display: grid; grid-template-columns: 240px 1fr; overflow: hidden; }
@media (max-width: 640px) { .doc-card { grid-template-columns: 1fr; } }
.doc-shelf {
  position: relative; display: flex; align-items: center; justify-content: center;
  padding: 30px 10px 30px 26px; overflow: hidden;
  background:
    radial-gradient(120% 120% at 10% 0%, rgba(31,184,166,0.16), transparent 55%),
    linear-gradient(160deg, var(--navy-800), var(--navy-900));
}
.doc-shelf .dots { inset: auto -20px -30px auto; width: 150px; height: 150px; }
.doc-shelf img.paper {
  width: 82%; max-width: 190px; border-radius: 4px; position: relative; z-index: 1;
  box-shadow: 0 3px 8px rgba(0,0,0,0.35), 0 22px 40px -12px rgba(0,0,0,0.55), -8px 0 22px -10px rgba(0,0,0,0.5);
  transform: rotate(-3deg) translateY(2px);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.doc-card:hover .doc-shelf img.paper { transform: rotate(-0.5deg) translateY(-4px) scale(1.02); }
.doc-body { padding: 26px 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.doc-body .meta { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--g-500); }
.doc-body .meta .dot-acc { width: 8px; height: 8px; border-radius: 50%; }
.doc-body h3 { font-size: 21px; }
.doc-body p { font-size: 14.5px; color: var(--g-600); line-height: 1.62; margin: 0; }
.doc-body .go { margin-top: auto; padding-top: 8px; font-weight: 700; font-size: 14.5px; color: var(--teal-ink); }

.tool-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 900px) { .tool-grid { grid-template-columns: 1fr; } }
.tool-card { overflow: hidden; display: flex; flex-direction: column; }
.tool-thumb { position: relative; border-bottom: 1px solid var(--g-200); background: var(--g-100); }
.tool-thumb .chrome {
  height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px;
  background: linear-gradient(#FAFBFD, #F0F3F8); border-bottom: 1px solid rgba(11,29,58,0.08);
}
.tool-thumb .chrome i { width: 8px; height: 8px; border-radius: 50%; background: rgba(11,29,58,0.14); }
.tool-thumb .chrome .url {
  margin-left: 8px; height: 17px; border-radius: 9px; background: rgba(11,29,58,0.05);
  border: 1px solid rgba(11,29,58,0.06); font-family: var(--mono); font-size: 10px; color: var(--g-500);
  display: flex; align-items: center; padding: 0 10px; white-space: nowrap; overflow: hidden;
}
.tool-thumb .shot { height: 215px; overflow: hidden; }
.tool-thumb .shot img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transform: scale(1.01); transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.tool-card:hover .tool-thumb .shot img { transform: scale(1.05) translateY(-6px); }
.tool-body { padding: 22px 26px 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; flex: 1; }
.tool-body .meta { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--g-500); display: inline-flex; gap: 8px; align-items: center; }
.tool-body .meta .dot-acc { width: 8px; height: 8px; border-radius: 50%; }
.tool-body h3 { font-size: 20px; }
.tool-body p { font-size: 14.5px; color: var(--g-600); line-height: 1.6; margin: 0; }
.tool-body .go { margin-top: auto; padding-top: 10px; font-weight: 700; font-size: 14.5px; color: var(--teal-ink); }

/* Essay cards with generative covers */
.essay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px) { .essay-grid { grid-template-columns: 1fr; } }
.essay-card { overflow: hidden; display: flex; flex-direction: column; }
.essay-cover { position: relative; height: 190px; overflow: hidden; background: var(--navy-900); }
.essay-cover svg { display: block; width: 100%; height: 100%; }
.essay-cover .flag {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--white); background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  padding: 5px 10px; border-radius: 999px;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.essay-body { padding: 22px 26px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.essay-body .org { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--g-500); }
.essay-body h3 { font-size: 19px; line-height: 1.3; }
.essay-body p { font-size: 14px; color: var(--g-600); line-height: 1.62; margin: 0; }
.essay-body .soon { margin-top: auto; padding-top: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--g-500); }

/* Team grid widens to five */
.team-grid-5 { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 24px; }

/* Page-hero gains dots + orbit */
.page-hero { position: relative; overflow: hidden; }
.page-hero .dots { top: 10%; right: 4%; width: 300px; height: 220px; opacity: 0.8; }

/* CTA band ornament */
.cta-band { position: relative; overflow: hidden; }
.cta-band .dots-light { bottom: -40px; left: 6%; width: 280px; height: 200px; }

/* Reveal stagger helper (JS assigns delays) */
.fade-in { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.22,1,0.36,1); }
.fade-in.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fade-in { opacity: 1; transform: none; transition: none; } }

/* ════════════════ v3 · COLOR BLOCKS, ICONOGRAPHY, STRUCTURED PANELS ════════════════ */

/* Pull-quote color block (replaces plain callout on home) */
.pullquote {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 140% at 85% 110%, rgba(31,184,166,0.28), transparent 55%),
    linear-gradient(155deg, #10294d, var(--navy-900));
  color: var(--white); border-radius: var(--r-xl);
  padding: 42px 40px 46px;
}
.pullquote .pq-rule { width: 40px; height: 3px; background: var(--teal); border-radius: 2px; margin-bottom: 22px; }
.pullquote .pq-text { font-size: clamp(21px, 2vw, 25px); line-height: 1.42; letter-spacing: -0.015em; margin: 0 0 16px; position: relative; z-index: 1; }
.pullquote .pq-text .pair-light { color: rgba(255,255,255,0.82); }
.pullquote .pq-sub { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.6); position: relative; z-index: 1; }
.pullquote svg.pq-mark { position: absolute; right: -34px; bottom: -46px; width: 220px; opacity: 0.16; }

/* Icon chips · mono-line brand iconography */
.icon-chip {
  width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--lift); border: 1px solid rgba(31,184,166,0.38);
  color: var(--teal-ink);
}
.icon-chip svg { width: 22px; height: 22px; }
.icon-chip.on-navy { background: rgba(31,184,166,0.14); border-color: rgba(31,184,166,0.4); color: var(--teal); }
.principle { position: relative; }
.principle .icon-chip { margin-bottom: 16px; }
.principle .num {
  position: absolute; top: 22px; right: 24px;
  font-family: var(--mono); font-size: 12.5px; color: var(--g-400);
}
.stat-card { display: flex; flex-direction: column; }
.stat-card .icon-chip { margin-bottom: 18px; }

/* Family architecture diagram */
.family-arch {
  background: var(--white); border: 1px solid var(--g-200); border-radius: var(--r-xl);
  box-shadow: 0 2px 6px rgba(11,29,58,0.04), 0 18px 44px -20px rgba(11,29,58,0.14);
  padding: 40px 36px 0; max-width: 880px; margin: 0 auto; overflow: hidden;
}
.fa-parent { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.fa-parent .lockup { display: inline-flex; align-items: center; gap: 11px; }
.fa-parent .lockup .mark { width: 34px; height: 34px; }
.fa-parent .lockup .word { font-size: 25px; color: var(--navy-900); letter-spacing: -0.01em; }
.fa-parent .lockup .word b { font-weight: 800; }
.fa-parent .lockup .word span { font-weight: 300; }
.fa-parent .fa-tag { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--g-500); }
.fa-links { display: block; width: min(560px, 84%); margin: 6px auto -2px; }
.fa-links path { stroke: rgba(11,29,58,0.22); stroke-width: 1.6; fill: none; }
.fa-links circle { fill: var(--teal); }
.fa-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 640px; margin: 0 auto; }
.fa-tile {
  border: 1px solid var(--g-200); border-radius: var(--r-lg);
  background: linear-gradient(160deg, #10294d, var(--navy-900));
  padding: 26px 20px 20px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease; text-decoration: none;
}
.fa-tile:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -14px rgba(11,29,58,0.4); text-decoration: none; }
.fa-tile .sub { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.62); }
.fa-foundation {
  margin: 34px -36px 0; padding: 20px 36px;
  background: var(--lift); border-top: 1px solid rgba(31,184,166,0.3);
  display: flex; align-items: center; justify-content: center; gap: 30px; flex-wrap: wrap;
}
.fa-foundation .fl { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--teal-ink); }
.fa-foundation .fi { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 700; color: var(--navy-900); }
.fa-foundation .fi .sw { width: 14px; height: 14px; border-radius: 4px; background: var(--navy-900); display: inline-block; }
.fa-foundation .fi .aa { font-weight: 800; font-size: 15px; color: var(--navy-900); }
.fa-foundation .fi svg { width: 16px; height: 16px; color: var(--teal-ink); }
@media (max-width: 640px) {
  .family-arch { padding: 32px 22px 0; }
  .fa-row { grid-template-columns: 1fr; }
  .fa-links { display: none; }
  .fa-foundation { margin: 28px -22px 0; padding: 18px 22px; gap: 16px; }
}

/* Feedback loop panel */
.loop-band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(110% 130% at 12% -10%, rgba(31,184,166,0.2), transparent 50%),
    linear-gradient(155deg, #10294d, var(--navy-900));
  border-radius: var(--r-xl); color: var(--white);
  display: grid; grid-template-columns: 340px 1fr; gap: 44px;
  padding: 46px 48px; align-items: center;
}
@media (max-width: 900px) { .loop-band { grid-template-columns: 1fr; padding: 38px 30px; } }
.loop-fig { display: flex; align-items: center; justify-content: center; }
.loop-fig svg { width: min(300px, 100%); height: auto; }
.loop-copy h3 { color: var(--white); font-size: clamp(21px, 2.2vw, 26px); margin-bottom: 22px; }
.loop-steps { display: flex; flex-direction: column; gap: 16px; }
.loop-step { display: flex; gap: 16px; align-items: flex-start; }
.loop-step .n {
  font-family: var(--mono); font-size: 12px; color: var(--teal);
  border: 1px solid rgba(31,184,166,0.45); border-radius: 999px;
  width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.loop-step p { margin: 0; font-size: 15.5px; line-height: 1.6; color: rgba(255,255,255,0.86); }
.loop-step p strong { color: var(--white); }

/* Legal pages + accessible honeypot + linked source lines */
.legal-body h3 { font-size: 19px; margin: 30px 0 10px; color: var(--navy-900); }
.legal-body h3:first-child { margin-top: 0; }
.legal-body p { font-size: 15.5px; line-height: 1.72; color: var(--g-600); margin: 0 0 14px; }
.hp { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }
.src a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.src a:hover { color: var(--teal-ink); }

.principle .num.static { position: static; display: inline-block; margin-bottom: 12px; }
.principle[style*="grid-column"] p { max-width: 760px; }
