/* Additions for the November 2026 rewrite. Loaded after the theme files on every page. */

/* Home hero: longer plain headline, three service doors */
.hero.home h1 { max-width: 30ch; font-size: clamp(1.85rem, 3.6vw, 2.75rem); }
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 40px; text-align: left; align-items: stretch; }
.doors .ocard { border-color: var(--rule); }
.doors .ocard h2 { font-size: 1.3rem; line-height: 1.3; }
.doors .ocard .ofor { margin: 10px 0 18px; max-width: none; }
.doors .ocard .olinks { margin-top: auto; display: grid; gap: 12px; justify-items: start; }
.doors .ocard .olinks .btn { min-height: 44px; padding: 10px 20px; }
.doors .ocard .olinks a:not(.btn) { font-size: .93rem; }
.door-tag { font-size: .82rem; font-weight: 600; color: var(--accent); margin: 0 0 8px; }

/* Proof tiles */
.proof3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.proof3 > div { background: var(--paper); border: 1px solid var(--rule); border-radius: 14px; padding: 22px 24px; }
.proof3 .lab { font-size: .92rem; color: var(--ink-2); margin: 0; }
.proof3 .num { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.7rem); font-weight: 600; line-height: 1.1; margin: 8px 0; color: var(--ink); }
.proof3 .src { font-size: .88rem; color: var(--ink-2); margin: 0; }

/* Use cases told as now / we build / after */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cases.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.case { background: var(--paper); border: 1px solid var(--rule); border-radius: 14px; padding: 22px 24px; }
.case h3 { margin: 0 0 14px; }
.case dl { margin: 0; }
.case dt { font-size: .8rem; font-weight: 700; color: var(--accent); margin-top: 12px; }
.case dt:first-child { margin-top: 0; }
.case dd { margin: 3px 0 0; color: var(--ink-2); font-size: .96rem; }

/* Pass / fail check list on the AI shopping page */
.checks { list-style: none; margin: 0; padding: 0; counter-reset: chk; }
.checks li { counter-increment: chk; position: relative; padding: 14px 0 14px 44px; border-top: 1px solid var(--rule); }
.checks li:last-child { border-bottom: 1px solid var(--rule); }
.checks li::before { content: counter(chk); position: absolute; left: 0; top: 13px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent-wash); color: var(--on-accent-wash); font-size: .85rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; }
.checks b { display: block; }
.checks span { color: var(--ink-2); font-size: .95rem; }

/* Menu: "Book a call" button */
nav.primary a.navcta { background: var(--ink); color: var(--paper); border: 1px solid var(--ink); border-radius: var(--radius);
  padding: 8px 16px; min-height: 40px; font-weight: 500; }
nav.primary a.navcta:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.js .masthead.open nav.primary a.navcta { justify-content: center; margin-top: 12px; border-bottom: 1px solid var(--ink); }

@media (max-width: 900px) {
  .doors, .proof3, .cases, .cases.two-up { grid-template-columns: 1fr; }
}

/* The theme sets every link in a hero card to ink, which hid the button text (dark on dark). */
.hero .doors .ocard a.btn:not(.ghost) { color: var(--paper); }
.hero .doors .ocard a.btn:not(.ghost):hover { color: var(--on-accent); }
.sec-head .door-tag { margin-bottom: 10px; }
.case-in { font-size: .85rem; color: var(--ink-2); margin: -8px 0 14px; }
.steps-min b { color: var(--ink); }

/* ---------- Pricing page ---------- */
main.pricing > section { padding-block: clamp(26px, 2.8vw, 38px); }
main.pricing > section.phead { padding-block: clamp(22px, 2.4vw, 32px); background: var(--paper); }
.phead h1 { margin: 0; }
.phead .lede { margin: 10px 0 0; max-width: none; }
.pjump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pjump a { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border: 1px solid var(--rule);
  border-radius: 999px; background: var(--paper); color: var(--ink-2); font-size: .9rem; text-decoration: none; }
.pjump a:hover { border-color: var(--accent); color: var(--accent); }
main.pricing .sec-head { margin-bottom: 26px; }
main.pricing .sec-head h2 { max-width: none; }

/* Price cards: every card has the same six rows, so prices, buttons and lists line up across a row. */
.plans.aligned { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 16px; }
.plans.aligned.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.plans.aligned .plan { grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; margin-bottom: 16px; padding: 24px 22px 24px; }
.plans.aligned .plan-for { min-height: 0; margin-bottom: 16px; }
.plans.aligned .plan-note { margin: 10px 0 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.plans.aligned .plan-save { margin: 0; }
.plans.aligned .plan-list { margin-top: 20px; align-content: start; }
.plans.aligned .btn { align-self: start; padding-inline: 14px; }
.plan-price small { font-size: .42em; font-weight: 500; letter-spacing: 0; color: var(--ink-3); }
main.pricing .plan-terms { max-width: none; margin: 6px 0 0; font-size: .9rem; color: var(--ink-2); }
main.pricing .plan-terms b { color: var(--ink); font-weight: 600; }

.psub { margin: 34px 0 16px; font-size: 1.2rem; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.trio > div { background: var(--paper); border: 1px solid var(--rule); border-radius: 14px; padding: 18px 20px; }
.trio h3, .trio h4 { margin: 0 0 6px; font-family: var(--sans); font-size: 1rem; font-weight: 600; color: var(--ink); }
.trio p { margin: 0; font-size: .93rem; color: var(--ink-2); }
main.pricing .trio + .plan-terms { margin-top: 18px; }

@media (max-width: 1080px) { .plans.aligned.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px) { .plans.aligned, .plans.aligned.cols-4, .trio { grid-template-columns: 1fr; } }

/* ---------- Footer: brand + four link columns, then two inline link rows ---------- */
footer { padding-block: 40px 28px; }
footer .fgrid { display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(4, minmax(0, 1fr)); gap: 28px 24px; align-items: start; }
footer .fgrid > div { display: block; }
footer .fbrand p { margin: 10px 0 0; max-width: 30ch; }
footer .fhead { margin: 0 0 10px; font-size: .78rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
footer ul { list-style: none; margin: 0; padding: 0; }
footer .fgrid a:not(.brand), footer .frow a { display: inline-flex; align-items: center; min-height: 30px; text-decoration: none; color: var(--ink-2); }
footer .fgrid a:not(.brand):hover, footer .frow a:hover { color: var(--accent); text-decoration: underline; }
footer .frow { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 4px 24px; align-items: baseline;
  margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--rule); }
footer .frow + .frow { margin-top: 12px; padding-top: 12px; }
footer .frow .fhead { margin: 0; }
footer .frow ul { display: flex; flex-wrap: wrap; gap: 0 22px; }
footer .fine { margin-top: 20px; }
@media (max-width: 900px) {
  footer .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
  footer .fbrand { grid-column: span 2; }
  footer .frow { grid-template-columns: 1fr; }
  footer .frow ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
  footer .fgrid a:not(.brand), footer .frow a { min-height: 44px; }
}
footer .fine p { max-width: none; }

/* Menu: keep each item on one line; tighten between the phone menu and full width. */
nav.primary a, nav.primary .navbtn { white-space: nowrap; }
@media (min-width: 781px) and (max-width: 1100px) {
  nav.primary { gap: 14px; }
  nav.primary a, nav.primary .navbtn { font-size: .88rem; }
  nav.primary a.navcta { padding-inline: 12px; }
}
@media (min-width: 781px) and (max-width: 900px) {
  .masthead .wrap { gap: 12px; }
  nav.primary { gap: 9px; }
  nav.primary a, nav.primary .navbtn { font-size: .84rem; }
  nav.primary a.navcta { padding-inline: 10px; }
}

/* Pricing: no rule under section headings, cards sit closer to the heading; jump links lead the page. */
main.pricing > section:not(.hero):not(.band) .sec-head h2::after { display: none; }
main.pricing .sec-head { margin-bottom: 18px; }
main.pricing > section.phead { padding-block: 18px; }
main.pricing .pjump { margin-top: 0; }
footer .fbrand p { text-wrap: balance; }

/* Links inside the pricing notes: at least 24px tall to tap. */
main.pricing .plan-terms a { display: inline-block; min-height: 24px; }
