/* Solutions pages and the trust-loop page.
 *
 * Loaded after /policy.css and /styles.css, so the variables (--ink, --tint,
 * --radius-lg ...), the nav, the buttons, the section rhythm, the policy
 * document, the receipt card, the final CTA and the footer all come from the
 * homepage. Only what these pages add is here. The cards (.sol-*) are in
 * styles.css, because the homepage shows them too.
 *
 * Written by hand; the pages themselves come from scripts/build-solutions.js.
 */

.sx-band { background: var(--tint); }
.sx-tight { padding: clamp(44px, 5vw, 72px) 0; }

/* Hero: left-aligned, the buyer's sentence as the h1 */
.sx-hero { padding: clamp(56px, 7vw, 104px) 0 clamp(56px, 6vw, 88px); }
.sx-hero .eyebrow a { color: inherit; text-decoration: underline; text-underline-offset: 4px; }
.sx-hero .eyebrow a:hover { color: var(--ink); }
.sx-h1 {
  font-size: clamp(40px, 6vw, 82px); font-weight: 600; line-height: 1.0;
  letter-spacing: -0.05em; max-width: 1080px; margin-bottom: 28px;
  text-wrap: balance;
}
.sx-lead {
  font-size: clamp(19px, 1.7vw, 25px); line-height: 1.5; color: var(--gray);
  max-width: 860px; margin-bottom: 36px; letter-spacing: -0.015em;
}
.sx-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.sx-for {
  margin-top: 34px; max-width: 860px;
  font-size: clamp(15px, 1.15vw, 17px); line-height: 1.55; color: var(--gray);
}
.sx-for-k {
  font-family: 'Geist Mono', ui-monospace, monospace; font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-soft);
  margin-right: 10px;
}

/* The actions, as pills */
.sx-pills { display: flex; flex-wrap: wrap; gap: 12px; }
.sx-pill {
  background: var(--paper); color: var(--ink); border-radius: 999px;
  padding: 13px 22px; font-size: clamp(16px, 1.3vw, 19px); font-weight: 500;
  letter-spacing: -0.01em;
}

/* The argument */
.sx-narrow { max-width: 860px; }
.sx-narrow h2 { margin-bottom: 26px; }
.sx-prose p {
  font-size: clamp(18px, 1.55vw, 23px); line-height: 1.55; color: var(--ink-2);
  letter-spacing: -0.012em; margin-bottom: 22px;
}
.sx-prose p:last-child { margin-bottom: 0; }

/* What the loop adds */
.sx-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 1.6vw, 22px); }
.sx-card {
  background: var(--paper); border-radius: var(--radius-lg);
  padding: clamp(26px, 2.6vw, 40px);
}
.sx-card h3 { font-size: clamp(20px, 1.7vw, 25px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.2; margin-bottom: 12px; }
.sx-card p { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.5; color: var(--gray); }

/* The example policy or receipt */
.sx-policy-grid {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
  gap: clamp(36px, 4.5vw, 76px); align-items: center;
}
.sx-example .policy-doc { background: var(--tint); font-size: clamp(12px, 0.98vw, 14px); }
.sx-policy-copy h2 { font-size: clamp(30px, 3.4vw, 48px); }
.sx-policy-copy .cta-row { margin-top: 30px; }
.sx-policy-copy p { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.5; color: var(--gray); margin-top: 18px; }
.sx-receipt { margin: 0; }

/* How it connects, what we can show */
.sx-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.sx-twocol { background: var(--paper); border-radius: var(--radius-lg); padding: clamp(28px, 2.8vw, 44px); }
.sx-h3 { font-size: clamp(20px, 1.7vw, 25px); font-weight: 600; letter-spacing: -0.03em; margin-bottom: 18px; }
.sx-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.sx-list li {
  position: relative; padding-left: 32px;
  font-size: clamp(16px, 1.2vw, 18px); line-height: 1.5; color: var(--ink-2);
}
.sx-list li::before {
  content: ""; position: absolute; left: 0; top: calc(0.75em - 10.5px);
  width: 21px; height: 21px; border-radius: 50%; background: var(--green-tint);
}
.sx-list li::after {
  content: ""; position: absolute; left: 8px; top: calc(0.75em - 6px);
  width: 5px; height: 10px; border: solid var(--green); border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.sx-list-next li::before { background: var(--tint); }
.sx-list-next li::after { border-color: var(--gray-soft); }
.sx-small { margin-top: 22px; font-size: 15px; line-height: 1.6; color: var(--gray-soft); }
.sx-small a { color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }

/* More on the same core */
.sx-more { padding-top: 0; }
.sx-more .sol-grid { margin-top: 4px; }

/* Solutions index: the coverage grid */
.sx-grid-wrap { overflow-x: auto; background: var(--paper); border-radius: var(--radius-lg); padding: clamp(10px, 1.4vw, 22px); }
.sx-grid { border-collapse: collapse; width: 100%; min-width: 860px; }
.sx-grid th, .sx-grid td { text-align: left; vertical-align: top; padding: 14px 14px; border-bottom: 1px solid var(--tint-2); }
.sx-grid tr:last-child td { border-bottom: 0; }
.sx-grid th {
  font-family: 'Geist Mono', ui-monospace, monospace; font-weight: 500;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-soft);
}
.sx-grid th a { color: var(--gray); text-decoration: underline; text-underline-offset: 3px; }
.sx-grid td { font-size: 15.5px; line-height: 1.4; color: var(--gray); }
.sx-grid td.sx-grid-k { font-weight: 600; color: var(--ink); width: 200px; }
.sx-grid td.sx-grid-k a:hover { color: var(--gray); }

/* Trust loop: the three steps */
.sx-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.6vw, 22px); }
.sx-step { background: var(--paper); border-radius: var(--radius-lg); padding: clamp(28px, 2.8vw, 44px); }
.sx-step-n {
  width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--paper);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Geist Mono', ui-monospace, monospace; font-size: 15px; margin-bottom: 22px;
}
.sx-step h3 { font-size: clamp(24px, 2.2vw, 32px); font-weight: 600; letter-spacing: -0.04em; margin-bottom: 12px; }
.sx-step p { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.55; color: var(--gray); }

/* Trust loop: the measured numbers */
.sx-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 1.6vw, 22px); }
.sx-numcell { background: var(--tint); border-radius: var(--radius-lg); padding: clamp(24px, 2.4vw, 36px); }
.sx-num { font-size: clamp(38px, 4vw, 60px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; margin-bottom: 12px; white-space: nowrap; }
.sx-numcell p { font-size: 15.5px; line-height: 1.45; color: var(--gray); }

/* Trust loop: the six clauses */
.sx-clauses { list-style: none; counter-reset: clause; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.4vw, 20px); }
.sx-clauses li {
  counter-increment: clause; position: relative;
  background: var(--paper); border-radius: var(--radius-md);
  padding: clamp(22px, 2.2vw, 30px) clamp(22px, 2.2vw, 30px) clamp(22px, 2.2vw, 30px) 76px;
  font-size: clamp(16px, 1.2vw, 18px); line-height: 1.5; color: var(--gray);
}
.sx-clauses li::before {
  content: counter(clause); position: absolute; left: 24px; top: clamp(20px, 2.1vw, 28px);
  width: 34px; height: 34px; border-radius: 50%; background: var(--green-tint); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Geist Mono', ui-monospace, monospace; font-size: 14px;
}
.sx-clauses li b { color: var(--ink); font-weight: 600; }

/* Trust loop: what remains trusted */
.sx-trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 1.6vw, 22px); }
.sx-trust-col { background: var(--paper); border-radius: var(--radius-lg); padding: clamp(26px, 2.6vw, 40px); }
.sx-trust-col h3 { font-size: clamp(19px, 1.5vw, 22px); font-weight: 600; letter-spacing: -0.03em; margin-bottom: 16px; }
.sx-trust-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.sx-trust-col li { font-size: clamp(15px, 1.1vw, 17px); line-height: 1.5; color: var(--gray); padding-left: 18px; position: relative; }
.sx-trust-col li::before { content: ""; position: absolute; left: 0; top: calc(0.75em - 3px); width: 6px; height: 6px; border-radius: 50%; background: var(--gray-soft); }
.sx-trust-no { background: var(--ink); }
.sx-trust-no h3 { color: #fff; }
.sx-trust-no li { color: rgba(255, 255, 255, 0.72); }
.sx-trust-no li::before { background: #7be3b4; }
.sx-trust-col li b { color: var(--ink); font-weight: 600; }

/* minmax(0, 1fr), not 1fr: a plain 1fr column grows to the widest policy line
   and pushes the whole page past the screen; this way the policy scrolls in its card. */
@media (max-width: 1100px) {
  .sx-steps, .sx-trust { grid-template-columns: minmax(0, 1fr); }
  .sx-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .sx-cards, .sx-two, .sx-clauses, .sx-policy-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .sx-nums { grid-template-columns: minmax(0, 1fr); }
  .sx-ctas .btn { width: 100%; }
  .sx-clauses li { padding-left: 64px; }
  .sx-clauses li::before { left: 18px; }
}

/* ------------------------------------------------------------------ hero art
   The card's dotted arcs, large, behind the right side of the hero, always
   moving and faint. The copy keeps the left. */
.sx-hero.has-art { position: relative; overflow: hidden; }
.sx-hero.has-art > .container { position: relative; z-index: 1; }
.sx-hero.has-art .sx-copy { max-width: 780px; }
.sx-hero.has-art .sx-h1 { font-size: clamp(40px, 5.4vw, 74px); }
.sx-art {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(60%, 980px);
  color: var(--gray-soft); pointer-events: none;
}
.sx-art svg {
  display: block; width: 100%; height: 100%;
  -webkit-mask-image: radial-gradient(ellipse 64% 80% at 66% 50%, #000 20%, rgba(0, 0, 0, 0.42) 52%, transparent 80%);
  mask-image: radial-gradient(ellipse 64% 80% at 66% 50%, #000 20%, rgba(0, 0, 0, 0.42) 52%, transparent 80%);
}
.sx-art .art-ring { opacity: .5; animation: art-flow 2.8s linear infinite; }
.sx-art .art-r1 { animation-direction: reverse; animation-duration: 3.6s; }
.sx-art .art-sats { transform-box: view-box; transform-origin: 600px 360px; animation: art-spin 150s linear infinite; }
/* The icon in depth: /site.js places the canvas on the rings' centre and
   sizes it to stay clear of the copy; it stays hidden where they would meet. */
.sx-depth { position: absolute; left: 0; top: 0; display: none; transform: translate(-50%, -50%); pointer-events: none; }
.sx-icon-src { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ------------------------------------------------------------------ scenes
   One small looping scene on top of each "adds" card, in the hero's language:
   white pills on a tint stage, a pill that travels to an ink gate, which turns
   green, amber or red. Built by SCENES in scripts/build-solutions.js; /site.js
   sets the state (data-s) and .on (data-k, data-only). */
.sx-card .ax { margin-bottom: 26px; }
.ax {
  position: relative; height: 184px; overflow: hidden;
  background: var(--tint); border-radius: 18px;
  font-family: 'Geist Mono', ui-monospace, monospace; font-size: 12.5px; font-weight: 500;
  line-height: 1; color: var(--ink-2);
  --x1: 16%; --x2: 50%; --x3: 84%;
}
.ax [data-k], .ax [data-only] { transition: opacity .3s ease, transform .3s ease, background-color .3s ease, color .3s ease; }

/* gate and refer: three pills on a line, a fourth travelling above them */
.ax-line { position: absolute; top: 79px; left: var(--x1); width: calc(var(--x3) - var(--x1)); height: 2px; border-radius: 2px; background: var(--tint-2); }
.ax-p {
  position: absolute; top: 80px; padding: 10px 14px; border-radius: 999px;
  background: var(--paper); white-space: nowrap; transform: translate(-50%, -50%);
  transition: background-color .3s ease, color .3s ease, transform .3s ease;
}
.ax-p1 { left: var(--x1); }
.ax-p2 { left: var(--x2); z-index: 1; background: var(--ink); color: #fff; }
.ax-p3 { left: var(--x3); }
.ax-lane { position: absolute; top: 0; left: 0; z-index: 2; width: 100%; height: 0; transform: translateX(var(--x1)); transition: transform .7s cubic-bezier(.4, 0, .2, 1); }
.ax-run {
  position: absolute; top: 18px; left: 0; padding: 9px 13px; border-radius: 999px;
  background: var(--ink); color: #fff; white-space: nowrap; transform: translateX(-50%); opacity: 0;
}
.ax-run.on { opacity: 1; }
.ax[data-s="0"] .ax-lane, .ax[data-s="0"] .ax-run { transition: none; }
.ax-out, .ax-who {
  position: absolute; top: 106px; left: var(--x2); z-index: 2;
  padding: 8px 13px; border-radius: 999px; white-space: nowrap;
  opacity: 0; transform: translate(-50%, 6px);
}
.ax-out.on, .ax-who.on { opacity: 1; transform: translate(-50%, 0); }
.ax-cap {
  position: absolute; left: 14px; right: 14px; bottom: 12px;
  text-align: center; font-size: 11.5px; font-weight: 400; line-height: 1.35; color: var(--gray);
  opacity: 0;
}
.ax-cap.on { opacity: 1; }

.ax-gate[data-s="2"] .ax-la { transform: translateX(var(--x2)); }
.ax-gate[data-s="3"] .ax-la, .ax-gate[data-s="4"] .ax-la { transform: translateX(var(--x3)); }
.ax-gate[data-s="2"] .ax-p2, .ax-gate[data-s="3"] .ax-p2 { background: var(--green); }
.ax-gate[data-s="3"] .ax-ta { background: var(--green); }
.ax-gate[data-s="3"] .ax-p3 { background: var(--green-tint); color: var(--green); }
.ax-gate[data-s="6"] .ax-lb, .ax-gate[data-s="7"] .ax-lb, .ax-gate[data-s="8"] .ax-lb { transform: translateX(var(--x2)); }
.ax-gate[data-s="6"] .ax-tb, .ax-gate[data-s="7"] .ax-tb { background: var(--red); }
.ax-gate.is-refuse[data-s="6"] .ax-p2, .ax-gate.is-refuse[data-s="7"] .ax-p2 { background: var(--red); }
.ax-gate.is-refer[data-s="6"] .ax-p2, .ax-gate.is-refer[data-s="7"] .ax-p2 { background: var(--amber-tint); color: var(--amber); transform: translate(-50%, -50%) scale(1.06); }
.ax-gate.is-refuse .ax-out { background: var(--red-tint); color: var(--red); }
.ax-gate.is-refer .ax-out { background: var(--amber-tint); color: var(--amber); }

.ax-refer[data-s="2"] .ax-la, .ax-refer[data-s="3"] .ax-la, .ax-refer[data-s="4"] .ax-la { transform: translateX(var(--x2)); }
.ax-refer[data-s="5"] .ax-la, .ax-refer[data-s="6"] .ax-la { transform: translateX(var(--x3)); }
.ax-refer[data-s="2"] .ax-ta, .ax-refer[data-s="3"] .ax-ta, .ax-refer[data-s="4"] .ax-ta { background: var(--red); }
.ax-refer[data-s="2"] .ax-p2, .ax-refer[data-s="3"] .ax-p2 { background: var(--amber-tint); color: var(--amber); transform: translate(-50%, -50%) scale(1.06); }
.ax-refer[data-s="4"] .ax-p2, .ax-refer[data-s="5"] .ax-p2 { background: var(--green); }
.ax-refer[data-s="5"] .ax-ta { background: var(--green); }
.ax-refer[data-s="5"] .ax-p3 { background: var(--green-tint); color: var(--green); }
.ax-who { display: inline-flex; align-items: center; gap: 8px; padding: 5px 13px 5px 5px; background: var(--paper); color: var(--ink); }
.ax-av { width: 23px; height: 23px; flex: 0 0 auto; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--amber-tint); color: var(--amber); }
.ax-av svg { width: 13px; height: 13px; }
.ax-ok { display: none; color: var(--green); }
.ax-ok.on { display: inline; }
.ax-refer[data-s="4"] .ax-who .ax-av, .ax-refer[data-s="5"] .ax-who .ax-av { background: var(--green-tint); color: var(--green); }

/* total: every source draws down one bar */
.ax-total, .ax-permit, .ax-sign, .ax-receipt { height: auto; min-height: 184px; }
.ax-total { padding: 18px 18px 16px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.ax-th { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 12px; }
.ax-lbl { color: var(--gray-soft); font-weight: 400; }
.ax-ctr { color: var(--ink); white-space: nowrap; }
.ax-ctr [data-only] { display: none; }
.ax-ctr [data-only].on { display: inline; }
.ax-ctr.on { color: var(--red); }
.ax-of { color: var(--gray-soft); font-weight: 400; }
.ax-bar { display: flex; height: 12px; overflow: hidden; border-radius: 999px; background: var(--paper); }
.ax-seg { height: 100%; background: var(--ink); box-shadow: inset -1px 0 0 var(--tint); transform: scaleX(0); transform-origin: left center; }
.ax-seg.on { transform: scaleX(1); }
.ax-bar.on .ax-seg { background: var(--red); }
.ax-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.ax-c { padding: 7px 11px; border-radius: 999px; background: var(--paper); white-space: nowrap; opacity: 0; transform: translateY(6px); }
.ax-c.on { opacity: 1; transform: none; }
.ax-cx { background: var(--red); color: #fff; }

/* receipt: the rows write themselves, then the checker answers */
.ax-receipt { padding: 14px; display: flex; flex-direction: column; justify-content: center; gap: 6px; background: var(--dark-panel); color: rgba(255, 255, 255, 0.9); }
.ax-rows { display: flex; flex-direction: column; gap: 3px; }
.ax-row {
  display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 10px;
  padding: 7px 10px; border-radius: 8px; font-size: 12px; font-weight: 400; line-height: 1.3;
  opacity: 0; transform: translateY(5px);
}
.ax-row:nth-child(odd) { background: var(--dark-row); }
.ax-row.on { opacity: 1; transform: none; }
.ax-row .k { color: rgba(255, 255, 255, 0.42); }
.ax-row .v { color: rgba(255, 255, 255, 0.92); overflow-wrap: anywhere; }
.ax-row .v.refer { color: #ffc46b; }
.ax-row .v.block { color: #ff8a75; }
.ax-rf { position: relative; height: 24px; font-size: 12px; }
.ax-f { position: absolute; left: 10px; top: 6px; color: rgba(255, 255, 255, 0.5); opacity: 0; white-space: nowrap; }
.ax-f.on { opacity: 1; }
.ax-fok { color: #7be3b4; }

/* permit: checked clause by clause, used once */
.ax-permit { padding: 16px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.ax-tk { padding: 12px 14px; border-radius: 14px; background: var(--paper); opacity: 0; transform: translateY(6px); }
.ax-tk.on { opacity: 1; transform: none; }
.ax-tk-h { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-soft); }
.ax-tk-b { font-size: 12.5px; line-height: 1.4; color: var(--ink); }
.ax-cks, .ax-outs { display: flex; flex-wrap: wrap; gap: 7px; }
.ax-ck { padding: 7px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.6); color: var(--gray-soft); }
.ax-ck::before { content: "\00b7\00a0"; }
.ax-ck.on { background: var(--green-tint); color: var(--green); }
.ax-ck.on::before { content: "\2713\00a0"; }
.ax-ok2, .ax-rp { padding: 7px 11px; border-radius: 999px; opacity: 0; transform: translateY(6px); }
.ax-ok2 { background: var(--green); color: #fff; }
.ax-rp { background: var(--red-tint); color: var(--red); }
.ax-ok2.on, .ax-rp.on { opacity: 1; transform: none; }

/* sign: a change to the numbers, each signer, a new version */
.ax-sign { padding: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; }
.ax-ver { display: none; padding: 10px 15px; border-radius: 999px; background: var(--ink); color: #fff; }
.ax-ver.on { display: inline-block; }
.ax-ver2 { background: var(--green-tint); color: var(--green); }
.ax-chg { max-width: 100%; padding: 8px 13px; border-radius: 999px; background: var(--paper); line-height: 1.3; opacity: 0; transform: translateY(6px); }
.ax-chg.on { opacity: 1; transform: none; }
.ax-chg-k { margin-right: 8px; color: var(--violet); }
.ax-sigs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ax-sig { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.6); color: var(--gray-soft); }
.ax-sig .ax-av { background: var(--tint-2); color: var(--gray-soft); }
.ax-sig.on { background: var(--paper); color: var(--ink); }
.ax-sig.on .ax-av { background: var(--green-tint); color: var(--green); }
.ax-sig.on::after { content: "\2713"; color: var(--green); }

@media (max-width: 1100px) {
  .sx-art { width: 74%; }
  .sx-hero.has-art .sx-copy { max-width: 640px; }
}
@media (max-width: 900px) {
  .sx-art { width: 100%; }
  .sx-art svg {
    -webkit-mask-image: radial-gradient(ellipse 85% 58% at 86% 22%, #000 18%, rgba(0, 0, 0, 0.4) 50%, transparent 80%);
    mask-image: radial-gradient(ellipse 85% 58% at 86% 22%, #000 18%, rgba(0, 0, 0, 0.4) 50%, transparent 80%);
  }
  .sx-hero.has-art .sx-copy { max-width: none; }
}
@media (max-width: 640px) {
  .ax { font-size: 11px; --x1: 18%; --x3: 82%; }
  .ax-p { padding: 8px 10px; }
  .ax-run { padding: 7px 10px; }
  .ax-row { grid-template-columns: 88px minmax(0, 1fr); font-size: 11px; }
}

/* Trust loop: the feature-by-alternative table */
.sx-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; }
.sx-opt { background: var(--paper); border-radius: var(--radius-lg); padding: 18px 22px; }
.sx-opt h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 6px; }
.sx-opt p { font-size: 15px; line-height: 1.5; color: var(--gray); }
.sx-opt small { display: block; margin-top: 6px; font-size: 13px; line-height: 1.45; color: var(--gray-soft); }
.sx-opt-us { background: #dcf3e8; }
.sx-opt-us h3 { color: #07724e; }
.sx-cmp { min-width: 900px; }
.sx-cmp th { text-align: center; vertical-align: bottom; font-family: 'Geist', sans-serif; text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.sx-cmp th:first-child { text-align: left; }
.sx-cmp td { text-align: center; font-size: 14.5px; }
.sx-cmp td.sx-grid-k { text-align: left; width: 260px; }
.sx-cmp .sx-cmp-us { background: #dcf3e8; }
.sx-cmp th.sx-cmp-us { color: #07724e; }
.sx-cmp-y { color: #07724e; font-weight: 600; }
.sx-cmp-p { color: var(--gray); }
.sx-cmp-n { color: var(--gray-soft); }
@media (max-width: 760px) {
  .sx-opts { grid-template-columns: minmax(0, 1fr); }
  .sx-grid-wrap { padding: 6px; }
  .sx-cmp { min-width: 0; width: 100%; table-layout: fixed; }
  .sx-cmp th, .sx-cmp td { padding: 8px 2px; }
  .sx-cmp th:first-child, .sx-cmp td.sx-grid-k { width: 36%; }
  .sx-cmp th:not(:first-child) { height: 266px; vertical-align: bottom; }
  .sx-cmp th:not(:first-child) span { writing-mode: vertical-rl; transform: rotate(180deg); display: inline-block; white-space: nowrap; font-size: 12px; font-weight: 600; max-height: 256px; overflow: hidden; }
  .sx-cmp td.sx-grid-k { font-size: 12px; line-height: 1.3; }
  .sx-cmp-y, .sx-cmp-p, .sx-cmp-n { font-size: 0; }
  .sx-cmp-y::before { content: "\2713"; font-size: 15px; }
  .sx-cmp-p::before { content: "\2013"; font-size: 15px; }
  .sx-cmp-n::before { content: "\2717"; font-size: 13px; }
}

/* Contact page (content/pages/contact.html): the founder's calendar, or the form.
   The calendar opens over the page from /contact.js; the form posts to /api/contact. */
.ct-hero { padding: clamp(48px, 6vw, 96px) 0 clamp(64px, 7vw, 112px); }
.ct-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.ct-copy .sx-h1 { font-size: clamp(40px, 5.4vw, 74px); }
.ct-list { margin-top: 8px; }
.ct-card { background: var(--tint); border-radius: var(--radius-lg); padding: clamp(24px, 2.6vw, 40px); }
.ct-h2 { font-size: clamp(21px, 1.8vw, 26px); font-weight: 600; line-height: 1.2; letter-spacing: -0.035em; margin: 0; }
.ct-card p { font-size: 16px; line-height: 1.5; color: var(--gray); }
.ct-book { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px 20px; align-items: center; }
.ct-book .ct-h2 { margin-bottom: 4px; }
.ct-photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.ct-book-go { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; }
.ct-card .ct-fine { font-size: 14px; color: var(--gray-soft); }
.ct-fine a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.ct-or {
  display: flex; align-items: center; gap: 16px; margin: 18px 0;
  font-family: 'Geist Mono', ui-monospace, monospace; font-size: 13px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-soft);
}
.ct-or::before, .ct-or::after { content: ""; flex: 1; height: 1px; background: var(--tint-2); }
.ct-form { display: grid; gap: 16px; margin-top: 22px; }
.ct-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ct-field label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; color: var(--ink); }
.ct-opt { font-weight: 400; color: var(--gray-soft); }
.ct-field input, .ct-field select, .ct-field textarea {
  width: 100%; padding: 14px 18px; border: none; border-radius: 14px;
  background: var(--paper); font: inherit; font-size: 16px; color: var(--ink);
}
.ct-field select {
  -webkit-appearance: none; appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2363656d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 18px;
}
.ct-field textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.ct-field input::placeholder, .ct-field textarea::placeholder { color: var(--gray-soft); }
.ct-field input:focus, .ct-field select:focus, .ct-field textarea:focus { outline: 3px solid var(--blue); outline-offset: 2px; }
.ct-form .btn { justify-self: start; }
.ct-form .btn:disabled { opacity: 0.6; cursor: default; transform: none; }
.ct-paths .form-success, .ct-paths .form-error { max-width: none; margin: 0; }
.ct-paths .form-success { margin-top: 22px; }
.ct-other { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.6vw, 22px); }
.ct-other-item { background: var(--paper); border-radius: var(--radius-lg); padding: clamp(24px, 2.4vw, 36px); }
.ct-other-item .sx-h3 { margin-bottom: 10px; }
.ct-other-item p { font-size: 16px; line-height: 1.55; color: var(--gray); }
.ct-other-item a { color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1100px) {
  .ct-row { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .ct-grid, .ct-other { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .ct-book-go .btn, .ct-form .btn { width: 100%; justify-self: stretch; }
}
