/* ══ Product pages: the parts they share (Models, Apps) ════════════════════
   A top with the claim, then sections of three ruled points, light and dark in
   turn. The Agents and Connectors pages have stylesheets of their own; what is
   particular to a page here is marked with its name. */

.pd-top{padding:clamp(140px,17vh,196px) 0 clamp(64px,7vw,104px);overflow:hidden}
.pd-h{font-size:clamp(38px,5.6vw,76px);line-height:1.02;letter-spacing:-.046em;max-width:1100px}
.pd-h>span{display:block;margin-top:.1em}
.pd-btns{margin-top:clamp(28px,3vw,40px)}

/* three points, each under a hairline, with a large icon and nothing behind it */
.pd-g3{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(32px,4vw,56px) 24px;margin-top:clamp(52px,5.6vw,84px)}
.pd-g3 li{padding-top:clamp(26px,2.8vw,36px);border-top:1px solid rgba(255,255,255,.1)}
.k-light .pd-g3 li{border-top-color:rgba(17,17,17,.1)}
.pd-g3 .k-gi{color:var(--w)}
.k-light .pd-g3 .k-gi{color:var(--ltt)}
.pd-g3 h3{margin-top:18px;font-family:var(--fd);font-weight:500;font-size:clamp(21px,1.9vw,25px);line-height:1.2;letter-spacing:-.022em;color:var(--w)}
.k-light .pd-g3 h3{color:var(--ltt)}
.pd-g3 p{margin-top:10px;font-size:17px;line-height:1.6;letter-spacing:-.006em;color:var(--w2);max-width:31em;text-wrap:pretty}
.k-light .pd-g3 p{color:#5e5b55}
.pd-end{margin-top:clamp(48px,5.2vw,72px)}
.pill.pd-ink{background:var(--ltt);color:#fff}
.pill.pd-ink:hover{background:#2b2926;transform:translateY(-2px);box-shadow:0 10px 28px rgba(17,17,17,.18)}
.pill.pd-ink:focus-visible,.k-light .pill-o:focus-visible{outline:2px solid var(--ltt);outline-offset:3px}

/* ── Models ── */
/* the providers' marks, each on its own white disc, exactly as its owner draws it (no filter, ever). Pointed at, or
   reached with Tab, a provider lifts and the line under the row names some of its models; the lines share one box
   of a fixed height, so nothing below moves. */
.md-marks{position:relative;list-style:none;display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:28px 0;margin-top:clamp(64px,7.4vw,108px);padding-bottom:clamp(86px,8vw,104px)}
.md-marks>li:not(.md-say){display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center;cursor:default;outline:0}
.md-mark{display:grid;place-items:center;width:clamp(64px,7.2vw,104px);aspect-ratio:1;border-radius:50%;background:var(--lt2);box-shadow:0 14px 36px rgba(0,0,0,.4);transition:transform .45s var(--ease),box-shadow .45s var(--ease)}
.md-mark img{width:46%;height:46%;object-fit:contain}
.md-marks>li>b{font-size:13.5px;font-weight:500;letter-spacing:-.01em;color:var(--w2);transition:color .25s var(--ease)}
.md-marks>li:not(.md-say):hover .md-mark,.md-marks>li:focus-visible .md-mark{transform:translateY(-8px);box-shadow:0 26px 48px rgba(0,0,0,.5)}
.md-marks>li:not(.md-say):hover>b,.md-marks>li:focus-visible>b{color:var(--w)}
.md-marks>li:focus-visible .md-mark{outline:2px solid var(--w);outline-offset:4px}
.md-say{position:absolute;left:0;right:0;bottom:0;margin:0;font-family:var(--fd);font-weight:500;font-size:clamp(19px,2vw,26px);line-height:1.3;letter-spacing:-.022em;color:#8c887f;text-align:center;text-wrap:balance;opacity:0;transform:translateY(8px);transition:opacity .3s var(--ease),transform .3s var(--ease);pointer-events:none}
.md-say b{font-weight:500;color:var(--w)}
.md-say p{margin:0}.md-say span{color:#6f6b64}
.md-marks>li:hover>.md-say,.md-marks>li:focus-visible>.md-say{opacity:1;transform:none}
.md-say--rest{opacity:1;transform:none}
.md-marks:hover>.md-say--rest,.md-marks:focus-within>.md-say--rest{opacity:0;transform:translateY(-8px)}
/* the catalog in three steps, each under its numeral */
.md-steps{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(32px,4vw,56px) 24px;margin-top:clamp(52px,5.6vw,84px)}
.md-steps li{padding-top:clamp(22px,2.4vw,30px);border-top:1px solid rgba(17,17,17,.1)}
.md-steps i{display:block;font-style:normal;font-family:var(--fd);font-weight:500;font-size:clamp(64px,7.4vw,104px);line-height:.9;letter-spacing:-.05em;color:#dcd8cf}
.md-steps h3{margin-top:clamp(20px,2.2vw,30px);font-family:var(--fd);font-weight:500;font-size:clamp(21px,1.9vw,25px);line-height:1.2;letter-spacing:-.022em;color:var(--ltt)}
.md-steps p{margin-top:10px;font-size:17px;line-height:1.6;color:#5e5b55;max-width:30em;text-wrap:pretty}
/* choosing: what Auto sends where, and the five levels of effort, each an object with its words underneath */
.md-pick{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:24px;margin-top:clamp(52px,5.6vw,84px)}
.md-auto,.md-effort{margin:0;padding:clamp(26px,3vw,40px);display:flex;flex-direction:column;justify-content:space-between;gap:clamp(28px,3.4vw,48px)}
.md-auto{grid-column:1 / span 7}.md-effort{grid-column:8 / span 5}
.md-auto dl{display:grid;gap:0}
.md-auto dl>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:4px 24px;padding:clamp(18px,2vw,24px) 0;border-top:1px solid rgba(255,255,255,.09)}
.md-auto dl>div:first-child{border-top:0;padding-top:0}
.md-auto dt{font-family:var(--fd);font-weight:500;font-size:clamp(20px,1.9vw,25px);letter-spacing:-.022em;color:var(--w)}
.md-auto dd{font-family:var(--fd);font-weight:500;font-size:clamp(20px,1.9vw,25px);letter-spacing:-.022em;color:#8c887f}
.md-auto dd.md-kinds{grid-column:1 / -1;font-family:var(--f);font-weight:400;font-size:15.5px;line-height:1.55;letter-spacing:0;color:var(--w2)}
.md-effort ol{list-style:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:end;gap:clamp(8px,1vw,14px);height:clamp(150px,15vw,196px)}
.md-effort li{display:flex;flex-direction:column;justify-content:flex-end;gap:12px;height:100%}
.md-effort li i{display:block;border-radius:10px;background:rgba(255,255,255,.1)}
.md-effort li:nth-child(1) i{height:22%}.md-effort li:nth-child(2) i{height:40%}.md-effort li:nth-child(3) i{height:58%}.md-effort li:nth-child(4) i{height:78%}.md-effort li:nth-child(5) i{height:100%}
.md-effort li.is-on i{background:var(--w)}
.md-effort li b{font-size:13px;font-weight:500;color:var(--w2);text-align:center}
.md-effort li.is-on b{color:var(--w)}
.md-auto .k-cap,.md-effort .k-cap{margin-top:0;max-width:none}
.md-switch{margin-top:clamp(28px,3vw,40px);font-size:18px;line-height:1.5;letter-spacing:-.014em;color:#7a766f;max-width:40em}
.md-switch b{font-weight:500;color:var(--w)}
/* the Foundry line above the last section's points */
.md-fdy{display:flex;align-items:flex-start;gap:clamp(18px,2vw,26px)}
.md-fdy img{flex:none;width:44px;height:44px;margin-top:clamp(2px,.5vw,8px)}

/* ── Apps ── */
/* the places themselves, set large: an index of the page (each jumps to its part) */
.ap-top{padding-bottom:clamp(56px,6vw,88px)}
.ap-index{display:flex;flex-wrap:wrap;gap:.04em .5em;margin-top:clamp(56px,6.6vw,96px);font-family:var(--fd);font-weight:500;font-size:clamp(28px,4.7vw,64px);line-height:1.12;letter-spacing:-.04em}
.ap-index a{color:#4b4843;transition:color .25s var(--ease)}
.ap-index a:hover,.ap-index a:focus-visible{color:var(--w)}
.ap-index a:focus-visible{outline:2px solid var(--w);outline-offset:4px;border-radius:6px}
/* the browser: a line of words, and the address itself as the way in */
.ap-web{display:flex;align-items:center;justify-content:space-between;gap:24px 40px;flex-wrap:wrap;margin-top:clamp(52px,5.6vw,84px);padding:clamp(26px,2.8vw,36px) 0;border-top:1px solid rgba(17,17,17,.1);border-bottom:1px solid rgba(17,17,17,.1)}
.ap-txt h3{font-family:var(--fd);font-weight:500;font-size:clamp(23px,2.2vw,30px);line-height:1.15;letter-spacing:-.028em;color:var(--ltt)}
.ap-txt>p{margin-top:12px;font-size:17px;line-height:1.6;color:#5e5b55;max-width:30em;text-wrap:pretty}
.ap-url{display:inline-flex;align-items:center;gap:11px;max-width:100%;height:56px;padding:0 20px 0 18px;border-radius:16px;background:#fff;box-shadow:inset 0 0 0 1px rgba(17,17,17,.08),0 14px 30px -18px rgba(17,17,17,.3);font-size:16px;color:var(--ltt);white-space:nowrap;transition:transform .3s var(--ease),box-shadow .3s var(--ease)}
.ap-url span{min-width:0;overflow:hidden;text-overflow:ellipsis}
.ap-url svg{flex:none;width:16px;height:16px;color:#8c887f}
.ap-url .ap-go{margin-left:6px;color:var(--ltt)}
.ap-url:hover{transform:translateY(-2px);box-shadow:inset 0 0 0 1px rgba(17,17,17,.12),0 20px 36px -18px rgba(17,17,17,.36)}
.ap-url:focus-visible{outline:2px solid var(--ltt);outline-offset:3px}
/* the iPhone and iPad app: the words and Apple's badge at the left, the App Store listing's own pictures at the right */
.ap-ios{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:24px;align-items:center;margin-top:clamp(40px,4.6vw,64px)}
.ap-ios .ap-txt{grid-column:1 / span 4}
/* Apple's badge, unaltered: 44px tall, with more than a quarter of its height clear on every side */
.ap-get{display:flex;align-items:center;gap:28px;min-height:44px;margin-top:clamp(26px,2.8vw,36px)}
.ap-qr{display:none;padding:10px;border-radius:20px;background:#fff;box-shadow:inset 0 0 0 1px rgba(17,17,17,.08)}
.ap-qr img{display:block;width:99px;height:99px}
.ap-badge{display:block;flex:none;border-radius:8px}
.ap-badge img{display:block;height:44px;width:auto}
.ap-badge:focus-visible{outline:2px solid var(--ltt);outline-offset:4px}
.ap-txt>p.ap-fine{margin-top:16px;font-size:14px;color:#77736c}
.ap-shots{grid-column:6 / span 7;list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:clamp(12px,1.4vw,20px)}
.ap-shots li{border-radius:clamp(18px,2vw,28px);overflow:hidden;box-shadow:0 30px 50px -30px rgba(17,17,17,.5);transition:transform .45s var(--ease)}
.ap-shots li:nth-child(2){margin-top:clamp(20px,3vw,44px)}
.ap-shots img{display:block;width:100%;height:auto}
@media(hover:hover){.ap-shots li:hover{transform:translateY(-6px)}}
.ap-ms .k-link{margin-top:16px;color:var(--w)}
/* the API: three points at the left, the request itself at the right */
.ap-api{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:24px;align-items:start;margin-top:clamp(52px,5.6vw,84px)}
.ap-pts{grid-column:1 / span 5;list-style:none}
.ap-pts li{padding:clamp(22px,2.4vw,30px) 0;border-top:1px solid rgba(17,17,17,.1)}
.ap-pts li:last-child{border-bottom:1px solid rgba(17,17,17,.1)}
.ap-pts h3{font-family:var(--fd);font-weight:500;font-size:clamp(20px,1.8vw,23px);line-height:1.2;letter-spacing:-.022em;color:var(--ltt)}
.ap-pts p{margin-top:8px;font-size:16.5px;line-height:1.6;color:#5e5b55;max-width:30em;text-wrap:pretty}
.ap-code{grid-column:7 / span 6;margin:0}
.ap-code .k-pn{font-size:14px;line-height:1.9}
.ap-code .k-bd{margin:0;padding:18px 24px 26px;font:inherit;white-space:pre;overflow-x:auto}
@media(min-width:900px){.ap-qr{display:block}}

@media(max-width:1000px){
  .ap-ios{display:block}
  .ap-shots{margin-top:clamp(36px,5vw,52px)}
  .ap-api{display:block}
  .ap-code{margin-top:clamp(32px,4.4vw,44px)}
  .pd-g3{grid-template-columns:minmax(0,1fr)}
  .md-marks{grid-template-columns:repeat(5,minmax(0,1fr))}
  .md-steps{grid-template-columns:minmax(0,1fr)}
  .md-pick{display:block}
  .md-effort{margin-top:24px}
}
@media(prefers-reduced-motion:reduce){.md-mark,.md-say,.ap-shots li,.ap-url,.ap-index a{transition:none}}
@media(max-width:640px){
  .pd-top{padding-top:clamp(120px,16vh,150px)}
  .pd-g3 p{font-size:16.5px}
  .md-marks{grid-template-columns:repeat(3,minmax(0,1fr));padding-bottom:112px}
  .md-auto dl>div{grid-template-columns:minmax(0,1fr)}
  .md-fdy{display:block}
  .ap-url{height:50px;font-size:15px}
  .ap-shots{grid-template-columns:repeat(3,minmax(0,1fr))}
  .md-fdy img{margin:0 0 16px}
}
