/* The Alignment Index page (/solutions/ai-alignment-index), restored 3 Nov to its version before Adam's 15:25 canvas (which is now the AICM page), with Adam's 13:22 notes 3 and 4: only what shared/product.css lacks. */

/* Spacing rules (huddle with Adam, 3 Nov: the page read long and thin; condensed like his wireframes). Every gap on this page uses one of these five. This file loads only on this page, after product.css, so these win. */
:root {
  --ax-sec: clamp(48px, 5.5vw, 80px);    /* top and bottom of every section (product.css: 72 to 128px) */
  --ax-head: clamp(24px, 2.6vw, 36px);   /* a section's heading block to what follows it */
  --ax-block: clamp(28px, 3vw, 44px);    /* between two blocks inside one section */
  --ax-col: clamp(32px, 4.5vw, 72px);    /* between the two columns of a split */
  --ax-text: 12px;                       /* heading to its paragraph, and between paragraphs */
}
.sec, .closer { padding: var(--ax-sec) 0; }
.sec.tight { padding: calc(var(--ax-sec) * .6) 0; }
.head { gap: var(--ax-text); margin-bottom: var(--ax-head); }
.prose { gap: var(--ax-text); }
.prose h2 { margin-bottom: 4px; }
.split { gap: var(--ax-col); }
.ax-below { margin-bottom: var(--ax-block); }
.ax-above { margin-top: var(--ax-block); }
/* The hero's height and padding are product.css's, one size on every product page (Oli, 4 Nov). */
.hero .wrap { gap: 20px; }
.closer .panel { padding: clamp(44px, 6vw, 88px) clamp(24px, 6vw, 96px); gap: 20px; }
.frame { padding: clamp(20px, 3vw, 36px); }
.rows > div { padding: 18px 0; }
.steps li { padding: 16px 0; }
.defs > div { padding: 12px 0; }
.table-box th, .table-box td { padding-top: 13px; padding-bottom: 13px; }
@media (max-width: 767px) {
  .hero { min-height: 0; padding: calc(var(--navh) + 40px) 0 72px; }
}

/* The AI capability illusion: the report summary's two pages, small, straight and side by side (going-over points 11 and 19, Oli, 5 Nov) */
.ax-pages { display: flex; justify-content: center; align-items: center; gap: 16px; padding: 12px 0; }
.ax-pages img { width: min(44%, 220px); height: auto; border-radius: 6px; background: #fff; box-shadow: 0 30px 60px -30px rgba(12, 53, 92, .5), 0 0 0 1px rgba(12, 53, 92, .08); }
/* The figures stay on one line each (point 21) */
.figures b { font-size: clamp(32px, 2.7vw, 44px); }

/* A small chart over each of the 1,000-worker figures */
.ax-viz { display: grid; gap: 8px; min-height: 64px; align-content: end; margin-bottom: 14px; }
.ax-viz em { font-style: normal; font-size: 12px; color: var(--ink-soft); width: 52px; flex: none; }
.ax-viz .r { display: flex; align-items: center; gap: 10px; }
.ax-viz .r i { display: block; height: 12px; width: var(--v); border-radius: 99px; background: var(--teal); }
.ax-viz .d { display: flex; align-items: center; gap: 6px; }
.ax-viz .d i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #cfd6de; }
.ax-viz .d i.on { box-shadow: none; background: var(--c, var(--teal)); }
.ax-viz .p { display: flex; gap: 10px; padding-top: 20px; }
.ax-viz .p i { width: 22px; height: 40px; border-radius: 11px 11px 6px 6px; background: #dfe5ea; position: relative; }
.ax-viz .p i::before { content: ""; position: absolute; left: 3px; top: -20px; width: 16px; height: 16px; border-radius: 50%; background: inherit; }
.ax-viz .p i.on { background: var(--sun); }

/* Not another AI survey: honest-disclosure picture (Adam's video note 5, 4 Nov) */
.ax-risk { display: grid; gap: 16px; margin-top: 4px; }
.ax-risk > div { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; align-items: baseline; font-size: 13px; color: var(--ink-soft); }
.ax-risk .n { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); }
.ax-risk i { grid-column: 1 / -1; display: block; height: 10px; border-radius: 5px; background: var(--line); position: relative; overflow: hidden; }
.ax-risk i::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); background: var(--sun); border-radius: 5px; }

/* Aligned to: five logos, spaced out (Adam's video note 6, 4 Nov) */
.ax-logos { gap: 16px 32px; }

/* What we measure, the sample chart: bars grow in once and the two figures count up, as on the AICM page (point 3; script in the page) */
.ax-draw .bars i::after { transition: width 1.2s var(--ease); transition-delay: calc(var(--d, 0) * 110ms + 150ms); }
.js .ax-draw:not(.in) .bars i::after { width: 0; }
@media (prefers-reduced-motion: reduce) { .ax-draw .bars i::after { transition: none; } }

/* Run it the way that suits you: a made-up check-in inside Ada, shown small (point 11) */
.ax-ci-frame { padding: clamp(16px, 2.4vw, 32px); background: linear-gradient(180deg, #e3f7f2, #d8f1fb); }
.ax-ci { width: min(100%, 360px); text-align: left; }
.ax-ci .window-bar { padding: 10px 16px; font-size: 12px; }
.ax-ci .window-bar img { flex: none; width: auto; height: 16px; max-height: none; }
.ax-ci .window-bar span { white-space: nowrap; }
.ax-ci-body { padding: 14px 16px 16px; display: grid; gap: 10px; }
.ax-ci-q { font-size: 14px; line-height: 1.4; color: var(--ink); font-weight: 500; }
.ax-ci-opts { list-style: none; display: grid; gap: 6px; }
.ax-ci-opts li { display: flex; padding: 0; box-shadow: none; } .ax-ci-opts button { appearance: none; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; width: 100%; display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); font-size: 12.5px; line-height: 1.3; color: var(--ink-soft); }
.ax-ci-opts button::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #cfd6de; }
.ax-ci-opts button:hover { color: var(--ink); box-shadow: inset 0 0 0 1px #b9c3cd; }
.ax-ci-opts button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.ax-ci-opts button.ok { box-shadow: inset 0 0 0 1.5px #1fae8f; color: var(--ink); background: #e3f8f2; }
.ax-ci-opts button.ok::before { box-shadow: none; background: #1fae8f; }
.ax-ci-opts button.no { box-shadow: inset 0 0 0 1.5px #e0574f; color: var(--ink); background: #fdecea; }
.ax-ci-opts button.no::before { box-shadow: none; background: #e0574f; }

/* Anonymous by design: the four headings share one height, so the text under them starts level (point 15) */
@media (min-width: 768px) {
  .ax-anon > div { grid-row: span 2; grid-template-rows: subgrid; row-gap: 10px; }
}
/* Below laptop width the check-in card would be clipped by the 16:10 picture box, so the box takes the card's own height there */
@media (max-width: 1100px) { .card .ax-ci-frame { aspect-ratio: auto; } }

/* Oli's pass on AIX, 6 Nov (product-pages/plan.md, "Oli's pass on AIX, 6 Nov") */
/* 1 Hero: words on the left, the by-team window on the right (on phones, under the buttons) */
.ax-hero .ax-hero-t { display: grid; gap: 20px; justify-items: center; }
.ax-team { width: min(100%, 460px); text-align: left; }
.ax-team .team-row { grid-template-columns: 84px 1fr; }
@media (min-width: 900px) {
  .ax-hero .wrap { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; justify-items: start; text-align: left; gap: clamp(32px, 5vw, 80px); }
  .ax-hero .ax-hero-t { justify-items: start; }
  .ax-hero .btns { justify-content: flex-start; }
  .ax-team { justify-self: end; }
}
@media (max-width: 899px) { .ax-team { margin-top: 12px; } }
/* Every heading intro on this page runs the full width (point 12) */
.head { max-width: none; }
/* 2 Clarity: the definition big across the top, two lines on a laptop; ticks and chart under it with a proper gap */
.ax-big { font-size: clamp(22px, 2.12vw, 34px); font-weight: 300; letter-spacing: -0.02em; line-height: 1.3; margin-bottom: var(--ax-head); }
.ax-big b { font-weight: 500; }
.ax-cl { align-items: start; }
.ax-cl .prose h3 { font-size: var(--t-h4); margin-bottom: 6px; }
@media (min-width: 900px) { .ax-cl { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 96px); } }
/* 3 What we measure on a colour wash, like the AICM stage panels */
.ax-wash { position: relative; isolation: isolate; overflow: hidden; border-radius: 28px; background: #eef2f3; padding: clamp(28px, 4.5vw, 72px); }
.ax-wash > .aura { z-index: -1; }
.ax-wash > .grain { position: absolute; inset: 0; z-index: -1; }
/* 4 What's in the report: the AICM page's sample report tiles */
.am-rep { position: relative; align-self: start; }
.am-rep-body { position: relative; padding: 16px; }
.am-rep-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.am-rt { appearance: none; border: 0; margin: 0; font: inherit; color: var(--ink); text-align: left; cursor: pointer; display: grid; gap: 8px; align-content: start; min-height: 128px; padding: 16px 14px; border-radius: 12px; background: var(--cream); transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease); }
.am-rt b { font-size: clamp(26px, 2.3vw, 34px); font-weight: 300; letter-spacing: -0.04em; line-height: 1; white-space: nowrap; }
.am-rt b small { font-size: .5em; letter-spacing: 0; }
.am-rt b:has(small) { font-size: clamp(20px, 1.7vw, 28px); }
.am-rt .h { font-size: 13px; line-height: 1.3; font-weight: 500; }
.am-rt:hover { background: #ede9e2; }
.am-rt.press { transform: scale(.94); box-shadow: 0 0 0 2px var(--sun); }
.am-rt[aria-expanded="true"] { box-shadow: 0 0 0 2px var(--sun); }
.am-rt:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.am-rep-open { position: absolute; inset: 0; z-index: 2; display: grid; align-content: center; padding: 28px clamp(24px, 3vw, 40px); background: #fff8ea; clip-path: inset(0 round 12px); transition: clip-path .5s var(--ease); }
.am-rep-open[hidden] { display: none; }
.am-rep-open .in { opacity: 0; transform: translateY(8px); transition: opacity .3s ease .25s, transform .3s ease .25s; }
.am-rep-open.on .in { opacity: 1; transform: none; }
.am-rep-open .in > b { display: block; font-size: clamp(44px, 4.2vw, 64px); font-weight: 300; letter-spacing: -0.045em; line-height: 1; }
.am-rep-open .in > b small { font-size: .5em; letter-spacing: 0; }
.am-rep-open .h { font-size: var(--t-h4); font-weight: 500; margin: 12px 0 8px; }
.am-rep-open .d { display: block; color: var(--ink-soft); max-width: 48ch; }
.am-rep-open .ls { display: inline-block; margin-top: 14px; padding: 6px 12px; border-radius: 999px; background: #e6f8f4; color: #0b6e5c; font-size: 13px; }
.am-rep-open .x { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 22px; line-height: 1; color: var(--ink); cursor: pointer; }
.am-rep-link { display: block; padding: 12px 22px; border-top: 1px solid var(--line); font-size: var(--t-small); font-weight: 500; color: var(--ink); text-decoration: none; }
.am-rep-link:hover { color: var(--teal-deep); }
@media (max-width: 600px) { .am-rep-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .am-rt { min-height: 112px; } .am-rep .window-bar .tag { display: none; } }
@media (prefers-reduced-motion: reduce) { .am-rep-open, .am-rep-open .in, .am-rt { transition: none; } }
/* 5 Run it your way: the lesson card the same size as the check-in */
.frame .ax-thumb { position: static; max-height: none; object-fit: contain; width: min(100%, 360px); height: auto; border-radius: var(--r-m); box-shadow: 0 20px 40px -24px rgba(12, 53, 92, .4), 0 0 0 1px rgba(12, 53, 92, .06); }
/* 6 More than a survey: a lighter shadow, so the page under the window isn't shaded */
.ax-soft { box-shadow: 0 12px 32px -18px rgba(12, 53, 92, .22), 0 0 0 1px rgba(12, 53, 92, .08); }
/* 7 Honest disclosure as a page of the report */
.ax-doc { max-width: 980px; background: var(--paper); border-radius: 10px; overflow: hidden; box-shadow: 0 1px 2px rgba(12, 53, 92, .08), 0 18px 40px -24px rgba(12, 53, 92, .3), 0 0 0 1px rgba(12, 53, 92, .07); }
.ax-doc-body { padding: clamp(20px, 3vw, 40px) clamp(20px, 3.4vw, 48px) clamp(18px, 2.4vw, 28px); }
.ax-doc-k { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); margin-bottom: 14px; }
.ax-doc table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ax-doc thead th { font-size: 11px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--mute); text-align: left; padding: 0 12px 10px 0; border-bottom: 2px solid var(--ink); }
.ax-doc tbody th, .ax-doc tbody td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-weight: 400; color: var(--ink); }
.ax-doc tbody td:last-child { color: var(--ink-soft); }
.ax-doc .num { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.ax-doc .sample { font-size: 12px; color: var(--mute); margin-top: 14px; }
@media (max-width: 640px) { .ax-doc thead { display: none; } .ax-doc tbody tr { display: grid; grid-template-columns: 1fr auto; padding: 12px 0; border-bottom: 1px solid var(--line); } .ax-doc tbody th, .ax-doc tbody td { border: 0; padding: 2px 0; } .ax-doc tbody td:last-child { grid-column: 1 / -1; font-size: 13px; } }
/* 8 The AI capability illusion: headline and the report's pages on the left, the three figures in a column on the right, the pill under both */
.ax-il { align-items: start; }
@media (min-width: 900px) { .ax-il { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.ax-il .ax-pages { justify-content: flex-start; padding: 20px 0 0; }
.ax-il .note-sm { margin-top: 4px; }
.ax-figs { gap: 24px; }
.ax-figs > div { padding-top: 18px; gap: 8px; }
.ax-figs .ax-viz { min-height: 0; margin-bottom: 6px; }
.ax-pill { margin-top: var(--ax-block); }
@media (max-width: 767px) { .ax-ci-opts button { min-height: 44px; } }

/* Oli's pass on AIX, 6 Nov, second round */
/* 18 What's in the report and 20 More than a survey: the heading level with the top of the window beside it */
.split.ax-top { align-items: start; }
.ax-top > .prose > h2:first-child { margin-top: -0.12em; }
.btn.ax-sky { background: var(--sky); }
.btn.ax-sky:hover { background: #6fd6f3; }
[aria-labelledby="rp-h"] .ticks { gap: 14px; margin: 8px 0 12px; }
/* 19 Run it your way: a bigger heading; the lesson card and the check-in the same size and shape */
.ax-h2-big { font-size: calc(var(--t-h2) * 1.18); }
.ax-ci, .frame .ax-thumb { width: min(100%, 440px); aspect-ratio: 640 / 357; }
.frame .ax-thumb { height: auto; object-fit: cover; }
.ax-ci { display: flex; flex-direction: column; }
.ax-ci .ax-ci-body { flex: 1; align-content: space-between; padding: 10px 16px 12px; gap: 8px; }
.ax-ci-q { font-size: 13.5px; }
.ax-ci-opts { gap: 5px; }
.ax-ci-opts button { padding: 5px 10px; }
@media (max-width: 767px) { .ax-ci { aspect-ratio: auto; } }
/* 20 More than a survey: heading and text bigger, to fill the column */
.ax-ns h2 { font-size: calc(var(--t-h2) * 1.18); }
.ax-ns .lede-p { font-size: clamp(19px, 1.6vw, 23px); }
/* 21 Honest disclosure: the report page the full width, with a risk column */
.ax-doc { max-width: none; }
.ax-doc .risk { color: var(--ink); }
@media (max-width: 640px) { .ax-doc tbody td.risk { grid-column: 1 / -1; font-size: 13px; } }
/* 22 The AI capability illusion: the left column stays put on laptops while the figures arrive one at a time */
@media (min-width: 900px) {
  .ax-il > .prose { position: sticky; top: calc(var(--navh) + 40px); }
  .ax-figs { gap: 22vh; padding-bottom: 6vh; }
}
.js .ax-figs > div { opacity: 0; transform: translateY(32px); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.js .ax-figs > div.play { opacity: 1; transform: none; }
.ax-figs .ax-viz .r i { transition: width 1.1s var(--ease) .35s; }
.js .ax-figs > div:not(.play) .ax-viz .r i { width: 0; }
.ax-figs .ax-viz .d i.on, .ax-figs .ax-viz .p i.on { transition: background .25s ease, box-shadow .25s ease; }
.ax-figs .ax-viz .d i.on:nth-of-type(1) { transition-delay: .4s; } .ax-figs .ax-viz .d i.on:nth-of-type(2) { transition-delay: .5s; } .ax-figs .ax-viz .d i.on:nth-of-type(3) { transition-delay: .6s; } .ax-figs .ax-viz .d i.on:nth-of-type(4) { transition-delay: .7s; } .ax-figs .ax-viz .d i.on:nth-of-type(5) { transition-delay: .8s; } .ax-figs .ax-viz .d i.on:nth-of-type(6) { transition-delay: .9s; } .ax-figs .ax-viz .d i.on:nth-of-type(7) { transition-delay: 1s; }
.ax-figs .ax-viz .p i.on { transition-delay: .5s; }
.js .ax-figs > div:not(.play) .ax-viz .d i.on { background: transparent; box-shadow: inset 0 0 0 1.5px #cfd6de; }
.js .ax-figs > div:not(.play) .ax-viz .p i.on { background: #dfe5ea; }
@media (prefers-reduced-motion: reduce) { .js .ax-figs > div { opacity: 1; transform: none; transition: none; } .ax-figs .ax-viz i { transition: none !important; } }
/* 16 Clarity: the definition as big as two lines allow; "It tests judgement, not usage" on its own colour-wash tile (judgement in AY's colours) */
.ax-big { font-size: clamp(22px, 2.3vw, 36px); line-height: 1.25; }
.ax-judge { position: relative; isolation: isolate; overflow: hidden; border-radius: 28px; background: #eef2f3; padding: clamp(24px, 3.4vw, 48px); align-self: stretch; align-content: center; }
.ax-judge > .aura { z-index: -1; }
.ax-judge > .grain { position: absolute; inset: 0; z-index: -1; }
.ax-cl .ax-judge h3 { font-size: var(--t-h3); margin-bottom: 10px; }
.ax-judge .ticks { gap: 16px; }
.ax-judge .ticks li { font-size: clamp(17px, 1.45vw, 21px); color: var(--ink); }
/* 17 What we measure: each line on one line on a laptop, so the rows match */
@media (min-width: 1000px) { .ax-wash .rows > div { grid-template-columns: minmax(180px, 1fr) 3fr; } .ax-wash .rows p { max-width: none; } }
/* The definition runs on to 32px from the window's right edge (Oli widened it in the copy editor), so it can be bigger and still two lines */
@media (min-width: 900px) { .ax-big { margin-right: calc((100% - 100vw) / 2 + 32px); font-size: clamp(22px, 2.3vw, 32px); } }
/* The definition: as big as it can be on two lines, using the window's width, 32px from each edge on laptops (Oli, about 10:35) */
@media (min-width: 900px) { .ax-big { margin-left: calc((100% - 100vw) / 2 + 32px); margin-right: calc((100% - 100vw) / 2 + 32px); font-size: 2.36vw; } }
/* More than a survey: the three points move under the text, filling the space beside the window (Oli, about 10:40) */
.ax-ns-pts { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 18px; }
.ax-ns-pts > div { padding-top: 14px; }
@media (min-width: 900px) {
  .ax-ns > .window { align-self: stretch; display: flex; flex-direction: column; }
  .ax-ns > .window .window-body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
  .ax-ns .ax-risk { gap: 0; flex: 1; align-content: space-evenly; }
}
/* Why organisations use Assemble You, made visual (6 Nov): in-house on a plain panel, the Alignment Index on a teal-and-sky wash with ticks; rows line up across both panels on laptops */
.ax-why { display: grid; gap: 20px; }
.ax-why-them, .ax-why-us { border-radius: 28px; padding: clamp(24px, 3vw, 44px); }
.ax-why-them { background: var(--paper); border: 1px solid var(--line); }
.ax-why-us { position: relative; isolation: isolate; overflow: hidden; background: #eef2f3; }
.ax-why-us > .aura { z-index: -1; }
.ax-why-us > .grain { position: absolute; inset: 0; z-index: -1; }
.ax-why h3 { font-size: var(--t-h3); margin-bottom: 20px; }
.ax-why-them h3 { font-weight: 400; color: var(--ink-soft); }
.ax-why ul { list-style: none; display: grid; gap: 0; }
.ax-why li { padding: 14px 0; border-top: 1px solid rgba(12, 53, 92, .1); }
.ax-why li small { display: block; font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 4px; }
.ax-why-them li { font-size: 17px; color: var(--ink-soft); }
.ax-why-us li { font-size: clamp(18px, 1.45vw, 21px); color: var(--ink); padding-left: 44px; }
.ax-why-us li small { color: var(--teal-text); }
.ax-why-us .ticks li::before { top: 14px; width: 28px; height: 28px; background-size: 28px; }
@media (min-width: 900px) {
  .ax-why { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); grid-template-rows: auto repeat(7, auto); gap: 0 24px; }
  .ax-why-them, .ax-why-us { grid-row: 1 / -1; display: grid; grid-template-rows: subgrid; }
  .ax-why ul { grid-row: 2 / -1; display: grid; grid-template-rows: subgrid; }
}
