/* Clean Title Labs: site styles (prototype v1) */
:root {
  --navy: #14213D;
  --navy-2: #1F2F52;
  --ink-muted: #475066;
  --teal: #0F766E;
  --teal-dark: #0B5C55;
  --teal-tint: #E7F3F1;
  --teal-light: #5EC2B4;
  --orange: #E8772E;      /* decorative only, never text */
  --orange-tint: #FCEFE5;
  --paper: #FAF8F4;
  --white: #FFFFFF;
  --line: #E4DFD5;
  --focus: #1D4ED8;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20,33,61,.06), 0 8px 24px rgba(20,33,61,.07);
  --font: Inter, "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0; background: var(--paper); color: var(--navy);
  font-family: var(--font); font-size: 1.125rem; line-height: 1.6;
}
img, svg { max-width: 100%; height: auto; }
svg[viewBox="0 0 64 64"] { width: 100%; height: auto; display: block; }
.deco svg { width: 100%; height: 100%; }
a { color: var(--teal); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); font-weight: 750; }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 650; }
p { margin: 0 0 1em; }
.lead { font-size: 1.25rem; color: var(--ink-muted); max-width: 40em; }
.muted { color: var(--ink-muted); }
.eyebrow {
  display: inline-block; font-size: .85rem; font-weight: 650; letter-spacing: .08em;
  text-transform: uppercase; color: var(--teal); margin-bottom: .9rem;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-tight { padding: 3rem 0; }
.section-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 2.75rem; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Skip link and prototype bar */
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .75rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; color: #fff; }
.proto-bar { background: var(--navy); color: #fff; font-size: .9rem; }
.proto-bar .wrap { display: flex; gap: 1rem; align-items: center; justify-content: space-between; padding-top: .45rem; padding-bottom: .45rem; }
.proto-bar a { color: #fff; }
.proto-bar button { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.5); border-radius: 6px; font: inherit; font-size: .85rem; padding: .15rem .6rem; cursor: pointer; }

/* Header */
.site-header { background: rgba(250,248,244,.94); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(1.4) blur(8px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--navy); font-weight: 800; font-size: 1.56rem; letter-spacing: -0.02em; white-space: nowrap; }
.brand:hover { color: var(--navy); text-decoration: none; }
.brand svg { width: 42px; height: 42px; flex: none; }
.brand .labs { color: var(--teal); font-weight: 650; }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav ul { list-style: none; display: flex; gap: .15rem; margin: 0; padding: 0; }
.nav a { display: block; padding: .5rem .8rem; border-radius: 8px; color: var(--navy); text-decoration: none; font-size: 1rem; font-weight: 550; }
.nav a:hover { background: var(--teal-tint); color: var(--navy); }
.nav a[aria-current="page"] { color: var(--teal-dark); box-shadow: inset 0 -2px 0 var(--teal); border-radius: 0; }
.nav .btn { margin-left: .75rem; }
.nav a.btn-primary { color: #fff; padding: .7rem 1.15rem; border-radius: 10px; }
.nav a.btn-primary:hover { background: var(--teal-dark); color: #fff; }
.nav a.btn-primary[aria-current="page"] { box-shadow: none; border-radius: 10px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: .5rem .75rem; font: inherit; font-size: 1rem; color: var(--navy); cursor: pointer; }

@media (max-width: 920px) {
  .menu-toggle { display: inline-flex; align-items: center; gap: .4rem; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: .75rem 1.5rem 1.25rem; display: none; }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; }
  .nav a { padding: .8rem .5rem; font-size: 1.1rem; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--teal); padding-left: .9rem; }
  .nav .btn { margin: .75rem 0 0; text-align: center; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.35rem; border-radius: 10px; font: inherit; font-size: 1rem; font-weight: 650;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; line-height: 1.2;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; text-decoration: none; }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: #fff; text-decoration: none; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--teal-tint); color: var(--navy); text-decoration: none; }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.7); background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); color: #fff; text-decoration: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }

/* Hero */
.hero { padding: 4.5rem 0 5rem; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.02fr 1fr; gap: 3.5rem; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 4vw, 3.15rem); max-width: 14em; }
.hero .lead { margin-top: 1.25rem; }
.hero-note { font-size: .95rem; color: var(--ink-muted); margin-top: 1.1rem; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 3rem; } }

/* Concept mock (pure HTML/CSS illustration) */
.mock { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 2px 4px rgba(20,33,61,.05), 0 24px 48px rgba(20,33,61,.12); overflow: hidden; font-size: .78rem; line-height: 1.35; }
.mock-bar { display: flex; align-items: center; gap: .4rem; padding: .6rem .8rem; background: #F2EFE9; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D5CFC4; display: block; }
.mock-bar span { margin-left: .6rem; background: #fff; border-radius: 6px; padding: .15rem .6rem; color: var(--ink-muted); font-size: .72rem; flex: 1; }
.mock-body { display: grid; grid-template-columns: 128px 1fr; min-height: 330px; }
.mock-side { background: var(--navy); color: #C9D1E3; padding: .9rem .6rem; }
.mock-side b { display: flex; align-items: center; gap: .4rem; color: #fff; font-size: .8rem; margin-bottom: 1rem; }
.mock-side b svg { width: 18px; height: 18px; }
.mock-side div { padding: .38rem .55rem; border-radius: 6px; margin-bottom: .15rem; }
.mock-side div.on { background: rgba(94,194,180,.18); color: #fff; }
.mock-main { padding: 1rem 1.1rem; }
.mock-main h4 { margin: 0 0 .75rem; font-size: .95rem; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-bottom: .8rem; }
.kpi { border: 1px solid var(--line); border-radius: 8px; padding: .5rem .6rem; }
.kpi small { color: var(--ink-muted); display: block; }
.kpi strong { font-size: 1.3rem; }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 54px; padding: .3rem .1rem; border-bottom: 1px solid var(--line); margin-bottom: .6rem; }
.bars span { flex: 1; background: var(--teal-tint); border-radius: 3px 3px 0 0; }
.bars span.hi { background: var(--teal); }
.mock table { width: 100%; border-collapse: collapse; }
.mock td, .mock th { text-align: left; padding: .38rem .3rem; border-bottom: 1px solid #F0ECE4; white-space: nowrap; }
.mock th { color: var(--ink-muted); font-weight: 600; }
.pill { display: inline-block; padding: .05rem .45rem; border-radius: 99px; font-size: .68rem; font-weight: 650; }
.pill.open { background: var(--orange-tint); color: #8A3B0B; }
.pill.prog { background: var(--teal-tint); color: var(--teal-dark); }
.pill.done { background: #EDEFF4; color: var(--navy-2); }
.mock-caption { font-size: .85rem; color: var(--ink-muted); margin-top: .8rem; text-align: center; }
@media (max-width: 560px) { .mock-body { grid-template-columns: 1fr; } .mock-side { display: none; } .mock .hide-sm { display: none; } }

/* Name meaning band */
.meaning { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.meaning .wrap { display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center; padding-top: 2.5rem; padding-bottom: 2.5rem; }
.meaning svg { width: 72px; height: 72px; }
.meaning p { margin: 0; font-size: 1.2rem; max-width: 52em; }
.meaning strong { font-weight: 700; }
@media (max-width: 640px) { .meaning .wrap { grid-template-columns: 1fr; gap: 1rem; } }

/* Grids and cards */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--ink-muted); font-size: 1.05rem; }
.icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--teal-tint); color: var(--teal-dark); margin-bottom: 1.1rem; }
.icon svg { width: 26px; height: 26px; }
.icon.warm { background: var(--orange-tint); color: #8A3B0B; }

/* Problem vs. approach diagram */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3rem; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }
.compare .panel { border-radius: var(--radius); padding: 1.75rem; border: 1px solid var(--line); background: var(--white); }
.compare .panel.ours { border: 2px solid var(--teal); }
.compare h3 { display: flex; align-items: center; gap: .5rem; }
.stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: 1.25rem 0; }
.stack span { border: 1.5px dashed #B9B2A4; border-radius: 8px; padding: .6rem .4rem; text-align: center; font-size: .85rem; color: var(--ink-muted); background: #FBFAF7; }
.whole { margin: 1.25rem 0; border-radius: 10px; background: var(--teal-tint); padding: 1.35rem; display: flex; align-items: center; gap: 1rem; font-weight: 650; }
.whole svg { width: 42px; height: 42px; flex: none; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 1.9rem; margin-bottom: .55rem; font-size: 1.02rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' stroke='white' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat; }
.crosses li::before { background: #EDE9E1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6.5 6.5l7 7m0-7l-7 7' stroke='%23475066' stroke-width='2.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center/80% no-repeat; }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 4rem; align-items: center; }
.split.rev { grid-template-columns: 1.05fr 1fr; }
@media (max-width: 960px) { .split, .split.rev { grid-template-columns: 1fr; gap: 2.5rem; } }
.numbered { list-style: none; counter-reset: n; padding: 0; margin: 1.5rem 0 0; }
.numbered li { counter-increment: n; position: relative; padding-left: 3rem; margin-bottom: 1.1rem; }
.numbered li::before { content: counter(n); position: absolute; left: 0; top: -.05rem; width: 2rem; height: 2rem; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: .95rem; display: grid; place-items: center; }

/* Referral form mock */
.formmock { padding: 1.2rem 1.3rem; }
.formmock .row { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-bottom: .6rem; }
.fm-field small { display: block; color: var(--ink-muted); margin-bottom: .2rem; }
.fm-field div { border: 1px solid var(--line); border-radius: 6px; padding: .4rem .5rem; background: #FDFCFA; }
.fm-chips { display: flex; flex-wrap: wrap; gap: .35rem; margin: .2rem 0 .7rem; }
.fm-chips span { border: 1px solid var(--line); border-radius: 99px; padding: .15rem .55rem; }
.fm-chips span.sel { background: var(--teal); color: #fff; border-color: var(--teal); }
.fm-btn { display: inline-block; background: var(--teal); color: #fff; border-radius: 6px; padding: .4rem .8rem; font-weight: 650; }

/* Audience tiles */
.tile { display: block; text-decoration: none; color: var(--navy); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); transition: transform .15s ease, border-color .15s ease; }
.tile:hover { color: var(--navy); border-color: var(--teal); transform: translateY(-2px); text-decoration: none; }
.tile h3 { margin-bottom: .35rem; }
.tile p { color: var(--ink-muted); font-size: 1rem; margin: 0 0 .8rem; }
.tile .more { color: var(--teal); font-weight: 650; font-size: .95rem; }

/* Trust strip */
.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 960px) { .trust-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .trust-strip { grid-template-columns: 1fr; } }
.trust-item { display: flex; gap: .8rem; align-items: flex-start; padding: 1.1rem; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); font-weight: 600; font-size: 1rem; line-height: 1.4; }
.trust-item svg { width: 26px; height: 26px; flex: none; color: var(--teal); }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; border-radius: 22px; padding: 3.5rem; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #D3DAE8; max-width: 38em; font-size: 1.15rem; }
.cta-band .deco { position: absolute; right: -20px; bottom: -50px; width: 280px; height: 280px; opacity: .07; }
@media (max-width: 640px) { .cta-band { padding: 2.25rem 1.5rem; } .cta-band .deco { display: none; } }

/* Page header */
.page-head { padding: 4rem 0 3rem; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--white), var(--paper)); }
.page-head h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page-head .lead { max-width: 46em; }
.crumb { font-size: .9rem; margin-bottom: .75rem; color: var(--ink-muted); }
.crumb a { color: var(--ink-muted); }

/* Steps (How we work) */
.steps { list-style: none; padding: 0; margin: 0; position: relative; }
.step { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1.5rem; padding-bottom: 2.75rem; position: relative; }
.step:not(:last-child)::after { content: ""; position: absolute; left: 2.2rem; top: 4.4rem; bottom: .4rem; width: 2px; background: var(--line); }
.step-num { width: 4.4rem; height: 4.4rem; border-radius: 50%; background: var(--white); border: 2px solid var(--teal); color: var(--teal-dark); display: grid; place-items: center; font-weight: 750; font-size: 1.3rem; }
.step h3 { font-size: 1.45rem; margin-top: .9rem; }
.step p, .step li { color: var(--ink-muted); }
.step ul { padding-left: 1.2rem; margin: .5rem 0 0; }

/* Prose */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.6rem; margin-top: 2.5rem; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: .45rem; }
.two-col { display: grid; grid-template-columns: 16rem 1fr; gap: 3.5rem; }
.toc { position: sticky; top: 100px; align-self: start; font-size: .98rem; }
.toc ul { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: .35rem 1rem; color: var(--ink-muted); text-decoration: none; }
.toc a:hover { color: var(--teal-dark); }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } .toc { position: static; } }

.callout { background: var(--teal-tint); border-left: 4px solid var(--teal); padding: 1.25rem 1.4rem; border-radius: 0 10px 10px 0; margin: 1.5rem 0; }
.callout p:last-child { margin: 0; }

.serve-block { padding: 3rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; scroll-margin-top: 90px; }
.serve-block:last-child { border-bottom: 0; }
@media (max-width: 860px) { .serve-block { grid-template-columns: 1fr; gap: 1.25rem; } }
.examples { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (max-width: 560px) { .examples { grid-template-columns: 1fr; } }
.example { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem 1.2rem; }
.example strong { display: block; margin-bottom: .2rem; }
.example span { color: var(--ink-muted); font-size: 1rem; }

/* Pricing model */
.model { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 860px) { .model { grid-template-columns: 1fr; } }
.model .card h3 { display: flex; align-items: center; gap: .6rem; }
.milestones { display: flex; gap: .4rem; margin: 1.25rem 0 .4rem; }
.milestones span { flex: 1; height: 10px; border-radius: 5px; background: var(--teal); }
.milestones span:nth-child(2) { opacity: .8; } .milestones span:nth-child(3) { opacity: .6; } .milestones span:nth-child(4) { opacity: .4; }
.ms-labels { display: flex; justify-content: space-between; font-size: .8rem; color: var(--ink-muted); }

/* Placeholders */
.tbd { background: #FFF3C4; color: #5C4400; padding: .05em .35em; border-radius: 4px; font-weight: 600; font-size: .92em; }

/* Bio */
.bio { display: grid; grid-template-columns: 180px 1fr; gap: 2.25rem; align-items: start; }
.avatar { width: 180px; height: 180px; border-radius: 20px; background: var(--teal-tint); display: grid; place-items: center; color: var(--teal-dark); font-weight: 750; font-size: 3rem; border: 1px solid var(--line); }
@media (max-width: 640px) { .bio { grid-template-columns: 1fr; } .avatar { width: 120px; height: 120px; font-size: 2rem; } }

/* Forms */
.form { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 2.25rem; box-shadow: var(--shadow); }
.field { margin-bottom: 1.35rem; }
.field label, .field legend { display: block; font-weight: 650; margin-bottom: .35rem; font-size: 1rem; }
.field .hint { display: block; font-weight: 400; color: var(--ink-muted); font-size: .92rem; margin-bottom: .4rem; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=url], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--navy); background: #fff;
  border: 1.5px solid #8C8578; border-radius: 10px; padding: .75rem .85rem;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--navy); }
.field [aria-invalid="true"] { border-color: #B42318; }
.err { color: #B42318; font-size: .92rem; font-weight: 600; margin-top: .35rem; display: none; }
.err.show { display: block; }
fieldset { border: 0; padding: 0; margin: 0; }
.radios { display: flex; gap: 1.5rem; }
.radios label { display: inline-flex; align-items: center; gap: .45rem; font-weight: 500; }
.radios input { width: 1.2rem; height: 1.2rem; accent-color: var(--teal); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .row-2 { grid-template-columns: 1fr; } .form { padding: 1.5rem; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-summary { display: none; border: 2px solid #B42318; border-radius: 10px; padding: 1rem 1.2rem; margin-bottom: 1.5rem; }
.form-summary.show { display: block; }
.req { color: #B42318; }

/* Footer */
.site-footer { background: var(--navy); color: #C9D1E3; margin-top: 2rem; padding: 3.5rem 0 2rem; font-size: 1rem; }
.site-footer a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer .brand { color: #fff; }
.site-footer .brand .labs { color: var(--teal-light); }
.foot-base { border-top: 1px solid rgba(255,255,255,.14); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .92rem; }
.site-footer .tbd { color: #5C4400; }

/* Brand sheet */
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1rem; }
.swatch { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.swatch div { height: 88px; }
.swatch p { padding: .7rem .9rem; margin: 0; font-size: .92rem; line-height: 1.45; }
.logo-stage { border-radius: 16px; padding: 2.5rem; display: grid; place-items: center; min-height: 200px; border: 1px solid var(--line); }

/* Prose blocks inside the page wrapper stay left-aligned with the grid */
.wrap.prose { max-width: var(--wrap); }
.wrap.prose > * { max-width: 46rem; }
.wrap.prose.center > *, .wrap.prose[style*="center"] > * { margin-left: auto; margin-right: auto; }

/* ---------- v2 additions ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
sup a { text-decoration: none; font-size: .8em; margin-left: .1em; }

/* Old vs new table */
.table-wrap { overflow-x: auto; }
table.vs { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 1.05rem; }
table.vs th, table.vs td { padding: 1rem 1.25rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
table.vs tbody tr:last-child th, table.vs tbody tr:last-child td { border-bottom: 0; }
table.vs thead th { font-size: 1.05rem; background: #F3F0EA; }
table.vs thead th.ours { background: var(--teal); color: #fff; }
table.vs tbody th { width: 18%; font-weight: 650; }
table.vs tbody td { color: var(--ink-muted); width: 41%; }
table.vs tbody td:last-child { color: var(--navy); background: var(--teal-tint); font-weight: 550; }
@media (max-width: 700px) { table.vs { font-size: .95rem; } table.vs th, table.vs td { padding: .75rem; } }

/* Timeline */
.timeline { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); }
.tl-row { margin-bottom: 1.5rem; }
.tl-label { font-weight: 650; margin-bottom: .5rem; font-size: 1rem; }
.tl-track { display: flex; gap: 4px; }
.tl { flex-basis: 0; min-width: 0; display: flex; align-items: center; justify-content: center; text-align: center; min-height: 3.4rem; padding: .3rem; border-radius: 8px; font-size: .82rem; font-weight: 600; line-height: 1.2; }
.tl.old { background: #EDE9E1; color: var(--navy); }
.tl.proto { background: var(--orange-tint); color: #8A3B0B; border: 1.5px dashed var(--orange); }
.tl.new { background: var(--teal); color: #fff; }
.tl.new2 { background: var(--teal-dark); color: #fff; }
.timeline figcaption { font-size: .9rem; color: var(--ink-muted); }
@media (max-width: 560px) { .tl { font-size: .7rem; min-height: 3rem; } .timeline { padding: 1.1rem; } }

/* Calculator */
.calc { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 1.25rem; align-items: stretch; }
@media (max-width: 960px) { .calc { grid-template-columns: 1fr 1fr; } .calc-out { grid-column: 1 / -1; } }
@media (max-width: 600px) { .calc { grid-template-columns: 1fr; } }
.calc-col { background: var(--paper); border: 1px solid var(--line) !important; border-radius: var(--radius); padding: 1.25rem 1.4rem .4rem !important; }
.calc-col.ours { background: var(--teal-tint); border-color: #BFDDD8 !important; }
.calc-col legend { font-weight: 750; font-size: 1.1rem; padding: 0; float: left; width: 100%; margin-bottom: 1rem; }
.calc-col .field { clear: both; margin-bottom: 1rem; }
.money { display: flex; align-items: center; border: 1.5px solid #8C8578; border-radius: 10px; background: #fff; padding: 0 .75rem; }
.money:focus-within { outline: 3px solid var(--focus); outline-offset: 1px; }
.money span { color: var(--ink-muted); font-weight: 600; }
.money input { border: 0; outline: 0; font: inherit; font-size: 1.05rem; color: var(--navy); padding: .6rem .4rem; width: 100%; background: transparent; }
.calc-out { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 1.4rem; }
.calc-out label { color: #fff; }
.calc-out select { width: 100%; font: inherit; font-size: 1rem; border-radius: 10px; padding: .6rem .7rem; border: 0; }
.calc-results { display: grid; gap: .75rem; margin-top: .5rem; }
.calc-results div { background: rgba(255,255,255,.07); border-radius: 10px; padding: .7rem .9rem; }
.calc-results small { display: block; color: #C9D1E3; font-size: .9rem; }
.calc-results strong { font-size: 1.55rem; letter-spacing: -.01em; }
.calc-results .save { background: var(--teal); }
.calc-results .save small { color: #E2F3F0; }
.calc-results .save span { display: block; font-size: .95rem; color: #E2F3F0; }

.chart-card { margin-top: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.75rem; }
.legend { display: flex; gap: 1.5rem; font-size: .95rem; margin-bottom: 1rem; }
.legend i { display: inline-block; width: 14px; height: 14px; border-radius: 3px; margin-right: .4rem; vertical-align: -2px; }
.k-l, .bar-l { background: #B9B2A4; }
.k-o, .bar-o { background: var(--teal); }
.chart { display: flex; align-items: flex-end; gap: .6rem; height: 240px; border-bottom: 1.5px solid var(--line); padding-top: 1.5rem; }
.yr { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: flex-end; }
.yr .pair { display: flex; align-items: flex-end; gap: 3px; height: 100%; width: 100%; justify-content: center; }
.yr .pair span { width: 42%; max-width: 30px; border-radius: 4px 4px 0 0; }
.yr-lab { font-size: .8rem; color: var(--ink-muted); margin-top: .35rem; height: 1.2rem; }
.chart-axis { display: flex; gap: .6rem; }
.yr-table { margin-top: 1rem; }
.yr-table summary { cursor: pointer; color: var(--teal); font-weight: 600; }
table.data { width: 100%; border-collapse: collapse; margin-top: .75rem; font-size: .98rem; }
table.data th, table.data td { text-align: right; padding: .45rem .6rem; border-bottom: 1px solid var(--line); }
table.data th:first-child, table.data td:first-child { text-align: left; }

/* Replace / extend / integrate */
.rcols { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 1.5rem; }
@media (max-width: 960px) { .rcols { grid-template-columns: 1fr; } }
.rcol { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); border-top: 5px solid var(--teal); }
.rcol.r-extend { border-top-color: var(--navy); }
.rcol.r-integrate { border-top-color: #B9B2A4; }
.rcol-head { display: flex; align-items: center; gap: .8rem; margin-bottom: .6rem; }
.rcol-head .icon { margin: 0; }
.rcol-head h3 { margin: 0; font-size: 1.4rem; }
.rcol p { color: var(--ink-muted); font-size: 1rem; }
.rcol ul { padding-left: 1.15rem; margin: 0; }
.rcol li { margin-bottom: .55rem; font-size: 1rem; }
.sources { font-size: .95rem; color: var(--ink-muted); padding-left: 1.3rem; }
.sources li { margin-bottom: .3rem; }
.yr-lab { white-space: nowrap; }
.chart-x { font-size: .85rem; color: var(--ink-muted); text-align: center; margin-top: .25rem; }
.calc-col .row-2 { gap: .75rem; }
.calc-note { font-size: .88rem; color: var(--ink-muted); margin: -.25rem 0 1rem; clear: both; }
.calc-results .split { display: block; font-size: .85rem; color: #C9D1E3; margin-top: .15rem; }
.stack-l { width: 42%; max-width: 30px; display: flex; flex-direction: column; border-radius: 4px 4px 0 0; overflow: hidden; }
.stack-l i { display: block; width: 100%; }
.seg-l, .k-l { background: #B9B2A4; }
.seg-c, .k-c { background: #E8A06B; }

/* Calculator v3: aligned rows */
.calc2 { display: grid; gap: 1.25rem; }
.cg { display: grid; grid-template-columns: minmax(180px, 1fr) 1.3fr 1.3fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.cg > div { padding: .85rem 1.1rem; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; min-height: 4.6rem; }
.cg > div:nth-last-child(-n+3) { border-bottom: 0; }
.cg-head { font-weight: 750; font-size: 1.05rem; min-height: 3.2rem !important; }
.cg-head.cg-l { background: #F3F0EA; }
.cg-head.cg-o { background: var(--teal); color: #fff; }
.cg-label { font-weight: 650; font-size: 1rem; line-height: 1.3; background: var(--paper); }
.cg-label small { display: block; font-weight: 400; color: var(--ink-muted); font-size: .85rem; margin-top: .15rem; }
.cg-cell.cg-l { background: #FCFBF8; }
.cg-cell.cg-o { background: var(--teal-tint); }
.cg-tag { font-size: .85rem; color: var(--ink-muted); margin-bottom: .3rem; }
.cg-cell.cg-o .cg-tag { color: var(--teal-dark); }
.cg-pair { display: flex; align-items: center; gap: .5rem; }
.cg-pair .money { flex: 1; }
.cg-x { color: var(--ink-muted); font-size: .9rem; }
.cg-incl { display: inline-flex; align-items: center; gap: .45rem; font-weight: 650; color: var(--teal-dark); }
.cg-incl::before { content: ""; width: 1.15rem; height: 1.15rem; border-radius: 50%; flex: none; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' stroke='white' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat; }
.cg-incl.muted-incl { color: var(--ink-muted); font-weight: 500; }
.cg-incl.muted-incl::before { display: none; }
.money input { min-width: 0; }
.calc2 .calc-note { margin: 0; }
.calc2 .calc-out { display: grid; grid-template-columns: 200px 1fr; gap: 1.25rem; align-items: start; }
.calc2 .calc-out .field { margin: 0; }
.calc2 .calc-results { grid-template-columns: 1.3fr 1fr 1fr; margin-top: 0; }
.k-x, .seg-x { background: #F3CBA9; }
@media (max-width: 860px) {
  .calc2 .calc-out { grid-template-columns: 1fr; }
  .calc2 .calc-results { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cg { grid-template-columns: 1fr 1fr; }
  .cg-label { grid-column: 1 / -1; min-height: 0 !important; padding-bottom: .5rem !important; }
  .cg-head.cg-label { display: none !important; }
  .cg > div { padding: .7rem .75rem; }
  .cg-pair { flex-direction: column; align-items: stretch; gap: .3rem; }
  .cg-x { display: none; }
}
.seg-o, .k-o { background: var(--teal); }
.seg-oh, .k-oh { background: #5EC2B4; }
.radios.stack { flex-direction: column; gap: .55rem; }
.proto-block { background: var(--teal-tint); border-radius: 12px; padding: 1.1rem 1.2rem .2rem; margin-bottom: 1.35rem; }
.field.check { display: grid; grid-template-columns: auto 1fr; gap: .6rem; align-items: start; }
.field.check input { width: 1.25rem; height: 1.25rem; margin-top: .2rem; accent-color: var(--teal); }
.field.check label { font-weight: 500; }
.field.check .err { grid-column: 1 / -1; }
.qualify { border-top: 5px solid var(--teal); }
.cg-sum { font-size: .9rem; font-weight: 650; color: var(--navy); margin-top: .35rem; }

/* Who we serve v2 */
.serve-jump { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 76px; z-index: 20; }
.serve-jump .wrap { display: flex; gap: .5rem; flex-wrap: wrap; padding-top: .8rem; padding-bottom: .8rem; }
.serve-jump a { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .85rem; border-radius: 99px; border: 1px solid var(--line); color: var(--navy); text-decoration: none; font-size: .95rem; font-weight: 600; background: var(--paper); }
.serve-jump a:hover { border-color: var(--teal); background: var(--teal-tint); color: var(--navy); }
.serve-jump svg { width: 18px; height: 18px; color: var(--teal); }
.serve-band { padding: 4.5rem 0; scroll-margin-top: 140px; }
.serve-band.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.serve-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; }
@media (max-width: 860px) { .serve-grid { grid-template-columns: 1fr; gap: 2rem; } .serve-jump { position: static; } }
.serve-icon { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1.25rem; }
.serve-icon svg { width: 34px; height: 34px; }
.serve-icon.t-teal { background: var(--teal); color: #fff; }
.serve-icon.t-navy { background: var(--navy); color: var(--teal-light); }
.serve-icon.t-orange { background: var(--orange-tint); color: #8A3B0B; }
.serve-icon.t-teal2 { background: var(--teal-tint); color: var(--teal-dark); }
.serve-intro h2 { font-size: 2rem; }
.serve-intro p { color: var(--ink-muted); font-size: 1.1rem; }
.serve-link { font-weight: 650; }
.serve-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 2.5rem; }
@media (max-width: 560px) { .serve-list { grid-template-columns: 1fr; } }
.serve-list li { display: grid; grid-template-columns: 14px 1fr; gap: .9rem; padding: 1.25rem 0; border-top: 1px solid var(--line); }
.serve-list .ex-dot { width: 12px; height: 12px; margin-top: .45rem; border-radius: 3px; background: var(--orange); transform: rotate(45deg); }
.serve-list li:nth-child(even) .ex-dot { background: var(--teal); }
.serve-list strong { display: block; font-size: 1.1rem; margin-bottom: .2rem; }
.serve-list span { color: var(--ink-muted); font-size: 1rem; }
/* Align inputs across each row: start everything at the top, tags one line */
.cg > div.cg-cell { justify-content: flex-start; }
.cg-tag { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 1.3em; }
.cg-sum-o { color: var(--teal-dark); font-weight: 500; }
.cg-sum-note { font-weight: 500; color: var(--ink-muted); margin-top: .1rem; }
.cg > div.cg-cell:not(:has(.cg-tag)) { justify-content: center; }
