/* ============================================================
   Codified Counsel - shared styles
   Palette: Executive Trust
     Deep Navy   #15294A  (dominant - backgrounds, headings)
     Slate Gray  #6E7A8A  (secondary text, muted elements)
     Violet      #7C5CFF  (accent - CTAs, highlights, splash)
     Cream       #FBF9F4  (light section backgrounds)
     Charcoal    #2F343A  (body text)
     Mid-Gray    #A9B0BA  (borders, dividers)
   ============================================================ */

:root {
  --ink: #15294A;          /* deep navy */
  --ink-2: #1d3354;        /* lighter navy for gradient depth */
  --charcoal: #2F343A;     /* body text */
  --slate: #6E7A8A;        /* secondary text */
  --mid-gray: #A9B0BA;     /* neutral */
  --paper: #ffffff;        /* card surfaces */
  --cream: #FBF9F4;        /* light section bg */
  --mist: #FBF9F4;         /* alias used by .bg-mist */
  --mist-2: #EFEDE6;       /* hover cream */
  --line: #D7DADF;         /* light borders/dividers */
  --accent: #6A33B8;       /* royal purple - fills, buttons */
  --accent-deep: #56278F;  /* deeper royal - hovers */
  --accent-light: #9A6FD6; /* lighter royal - small text on dark navy */
  --gold-text: #6A33B8;    /* royal for text on light backgrounds */
  --muted: #6E7A8A;        /* muted body = slate */
  --max: 1240px;
  --radius: 14px;
  --shadow: 0 12px 40px rgba(21, 41, 74, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Inter", "Helvetica Neue", Arial, system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--charcoal);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-text);
}

h1, h2, h3 { line-height: 1.08; letter-spacing: -0.02em; font-weight: 800; color: var(--ink); }

/* White headings inside dark sections */
.hero, .page-hero, .bg-ink, .cta-band { color: #fff; }
.hero h1, .hero h2, .hero h3,
.page-hero h1, .page-hero h2, .page-hero h3,
.bg-ink h1, .bg-ink h2, .bg-ink h3,
.cta-band h1, .cta-band h2, .cta-band h3 { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); color: #fff; transform: translateY(-2px); }
.btn-ghost { border-color: currentColor; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-light:hover { background: #fff; color: var(--ink); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 21px; letter-spacing: -0.03em; color: var(--ink); }
.brand .mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  position: relative; flex: none;
}
.brand .mark::after {
  content: ""; position: absolute; inset: 8px 8px auto auto;
  width: 8px; height: 8px; border-radius: 50%; background: #fff;
}
.brand-logo { height: 38px; width: auto; display: block; flex: none; }
.site-footer .brand-chip { display: inline-flex; align-items: center; justify-content: center; background: #fff; border-radius: 8px; padding: 5px 6px; flex: none; }
.site-footer .brand-chip img { height: 30px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--charcoal); position: relative; padding: 6px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--accent-deep); transition: width .25s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; }
.menu-toggle span { width: 24px; height: 2px; background: var(--ink); transition: .3s; }
.nav-cta-mobile { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0f1d38 0%, #15294A 55%, #1d3354 100%);
}
.hero::before {
  content: ""; position: absolute; right: -10%; top: -20%;
  width: 60vw; height: 60vw; max-width: 700px; max-height: 700px;
  background: radial-gradient(circle, rgba(154,111,214,.32), transparent 60%);
  filter: blur(20px);
}
.hero .wrap { position: relative; z-index: 2; padding: 104px 28px 116px; }
.hero-content { max-width: 720px; }
.hero h1 { font-size: clamp(2.3rem, 4.8vw, 4rem); max-width: 16ch; }
.hero h1 .hero-sub {
  display: block; margin-top: 0.5em;
  font-size: 0.46em; font-weight: 700; line-height: 1.18;
  letter-spacing: -0.01em; color: var(--accent-light);
}
.hero p { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: rgba(255,255,255,.82); max-width: 52ch; margin: 26px 0 36px; }
.hero .actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero art layer (right side).
   To use a real photo: <div class="photo" style="background-image:url('hero.jpg')"></div> */
.hero-art { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.hero-art .photo { position: absolute; inset: 0; background-size: cover; background-position: center right; background-image: url('hero.jpg'); }
.hero-art .dots { display: none; }
.hero-art .glow {
  position: absolute; right: -4%; top: 50%; transform: translateY(-50%);
  width: 46vw; height: 46vw; max-width: 600px; max-height: 600px; border-radius: 50%; filter: blur(4px);
  background: radial-gradient(circle at 32% 32%, rgba(154,111,214,.44), transparent 55%),
              radial-gradient(circle at 70% 72%, rgba(110,122,138,.5), transparent 60%);
}
.hero-art .dots {
  position: absolute; right: 3%; top: 50%; transform: translateY(-50%);
  width: 40vw; height: 40vw; max-width: 520px; max-height: 520px; opacity: .35;
  background-image: radial-gradient(rgba(255,255,255,.55) 1.5px, transparent 1.6px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(circle, #000 38%, transparent 70%);
  mask-image: radial-gradient(circle, #000 38%, transparent 70%);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(13,23,42,.95) 0%, rgba(13,23,42,.86) 44%, rgba(13,23,42,.55) 66%, rgba(13,23,42,.14) 86%, rgba(13,23,42,0) 100%);
}

/* ---------- Section scaffolding ---------- */
.section { padding: 96px 0; }
.section.tight { padding: 72px 0; }
.section-head { max-width: 60ch; margin-bottom: 54px; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin: 14px 0 16px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.bg-mist { background: var(--cream); }
.bg-ink { background: var(--ink); color: #fff; }

/* ---------- Service / card grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card .ic {
  width: 46px; height: 46px; border-radius: 11px; margin-bottom: 20px;
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
}
.card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .98rem; }
.card .more { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--gold-text); font-weight: 600; font-size: .95rem; }

/* ---------- Why figure (illustration) ---------- */
.why-figure { line-height: 0; }
.why-figure img { width: 100%; height: auto; display: block; border-radius: 18px;
  border: 1.5px solid rgba(106, 51, 184, .30); box-shadow: var(--shadow);
  animation: whyFloat 6s ease-in-out infinite; }
@keyframes whyFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@media (prefers-reduced-motion: reduce) { .why-figure img { animation: none; } }

/* ---------- Guide preview card (DIY teaser) ---------- */
.guide-card { background: linear-gradient(135deg, #15294A 0%, #1d3354 100%); border-radius: 18px; padding: 30px 28px; box-shadow: var(--shadow); }
.guide-card .gc-title { text-transform: uppercase; letter-spacing: .18em; font-size: 11px; font-weight: 700; color: var(--accent-light); margin-bottom: 12px; }
.guide-card ol { list-style: none; }
.guide-card ol li { display: flex; align-items: center; gap: 13px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.10); color: rgba(255,255,255,.92); font-weight: 500; font-size: .98rem; position: static; }
.guide-card ol li::before { display: none; }
.guide-card ol li:last-child { border-bottom: 0; }
.guide-card .gc-n { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); }
.guide-card .gc-play { margin-left: auto; flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(154,111,214,.22); color: var(--accent-light); }
.guide-card .gc-play svg { width: 11px; height: 11px; }

/* ---------- Outcome cards (before / after) ---------- */
.outcome .ba { margin-top: 4px; }
.outcome .ba p { font-size: .98rem; line-height: 1.6; margin-top: 16px; }
.outcome .ba p span {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 4px;
}
.outcome .ba .before { color: var(--muted); }
.outcome .ba .before span { color: var(--slate); }
.outcome .ba .after { color: var(--charcoal); margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.outcome .ba .after span { color: var(--gold-text); }

/* ---------- Engagement path (home preview) ---------- */
.path { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step .step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); color: #fff; font-weight: 800; font-size: .95rem; margin-bottom: 16px; }
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .95rem; }
@media (max-width: 880px) { .path { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; } }
@media (max-width: 520px) { .path { grid-template-columns: 1fr; } }
a.step { text-decoration: none; color: inherit; display: block; transition: transform .25s var(--ease); }
a.step:hover { transform: translateY(-4px); }
a.step:hover h3 { color: var(--accent-deep); }
.card { scroll-margin-top: 90px; }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: left; }
.stat .num { font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em;
  background: linear-gradient(135deg, #ffffff, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bg-ink .stat .label { color: rgba(255,255,255,.72); font-size: .98rem; }
.stat .label { color: var(--muted); font-size: .98rem; line-height: 1.5; }
.stats-light .stat .num { background: linear-gradient(135deg, var(--accent), var(--accent-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 880px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 28px; } }

/* ---------- Tier accordion cards (what we do / what you walk away with) ---------- */
.tiers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.tcard { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  position: relative; scroll-margin-top: 90px; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.tcard::before { content:""; position:absolute; top:0; left:0; right:0; height:4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light)); }
.tcard:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.tc-head { display:flex; align-items:center; gap:15px; padding: 24px 28px 18px; }
.tc-chip { flex:none; display:inline-grid; place-items:center; width:44px; height:44px; border-radius:50%;
  background:linear-gradient(135deg,var(--accent),var(--accent-deep)); color:#fff; font-weight:800; font-size:1rem; }
.tc-head h3 { font-size: 1.4rem; margin: 0; color: var(--ink); letter-spacing:-0.01em; }
.sec { padding: 16px 28px; border-top: 1px solid var(--line); cursor: pointer; }
.sec.work { background: #eaeef6; }
.sec.out { background: #e7defb; }
.sec-row { display:flex; align-items:center; justify-content:space-between; }
.sec-label { font-size: 1.05rem; font-weight: 600; color: var(--slate); transition: color .25s; }
.sec.out .sec-label { color: var(--accent-deep); }
.sec:hover .sec-label, .sec.open .sec-label { color: var(--accent-deep); }
.chev { display:inline-grid; place-items:center; width:27px; height:27px; border-radius:50%;
  background:#fff; border:1px solid var(--line); color:var(--accent-deep); font-size:.72rem; line-height:1;
  transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s; }
.sec:hover .chev, .sec.open .chev { background: var(--accent); border-color: var(--accent); color:#fff; transform: rotate(180deg); }
.sec-body { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .45s var(--ease), opacity .35s, margin-top .45s; }
.sec-body p { color: var(--muted); font-size: .96rem; line-height: 1.62; margin: 0; }
.sec:hover .sec-body, .sec.open .sec-body { max-height: 300px; opacity: 1; margin-top: 11px; }
@media (max-width: 880px) { .tiers-grid { grid-template-columns: 1fr; } }

/* ---------- Engagement timeline ---------- */
.timeline { position: relative; }
.tl-step { position: relative; padding: 0 0 26px 38px; }
.tl-step:last-child { padding-bottom: 0; }
.tl-step:not(:last-child)::after { content:""; position:absolute; left:10px; top:9px; bottom:-2px; width:2px; background: var(--line); }
.tl-dot { position:absolute; left:0; top:2px; width:22px; height:22px; border-radius:50%; background:#fff; border:2px solid var(--accent); display:grid; place-items:center; }
.tl-dot::before { content:""; width:8px; height:8px; border-radius:50%; background:var(--accent); }
.tl-c h4 { font-size:1.05rem; margin:0 0 3px; color:var(--ink); }
.tl-c p { font-size:.92rem; color:var(--muted); margin:0; line-height:1.5; }
a.tl-step { display:block; text-decoration:none; color:inherit; }
a.tl-step .tl-c h4 { transition: color .25s; }
a.tl-step .tl-dot { transition: background .25s, border-color .25s; }
a.tl-step .tl-dot::before { transition: background .25s; }
a.tl-step:hover .tl-c h4 { color: var(--accent-deep); }
a.tl-step:hover .tl-dot { background: var(--accent); border-color: var(--accent); }
a.tl-step:hover .tl-dot::before { background: #fff; }
html { scroll-behavior: smooth; }

/* ---------- Insight cards w/ image band ---------- */
.insight { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff;
  transition: transform .3s var(--ease), box-shadow .3s; }
.insight:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.insight .thumb { height: 180px; background: linear-gradient(135deg, var(--ink), var(--slate)); position: relative; }
.insight:nth-child(2) .thumb { background: linear-gradient(135deg, var(--ink-2), var(--accent)); }
.insight:nth-child(3) .thumb { background: linear-gradient(135deg, var(--slate), var(--ink)); }
.insight:nth-child(4) .thumb { background: linear-gradient(135deg, var(--ink), var(--ink-2)); }
.insight:nth-child(5) .thumb { background: linear-gradient(135deg, var(--slate), var(--accent)); }
.insight:nth-child(6) .thumb { background: linear-gradient(135deg, var(--ink-2), var(--slate)); }
.insight .thumb span { position: absolute; left: 22px; bottom: 18px; color: #fff; font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.insight .thumb, .insight-featured .feat-thumb { overflow: hidden; }
.insight .thumb img, .insight-featured .feat-thumb img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; }
.insight .thumb::after, .insight-featured .feat-thumb::after { content:""; position:absolute; inset:0; z-index:1; background:linear-gradient(to top, rgba(15,29,74,.78), rgba(15,29,74,0) 62%); }
.insight .thumb span, .insight-featured .feat-thumb span { z-index:2; }
.insight .body { padding: 26px; }
.insight .body h3 { font-size: 1.18rem; margin-bottom: 10px; }
.insight .body p { color: var(--muted); font-size: .96rem; }
.insight .body .date { color: var(--gold-text); font-size: .82rem; font-weight: 600; margin-top: 16px; display: block; }

/* Insights filter */
.insight-filter { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:30px; }
.filter-chip { border:1px solid var(--line); background:#fff; color:var(--muted); padding:8px 17px; border-radius:999px;
  font-size:.9rem; font-weight:600; cursor:pointer; transition: background .2s, color .2s, border-color .2s; font-family:inherit; }
.filter-chip:hover { border-color:var(--accent-light); color:var(--accent-deep); }
.filter-chip.is-active { background:var(--accent); border-color:var(--accent); color:#fff; }

/* Featured (wide) insight */
.insight-featured { display: grid; grid-template-columns: 0.85fr 1.15fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; margin-bottom: 28px; transition: transform .3s var(--ease), box-shadow .3s; }
.insight-featured:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.insight-featured .feat-thumb { background: linear-gradient(135deg, var(--ink), var(--accent)); position: relative; min-height: 230px; }
.insight-featured .feat-thumb span { position: absolute; left: 26px; bottom: 22px; color: #fff; font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.insight-featured .feat-body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.insight-featured .feat-body h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 14px; }
.insight-featured .feat-body p { color: var(--muted); font-size: 1.05rem; }
.insight-featured .feat-body .date { color: var(--gold-text); font-size: .82rem; font-weight: 600; margin-top: 18px; display: block; }
@media (max-width: 768px) {
  .insight-featured { grid-template-columns: 1fr; }
  .insight-featured .feat-thumb { min-height: 150px; }
  .insight-featured .feat-body { padding: 28px; }
}

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split .visual { border-radius: 18px; min-height: 380px;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 65%, var(--accent) 150%); position: relative; overflow: hidden; }
.split .visual::after { content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.22) 1.5px, transparent 1.5px); background-size: 26px 26px; opacity: .5; }
.split h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 18px; }
.split p { color: var(--muted); margin-bottom: 16px; }
.split ul { list-style: none; }
.split li { position: relative; padding: 12px 0 12px 26px; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--charcoal); }
.split li::before { content: ""; position: absolute; left: 0; top: 21px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent-deep); }
.split li strong { font-weight: 600; color: var(--ink); }
.split li .alt { color: var(--muted); font-weight: 400; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%); color: #fff; border-radius: 22px; padding: 64px; text-align: center; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 18px; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 52ch; margin: 0 auto 30px; font-size: 1.1rem; }
/* gold CTA button inside the navy band */
.cta-band .btn-light { background: var(--accent); border-color: var(--accent); color: #fff; }
.cta-band .btn-light:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
.subscribe { display:flex; gap:12px; max-width:480px; margin:0 auto; flex-wrap:wrap; justify-content:center; }
.subscribe input { flex:1 1 240px; padding:14px 18px; border-radius:10px; border:1px solid rgba(255,255,255,.3); background:rgba(255,255,255,.10); color:#fff; font-size:1rem; font-family:inherit; }
.subscribe input::placeholder { color:rgba(255,255,255,.55); }
.subscribe input:focus { outline:none; border-color:var(--accent-light); background:rgba(255,255,255,.16); }
.subscribe .btn { flex:0 0 auto; }
.subscribe .msg { flex-basis:100%; margin:0; color:rgba(255,255,255,.88); font-size:.98rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(135deg, #0f1d38, #1d3354); color: #fff; padding: 88px 0 72px; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 18ch; }
.page-hero p { color: rgba(255,255,255,.8); font-size: 1.15rem; max-width: 56ch; margin-top: 18px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; max-width: 560px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.field input, .field textarea, .field select {
  padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: #fff; color: var(--charcoal);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--accent-deep); border-color: transparent; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 72px 0 36px; }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer p { max-width: 34ch; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-col h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.footer-col a { display: block; padding: 6px 0; font-size: .95rem; transition: color .2s; }
.footer-col a:hover { color: var(--accent-light); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; }

/* ---------- Reveal animation ----------
   Default = visible (so content always shows, even with no JS).
   The fade-in only applies once JS adds the .js class. */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESTORED COMPONENT RULES (recovered after truncation)
   ============================================================ */

/* ---------- Partner strip (logos) — recovered from source ---------- */
.partner-strip { background: var(--cream); padding: 3.5rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partner-label { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); font-weight: 600; text-align: center; margin-bottom: 2.5rem; }
.partner-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 1.5rem 2rem; align-items: center; max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.partner-slot { height: 56px; perspective: 600px; }
.partner-flipper { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; animation: partner-flip 12s infinite ease-in-out; }
.partner-face { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.partner-face.back { transform: rotateY(180deg); }
.partner-face img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(100%) opacity(0.7); transition: filter 0.3s ease; }
.partner-slot:hover .partner-face img { filter: grayscale(0%) opacity(1); }
@keyframes partner-flip { 0%, 42% { transform: rotateY(0deg); } 50%, 92% { transform: rotateY(180deg); } 100% { transform: rotateY(360deg); } }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 0; font-size: 1.12rem; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; line-height: 1; color: var(--accent); transition: transform .25s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 0 24px; }
.faq-a p { color: var(--muted); max-width: 72ch; margin: 0; }
.faq-a a { color: var(--accent); text-decoration: underline; }

/* ---------- Prose (article body) ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose p { margin: 0 0 1.1em; color: var(--charcoal); font-size: 1.06rem; line-height: 1.75; }
.prose h2 { font-size: 1.55rem; margin: 1.9em 0 .5em; color: var(--ink); }
.prose h3 { font-size: 1.18rem; margin: 1.6em 0 .4em; color: var(--ink); letter-spacing: -0.01em; }
.prose .lead { font-size: 1.3rem; line-height: 1.5; color: var(--ink); font-weight: 500; margin-bottom: 1.3em; }
.prose strong { color: var(--ink); }
.prose a { color: var(--accent); text-decoration: underline; }
.back-link { display: inline-block; margin-top: 2.2em; color: var(--accent); font-weight: 600; }
.back-link:hover { text-decoration: underline; }

/* ---------- Misc restored ---------- */
.lead { font-size: 1.2rem; line-height: 1.55; color: var(--ink); }
.statement { max-width: 860px; }
.statement h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: .35em 0 .55em; }
.statement p { font-size: 1.12rem; color: var(--muted); max-width: 70ch; margin-bottom: 1.5em; }
.src { font-size: .82rem; color: var(--muted); }

/* ---------- Restored responsive rules ---------- */
@media (max-width: 900px) { .partner-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }
@media (max-width: 600px) { .partner-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem 1.5rem; } }

/* ---------- Global mobile responsive (recovered) ---------- */
@media (max-width: 860px) {
  .menu-toggle { display: flex; }
  .nav-cta .btn-primary { display: none; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); padding: 6px 28px 18px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 13px 0; }
  .nav-cta-mobile { display: block; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .cta-band { padding: 44px 28px; }
  .page-hero { padding: 64px 0 52px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Partnership ecosystem cards (white, lavender hover) ---------- */
.card.eco { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--accent); transition: transform .25s var(--ease), background .25s, box-shadow .25s, border-color .25s; }
.card.eco .eco-ic { width: 46px; height: 46px; border-radius: 11px; margin-bottom: 20px; display: grid; place-items: center; background: #EFEAFB; color: var(--accent); transition: background .25s, color .25s; }
.card.eco .eco-ic svg { width: 24px; height: 24px; }
.card.eco:hover { background: #F4EFFB; border-color: #E2D4F5; border-top-color: var(--accent); transform: translateY(-6px); box-shadow: 0 14px 36px rgba(106,51,184,.16); }
.card.eco:hover .eco-ic { background: var(--accent); color: #fff; }
.card.eco .more { color: var(--accent); }

/* ---------- Prose lists (legal pages) ---------- */
.prose ul { margin: 0 0 1.2em 1.25em; }
.prose li { margin: 0 0 .5em; color: var(--charcoal); line-height: 1.7; }


/* Newsletter (HubSpot) embed card */
.subscribe-card { max-width: 640px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 40px; box-shadow: var(--shadow); }
.subscribe-card .hs-form-frame { font-family: inherit; }
@media (max-width: 600px){ .subscribe-card { padding: 26px 20px; } }
