/* The AI Confidence Method page (/solutions/ai-confidence-method), Adam's 15:25 canvas of 3 Nov: only what shared/product.css lacks. Moved from the AIX page (aicm-aix-swap tab, 3 Nov). */

/* Hero: the shared centred hero, words only (Oli, 4 Nov: the Alignment Index sample-report picture came off; the hero is the size of every product page's, product.css) */
.am-pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 8px 7px 16px; border-radius: 999px; background: rgba(255, 255, 255, .78); box-shadow: 0 0 0 1px rgba(12, 53, 92, .1); font-size: var(--t-small); color: var(--ink); }
.am-pill b { font-weight: 500; padding: 4px 12px; border-radius: 999px; background: var(--ink); color: #fff; }
.am-pill:hover b { background: var(--teal-deep); }
.am-jump { display: flex; flex-wrap: wrap; gap: 0 22px; font-size: var(--t-small); margin-top: -8px; }
.am-jump a { display: inline-flex; align-items: center; min-height: 44px; }
.am-jump a { color: var(--ink-soft); text-decoration: underline; text-decoration-color: rgba(12, 53, 92, .25); text-underline-offset: 4px; }
.am-jump a:hover { color: var(--ink); }
.am-how a, .am-tools a, .am-report, .am-pill { text-decoration: none; }

/* How it works: three cards that jump to their stage */
.am-how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.am-how a { display: grid; gap: 12px; align-content: start; padding: clamp(24px, 2.6vw, 36px); border-radius: var(--r-xl); background: var(--paper); box-shadow: 0 0 0 1px var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.am-how a:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -30px rgba(12, 53, 92, .45), 0 0 0 1px var(--line); }
.am-how .k { font-size: 40px; font-weight: 300; line-height: 1; color: var(--teal-deep); }
.am-how .t { font-size: var(--t-h3); letter-spacing: -0.02em; }
.am-how p { color: var(--ink-soft); }
.am-how .go { color: var(--ink); font-weight: 500; font-size: var(--t-small); margin-top: 6px; }

/* A stage heading: Measure, Build, Prove */
.am-stage { display: grid; gap: 14px; max-width: 900px; margin-bottom: clamp(36px, 4.5vw, 64px); }
.am-stage h2 { display: flex; align-items: center; gap: 14px; font-size: var(--t-h4); font-weight: 500; letter-spacing: 0; }
.am-stage h2 .k { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 15px; }
.am-stage .big { font-size: var(--t-h2); font-weight: 300; letter-spacing: -0.035em; line-height: 1.05; color: var(--ink); }
.am-sub { font-size: var(--t-h3); letter-spacing: -0.02em; margin-bottom: 12px; }
.am-block { margin-top: clamp(64px, 7vw, 112px); }

/* What we measure: scored bars, explanation beside each */
.am-scores { display: grid; border-top: 1px solid var(--ink); }
.am-scores > div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr); gap: 8px clamp(24px, 4vw, 64px); padding: 22px 0; border-bottom: 1px solid var(--line); align-items: center; }
.am-scores h4 { font-size: var(--t-h4); font-weight: 400; display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.am-scores h4 span { font-weight: 300; }
.am-scores .bar { height: 10px; border-radius: 99px; background: #eef1f4; overflow: hidden; }
.am-scores .bar i { display: block; height: 100%; width: var(--v); border-radius: 99px; background: linear-gradient(90deg, var(--teal), var(--sky)); }
.am-scores > div:last-child .bar i { background: linear-gradient(90deg, var(--sun), #ff9a6b); }
.am-scores p { color: var(--ink-soft); }

/* What's in the report: the sample report picture */
.am-report { display: block; border-radius: var(--r-l); overflow: hidden; box-shadow: 0 40px 80px -36px rgba(12, 53, 92, .45), 0 0 0 1px rgba(12, 53, 92, .08); transition: transform .3s var(--ease); }
.am-report:hover { transform: translateY(-3px); }
.am-report img { width: 100%; height: auto; display: block; }

/* Build: two columns of bold-led points */
.am-twin { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.am-twin > div { padding: clamp(24px, 3vw, 40px); border-radius: var(--r-xl); background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.am-twin h3 { font-size: var(--t-h3); }
.am-twin .lead { color: var(--ink-soft); margin: 6px 0 18px; }
.am-twin ul { list-style: none; display: grid; gap: 14px; }
.am-twin li { padding-left: 22px; position: relative; color: var(--ink-soft); }
.am-twin li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.am-twin li b { color: var(--ink); font-weight: 500; }

/* The twelve lessons */
.am-lessons { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); margin-top: 28px; }
.am-lessons li { display: grid; gap: 10px; align-content: start; }
.am-lessons .th { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-m); overflow: hidden; background: var(--ink); display: grid; place-items: center; }
.am-lessons .th img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.am-lessons .th .n { font-size: 44px; font-weight: 300; color: rgba(255, 255, 255, .9); letter-spacing: -0.04em; }
.am-lessons li:nth-child(3n+1) .th { background: linear-gradient(140deg, #0c355c, #4460a9); }
.am-lessons li:nth-child(3n+2) .th { background: linear-gradient(140deg, #0f9c83, #3cc6ed); }
.am-lessons li:nth-child(3n) .th { background: linear-gradient(140deg, #4460a9, #2cd1b1); }
.am-lessons .th.tools { background: var(--cream); display: flex; gap: 10px; justify-content: center; align-items: center; }
.am-lessons .th.tools img { position: static; width: 34px; height: 34px; object-fit: contain; }
.am-lessons .num { font: 500 12px/1 ui-monospace, "SF Mono", Menlo, monospace; color: var(--teal-text); letter-spacing: .06em; }
.am-lessons .t { font-size: 16px; line-height: 1.35; }
.am-lessons .s { font-size: var(--t-small); color: var(--ink-soft); }
.am-src { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.am-cite { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.am-cite > div { border-top: 1px solid var(--ink); padding-top: 16px; display: grid; gap: 8px; align-content: start; }
.am-cite > div.no { border-top-color: var(--line); }
.am-cite h4 { font-size: var(--t-h4); font-weight: 400; }
.am-cite p { color: var(--ink-soft); }

/* Ada */
.am-video { position: relative; border-radius: var(--r-l); overflow: hidden; background: #000; box-shadow: 0 40px 80px -36px rgba(12, 53, 92, .45); }
.am-video video { width: 100%; height: auto; display: block; }
.am-video figcaption { position: absolute; left: 14px; bottom: 14px; padding: 4px 11px; border-radius: 999px; background: rgba(12, 53, 92, .85); color: #fff; font-size: 12px; }
.am-kb { border-radius: var(--r-xl); background: var(--paper); box-shadow: 0 0 0 1px var(--line); padding: clamp(22px, 2.6vw, 32px); }
.am-kb h3 { font-size: var(--t-h4); margin-bottom: 14px; }
.am-kb ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.am-kb li { padding: 7px 14px; border-radius: 999px; background: #e9f8f5; font-size: var(--t-small); }
.am-kb li:last-child { background: var(--cream); }
.am-ask { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: clamp(40px, 5vw, 64px); padding: clamp(24px, 3vw, 36px); border-radius: var(--r-xl); background: var(--ink); color: #fff; }
.am-ask p { font-size: var(--t-h3); letter-spacing: -0.02em; color: #fff; }

/* Prove: certificate and the over-time chart */
.am-over { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: end; height: 220px; margin-top: 18px; padding-bottom: 28px; position: relative; border-bottom: 1px solid var(--line); }
.am-over > div { display: flex; gap: 6px; align-items: flex-end; justify-content: center; height: 100%; position: relative; }
.am-over i { width: 22px; height: var(--v); border-radius: 6px 6px 0 0; background: var(--sun); }
.am-over i + i { background: var(--teal); }
.am-over span { position: absolute; bottom: -24px; font-size: 12px; color: var(--ink-soft); white-space: nowrap; }
.am-prove { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: stretch; }
.am-prove .ph { min-height: 100%; }

/* James: the credential line */
.am-cred { padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: var(--t-small); }

/* Testimonials */
.am-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.am-quotes figure { margin: 0; display: grid; gap: 20px; align-content: space-between; padding: clamp(24px, 2.6vw, 34px); border-radius: var(--r-xl); background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.am-quotes blockquote { margin: 0; font-size: var(--t-body); font-weight: 400; line-height: 1.55; }
.am-quotes figcaption { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: center; font-size: var(--t-small); color: var(--ink-soft); }
.am-quotes figcaption b { display: block; color: var(--ink); font-weight: 500; }
.am-quotes .face { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: #e9f8f5; display: grid; place-items: center; font-size: 14px; color: var(--ink); }

/* Live classes: James and Tiffany side by side */
.am-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.am-pair .pic { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-xl); overflow: hidden; background: linear-gradient(150deg, #effafa 0%, #8fe0e2 40%, #3fc4e4 100%); }
/* One expert alone fills the pair (Adam, 13 Nov: Tiffany off the live classes until he has asked her) */
.am-pair .pic:only-child { grid-column: 1 / -1; aspect-ratio: 1; }
.am-pair .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.am-pair .pic img.cut { object-fit: contain; object-position: 50% 100%; top: auto; height: 94%; }
.am-pair .pic span { position: absolute; left: 12px; bottom: 12px; padding: 4px 11px; border-radius: 999px; background: rgba(255, 255, 255, .9); font-size: 12px; }

/* Awards and accreditation */
.am-awards { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.am-awards li { display: grid; gap: 10px; align-content: start; padding: 18px; border-radius: var(--r-l); background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.am-awards .b { height: 96px; display: grid; place-items: center; border-radius: var(--r-m); }
.am-awards .b img { max-height: 84px; max-width: 100%; width: auto; }
.am-awards .b.dark { background: #111; }
.am-awards h3 { font-size: 16px; }
.am-awards p { font-size: var(--t-small); color: var(--ink-soft); }
.am-awards a { font-size: var(--t-small); color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.am-aligned { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: clamp(28px, 3vw, 40px); }
.am-aligned img { height: 32px; width: auto; }

/* Tool training rows */
.am-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.am-tools a { display: grid; grid-template-columns: 140px 1fr; gap: 22px; align-items: center; padding: 16px; border-radius: var(--r-xl); background: var(--cream); transition: transform .3s var(--ease); }
.am-tools a:hover { transform: translateY(-3px); }
.am-tools .pic { position: relative; aspect-ratio: 1; border-radius: var(--r-l); overflow: hidden; background: linear-gradient(150deg, #effafa 0%, #8fe0e2 40%, #3fc4e4 100%); }
.am-tools .pic img.cut { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 92%; object-fit: contain; object-position: 50% 100%; }
.am-tools .pic img.mark { position: absolute; right: 8px; top: 8px; width: 30px; height: 30px; padding: 4px; border-radius: 8px; background: #fff; }
.am-tools h3 { font-size: var(--t-h3); }
.am-tools p { color: var(--ink-soft); margin: 4px 0 10px; }
.am-tools .go { color: var(--ink); font-weight: 500; font-size: var(--t-small); }

/* FAQs */
.am-faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.am-faq .head { position: sticky; top: 96px; }
.am-faq details { border-bottom: 1px solid var(--line); }
.am-faq details:first-child { border-top: 1px solid var(--line); }
.am-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-size: 18px; }
.am-faq summary::-webkit-details-marker { display: none; }
.am-faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--ink-soft); }
.am-faq details[open] summary::after { content: "\2212"; }
.am-faq details p { padding: 0 0 22px; color: var(--ink-soft); max-width: 640px; }

@media (max-width: 900px) {
  .am-src, .am-faq, .am-prove { grid-template-columns: minmax(0, 1fr); }
  .am-how, .am-twin, .am-quotes, .am-tools { grid-template-columns: minmax(0, 1fr); }
  .am-lessons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .am-awards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .am-scores > div { grid-template-columns: minmax(0, 1fr); }
  .am-faq .head { position: static; }
  .am-prove .ph { min-height: 220px; }
}
@media (max-width: 600px) {
  .am-cite { grid-template-columns: minmax(0, 1fr); }
  .am-tools a { grid-template-columns: 96px 1fr; gap: 16px; }
  .am-over i { width: 14px; }
}

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

/* The info pack and its form (kept from the earlier AICM page) */
.am-pack { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.am-cover { display: grid; place-items: center; }
.am-cover img { width: min(100%, 380px); height: auto; border-radius: 6px; transform: rotate(-3deg); box-shadow: 0 30px 60px -30px rgba(12, 53, 92, .5), 0 0 0 1px rgba(12, 53, 92, .08); }
.am-form { margin-top: 12px; max-width: 480px; }
.am-form .fw-title { font-size: var(--t-h4); font-weight: 400; letter-spacing: -0.02em; margin-bottom: 10px; }
.am-form .hs-form-box { min-height: 0; }
.am-form .hs-form-box form { gap: 10px; }
.am-form .hs-form-field { display: grid; gap: 6px; }
.am-form .hs-button { justify-content: center; }
.am-form .hs-richtext a { color: inherit; }
@media (max-width: 900px) {
  .am-pack { grid-template-columns: minmax(0, 1fr); }
  .am-cover { order: 2; }
  .am-cover img { width: min(70%, 260px); }
}

/* Adam's video notes, 4 Nov (points 11, 13, 17, 18) */
.am-try { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 22px; padding: 14px 14px 14px 20px; border-radius: var(--r-l); background: #e9f8f5; box-shadow: 0 0 0 1px rgba(15, 156, 131, .25); color: var(--ink); text-decoration: none; }
.am-try b { font-weight: 500; padding: 7px 14px; border-radius: 999px; background: var(--ink); color: #fff; white-space: nowrap; }
.am-try:hover b { background: var(--teal-deep); }
#measure .am-stage { margin-bottom: clamp(20px, 2.6vw, 36px); }
.am-ms { align-items: start; }
.am-ms .frame { background: none; padding: 0; place-items: start end; overflow: visible; }
.am-ada-2 { margin-top: clamp(40px, 5vw, 72px); }
.am-ask { margin-top: clamp(24px, 3vw, 36px); padding: clamp(16px, 2vw, 24px) clamp(20px, 2.6vw, 32px); }
.am-lessons .th { aspect-ratio: 2 / 1; }
@media (max-width: 900px) {
  .am-ms .frame { place-items: start center; }
}
.pic img.cut.full { object-fit: cover; object-position: 50% 0; height: 100%; top: 0; }

/* Oli's recording notes, 4 Nov: "What's in the report" in a tile. (The quieter, shorter hero from the same notes gave way to one hero size on every product page, later on 4 Nov.) */
.am-tile { padding: clamp(24px, 3.2vw, 44px); border-radius: var(--r-xl); background: var(--cream); }

/* Oli's review round, 4 Nov 15:48 (review-rounds/2026-11-04-1548). Measure, Build and Prove keep the homepage method card's colours:
   Measure sun, Build teal, Prove sky. The colour marks the How it works cards, each stage's number badge, the rule under each band's
   heading, and the 50-person pill. Measure's parts are separate bands, white and cream in turn (the HTML). */
.am-how a { position: relative; overflow: hidden; --c: var(--sun); --c-text: #b26c00; }
.am-how a:nth-child(2) { --c: var(--teal); --c-text: var(--teal-deep); }
.am-how a:nth-child(3) { --c: var(--sky); --c-text: #1786ad; }
.am-how a::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--c); }
.am-how .k { color: var(--c-text); }
.am-stage h2 .k { background: var(--sun); color: var(--ink); }
#build .am-stage h2 .k { background: var(--teal); }
#prove .am-stage h2 .k { background: var(--sky); }
.am-sub { font-size: clamp(28px, 2.7vw, 40px); letter-spacing: -0.03em; margin-bottom: 16px; }
.am-sub::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 2px; background: var(--sun); margin-top: 18px; }
#build .am-sub::after, [aria-labelledby="ada-h"] .am-sub::after { background: var(--teal); }

/* "This can be one line": Measure's heading on one line on laptops */
#measure .am-stage { max-width: none; }
@media (min-width: 1000px) { #measure .am-stage .big { white-space: nowrap; font-size: min(var(--t-h2), 2.7vw, 38px); } }

/* The 50-person offer is a pill as long as the two buttons above it */
.am-cta { display: inline-grid; gap: 12px; margin-top: 8px; max-width: 100%; }
.am-cta .btns { margin: 0; }
.am-try { margin-top: 0; border-radius: 999px; padding: 6px 6px 6px 20px; background: #fff4e0; box-shadow: 0 0 0 1px rgba(255, 184, 80, .6); flex-wrap: nowrap; font-size: 14px; line-height: 1.3; }
.am-try b { padding: 9px 16px; }
@media (max-width: 600px) { .am-try { border-radius: 24px; flex-wrap: wrap; padding: 12px 12px 12px 18px; } }

/* What we measure as a worked example: the definition is a small line under each measure; beside it, what the sample score means */
.am-scores > div { padding: 26px 0; }
.am-scores h4 { font-size: var(--t-h3); }
.am-scores .bar { height: 12px; }
.am-scores .def { font-size: var(--t-small); color: var(--ink-soft); margin-top: 10px; line-height: 1.45; }
.am-scores > div > p { color: var(--ink); font-size: 17px; line-height: 1.5; }

/* Build: the bold lead-ins read as small headings */
.am-twin li b { display: block; font-size: var(--t-h4); font-weight: 400; letter-spacing: -0.01em; margin-bottom: 4px; }

/* What's in the report: a white tile on the cream band, and the sample report drawn live (six headline tiles; one at a time opens) */
.sec.cream .am-tile { background: var(--paper); }
.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 .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 .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; } }
@media (prefers-reduced-motion: reduce) { .am-rep-open, .am-rep-open .in, .am-rt { transition: none; } }

/* What we found: the intro runs the full width, to the right edge of the third figure */
.am-found .head { max-width: none; }

/* Ada: the video the full width of the page, so the lesson and Ada can be read; its words beside each other underneath */
.am-ada-1 { display: grid; gap: clamp(24px, 3vw, 40px); }
.am-ada-1 .prose { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px clamp(32px, 5vw, 80px); align-items: start; }
.am-ada-1 .prose h3 { margin: 0; }
@media (max-width: 900px) { .am-ada-1 .prose { grid-template-columns: minmax(0, 1fr); } }

/* Prove: the homepage's certificate card in place of the placeholder */
.am-cert { display: grid; place-items: center; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-l); background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.am-cert .cert { width: min(100%, 380px); padding: 36px 28px 32px; border-radius: 16px; background: linear-gradient(140deg, #fff 0%, #fff8ea 100%); box-shadow: inset 0 0 0 1px #f0e3c8; text-align: center; }
.am-cert .cert img { width: 132px; height: auto; margin: 0 auto 14px; display: block; }
.am-cert .t1 { font-size: 13px; color: var(--ink-soft); }
.am-cert .t2 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.02em; margin-top: 8px; }
.am-cert .t3 { font-size: 13px; color: var(--ink-soft); margin-top: 14px; }

/* "Make this thing square": the info pack cover sits straight */
.am-cover img { transform: none; }
.am-rep-open[hidden] { display: none; }
@media (max-width: 600px) { .am-rep .window-bar .tag { display: none; } }
.am-rt b:has(small) { font-size: clamp(20px, 1.7vw, 28px); }
