
/* the space above the section is the page's one section gap (index.html, THE SECTION SPACING), not a padding here */
.ap { grid-column: 1 / -1; padding: 0 !important; border-width: 0;
  --ap-w: min(1206px, 87.5vw); --ap-card: rgb(245, 245, 247); --ap-ink: rgba(0, 0, 0, 0.88); --ap-sub: rgba(0, 0, 0, 0.56);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .ap { --ap-card: rgb(44, 44, 46); --ap-ink: rgb(235, 235, 235); --ap-sub: rgba(235, 235, 235, 0.6); }
}
:root[data-theme="dark"] .ap { --ap-card: rgb(44, 44, 46); --ap-ink: rgb(235, 235, 235); --ap-sub: rgba(235, 235, 235, 0.6); }

/* two columns, each a stack: the DOM order is 1-2-3 then 4-5-6, so one column on a phone reads 1 to 6 */
/* round 2, the cards centred: the section is a board tile, 12 cells wide (at most
   960 px, and less in a short window: grid-system.css:39-50), so the grid is wider than its box; `margin: 0 auto` cannot
   centre an over-wide box and left it hanging to the end side. It now centres on the section's middle, which is the
   page's, as "Vox vs. the rest" centres its card (index.html .cx-card, margin-inline-start: calc(50% - var(--cx-w) / 2)). */
.ap-grid { display: flex; align-items: flex-start; gap: 24px; width: var(--ap-w); margin: 0;
  margin-inline-start: calc(50% - var(--ap-w) / 2); }
.ap-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 40px; }

.ap-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; max-width: 591px;
  border-radius: 28px; overflow: hidden; background: var(--ap-card); color: var(--ap-ink); text-align: start; }
/* the cards take the plans cards' drawing (index.html .px-card): the page's colour inside a band of the page's one
   frame colour, 8 px (6 px at 734 px and below); the card's 28-px corners less the band give the inner corners. The
   band is a border, so the words, the picture and the turned side all sit inside it. */
.ap-card { box-sizing: border-box; border: 8px solid var(--card-frame, var(--ap-card)); background: var(--page); }
@media (max-width: 734px) { .ap-card { border-width: 6px; } }
.ap-card--tall { min-height: 640px; }
.ap-card--short { min-height: 520px; }
/* round 9: the front face (the text and the picture) in one box, so the turn can set it inert; it fills the card and keeps
   the text at the top and the picture at the foot, as the card itself did before */
.ap-cover { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.ap-text { display: flex; flex-direction: column; gap: 16px; padding: 40px 64px; }
.ap-k { margin: 0; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ap-sub); }
.ap-q { margin: 0; font-size: 28px; line-height: 34px; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
/* the picture whole, at its own 3:2, across the card's foot; the card's corners clip it */
.ap-pic { display: block; width: 100%; height: auto; aspect-ratio: 1536 / 1024; }

/* the slides' + (gx-plus.css), a button: its states and the turn are in the ROUND 9 block. It stays on the
   picture's bottom-right corner in every language (`right`, not the end side): the pictures do not mirror */
.ap-plus { position: absolute; z-index: 4; bottom: 24px; right: 24px; display: grid; place-items: center;
  width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: var(--gx-ctl); color: var(--gx-glyph);
  cursor: pointer; }
.ap-plus svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* below 1024 px, Chrome's single column */
@media (max-width: 1023px) {
  .ap { --ap-w: min(591px, calc(100vw - 32px)); }   /* round 2: the same width as round 1, as the token the centring reads */
  .ap-grid { flex-direction: column; align-items: center; gap: 16px; }
  .ap-col { gap: 16px; width: 100%; }
  .ap-card { max-width: none; }
  .ap-card--tall, .ap-card--short { min-height: 0; }
  .ap-text { padding: 24px 32px; }
  .ap-q { font-size: 24px; line-height: 30px; }
  .ap-plus { width: 44px; height: 44px; bottom: 16px; right: 16px; }
}
@media (max-width: 480px) {
  .ap-text { padding: 24px 22px; }
}

/* ── round 3: the heading, "Just [ask] / Vox builds the answer" ─────────────────────────────────
   SHAPE: Chrome's #safe title (main.min.css e45452fd5d4e2ade; chrome.html e09944b4935af2f0): two centred lines, the
   second after a <br>; .chr-pill-section-title max-width 600 px, 726 px from 1024, 840 px from 1440, padding
   --spacer-05 (24 px, 40 px from 1024) above and below; the pill (--medium, from 1024) a 48-px-radius inline-flex, its
   icon 72 px square 8 px in from the start, its word 52 px on a 72-px line with 32 px after it, the heading 60/72 px.
   Taken here in em of the heading, so it scales with it: line 1.2, pill 1.2em tall and fully round, icon box 1.2em
   square 0.133em in, word 0.867em, 0.533em after it.
   VOX: the type of "Vox vs. the rest" (.cx-title: clamp(32px, 4vw, 56px), 600, -0.28px tracking, its ink) and its
   wordmark for the name (.cx-logo, the site's rule that the name is the logo); the pill in the grid's accent,
   --grid-light (#4951b6 light, #6a74ff dark, grid-system.css:5-8, :19, :29): its ink for the word and the mic, a 12 %
   (light) / 18 % (dark) tint of it on the page for the ground, #e9eaf6 on #ffffff and #1d203e on #0c0e14. The mic is
   the page's own: the ask bar's mask (.vgm-mic, index.html:278, a 30-px image with its 2x; the page has no mic svg),
   shown at most 30 px so it stays at its drawn size. */
.ap-h { margin: 0 auto; max-width: 600px; padding: 0 0 24px; text-align: center; color: var(--ap-ink);
  font-size: clamp(32px, 4vw, 56px); line-height: 1.2; font-weight: 600; letter-spacing: -0.28px; text-wrap: balance;
  --ap-tint: #e9eaf6; --ap-accent: var(--grid-light, #4951b6); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ap-h { --ap-tint: #1d203e; } }
:root[data-theme="dark"] .ap-h { --ap-tint: #1d203e; }
.ap-h-1, .ap-h-2 { display: block; }
.ap-pill { display: inline-flex; align-items: center; gap: 0.2em; height: 1.385em; vertical-align: top; box-sizing: border-box;
  padding-inline: 0.33em 0.615em; border-radius: 999px; background: var(--ap-tint); color: var(--ap-accent);
  font-size: 0.867em; white-space: nowrap; }
.ap-pill::before { content: ""; display: block; flex: none; height: 0.72em; background: currentColor;
  -webkit-mask: var(--ap-icon) center / contain no-repeat; mask: var(--ap-icon) center / contain no-repeat; }
/* the mic is a narrow, tall mark (0.41em wide against the sparkles' 0.72em), so the same start padding left it
   crowding the pill's round end: it gets more room at the start and before the word, as the Designed pill has. */
.ap-pill--mic { padding-inline-start: 0.5em; gap: 0.27em; }
.ap-pill--mic::before { aspect-ratio: 20.5 / 36.25; --ap-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='19.25 13 20.5 36.25' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='24.75' y='14.75' width='9.5' height='22.25' rx='4.75'/%3E%3Cpath d='M21 36.5a8.5 8.5 0 0 0 17 0M29.5 45v2.5M23.5 47.5h12'/%3E%3C/svg%3E"); }
/* round 5: the nib is gone; the sparkles in its place are in designed-by-vox.css */
@media (min-width: 1024px) { .ap-h { max-width: 726px; padding-bottom: 40px; } }
@media (min-width: 1440px) { .ap-h { max-width: 840px; } }

/* ── ROUND 9, the Just ask +: a back face with words ───────────────────────────────────────────────────────
   The + opens a back face holding one or two plain sentences, built only from what its own picture shows,
   in the page's language. The back face, the + and the turn are the Designed cards' (designed-by-vox.css
   :54-106, Chrome's .chr-gallery-card-back and the slides' gx-plus v3), rule for rule, with the ap- names; one script
   turns both sections (designed-by-vox.js). The pictures keep their edges, no frame.
   NAMED: these rules repeat the Designed ones under a second name, the second consumer of the same turn; one shared
   stylesheet for both would rename the Designed cards' classes, which stay as they are. */
.ap-more { position: absolute; inset: 0; z-index: 3; display: flex; align-items: flex-start; overflow-y: auto;
  padding: 40px 40px 96px; visibility: hidden; pointer-events: none; }
.ap-card.is-more .ap-more { visibility: visible; pointer-events: auto; }
.ap-card.is-turning .ap-more { visibility: visible; }
.ap-more-text { margin: 0; max-width: 34em; font-size: 18px; line-height: 28px; font-weight: 400; }

.ap-plus[aria-expanded="true"] { background: var(--gx-btn); color: var(--gx-btn-ink); }
.ap-plus[aria-expanded="true"] svg { transform: rotate(45deg); }
.ap-plus[aria-expanded="true"]:hover { background: rgb(0, 118, 223); }
.ap-plus:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
/* with no script the + would open nothing, so it is not shown */
html:not(.grid-js) .ap-plus { display: none; }

/* the states: the front's words leave 1.5rem up, the picture fades, the back's words arrive from 1.5rem below */
.ap-more-text { opacity: 0; translate: 0 1.5rem; }
.ap-card.is-more .ap-more-text { opacity: 1; translate: 0 0; }
.ap-card.is-more .ap-pic { opacity: 0; }
.ap-card.is-more .ap-text { opacity: 0; translate: 0 -1.5rem; }

@media (min-width: 1440px) { .ap-more { padding: 64px 64px 96px; } }
@media (max-width: 1023px) {
  .ap-more { padding: 24px 32px 76px; }
  .ap-more-text { font-size: 16px; line-height: 24px; }
}
@media (max-width: 480px) { .ap-more { padding-inline: 22px; } }

/* THE MOTION, the slides' + as built. Reduce Motion: none of it; the colour, the glyph and the faces switch at once. */
@media (prefers-reduced-motion: no-preference) {
  .ap-plus { transition: transform 0.3s ease-out, background-color 0.1s linear, color 0.1s linear; }
  .ap-plus svg { transition: transform 0.3s ease-out; }
  .ap-plus:hover, .ap-plus:focus-visible { transform: scale(1.142); }
  .ap-card.is-turning .ap-plus { transition: transform 0.3s ease-out, background-color 0.3s ease-out, color 0.3s ease-out; }
  /* opening: Chrome's --flipped legs */
  .ap-card.is-turning.is-more .ap-pic { transition: opacity 0.3s ease-in; }
  .ap-card.is-turning.is-more .ap-text { transition: opacity 0.3s ease-in, translate 0.3s ease-in; }
  .ap-card.is-turning.is-more .ap-more-text { transition: opacity 0.3s ease-in 0.3s, translate 0.3s ease-in 0.3s; }
  .ap-card.is-turning:not(.is-more) .ap-more-text { transition: opacity 0.3s ease-out, translate 0.3s ease-out; }
  .ap-card.is-turning:not(.is-more) .ap-pic { transition: opacity 0.3s ease-out 0.3s; }
  .ap-card.is-turning:not(.is-more) .ap-text { transition: opacity 0.3s ease-out 0.3s, translate 0.3s ease-out 0.3s; }
}
