/* pages.css (2026-10-02): the founder's mockups for /agents, /self-hosted and /sovereignty. One visual system for the
   three: an orange caps eyebrow, a large serif headline, white cards on the paper background, a check row under the
   calls to action, icon cards. The deeper sections each page kept from its previous version sit under body.pg and
   take the same type scale. Light only, like the rest of the site. */

body.pg { --card: #fff; --line: #ece4da; --blue: #2974a2; --blue-soft: #eef5fa; --blue-line: #cfe2ee; }
body.pg .eyebrow { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .16em; color: var(--accent); margin: 0 0 14px; }
body.pg .eyebrow .n { display: none; }
body.pg section.block { padding-top: 72px; }
body.pg section.block h2 { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 14px; max-width: 30ch; }
body.pg section.block .lede { font-family: var(--sans); font-size: 17px; line-height: 1.55; color: var(--ink-soft); margin: 0 0 28px; max-width: 70ch; }
body.pg .two .left p { font-family: var(--sans); font-size: 16.5px; line-height: 1.6; }
body.pg .panel, body.pg .stepcard { border-color: var(--line); border-radius: 12px; }
body.pg .btn { font-family: var(--sans); font-size: 16px; font-weight: 500; padding: 12px 26px; border-radius: 6px; background: var(--accent); }
body.pg .btn:hover { background: var(--accent-deep); }
body.pg nav.top .btn.sm { font-size: 15px; padding: 9px 20px; }
body.pg .btn.ghost { background: #fff; color: var(--ink); border: 1px solid #e7c8b9; }
body.pg .btn.ghost:hover { background: var(--tint); color: var(--ink); }
body.pg .btn svg { width: 18px; height: 18px; flex: none; }
body.pg .btn svg.ln { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }

.pg-h1 { font-size: clamp(44px, 6vw, 78px); line-height: 1.02; letter-spacing: -.03em; margin: 0 0 22px; }
.pg-lede { font-family: var(--serif); font-size: clamp(19px, 1.7vw, 23px); line-height: 1.4; color: var(--ink-soft); margin: 0 0 30px; max-width: 36ch; font-variation-settings: "opsz" 22; }
.pg-hero .ctas { gap: 14px; margin-bottom: 24px; }
.pg-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 14.5px; color: var(--ink-soft); }
.pg-checks li { display: flex; align-items: center; gap: 9px; }
.pg-checks li::before { content: ""; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg) translateY(-2px); flex: none; }
.pg-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.pg-ico { width: 44px; height: 44px; border-radius: 10px; background: var(--tint); color: var(--accent); display: grid; place-items: center; flex: none; }
.pg-ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pg-ico.blue { background: var(--blue-soft); color: var(--blue); }
.pg-ico.plain { background: transparent; width: 32px; height: 32px; }
.pg-more { display: inline-flex; gap: 8px; align-items: center; color: var(--accent-deep); font-size: 15px; font-weight: 500; margin-top: auto; padding-top: 14px; }
.pg-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.pg-sechead { display: flex; gap: 18px; align-items: flex-start; margin: 0 0 22px; }
body.pg .pg-sechead h2 { margin: 0 0 4px; font-size: clamp(24px, 2.2vw, 28px); }
.pg-sechead p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.pg-sechead > svg { width: 38px; height: 38px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.pg-tag { display: inline-block; font-size: 12.5px; padding: 4px 12px; border-radius: 999px; background: var(--tint); color: var(--accent-deep); }
.pg-tag.blue { background: var(--blue-soft); color: var(--blue); }

/* tabs (tabs.js): buttons with role=tab over panels; without the script the first panel shows */
.pg-tabs [role="tablist"] { display: flex; gap: 4px; flex-wrap: wrap; }
.pg-tabs [role="tab"] { font: inherit; font-size: 12.5px; white-space: nowrap; background: transparent; border: 0; border-bottom: 2px solid transparent; padding: 8px 7px; color: var(--ink-soft); cursor: pointer; }
.pg-tabs [role="tab"][aria-selected="true"] { color: var(--accent-deep); border-bottom-color: var(--accent); font-weight: 500; }
.pg-tabs [role="tabpanel"][hidden] { display: none; }

/* code with line numbers: one span.l per line */
/* the line spans stay inline so the pre's own newlines make the lines and copy.js copies them; the number is a ::before */
pre.pg-code { margin: 0; font-family: var(--mono); font-size: 12px; line-height: 1.75; color: var(--ink); white-space: pre; overflow-x: auto; counter-reset: ln; padding: 14px 16px 14px 0; }
pre.pg-code .l::before { counter-increment: ln; content: counter(ln); display: inline-block; width: 30px; margin-right: 16px; text-align: right; color: #b5aca2; user-select: none; }
pre.pg-code .c { color: var(--muted); }
pre.pg-code.dark { background: var(--night); color: #e7e3dc; border-radius: 0 0 10px 10px; }
pre.pg-code.dark .l::before { color: #6c7378; }
pre.pg-code.dark .c { color: #8f979c; }
pre.pg-code.dark .k { color: #f0a48a; }

/* ---------- /agents ---------- */
.ag-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 48px; align-items: center; padding-top: 8px; }
.ag-hero .pg-lede { max-width: 44ch; }
.ag-diagram { margin: 0; display: grid; grid-template-columns: 172px minmax(30px, 1fr) 120px minmax(30px, 1fr) minmax(0, 236px); height: 352px; }
.ag-agents { border: 1px dashed #b9d4e7; border-radius: 12px; background: rgba(238, 245, 250, .45); padding: 12px 10px 14px; display: flex; flex-direction: column; gap: 6px; }
.ag-agents > p { margin: 0 0 2px 6px; height: 24px; font-family: var(--serif); font-size: 15px; color: var(--blue); }
.ag-agents li, .ag-strip li { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 15px; color: var(--ink); }
.ag-agents ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ag-agents li { white-space: nowrap; height: 44px; padding: 0 10px; background: rgba(255, 255, 255, .8); border-radius: 8px; position: relative; }
.ag-agents li::after { content: ""; position: absolute; right: -14px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--blue); }
.ag-logo { width: 28px; height: 28px; flex: none; display: grid; place-items: center; }
.ag-logo svg, .ag-logo img { width: 26px; height: 26px; display: block; }
.ag-wire { width: 100%; height: 352px; overflow: visible; }
.ag-wire path { fill: none; stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.ag-wire.in path { stroke: #3d8fc4; }
.ag-wire.out path { stroke: var(--accent); }
.ag-hub { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 135px; text-align: center; } /* the box centre sits at 176 px, where the wires meet */
.ag-hub .box { width: 82px; height: 82px; border-radius: 14px; background: var(--tint); display: grid; place-items: center; box-shadow: 0 6px 20px rgba(224, 71, 28, .12); margin-bottom: 10px; }
.ag-hub > div { display: flex; flex-direction: column; align-items: center; }
.ag-hub b { font-family: var(--serif); font-size: 17px; font-weight: 600; }
.ag-hub span { font-family: var(--serif); font-size: 13px; color: var(--muted); line-height: 1.35; margin-top: 4px; }
.ag-dest { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ag-dest li { height: 79px; display: flex; gap: 14px; align-items: center; padding: 0 16px; }
.ag-dest b { display: block; font-family: var(--serif); font-size: 15.5px; font-weight: 600; }
.ag-dest span { display: block; font-family: var(--serif); font-size: 13.5px; color: var(--ink-soft); line-height: 1.35; }
.ag-dest a:hover b { color: var(--accent-deep); }

.ag-works { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 40px; align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 24px 0; margin-top: 56px; }
.ag-works .eyebrow { margin-bottom: 6px; }
.ag-works p.sm { margin: 0; color: var(--ink-soft); font-family: var(--serif); font-size: 16px; line-height: 1.4; }
.ag-works > div:first-child { border-right: 1px solid var(--line); padding-right: 28px; }
.ag-strip { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.ag-strip li { padding: 12px 18px; font-size: 16px; }

.ag-how { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 260px; gap: 20px; align-items: start; }
.ag-how h2 { max-width: none !important; }
.ag-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.ag-steps > div { display: grid; grid-template-columns: 40px 1fr; gap: 12px; position: relative; }
.ag-steps > div + div::before { content: "→"; position: absolute; left: -22px; top: 6px; color: #b5aca2; font-size: 18px; }
.ag-steps .num { width: 38px; height: 38px; border-radius: 50%; background: var(--tint); color: var(--accent); display: grid; place-items: center; font-family: var(--serif); font-size: 17px; font-weight: 600; }
.ag-steps h3 { white-space: nowrap; font-size: 16px; margin: 6px 0 6px; }
.ag-steps p { margin: 0; font-family: var(--serif); font-size: 13.5px; line-height: 1.45; color: var(--ink-soft); }
.ag-code { overflow: hidden; min-width: 0; }
.ag-code .bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); padding: 8px 10px 0 12px; }
.ag-code .bar button.copy { min-height: 30px; margin-bottom: 8px; border-color: var(--line); display: inline-flex; gap: 6px; align-items: center; }
.ag-code .bar button.copy:hover { background: var(--bg-soft); color: var(--ink); }
.ag-code pre.pg-code { height: 228px; overflow: auto; white-space: pre; }
.ag-copy { padding: 18px; background: linear-gradient(180deg, #fdf0e8, #fff 60%); }
.ag-copy h3 { display: flex; gap: 10px; align-items: center; font-size: 18px; margin: 0 0 8px; }
.ag-copy h3 svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.7; }
.ag-copy > p { margin: 0 0 16px; color: var(--ink-soft); font-family: var(--serif); font-size: 14.5px; line-height: 1.45; }
.ag-copy .act { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 42px; padding: 8px 14px; margin: 0 0 8px; font: inherit; font-size: 14px; white-space: nowrap; text-align: left; border-radius: 7px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.ag-copy .act svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ag-copy .act.primary { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 500; }
.ag-copy .act.primary:hover { background: var(--accent-deep); }
.ag-copy .act:not(.primary):hover { border-color: #e7c8b9; }

.ag-durable { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, minmax(0, .9fr)); gap: 20px; align-items: start; border-top: 1px solid var(--line); padding-top: 40px; }
.ag-durable .card { padding: 22px; display: flex; flex-direction: column; height: 100%; }
.ag-durable .card .top { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.ag-durable .card h3 { font-size: 17px; margin: 0; }
.ag-durable .card p { margin: 0; color: var(--ink-soft); font-family: var(--serif); font-size: 15px; line-height: 1.45; }
.ag-durable h2 { font-size: clamp(28px, 2.6vw, 34px) !important; }

/* ---------- /self-hosted ---------- */
.crumbs { font-size: 13.5px; color: var(--ink-soft); margin: -16px 0 22px; display: flex; gap: 10px; align-items: center; }
.crumbs a:hover { color: var(--accent-deep); }
.sh-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); background: var(--tint); padding: 6px 14px; border-radius: 999px; margin: 0 0 18px; }
.sh-pill svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.sh-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 32px; align-items: center; }
.sh-hero .pg-h1 { font-size: clamp(38px, 4.2vw, 58px); }
.sh-hero .btn { white-space: nowrap; padding: 12px 22px; }
.sh-hero .pg-lede { max-width: 46ch; font-size: clamp(18px, 1.5vw, 20px); }
.sh-arch { margin: 0; display: grid; grid-template-columns: minmax(0, .78fr) 34px minmax(0, 1.9fr) 34px minmax(0, .8fr); align-items: center; gap: 6px; }
.sh-col { padding: 14px 12px; }
.sh-col > p { margin: 0 0 10px; font-family: var(--serif); font-size: 13.5px; font-weight: 600; }
.sh-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.sh-col li { display: flex; min-width: 0; gap: 10px; align-items: center; font-family: var(--serif); font-size: 12.5px; line-height: 1.25; color: var(--ink-soft); }
.sh-col li b { display: block; color: var(--ink); font-weight: 600; font-size: 13px; }
.sh-col li svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--ink-soft); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sh-col.right li svg { stroke: var(--blue); }
.sh-arrow { width: 34px; height: 20px; color: var(--blue); }
.sh-arrow path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sh-infra { background: var(--blue-soft); border: 1px solid var(--blue-line); border-radius: 12px; padding: 14px; }
.sh-infra .hd { display: flex; gap: 12px; align-items: center; margin: 0 0 12px; }
.sh-infra .hd svg { width: 34px; height: 34px; fill: none; stroke: var(--blue); stroke-width: 1.6; }
.sh-infra .hd b { display: block; font-family: var(--serif); font-size: 14.5px; }
.sh-infra .hd span { display: block; line-height: 1.3; font-family: var(--serif); font-size: 12.5px; color: var(--ink-soft); }
.sh-box { border: 1px dashed #a9c8dc; border-radius: 10px; background: rgba(255, 255, 255, .5); padding: 12px; }
.sh-box .name { display: flex; justify-content: center; align-items: center; gap: 8px; font-family: var(--serif); font-size: 18px; font-weight: 600; margin: 0 0 12px; }
.sh-box ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sh-box li { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; }
.sh-box li svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sh-box li.b svg { stroke: var(--blue); }
.sh-box li b { display: block; font-family: var(--serif); font-size: 13.5px; }
.sh-box li span { display: block; font-family: var(--serif); font-size: 11.5px; color: var(--ink-soft); line-height: 1.3; }
.sh-compare { padding: 24px; }
.sh-compare table { width: 100%; min-width: 620px; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.sh-compare th, .sh-compare td { text-align: left; padding: 9px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.sh-compare thead th { font-family: var(--serif); font-size: 15px; font-weight: 600; padding: 12px 16px; }
.sh-compare td:first-child, .sh-compare th:first-child { width: 22%; font-family: var(--serif); font-size: 15px; color: var(--ink); white-space: nowrap; }
.sh-compare td:first-child svg { width: 17px; height: 17px; vertical-align: -3px; margin-right: 12px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sh-compare .m { background: #fdf3ee; color: var(--ink-soft); }
.sh-compare .s { background: #f1f6fa; color: var(--ink-soft); }
.sh-compare thead .m { background: #fbe4d8; border-radius: 8px 8px 0 0; }
.sh-compare thead .s { background: #dfecf5; border-radius: 8px 8px 0 0; }
.sh-runs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.sh-runs .card { padding: 20px 22px; display: grid; grid-template-columns: 40px 1fr; gap: 6px 10px; }
.sh-runs .card > svg { width: 30px; height: 30px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sh-runs .card.b > svg { stroke: var(--blue); }
.sh-runs h3 { font-size: 18px; margin: 3px 0 4px; }
.sh-runs p { margin: 0 0 14px; font-family: var(--serif); font-size: 14.5px; line-height: 1.45; color: var(--ink-soft); }
.sh-runs .pg-tag { justify-self: start; }
.sh-deploy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: start; }
.sh-deploy .pg-tabs [role="tablist"] { background: var(--bg-soft); border-radius: 8px; padding: 4px; display: inline-flex; gap: 2px; margin: 4px 0 18px; }
.sh-deploy .pg-tabs [role="tab"] { font-size: 14px; padding: 9px 22px; border: 0; border-radius: 6px; font-family: var(--serif); }
.sh-deploy .pg-tabs [role="tab"][aria-selected="true"] { background: #fff; color: var(--accent-deep); box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.sh-deploy [role="tabpanel"] p, .sh-deploy [role="tabpanel"] li { font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); }
.sh-deploy [role="tabpanel"] ol { padding-left: 1.2em; margin: 0; }
.sh-term { background: var(--night); border-radius: 10px; overflow: hidden; }
.sh-term .bar { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px 8px 18px; border-bottom: 1px solid #2c3337; color: #e7e3dc; font-family: var(--mono); font-size: 12.5px; }
.sh-term button.copy { color: #e7e3dc; border-color: #3b4246; min-height: 30px; display: inline-flex; gap: 6px; align-items: center; }
.sh-term button.copy:hover { background: #2c3337; }
.sh-term pre.pg-code { border-radius: 0; }

/* ---------- /sovereignty ---------- */
.sv-hero { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 36px; align-items: start; padding-top: 4px; }
.sv-hero .pg-h1 { font-size: clamp(40px, 4.3vw, 60px); }
.sv-hero .pg-lede { max-width: 40ch; font-size: clamp(18px, 1.5vw, 21px); margin-bottom: 18px; }
.sv-hero .more { font-family: var(--serif); font-size: 17px; line-height: 1.45; color: var(--muted); max-width: 46ch; margin: 0 0 30px; }
.sv-path { position: relative; overflow: hidden; border-radius: 12px; border: 1px solid var(--blue-line); background: #f3f8fb; padding: 24px 24px 18px; min-height: 356px; }
.sv-path > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 70%; opacity: .95; }
.sv-path > * { position: relative; }
.sv-path h2 { font-size: 23px !important; margin: 0 0 4px !important; }
.sv-path > p { margin: 0 0 24px; font-family: var(--serif); font-size: 15px; color: var(--ink-soft); }
.sv-legs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 12px; align-items: start; }
.sv-leg { background: rgba(255, 255, 255, .94); border: 1px solid var(--line); border-radius: 10px; padding: 14px 10px 12px; text-align: center; box-shadow: 0 4px 14px rgba(41, 116, 162, .08); position: relative; }
.sv-leg + .sv-leg::before { content: "→"; position: absolute; left: -12px; top: 52px; transform: translateX(-50%); color: var(--blue); font-size: 20px; }
.sv-leg img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; display: block; margin: 0 auto 8px; }
.sv-leg b { display: block; font-family: var(--serif); font-size: 16px; }
.sv-leg span { display: block; font-family: var(--serif); font-size: 13px; color: var(--ink-soft); line-height: 1.35; margin: 4px 0 10px; min-height: 35px; }
.sv-leg em { font-style: normal; font-size: 11.5px; color: var(--blue); background: var(--blue-soft); border-radius: 4px; padding: 3px 8px; text-decoration: underline; text-underline-offset: 2px; }
.sv-nous { display: block; width: 110px; border: 1px dashed #a9c8dc; background: rgba(255, 255, 255, .9); border-radius: 10px; padding: 14px 8px; text-align: center; font-family: var(--serif); font-size: 13px; line-height: 1.3; color: var(--blue); }
.sv-nous:hover { border-style: solid; }
.sv-nous svg { width: 58px; height: 58px; display: block; margin: 0 auto 8px; }
.sv-path .foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 58px; flex-wrap: wrap; }
.sv-path .legend { display: flex; gap: 18px; font-size: 12px; color: var(--ink-soft); background: rgba(255, 255, 255, .85); border-radius: 999px; padding: 6px 14px; }
.sv-path .legend span { display: inline-flex; gap: 6px; align-items: center; }
.sv-path .legend .dot::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--blue); display: inline-block; }
.sv-path .legend .dot.o::before { background: transparent; border: 1.5px solid var(--blue); }
.sv-path .see { font-size: 13px; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 7px 12px; }
.sv-path .see:hover { border-color: var(--blue); }
.sv-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 22px 0; margin-top: 22px; }
.sv-facts > div { display: grid; grid-template-columns: 70px 1fr; gap: 18px; padding: 0 26px; align-items: start; }
.sv-facts > div + div { border-left: 1px solid var(--line); }
.sv-facts .disc { width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft); }
.sv-facts .disc img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.sv-facts .disc svg { width: 34px; height: 34px; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sv-facts h3 { font-size: 19px; margin: 4px 0 6px; }
.sv-facts p { margin: 0; font-family: var(--serif); font-size: 15px; line-height: 1.45; color: var(--ink-soft); }
.sv-two { display: grid; grid-template-columns: minmax(0, 1.95fr) minmax(0, 1fr); gap: 20px; align-items: start; margin-top: 20px; }
.sv-two > .pg-card { padding: 20px 18px 18px; }
.sv-two h2 { font-size: 26px !important; margin: 0 0 4px !important; }
.sv-two .intro { margin: 0 0 16px; font-family: var(--serif); font-size: 15px; color: var(--ink-soft); line-height: 1.45; }
.sv-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 13.5px; border: 1px solid var(--line); border-radius: 8px; }
.sv-table th { text-align: left; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); background: #faf7f3; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.sv-table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; color: var(--ink-soft); font-family: var(--serif); font-size: 14px; line-height: 1.35; }
.sv-table tr:last-child td { border-bottom: 0; }
.sv-table td.comp { min-width: 210px; }
.sv-table td.comp .ci { display: flex; gap: 12px; align-items: center; }
.sv-table td.comp b { display: block; color: var(--ink); font-weight: 600; }
.sv-table td.comp .pg-ico { width: 36px; height: 36px; }
.sv-table td.comp .pg-ico svg { width: 21px; height: 21px; }
.sv-table td.loc { white-space: nowrap; }
.sv-table td.loc img { width: 20px; height: 14px; vertical-align: -2px; margin-right: 8px; border-radius: 2px; object-fit: cover; }
.sv-yes, .sv-no { display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; }
.sv-yes::before { content: "✓"; width: 22px; height: 22px; border-radius: 50%; background: #e3f3e9; color: var(--ok-text); display: grid; place-items: center; font-size: 12px; font-family: var(--sans); }
.sv-no::before { content: "–"; width: 22px; height: 22px; border-radius: 50%; background: var(--bg-soft); color: var(--muted); display: grid; place-items: center; font-size: 12px; font-family: var(--sans); }
.sv-deps { list-style: none; margin: 0 0 12px; padding: 0; border: 1px solid var(--line); border-radius: 8px; }
.sv-deps li { display: grid; grid-template-columns: 26px minmax(0, .9fr) minmax(0, 1.2fr) auto; gap: 10px; align-items: center; padding: 10px 12px; font-family: var(--serif); font-size: 13.5px; }
.sv-deps li + li { border-top: 1px solid var(--line); }
.sv-deps li b { font-weight: 600; }
.sv-deps li small { color: var(--ink-soft); font-size: 12.5px; line-height: 1.3; }
.sv-deps svg { width: 22px; height: 22px; }
.sv-deps .us { font-family: var(--sans); font-size: 11px; color: var(--ink-soft); background: var(--bg-soft); border-radius: 4px; padding: 3px 8px; white-space: nowrap; }
.sv-deps .us.you { color: var(--blue); background: var(--blue-soft); }
.sv-info { display: grid; grid-template-columns: 20px 1fr; gap: 10px; background: var(--blue-soft); border-radius: 8px; padding: 10px 12px; font-size: 13px; color: var(--ink-soft); line-height: 1.45; }
.sv-info svg { width: 18px; height: 18px; fill: none; stroke: var(--blue); stroke-width: 1.7; margin-top: 1px; }
.sv-info a { color: var(--accent-deep); border-bottom: 1px solid var(--accent); }
.sv-comp { padding: 20px 18px; margin-top: 20px; }
.sv-comp h2 { font-size: 26px !important; margin: 0 0 4px !important; }
.sv-comp > p { margin: 0 0 18px; font-family: var(--serif); font-size: 15px; color: var(--ink-soft); }
.sv-comp ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sv-comp li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 0 18px; }
.sv-comp li + li { border-left: 1px solid var(--line); }
.sv-comp li svg { width: 32px; height: 32px; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sv-comp h3 { font-size: 15.5px; margin: 2px 0 4px; }
.sv-comp li p { margin: 0; font-family: var(--serif); font-size: 13.5px; line-height: 1.45; color: var(--ink-soft); }
.sv-ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 26px; }
.sv-way { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 22px 24px; border-top: 3px solid var(--accent); transition: box-shadow .15s; }
.sv-way.b { border-top-color: var(--blue); }
.sv-way:hover { box-shadow: 0 6px 22px rgba(0, 0, 0, .06); }
.sv-way .pg-ico { width: 50px; height: 50px; }
.sv-way .eyebrow { margin-bottom: 6px; }
.sv-way.b .eyebrow { color: var(--blue); }
.sv-way h3 { font-size: 22px; margin: 0 0 10px; }
.sv-way ul { margin: 0; padding: 0 0 0 1.1em; font-family: var(--serif); font-size: 15.5px; line-height: 1.5; color: var(--ink-soft); }
.sv-part { margin: 56px 0 0; }
.sv-part h2 { font-size: clamp(28px, 2.8vw, 36px); margin: 0 0 6px; }
.sv-part > p:last-child { margin: 0; font-family: var(--serif); font-size: 17px; color: var(--ink-soft); }
.sv-comp { margin-top: 56px !important; }
.sv-on-dark { color: #f0a48a !important; }
.sv-run-facts { list-style: none; margin: 26px 0 18px; padding: 0; display: grid; gap: 12px; }
.sv-run-facts li { font-size: 15px; line-height: 1.55; color: #c9cfd2; padding-left: 16px; border-left: 2px solid #3d474d; }
.sv-run-facts b { color: #fff; font-weight: 500; }
.sv-fine { font-size: 13.5px; color: var(--muted); margin: 12px 2px 0; line-height: 1.5; }

@media (max-width: 1180px) {
  .ag-hero, .sh-hero, .sv-hero { grid-template-columns: 1fr; }
  .ag-how { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ag-how > div:first-child { grid-column: 1 / -1; }
  .ag-durable { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ag-durable > div:first-child { grid-column: 1 / -1; }
  .sh-runs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sv-two { grid-template-columns: minmax(0, 1fr); }
  .sv-ways { grid-template-columns: minmax(0, 1fr); }
  .sv-comp ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 0; }
  .sv-comp li:nth-child(3) { border-left: 0; }
}
@media (max-width: 860px) {
  .ag-diagram { grid-template-columns: 1fr; height: auto; gap: 18px; }
  .ag-wire { display: none; }
  .ag-agents li::after { display: none; }
  .ag-agents ul { display: grid; grid-template-columns: 1fr 1fr; }
  .ag-hub { flex-direction: row; gap: 14px; text-align: left; padding-top: 0; }
  .ag-hub .box { margin: 0; width: 60px; height: 60px; }
  .ag-hub > div { align-items: flex-start; }
  .ag-dest { display: grid; grid-template-columns: 1fr 1fr; }
  .ag-works { grid-template-columns: 1fr; gap: 16px; }
  .ag-works > div:first-child { border-right: 0; padding-right: 0; }
  .ag-how, .ag-durable { grid-template-columns: 1fr; }
  .ag-steps { grid-template-columns: 1fr; }
  .ag-steps > div + div::before { display: none; }
  .sh-arch { grid-template-columns: 1fr; }
  .sh-arrow { transform: rotate(90deg); justify-self: center; }
  .sh-deploy { grid-template-columns: 1fr; }
  .sv-legs { grid-template-columns: 1fr; }
  .sv-leg + .sv-leg::before { display: none; }
  .sv-nous { width: auto; }
  .sv-path .foot { margin-top: 20px; }
  .sv-facts { grid-template-columns: 1fr; gap: 20px; }
  .sv-facts > div { padding: 0; }
  .sv-facts > div + div { border-left: 0; }
}
@media (max-width: 640px) {
  .ag-dest, .ag-agents ul, .sh-runs, .sh-box ul { grid-template-columns: 1fr; }
  .sv-comp ul { grid-template-columns: 1fr; gap: 18px; }
  .sv-comp li { border-left: 0 !important; padding: 0; }
  .sv-deps li { grid-template-columns: 26px 1fr auto; }
  .sv-deps li small { grid-column: 2 / -1; }
  .sh-compare { padding: 12px; }
}
@media (max-width: 420px) {
  /* 360-375 px: the three tabs share the pill's width (a long label takes two lines inside its own tab) instead of
     the third tab wrapping under the first two */
  .sh-deploy .pg-tabs [role="tablist"] { display: flex; width: 100%; }
  .sh-deploy .pg-tabs [role="tab"] { flex: 1 1 auto; padding: 8px 10px; line-height: 1.25; text-align: center; }
}
body.pg #self-host { margin-top: 56px; }
body.pg #self-host .btn { margin-top: 14px; }

/* /enterprise (2026-10-15): icon-headed sections of small cards, the support table, the closing call. */
.ent-hero { padding-top: 24px; max-width: 860px; }
.ent-hero .pg-lede { max-width: 44ch; }
.ent-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ent-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ent-card { padding: 20px 22px; }
.ent-card h3 { font-size: 19px; font-weight: 500; margin: 0 0 6px; }
.ent-card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.ent-card a, .ent-list a, .ent-table a { color: var(--accent-deep); border-bottom: 1px solid var(--accent); }
.ent-list { margin: 0; padding-left: 20px; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.ent-table { padding: 6px 18px; margin-bottom: 16px; }
.ent-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ent-table th, .ent-table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ent-table tr:last-child td { border-bottom: 0; }
.ent-table td:first-child { font-weight: 500; white-space: nowrap; }
.ent-end { text-align: center; padding-bottom: 48px; }
body.pg .ent-end h2 { margin: 0 auto 12px; }
body.pg .ent-end .lede { margin: 0 auto 22px; }
@media (max-width: 900px) {
  .ent-grid, .ent-grid.two { grid-template-columns: minmax(0, 1fr); }
  .ent-table td:first-child { white-space: normal; }
}
/* /agents (2026-11-08): the five steps of the loop, and the garden's morning note */
.ag-loop { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: ag; }
.ag-loop li { counter-increment: ag; padding: 18px 18px 20px; }
.ag-loop li b { display: block; font-family: var(--serif); font-size: 22px; font-weight: 500; margin: 0 0 6px; }
.ag-loop li b::before { content: "0" counter(ag); display: block; font: 11px var(--mono); color: var(--accent); letter-spacing: .1em; margin-bottom: 8px; }
.ag-loop li p { margin: 0; font-size: 14.5px; color: var(--ink-soft); }
.ag-note dl { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 16px; font-size: 15px; }
.ag-note dt { font-weight: 600; color: var(--ink); }
.ag-note dd { margin: 0; color: var(--ink-soft); }
.ag-fine { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
body.pg #define .x-code { margin: 0; }
@media (max-width: 900px) { .ag-loop { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ag-loop { grid-template-columns: minmax(0, 1fr); } .ag-note dl { grid-template-columns: minmax(0, 1fr); gap: 2px 0; } .ag-note dd { margin-bottom: 8px; } }
body.pg #garden .ent-card p + p { margin-top: 10px; }
body.pg #garden .ent-card .ag-fine { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* /about: the founder's story in his own words, then two short sections (a portrait goes in .ab-sign when there is one) */
.ab-story { max-width: 68ch; }
.ab-story h2, body.pg .ab-facts h2 { margin-top: 48px; }
.ab-story p { font-size: 18px; line-height: 1.65; margin: 0 0 18px; }
.ab-story .ab-open { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.25; color: var(--ink); margin: 6px 0 20px; }
.ab-sign { display: flex; gap: 18px; align-items: center; margin: 30px 0 14px; }
.ab-sign img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.ab-sign p { margin: 0; font-size: 17px; }
.ab-sign span { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.ab-story .ab-more { font-size: 15px; }
.ab-facts { max-width: 72ch; }

/* /contact: the form behind every "Talk to us" */
.ct-wrap .pg-lede { max-width: 48ch; }
.ct-form select, .ct-form textarea { width: 100%; padding: 12px 14px; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--rule); border-radius: 7px; }
.ct-form textarea { resize: vertical; min-height: 150px; }
.ct-form select:focus, .ct-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.ct-opt { color: var(--muted); }
.ct-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ct-privacy { margin-top: 14px; }
.ct-privacy a, .ct-done a, .ct-wrap .err a { border-bottom: 1px solid var(--accent); }
.ct-done h2 { font-size: clamp(30px, 4vw, 40px); margin: 0 0 12px; }
