/* The AVA site (chrisx.ai/ava and its pages): only what it adds on top of site.css and biz.css. Every rule sits under body.ava.
   The pages: ava.html (Home), ava-software.html, ava-university.html, ava-webinar.html.
   White and light-gray grounds, ink #080808, grays. The point color is bright red #FF3B30 as an underline under the 1 key
   word (site.css, h1 em and h2 em), never a fill behind dark text; the 1 red fill is the bar on top, white bold type on it
   (Chris, 10/24). No blue. Client work keeps the client's own colors. */

body.ava { --ink: #080808; --red: #FF3B30; --barh: 45px; }
body.ava section { padding: 120px 0; }
body.ava .wrap { max-width: 1120px; }
body.ava section.wk .wrap { max-width: 1280px; } /* the work row at the same width as caseengine and business */
body.ava .faq a, body.ava .ava-foot a { color: var(--ink); }

/* ---------- The top: the bar (sticky; Chris, 10/24: short, red, white bold, 1 line), then the menu (sticky under it on a computer) ---------- */
body.ava .ava-bar { position: sticky; top: 0; z-index: 41; display: block; background: var(--red); color: #fff; text-decoration: none; font-size: 16px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
body.ava .ava-bar .wrap { display: flex; align-items: center; justify-content: center; min-height: 44px; padding-top: 8px; padding-bottom: 8px; text-align: center; white-space: nowrap; }
body.ava .ava-bar .t { font-variant-numeric: tabular-nums; }
/* The early-bird bar shows the drop (Chris, 10/25): $1,299 struck by a white line, then $897 lands. Once, on load. */
body.ava .ava-bar .was { position: relative; display: inline-block; margin-right: 2px; font-weight: 600; opacity: .78; text-decoration: none; }
body.ava .ava-bar .was::after { content: ""; position: absolute; left: -3px; right: -3px; top: 52%; height: 2px; border-radius: 2px; background: #fff; transform: scaleX(0); transform-origin: left center; animation: ava-strike .45s .5s cubic-bezier(.16, 1, .3, 1) forwards; }
body.ava .ava-bar .now { display: inline-block; animation: ava-now .5s .95s cubic-bezier(.34, 1.5, .64, 1) both; }
@keyframes ava-strike { to { transform: scaleX(1); } }
@keyframes ava-now { from { opacity: 0; transform: translateY(5px) scale(.85); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { body.ava .ava-bar .was::after { animation: none; transform: scaleX(1); } body.ava .ava-bar .now { animation: none; } }
body.ava a.ava-bar:hover .t { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
body.ava .ava-cd[hidden] { display: none; }

body.ava .ava-nav { position: sticky; top: var(--barh); z-index: 40; background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
body.ava .ava-nav .wrap { position: relative; display: flex; align-items: center; gap: 20px; height: 64px; }
body.ava .ava-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--faint); font-size: 14px; font-weight: 500; white-space: nowrap; }
body.ava .ava-brand img { height: 26px; width: auto; }
body.ava .ava-links { list-style: none; margin: 0 0 0 auto; padding: 0; display: flex; align-items: center; gap: 2px; }
body.ava .ava-links a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 15px; font-weight: 500; color: var(--muted); text-decoration: none; white-space: nowrap; }
body.ava .ava-links a:hover { color: var(--ink); background: var(--gray); }
body.ava .ava-links a[aria-current="page"] { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 7px; }
body.ava .ava-links .live i { display: inline-block; width: 7px; height: 7px; margin: 0 8px 1px 0; border-radius: 50%; background: var(--red); vertical-align: middle; }
body.ava .ava-nav .ava-join { flex: none; }
body.ava .ava-menu { display: none; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; font-size: 15px; font-weight: 600; color: var(--ink); }
body.ava .ava-menu svg { width: 18px; height: 18px; }

/* ---------- Shared parts ---------- */
body.ava .ava-tagline { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 500; color: var(--text); text-decoration: none; }
body.ava a.ava-tagline:hover { border-color: var(--ink); }
body.ava .ava-tagline i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(255, 59, 48, 0.14); }
body.ava .ava-pic { margin: 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--gray); box-shadow: 0 40px 80px -48px rgba(0, 0, 0, 0.4); }
body.ava .ava-pic img, body.ava .ava-pic video { display: block; width: 100%; height: auto; }
body.ava .ava-pic.is-white { background: #fff; }
body.ava .ava-pic.is-phone { max-width: 340px; margin: 0 auto; border-radius: 28px; }
body.ava .ava-pic.is-square { max-width: 560px; margin: 0 auto; }
body.ava .ava-note { margin-top: 12px; font-size: 13px; line-height: 1.45; color: var(--faint); text-align: center; }
body.ava .ava-steptag { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; background: var(--gray); font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--ink); }
body.ava .ava-steptag b { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 600; }

/* A page's own hero (every page but Home): centered, the tag, the title, 1 line */
body.ava .ava-phero { padding: 88px 0 72px; text-align: center; }
body.ava .ava-phero h1 { margin-top: 24px; font-size: clamp(44px, 6.6vw, 88px); line-height: 0.98; letter-spacing: -0.055em; }
body.ava .ava-phero .lead { max-width: 680px; margin: 24px auto 0; font-size: clamp(18px, 2vw, 22px); text-wrap: balance; }
body.ava .ava-phero .actions { margin-top: 32px; }

/* ---------- Home ---------- */
body.ava .hero { padding: 72px 0 40px; }
body.ava .hero h1 { margin-top: 24px; font-size: clamp(44px, 7vw, 100px); max-width: 1000px; margin-left: auto; margin-right: auto; }
body.ava .hero .lead { max-width: 700px; color: var(--text); }
body.ava .hero .actions { margin-top: 32px; }
body.ava .hero .biz-call { margin-top: 14px; }

/* The hero box: the 16:9 player under the button (data-yt; until it has an id, the muted hero loop, 1 file in 1 slot) */
body.ava .hero .ava-vsl { margin-top: 56px; }
body.ava .ava-vsl { position: relative; margin: 40px auto 0; max-width: 1000px; aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: var(--gray); box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 0.45), 0 20px 40px -30px rgba(0, 0, 0, 0.2); }
body.ava .ava-vsl video { width: 100%; height: 100%; object-fit: cover; }
body.ava .ava-vsl .bz-play[hidden] { display: none; }
body.ava .ava-vsl.is-app { aspect-ratio: 16 / 10; background: #fff; }
body.ava .ava-vsl.is-wide { background: #fff; }
body.ava .ava-phero .ava-vsl { margin-top: 48px; }
body.ava .ava-uni-pic { max-width: 1120px; margin: 48px auto 0; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: 0 40px 80px -48px rgba(0, 0, 0, 0.35); }
body.ava .ava-uni-pic img, body.ava .ava-uni-pic video { display: block; width: 100%; height: auto; }

/* The villain, then the Needle Law as 2 tiles */
body.ava .ava-villain .bz-h { margin-bottom: 40px; }
body.ava .ava-punch { text-align: center; font-size: clamp(48px, 8vw, 110px); font-weight: 700; letter-spacing: -0.055em; line-height: 0.95; color: var(--ink); }
body.ava .ava-punch-sub { max-width: 640px; margin: 24px auto 0; text-align: center; font-size: clamp(19px, 2vw, 23px); line-height: 1.45; color: var(--text); text-wrap: balance; }
body.ava .ava-tools { max-width: 760px; margin: 48px auto 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
body.ava .ava-tools video { display: block; width: 100%; height: auto; }
body.ava .ava-needle { margin-top: 64px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
body.ava .ava-n-card { padding: 28px 28px 36px; border-radius: 28px; background: #fff; text-align: center; }
body.ava .ava-n-card img { display: block; width: 100%; height: auto; margin-bottom: 24px; }
body.ava .ava-n-card h3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.05; letter-spacing: -0.045em; }
body.ava .ava-n-card p { margin-top: 10px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.45; color: var(--muted); }

/* The 3 parts (Home's What's inside; University's call and Threads): the tree's choice tiles (site.css .tree-choice), 1 ink and
   the rest white with a thin ink border, emoji or logos top left, the bold title and 1 line bottom left. Square on a computer. */
body.ava .ava-parts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
body.ava .ava-parts.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin: 0 auto; }
body.ava .ava-parts li { display: flex; }
body.ava .ava-part {
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 24px; width: 100%; min-width: 0;
  aspect-ratio: 1 / 1; padding: 30px; border: 1.5px solid var(--ink); border-radius: 28px; background: #fff; color: var(--ink); text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}
body.ava .ava-part.is-dark { background: var(--ink); color: #fff; }
body.ava a.ava-part:hover { background: var(--gray); }
body.ava a.ava-part.is-dark:hover { background: #262626; }
body.ava a.ava-part:active { transform: scale(0.98); }
body.ava .ava-part .e { font-size: 56px; line-height: 1; }
body.ava .ava-logos { display: flex; gap: 10px; }
body.ava .ava-logos img { width: 56px; height: 56px; padding: 13px; border-radius: 16px; background: #fff; }
body.ava .ava-part .txt { display: flex; flex-direction: column; gap: 8px; }
body.ava .ava-part b { font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; letter-spacing: -0.045em; line-height: 1.05; }
body.ava .ava-part .txt span { font-size: 16px; line-height: 1.45; color: var(--muted); text-wrap: pretty; }
body.ava .ava-part.is-dark .txt span { color: rgba(255, 255, 255, 0.72); }

/* The method on Home: 5 short cards in a row */
body.ava .ava-five { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
body.ava .ava-five li { padding: 26px 22px 28px; border: 1.5px solid var(--ink); border-radius: 24px; background: #fff; }
body.ava .ava-five .n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 15px; font-weight: 600; }
body.ava .ava-five b { display: block; margin-top: 28px; font-size: clamp(24px, 2.2vw, 30px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; color: var(--ink); }
body.ava .ava-five p { margin-top: 12px; font-size: 15px; line-height: 1.45; color: var(--muted); text-wrap: pretty; }

/* The $10M Roadmap: 1 still (16:9), then the 3 stages in the framework's boxes, 3 across, then 1 line on how it adds up. */
body.ava .ava-five.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 20px; }
body.ava .ava-road-sum { max-width: 720px; margin: 36px auto 0; text-align: center; color: var(--text); text-wrap: balance; }

/* How it works: 1 loop, the wide one or the phone one (only the shown one loads and plays). */
body.ava .ava-how .how-phone { display: none; }
@media (max-width: 640px) { body.ava .ava-how .how-wide { display: none; } body.ava .ava-how .how-phone { display: block; } }
@media (max-width: 600px) {
  body.ava .ava-needle { margin-top: 40px; grid-template-columns: minmax(0, 1fr); gap: 14px; }
  body.ava .ava-n-card { padding: 20px 16px 28px; border-radius: 22px; }
}

/* The price: 1 black card in the middle */
body.ava .ava-pkg { position: relative; max-width: 600px; margin: 0 auto; padding: 48px 44px 40px; text-align: left; }
body.ava .bz-prices .ava-pkg h3 { min-height: 0; margin-top: 0; }
body.ava .bz-prices .ava-pkg .then { min-height: 0; margin-top: 12px; font-size: 16px; line-height: 1.5; }
/* 2 prices side by side, the same plan (Chris, 10/24); from Sun 11/1 only the Nov 1 card is left, centered */
body.ava .ava-pkgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 1040px; margin: 0 auto; }
html[data-ava-price="regular"] body.ava .ava-pkgs { grid-template-columns: minmax(0, 600px); justify-content: center; }
body.ava .ava-pkgs .ava-pkg { max-width: none; margin: 0; display: flex; flex-direction: column; }

/* The Nov 1 card is gray until Sun 11/1 (Chris, 10/25: "not accessible yet"); the clock's data-ava-price="regular" turns it back on. */
html:not([data-ava-price="regular"]) body.ava .ava-pkg.is-later { background: #f2f2f2; border-color: #dcdcdc; box-shadow: none; }
html:not([data-ava-price="regular"]) body.ava .ava-pkg.is-later,
html:not([data-ava-price="regular"]) body.ava .ava-pkg.is-later * { color: #a3a3a3 !important; }
html:not([data-ava-price="regular"]) body.ava .ava-pkg.is-later .pkg-e,
html:not([data-ava-price="regular"]) body.ava .ava-pkg.is-later .e { filter: grayscale(1); opacity: .5; }
@media (max-width: 860px) { body.ava .ava-pkgs { grid-template-columns: minmax(0, 1fr); gap: 14px; } }

/* The close */
body.ava .ava-close { padding: 136px 0 144px; }
body.ava .ava-close h2 { margin-bottom: 40px; }
body.ava .ava-close .biz-call { margin-top: 16px; }
body.ava .ava-line { white-space: nowrap; }

/* ---------- Software: one block per thing, a real screen or a short loop and 1 or 2 lines ---------- */
body.ava .sw-block { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.4fr); gap: 64px; align-items: center; }
body.ava .sw-block.flip { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.82fr); }
body.ava .sw-block.flip .sw-text { order: 2; }
body.ava .sw-block + .sw-block { margin-top: 120px; }
body.ava .sw-text h3 { margin-top: 20px; font-size: clamp(32px, 3.2vw, 44px); line-height: 1.02; letter-spacing: -0.05em; }
body.ava .sw-text p { margin-top: 16px; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.5; color: var(--muted); text-wrap: pretty; }
body.ava .sw-pair { display: grid; grid-template-columns: minmax(0, 0.48fr) minmax(0, 1fr); gap: 20px; align-items: center; }
body.ava .sw-pair .ava-pic.is-phone { max-width: none; border-radius: 22px; }
/* The offer, the way AVA writes it: the document itself */
body.ava .ava-doc { padding: 40px 44px 36px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 40px 80px -48px rgba(0, 0, 0, 0.35); }
body.ava .ava-doc .k { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
body.ava .ava-doc h4 { margin: 10px 0 0; font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; font-size: clamp(30px, 3vw, 40px); line-height: 1.05; letter-spacing: -0.02em; color: var(--ink); }
body.ava .ava-doc dl { margin: 24px 0 0; display: grid; gap: 0; }
body.ava .ava-doc dl > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
body.ava .ava-doc dt { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--faint); padding-top: 2px; }
body.ava .ava-doc dd { margin: 0; font-size: 16px; line-height: 1.5; color: var(--text); }
body.ava .ava-doc dd ol { margin: 0; padding-left: 20px; }
body.ava .ava-doc .fine { margin-top: 14px; font-size: 12px; color: var(--faint); }
/* The playbooks by step, the connector box beside them */
body.ava .ava-books { margin: 28px 0 0; display: grid; }
body.ava .ava-books > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
body.ava .ava-books dt { font-size: 16px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
body.ava .ava-books dd { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
body.ava .ava-books dd span { padding: 6px 13px; border-radius: 999px; background: var(--gray); font-size: 14px; font-weight: 500; line-height: 1.3; color: var(--ink); white-space: nowrap; }
body.ava section.gray .ava-books dd span { background: #fff; }
/* Also inside: small tiles with no screen */
body.ava .sw-also { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
body.ava .sw-also li { display: flex; flex-direction: column; gap: 22px; padding: 30px 30px 32px; border: 1.5px solid var(--ink); border-radius: 28px; background: #fff; }
body.ava .sw-also .e { font-size: 44px; line-height: 1; }
body.ava .sw-also h3 { font-size: clamp(22px, 2vw, 27px); line-height: 1.1; letter-spacing: -0.04em; }
body.ava .sw-also p { margin-top: 10px; font-size: 16px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }

/* ---------- Method: 5 steps, each the title, 3 bullets and a picture where one is strong ---------- */
body.ava .md-step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: center; padding: 88px 0; border-top: 1px solid var(--line); }
body.ava .md-step:first-child { border-top: 0; padding-top: 0; }
body.ava .md-step.flip .md-text { order: 2; }
body.ava .md-step.no-pic { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
body.ava .md-word { display: flex; align-items: center; gap: 16px; }
body.ava .md-word b { width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 19px; font-weight: 600; }
body.ava .md-word span { font-size: clamp(40px, 4.4vw, 60px); font-weight: 600; letter-spacing: -0.055em; line-height: 1; color: var(--ink); }
body.ava .md-text h3 { margin-top: 26px; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.12; letter-spacing: -0.04em; }
body.ava .md-text .bz-check { margin-top: 26px; }
body.ava .md-sources { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
body.ava .md-sources li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 16px; align-items: center; padding: 24px 28px 26px; border: 1.5px solid var(--ink); border-radius: 24px; background: #fff; }
body.ava .md-sources .e { grid-row: span 2; font-size: 38px; line-height: 1; }
body.ava .md-sources b { font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; letter-spacing: -0.045em; line-height: 1.1; color: var(--ink); }
body.ava .md-sources p { font-size: 16px; line-height: 1.45; color: var(--muted); }
body.ava .md-rules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
body.ava .md-rules li { padding: 30px 28px 32px; border-radius: 28px; background: #fff; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.4; font-weight: 500; letter-spacing: -0.015em; color: var(--ink); text-wrap: pretty; }

/* ---------- University: the classroom's 5 modules (the call and Threads are .ava-parts tiles) ---------- */
/* The classroom as cards, the Execution Squad classroom's layout (Chris, 10/24): a picture on top, the name, its lessons in 1
   line, the count at the foot. 3 a row, 2 on a tablet, 1 on a phone; every card in a row the same height. */
body.ava .cl-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
body.ava .cl-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
body.ava .cl-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 0; border-bottom: 1px solid var(--line); }
body.ava .cl-card-b { display: flex; flex: 1; flex-direction: column; padding: 20px 24px 26px; }
body.ava .cl-card h3 { font-size: clamp(22px, 2vw, 26px); line-height: 1.15; letter-spacing: -0.035em; }
body.ava .cl-card h3 .n { color: var(--faint); }
body.ava .cl-card p { margin: 10px 0 20px; font-size: 15.5px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
body.ava .cl-count { align-self: flex-start; margin-top: auto; padding: 5px 12px; border-radius: 999px; background: var(--gray); font-size: 13px; font-weight: 600; color: var(--ink); }
/* The lessons inside each module, folded (Chris, 10/25: "show the lessons as text, but they fold open and shut") */
body.ava .cl-more { margin-top: auto; }
body.ava .cl-more summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--gray); font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer; user-select: none; }
body.ava .cl-more summary::-webkit-details-marker { display: none; }
body.ava .cl-more summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
body.ava .cl-more[open] summary::after { transform: translateY(2px) rotate(-135deg); }
body.ava .cl-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
body.ava .cl-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 8px; font-size: 15px; line-height: 1.35; font-weight: 600; color: var(--ink); }
body.ava .cl-list code { font: 600 12px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--faint); }
body.ava .cl-list span { display: block; margin-top: 3px; font-size: 14px; line-height: 1.45; font-weight: 400; color: var(--muted); }
/* University's classroom, one open column (Chris, 10/25: no pictures, every lesson listed, like a table) */
body.ava .cl-table { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
body.ava .cl-row { padding: 32px 0 30px; border-bottom: 1px solid var(--line); }
body.ava .cl-row-h { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; column-gap: 8px; align-items: baseline; }
body.ava .cl-row-h .n { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; color: var(--faint); }
body.ava .cl-row-h h3 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; letter-spacing: -0.035em; }
body.ava .cl-row-h p { grid-column: 2 / 4; margin: 6px 0 0; font-size: 16px; line-height: 1.5; color: var(--muted); }
body.ava .cl-row-h .cl-count { grid-column: 3; grid-row: 1; align-self: center; margin: 0; }
body.ava .cl-table .cl-list { margin: 18px 0 0 52px; }
@media (max-width: 639px) { body.ava .cl-table .cl-list { margin-left: 0; } body.ava .cl-row-h { grid-template-columns: 34px minmax(0, 1fr) auto; } }
@media (max-width: 1023px) { body.ava .cl-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { body.ava .cl-cards { grid-template-columns: minmax(0, 1fr); gap: 14px; } }

/* ---------- The webinar page ---------- */
body.ava.aw .aw-first { min-height: calc(100vh - var(--barh)); min-height: calc(100svh - var(--barh)); display: flex; align-items: center; padding: 48px 0 64px; }
body.ava.aw .aw-first .wrap { width: 100%; }
body.ava.aw .aw-card { max-width: 640px; margin: 0 auto; text-align: center; }
body.ava.aw .aw-card h1 { font-size: clamp(40px, 6.4vw, 76px); line-height: 0.98; letter-spacing: -0.055em; }
body.ava.aw .aw-sub { margin: 20px auto 0; max-width: 560px; font-size: clamp(18px, 2vw, 22px); line-height: 1.45; color: var(--muted); text-wrap: balance; }
body.ava.aw .aw-form { max-width: 460px; margin: 32px auto 0; text-align: left; }
body.ava.aw .aw-form label { display: block; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--ink); }
body.ava.aw .aw-form .q-field { margin-top: 6px; }
body.ava.aw .aw-form .aw-ok { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; margin-top: 16px; font-size: 14px; font-weight: 400; line-height: 1.45; color: var(--muted); cursor: pointer; }
body.ava.aw .aw-form .aw-ok input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ink); cursor: pointer; }
body.ava.aw .aw-form .aw-ok.bad span { color: #c0262d; }
body.ava.aw .aw-form .btn { width: 100%; margin-top: 18px; padding: 16px 26px; font-size: 17px; }
body.ava.aw .aw-form .q-small { text-align: center; }
body.ava.aw .aw-done { max-width: 560px; margin: 0 auto; text-align: center; }
body.ava.aw .aw-done h2 { font-size: clamp(32px, 4.4vw, 48px); letter-spacing: -0.045em; }
body.ava.aw .aw-done p { margin-top: 12px; font-size: 17px; color: var(--muted); }
body.ava.aw .aw-see { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
body.ava.aw .aw-see li { padding: 24px 22px 26px; border: 1.5px solid var(--ink); border-radius: 24px; background: #fff; }
body.ava.aw .aw-see .n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; }
body.ava.aw .aw-see b { display: block; margin-top: 22px; font-size: clamp(22px, 2vw, 27px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; color: var(--ink); }
body.ava.aw .aw-see p { margin-top: 10px; font-size: 15px; line-height: 1.45; color: var(--muted); }
body.ava.aw .aw-for { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
body.ava.aw .aw-for > div { padding: 34px 34px 36px; border-radius: 28px; background: var(--gray); }
body.ava.aw .aw-for h3 { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -0.04em; line-height: 1.1; }
body.ava.aw .aw-for ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
body.ava.aw .aw-for li { position: relative; padding-left: 22px; font-size: 17px; line-height: 1.45; color: var(--text); }
body.ava.aw .aw-for li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
body.ava.aw .aw-for .no li::before { background: #bdbdbd; }
body.ava.aw .aw-for .no li { color: var(--muted); }
body.ava.aw .aw-me { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: center; max-width: 860px; margin: 0 auto; }
body.ava.aw .aw-me img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; filter: grayscale(1); }
body.ava.aw .aw-me h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.05; letter-spacing: -0.045em; }
body.ava.aw .aw-me p { margin-top: 16px; font-size: 18px; line-height: 1.55; color: var(--muted); }
body.ava.aw .aw-again { text-align: center; }
body.ava.aw .aw-again .btn { margin-top: 28px; }

/* ---------- The footer: the disclaimer in full, the pages, then the links ---------- */
body.ava .ava-foot { padding: 56px 0 64px; background: #fff; border-top: 1px solid var(--line); }
body.ava .ava-foot .wrap { display: block; }
body.ava .ava-foot-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
body.ava .ava-foot-nav img { height: 24px; width: auto; margin-right: 12px; }
body.ava .ava-foot-nav a { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--muted); }
body.ava .ava-foot-nav a:hover { color: var(--ink); }
body.ava .ava-disclaimer { max-width: 820px; font-size: 13px; line-height: 1.6; color: var(--muted); }
body.ava .ava-disclaimer p + p { margin-top: 10px; }
body.ava .ava-disclaimer .h { font-size: 13px; font-weight: 600; color: var(--ink); }
body.ava .ava-disclaimer .h em { font-family: inherit; letter-spacing: 0; }
body.ava .ava-foot-row { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
body.ava .ava-foot-row nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
body.ava .ava-foot-row a { color: inherit; }

@media (min-width: 901px) {
  body.ava .ava-nb { white-space: nowrap; }
}

@media (max-width: 1080px) {
  body.ava .ava-brand span { display: none; }
  body.ava .ava-links a { padding: 8px 9px; font-size: 14px; }
}

@media (max-width: 900px) {
  body.ava section { padding: 80px 0; }
  body.ava .bz-h { margin-bottom: 40px; }
  body.ava .wk .bz-h { margin-bottom: 44px; } /* the same gap as caseengine on a phone (biz.css 44px) */
  /* The bar stays on top (15px there); the menu scrolls away with the page and opens as a list */
  body.ava .ava-bar { font-size: 15px; letter-spacing: -0.02em; }
  body.ava .ava-bar .wrap { padding-left: 10px; padding-right: 10px; }
  body.ava .ava-nav { position: relative; top: 0; }
  body.ava .ava-nav .wrap { height: 58px; gap: 10px; }
  body.ava .ava-brand img { height: 22px; }
  body.ava .ava-menu { display: inline-flex; }
  body.ava .ava-nav .ava-join { margin-left: auto; padding: 8px 12px; font-size: 13px; }
  body.ava .ava-links { display: none; position: absolute; top: 58px; left: 0; right: 0; z-index: 2; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px 16px 18px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.25); }
  body.ava .ava-nav.open .ava-links { display: flex; }
  body.ava .ava-links a { padding: 13px 4px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
  body.ava .ava-links a:hover { background: transparent; }
  body.ava .ava-links a[aria-current="page"] { text-underline-offset: 5px; }

  body.ava .ava-phero { padding: 56px 0 48px; }
  body.ava .ava-uni-pic { margin-top: 32px; border-radius: 16px; }
  body.ava .ava-phero h1 { font-size: clamp(40px, 11vw, 64px); }
  body.ava .hero { padding: 48px 0 32px; }
  body.ava .hero h1 { font-size: clamp(40px, 11.5vw, 72px); }
  body.ava .btn-wide { width: 100%; }
  body.ava .ava-vsl { border-radius: 18px; }
  body.ava .hero .ava-vsl { margin-top: 36px; }
  body.ava .ava-tools { margin-top: 36px; border-radius: 18px; }
  body.ava .ava-parts, body.ava .ava-parts.is-two { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  body.ava .ava-part { aspect-ratio: auto; min-height: 200px; gap: 36px; padding: 22px 22px 24px; border-radius: 22px; }
  body.ava .ava-part .e { font-size: 44px; }
  body.ava .ava-logos img { width: 46px; height: 46px; padding: 11px; border-radius: 13px; }
  body.ava .ava-part b { font-size: 26px; }
  body.ava .ava-part .txt span { font-size: 15px; }
  body.ava .ava-five { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  body.ava .ava-five.is-3 { grid-template-columns: minmax(0, 1fr); margin-top: 14px; }
  body.ava .ava-road-sum { margin-top: 28px; }
  body.ava .ava-five li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 4px 16px; align-items: center; padding: 20px 20px 22px; border-radius: 20px; }
  body.ava .ava-five b { margin-top: 0; font-size: 26px; }
  body.ava .ava-five p { grid-column: 2; margin-top: 2px; }
  body.ava .ava-pkg { padding: 32px 24px 28px; }
  body.ava .ava-close { padding: 96px 0 104px; }
  body.ava .ava-close h2 .ava-line { display: block; }
  body.ava .ava-pic { border-radius: 18px; }

  body.ava .sw-block, body.ava .sw-block.flip { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  body.ava .sw-block.flip .sw-text { order: 0; }
  body.ava .sw-block + .sw-block { margin-top: 80px; }
  body.ava .ava-doc { padding: 26px 22px 24px; border-radius: 18px; }
  body.ava .ava-doc dl > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  body.ava .ava-books > div { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  body.ava .sw-also { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  body.ava .sw-also li { padding: 24px 22px 26px; border-radius: 22px; }

  body.ava .md-step, body.ava .md-step.flip { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 64px 0; }
  body.ava .md-step.flip .md-text { order: 0; }
  body.ava .md-word b { width: 40px; height: 40px; font-size: 16px; }
  body.ava .md-rules { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  body.ava .md-rules li { padding: 24px 22px 26px; border-radius: 22px; }


  body.ava.aw .aw-first { min-height: 0; padding: 40px 0 56px; }
  body.ava.aw .aw-see { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  body.ava.aw .aw-see li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 4px 14px; align-items: center; padding: 18px 18px 20px; border-radius: 20px; }
  body.ava.aw .aw-see b { margin-top: 0; }
  body.ava.aw .aw-see p { grid-column: 2; margin-top: 2px; }
  body.ava.aw .aw-for { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  body.ava.aw .aw-for > div { padding: 26px 22px 28px; border-radius: 22px; }
  body.ava.aw .aw-me { grid-template-columns: minmax(0, 1fr); gap: 24px; text-align: center; }
  body.ava.aw .aw-me img { max-width: 200px; margin: 0 auto; }

  body.ava .ava-foot { padding: 40px 0 56px; }
  body.ava .ava-foot-nav { gap: 10px 18px; }
  body.ava .ava-foot-nav img { flex-basis: 100%; max-width: 60px; margin-bottom: 4px; }
}

@media (max-width: 380px) {
  body.ava .ava-bar { letter-spacing: -0.03em; }
  body.ava .ava-nav .ava-join span { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  body.ava a.ava-part:active { transform: none; }
}

/* The webinar opt-in with room to breathe (Chris, 10/24: "too concentrated at the top. You need more space"): more air above
   the title, between the title, the line and the form, and between the fields. On a phone the form may run past the first
   screen; space wins over fitting it all in. */
body.ava.aw .aw-first { padding: 88px 0 104px; }
body.ava.aw .aw-sub { margin-top: 28px; }
body.ava.aw .aw-form { margin-top: 48px; }
body.ava.aw .aw-form label { margin-top: 22px; }
body.ava.aw .aw-form label:first-child { margin-top: 0; }
body.ava.aw .aw-form .q-field { margin-top: 8px; }
body.ava.aw .aw-form .aw-ok { margin-top: 22px; }
body.ava.aw .aw-form .btn { margin-top: 28px; }
body.ava.aw .aw-form .q-small { margin-top: 18px; }
@media (max-width: 900px) {
  body.ava.aw .aw-first { padding: 56px 0 80px; }
  body.ava.aw .aw-first .wrap { padding-left: 24px; padding-right: 24px; }
  body.ava.aw .aw-card h1 { font-size: 40px; line-height: 1.02; }
  body.ava.aw .aw-sub { margin-top: 22px; font-size: 18px; line-height: 1.5; }
  body.ava.aw .aw-form { margin-top: 40px; }
  body.ava.aw .aw-form label { margin-top: 22px; font-size: 15px; }
  body.ava.aw .aw-form .q-field { margin-top: 8px; padding: 15px 16px; font-size: 17px; }
  body.ava.aw .aw-form .aw-ok { margin-top: 22px; font-size: 14px; line-height: 1.5; }
  body.ava.aw .aw-form .btn { margin-top: 28px; padding: 18px 22px; }
  body.ava.aw .aw-form .q-small { margin-top: 18px; font-size: 14px; line-height: 1.55; }
}

/* What's inside: 3 rows in the software page's row shape (biz.css .bz-row), the middle one flipped: Software, Your agency site,
   University. Each plays its loop at its own shape (Software 1280x720, 16:9; the other 2 1280x800, 16:10), so nothing of the screen is cut. */
body.ava .ava-get .bz-row + .bz-row { margin-top: 96px; }
body.ava .ava-get .bz-text h3 { margin-top: 0; }
body.ava .ava-get .bz-vid.is-site { aspect-ratio: 16 / 10; background: #fff; }
body.ava .ava-get .bz-vid.is-wide { aspect-ratio: 16 / 9; background: #fff; }
@media (max-width: 860px) {
  body.ava .ava-get .bz-row + .bz-row { margin-top: 64px; }
}

/* Home: the hero and The work are 2 sections, not 1 (Chris, 10/24: "this is too narrow. These are different sections"):
   real room under the hero's video, a hairline, then The work with its own top space. */
/* work/work.css loads after this file and sets section.wk's top to 8px, so these rules carry 1 more class to win. */
body.biz.ava .hero { padding-bottom: 104px; }
body.biz.ava section.wk { padding-top: 120px; border-top: 1px solid var(--line); }
@media (max-width: 860px) {
  body.biz.ava .hero { padding-bottom: 64px; }
  body.biz.ava section.wk { padding-top: 80px; }
}

/* University (Chris, 10/24): 1 section, 1 idea. The coaching call and Threads are rows (title, line, checks | picture); the
   picture is the house tile, 1 big emoji on a white or ink card, until the real capture from the platform replaces it. */
body.ava .ava-row-h { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.02; letter-spacing: -0.045em; }
body.ava .ava-tile-pic { display: grid; place-items: center; background: #fff; }
body.ava .bz-vid.is-call { aspect-ratio: 16 / 9; background: #000; }
body.ava .bz-vid.is-app { aspect-ratio: 16 / 9; background: #fff; }
body.ava .ava-tile-pic span { font-size: clamp(88px, 12vw, 160px); line-height: 1; }
body.ava .ava-tile-pic.is-dark { background: var(--ink); border-color: var(--ink); }

/* What's included with AVA (Chris, 10/26): the tools an agency pays for today, row by row, against AVA. The logos carry
   it: big logos, small text. A 4-column table on a computer; on a phone each row stacks (the name, the logos, the price).
   Markup: _ava-build/build_vs_section.py. */
body.ava .vs-tbl { margin-top: 8px; }
body.ava .vs-hd, body.ava .vs-row { display: grid; grid-template-columns: minmax(0, 270px) minmax(0, 1fr) 200px 56px; align-items: center; column-gap: 20px; }
body.ava .vs-hd { padding: 0 0 12px; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
body.ava .vs-hd span:nth-child(3) { text-align: right; }
body.ava .vs-hd span:nth-child(4) { text-align: center; }
body.ava .vs-row { min-height: 76px; padding: 12px 0; border-bottom: 1px solid var(--line); }
body.ava .vs-f b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; color: var(--ink); }
body.ava .vs-f small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.35; color: var(--muted); }
body.ava .vs-t { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
body.ava .vs-or { font-size: 13px; color: var(--muted); }
body.ava .vs-tool { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px 0 8px; border: 1px solid #e2e2e2; border-radius: 14px; background: #fff; font-size: 13px; font-weight: 500; color: var(--text); white-space: nowrap; }
body.ava .vs-tool img { display: block; width: 36px; height: 36px; object-fit: contain; border-radius: 8px; }
body.ava .vs-only { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-size: 22px; color: var(--ink); }
body.ava .vs-p { text-align: right; font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
body.ava .vs-n { display: block; }
body.ava .vs-plan { display: block; margin-top: 3px; font-size: 12px; font-weight: 500; line-height: 1.3; letter-spacing: 0; color: var(--muted); white-space: normal; text-wrap: balance; }
body.ava .vs-l { display: none; }
body.ava .vs-c { display: flex; justify-content: center; }
body.ava .vs-ck { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); }
body.ava .vs-ck svg { display: block; }
body.ava .vs-sum { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
body.ava .vs-box { padding: 24px 28px; border-radius: 24px; background: var(--gray); }
body.ava .ava-vs.gray .vs-box { background: #fff; }
body.ava .vs-box.is-ava { background: #fff; border: 2px solid var(--ink); }
body.ava .vs-k { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
body.ava .vs-big { margin-top: 10px; font-size: clamp(36px, 4vw, 48px); font-weight: 700; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink); }
body.ava .vs-big small { font-size: 18px; font-weight: 500; letter-spacing: -0.02em; color: var(--muted); }
body.ava .vs-u { display: inline-block; padding-bottom: 4px; border-bottom: 5px solid #FF3B30; line-height: 1; }
body.ava .vs-line { margin-top: 10px; font-size: 14px; line-height: 1.45; color: var(--muted); }
body.ava .vs-note { margin-top: 16px; font-size: 12px; line-height: 1.5; color: var(--muted); }
@media (max-width: 760px) {
  body.ava .vs-hd { display: none; }
  body.ava .vs-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "f c" "t t" "p p"; row-gap: 12px; padding: 18px 0; }
  body.ava .vs-f { grid-area: f; }
  body.ava .vs-c { grid-area: c; }
  body.ava .vs-t { grid-area: t; gap: 8px; }
  body.ava .vs-p { grid-area: p; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; text-align: left; font-size: 17px; }
  body.ava .vs-n { text-align: right; }
  body.ava .vs-p.is-none { display: none; }
  body.ava .vs-l { display: inline; padding-top: 2px; font-size: 13px; font-weight: 500; color: var(--muted); }
  body.ava .vs-tool { height: 48px; padding: 0 12px 0 6px; gap: 8px; font-size: 12.5px; }
  body.ava .vs-tool img { width: 34px; height: 34px; }
  body.ava .vs-only { font-size: 20px; }
  body.ava .vs-sum { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 28px; }
  body.ava .vs-box { padding: 20px 20px; border-radius: 20px; }
}
