/* Home page only (loaded after style.css). Made the way a product page should be: one idea per
   screen, big sans headlines with a quieter second line, calm space, a product shot of what you
   get, and motion that only ever helps you read. It sells the services (services.js); the live
   demo of the entire AI company is framed like a product shot. */

.ap {
  --a-max: 1080px;
  --a-sel: #0071e3;
  --a-link: #0066cc;
  --a-shadow: 0 1px 1px #0000000a, 0 18px 40px -18px #00000029, 0 60px 120px -60px #00000047;
  --a-ease: cubic-bezier(.2, .8, .2, 1);
  font-feature-settings: "cv11", "ss01", "ss03";
}
.ap h1, .ap h2, .ap h3 { font-family: var(--sans); font-weight: 700; letter-spacing: -.035em; color: var(--ink); }
.ap h2 { font-size: clamp(38px, 5.6vw, 72px); line-height: 1.04; }
.ap h2 span, .ap h1 span { color: var(--ink-4); }
.a-eyebrow { font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; letter-spacing: -.01em; color: var(--ink-3); margin-bottom: 10px; }
.a-sub { font-size: clamp(19px, 2vw, 26px); line-height: 1.35; letter-spacing: -.015em; color: var(--ink-2); font-weight: 500; max-width: 30em; }
.a-head { max-width: calc(var(--a-max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.a-center { text-align: center; display: grid; justify-items: center; }
.a-links { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.a-btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 24px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 16px; font-weight: 500; border: 0; transition: background .2s, transform .2s var(--a-ease); }
.a-btn:hover { background: #33332f; }
.a-btn:active { transform: scale(.98); }
.a-btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.a-btn-ghost:hover { background: var(--surface); }
.a-btn-sm { height: 36px; padding: 0 18px; font-size: 14px; }
.a-more { color: var(--a-link); font-size: 17px; font-weight: 500; }
.a-more::after { content: " ›"; font-size: 1.15em; }
.a-more:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Motion: rise in once, never for people who'd rather not ---------- */
.motion .rv { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--a-ease), transform 1.1s var(--a-ease); transition-delay: calc(var(--i, 0) * 80ms); }
.motion .rv.in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.a-hero { max-width: calc(var(--a-max) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(72px, 11vw, 136px) var(--gutter) 0; text-align: center; display: grid; justify-items: center; }
.a-hero h1 { font-size: clamp(64px, 11vw, 144px); line-height: .95; letter-spacing: -.05em; }
.a-hero .a-sub { margin-top: 18px; }
.a-hero .a-links { justify-content: center; margin-top: 32px; }
.a-shot { width: 100%; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--a-shadow); overflow: hidden; align-self: stretch; display: grid; grid-template-rows: auto 1fr auto; }
.shot-bar { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 14px; }
.shot-dots { display: inline-flex; gap: 6px; }
.shot-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.shot-tag { margin-left: auto; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-4); border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; }
.ledger-list { list-style: none; }
.ledger-list li { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 13px 20px; border-bottom: 1px solid var(--line); font-size: 15px; }
.l-svc { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-3); font-size: 13px; white-space: nowrap; }
.l-svc::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex: none; }
.l-what { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.l-state { font-size: 12px; font-weight: 600; color: var(--green); background: var(--green-soft); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.l-state.wait { color: var(--amber); background: var(--amber-soft); }
.ledger-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 20px; font-size: 13px; color: var(--ink-3); background: var(--surface-2); }
.ledger-foot span:first-child { color: var(--ink); font-weight: 600; }

/* ---------- The pandas (pandas.js) ---------- */
.pd { display: block; overflow: visible; -webkit-tap-highlight-color: transparent; cursor: pointer; }
.pd .pd-head { transform-origin: 60px 70px; transition: transform .5s var(--a-ease); }
.pd .pd-eyes { transform-origin: 60px 44px; transform-box: view-box; }
.pd.blink .pd-eyes { transform: scaleY(.1); transition: transform .08s; }
.pd .pd-pupils { transition: transform .25s var(--a-ease); }
.pd:hover .pd-head { transform: rotate(-4deg); }
.pd.boop { animation: pd-boop .6s var(--a-ease); }
@keyframes pd-boop { 0% { transform: none; } 30% { transform: translateY(-10px) scale(1.04, .96); } 55% { transform: translateY(0) scale(.96, 1.04); } 100% { transform: none; } }
.working .pd .pd-arms ellipse { animation: pd-type .22s ease-in-out infinite alternate; }
.working .pd .pd-arms ellipse:last-child { animation-delay: .11s; }
@keyframes pd-type { to { transform: translateY(-3px); } }
.working .pd .pd-head { transform: rotate(3deg) translateY(2px); }
.checking .pd .pd-head { transform: rotate(-6deg); }
.done .pd { animation: pd-boop .6s var(--a-ease); }
.pd-mini { cursor: default; }

/* ---------- The studio in the hero ---------- */
.studio { width: 100%; margin-top: clamp(48px, 7vw, 88px); display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; text-align: left; }
.stage { position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 18px; padding: 20px 22px 22px; border-radius: 24px; background: radial-gradient(120% 80% at 50% 0%, #fffdf8 0%, #f1ece0 70%); border: 1px solid var(--line); box-shadow: var(--a-shadow); overflow: hidden; }
.stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%; background: linear-gradient(#0000, #e9e2d3aa); pointer-events: none; }
.stage-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; position: relative; z-index: 1; }
.stage-top .shot-tag { margin: 0; }
.stage-hint { font-size: 13px; color: var(--ink-3); }
.stations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: end; position: relative; z-index: 1; padding-top: 44px; }
.station { position: relative; display: grid; justify-items: center; gap: 8px; }
.station .pd { width: min(150px, 100%); filter: drop-shadow(0 14px 18px #0000001f); }
.st-name { display: grid; justify-items: center; font-size: 12px; color: var(--ink-3); line-height: 1.3; }
.st-name b { font-size: 15px; color: var(--ink); font-weight: 700; }
.bubble { position: absolute; top: -40px; left: 50%; transform: translate(-50%, 6px) scale(.9); opacity: 0; white-space: nowrap; padding: 7px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 500; box-shadow: 0 10px 24px -10px #0009; transition: opacity .3s var(--a-ease), transform .4s var(--a-ease); z-index: 2; }
.bubble::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 8px; height: 8px; background: inherit; transform: translateX(-50%) rotate(45deg); }
.bubble.on { opacity: 1; transform: translate(-50%, 0) scale(1); }
.checking .bubble { background: var(--bamboo); }
.done .bubble { background: var(--green); }
.jobs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; position: relative; z-index: 1; }
.job { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14px; font-weight: 500; transition: transform .2s var(--a-ease), box-shadow .2s, border-color .2s; }
.job i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.job:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 10px 20px -12px #0006; border-color: var(--ink-4); }
.job:disabled { opacity: .5; cursor: default; }
.ledger-list li.fresh { animation: l-in .8s var(--a-ease); background: color-mix(in srgb, var(--green-soft) 60%, transparent); }
@keyframes l-in { from { opacity: 0; transform: translateY(-14px); background: var(--green-soft); } }

/* ---------- Teams on the tiles ---------- */
.tile-team { list-style: none; display: flex; justify-content: center; gap: clamp(10px, 2vw, 22px); flex-wrap: wrap; }
.tile-wide .tile-team { grid-column: 1 / -1; }
.tile-team li { display: grid; justify-items: center; gap: 2px; width: 84px; text-align: center; }
.tile-team .pd { width: 52px; transition: transform .3s var(--a-ease); }
.tile-team li:hover .pd { transform: translateY(-4px) rotate(-4deg); }
.tile-team b { font-size: 14px; font-weight: 700; margin-top: 4px; }
.tile-team span { font-size: 12px; color: var(--ink-3); line-height: 1.3; }

/* ---------- Pandas on the ways to buy ---------- */
.st-pandas { display: flex; flex-wrap: wrap; align-content: flex-end; min-height: 92px; margin-bottom: 14px; padding-right: 12px; }
.st-pandas .pd { width: 46px; margin-right: -14px; margin-bottom: -8px; filter: drop-shadow(0 4px 6px #0000001a); }
.steps li:nth-child(4) .st-pandas .pd { width: 38px; margin-right: -12px; }
.steps li:nth-child(5) .st-pandas .pd { width: 34px; margin-right: -12px; }

/* ---------- Juno, in the dark chapter ---------- */
.juno { display: grid; gap: 28px; }
.juno-pd { display: flex; align-items: flex-end; gap: 18px; }
.juno-pd .pd { width: 120px; flex: none; filter: drop-shadow(0 18px 24px #0008); }
.juno-pd p { color: #a1a1a6; font-size: 15px; line-height: 1.5; max-width: 22em; padding-bottom: 14px; }
.juno-pd b { color: #f5f5f7; font-size: 17px; }

/* ---------- Your team, in the builder ---------- */
.b-team { display: grid; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.b-heads { display: flex; flex-wrap: wrap; gap: 6px; min-height: 40px; align-items: center; }
.b-head .pd { width: 38px; }
.b-head.pop { animation: b-pop .6s var(--a-ease); }
@keyframes b-pop { 0% { transform: translateY(14px) scale(.4); opacity: 0; } 60% { transform: translateY(-4px) scale(1.08); opacity: 1; } 100% { transform: none; } }
.b-heads .b-empty { font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  .pd, .pd *, .b-head.pop, .ledger-list li.fresh { animation: none !important; transition: none !important; }
}

/* ---------- Statement: lights up phrase by phrase ---------- */
.a-statement { max-width: calc(var(--a-max) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(120px, 18vw, 240px) var(--gutter); }
.a-big { font-size: clamp(30px, 4.4vw, 56px); line-height: 1.14; font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.a-big span { color: var(--line-2); transition: color .6s var(--a-ease); }
.a-big span.lit { color: var(--ink); }

/* ---------- The interface: real screens in a laptop and a phone ---------- */
.a-ui { max-width: calc(var(--a-max) + 2 * var(--gutter) + 120px); margin: 0 auto; padding: 0 var(--gutter) 24px; scroll-margin-top: 56px; overflow-x: clip; }
.ui-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; width: fit-content; max-width: 100%; margin: clamp(32px, 4vw, 48px) auto 0; padding: 4px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 6%, transparent); }
.ui-tabs button { border: 0; background: none; height: 36px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-3); transition: background .25s, color .25s, box-shadow .25s; }
.ui-tabs button:hover { color: var(--ink); }
.ui-tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px #0000001a, 0 4px 12px -6px #00000033; }
.ui-stage { position: relative; margin: clamp(32px, 4vw, 52px) auto 0; padding-right: clamp(0px, 7vw, 90px); }
.ui-mac { position: relative; margin: 0 auto; max-width: 1040px; }
.ui-screen { position: relative; aspect-ratio: 16 / 10; border-radius: clamp(10px, 1.6vw, 20px) clamp(10px, 1.6vw, 20px) 0 0; overflow: hidden; background: #e8e6e1; border: clamp(6px, 1vw, 12px) solid #1c1c1e; border-bottom-width: clamp(10px, 1.6vw, 18px); box-shadow: 0 0 0 1px #3a3a3c, var(--a-shadow); }
.ui-screen img, .ui-phone-in img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transform: scale(1.012); transition: opacity .7s var(--a-ease), transform 1.2s var(--a-ease); }
.ui-screen img.on, .ui-phone-in img.on { opacity: 1; transform: none; }
.ui-base { height: clamp(10px, 1.4vw, 16px); margin: 0 -6%; border-radius: 0 0 14px 14px / 0 0 10px 10px; background: linear-gradient(#d8d6d1, #b9b6af 60%, #9e9b94); box-shadow: 0 14px 30px -14px #0006; position: relative; }
.ui-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 14%; height: 45%; transform: translateX(-50%); border-radius: 0 0 10px 10px; background: #a9a69f; }
.ui-phone { position: absolute; right: 0; bottom: -6%; width: clamp(120px, 17vw, 210px); aspect-ratio: 390 / 844; padding: clamp(5px, .7vw, 8px); border-radius: clamp(24px, 3.4vw, 40px); background: #1c1c1e; box-shadow: 0 0 0 1px #3a3a3c, 0 40px 80px -30px #0009; }
.ui-phone-in { position: relative; width: 100%; height: 100%; border-radius: clamp(19px, 2.8vw, 33px); overflow: hidden; background: #e8e6e1; }
.ui-cap { margin: clamp(48px, 6vw, 72px) auto 0; max-width: 34em; text-align: center; font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; letter-spacing: -.015em; color: var(--ink); min-height: 2.6em; }
.ui-note { margin-top: 8px; text-align: center; font-size: 13px; color: var(--ink-4); }
.a-ui + .a-tiles, .a-try + .a-tiles { padding-top: clamp(110px, 14vw, 180px); }

/* ---------- Try it on your business ---------- */
.a-try { max-width: calc(var(--a-max) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(110px, 14vw, 180px) var(--gutter) 0; scroll-margin-top: 56px; }
.try { max-width: 760px; margin: clamp(32px, 4vw, 48px) auto 0; display: grid; gap: 14px; padding: clamp(20px, 3vw, 32px); background: var(--surface); border-radius: 28px; box-shadow: var(--a-shadow); }
.try-svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.try-svc button { display: grid; justify-items: center; gap: 6px; padding: 14px 8px 12px; border-radius: 18px; border: 1px solid var(--line-2); background: var(--bg); font-size: 15px; transition: border-color .2s, box-shadow .2s, transform .2s var(--a-ease); }
.try-svc button .pd { width: 44px; }
.try-svc button:hover { transform: translateY(-2px); }
.try-svc button[aria-checked="true"] { border-color: var(--a-sel); box-shadow: 0 0 0 1px var(--a-sel); background: color-mix(in srgb, var(--a-sel) 5%, var(--surface)); }
.try-field { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.try-field input { height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg); font-size: 17px; color: var(--ink); }
.try-field input:focus { outline: none; border-color: var(--a-sel); box-shadow: 0 0 0 3px color-mix(in srgb, var(--a-sel) 22%, transparent); }
.try-go { height: 52px; font-size: 17px; margin-top: 4px; }
.try-go:disabled { opacity: .5; cursor: default; }
.try-out { max-width: 980px; margin: 28px auto 0; scroll-margin-top: 80px; }
.tr-work { display: grid; justify-items: center; gap: 12px; padding: 36px 20px; }
.tr-work .pd { width: 150px; filter: drop-shadow(0 18px 22px #0000001f); }
.tr-step { font-size: 17px; color: var(--ink-2); }
.tr-busy { display: flex; align-items: center; gap: 16px; max-width: 640px; margin: 0 auto; padding: 20px 24px; background: var(--surface); border-radius: 20px; }
.tr-busy .pd { width: 54px; flex: none; }
.tr-result { display: grid; gap: 18px; }
.tr-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tr-post { display: grid; align-content: start; gap: 10px; min-height: 280px; padding: 22px; border-radius: 22px; color: #fff; box-shadow: var(--a-shadow); }
.tr-post.p0 { background: linear-gradient(155deg, #e9a07f, #c46a6a); }
.tr-post.p1 { background: linear-gradient(155deg, #8fb3d9, #4f7fb8); }
.tr-post.p2 { background: linear-gradient(155deg, #b5a3dc, #7a64b4); }
.tr-ch { justify-self: start; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: #ffffff33; padding: 4px 9px; border-radius: 999px; }
.tr-post b { font-size: 21px; line-height: 1.2; letter-spacing: -.02em; }
.tr-post p { font-size: 15px; line-height: 1.5; color: #fffffff0; }
.tr-post em { margin-top: auto; font-style: normal; font-size: 12px; color: #ffffffc0; }
.tr-news { justify-self: center; display: inline-flex; gap: 10px; align-items: center; padding: 10px 18px; background: var(--surface); border-radius: 999px; font-weight: 600; box-shadow: var(--a-shadow); }
.tr-news span, .tr-k { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-4); }
.tr-doc { display: grid; gap: 12px; max-width: 760px; width: 100%; margin: 0 auto; padding: clamp(24px, 4vw, 44px); background: #fff; border-radius: 22px; box-shadow: var(--a-shadow); }
.tr-doc h3 { font-size: clamp(24px, 3vw, 32px); line-height: 1.15; }
.tr-dec { font-size: 16px; color: var(--ink-2); line-height: 1.5; }
.tr-secs { list-style: none; counter-reset: s; display: grid; gap: 12px; margin: 8px 0 6px; }
.tr-secs li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; }
.tr-secs li::before { content: counter(s); grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--sales) 16%, #fff); color: var(--sales); font-weight: 700; font-size: 14px; }
.tr-secs b { font-size: 17px; }
.tr-secs span { color: var(--ink-3); font-size: 15px; line-height: 1.45; }
.tr-srcs, .tr-dots, .tr-ticks { list-style: none; display: grid; gap: 6px; font-size: 15px; }
.tr-srcs li::before, .tr-dots li::before { content: "•  "; color: var(--ink-4); }
.tr-ticks li::before { content: "✓  "; color: var(--green); font-weight: 700; }
.tr-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 6px 0; }
.tr-cols .tr-k { margin-bottom: 8px; }
.tr-cols ul + .tr-k { margin-top: 16px; }
.tr-foot { display: grid; justify-items: center; gap: 12px; text-align: center; color: var(--ink-3); font-size: 15px; }
.tr-foot .a-links { justify-content: center; }
button.a-more { border: 0; background: none; padding: 0; cursor: pointer; }

/* ---------- Services: tiles ---------- */
.a-tiles { max-width: calc(var(--a-max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); scroll-margin-top: 56px; }
.a-tiles .a-head { padding: 0; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(40px, 6vw, 72px); }
.tile { position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 28px; padding: clamp(28px, 4vw, 48px); background: var(--surface); border-radius: 30px; overflow: hidden; text-align: center; }
.tile-copy { display: grid; justify-items: center; gap: 8px; }
.tile h3 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.05; }
.tile-tag { font-size: clamp(17px, 1.6vw, 21px); color: var(--ink-2); font-weight: 500; letter-spacing: -.01em; }
.tile-price { font-size: 15px; color: var(--ink-3); }
.tile .a-links { justify-content: center; gap: 20px; margin-top: 10px; }
.tile .a-more { font-size: 15px; }
.tile-facts { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 20px; border-top: 1px solid var(--line); text-align: left; font-size: 14px; color: var(--ink-2); }
.tile-facts b { display: block; font-size: 12px; font-weight: 600; color: var(--ink-4); margin-bottom: 2px; }
.tile-wide { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); grid-template-rows: 1fr auto; text-align: left; align-items: center; }
.tile-wide .tile-copy { justify-items: start; }
.tile-wide .a-links { justify-content: flex-start; }
.tile-wide .tile-facts { grid-column: 1 / -1; }
.a-next { margin-top: 28px; text-align: center; color: var(--ink-3); font-size: 15px; }
.a-next span { color: var(--ink); font-weight: 500; }

/* The product shots inside the tiles */
.shot { position: relative; justify-self: center; width: min(420px, 100%); }
.shot-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding-bottom: 34px; }
.post { aspect-ratio: 1; border-radius: 14px; display: flex; align-items: flex-end; padding: 10px; color: #fff; font-size: 12px; font-weight: 600; line-height: 1.2; text-align: left; box-shadow: 0 10px 24px -14px #0006; }
.post.p0 { background: linear-gradient(150deg, #e9a07f, #c46a6a); }
.post.p1 { background: linear-gradient(150deg, #8fb3d9, #5f8fc4); }
.post.p2 { background: linear-gradient(150deg, #d6b56f, #b48a3a); }
.post.p3 { background: linear-gradient(150deg, #7fbcae, #4a9a94); }
.post.p4 { background: linear-gradient(150deg, #b5a3dc, #8a74c0); }
.post.p5 { background: linear-gradient(150deg, #2f2c27, #1d1b16); }
.shot-chip { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); white-space: nowrap; background: var(--ink); color: #fff; font-size: 12px; font-weight: 500; padding: 7px 14px; border-radius: 999px; box-shadow: 0 10px 24px -10px #0008; }
.shot-report, .shot-doc { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 22px 18px; text-align: left; box-shadow: var(--a-shadow); width: min(340px, 100%); }
.rp-k { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--sales); }
.rp-t { margin-top: 4px; font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.rp-bars { display: flex; align-items: flex-end; gap: 8px; height: 96px; margin: 16px 0 12px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.rp-bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: color-mix(in srgb, var(--sales) 30%, #fff); }
.rp-bars i:nth-child(3) { background: var(--sales); }
.rp-line { font-size: 13px; font-weight: 500; }
.rp-line sup { color: var(--sales); }
.rp-src { margin-top: 6px; font-size: 11.5px; color: var(--ink-3); }
.rp-src span { color: var(--sales); font-weight: 600; margin-right: 4px; }
.dc-t { font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.dc-s { font-size: 12px; color: var(--ink-3); margin-bottom: 10px; }
.dc-f { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.dc-f span { color: var(--ink-3); }
.dc-f b { font-weight: 600; }
.dc-f b::before { content: "✓ "; color: var(--green); }
.dc-sign { margin-top: 18px; padding-top: 22px; border-bottom: 1.5px solid var(--ink); position: relative; }
.dc-sign span { position: absolute; left: 0; top: 0; font-size: 11px; font-weight: 600; color: #fff; background: var(--ops); padding: 2px 8px; border-radius: 999px; }

/* ---------- Ways to buy ---------- */
.a-ways { max-width: calc(var(--a-max) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(120px, 16vw, 200px) var(--gutter) 0; scroll-margin-top: 56px; }
.a-ways .a-head { padding: 0; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); margin-top: clamp(48px, 6vw, 80px); position: relative; }
.steps::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 2px; background: linear-gradient(90deg, var(--line-2), var(--ink)); }
.steps li { position: relative; display: grid; align-content: start; gap: 8px; }
.st-n { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--line-2); font-weight: 700; font-size: 17px; margin-bottom: 12px; }
.steps li:last-child .st-n { background: var(--ink); border-color: var(--ink); color: #fff; }
.steps b { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.steps span:not(.st-n) { color: var(--ink-3); line-height: 1.5; font-size: 15px; }
.steps em { font-style: normal; font-size: 14px; font-weight: 600; color: var(--ink); }

/* ---------- Checked: the dark chapter ---------- */
.a-dark { margin-top: clamp(120px, 16vw, 200px); background: #0b0b0c; color: #f5f5f7; scroll-margin-top: 56px; }
.a-dark-in { max-width: calc(var(--a-max) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(100px, 14vw, 180px) var(--gutter); }
.a-dark .a-head { padding: 0; }
.a-dark h2 { color: #f5f5f7; }
.a-dark h2 span { color: #6e6e73; }
.a-dark .a-eyebrow { color: #a1a1a6; }
.checked { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; margin-top: clamp(48px, 6vw, 80px); }
.rings { list-style: none; display: grid; gap: 28px; }
.rings li { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; align-items: center; }
.rings b { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.rings small { grid-column: 2; font-size: 15px; color: #a1a1a6; }
.ring { grid-row: span 2; width: 56px; height: 56px; border-radius: 50%; border: 3px solid #2c2c2e; position: relative; }
.ring::after { content: ""; position: absolute; left: 18px; top: 11px; width: 12px; height: 22px; border: solid #30d158; border-width: 0 3px 3px 0; transform: rotate(45deg) scale(.6); opacity: 0; transition: opacity .5s var(--a-ease), transform .6s var(--a-ease); }
.checked.in .ring { border-color: #30d158; transition: border-color .6s var(--a-ease); }
.checked.in .ring::after { opacity: 1; transform: rotate(45deg) scale(1); }
html:not(.motion) .ring { border-color: #30d158; }
html:not(.motion) .ring::after { opacity: 1; transform: rotate(45deg) scale(1); }
.checked.in li:nth-child(2) .ring, .checked.in li:nth-child(2) .ring::after { transition-delay: .35s; }
.checked.in li:nth-child(3) .ring, .checked.in li:nth-child(3) .ring::after { transition-delay: .7s; }
.a-dark .ap-amt { font-family: var(--sans); font-weight: 700; }
.a-dark .approval { border-radius: 22px; overflow: hidden; box-shadow: 0 40px 80px -40px #000, 0 0 0 1px #ffffff1a; color: var(--ink); }
.flow { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); margin-top: clamp(64px, 8vw, 112px); padding-top: 32px; border-top: 1px solid #2c2c2e; color: #a1a1a6; line-height: 1.5; font-size: 15px; }
.flow b { display: block; color: #f5f5f7; font-size: 17px; margin-bottom: 4px; }

/* ---------- Plan builder ---------- */
.a-build { max-width: calc(var(--a-max) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(120px, 16vw, 200px) var(--gutter) 0; scroll-margin-top: 56px; }
.a-build .a-head { padding: 0; }
.builder { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; margin-top: clamp(40px, 6vw, 72px); align-items: start; }
.b-pick { display: grid; gap: 28px; }
.b-row { border: 0; display: grid; gap: 12px; min-width: 0; }
.b-name { display: grid; gap: 2px; padding: 0; }
.b-name b { font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.b-name span { color: var(--ink-3); font-size: 15px; }
.b-opts { display: grid; grid-template-columns: .8fr 1.2fr 1fr; gap: 10px; }
.b-opts button { display: grid; gap: 2px; align-content: center; min-height: 72px; padding: 12px 16px; text-align: left; background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.b-opts button:hover { border-color: var(--ink-4); }
.b-opts button b { font-size: 17px; font-weight: 600; }
.b-opts button span { font-size: 13px; color: var(--ink-3); }
.b-opts button span:empty { display: none; }
.b-opts button[aria-pressed="true"] { border-color: var(--a-sel); box-shadow: 0 0 0 1px var(--a-sel); background: color-mix(in srgb, var(--a-sel) 5%, var(--surface)); }
.b-company { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; cursor: pointer; }
.b-company:has(input:checked) { border-color: var(--a-sel); box-shadow: 0 0 0 1px var(--a-sel); }
.b-check { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; white-space: nowrap; }
.b-check input { width: 20px; height: 20px; accent-color: var(--a-sel); }
.b-sum { position: sticky; top: 76px; display: grid; gap: 12px; padding: 28px; background: var(--surface); border-radius: 24px; box-shadow: var(--a-shadow); }
.b-sum-label { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.b-lines { list-style: none; display: grid; gap: 8px; font-size: 15px; }
.b-lines li { display: flex; justify-content: space-between; gap: 12px; }
.b-lines li span { color: var(--ink-2); }
.b-empty { color: var(--ink-4); }
.b-save { font-size: 14px; font-weight: 500; color: var(--green); min-height: 1em; }
.b-total { padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 15px; }
.b-total span:first-child { font-size: 44px; font-weight: 700; letter-spacing: -.04em; color: var(--ink); }
.b-go { width: 100%; height: 50px; }
.b-go:disabled { opacity: .35; cursor: default; }
.b-fine { font-size: 12px; color: var(--ink-4); line-height: 1.5; }

/* ---------- The entire AI company ---------- */
.a-company { padding: clamp(120px, 16vw, 200px) 0 0; scroll-margin-top: 56px; }
.a-company .a-sub { margin-top: 18px; }
.a-company .a-links { justify-content: center; margin-top: 30px; }
.home .demo { max-width: calc(var(--a-max) + 2 * var(--gutter) + 80px); margin: clamp(56px, 7vw, 88px) auto 0; padding: 0 var(--gutter); }
.home .demo-label { justify-content: center; gap: 12px; color: var(--ink-4); }
.home .pick, .home .hq { border-radius: 24px; box-shadow: var(--a-shadow); }
.home .hq { margin-top: 14px; }
.home .demo-foot { text-align: center; max-width: 60em; margin: 18px auto 0; color: var(--ink-4); }

/* The shared closing call to action gets the same room as the chapters above */
.home + .cta { margin-top: clamp(120px, 16vw, 200px); }

@media (max-width: 1000px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .steps::before { display: none; }
  .builder { grid-template-columns: 1fr; }
  .b-sum { position: static; }
  .flow { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .studio { grid-template-columns: 1fr; }
  .tr-posts { grid-template-columns: 1fr; }
  .tr-post { min-height: 0; }
  .tr-cols { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .tile-wide { grid-template-columns: 1fr; text-align: center; }
  .tile-wide .tile-copy { justify-items: center; }
  .tile-wide .a-links { justify-content: center; }
  .checked { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .a-links { gap: 20px; }
  .try-svc button { font-size: 13px; }
  .try-svc button .pd { width: 36px; }
  .ui-tabs { border-radius: 18px; }
  .ui-tabs button { height: 32px; padding: 0 12px; font-size: 13px; }
  .ui-stage { padding-right: 0; }
  .ui-phone { width: 30%; bottom: -14%; right: -2%; }
  .stage { padding: 16px 12px 16px; }
  .stage-hint { display: none; }
  .stations { gap: 4px; padding-top: 48px; }
  .bubble { font-size: 11px; padding: 6px 9px; top: -44px; width: max-content; max-width: 112px; white-space: normal; text-align: center; line-height: 1.25; }
  .job { height: 38px; font-size: 13px; padding: 0 12px; }
  .tile-team li { width: 72px; }
  .ledger-list li { grid-template-columns: minmax(0, 1fr) auto; row-gap: 2px; padding: 12px 16px; }
  .l-svc { grid-column: 1 / -1; }
  .tile-facts { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .b-opts { grid-template-columns: 1fr 1fr; }
  .b-opts button:first-child { grid-column: 1 / -1; min-height: 48px; }
  .b-company { flex-direction: column; align-items: flex-start; }
  .flow { grid-template-columns: 1fr; }
}
