/* AI Operating Map — v3 design pass.
   Direction: read as a funded SaaS product, not a consultancy/content site (v2's failure
   mode). Confident sans-only type, real elevation, and — the actual fix — a rendered
   "product" mockup in the hero instead of a logo or a typographic list, because showing
   the thing working is what makes a product site feel valuable. Colour stays disciplined
   navy/#EBEBEB everywhere EXCEPT inside the product mockup, where status-tag colour is
   allowed, the way a real app's UI would look next to its own monochrome marketing shell. */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/static/fonts/plus-jakarta-sans/plus-jakarta-sans-variable.woff2") format("woff2");
}

:root {
  --navy: #052344;
  --ink: #0d1b2d;
  --bg: #ebebeb;
  --bg-alt: #f2f1ef;
  --panel: #ffffff;
  --line: rgba(5, 35, 68, 0.12);
  --line-soft: rgba(5, 35, 68, 0.07);
  --muted: #5b6472;
  --faint: #8a919c;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(5, 35, 68, 0.08);
  --shadow-md: 0 16px 40px -8px rgba(5, 35, 68, 0.16);
  --shadow-lg: 0 40px 100px -20px rgba(5, 35, 68, 0.28);
  --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", monospace;
  /* product-mockup-only palette */
  --tag-green: #1f8a67;
  --tag-green-bg: #e3f3ec;
  --tag-gold: #a3791f;
  --tag-gold-bg: #f6ecd6;
  --tag-blue: #2f5f9e;
  --tag-blue-bg: #e5edf7;
  --tag-grey: #6b7280;
  --tag-grey-bg: #eceef0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.v3 {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
.v3-main { flex: 1 0 auto; display: flex; flex-direction: column; }
.v3-main > *:last-child { flex: 1 0 auto; }
.v3 img { max-width: 100%; display: block; }
.v3 a { color: inherit; text-decoration: none; }
.v3 .wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ---- Header ---- */
.v3-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 50; }
.v3-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.v3-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1rem; letter-spacing: -0.01em; color: var(--navy); }
.v3-brand img { height: 26px; width: 26px; }
.v3-nav ul { list-style: none; display: flex; gap: 32px; margin: 0; padding: 0; }
.v3-nav a { font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.v3-nav a:hover { color: var(--navy); }
.v3-header-actions { display: flex; align-items: center; gap: 20px; }
.v3-mobile-toggle-input { display: none; }
.v3-mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--navy); }
.v3-mobile-toggle svg { width: 22px; height: 22px; display: block; }
.v3-mobile-menu { display: none; flex-direction: column; padding: 4px 24px 20px; border-top: 1px solid var(--line); }
.v3-mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.v3-mobile-menu li a { display: block; padding: 13px 0; font-size: 0.95rem; font-weight: 600; color: var(--navy); border-bottom: 1px solid var(--line-soft); }
.v3-mobile-menu a.v3-btn { display: inline-flex; text-align: center; justify-content: center; margin-top: 10px; border-bottom: none; }

/* ---- Buttons ---- */
a.v3-btn, label.v3-btn, button.v3-btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 12px 22px; background: var(--navy); color: #fff;
  font-weight: 700; font-size: 0.9rem; font-family: var(--sans); border: none; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: transform 0.12s, box-shadow 0.12s, background 0.12s;
}
a.v3-btn:hover, label.v3-btn:hover, button.v3-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); background: #08315e; }
a.v3-btn-ghost, label.v3-btn-ghost {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font-weight: 700; font-size: 0.9rem; color: var(--navy);
}
a.v3-btn-ghost:hover, label.v3-btn-ghost:hover { color: #08315e; }
a.v3-btn-outline, label.v3-btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  padding: 11px 21px; border: 1px solid var(--line); color: var(--navy);
  font-weight: 700; font-size: 0.9rem; border-radius: var(--radius); background: #fff;
}
a.v3-btn-outline:hover, label.v3-btn-outline:hover { border-color: var(--navy); }

/* ---- Hero ---- */
.v3-hero { padding: 76px 0 100px; position: relative; overflow: hidden; }
.v3-hero::before {
  content: ""; position: absolute; top: -220px; right: -160px; width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(5, 35, 68, 0.09) 0%, rgba(5, 35, 68, 0) 70%);
  pointer-events: none;
}
.v3-hero .wrap { position: relative; }
.v3-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; color: var(--navy);
  border: 1px solid var(--line); background: #fff;
  padding: 6px 14px 6px 10px; border-radius: 100px; margin-bottom: 16px;
}
.v3-kicker .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--tag-green); }
.v3-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: start; }
.v3-hero-main h1 {
  font-size: clamp(2.5rem, 4.4vw, 3.6rem); line-height: 1.08; letter-spacing: -0.03em;
  color: var(--navy); font-weight: 800; margin: 0 0 24px; max-width: 15ch;
  text-wrap: balance;
}
.v3-hero-main p { font-size: 1.15rem; color: var(--muted); max-width: 44ch; margin: 0 0 36px; line-height: 1.6; }
.v3-error { min-height: 58vh; display: flex; align-items: center; }
.v3-error .v3-hero-main h1, .v3-pillar-hero .v3-hero-main h1 { max-width: none; }
.v3-error-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 40px; width: 100%; }
.v3-error-visual { display: flex; justify-content: center; }
.v3-error-visual img { width: 100%; max-width: 300px; transform: rotate(-6deg); filter: drop-shadow(0 24px 48px rgba(5, 35, 68, 0.18)); }
.v3-error .v3-error-visual { align-self: center; margin-top: 58px; }
.v3-error .v3-error-visual img { max-width: 320px; opacity: 0.5; }
.v3-pillar-hero .v3-error-visual { align-self: center; margin-top: 0; }
.v3-pillar-hero .v3-error-visual img { max-width: 320px; }

.v3-legal-hero { padding: 56px 0 8px; }
.v3-legal-hero h1 { max-width: none; margin-bottom: 8px; }
.v3-legal-meta { color: var(--faint); font-size: 0.9rem; margin: 0; }
.v3-prose { max-width: 700px; padding: 40px 0 100px; }
.v3-prose h2 { color: var(--navy); font-size: 1.25rem; font-weight: 800; margin: 40px 0 12px; letter-spacing: -0.01em; }
.v3-prose h2:first-child { margin-top: 0; }
.v3-prose p { color: var(--muted); font-size: 1rem; line-height: 1.7; margin: 0 0 16px; }
.v3-prose a { color: var(--navy); font-weight: 600; }
.v3-prose ul { margin: 0 0 16px; padding-left: 20px; color: var(--muted); line-height: 1.7; }

.v3-modal-toggle-input { display: none; }
.v3-modal-overlay { display: none; position: fixed; inset: 0; z-index: 200; align-items: center; justify-content: center; padding: 20px; }
body:has(#v3-comingsoon:checked) .v3-modal-overlay { display: flex; }
body:has(#v3-comingsoon:checked) { overflow: hidden; }
.v3-modal-backdrop { position: absolute; inset: 0; background: rgba(5, 35, 68, 0.55); cursor: pointer; border: none; padding: 0; }
.v3-modal { position: relative; background: #fff; border-radius: var(--radius-lg); max-width: 420px; width: 100%; padding: 32px; box-shadow: var(--shadow-lg); }
.v3-modal-close { position: absolute; top: 14px; right: 16px; cursor: pointer; font-size: 1.5rem; line-height: 1; color: var(--faint); }
.v3-modal-close:hover { color: var(--navy); }
.v3-modal h3 { color: var(--navy); font-size: 1.3rem; font-weight: 800; margin: 14px 0 10px; letter-spacing: -0.01em; }
.v3-modal p { color: var(--muted); font-size: 0.95rem; line-height: 1.6; margin: 0 0 22px; }
.v3-hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.v3-hero-proof { display: flex; flex-direction: column; gap: 16px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); max-width: 42ch; }
.v3-hero-proof-item { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; color: var(--muted); line-height: 1.4; }
.v3-hero-proof-item .check {
  flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--tag-green-bg); color: var(--tag-green);
  display: flex; align-items: center; justify-content: center; font-size: 0.68rem; font-weight: 700; margin-top: 1px;
}

/* ---- Product mockup: a real left-nav app shell, not generic browser chrome.
   This is a stated design decision, not decoration: with 8+ top-level views (chart,
   tools, workflows, agents, decisions, reporting, sprints, vault) a left sidebar is
   the standard pattern for data-dense multi-view SaaS (Linear, Retool, Stripe
   dashboard) — a top nav runs out of room past 5-6 items. Colour system deliberately
   reuses this marketing site's navy/neutral palette rather than techshin-map's
   current navy/amber, so site and app read as one brand. See MIGRATION_PLAN.md. ---- */
.v3-mock-wrap { position: relative; padding: 14px 18px 10px 0; }
@keyframes v3-fold-in {
  0% { opacity: 0; transform: perspective(1400px) rotateY(-10deg) rotateX(5deg) scale(0.92); }
  100% { opacity: 1; transform: perspective(1400px) rotateY(0deg) rotateX(0deg) scale(1); }
}
.js .v3-fold-in {
  animation: v3-fold-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
  transform-origin: left center;
}
@media (prefers-reduced-motion: reduce) {
  .js .v3-fold-in { animation: none; }
}
.v3-mock-ghost {
  position: absolute; inset: 14px 18px 10px 0;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transform: rotate(3deg) translate(14px, -8px);
}
.v3-mock {
  position: relative;
  background: var(--panel); border-radius: var(--radius-lg); border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.v3-mock-shell { display: flex; min-height: 440px; }
.v3-mock-nav {
  width: 152px; flex-shrink: 0; background: #fafafa; border-right: 1px solid var(--line-soft);
  padding: 16px 10px; display: flex; flex-direction: column; gap: 2px;
}
.v3-mock-nav-brand { display: flex; margin: 2px 8px 14px; }
.v3-mock-nav-brand img { height: 18px; width: 18px; }
.v3-mock-nav-item {
  font-size: 0.76rem; font-weight: 600; color: var(--muted); padding: 7px 10px; border-radius: 7px;
}
.v3-mock-nav-item.active { background: var(--navy); color: #fff; font-weight: 700; }
.v3-mock-main { flex: 1; padding: 22px; min-width: 0; }
.v3-mock-topbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.v3-mock-org {
  font-size: 0.72rem; font-weight: 600; color: var(--muted); background: #fafafa;
  border: 1px solid var(--line-soft); border-radius: 100px; padding: 5px 12px; white-space: nowrap;
}
.v3-mock-title { font-size: 0.86rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.v3-mock-sub { font-size: 0.72rem; color: var(--faint); }

.v3-mock-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: 8px; overflow: hidden; margin: 16px 0 18px; }
.v3-mock-stats > div { background: #fff; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.v3-mock-stats .stat-value { font-size: 1.05rem; font-weight: 800; color: var(--navy); letter-spacing: -0.01em; }
.v3-mock-stats .stat-label { font-size: 0.62rem; color: var(--faint); text-transform: uppercase; letter-spacing: 0.03em; }

.v3-chain { display: flex; align-items: center; gap: 6px; margin-bottom: 22px; flex-wrap: wrap; }
.v3-chain-node {
  font-size: 0.72rem; font-weight: 700; padding: 7px 12px; border-radius: 7px;
  border: 1px solid var(--line);
}
.v3-chain-node.tool { color: var(--tag-blue); background: var(--tag-blue-bg); border-color: transparent; }
.v3-chain-node.workflow { color: var(--tag-gold); background: var(--tag-gold-bg); border-color: transparent; }
.v3-chain-node.agent { color: var(--tag-green); background: var(--tag-green-bg); border-color: transparent; }
.v3-chain-node.person { color: var(--navy); background: #eef1f5; border-color: transparent; }
.v3-chain-sep { color: var(--faint); font-size: 0.7rem; }

.v3-mock-table { border: 1px solid var(--line-soft); border-radius: 8px; overflow: hidden; }
.v3-mock-row {
  display: grid; grid-template-columns: 28px 1fr 0 auto; align-items: center; gap: 12px;
  padding: 11px 14px; border-bottom: 1px solid var(--line-soft); background: #fff;
}
.v3-mock-row:last-child { border-bottom: none; }
.v3-avatar { width: 22px; height: 22px; border-radius: 50%; }
.v3-avatar.a1 { background: linear-gradient(135deg, #3e6fa6, #6f9bd1); }
.v3-avatar.a2 { background: linear-gradient(135deg, #a3791f, #d1ac4f); }
.v3-avatar.a3 { background: linear-gradient(135deg, #1f8a67, #4fbf99); }
.v3-mock-row .name { font-size: 0.8rem; font-weight: 600; color: var(--ink); }
.v3-mock-row .role { font-size: 0.72rem; color: var(--faint); }
.v3-status { font-size: 0.68rem; font-weight: 700; padding: 4px 10px; border-radius: 100px; justify-self: end; white-space: nowrap; }
.v3-status.approved { color: var(--tag-green); background: var(--tag-green-bg); }
.v3-status.pending { color: var(--tag-gold); background: var(--tag-gold-bg); }
.v3-status.review { color: var(--tag-grey); background: var(--tag-grey-bg); }

/* ---- Strip ---- */
.v3-strip { border-top: 1px solid var(--line); padding: 22px 0; }
.v3-strip .wrap { display: flex; align-items: center; justify-content: center; gap: 10px; text-align: center; }
.v3-strip p { margin: 0; font-size: 0.88rem; color: var(--faint); }
.v3-strip strong { color: var(--muted); }

.v3-quote-wrap {
  position: relative; padding: 56px 0; background: #fff;
}
.v3-quote-wrap::before {
  content: ""; position: absolute; top: 50%; left: 50%; width: 900px; height: 400px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(5, 35, 68, 0.06) 0%, rgba(5, 35, 68, 0) 65%);
  pointer-events: none;
}
.v3-quote { position: relative; max-width: 760px; margin: 0 auto; text-align: center; }
.v3-quote-mark {
  display: block; font-family: Georgia, serif; font-size: 4.5rem; line-height: 1;
  color: var(--navy); opacity: 0.18; margin-bottom: -12px;
}
.v3-quote p {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 700; font-style: italic; color: var(--navy);
  line-height: 1.45; letter-spacing: -0.01em; margin: 0 0 20px;
}
.v3-quote cite { display: block; font-style: normal; font-size: 0.88rem; font-weight: 600; color: var(--muted); }
.v3-quote cite span { display: block; font-size: 0.8rem; font-weight: 400; color: var(--faint); margin-top: 2px; }

/* ---- Sections ---- */
.v3-section { padding: 100px 0; scroll-margin-top: 88px; }
#product { background: var(--bg-alt); }
.v3-section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.v3-section-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--navy); margin: 0 0 16px; letter-spacing: -0.02em; font-weight: 800; }
.v3-section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; line-height: 1.6; }
.v3-eyebrow {
  display: block; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--navy); font-weight: 700; margin-bottom: 14px;
}

/* ---- Six pillars: the six segments in the mark, not an arbitrary feature grid ---- */
/* Asymmetric on purpose - six identical equal-weight boxes in a grid is the
   "six pillars of our methodology" consulting-deck pattern. Varying the shapes
   (wide / normal / full-width horizontal) breaks that read regardless of icon
   style. No colour-coded top border either, same reasoning - the icon alone
   carries the colour now. */
.v3-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.v3-pillar.wide { grid-column: span 2; }
.v3-pillar.full { grid-column: span 3; flex-direction: row !important; align-items: flex-start; gap: 24px; }
.v3-pillar {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.v3-pillar-icon {
  display: flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 10px; color: var(--pc); flex-shrink: 0;
  background: rgba(5, 35, 68, 0.08);
  background: color-mix(in srgb, var(--pc) 14%, white);
}
.v3-pillar-icon svg { width: 20px; height: 20px; }
.v3-pillar h3 { margin: 10px 0 2px; font-size: 1.05rem; color: var(--navy); font-weight: 700; letter-spacing: -0.005em; }
.v3-pillar-tagline { margin: 0 0 14px; font-size: 0.78rem; color: var(--pc); font-weight: 600; font-style: italic; }
.v3-pillar > p:not(.v3-pillar-tagline) { margin: 0; font-size: 0.88rem; color: var(--muted); line-height: 1.55; }
.v3-pillar .v3-mini-list, .v3-pillar .v3-mini-badges { margin-top: 16px; }
.v3-pillar.full .v3-pillar-body h3 { margin-top: 0; }
.v3-pillar-body { display: flex; flex-direction: column; flex: 1; }

/* ---- Capability groups: "See it / Prove it / Run it" - inventory, evidence, operations ---- */
.v3-cap-label {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--tag-blue); font-weight: 700; margin: 0 0 18px;
  display: inline-block; border-top: 2px solid currentColor; padding-top: 12px;
}
.v3-cap-label:not(:first-child) { margin-top: 44px; }
.v3-cap-label.gold { color: var(--tag-gold); }
.v3-cap-label.green { color: var(--tag-green); }
/* Tight text list, not boxed cards - keeps a long feature list from reading as a
   wall of identical rectangles. Reserve the bordered-card treatment for the bento
   below, which has real visual content (mini-list, badges) to justify a box. */
.v3-cap-list { display: flex; flex-direction: column; }
.v3-cap-row {
  display: flex; flex-wrap: wrap; gap: 6px 28px; padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
.v3-cap-row strong { flex: 0 0 200px; color: var(--navy); font-weight: 700; font-size: 0.92rem; }
.v3-cap-row span { flex: 1 1 320px; color: var(--muted); font-size: 0.88rem; line-height: 1.5; }

/* ---- Bento feature grid: asymmetric, not three equal boxes ---- */
.v3-bento { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 20px; margin-top: 16px; }
.v3-bento-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.v3-bento-card.wide { grid-row: span 2; }
.v3-bento-card h3 { font-size: 1.1rem; color: var(--navy); margin: 0 0 8px; font-weight: 700; letter-spacing: -0.01em; }
.v3-bento-card p { color: var(--muted); font-size: 0.92rem; margin: 0 0 20px; line-height: 1.6; }

.v3-mini-list { display: flex; flex-direction: column; gap: 8px; }
.v3-mini-row {
  display: flex; align-items: center; gap: 10px; font-size: 0.82rem; color: var(--ink);
  background: #fafafa; border: 1px solid var(--line-soft); border-radius: 8px; padding: 10px 12px;
}
.v3-mini-row .check {
  width: 16px; height: 16px; border-radius: 50%; background: var(--tag-green-bg); color: var(--tag-green);
  display: flex; align-items: center; justify-content: center; font-size: 0.6rem; flex-shrink: 0;
}
.v3-mini-row .check.pending { background: var(--tag-gold-bg); color: var(--tag-gold); }
.v3-pillar-more { margin-top: auto; padding-top: 20px; font-size: 0.84rem; font-weight: 700; color: var(--pc); align-self: flex-start; }
.v3-pillar-more:hover { text-decoration: underline; }

.v3-pillar-mock-center { max-width: 640px; margin: 0 auto; }

.v3-breadcrumbs { padding: 18px 0; }
.v3-breadcrumbs ol { display: flex; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.v3-breadcrumbs li { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--faint); }
.v3-breadcrumbs li:not(:last-child)::after { content: "/"; color: var(--line); }
.v3-breadcrumbs a { color: var(--muted); font-weight: 600; }
.v3-breadcrumbs a:hover { color: var(--navy); }
.v3-breadcrumbs li[aria-current="page"] { color: var(--navy); font-weight: 600; }

.v3-faq-wrap { max-width: 760px; margin: 0 auto; padding-bottom: 40px; }
.v3-faq-section { margin-bottom: 40px; }
.v3-faq-section h2 { color: var(--navy); font-size: 1.4rem; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 8px; }
.v3-faq { border-bottom: 1px solid var(--line-soft); padding: 18px 0; }
.v3-faq summary {
  cursor: pointer; list-style: none; font-weight: 700; color: var(--navy); font-size: 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.v3-faq summary::-webkit-details-marker { display: none; }
.v3-faq summary::after {
  content: "+"; flex-shrink: 0; font-size: 1.3rem; font-weight: 400; color: var(--faint);
  line-height: 1; transition: transform 0.15s;
}
.v3-faq[open] summary::after { transform: rotate(45deg); }
.v3-faq p { color: var(--muted); font-size: 0.94rem; line-height: 1.65; margin: 14px 0 0; }

.v3-contact-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: start; padding-bottom: 100px; }
.v3-contact-info h1 { font-size: clamp(2rem, 3.4vw, 2.7rem); line-height: 1.1; letter-spacing: -0.02em; color: var(--navy); font-weight: 800; margin: 20px 0 16px; }
.v3-contact-info > p { color: var(--muted); font-size: 1.05rem; line-height: 1.6; max-width: 42ch; }
.v3-contact-info .v3-hero-proof { margin-top: 36px; padding-top: 28px; }
.v3-form-alt { margin-top: 28px; font-size: 0.88rem; color: var(--faint); }
.v3-form-alt a { color: var(--navy); font-weight: 600; }

.v3-contact-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 36px; margin-top: 28px; }
.v3-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.v3-field { margin-bottom: 18px; }
.v3-field:last-of-type { margin-bottom: 24px; }
.v3-field label { display: flex; align-items: baseline; gap: 5px; font-size: 0.82rem; font-weight: 700; color: var(--navy); margin-bottom: 7px; }
.v3-field label span { font-weight: 500; color: var(--faint); }
.v3-field input, .v3-field textarea {
  width: 100%; font-family: var(--sans); font-size: 0.95rem; color: var(--ink);
  padding: 12px 15px; border: 1px solid var(--line); border-radius: var(--radius); background: #fdfdfd;
  resize: vertical; transition: border-color 0.12s, box-shadow 0.12s, background 0.12s;
}
.v3-field input::placeholder, .v3-field textarea::placeholder { color: var(--faint); }
.v3-field input:hover, .v3-field textarea:hover { border-color: rgba(5, 35, 68, 0.22); }
.v3-field input:focus, .v3-field textarea:focus {
  outline: none; border-color: var(--navy); background: #fff;
  box-shadow: 0 0 0 3px rgba(5, 35, 68, 0.1);
}
.v3-form-submit { width: 100%; justify-content: center; padding: 14px 22px; font-size: 0.95rem; }
.v3-hp { position: absolute; left: -9999px; }
@media (max-width: 900px) {
  .v3-contact-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 640px) {
  .v3-form-row { grid-template-columns: 1fr; }
  .v3-contact-card { padding: 24px; }
}
.v3-mini-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.v3-mini-badges span {
  font-size: 0.72rem; font-weight: 700; padding: 6px 12px; border-radius: 100px; background: #fafafa;
  border: 1px solid var(--line-soft); color: var(--muted);
}

/* ---- Pricing ---- */
.v3-pricing-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.v3-pricing-layout-wide { grid-template-columns: 0.85fr 1.15fr; align-items: stretch; }
.v3-engage-group {
  border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 4px 16px;
  margin-top: 18px;
}
.v3-engage-group:first-of-type { margin-top: 24px; }
.v3-engage-group:last-of-type { margin-bottom: 28px; }
.v3-engage-subhead {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--faint); font-weight: 700; margin: 14px 0 4px;
}
.v3-price-nofee { margin: -10px 0 0; font-size: 0.88rem; color: var(--navy); font-weight: 700; }
.v3-price-tagline { margin: 0; font-size: 0.86rem; color: var(--muted); font-style: italic; }
.v3-price-excludes { margin: 0; font-size: 0.78rem; color: var(--faint); line-height: 1.5; }
.v3-price-footnote { margin: 20px 0 0; font-size: 0.78rem; color: var(--faint); line-height: 1.6; padding: 0 8px; }
.v3-price {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow-sm);
}
.v3-price.featured { box-shadow: var(--shadow-md); border-color: var(--navy); position: relative; }
.v3-price.featured::before {
  content: "Recommended"; position: absolute; top: -12px; left: 28px;
  background: var(--navy); color: #fff; font-size: 0.68rem; font-weight: 700;
  padding: 4px 12px; border-radius: 100px;
}
.v3-price .tag { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--faint); font-weight: 700; }
.v3-price .amount { font-size: 2.2rem; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.v3-price .amount small { font-size: 0.9rem; font-weight: 600; color: var(--faint); white-space: nowrap; }
.v3-price ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.v3-price li { font-size: 0.88rem; color: var(--muted); padding-left: 22px; position: relative; }
.v3-price li::before { content: ""; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--tag-green); }

/* Deliberately NOT styled as a competing pricing tier - a lighter, flatter info
   panel so it reads as "here's the alternative path" rather than "third price option." */
.v3-engage-panel {
  background: #fafafa; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; display: flex; flex-direction: column; gap: 4px;
  box-shadow: var(--shadow-sm);
}
.v3-engage-panel h3 { margin: 0 0 8px; color: var(--navy); font-size: 1.05rem; font-weight: 700; }
.v3-engage-panel > p { margin: 0 0 20px; color: var(--muted); font-size: 0.88rem; line-height: 1.5; }
.v3-engage-option { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.v3-engage-option:last-of-type { border-bottom: none; }
.v3-engage-option strong { display: block; color: var(--navy); font-size: 0.9rem; font-weight: 700; }
.v3-engage-option .detail { color: var(--faint); font-size: 0.78rem; margin-top: 3px; }
.v3-engage-option .price { color: var(--navy); font-weight: 700; font-size: 0.9rem; white-space: nowrap; }
.v3-engage-panel a.v3-btn-outline { margin-top: auto; align-self: flex-end; }

/* ---- Close ---- */
.v3-close { background: var(--navy); border-radius: var(--radius-lg); padding: 64px 56px; text-align: center; margin: 0 32px; }
.v3-close-inner { max-width: 640px; margin: 0 auto; }
.v3-close h2 { color: #fff; font-size: 2rem; margin: 0 0 14px; letter-spacing: -0.02em; }
.v3-close p { color: rgba(255,255,255,0.72); margin: 0 0 30px; font-size: 1.02rem; }
.v3-close a.v3-btn { background: #fff; color: var(--navy); }
.v3-close a.v3-btn:hover { background: #eef1f5; }
.v3-close-section { background: #fff; }
.v3-close-wrap { max-width: 1200px; margin: 0 auto; padding: 40px 0; }

/* ---- Footer ---- */
.v3-footer { padding: 16px 0 40px; background: #fff; }
.v3-footer-top { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 32px; border-bottom: 1px solid var(--line); margin-bottom: 24px; flex-wrap: wrap; gap: 40px; }
.v3-footer-brand-block { max-width: 280px; }
.v3-footer-tagline { margin: 10px 0 0; font-size: 0.86rem; color: var(--muted); line-height: 1.5; }
.v3-footer-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--navy); font-size: 0.95rem; }
.v3-footer-brand img { height: 20px; width: 20px; }
.v3-footer-cols { display: flex; gap: 48px; }
.v3-footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.v3-footer-col-title { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--faint); margin: 0 0 12px; }
.v3-footer-col a { font-size: 0.86rem; color: var(--muted); }
.v3-footer-col a:hover { color: var(--navy); }
.v3-footer-meta { font-size: 0.8rem; color: var(--faint); }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .v3-hero-grid { grid-template-columns: 1fr; }
  .v3-bento { grid-template-columns: 1fr; }
  .v3-bento-card.wide { grid-row: auto; }
  .v3-pricing-layout { grid-template-columns: 1fr; }
  .v3-close { margin: 0 20px; padding: 48px 28px; }
  .v3-pillars { grid-template-columns: 1fr 1fr; }
  .v3-pillar.wide, .v3-pillar.full { grid-column: span 2; }
  .v3-error-grid { grid-template-columns: 1fr; text-align: center; }
  .v3-error-visual { order: -1; margin-top: 0 !important; }
  .v3-error-visual img { max-width: 220px; }
  .v3-error .v3-hero-actions { justify-content: center; }
}
@media (max-width: 640px) {
  .v3-nav { display: none; }
  .v3-mobile-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .v3-header:has(#v3-mobile-toggle:checked) .v3-mobile-menu { display: flex; }
  .v3-header .wrap { height: auto; padding-top: 16px; padding-bottom: 16px; }
  .v3-brand { font-size: 0.88rem; }
  .v3-header-actions a.v3-btn-ghost, .v3-header-actions a.v3-btn { display: none; }
  .v3-hero { padding: 48px 0 64px; }
  .v3-section { padding: 64px 0; }
  .v3-close-wrap { padding-top: 64px; }
  .v3-mock-row { grid-template-columns: 24px 1fr 0 auto; gap: 8px; }
  .v3-mock-row .role { display: none; }
  .v3-cap-row strong { flex-basis: 100%; }
  .v3-mock-nav { display: none; }
  .v3-mock-main { padding: 16px; }
  .v3-mock-shell { min-height: auto; }
  .v3-mock-topbar { flex-direction: column; align-items: flex-start; gap: 8px; }
  .v3-mock-stats { grid-template-columns: 1fr 1fr; }
  .v3-mock-ghost { display: none; }
  .v3-mock-wrap { padding: 0; }
  .v3-pillars { grid-template-columns: 1fr; }
  .v3-pillar.wide, .v3-pillar.full { grid-column: span 1; }
  .v3-pillar.full { flex-direction: column !important; }
  .v3-footer-top { flex-direction: column; gap: 28px; }
  .v3-footer-cols { flex-wrap: wrap; gap: 32px; width: 100%; }
}
