/* CouncilClear visual system
   Fresh, architectural, evidence-led. Manrope for structure, Inter for reading,
   eucalyptus for proof, lime for energy, warm off-white for space. */

@font-face {
  font-family: 'Manrope';
  src: url('/assets/fonts/manrope-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0a1620;
  --ink-2: #132630;
  --ink-3: #2b3d47;
  --paper: #f6f7f2;
  --paper-2: #edf0e7;
  --paper-3: #e3e7dd;
  --white: #ffffff;
  --green: #0f7654;
  --green-2: #22a06b;
  --green-soft: #e3f4ea;
  --lime: #c8f169;
  --lime-soft: #effbcf;
  --ochre: #c97a3d;
  --ochre-soft: #f8ecdf;
  --red: #b94a3b;
  --red-soft: #f7e7e3;
  --amber: #a87216;
  --amber-soft: #f7eeda;
  --slate: #5f6e76;
  --slate-2: #8a969c;
  --line: #dfe3d7;
  --line-dark: rgba(246, 247, 242, 0.15);
  --font-display: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1220px;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(10, 22, 32, 0.08);
  --shadow-lg: 0 30px 90px rgba(10, 22, 32, 0.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--green); text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--green-2); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--green-soft); color: var(--ink); }
.skip {
  position: absolute; left: 1rem; top: -5rem; z-index: 200;
  background: var(--ink); color: var(--paper); border-radius: var(--radius-sm);
  padding: 0.7rem 1.1rem; text-decoration: none; transition: top 0.15s ease;
}
.skip:focus { top: 1rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1.1rem, 3vw, 2.5rem); }
.narrow { max-width: 760px; }
.small-note { color: var(--slate); font-size: 0.88rem; line-height: 1.6; }
.inline-form { display: inline; }
.link-button {
  border: 0; background: none; padding: 0; color: inherit; font: inherit;
  cursor: pointer; text-decoration: underline; text-underline-offset: 0.18em;
}

/* ---------- type ---------- */

h1, h2, h3 { margin: 0 0 0.7rem; color: var(--ink); font-family: var(--font-display); font-weight: 700; letter-spacing: -0.035em; }
h1 {
  font-size: clamp(3rem, 5.6vw, 5.5rem); line-height: 0.98; letter-spacing: -0.055em;
}
h1 em, h2 em { font-style: normal; color: var(--green); }
h2 {
  font-size: clamp(2.1rem, 4vw, 3.45rem); line-height: 1.02; letter-spacing: -0.045em;
}
h3 { font-size: 1.08rem; line-height: 1.3; letter-spacing: -0.02em; }
p { margin: 0 0 1rem; color: var(--slate); max-width: 62ch; }
.lede {
  font-size: clamp(1.08rem, 1.6vw, 1.25rem); line-height: 1.58;
  color: #53636b; max-width: 54ch; margin-bottom: 1.6rem;
}
.lede-light { color: rgba(246, 247, 242, 0.76); }
.eyebrow {
  display: block; margin: 0 0 1.1rem;
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.15em;
  text-transform: uppercase; font-weight: 600; color: var(--ink-3);
}
.eyebrow::before {
  content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--green-2); margin-right: 0.55rem; vertical-align: 0.08em;
  box-shadow: 0 0 0 3px var(--green-soft);
}
.eyebrow-light { color: rgba(246, 247, 242, 0.68); }
.eyebrow-light::before { background: var(--lime); box-shadow: 0 0 0 3px rgba(200, 241, 105, 0.15); }
.text-link { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; font-size: 0.95rem; text-decoration: none; color: var(--green); }
.text-link:hover { gap: 0.7rem; }
.text-link .icon { width: 18px; height: 18px; transition: transform 0.2s ease; }
.text-link:hover .icon { transform: translateX(2px); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 46px; padding: 0.7rem 1.15rem;
  border: 1px solid var(--ink); border-radius: 999px;
  background: var(--ink); color: var(--paper); font: inherit; font-size: 0.95rem; font-weight: 600;
  text-decoration: none; cursor: pointer; transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn:hover { background: var(--green); border-color: var(--green); color: var(--white); transform: translateY(-1px); }
.btn-accent { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.btn-accent:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn .icon { width: 18px; height: 18px; }
.btn-large { min-height: 54px; padding: 0.8rem 1.4rem; font-size: 1rem; }
.btn-small { min-height: 38px; padding: 0.45rem 0.9rem; font-size: 0.86rem; }
.btn-ghost { background: transparent; border-color: rgba(10, 22, 32, 0.18); color: var(--ink); }
.btn-ghost:hover { background: var(--white); border-color: var(--ink); color: var(--ink); }
.btn-light { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn-outline-light { background: transparent; border-color: rgba(246, 242, 233, 0.35); color: var(--paper); }
.btn-outline-light:hover { background: rgba(246, 242, 233, 0.08); border-color: var(--paper); color: var(--paper); }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* ---------- header ---------- */

.site-head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246, 242, 233, 0.92);
  border-bottom: 1px solid rgba(217, 210, 195, 0.7);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}
.site-head.is-scrolled { box-shadow: 0 8px 30px rgba(16, 27, 36, 0.06); background: rgba(246, 242, 233, 0.97); }
.head-bar { display: flex; align-items: center; gap: 1.5rem; min-height: 74px; }
.brand-lockup { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.08rem; letter-spacing: -0.02em; }
.brand-lockup .mark { width: 30px; height: 30px; border-radius: 7px; }
.brand-lockup.is-dark { color: var(--paper); }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 1.35rem; }
.site-nav a { color: var(--ink-3); text-decoration: none; font-size: 0.9rem; font-weight: 500; }
.site-nav a:hover { color: var(--green); }
.site-nav a.on { color: var(--green); }
.site-nav a.btn { color: var(--white); }
.site-nav a.btn:hover { color: var(--white); }
.nav-signin { padding-left: 0.2rem; }
.nav-divider { width: 1px; height: 20px; background: var(--line); margin: 0 0.1rem; }
.nav-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: transparent; cursor: pointer; padding: 11px 10px; }
.nav-toggle span { display: block; height: 1.5px; background: var(--ink); margin: 4px 0; transition: transform 0.2s ease; }

/* ---------- hero ---------- */

.hero {
  position: relative; overflow: hidden;
  padding: clamp(3.5rem, 7vw, 6.5rem) 0 0;
  background:
    radial-gradient(1100px 600px at 85% 8%, rgba(46, 138, 103, 0.09), transparent 65%),
    linear-gradient(180deg, var(--paper) 0%, #f3eee3 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(16, 27, 36, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(16, 27, 36, 0.035) 1px, transparent 1px);
  background-size: 63px 63px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.55), transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-copy h1 { max-width: 18ch; margin-bottom: 1.5rem; }
.hero-copy .lede { max-width: 46ch; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; list-style: none; margin: 2rem 0 0; padding: 0; }
.hero-proof li { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.84rem; color: #4a5a63; }
.hero-proof .icon { width: 15px; height: 15px; color: var(--green); }
.hero-visual { position: relative; }
.plan-panel {
  position: relative; background: var(--ink); border-radius: 10px; overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(16, 27, 36, 0.2);
}
.plan-svg { display: block; width: 100%; height: auto; }
.plan-card {
  position: absolute; left: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem);
  background: rgba(246, 242, 233, 0.96); border: 1px solid rgba(246, 242, 233, 0.9);
  border-radius: 7px; padding: 1rem 1.15rem 0.95rem; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
}
.plan-card-top { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.plan-ref { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; color: var(--slate); }
.plan-title { margin: 0.35rem 0 0.8rem; color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.mini-steps { display: flex; flex-wrap: wrap; gap: 0.35rem; list-style: none; margin: 0 0 0.65rem; padding: 0; }
.mini-steps li { font-size: 0.66rem; letter-spacing: 0.02em; padding: 0.22rem 0.5rem; border-radius: 3px; background: rgba(16, 27, 36, 0.07); color: var(--slate); }
.mini-steps li.done { color: var(--green); background: var(--green-soft); }
.mini-steps li.now { color: var(--white); background: var(--green); font-weight: 600; }
.plan-next { margin: 0; font-size: 0.72rem; color: var(--slate); }
.plan-next span { color: var(--ink); font-weight: 600; }
.pill { display: inline-flex; align-items: center; padding: 0.24rem 0.55rem; border-radius: 999px; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.02em; white-space: nowrap; }
.pill-live { background: var(--green-soft); color: var(--green); }
.pill-quiet { background: rgba(16, 27, 36, 0.07); color: var(--slate); }
.hero-strip {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin-top: clamp(2.5rem, 5vw, 4.5rem); border-top: 1px solid var(--line);
}
.strip-item { padding: 1.4rem 1.5rem 1.5rem 0; border-right: 1px solid var(--line); }
.strip-item:last-child { border-right: 0; }
.strip-item strong { display: block; font-size: 0.8rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink); margin-bottom: 0.35rem; }
.strip-item span { display: block; font-size: 0.82rem; color: var(--slate); line-height: 1.5; max-width: 30ch; }

/* ---------- sections ---------- */

.section { padding: clamp(4rem, 8vw, 7.5rem) 0; }
.section-alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(2.2rem, 4vw, 3.6rem); }
.section-head h2 { max-width: 16ch; }
.section-head .lede { margin-bottom: 0; }
.section-problem { background: var(--paper); }
.problem-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.problem-points-four { grid-template-columns: repeat(4, 1fr); }
.point { border-top: 1px solid var(--line); padding-top: 1.2rem; }
.point-num { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; color: var(--slate); }
.point h3 { margin-top: 0.55rem; }
.point p { font-size: 0.94rem; margin-bottom: 0; }

/* hand-off diagram */
.handoff { position: relative; border: 1px solid var(--line); background: rgba(255,255,255,0.55); border-radius: var(--radius); padding: 1.4rem 1.5rem 1.2rem; overflow: hidden; }
.handoff-row { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.handoff-node { border: 1px solid var(--line); background: var(--white); border-radius: var(--radius-sm); padding: 0.5rem 0.8rem; font-size: 0.82rem; font-weight: 600; color: var(--ink-3); }
.handoff-gap { flex: 1 1 18px; min-width: 14px; border-top: 1px dashed var(--slate-2); position: relative; }
.handoff-gap::after { content: ""; position: absolute; right: -1px; top: -3.5px; width: 6px; height: 6px; border-top: 1px solid var(--slate-2); border-right: 1px solid var(--slate-2); transform: rotate(45deg); }
.handoff-you { margin: 1rem 0 1.1rem; text-align: center; }
.handoff-you span { display: inline-block; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ochre); border-top: 1px solid var(--ochre); border-bottom: 1px solid var(--ochre); padding: 0.25rem 0.6rem; }
.handoff-joined { display: flex; align-items: center; gap: 0.85rem; flex-wrap: wrap; }
.joined-label { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); }
.joined-line { flex: 1 1 120px; height: 2px; background: var(--green); position: relative; }
.joined-line::after { content: ""; position: absolute; right: 0; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.joined-note { font-size: 0.82rem; font-weight: 600; color: var(--green); }

/* ---------- offers ---------- */

.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.offer-grid-two { grid-template-columns: repeat(2, 1fr); }
.offer-card {
  position: relative; display: flex; flex-direction: column;
  border: 1px solid var(--line); background: var(--white); border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.4rem; box-shadow: 0 1px 1px rgba(16,27,36,.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.offer-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c8bfae; }
.offer-card-feature { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.offer-card-feature.offer-card h3, .offer-card-feature.offer-card .offer-kicker { color: var(--paper); }
.offer-card-feature.offer-card p { color: rgba(246,242,233,.7); }
.offer-card-feature.offer-card li { color: rgba(246,242,233,.82); }
.offer-card-feature.offer-card .offer-icon { background: rgba(246,242,233,.1); color: var(--green-2); }
.offer-card-feature.offer-card .text-link { color: var(--green-2); }
.offer-card-feature:hover { border-color: var(--ink); }
.offer-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 8px; background: var(--green-soft); color: var(--green); margin-bottom: 1.1rem; }
.offer-icon .icon { width: 23px; height: 23px; }
.offer-kicker { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); margin-bottom: 0.35rem; font-weight: 600; }
.offer-card h3 { font-family: var(--font-display); font-size: 1.65rem; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 0.55rem; }
.offer-card > p { font-size: 0.94rem; margin-bottom: 1rem; }
.offer-card ul { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.offer-card li { position: relative; padding-left: 1.15rem; margin: 0.38rem 0; font-size: 0.88rem; color: var(--ink-3); }
.offer-card li::before { content: ""; position: absolute; left: 0; top: 0.52rem; width: 6px; height: 6px; border-radius: 50%; background: var(--green-2); }
.offer-card .text-link { margin-top: auto; }

/* ---------- process ---------- */

.section-process { background: var(--paper); }
.process-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.process-item { display: grid; grid-template-columns: 80px minmax(0, 1fr) 260px; gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.process-num { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.1em; color: var(--slate); padding-top: 0.25rem; }
.process-body h3 { font-size: 1.18rem; margin-bottom: 0.3rem; }
.process-body p { margin: 0; font-size: 0.94rem; max-width: 58ch; }
.process-meta { display: flex; flex-direction: column; gap: 0.3rem; font-family: var(--font-mono); font-size: 0.7rem; color: var(--slate); padding-top: 0.3rem; }
.process-meta span:first-child { color: var(--ochre); }
.process-note { margin-top: 1.6rem; }

/* ---------- developer band ---------- */

.section-developer { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.section-developer::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(246,242,233,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(246,242,233,.05) 1px, transparent 1px);
  background-size: 71px 71px; mask-image: radial-gradient(700px 400px at 80% 20%, #000, transparent 75%);
}
.developer-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.section-developer h2 { color: var(--paper); }
.section-developer p { color: rgba(246,242,233,.72); }
.developer-list { list-style: none; margin: 0 0 2rem; padding: 0; }
.developer-list li { display: flex; gap: 0.9rem; padding: 0.65rem 0; border-top: 1px solid var(--line-dark); color: rgba(246,242,233,.85); font-size: 0.94rem; }
.developer-list li:last-child { border-bottom: 1px solid var(--line-dark); }
.developer-list span { font-family: var(--font-mono); font-size: 0.68rem; color: var(--green-2); padding-top: 0.2rem; }
.developer-stats { display: grid; gap: 0.8rem; }
.stat-card { border: 1px solid var(--line-dark); background: rgba(246,242,233,.04); border-radius: var(--radius); padding: 1.2rem 1.25rem; }
.stat-value { display: block; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1; color: var(--paper); letter-spacing: -0.03em; margin-bottom: 0.5rem; }
.stat-label { display: block; font-size: 0.82rem; line-height: 1.5; color: rgba(246,242,233,.62); }
.stat-card-quote p { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.3; color: var(--paper); margin-bottom: 0.5rem; }
.stat-card-quote span { font-size: 0.76rem; color: rgba(246,242,233,.55); }

/* ---------- evidence ---------- */

.evidence-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.evidence-card { border-top: 2px solid var(--green); background: var(--white); border-radius: 0 0 var(--radius) var(--radius); padding: 1.5rem; box-shadow: 0 1px 1px rgba(16,27,36,.02); }
.evidence-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 8px; background: var(--green-soft); color: var(--green); margin-bottom: 1rem; }
.evidence-icon .icon { width: 22px; height: 22px; }
.evidence-card p { font-size: 0.92rem; margin-bottom: 0; }

/* ---------- portal preview ---------- */

.section-portal { background: var(--paper-2); border-top: 1px solid var(--line); }
.portal-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.check-list { list-style: none; margin: 0 0 1.8rem; padding: 0; }
.check-list li { display: flex; align-items: flex-start; gap: 0.55rem; margin: 0.5rem 0; font-size: 0.94rem; color: var(--ink-3); }
.check-list .icon { width: 17px; height: 17px; color: var(--green); margin-top: 0.22rem; flex: 0 0 auto; }
.portal-mock { background: var(--white); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-lg); overflow: hidden; }
.mock-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--line); }
.mock-head strong { display: block; font-size: 0.98rem; color: var(--ink); }
.mock-ref { display: block; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; color: var(--slate); margin-bottom: 0.2rem; }
.mock-stage { display: flex; gap: 0.3rem; flex-wrap: wrap; padding: 0.8rem 1.25rem; border-bottom: 1px solid var(--line); background: #faf8f3; }
.mock-stage span { font-size: 0.66rem; padding: 0.2rem 0.45rem; border-radius: 3px; color: var(--slate); background: rgba(16,27,36,.05); }
.mock-stage span.done { color: var(--green); background: var(--green-soft); }
.mock-stage span.now { color: var(--white); background: var(--green); font-weight: 600; }
.mock-body { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.mock-needs { padding: 1.15rem 1.25rem; border-right: 1px solid var(--line); }
.mock-needs p { font-size: 0.88rem; color: var(--ink-3); margin: 0.4rem 0 0.7rem; }
.mock-label { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); }
.mock-action { font-size: 0.78rem; font-weight: 600; color: var(--green); }
.mock-files { padding: 1.15rem 1.25rem; }
.mock-file { display: flex; align-items: center; gap: 0.5rem; padding: 0.42rem 0; border-bottom: 1px solid #eee7da; font-size: 0.8rem; color: var(--ink-3); }
.mock-file:last-child { border-bottom: 0; }
.file-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-2); flex: 0 0 auto; }
.mock-date { margin-left: auto; font-family: var(--font-mono); font-size: 0.66rem; color: var(--slate-2); }
.mock-foot { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 1.25rem; border-top: 1px solid var(--line); background: #faf8f3; font-size: 0.68rem; color: var(--slate); }

/* ---------- coverage ---------- */

.coverage-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.coverage-card { padding: 1.3rem 1.1rem 1.4rem; border-right: 1px solid var(--line); }
.coverage-card:last-child { border-right: 0; }
.coverage-state { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.12em; color: var(--green); }
.coverage-places { font-size: 0.88rem; color: var(--ink); font-weight: 600; margin: 0.4rem 0 0.45rem; line-height: 1.4; }
.coverage-note { font-size: 0.78rem; color: var(--slate); margin: 0; line-height: 1.5; }
.coverage-foot { margin-top: 1.4rem; }
.coverage-table { border-top: 1px solid var(--line); }
.coverage-row { display: grid; grid-template-columns: 70px 1.1fr 1.6fr 110px; gap: 1.2rem; align-items: center; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.coverage-code { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; color: var(--green); }
.coverage-main h3 { margin: 0 0 0.15rem; font-size: 1rem; }
.coverage-main p { margin: 0; font-size: 0.82rem; color: var(--slate); }
.coverage-detail { margin: 0; font-size: 0.82rem; color: var(--slate); }
.coverage-row .pill { justify-self: start; }
.coverage-explain { max-width: 760px; margin-top: 3rem; border-left: 2px solid var(--green); padding-left: 1.4rem; }
.coverage-explain h2 { font-size: 1.8rem; }
.coverage-explain p { font-size: 0.95rem; }

/* ---------- fees ---------- */

.section-fees { background: var(--paper); }
.fees-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); }
.fee-points { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.fee-points > div { display: grid; grid-template-columns: 50px 1fr; gap: 0.6rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.fee-num { font-family: var(--font-mono); font-size: 0.7rem; color: var(--slate); padding-top: 0.25rem; }
.fee-points h3 { font-size: 1rem; margin-bottom: 0.15rem; }
.fee-points p { font-size: 0.9rem; margin: 0; }
.fee-points .text-link { margin-top: 1.3rem; }

/* ---------- FAQ ---------- */

.section-faq { background: var(--paper-2); border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 0.98rem; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { width: 16px; height: 16px; position: relative; flex: 0 0 auto; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; background: var(--green); transition: transform 0.2s ease; }
.faq-plus::before { left: 0; right: 0; top: 7px; height: 1.5px; }
.faq-plus::after { top: 0; bottom: 0; left: 7px; width: 1.5px; }
.faq-item[open] .faq-plus::after { transform: scaleY(0); }
.faq-answer { padding: 0 0 1.2rem; }
.faq-answer p { font-size: 0.94rem; margin: 0; max-width: 62ch; }

/* ---------- CTA ---------- */

.section-cta { background: var(--green); color: var(--paper); padding: clamp(3.5rem, 6vw, 5.5rem) 0; }
.section-cta h2 { color: var(--paper); }
.section-cta p { color: rgba(246,242,233,.78); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: clamp(2rem, 5vw, 4rem); }
.cta-inner > div:first-child { max-width: 640px; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 0.8rem; flex: 0 0 auto; }
.cta-link { color: rgba(246,242,233,.82); font-size: 0.9rem; }

/* ---------- page hero ---------- */

.page-hero { padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); background: var(--paper); border-bottom: 1px solid var(--line); }
.page-hero-compact { padding-bottom: 2.5rem; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: end; }
.page-hero h1 { max-width: 14ch; margin-bottom: 1.2rem; }
.page-hero-aside { border-left: 1px solid var(--line); padding-left: 1.4rem; }
.aside-label { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); margin-bottom: 0.7rem; }
.aside-list { list-style: none; margin: 0; padding: 0; }
.aside-list li { padding: 0.42rem 0; border-bottom: 1px solid var(--line); font-size: 0.86rem; color: var(--ink-3); }
.aside-list li:last-child { border-bottom: 0; }
.aside-text { font-size: 0.92rem; color: var(--ink-3); }
.page-hero-dark { background: var(--ink); border-bottom-color: var(--ink-3); }
.page-hero-dark h1 { color: var(--paper); }
.page-hero-dark h1 em { color: var(--green-2); }
.page-hero-dark .lede { color: rgba(246,242,233,.72); }
.page-hero-dark .eyebrow { color: var(--green-2); }
.page-hero-aside-dark { border-left-color: var(--line-dark); }
.page-hero-aside-dark .aside-label { color: rgba(246,242,233,.55); }
.page-hero-aside-dark .small-note { color: rgba(246,242,233,.45); }
.hero-stat { padding: 0.9rem 0; border-bottom: 1px solid var(--line-dark); }
.hero-stat span { display: block; font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: var(--paper); margin-bottom: 0.35rem; }
.hero-stat p { font-size: 0.8rem; line-height: 1.45; color: rgba(246,242,233,.6); margin: 0; }

/* ---------- split sections ---------- */

.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.split-reverse { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.service-list { border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 50px 1fr; gap: 0.6rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.service-row > span { font-family: var(--font-mono); font-size: 0.7rem; color: var(--slate); padding-top: 0.25rem; }
.service-row h3 { font-size: 1rem; margin-bottom: 0.15rem; }
.service-row p { font-size: 0.9rem; margin: 0; }
.quote-block { background: var(--ink); color: var(--paper); border-radius: var(--radius); padding: 2rem; }
.quote-block p { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.2; letter-spacing: -0.02em; color: var(--paper); margin-bottom: 1rem; }
.quote-block span { font-size: 0.82rem; color: rgba(246,242,233,.55); }

/* ---------- timeline ---------- */

.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.timeline-item { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 1.5rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.timeline-num { font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.1em; color: var(--green); }
.timeline-content h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 0.6rem; }
.timeline-content > p { font-size: 0.98rem; max-width: 68ch; }
.timeline-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.timeline-columns h3 { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); margin-bottom: 0.5rem; }
.timeline-columns ul { margin: 0; padding-left: 1rem; }
.timeline-columns li { font-size: 0.88rem; color: var(--ink-3); margin: 0.25rem 0; }
.timeline-columns p { font-size: 0.88rem; margin: 0; }

/* ---------- portal features ---------- */

.portal-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.portal-feature { border-top: 1px solid var(--line); padding-top: 1.2rem; }
.portal-feature p { font-size: 0.9rem; margin-bottom: 0; }
.steps-mini { border-top: 1px solid var(--line); }
.steps-mini > div { display: flex; gap: 0.8rem; align-items: baseline; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.steps-mini span { font-family: var(--font-mono); font-size: 0.7rem; color: var(--green); }
.steps-mini p { margin: 0; font-size: 0.94rem; color: var(--ink-3); }

/* ---------- team ---------- */

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.team-card { border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); padding: 1.5rem; }
.team-avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 1rem; }
.team-card h3 { margin-bottom: 0.1rem; }
.team-role { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); margin-bottom: 0.6rem; }
.team-card p:last-child { font-size: 0.88rem; margin: 0; }
.team-note { margin-top: 1.5rem; }

/* ---------- forms ---------- */

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 2.4rem); box-shadow: var(--shadow); }
.form-card-large { padding: clamp(1.4rem, 4vw, 2.6rem); }
.form-card h2 { font-size: 1.7rem; margin-bottom: 0.5rem; }
.form-intro { font-size: 0.92rem; }
.form-section { padding-bottom: 1.4rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.form-section:last-of-type { border-bottom: 0; }
.form-section h2 { font-size: 0.72rem; font-family: var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); margin-bottom: 1rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 1rem; }
.field { display: flex; flex-direction: column; gap: 0.3rem; }
.field-wide { grid-column: 1 / -1; }
.field-label { font-size: 0.8rem; font-weight: 600; color: var(--ink-3); }
.req { color: var(--ochre); margin-left: 0.2rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 0.94rem; color: var(--ink);
  background: #fdfbf7; border: 1px solid #cfc6b6; border-radius: var(--radius-sm);
  padding: 0.62rem 0.7rem; min-height: 44px; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(46,138,103,.14); }
.field-help { font-size: 0.75rem; color: var(--slate); }
.check { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.82rem; color: var(--slate); margin: 1rem 0; }
.check input { margin-top: 0.25rem; accent-color: var(--green); }
.form-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 0.5rem; }
.form-small { font-size: 0.75rem; color: var(--slate); margin-top: 0.8rem; }
.form-status { font-size: 0.85rem; color: var(--green); min-height: 1rem; }
.flash { border-radius: var(--radius-sm); padding: 0.8rem 1rem; font-size: 0.9rem; margin-bottom: 1.2rem; }
.flash-error { background: var(--red-soft); border: 1px solid #e3b7ae; color: #7d2c22; }
.flash-ok { background: var(--green-soft); border: 1px solid #b9d7c7; color: var(--green); }

/* ---------- login / thanks ---------- */

.login-section { background: var(--paper); }
.login-grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.login-copy h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); max-width: 11ch; }
.login-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.login-card h2 { font-size: 1.8rem; }
.login-card .btn { margin-top: 1rem; }
.dev-box { margin-top: 1rem; padding: 0.9rem 1rem; background: var(--amber-soft); border: 1px solid #e2c98f; border-radius: var(--radius-sm); font-size: 0.8rem; color: #6b4d16; }
.dev-box p { color: inherit; margin: 0 0 0.4rem; }
.dev-box a { word-break: break-all; color: #6b4d16; }
.thanks-section { min-height: 60vh; }
.thanks-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; margin: 1.5rem 0; }
.numbered { margin: 0; padding-left: 1.2rem; }
.numbered li { margin: 0.5rem 0; font-size: 0.94rem; color: var(--ink-3); }

/* ---------- prose ---------- */

.prose h2 { font-size: 1.6rem; margin-top: 2rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 0.96rem; max-width: 70ch; }

/* ---------- error ---------- */

.error-section { min-height: 55vh; }

/* ---------- footer ---------- */

.site-foot { background: var(--ink); color: var(--paper); padding: clamp(3rem, 5vw, 4.5rem) 0 1.5rem; }
.site-foot .brand-lockup { color: var(--paper); margin-bottom: 1rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.foot-lede { color: rgba(246,242,233,.6); font-size: 0.88rem; max-width: 34ch; margin: 0 0 1rem; }
.foot-contact a { color: rgba(246,242,233,.82); font-size: 0.88rem; }
.foot-col h3 { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(246,242,233,.45); margin-bottom: 0.8rem; }
.foot-col a { display: block; color: rgba(246,242,233,.72); text-decoration: none; font-size: 0.85rem; padding: 0.22rem 0; }
.foot-col a:hover { color: var(--paper); }
.foot-base { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid var(--line-dark); }
.foot-base p { color: rgba(246,242,233,.42); font-size: 0.72rem; margin: 0; }
.foot-legal { display: flex; gap: 0.5rem; align-items: center; }
.foot-legal a { color: rgba(246,242,233,.55); }

/* ---------- app (portal and console) ---------- */

.app-body { background: #f3f5ef; min-height: 100vh; }
.app-head { background: #08131b; border-bottom: 1px solid rgba(246,242,233,.1); }
.app-wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(1rem, 3vw, 2rem); }
.app-bar { display: flex; align-items: center; gap: 1.5rem; min-height: 64px; }
.app-brand { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--paper); text-decoration: none; font-weight: 700; font-size: 0.98rem; }
.mark-small { width: 26px; height: 26px; border-radius: 6px; }
.app-tag { font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-2); border: 1px solid rgba(46,138,103,.4); border-radius: 3px; padding: 0.12rem 0.35rem; margin-left: 0.2rem; }
.app-nav { display: flex; align-items: center; gap: 1rem; }
.app-nav a { color: rgba(246,242,233,.62); text-decoration: none; font-size: 0.84rem; padding: 0.3rem 0; border-bottom: 2px solid transparent; }
.app-nav a:hover { color: var(--paper); }
.app-nav a.on { color: var(--paper); border-bottom-color: var(--green-2); }
.app-user { margin-left: auto; display: flex; align-items: center; gap: 0.9rem; }
.app-who { color: rgba(246,242,233,.55); font-size: 0.78rem; }
.app-site-link { color: rgba(246,242,233,.7); font-size: 0.78rem; text-decoration: none; }
.app-user .link-button { color: rgba(246,242,233,.7); font-size: 0.78rem; }
.app-main { padding: clamp(1.5rem, 4vw, 2.8rem) 0 4rem; }
.app-main h1 { font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 500; letter-spacing: -0.03em; margin-bottom: 0.3rem; }
.app-main h2 { font-family: var(--font-sans); font-size: 1.05rem; letter-spacing: -0.01em; margin: 1.8rem 0 0.7rem; }
.app-main h3 { font-size: 0.95rem; }
.app-main p { font-size: 0.9rem; }
.app-main a { color: var(--green); }
.app-main a.btn { color: var(--white); }
.app-main a.btn:hover { color: var(--white); }
.app-main a.btn-ghost, .app-main a.btn-light { color: var(--ink); }
.app-main a.card { color: inherit; }
.job-card, .job-card * { text-decoration: none !important; }
.job-card h3 { color: var(--ink); }
.job-card .ref, .job-card .app-sub { color: var(--slate); }
.app-kicker { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); margin-bottom: 0.4rem; }
.app-sub { color: var(--slate); font-size: 0.9rem; }
.app-section { margin-top: 1.8rem; }
.app-grid { display: grid; gap: 1rem; }
.app-grid-2 { grid-template-columns: 1fr 1fr; }
.app-grid-3 { grid-template-columns: repeat(3, 1fr); }
.app-grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.15rem 1.25rem; }
.card h2, .card h3 { margin-top: 0; }
.card-tight { padding: 0.9rem 1rem; }
.metric { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; }
.metric-value { display: block; font-family: var(--font-display); font-size: 2rem; line-height: 1; letter-spacing: -0.03em; color: var(--ink); margin-bottom: 0.3rem; }
.metric-label { display: block; font-size: 0.75rem; color: var(--slate); }
.table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
table.data { width: 100%; border-collapse: collapse; font-size: 0.84rem; }
table.data th, table.data td { text-align: left; padding: 0.65rem 0.8rem; border-bottom: 1px solid #ece5d8; vertical-align: top; }
table.data th { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); background: #faf8f3; white-space: nowrap; }
table.data tr:last-child td { border-bottom: 0; }
table.data a { text-decoration: none; font-weight: 600; }
.ref { font-family: var(--font-mono); font-size: 0.72rem; color: var(--slate); white-space: nowrap; }
.tag { display: inline-flex; align-items: center; padding: 0.18rem 0.45rem; border-radius: 3px; font-size: 0.68rem; font-weight: 600; background: rgba(16,27,36,.06); color: var(--slate); white-space: nowrap; }
.tag-green { background: var(--green-soft); color: var(--green); }
.tag-amber { background: var(--amber-soft); color: var(--amber); }
.tag-red { background: var(--red-soft); color: var(--red); }
.tag-ochre { background: var(--ochre-soft); color: var(--ochre); }
.empty { padding: 2rem 1rem; text-align: center; color: var(--slate); font-size: 0.9rem; }
.job-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.job-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; font-size: 0.8rem; color: var(--slate); margin-top: 0.4rem; }
.job-meta strong { color: var(--ink-3); font-weight: 600; }
.stagebar { display: flex; gap: 0.3rem; flex-wrap: wrap; margin: 1rem 0 0.6rem; }
.stagebar span { font-size: 0.66rem; padding: 0.24rem 0.48rem; border-radius: 3px; background: rgba(16,27,36,.06); color: var(--slate); }
.stagebar span.done { background: var(--green-soft); color: var(--green); }
.stagebar span.now { background: var(--green); color: var(--white); font-weight: 600; }
.next-step { border-left: 2px solid var(--green); padding-left: 0.9rem; margin: 1rem 0; }
.next-step p { margin: 0; color: var(--ink-3); }
.split-card { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 1.2rem; align-items: start; }
.timeline-feed { list-style: none; margin: 0; padding: 0; }
.timeline-feed li { position: relative; padding: 0 0 1rem 1.2rem; border-left: 1px solid var(--line); margin-left: 0.25rem; }
.timeline-feed li:last-child { border-left-color: transparent; }
.timeline-feed li::before { content: ""; position: absolute; left: -4px; top: 0.35rem; width: 7px; height: 7px; border-radius: 50%; background: var(--green-2); }
.feed-time { display: block; font-family: var(--font-mono); font-size: 0.64rem; color: var(--slate); margin-bottom: 0.15rem; }
.feed-body { font-size: 0.86rem; color: var(--ink-3); }
.feed-body strong { color: var(--ink); }
.doc-list { list-style: none; margin: 0; padding: 0; }
.doc-item { display: flex; align-items: center; gap: 0.7rem; padding: 0.7rem 0; border-bottom: 1px solid #ece5d8; }
.doc-item:last-child { border-bottom: 0; }
.doc-icon { width: 32px; height: 36px; border: 1px solid var(--line); border-radius: 3px; display: grid; place-items: center; font-family: var(--font-mono); font-size: 0.55rem; color: var(--slate); background: #faf8f3; flex: 0 0 auto; }
.doc-main { min-width: 0; }
.doc-name { display: block; font-size: 0.86rem; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.doc-meta { display: block; font-size: 0.72rem; color: var(--slate); }
.doc-side { margin-left: auto; text-align: right; flex: 0 0 auto; }
.doc-side a { font-size: 0.75rem; font-weight: 600; text-decoration: none; }
.thread { list-style: none; margin: 0; padding: 0; }
.message { border: 1px solid var(--line); background: var(--white); border-radius: var(--radius-sm); padding: 0.8rem 0.9rem; margin-bottom: 0.6rem; }
.message.is-staff { background: var(--green-soft); border-color: #c6dfd2; }
.message-head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.6rem; margin-bottom: 0.35rem; }
.message-author { font-size: 0.78rem; font-weight: 700; color: var(--ink); }
.message-time { font-family: var(--font-mono); font-size: 0.62rem; color: var(--slate); }
.message p { margin: 0; font-size: 0.86rem; color: var(--ink-3); white-space: pre-wrap; }
.message-form textarea, .form-card textarea { width: 100%; }
.inline-form-row { display: flex; gap: 0.5rem; align-items: flex-end; flex-wrap: wrap; }
.inline-form-row .field { flex: 1 1 180px; }
.inline-form-row .btn { min-height: 44px; }
.app-note { background: var(--amber-soft); border: 1px solid #e2c98f; color: #6b4d16; border-radius: var(--radius-sm); padding: 0.7rem 0.9rem; font-size: 0.82rem; margin: 1rem 0; }
.app-note a { color: #6b4d16; }
.filter-bar { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; margin: 1rem 0; }
.filter-bar a { font-size: 0.78rem; text-decoration: none; padding: 0.3rem 0.6rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--slate); }
.filter-bar a.on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.admin-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: 1.2rem; align-items: start; }
.admin-side { display: grid; gap: 1rem; }
.form-compact .field input, .form-compact .field select, .form-compact .field textarea { min-height: 40px; padding: 0.45rem 0.55rem; font-size: 0.88rem; }
.form-compact .form-grid { gap: 0.6rem 0.8rem; }
.form-compact .field-label { font-size: 0.72rem; }
.form-compact .btn { min-height: 40px; padding: 0.45rem 0.8rem; font-size: 0.86rem; }
.upload-zone { border: 1px dashed #c8bfae; border-radius: var(--radius-sm); padding: 1rem; background: #fdfbf7; }
.upload-zone input[type=file] { border: 0; background: none; padding: 0; min-height: auto; }
.check-row { display: flex; gap: 0.5rem; align-items: center; font-size: 0.8rem; color: var(--ink-3); margin: 0.5rem 0; }
.check-row input { accent-color: var(--green); }
.app-empty { background: var(--white); border: 1px dashed var(--line); border-radius: var(--radius); padding: 2rem; text-align: center; }
.app-empty p { margin: 0 auto; max-width: 44ch; }

/* ---------- reveal ---------- */

.js .reveal.will-reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.will-reveal.is-in { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal.will-reveal { opacity: 1; transform: none; transition: none; }
  .btn, .offer-card, .text-link .icon { transition: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { max-width: 16ch; }
  .hero-visual { max-width: 620px; }
  .hero-strip { grid-template-columns: 1fr 1fr; }
  .strip-item { border-bottom: 1px solid var(--line); padding: 1.1rem 1rem 1.1rem 0; }
  .strip-item:nth-child(2n) { border-right: 0; }
  .strip-item:nth-last-child(-n+2) { border-bottom: 0; }
  .developer-grid, .portal-grid, .fees-grid, .faq-grid, .split, .split-reverse, .login-grid, .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-aside { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 1.2rem; }
  .page-hero-aside-dark { border-top-color: var(--line-dark); }
  .problem-points-four { grid-template-columns: 1fr 1fr; }
  .coverage-grid { grid-template-columns: 1fr 1fr; }
  .coverage-card { border-bottom: 1px solid var(--line); }
  .coverage-card:nth-child(2n) { border-right: 0; }
  .admin-grid { grid-template-columns: 1fr; }
  .split-card { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 0.8rem 1.2rem 1.2rem; box-shadow: 0 20px 30px rgba(16,27,36,.08);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.7rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .site-nav a.btn { margin-top: 0.8rem; border-bottom: 0; justify-content: center; }
  .nav-divider { display: none; }
  .nav-toggle { display: block; }
  .head-bar { position: relative; }
  .offer-grid, .offer-grid-two, .evidence-grid, .portal-features, .team-grid, .app-grid-3, .app-grid-4 { grid-template-columns: 1fr; }
  .offer-grid-two { grid-template-columns: 1fr 1fr; }
  .process-item { grid-template-columns: 50px 1fr; }
  .process-meta { grid-column: 2; flex-direction: row; gap: 1rem; padding-top: 0; }
  .timeline-item { grid-template-columns: 50px 1fr; gap: 1rem; }
  .timeline-columns { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-base { flex-direction: column; align-items: flex-start; }
  .app-bar { flex-wrap: wrap; padding-top: 0.6rem; padding-bottom: 0.6rem; }
  .app-user { margin-left: auto; }
  .app-nav { order: 3; width: 100%; overflow-x: auto; padding-bottom: 0.2rem; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-needs { border-right: 0; border-bottom: 1px solid var(--line); }
  .coverage-row { grid-template-columns: 55px 1fr; }
  .coverage-row .coverage-detail { grid-column: 2; }
  .coverage-row .pill { grid-column: 2; justify-self: start; }
}

@media (max-width: 620px) {
  h1 { font-size: clamp(2.5rem, 11vw, 3.6rem); }
  h2 { font-size: clamp(1.85rem, 8vw, 2.5rem); }
  .hero { padding-top: 2.2rem; }
  .hero-strip { grid-template-columns: 1fr; }
  .strip-item { border-right: 0; border-bottom: 1px solid var(--line); padding-right: 0; }
  .strip-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .strip-item:last-child { border-bottom: 0; }
  .problem-points, .problem-points-four { grid-template-columns: 1fr; }
  .offer-grid-two { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .coverage-grid { grid-template-columns: 1fr; }
  .coverage-card { border-right: 0; }
  .foot-grid { grid-template-columns: 1fr; }
  .handoff-node { font-size: 0.72rem; padding: 0.4rem 0.55rem; }
  .handoff-gap { flex-basis: 8px; min-width: 8px; }
  .app-grid-2 { grid-template-columns: 1fr; }
  .app-user .app-who { display: none; }
  .hero-stat span { font-size: 1.8rem; }
  .section { padding: 3.2rem 0; }
  .page-hero { padding: 2.6rem 0 2.4rem; }
}

/* ============================================================
   Fresh visual layer: imagery, softer surfaces, pill actions.
   These rules intentionally come after the base system so they
   can replace the earlier editorial treatment without touching
   the portal and console layouts.
   ============================================================ */

.site-head { background: rgba(246, 247, 242, 0.94); border-bottom-color: rgba(223, 227, 215, 0.8); }
.site-head.is-scrolled { background: rgba(255, 255, 255, 0.96); box-shadow: 0 12px 40px rgba(10, 22, 32, 0.07); }
.brand-lockup { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.035em; }
.site-nav a { font-size: 0.88rem; }
.site-nav a.btn { border-radius: 999px; }

.hero { padding: clamp(2.8rem, 5vw, 4.8rem) 0 0; background:
  radial-gradient(900px 500px at 90% 10%, rgba(200, 241, 105, 0.2), transparent 60%),
  radial-gradient(700px 500px at 0% 80%, rgba(34, 160, 107, 0.09), transparent 65%),
  var(--paper); }
.hero::before { background-image: linear-gradient(rgba(10, 22, 32, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(10, 22, 32, 0.035) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(180deg, rgba(0,0,0,.5), transparent 72%); }
.hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2.2rem, 5vw, 4.6rem); }
.hero-copy h1 { max-width: 19ch; font-size: clamp(2.7rem, 3.55vw, 3.9rem); margin-bottom: 1.35rem; }
.hero-copy .lede { max-width: 45ch; }
.hero-proof { margin-top: 1.8rem; gap: 0.45rem 1rem; }
.hero-proof li { background: rgba(255,255,255,.66); border: 1px solid rgba(223,227,215,.8); border-radius: 999px; padding: 0.32rem 0.65rem; font-size: 0.78rem; }
.hero-proof .icon { width: 14px; height: 14px; }

.hero-visual { position: relative; padding: 0 0 1.6rem 1.4rem; }
.hero-photo { position: relative; margin: 0; border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink); box-shadow: var(--shadow-lg); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10,22,32,.28)); pointer-events: none; }
.hero-plan-pin { position: absolute; top: 1.6rem; left: -1.4rem; width: 168px; background: #fff; border: 6px solid #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 18px 40px rgba(10,22,32,.22); transform: rotate(-4deg); z-index: 2; }
.hero-plan-pin img { display: block; width: 100%; height: 210px; object-fit: cover; object-position: 50% 18%; }
.hero-plan-pin span { display: block; padding: 0.45rem 0.55rem; font-family: var(--font-mono); font-size: 0.56rem; letter-spacing: 0.11em; text-transform: uppercase; color: var(--slate); }
.hero-visual .plan-card { left: 2rem; right: -0.8rem; bottom: 0; background: rgba(255,255,255,.96); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 24px 55px rgba(10,22,32,.22); }
.hero-visual .plan-title { font-size: 1rem; }
.hero-visual .plan-next { font-size: 0.72rem; }

.hero-strip { margin-top: clamp(2rem, 4vw, 3.2rem); background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 0.55rem 0.4rem; position: relative; z-index: 2; overflow: hidden; }
.hero-strip .strip-item { padding: 1.05rem 1.25rem; border-right: 1px solid var(--line); }
.hero-strip .strip-item:last-child { border-right: 0; }
.hero-strip .strip-item strong { display: block; font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; letter-spacing: -0.025em; text-transform: none; color: var(--ink); margin-bottom: 0.2rem; }
.hero-strip .strip-item span { font-size: 0.78rem; color: var(--slate); line-height: 1.45; max-width: none; }

.work-section { padding-top: clamp(3.4rem, 6vw, 5.5rem); background: var(--paper); }
.work-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.6rem; }
.work-head h2 { max-width: 13ch; margin-bottom: 0; }
.work-head p { max-width: 40ch; margin: 0; font-size: 0.92rem; }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 12px; }
.work-item { position: relative; margin: 0; border-radius: 18px; overflow: hidden; background: var(--ink); min-width: 0; }
.work-item.big { grid-column: span 2; grid-row: span 2; }
.work-item.tall { grid-row: span 2; }
.work-item.full { grid-column: 1 / -1; grid-row: span 2; }
.work-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s cubic-bezier(.2,.7,.2,1); }
.work-item:hover img { transform: scale(1.035); }
.work-item.plan { background: #eeeee5; }
.work-item.plan figcaption { background: linear-gradient(transparent 8%, rgba(10,22,32,.9) 62%); }
.work-item.plan img { object-fit: contain; padding: 16px; }
.work-item.full.plan img { object-fit: cover; object-position: 50% 18%; padding: 0; }
.work-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.15rem 1.2rem; color: var(--paper); background: linear-gradient(transparent, rgba(10,22,32,.84)); }
.work-cat { display: inline-block; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lime); background: #0a1620; padding: 0.18rem 0.45rem; border-radius: 4px; margin-bottom: 0.35rem; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.work-item figcaption strong { display: block; font-family: var(--font-display); font-size: 1rem; font-weight: 700; line-height: 1.25; }
.work-note { margin-top: 0.9rem; font-size: 0.7rem; color: var(--slate); }

.offer-card { padding: 0; border-radius: 20px; overflow: hidden; }
.offer-media { height: 190px; overflow: hidden; background: var(--ink); }
.offer-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s ease; }
.offer-card:hover .offer-media img { transform: scale(1.035); }
.offer-body { display: flex; flex-direction: column; flex: 1; padding: 1.35rem 1.4rem 1.45rem; }
.offer-body .offer-icon { margin-top: 0; }
.offer-card h3 { font-weight: 800; }
.offer-card-feature .offer-media { height: 210px; }

.process-layout { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(2rem, 4vw, 3.6rem); align-items: start; }
.process-sticky { position: sticky; top: 100px; }
.process-photo { margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink); box-shadow: var(--shadow); }
.process-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.process-quote { margin-top: 12px; background: var(--ink); color: var(--paper); border-radius: 18px; padding: 1.15rem 1.2rem; }
.process-quote p { margin: 0 0 0.35rem; color: var(--paper); font-family: var(--font-display); font-size: 1.08rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.02em; }
.process-quote span { font-size: 0.74rem; color: rgba(246,247,242,.58); }
.process-layout .process-list { border-top: 0; }
.process-layout .process-item { grid-template-columns: 52px minmax(0, 1fr); gap: 0.9rem; padding: 1.15rem 0; }
.process-layout .process-meta { grid-column: 2; flex-direction: row; flex-wrap: wrap; gap: 0.9rem; padding-top: 0; }
.process-layout .process-body h3 { font-size: 1.12rem; }

.section-developer { position: relative; overflow: hidden; background: var(--ink); }
.developer-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.3; filter: saturate(0.75); }
.developer-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,22,32,.97) 0%, rgba(10,22,32,.84) 48%, rgba(10,22,32,.55) 100%); }
.section-developer::before { display: none; }
.developer-grid { position: relative; z-index: 1; }
.section-developer .stat-card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); backdrop-filter: blur(10px); }
.section-developer .stat-value { color: var(--lime); }

.portal-shot { margin: 0; border-radius: 22px; overflow: hidden; border: 1px solid rgba(10,22,32,.12); box-shadow: var(--shadow-lg); background: #fff; }
.portal-shot-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #eef0e8; border-bottom: 1px solid var(--line); }
.portal-shot-bar span { width: 8px; height: 8px; border-radius: 50%; background: #c4cbbd; }
.portal-shot-bar em { margin-left: 8px; font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.08em; color: var(--slate); font-style: normal; }
.portal-shot img { display: block; width: 100%; height: auto; }

.photo-band { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 clamp(2.5rem, 5vw, 4rem); }
.photo-band figure { margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink); }
.photo-band img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-band.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.photo-band figure.plan { background: #eeeee5; }
.photo-band figure.plan img { object-fit: cover; padding: 0; }

.page-hero-photo { margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); background: var(--ink); }
.page-hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.section-cta { position: relative; overflow: hidden; background: var(--ink); }
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.28; filter: saturate(0.8); }
.section-cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,22,32,.96), rgba(10,22,32,.62)); }
.cta-inner { position: relative; z-index: 1; }
.section-cta h2 { color: var(--paper); }
.section-cta .lede { color: rgba(246,247,242,.74); }
.section-cta .cta-link { color: rgba(246,247,242,.7); }

.section-alt { background: var(--paper-2); }
.section-head .lede { color: #53636b; }
.faq-grid h2, .fees-grid h2, .portal-grid h2, .developer-grid h2 { max-width: 14ch; }

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 620px; padding-left: 1.4rem; }
  .hero-copy h1 { max-width: 16ch; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-item.big { grid-column: span 2; grid-row: span 1; }
  .work-item.tall { grid-row: span 1; }
  .process-layout { grid-template-columns: 1fr; }
  .process-sticky { position: static; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 1rem; align-items: stretch; }
  .process-photo { aspect-ratio: 16 / 10; }
  .process-quote { margin-top: 0; display: flex; flex-direction: column; justify-content: center; }
  .photo-band { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .hero-strip { grid-template-columns: 1fr 1fr; }
  .hero-strip .strip-item:nth-child(2n) { border-right: 0; }
  .hero-strip .strip-item { border-bottom: 1px solid var(--line); }
  .hero-strip .strip-item:nth-last-child(-n+2) { border-bottom: 0; }
  .work-head { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  .offer-media { height: 210px; }
  .process-sticky { grid-template-columns: 1fr; }
  .process-quote { display: none; }
  .photo-band { grid-template-columns: 1fr 1fr; }
  .photo-band figure:last-child { grid-column: span 2; aspect-ratio: 16 / 9; }
}

@media (max-width: 620px) {
  .handoff-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .handoff-gap { display: none; }
  .handoff-node { width: 100%; }
  .handoff-you { text-align: left; }
  .handoff-joined { flex-wrap: wrap; row-gap: 0.4rem; }
  .joined-line { flex: 1 1 100px; }
  .hero-copy h1 { font-size: clamp(2.7rem, 11.5vw, 3.8rem); }
  .hero-visual { padding-left: 1rem; }
  .hero-plan-pin { width: 120px; left: -0.6rem; top: 1rem; }
  .hero-plan-pin img { height: 145px; }
  .hero-visual .plan-card { left: 1rem; right: 0; bottom: 0; }
  .hero-strip { grid-template-columns: 1fr; }
  .hero-strip .strip-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-strip .strip-item:last-child { border-bottom: 0; }
  .work-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .work-item.big, .work-item.tall, .work-item.full { grid-column: auto; grid-row: auto; }
  .work-item.plan { grid-row: span 1; }
  .photo-band { grid-template-columns: 1fr; }
  .photo-band figure:last-child { grid-column: auto; aspect-ratio: 4 / 3; }
  .offer-media { height: 200px; }
}
