/* P+ product site: what the multi-page site adds to the shared layout — the menu, page heads, link cards, tables,
   questions, the architecture diagram, the resource shelf and the footer. */

.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: #b53a17; color: #fff; padding: .6em 1em; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 6px; }

/* ---- menu */
.nav nav a[aria-current="page"] { color: #fff; position: relative; }
.nav nav a[aria-current="page"]::after { content: ''; position: absolute; inset-inline: 0; bottom: -7px; height: 2px; border-radius: 2px; background: var(--ember); }
.nav .only-small { display: none; }
.menu-btn { all: unset; display: none; cursor: pointer; width: 42px; height: 42px; border-radius: 50%; place-items: center; align-content: center; gap: 4px; box-sizing: border-box; }
.menu-btn i { display: block; width: 18px; height: 2px; border-radius: 2px; background: #eef1f7; transition: transform .25s, opacity .2s; }
@media (max-width: 1080px) {
  .nav .in { gap: 10px; border-radius: 28px; flex-wrap: wrap; }
  .nav .btn { margin-inline-start: auto; }
  .menu-btn { display: grid; }
  .nav nav { display: none; order: 5; flex-basis: 100%; margin: 0; padding: 8px 6px 10px; gap: 0; flex-direction: column; font-size: 1.02rem; border-top: 1px solid var(--ink-line); }
  .nav.open nav { display: flex; }
  .nav nav a { padding: 13px 8px; border-radius: 10px; }
  .nav nav a[aria-current="page"]::after { display: none; }
  .nav nav a[aria-current="page"] { background: rgba(255, 255, 255, .07); }
  .nav .only-small { display: block; }
  .nav.open .menu-btn i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav.open .menu-btn i:nth-child(2) { opacity: 0; }
  .nav.open .menu-btn i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}
@media (max-width: 420px) { .nav .btn { font-size: .78rem; padding: .55em .9em; } }

/* ---- page head */
.phero { padding: 148px 0 clamp(56px, 7vw, 96px); }
.phero h1 { font-size: clamp(2.3rem, 5.2vw, 4.2rem); font-weight: 800; max-width: 18ch; margin-top: 20px; }
.phero h1 .em { background: linear-gradient(100deg, #ff9a7b, #f0562e 60%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.phero .lead { font-size: clamp(1.05rem, 1.45vw, 1.25rem); max-width: 42rem; margin: 24px 0 0; color: #b6bed0; }
.phero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.phero .chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.phero-split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.phero-split > * { min-width: 0; }
@media (max-width: 980px) { .phero-split { grid-template-columns: 1fr; } }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.jump a { text-decoration: none; font-size: .86rem; font-weight: 600; padding: .5em 1em; border-radius: 999px; border: 1px solid var(--ink-line); color: #dfe4ee; transition: border-color .2s, background .2s; }
.jump a:hover { border-color: rgba(240, 86, 46, .7); background: rgba(240, 86, 46, .1); }

.band { background: var(--paper); border-block: 1px solid var(--sand); }
section[id], div[id].anchor { scroll-margin-top: 96px; }

/* ---- link cards: where each part of the platform is explained */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ways a { text-decoration: none; display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: 20px; background: var(--paper); border: 1px solid var(--sand); position: relative; transition: transform .25s, border-color .25s, box-shadow .25s; }
.ways a:hover { transform: translateY(-4px); border-color: var(--ember); box-shadow: 0 22px 40px -28px rgba(240, 86, 46, .7); }
.ways small { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ember-deep); }
.ways h3 { font-size: 1.3rem; }
.ways p { font-size: .95rem; color: var(--stone); }
.ways em { font-style: normal; font-weight: 600; font-size: .9rem; color: var(--ember-deep); display: inline-flex; align-items: center; gap: .4em; margin-top: 6px; }
.ways em::after { content: '→'; transition: transform .25s; }
[dir="rtl"] .ways em::after { content: '←'; }
.ways a:hover em::after { transform: translateX(4px); }
.on-dark .ways a { background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); border-color: var(--ink-line); }
.on-dark .ways h3 { color: #fff; } .on-dark .ways p { color: #aeb6c8; } .on-dark .ways small, .on-dark .ways em { color: #ff8a68; }
@media (max-width: 980px) { .ways { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .ways { grid-template-columns: 1fr; } }
.more { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; color: var(--ember-deep); text-decoration: none; margin-top: 26px; }
.more::after { content: '→'; transition: transform .25s; }
.more:hover::after { transform: translateX(4px); }
.on-dark .more { color: #ff8a68; }

/* ---- film band */
.filmband { display: block; position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--ink-line); box-shadow: var(--shadow); text-decoration: none; aspect-ratio: 16 / 9; background: #0c111d; }
.filmband img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .82; transition: opacity .3s, transform .6s; }
.filmband:hover img { opacity: 1; transform: scale(1.015); }
.filmband > span { position: absolute; inset: auto 0 0 0; padding: 22px 26px; display: flex; align-items: center; gap: 16px; color: #fff; font-weight: 600; background: linear-gradient(0deg, rgba(12, 17, 29, .92), transparent); }
.filmband i { width: 58px; height: 58px; border-radius: 50%; background: var(--ember); display: grid; place-items: center; flex: none; }
.filmband i svg { width: 22px; height: 22px; margin-inline-start: 3px; }
.filmband small { display: block; font-weight: 400; color: #b6bed0; font-size: .86rem; }

/* ---- tables */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--sand); border-radius: 18px; background: var(--paper); }
.tbl { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 640px; }
.tbl th { text-align: start; font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); padding: 16px 20px; border-bottom: 1px solid var(--sand); font-weight: 500; }
.tbl td { padding: 16px 20px; border-bottom: 1px solid var(--sand); vertical-align: top; color: var(--stone); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td:first-child { color: var(--text); font-weight: 600; white-space: nowrap; }
.tbl td b { color: var(--text); }
.on-dark .tbl-wrap { background: rgba(255, 255, 255, .03); border-color: var(--ink-line); }
.on-dark .tbl th { color: #8d98b0; border-color: var(--ink-line); }
.on-dark .tbl td { color: #aeb6c8; border-color: var(--ink-line); }
.on-dark .tbl td:first-child, .on-dark .tbl td b { color: #fff; }
.tag { display: inline-block; font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; padding: .25em .7em; border-radius: 999px; border: 1px solid currentColor; color: var(--c, var(--teal)); white-space: nowrap; }

/* ---- questions */
.faq { display: grid; gap: 10px; max-width: 54rem; }
.faq details { border: 1px solid var(--sand); border-radius: 16px; background: var(--paper); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-family: var(--display); font-weight: 600; font-size: 1.06rem; display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--mono); font-size: 1.3rem; color: var(--ember); transition: transform .25s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 0 20px; color: var(--stone); max-width: 46rem; }
.on-dark .faq details { background: rgba(255, 255, 255, .04); border-color: var(--ink-line); }
.on-dark .faq summary { color: #fff; }

/* ---- architecture: the platform as layers, top to bottom */
.arch { display: grid; gap: 10px; }
.arch > div { display: grid; grid-template-columns: 12.5rem 1fr; gap: 18px; align-items: center; border: 1px solid var(--ink-line); border-radius: 18px; padding: 18px 22px; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 16%, transparent), rgba(255, 255, 255, .02) 55%); position: relative; }
.arch > div::before { content: ''; position: absolute; inset-block: 16px; inset-inline-start: 0; width: 3px; border-radius: 3px; background: var(--c); }
.arch b { font-family: var(--display); font-size: 1.08rem; color: #fff; display: block; }
.arch small { font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c); }
.arch ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.arch li { font-size: .86rem; font-weight: 600; color: #dfe4ee; padding: .45em .9em; border-radius: 10px; background: rgba(255, 255, 255, .06); border: 1px solid var(--ink-line); }
.arch .edge { border-style: dashed; }
@media (max-width: 760px) { .arch > div { grid-template-columns: 1fr; gap: 12px; } }

/* ---- numbered method steps */
.steps4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps4 > div { border: 1px solid var(--sand); background: var(--paper); border-radius: 18px; padding: 24px; counter-increment: s; }
.steps4 > div::before { content: counter(s, decimal-leading-zero); font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; color: var(--ember-deep); }
.steps4 h3 { font-size: 1.12rem; margin: 10px 0 8px; }
.steps4 p { font-size: .93rem; color: var(--stone); }
.on-dark .steps4 > div { background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); border-color: var(--ink-line); }
.on-dark .steps4 > div::before { color: #ff8a68; } .on-dark .steps4 h3 { color: #fff; }
@media (max-width: 980px) { .steps4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps4 { grid-template-columns: 1fr; } }

/* ---- things people ask the AI */
.prompts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.prompts div { border: 1px solid var(--sand); border-radius: 16px 16px 16px 4px; background: var(--paper); padding: 16px 18px; font-size: .98rem; }
.prompts div[lang="ar"] { border-radius: 16px 16px 4px 16px; text-align: right; font-size: 1.05rem; }
.prompts small { display: block; font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ember-deep); margin-bottom: 6px; }
@media (max-width: 700px) { .prompts { grid-template-columns: 1fr; } }

/* ---- the resource shelf */
.shelf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shelf article { border: 1px solid var(--sand); border-radius: 22px; background: var(--paper); overflow: hidden; display: flex; flex-direction: column; }
.shelf .pic { aspect-ratio: 16 / 10; background: var(--ink); position: relative; overflow: hidden; display: block; }
.shelf .pic img { width: 100%; height: 100%; object-fit: cover; object-position: 0 0; display: block; transition: transform .6s; }
.shelf article:hover .pic img { transform: scale(1.03); }
.shelf .body { padding: 22px 24px 24px; display: grid; gap: 10px; flex: 1; align-content: start; }
.shelf small { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ember-deep); }
.shelf h3 { font-size: 1.25rem; }
.shelf p { font-size: .94rem; color: var(--stone); }
.shelf .acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.shelf .btn { font-size: .86rem; padding: .6em 1.1em; }
@media (max-width: 980px) { .shelf { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .shelf { grid-template-columns: 1fr; } }
.dl { display: grid; gap: 10px; }
.dl a { display: grid; grid-template-columns: 46px 1fr auto; gap: 16px; align-items: center; padding: 16px 20px; border: 1px solid var(--sand); border-radius: 16px; background: var(--paper); text-decoration: none; transition: border-color .2s, transform .2s; }
.dl a:hover { border-color: var(--ember); transform: translateY(-2px); }
.dl i { width: 46px; height: 46px; border-radius: 12px; background: var(--ember-soft); color: var(--ember-deep); display: grid; place-items: center; }
.dl i svg { width: 20px; height: 20px; }
.dl b { display: block; }
.dl span { font-size: .88rem; color: var(--stone); }
.dl em { font-style: normal; font-family: var(--mono); font-size: .72rem; color: var(--stone); white-space: nowrap; }

/* ---- contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-grid > * { min-width: 0; }
.contact-card { border: 1px solid var(--ink-line); border-radius: 24px; padding: clamp(24px, 3vw, 36px); background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); }
.contact-card h2 { font-size: 1.5rem; color: #fff; }
.contact-card .mail { display: block; font-family: var(--display); font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-weight: 700; color: #fff; text-decoration: none; margin: 14px 0 6px; word-break: break-word; }
.contact-card .mail:hover { color: #ff9a7b; }
.contact-card ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.contact-card li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: .96rem; color: #dfe4ee; }
.contact-card li svg { width: 20px; height: 20px; color: #ff8a68; margin-top: 3px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---- footer */
.foot { padding: 64px 0 34px; }
.foot .wrap { display: block; }
.foot-cols { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; }
.foot-cols b { display: block; font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: #8d98b0; margin-bottom: 14px; font-weight: 500; }
.foot-cols a:not(.pplus) { display: block; color: #c3cadb; text-decoration: none; padding: 5px 0; font-size: .92rem; }
.foot-cols a:not(.pplus):hover { color: #fff; }
.foot-brand p { margin-top: 16px; max-width: 24rem; color: #9aa4ba; font-size: .9rem; }
.foot-end { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--ink-line); font-size: .8rem; color: #8d98b0; }
.foot-end span:first-child { max-width: 46rem; }
@media (max-width: 900px) { .foot-cols { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* closing band on the inner pages */
.cta-band .start { max-width: 62rem; margin-inline: auto; }
.cta-band p.muted { margin-inline: auto; }
.on-dark .steps4 p { color: #aeb6c8; }
.nav.open .in { background: #0c111d; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); }

/* ---- click a capture to see it large */
.shot__view { cursor: zoom-in; }
.zoom { position: fixed; inset: 0; z-index: 200; background: rgba(8, 11, 19, .93); display: grid; place-items: center; padding: clamp(10px, 2.5vw, 40px); cursor: zoom-out; animation: zoom-in .2s ease; }
.zoom img { max-width: 100%; max-height: calc(100vh - 2 * clamp(10px, 2.5vw, 40px)); width: auto; height: auto; border-radius: 10px; box-shadow: 0 40px 120px -20px #000; display: block; }
.zoom button { all: unset; position: fixed; top: 14px; inset-inline-end: 18px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #fff; font-size: 26px; cursor: pointer; }
@keyframes zoom-in { from { opacity: 0; } }

/* ---- two ways to adopt: the twin over your systems, or over its own built-in parts */
.adopt { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.adopt > div { border: 1px solid var(--sand); border-radius: 24px; background: var(--paper); padding: clamp(22px, 2.6vw, 34px); display: grid; gap: 14px; align-content: start; min-width: 0; }
.adopt small { font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ember-deep); }
.adopt h3 { font-size: 1.5rem; }
.adopt > div > p { color: var(--stone); }
.adopt ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; }
.adopt li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: .95rem; }
.adopt li svg { width: 20px; height: 20px; color: var(--ember); margin-top: 3px; }
.adopt-art { background: var(--ink); border-radius: 18px; padding: 22px 18px 18px; display: grid; gap: 0; justify-items: center; margin: 6px 0; }
.adopt-twin { display: grid; grid-template-columns: 44px auto; column-gap: 12px; align-items: center; padding: 12px 20px 12px 14px; border-radius: 16px; border: 1px solid rgba(240, 86, 46, .55); background: linear-gradient(160deg, rgba(240, 86, 46, .24), rgba(240, 86, 46, .05)); box-shadow: 0 0 50px -14px rgba(240, 86, 46, .6); }
.adopt-twin span { width: 44px; height: 44px; grid-row: span 2; display: block; }
.adopt-twin b { color: #fff; font-family: var(--display); font-size: 1.02rem; line-height: 1.2; align-self: end; }
.adopt-twin em { font-style: normal; font-family: var(--mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: #ff9a7b; align-self: start; }
.adopt-links { display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; height: 34px; }
.adopt-links i { justify-self: center; width: 2px; height: 100%; background: repeating-linear-gradient(0deg, #8fa6d6 0 5px, transparent 5px 10px); background-size: 2px 10px; animation: adopt-up 1s linear infinite; }
.adopt-links.in i { background-image: repeating-linear-gradient(0deg, var(--ember) 0 5px, transparent 5px 10px); }
@keyframes adopt-up { to { background-position: 0 -10px; } }
.adopt-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; width: 100%; }
.adopt-row span { text-align: center; font-size: .8rem; font-weight: 600; color: #dfe4ee; padding: 10px 6px; border-radius: 12px; border: 1px dashed rgba(143, 166, 214, .6); background: rgba(143, 166, 214, .08); display: grid; place-items: center; line-height: 1.25; }
.adopt-row.in span { border: 1px solid rgba(240, 86, 46, .5); background: rgba(240, 86, 46, .12); }
@media (max-width: 900px) { .adopt { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .adopt-row, .adopt-links { grid-template-columns: 1fr 1fr; } .adopt-links i:nth-child(n+3) { display: none; } }
@media (prefers-reduced-motion: reduce) { .adopt-links i { animation: none; } }

/* ---- 1D to 7D */
.dimstrip.dim8 { grid-template-columns: repeat(8, 1fr); }
@media (max-width: 1100px) { .dimstrip.dim8 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 620px) { .dimstrip.dim8 { grid-template-columns: repeat(2, 1fr); } }
.tour li b span { min-width: 2.2em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
/* the dimensions as a ledger: one ruled line each, the numeral drawn in outline, a seven-step meter that fills as they add up */
.ledger { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--text); }
.ledger > li { display: grid; grid-template-columns: minmax(7rem, 11rem) minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(18px, 3vw, 48px); align-items: start; padding: 30px 0 28px; border-top: 1px solid var(--sand-2); position: relative; transition-property: opacity, transform, padding; }
.ledger > li:first-child { border-top: 1px solid var(--text); }
.ledger > li > b { font-family: var(--display); font-weight: 800; font-size: clamp(3.2rem, 6vw, 5.4rem); line-height: .86; letter-spacing: -.05em; color: var(--paper); -webkit-text-stroke: 3px var(--text); paint-order: stroke fill; transition: color .35s, -webkit-text-stroke-color .35s; }
.ledger > li:hover > b { color: var(--ember); -webkit-text-stroke-color: var(--ember); }
.ledger h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
.ledger .lg-t p { color: var(--stone); margin-top: 8px; max-width: 30rem; }
.ledger .lg-t i { display: flex; gap: 4px; margin-top: 18px; }
.ledger .lg-t u { width: 26px; height: 4px; background: var(--sand-2); text-decoration: none; }
.ledger > li[style*="--k:1"] u:nth-child(-n+1), .ledger > li[style*="--k:2"] u:nth-child(-n+2), .ledger > li[style*="--k:3"] u:nth-child(-n+3), .ledger > li[style*="--k:4"] u:nth-child(-n+4),
.ledger > li[style*="--k:5"] u:nth-child(-n+5), .ledger > li[style*="--k:6"] u:nth-child(-n+6), .ledger > li[style*="--k:7"] u:nth-child(-n+7) { background: var(--text); }
.ledger > li:hover .lg-t u { background-color: var(--sand-2); }
.ledger > li[style*="--k:1"]:hover u:nth-child(-n+1), .ledger > li[style*="--k:2"]:hover u:nth-child(-n+2), .ledger > li[style*="--k:3"]:hover u:nth-child(-n+3), .ledger > li[style*="--k:4"]:hover u:nth-child(-n+4),
.ledger > li[style*="--k:5"]:hover u:nth-child(-n+5), .ledger > li[style*="--k:6"]:hover u:nth-child(-n+6), .ledger > li[style*="--k:7"]:hover u:nth-child(-n+7) { background: var(--ember); }
.ledger ul { list-style: none; margin: 0; padding: 0; }
.ledger ul li { padding: 9px 0 9px 44px; border-bottom: 1px dashed var(--sand-2); position: relative; font-size: .98rem; }
.ledger ul li:last-child { border-bottom: 0; }
.ledger ul li::before { content: ''; position: absolute; left: 0; top: 1.25em; width: 28px; height: 1px; background: var(--text); }
.ledger .sum { background: var(--text); color: #fff; padding-inline: clamp(18px, 3vw, 40px); margin-top: -1px; }
.ledger .sum > b { -webkit-text-stroke-color: var(--ember); color: var(--text); }
.ledger .sum:hover > b { color: var(--ember); }
.ledger .sum .lg-t p { color: #b6bed0; }
.ledger .sum ul li { border-color: rgba(255, 255, 255, .18); }
.ledger .sum ul li::before { background: var(--ember); }
@media (max-width: 860px) { .ledger > li { grid-template-columns: 1fr; gap: 12px; } }
.legend9 { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.legend9 span { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; color: #dfe4ee; padding: .4em .85em; border-radius: 999px; border: 1px solid var(--ink-line); background: rgba(255, 255, 255, .05); }
.legend9 span::before { content: ''; width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.views { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.views span { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; padding: .45em .9em; border-radius: 999px; background: var(--ivory); border: 1px solid var(--sand-2); color: var(--text); }

/* ---- the AI companion, played */
.aid { margin-top: 44px; border: 1px solid var(--ink-line); border-radius: 22px; background: #0a0e18; overflow: hidden; box-shadow: 0 50px 120px -50px #000, 0 0 0 1px rgba(240, 86, 46, .08); }
.aid-tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--ink-line); background: #070a12; }
.aid-tabs::-webkit-scrollbar { display: none; }
.aid-tabs button { all: unset; cursor: pointer; padding: 15px 20px; font-size: .88rem; font-weight: 600; color: #8d98b0; white-space: nowrap; border-bottom: 2px solid transparent; transition: color .2s; }
.aid-tabs button:hover { color: #fff; }
.aid-tabs button.on { color: #fff; border-bottom-color: var(--ember); background: rgba(255, 255, 255, .04); }
.aid-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); min-height: 470px; }
.aid-chat { padding: clamp(20px, 3vw, 38px); display: grid; gap: 22px; align-content: start; border-inline-end: 1px solid var(--ink-line); }
.aid-q { font-family: var(--display); font-size: clamp(1.25rem, 2.2vw, 1.75rem); font-weight: 600; color: #fff; line-height: 1.3; min-height: 2.6em; }
.aid-q[lang="ar"] { font-family: 'Cairo', var(--display); line-height: 1.6; }
.aid-pipe { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.aid-pipe li { padding: 12px 14px 12px 0; border-top: 2px solid rgba(255, 255, 255, .12); display: grid; gap: 4px; align-content: start; transition: border-color .3s; }
.aid-pipe b { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: #8d98b0; transition: color .3s; }
.aid-pipe span { font-size: .78rem; color: #aeb6c8; line-height: 1.35; opacity: 0; transform: translateY(4px); transition: opacity .35s, transform .35s; }
.aid-pipe li.on { border-color: var(--ember); } .aid-pipe li.on b { color: #ff9a7b; }
.aid-pipe li.ok { border-color: #3fae7a; } .aid-pipe li.ok b { color: #7fd6a8; }
.aid-pipe li.on span, .aid-pipe li.ok span { opacity: 1; transform: none; }
.aid.refuse .aid-pipe li.ok:nth-child(n+3) { border-color: var(--gold); } .aid.refuse .aid-pipe li.ok:nth-child(n+3) b { color: #e0b662; }
.aid-a { min-height: 8.5em; font-size: 1.04rem; color: #dfe4ee; line-height: 1.65; }
.aid-a[lang="ar"] { font-family: 'Cairo', var(--body); font-size: 1.1rem; line-height: 1.9; }
.aid-a p { color: #dfe4ee; } .aid-a b { color: #fff; }
.aid-a p span { opacity: 0; animation: aid-w .3s ease forwards; animation-delay: calc(var(--w) * 38ms); }
@keyframes aid-w { to { opacity: 1; } }
.aid-bars { display: grid; gap: 9px; margin-top: 18px; max-width: 30rem; }
.aid-bars > div { display: grid; grid-template-columns: 11.5em 1fr 5em; gap: 12px; align-items: center; font-size: .84rem; color: #aeb6c8; }
.aid-bars i { height: 8px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.aid-bars u { display: block; height: 100%; width: var(--v); background: var(--c); transform-origin: 0 50%; animation: aid-grow .9s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--k) * 140ms + 500ms); }
.aid-bars b { text-align: end; font-variant-numeric: tabular-nums; }
@keyframes aid-grow { from { transform: scaleX(0); } }
.aid-src { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; min-height: 2em; }
.aid-src small { font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: #8d98b0; margin-inline-end: 4px; }
.aid-src span { font-size: .8rem; color: #c9cfdd; padding: .3em .8em; border: 1px solid rgba(255, 255, 255, .16); border-radius: 6px; background: rgba(255, 255, 255, .04); }
.aid-src em { font-style: normal; font-size: .84rem; font-weight: 600; color: #e0b662; padding: .35em .9em; border: 1px dashed rgba(224, 182, 98, .6); border-radius: 6px; }
.aid-model { position: relative; display: grid; place-items: center; background: radial-gradient(60% 55% at 50% 58%, rgba(240, 86, 46, .14), transparent 70%); }
.aid-model svg { width: 100%; max-width: 560px; height: auto; display: block; }
.aid-note, .aid-mark { opacity: 0; animation: aid-w .45s ease forwards; animation-delay: calc(var(--k) * 200ms + 900ms); }
.aid-mark { animation-delay: calc(var(--k) * 140ms + 600ms); }
.aid-model .fl { transition: opacity .5s; }
.aid-model .fl.dim { opacity: .22; }
.aid-act { position: absolute; inset-inline-start: 18px; bottom: 16px; font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: #ff9a7b; opacity: 0; transition: opacity .4s; }
.aid.done .aid-act { opacity: 1; } .aid.refuse .aid-act { color: #e0b662; }
.aid-foot { display: flex; align-items: center; gap: 16px; padding: 10px 18px; border-top: 1px solid var(--ink-line); font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: #8d98b0; }
.aid-foot i { flex: 1; height: 2px; background: linear-gradient(90deg, var(--ember), var(--ember)) no-repeat 0 0 / 0% 100%, rgba(255, 255, 255, .08); animation: aid-prog 10.5s linear forwards; }
.aid.paused .aid-foot i { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .aid-note, .aid-mark { opacity: 1; animation: none; } }
@keyframes aid-prog { to { background-size: 100% 100%, auto; } }
@media (max-width: 900px) { .aid-body { grid-template-columns: 1fr; } .aid-chat { border-inline-end: 0; border-bottom: 1px solid var(--ink-line); } .aid-pipe { grid-template-columns: 1fr 1fr; } .aid-bars > div { grid-template-columns: 8.5em 1fr 4.5em; } .aid-model svg { max-width: 320px; } }
@media (prefers-reduced-motion: reduce) { .aid-a p span { opacity: 1; animation: none; } .aid-bars u, .aid-foot i { animation: none; } }

/* three statements, set large */
.vows { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--text); }
.vows li { padding: 30px clamp(18px, 2.4vw, 36px) 8px; border-inline-end: 1px solid var(--sand-2); }
.vows li:first-child { padding-inline-start: 0; } .vows li:last-child { border-inline-end: 0; padding-inline-end: 0; }
.vows b { font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.6rem); letter-spacing: -.03em; line-height: 1.05; display: block; }
.vows p { color: var(--stone); margin-top: 16px; max-width: 26rem; }
@media (max-width: 860px) { .vows { grid-template-columns: 1fr; } .vows li { padding-inline: 0; border-inline-end: 0; border-bottom: 1px solid var(--sand-2); padding-bottom: 26px; } }

/* the perimeter */
.peri { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(16px, 3vw, 44px); align-items: stretch; }
.peri-in { border: 1.5px dashed rgba(143, 199, 155, .7); border-radius: 26px; padding: clamp(20px, 3vw, 38px); background: rgba(143, 199, 155, .05); position: relative; }
.peri-in > small { position: absolute; top: -11px; inset-inline-start: 26px; background: var(--ink); padding: 0 12px; font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: #8fc79b; }
.peri-flow { display: grid; grid-template-columns: 1fr 34px 1fr 34px 1fr 34px 1fr; align-items: stretch; }
.peri-flow > div { border: 1px solid var(--ink-line); border-radius: 14px; padding: 16px 16px 18px; background: rgba(255, 255, 255, .04); display: grid; gap: 4px; align-content: start; }
.peri-flow > div.hl { border-color: rgba(240, 86, 46, .6); background: rgba(240, 86, 46, .1); }
.peri-flow b { color: #fff; font-family: var(--display); font-size: 1.02rem; }
.peri-flow span { font-size: .84rem; color: #aeb6c8; }
.peri-flow > i { align-self: center; height: 2px; background: repeating-linear-gradient(90deg, #8fc79b 0 5px, transparent 5px 10px); background-size: 10px 2px; animation: flow 1s linear infinite; }
.peri-in > p { margin-top: 18px; font-size: .9rem; color: #8d98b0; }
.peri-out { display: grid; gap: 10px; align-content: center; padding-inline-start: clamp(16px, 3vw, 44px); border-inline-start: 2px solid var(--bad); position: relative; }
.peri-out span { font-size: .88rem; color: #8d98b0; padding: 10px 16px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px; text-decoration: line-through; text-decoration-color: rgba(214, 69, 61, .7); }
.peri-out em { font-style: normal; font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: #ff8a80; }
@media (max-width: 980px) { .peri { grid-template-columns: 1fr; } .peri-flow { grid-template-columns: 1fr; } .peri-flow > i { width: 2px; height: 22px; justify-self: center; background: #8fc79b; animation: none; } .peri-out { border-inline-start: 0; border-top: 2px solid var(--bad); padding: 20px 0 0; grid-template-columns: 1fr 1fr; } }

/* verbs: the ledger with words in place of numerals */
.ledger.verbs > li > b { font-size: clamp(2.4rem, 4.6vw, 4rem); letter-spacing: -.04em; }
.ledger.verbs ul li { font-style: italic; color: var(--stone); }
.ledger.verbs ul li[lang="ar"] { font-style: normal; font-family: 'Cairo', var(--body); padding: 9px 44px 9px 0; text-align: right; }
.ledger.verbs ul li[lang="ar"]::before { left: auto; right: 0; }

/* ---- lists of capabilities are ruled columns, numbered, not boxes with icon tiles */
main .grid3, main .grid4 { gap: 0 clamp(22px, 3vw, 48px); counter-reset: g; }
main .grid3 > .card, main .grid4 > .card { background: none; border: 0; border-top: 1px solid var(--text); border-radius: 0; padding: 18px 0 40px; position: relative; counter-increment: g; }
main .on-dark .grid3 > .card, main .on-dark .grid4 > .card { border-top-color: rgba(255, 255, 255, .34); }
main .grid3 > .card::before, main .grid4 > .card::before { content: counter(g, decimal-leading-zero); font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; color: var(--ember-deep); }
main .on-dark .grid3 > .card::before, main .on-dark .grid4 > .card::before { color: #ff8a68; }
main .grid3 > .card .ico, main .grid4 > .card .ico { position: absolute; top: 14px; inset-inline-end: 0; width: auto; height: auto; margin: 0; background: none; color: var(--mist); }
main .on-dark .grid3 > .card .ico, main .on-dark .grid4 > .card .ico { background: none; color: #5f6a82; }
main .grid3 > .card .ico svg, main .grid4 > .card .ico svg { width: 22px; height: 22px; stroke-width: 1.4; }
main .grid3 > .card h3, main .grid4 > .card h3 { font-size: 1.22rem; margin: 16px 0 8px; }
main .grid3 > .card p, main .grid4 > .card p { font-size: .96rem; }

/* steps: a rule and a number, no box */
main .steps4 { gap: 0 clamp(20px, 2.6vw, 40px); }
main .steps4 > div, main .on-dark .steps4 > div { background: none; border: 0; border-top: 2px solid var(--ember); border-radius: 0; padding: 16px 0 26px; }
main .start { gap: 0 clamp(20px, 2.6vw, 40px); }
main .start div { background: none; border: 0; border-top: 1px solid var(--text); border-radius: 0; padding: 18px 0 8px; }

/* the index of pages: rows, not cards */
/* the index of pages is not a sequence: no numeral, the name is the start of the row (design r3 N4) */
main .ways { display: block; border-top: 1px solid var(--text); }
main .on-dark .ways { border-top-color: rgba(255, 255, 255, .34); }
main .ways a, main .on-dark .ways a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) auto; grid-template-rows: auto auto; column-gap: clamp(16px, 3vw, 44px); row-gap: 4px; align-items: start; background: none; border: 0; border-bottom: 1px solid var(--sand-2); border-radius: 0; padding: 24px 0; box-shadow: none; transform: none; transition: padding .3s, background .3s; }
main .on-dark .ways a { border-bottom-color: var(--ink-line); }
main .ways a:hover { transform: none; box-shadow: none; padding-inline: 14px; background: rgba(240, 86, 46, .06); border-color: var(--sand-2); }
main .on-dark .ways a:hover { border-color: var(--ink-line); }
main .ways a::before, main .on-dark .ways a::before { content: none !important; display: none !important; }
main .ways small { grid-column: 1; }
main .ways h3 { grid-column: 1; font-size: clamp(1.3rem, 2.2vw, 1.7rem); transition: color .25s; }
main .ways a:hover h3 { color: var(--ember-deep); } main .on-dark .ways a:hover h3 { color: #ff9a7b; }
main .ways p { grid-column: 2; grid-row: 1 / 3; align-self: center; }
main .ways em { grid-column: 3; grid-row: 1 / 3; align-self: center; margin: 0; white-space: nowrap; }
@media (max-width: 860px) { main .ways a, main .on-dark .ways a { grid-template-columns: minmax(0, 1fr); } main .ways p, main .ways em { grid-column: 1; grid-row: auto; } }

/* ---- the bar: solid, so the page never shows through it; lifted once the page has scrolled */
.nav .in { background: linear-gradient(180deg, #151c2e, #0c111d); border-color: rgba(255, 255, 255, .13); padding: 9px 12px 9px 26px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); transition: box-shadow .3s, border-color .3s; }
.nav.scrolled .in { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 22px 44px -20px rgba(8, 11, 19, .75), 0 2px 6px rgba(8, 11, 19, .35); border-color: rgba(255, 255, 255, .18); }
.nav .pplus { align-self: center; }
.nav .pplus span { width: 42px !important; height: 42px !important; transform: translateY(-2px); }
.nav .btn { padding: .7em 1.25em; }
@media (max-width: 1080px) { .nav .in { padding-inline-start: 20px; } }

.foot-end .ver { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; color: #8d98b0; }
.ledger.verbs > li > b { color: var(--ivory); }
/* a toggle on a light section: dark text for the choices, white on the selected one */
main section:not(.on-dark) .toggle button:not(.on) { color: var(--text); }
main .toggle button.on { color: #fff; }

/* ---- covers for the film, the deck and the booklet: each drawn as the thing it is */
.shelf .cover { background: radial-gradient(120% 90% at 85% 0%, rgba(240, 86, 46, .32), transparent 60%), radial-gradient(90% 80% at 0% 100%, rgba(42, 143, 138, .28), transparent 60%), var(--ink); text-decoration: none; color: #fff; }
.cover b { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; line-height: 1.12; display: block; }
.cover em { font-style: normal; font-family: var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #ff9a7b; display: block; }
.cover small { font-family: var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #8d98b0; display: block; }
.cover [data-pplus] { display: block; }

/* film: a still from the platform behind a title card, with the play button */
.shelf .cover--film img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 12% 40%; opacity: .5; filter: saturate(1.1); }
.cover--film::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 17, 29, .86) 0%, rgba(12, 17, 29, .25) 42%, rgba(12, 17, 29, .92) 100%); }
.cover--film > span { position: absolute; z-index: 1; }
.cv-top { top: 18px; inset-inline: 22px; display: flex; align-items: center; justify-content: space-between; }
.cv-top i { width: 38px; height: 38px; }
.cv-top em { font-size: .64rem; }
.cv-play { top: 50%; left: 50%; width: 66px; height: 66px; margin: -33px 0 0 -33px; border-radius: 50%; background: var(--ember); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(240, 86, 46, .22), 0 18px 40px -12px #000; transition: transform .3s; }
.cv-play svg { width: 24px; height: 24px; margin-inline-start: 3px; }
.shelf article:hover .cv-play { transform: scale(1.08); }
.cv-bot { bottom: 18px; inset-inline: 22px; }
.cv-bot b { font-size: 1.28rem; } .cv-bot small { font-size: .62rem; margin-top: 6px; }

/* deck: the title slide on top of the slides behind it */
.cv-slide { position: absolute; left: 13%; right: 13%; top: 17%; aspect-ratio: 16 / 9; border-radius: 8px; background: radial-gradient(90% 80% at 100% 0%, rgba(240, 86, 46, .3), transparent 62%), #0f1524; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 24px 44px -20px #000; padding: 8% 9%; display: grid; align-content: center; gap: 6px; transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.cv-slide.s2 { transform: translate(5%, -9%) scale(.94); opacity: .55; }
.cv-slide.s3 { transform: translate(10%, -18%) scale(.88); opacity: .28; }
.shelf article:hover .cv-slide.s2 { transform: translate(7%, -12%) scale(.94); }
.shelf article:hover .cv-slide.s3 { transform: translate(14%, -24%) scale(.88); }
.cv-slide i { width: 13%; aspect-ratio: 1; margin-bottom: 4%; }
.cv-slide em { font-size: .5rem; }
.cv-slide b { font-size: clamp(.82rem, 1.25vw, 1.06rem); max-width: 16ch; }
.cv-slide small { font-size: .5rem; margin-top: 4px; }

/* booklet: the cover standing in front of its pages */
.cv-page { position: absolute; top: 9%; bottom: 9%; left: 50%; aspect-ratio: 210 / 297; transform: translateX(-62%) rotate(-3deg); border-radius: 4px; background: radial-gradient(120% 60% at 100% 0%, rgba(240, 86, 46, .32), transparent 60%), #0f1524; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 26px 46px -18px #000; padding: 9% 3.2% 3.2%; display: grid; align-content: end; gap: 5px; overflow: hidden; transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.cv-page.p2 { background: var(--paper); border-color: var(--sand-2); transform: translateX(-28%) rotate(4deg); padding: 0; align-content: center; }
.cv-page.p3 { background: #e8e0d2; border-color: var(--sand-2); transform: translateX(-2%) rotate(9deg); }
.shelf article:hover .cv-page.p2 { transform: translateX(-20%) rotate(6deg); }
.shelf article:hover .cv-page.p3 { transform: translateX(10%) rotate(13deg); }
.shelf .cv-page.p2 img { position: static; width: 100%; height: auto; object-fit: contain; border-block: 1px solid var(--sand); }
.cv-page i { position: absolute; top: 8%; left: 10%; width: 22%; aspect-ratio: 1; }
.cv-page em { font-size: .42rem; }
.cv-page b { font-size: clamp(.62rem, .95vw, .8rem); }
.cv-page small { font-size: .42rem; margin-top: 3px; }
@media (prefers-reduced-motion: reduce) { .cv-slide, .cv-page, .cv-play { transition: none; } }

/* =====================================================================================================================
   Phones: the site behaves like an app. A bar at the bottom for the main sections, the menu as a sheet that rises
   from it, lists that swipe sideways, tables that read as lists, buttons the width of the thumb.
   ===================================================================================================================== */
@view-transition { navigation: auto; }
.tabbar { display: none; }
a, button { -webkit-tap-highlight-color: transparent; }
@media (max-width: 760px) {
  html { scroll-padding-top: 76px; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .wrap { width: calc(100% - 32px); }
  section { padding: 56px 0; }
  .sec-h { margin-bottom: 28px; gap: 12px; }
  .sec-h h2, .split h2 { font-size: 1.75rem; }
  .sec-h p { font-size: 1rem; }

  /* the bar at the top: the mark and the one action */
  .nav { top: calc(8px + env(safe-area-inset-top)); }
  .nav .in { width: calc(100% - 20px); padding: 7px 8px 7px 16px; border-radius: 999px; flex-wrap: nowrap; }
  .nav .pplus span { width: 34px !important; height: 34px !important; }
  .nav .menu-btn { display: none; }
  .nav .btn { font-size: .82rem; padding: .62em 1.1em; }

  /* the bar at the bottom */
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 60; inset-inline: 0; bottom: 0; padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: rgba(10, 14, 24, .96); border-top: 1px solid rgba(255, 255, 255, .12); }
  .tabbar a, .tabbar button { all: unset; cursor: pointer; display: grid; justify-items: center; gap: 3px; padding: 7px 0 5px; border-radius: 12px; color: #7f8aa3; font-size: .66rem; font-weight: 600; letter-spacing: .01em; transition: color .2s, background .2s, transform .15s; }
  .tabbar i { display: grid; } .tabbar svg { width: 22px; height: 22px; }
  .tabbar a[aria-current="page"] { color: #fff; }
  .tabbar a[aria-current="page"] svg { color: var(--ember); }
  .tabbar a:active, .tabbar button:active { transform: scale(.94); background: rgba(255, 255, 255, .06); }
  .menu-open .tb-more { color: #fff; } .menu-open .tb-more svg { color: var(--ember); }

  /* the menu: a sheet from the bottom, above the bar */
  .nav nav { display: flex; position: fixed; z-index: 55; inset-inline: 10px; bottom: calc(72px + env(safe-area-inset-bottom)); margin: 0; padding: 10px; flex-direction: column; gap: 2px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 22px; background: #0f1524; box-shadow: 0 -20px 60px -10px #000; font-size: 1.04rem; transform: translateY(24px); opacity: 0; pointer-events: none; transition: transform .28s cubic-bezier(.2, .8, .2, 1), opacity .2s; }
  .nav.open nav { transform: none; opacity: 1; pointer-events: auto; }
  .nav nav a { padding: 15px 14px; border-radius: 14px; color: #dfe4ee; }
  .nav nav a:active { background: rgba(255, 255, 255, .08); }
  .nav.open .in { background: linear-gradient(180deg, #151c2e, #0c111d); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
  .menu-open main::after { content: ''; position: fixed; inset: 0; z-index: 40; background: rgba(8, 11, 19, .6); }

  /* heads */
  .hero { padding-top: 104px; }
  .hero h1 { font-size: 2.35rem; } .phero { padding: 104px 0 44px; } .phero h1 { font-size: 2.1rem; }
  .hero .lead, .phero .lead { font-size: 1.02rem; margin: 18px 0 24px; }
  .hero .cta, .phero .cta, .cta-row { display: grid; gap: 10px; }
  .hero .cta .btn, .phero .cta .btn, .cta-row .btn { justify-content: center; padding: 1em 1.2em; font-size: 1rem; }
  .btn:active { transform: scale(.97); }
  .hero .chips, .phero .chips, .jump, .views { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; scroll-snap-type: x proximity; }
  .hero .chips::-webkit-scrollbar, .phero .chips::-webkit-scrollbar, .jump::-webkit-scrollbar, .views::-webkit-scrollbar { display: none; }
  .chip, .jump a, .views span { flex: none; scroll-snap-align: start; }
  .jump a { padding: .7em 1.1em; }
  .hero-shot { margin-top: 36px; }

  /* lists that swipe sideways */
  main .grid3, main .grid4, main .steps4, .start, .dimstrip, .dimstrip.dim8, .shelf { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -16px; padding: 2px 16px 10px; }
  main .grid3::-webkit-scrollbar, main .grid4::-webkit-scrollbar, main .steps4::-webkit-scrollbar, .start::-webkit-scrollbar, .dimstrip::-webkit-scrollbar, .shelf::-webkit-scrollbar { display: none; }
  main .grid3 > *, main .grid4 > *, main .steps4 > *, .start > *, .dimstrip > *, .shelf > * { scroll-snap-align: center; }
  main .grid3 > .card, main .grid4 > .card { padding-bottom: 14px; }
  .dimstrip, .dimstrip.dim8 { grid-auto-columns: 44%; border-radius: 18px !important; margin-inline: 0; }
  .shelf { grid-auto-columns: 86%; }
  .start { margin: 28px -16px 24px; }
  .pillars { grid-template-columns: 1fr 1fr; margin-top: 40px; }
  .proof { padding: 26px 0; } .proof b { font-size: 1.7rem; }

  /* tables read as lists */
  .tbl-wrap { border: 0; background: none; overflow: visible; }
  .tbl { min-width: 0; display: block; }
  .tbl thead { display: none; }
  .tbl tbody { display: grid; gap: 12px; }
  .tbl tr { display: block; border: 1px solid var(--sand); border-radius: 16px; background: var(--paper); padding: 14px 16px; }
  .on-dark .tbl tr { background: rgba(255, 255, 255, .04); border-color: var(--ink-line); }
  .tbl td { display: block; padding: 0; border: 0; }
  .tbl td:first-child { font-family: var(--display); font-size: 1.08rem; white-space: normal; margin-bottom: 8px; }
  .tbl td:not(:first-child) { padding-top: 8px; margin-top: 8px; border-top: 1px dashed var(--sand-2); font-size: .93rem; }
  .on-dark .tbl td:not(:first-child) { border-color: var(--ink-line); }
  .tbl td:not(:first-child)::before { content: attr(data-label); display: block; font-family: var(--mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ember-deep); margin-bottom: 3px; }
  .on-dark .tbl td:not(:first-child)::before { color: #ff8a68; }

  /* the rest, sized for the thumb */
  .ledger > li { padding: 22px 0 20px; } .ledger > li > b { font-size: 3rem; }
  .faq summary { padding: 18px 0; font-size: 1.02rem; }
  .toggle { display: flex; overflow-x: auto; scrollbar-width: none; max-width: 100%; } .toggle button { white-space: nowrap; padding: .7em 1.1em; }
  .aid { margin-inline: -8px; border-radius: 18px; } .aid-tabs button { padding: 16px 16px; }
  .aid-q { font-size: 1.2rem; } .aid-a { min-height: 7em; }
  .adopt > div { padding: 20px; border-radius: 20px; }
  .foot { padding: 44px 0 28px; } .foot-cols { gap: 26px 18px; } .foot-cols a:not(.pplus) { padding: 9px 0; }
  .zoom button { top: calc(12px + env(safe-area-inset-top)); }
  .cta-band h2 { font-size: 2rem; }
  .contact-card .cta-row { display: grid; }
}
@media (prefers-reduced-motion: reduce) { .nav nav { transition: none; } }

/* ---- the first screen */
body { background: var(--ink); } main { background: var(--ivory); display: block; }
.only-phone, .lead--phone { display: none; }
.hero h1.hw-ready, .phero h1.hw-ready { opacity: 1; transform: none; }
/* the headline's words are always visible; they only rise into place once the script has marked the page with js-anim */
.hw { display: inline-block; opacity: 1; transform: none; }
.js-anim .hw { animation: hw .7s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--w) * 55ms + 120ms); }
h1 .em .hw { background: inherit; -webkit-background-clip: text; background-clip: text; }
@keyframes hw { from { opacity: 0; transform: translateY(.5em); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .js-anim .hw { animation: none; } }
@media (max-width: 760px) {
  .only-phone { display: inline; } .only-wide, .lead--wide { display: none; } .lead--phone { display: block; }
  .tabbar { background: #0a0e18; }
  /* home: the headline, then the building at once, then one line and the actions */
  .hero { padding: 96px 0 0; min-height: calc(100svh - 64px); }
  .hero > .wrap { display: flex; flex-direction: column; min-width: 0; }
  .hero > .wrap > * { min-width: 0; max-width: 100%; }
  .hero .chips { max-width: none; width: calc(100% + 32px); }
  .hero .eyebrow { order: 1; } .hero h1 { order: 2; font-size: clamp(2.5rem, 11.6vw, 3.2rem); line-height: 1.04; margin-top: 14px !important; max-width: none; }
  .hero .hero-shot { order: 3; margin: 6px -8px 0; perspective: none; }
  .hero .lead--phone { order: 4; margin: 20px 0 20px; font-size: 1.04rem; color: #c3cadb; }
  .hero .cta { order: 5; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero .cta .btn--ember { grid-column: 1 / -1; padding: 1.05em; font-size: 1.04rem; box-shadow: 0 16px 34px -14px rgba(240, 86, 46, .8); }
  .hero .cta .btn--ghost { padding: .85em .6em; font-size: .95rem; background: rgba(255, 255, 255, .05); }
  .hero .chips { order: 6; margin: 26px -16px 0; padding: 0 0 22px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
  .chips-track { display: flex; gap: 8px; width: max-content; animation: chips-run 34s linear infinite; }
  .chips-track .chip { flex: none; }
  @keyframes chips-run { to { transform: translateX(calc(-50% - 4px)); } }
  .hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(70% 34% at 50% 46%, rgba(240, 86, 46, .2), transparent 70%); animation: hero-breathe 6s ease-in-out infinite; }
  @keyframes hero-breathe { 50% { opacity: .45; } }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) { .chips-track, .hero::after { animation: none; } }

/* ---- phones, second pass: nothing shows through the bars, and the index of pages is a deck of cards */
@media (max-width: 760px) {
  /* a solid zone behind the status bar and the top bar, and one under the tab bar down past the browser's own bar */
  .nav::before { content: ''; position: fixed; inset-inline: 0; top: 0; height: calc(env(safe-area-inset-top) + 84px); background: linear-gradient(180deg, #0c111d 0, #0c111d 58%, rgba(12, 17, 29, 0) 100%); pointer-events: none; z-index: -1; }
  .tabbar { background: #0a0e18; box-shadow: 0 -12px 24px -8px rgba(8, 11, 19, .7); }
  .tabbar::after { content: ''; position: absolute; inset-inline: 0; top: 100%; height: 200px; background: #0a0e18; }

  /* the index of pages */
  main .ways { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -16px; padding: 4px 16px 14px; border: 0; }
  main .ways::-webkit-scrollbar { display: none; }
  main .ways a, main .on-dark .ways a { display: flex; flex-direction: column; gap: 6px; padding: 0 0 20px; scroll-snap-align: center; border: 1px solid var(--sand); border-radius: 22px; overflow: hidden; background: var(--paper); box-shadow: 0 18px 36px -24px rgba(12, 17, 29, .5); }
  main .on-dark .ways a { background: #131a2b; border-color: rgba(255, 255, 255, .13); box-shadow: 0 24px 44px -24px #000; }
  main .ways a:hover { padding-inline: 0; background: var(--paper); } main .on-dark .ways a:hover { background: #131a2b; }
  main .ways a:active { transform: scale(.985); }
  main .ways a { position: relative; }
  main .ways small, main .ways h3, main .ways p, main .ways em { margin-inline: 18px; grid-column: auto; grid-row: auto; }
  main .ways h3 { font-size: 1.32rem; }
  main .ways p { font-size: .93rem; }
  main .ways em { margin-top: 8px; align-self: flex-start; }

  /* the lifecycle swipes, like the other lists */
  .life { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 62%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -16px; padding: 4px 16px 10px; }
  .life::-webkit-scrollbar { display: none; }
  .life > div { scroll-snap-align: center; text-align: start; justify-items: start; padding: 18px; border: 1px solid var(--sand); border-radius: 18px; background: var(--paper); }
  .pillars > div { padding: 18px 0 4px; } .pillars b { font-size: 1.4rem; }
  .split { gap: 26px; } .split ul { gap: 10px; margin-top: 16px; }
  /* a hint that a row continues */
  main .grid3, main .grid4, main .steps4, .start, main .ways, .life, .shelf { -webkit-mask-image: linear-gradient(90deg, #000 0, #000 92%, rgba(0, 0, 0, .35) 100%); mask-image: linear-gradient(90deg, #000 0, #000 92%, rgba(0, 0, 0, .35) 100%); }
}

/* =====================================================================================================================
   No boxed cards with a coloured edge, no pills with a dot. Labels are set as text on a rule.
   ===================================================================================================================== */
/* the promises under the headline: a line of text, not pills */
.hero .chips, .phero .chips { gap: 0; row-gap: 6px; }
.hero .chip, .phero .chip { background: none; border: 0; border-radius: 0; padding: 0 1.1em 0 0; margin-inline-end: 1.1em; font-family: var(--mono); font-weight: 500; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: #9aa4ba; position: relative; }
.hero .chip i, .phero .chip i { display: none; }
.hero .chip::after, .phero .chip::after { content: ''; position: absolute; inset-inline-end: 0; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; background: var(--ember); transform: rotate(45deg); }
.hero .chip:last-child::after, .phero .chip:last-child::after { display: none; }
.chips-track .chip:last-child::after { display: block; }
.chips-track { gap: 0 !important; }

/* the question in the AI demo: marked by a label, not a bar */
.aid-q { border: 0 !important; padding-inline-start: 0 !important; }
.aid-q::before { content: 'Asked'; display: block; font-family: var(--mono); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: #ff9a7b; margin-bottom: 8px; font-weight: 500; }
.aid-q[lang="ar"]::before { content: 'السؤال'; font-family: 'Cairo', sans-serif; letter-spacing: 0; font-size: .8rem; }
.aid-src span { border-radius: 0; border-width: 0 0 1px; background: none; padding: .2em 0; margin-inline-end: 10px; }
.aid-src em { border-radius: 0; border-width: 0 0 1px; padding: .2em 0; }

/* the architecture: ruled rows */
.arch { gap: 0; border-top: 1px solid rgba(255, 255, 255, .34); }
.arch > div { border: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); border-radius: 0; background: none; padding: 22px 0; grid-template-columns: 14rem 1fr; }
.arch > div::before { display: none; }
.arch .edge { border-bottom-style: dashed; }
.arch li { background: none; border: 0; border-radius: 0; padding: 0 1em 0 0; margin-inline-end: .2em; font-weight: 500; position: relative; }
.arch li:not(:last-child)::after { content: '/'; position: absolute; inset-inline-end: 0; color: var(--c); opacity: .7; }
.arch ul { gap: 6px 0; }

/* the perimeter: steps on a line */
.peri-flow > div { border: 0; border-top: 1px solid rgba(255, 255, 255, .3); border-radius: 0; background: none; padding: 14px 0 0; }
.peri-flow > div.hl { background: none; border-top: 2px solid var(--ember); }
.peri-out span { border: 0; border-radius: 0; padding: 4px 0; }
.peri-out { border-inline-start: 1px dashed rgba(214, 69, 61, .7); }

@media (max-width: 760px) {
  .twinhero { overflow: visible; }
  /* the index of pages on a phone: the words on a rule; no box */
  main .ways a, main .on-dark .ways a { border: 0; border-radius: 0; background: none; box-shadow: none; padding-bottom: 6px; }
  main .ways a:hover, main .on-dark .ways a:hover { background: none; }
  main .ways small, main .ways h3, main .ways p, main .ways em { margin-inline: 0; }
  .life > div { border: 0; border-top: 1px solid var(--text); border-radius: 0; background: none; padding: 16px 0 0; }
  .tbl tr, .on-dark .tbl tr { border: 0; border-top: 1px solid var(--text); border-radius: 0; background: none; padding: 16px 0 4px; }
  .on-dark .tbl tr { border-top-color: rgba(255, 255, 255, .34); }
  .hero .chips { -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
}

/* =====================================================================================================================
   A website on a phone, by the usual standards: one bar at the top that steps aside while reading down and returns on
   the way up, a menu button, and a menu that takes the whole screen. No bar at the bottom.
   ===================================================================================================================== */
.nav { transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.nav.away { transform: translateY(-160%); }
.menu-cta { display: none !important; }
@media (max-width: 1080px) {
  .nav .menu-btn { display: grid; }
}
@media (max-width: 760px) {
  body { padding-bottom: 0; }
  .nav .menu-btn { display: grid; width: 44px; height: 44px; position: relative; z-index: 2; }
  .nav .in { position: relative; z-index: 2; }
  .nav .pplus { position: relative; z-index: 2; }
  /* the menu fills the screen */
  .nav nav { position: fixed; inset: 0; z-index: 1; bottom: auto; height: 100dvh; margin: 0; padding: calc(env(safe-area-inset-top) + 104px) 24px calc(env(safe-area-inset-bottom) + 28px); border: 0; border-radius: 0; background: radial-gradient(120% 60% at 100% 0%, rgba(240, 86, 46, .22), transparent 60%), #0c111d; box-shadow: none; display: flex; flex-direction: column; gap: 0; overflow-y: auto; opacity: 0; transform: none; pointer-events: none; transition: opacity .25s; }
  .nav.open nav { opacity: 1; pointer-events: auto; }
  .nav nav a { font-family: var(--display); font-weight: 700; font-size: 1.9rem; letter-spacing: -.02em; color: #fff; padding: 13px 0; border-radius: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .4s cubic-bezier(.2, .8, .2, 1); }
  .nav.open nav a { opacity: 1; transform: none; }
  .nav.open nav a:nth-child(1) { transition-delay: .04s; } .nav.open nav a:nth-child(2) { transition-delay: .08s; } .nav.open nav a:nth-child(3) { transition-delay: .12s; } .nav.open nav a:nth-child(4) { transition-delay: .16s; }
  .nav.open nav a:nth-child(5) { transition-delay: .2s; } .nav.open nav a:nth-child(6) { transition-delay: .24s; } .nav.open nav a:nth-child(7) { transition-delay: .28s; } .nav.open nav a:nth-child(8) { transition-delay: .32s; } .nav.open nav a:nth-child(9) { transition-delay: .36s; }
  .nav nav a[aria-current="page"] { background: none; color: #ff9a7b; }
  .nav nav a:active { background: none; color: #ff9a7b; }
  .nav nav .menu-cta { display: flex !important; justify-content: center; margin-top: auto; font-family: var(--body); font-size: 1.05rem; font-weight: 600; letter-spacing: 0; padding: 1.05em; border: 0; border-radius: 999px; color: #fff; }
  .nav.open > .in > .btn { visibility: hidden; }
  .menu-open, .menu-open body { overflow: hidden; }
  .menu-open main::after { display: none; }
  .foot { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
}

/* =====================================================================================================================
   Standards pass. Contrast of at least 4.5:1 for text (3:1 for large type), no text under 11px, targets of at least
   44px on touch screens, a visible focus ring everywhere.
   ===================================================================================================================== */
:root { --ember-ink: #b53a17; --ember-btn: #d2431b; }
.btn--ember, .toggle button.on, .cv-play, .filmband i, .nav nav .menu-cta { background: var(--ember-btn); }
.btn--ember:hover { background: #b93a16; }
/* orange as text on a light ground uses its darker ink; on the dark ground it stays as it is */
.ways small, .ways em, .more, .asks em, .start small, .steps4 > div::before, .tour.light li b span, .adopt small, .shelf small, .prompts small, .foot-line, .faq summary::after,
main .grid3 > .card::before, main .grid4 > .card::before, main .ways a::before, .dl i, .tbl td:not(:first-child)::before { color: var(--ember-ink); }
.on-dark .ways small, .on-dark .ways em, .on-dark .more, .on-dark .steps4 > div::before, .on-dark .grid3 > .card::before, .on-dark .grid4 > .card::before,
main .on-dark .ways a::before, .on-dark .tbl td:not(:first-child)::before { color: #ff8a68; }
.tour:not(.light) li b span { color: #ff8a68; }
.tag { color: var(--c, #1f6f6b); }
.tbl .tag[style*="--info"] { --c: #2c62b3 !important; } .tbl .tag[style*="--gold"] { --c: #8a6510 !important; } .tbl .tag[style*="--ember-deep"] { --c: #b53a17 !important; } .tbl .tag:not([style]) { --c: #1f6f6b; }
.on-dark .tbl .tag[style*="--info"] { --c: #8fb8f2 !important; } .on-dark .tbl .tag[style*="--gold"] { --c: #e0b662 !important; } .on-dark .tbl .tag[style*="--ember-deep"] { --c: #ff9a7b !important; } .on-dark .tbl .tag:not([style]) { --c: #7fd6cf; }
.tw-feeds small em, .ob-read em, .aid-foot, .aid-src small, .aid-pipe b, .aid-name, .foot-end, .foot-cols b, .foot-end .ver, .peri-out span, .tw-legend { color: #8d98b0; }
.aid-pipe li.on b { color: #ff9a7b; } .aid-pipe li.ok b { color: #7fd6a8; }

/* no text under 11px: the small capital labels */
.ways small, .start small, .steps4 > div::before, .adopt small, .shelf small, .prompts small, .foot-cols b, .tag, .tbl th, .aid-pipe b, .aid-src small, .aid-act, .aid-foot, .aid-name, .ck small,
.tw-feeds small, .ob-read small, .ob-read em, .peri-in > small, .peri-out em, .arch small, .asks em, .views span, .foot-end .ver, .tw-win-bar em, .dl em, .tw-legend, .aid-q::before, .foot-line,
main .grid3 > .card::before, main .grid4 > .card::before, .tbl td:not(:first-child)::before, .hero .chip, .phero .chip, .tour li b span, .legend9 span { font-size: max(.7rem, 11.2px); }
.aid-pipe span, .aid-bars > div, .aid-src span, .ck-bars span, .ck-kpis span, .ck-dec div span { font-size: max(.78rem, 12px); }

/* focus that can be seen on either ground */
:focus-visible { outline: 2px solid var(--ember-btn); outline-offset: 3px; }
.on-dark :focus-visible, .nav :focus-visible, .foot :focus-visible, .aid :focus-visible, .zoom :focus-visible { outline-color: #ffb199; }

@media (max-width: 760px) {
  /* targets of 44px and more */
  .nav .pplus { min-width: 44px; min-height: 44px; display: grid; place-items: center start; }
  .nav .btn { min-height: 44px; }
  .more { min-height: 44px; margin-top: 14px; }
  .tw-tabs button, .aid-tabs button, .toggle button, .jump a { min-height: 44px; display: inline-flex; align-items: center; }
  .contact-card .mail { min-height: 44px; display: flex; align-items: center; }
  .foot-cols a:not(.pplus) { min-height: 44px; display: flex; align-items: center; padding: 0; }
  .faq summary { min-height: 56px; }
}

/* =====================================================================================================================
   The head of every page carries a drawing made for it, on wide and narrow screens alike.
   ===================================================================================================================== */
.hero-art { margin-top: clamp(28px, 4vw, 52px); }
.hero-art svg { display: block; width: 100%; height: auto; }
/* automation: the line */
.trk-run { stroke-dasharray: 100; stroke-dashoffset: 100; animation: trk-run 10s linear infinite; }
@keyframes trk-run { 0% { stroke-dashoffset: 100; } 96% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; } }
.trk-s circle { animation: trk-st 10s linear infinite; animation-delay: calc(var(--t) * 9.6s - .3s); }
.trk-s text:nth-of-type(2) { animation: trk-tx 10s linear infinite; animation-delay: calc(var(--t) * 9.6s - .3s); }
@keyframes trk-st { 0% { stroke: #f0562e; fill: #f0562e; r: 14; } 6% { stroke: #3fae7a; fill: #0c111d; r: 11; } 100% { stroke: #3fae7a; fill: #0c111d; r: 11; } }
@keyframes trk-tx { 0%, 9% { fill: #ff9a7b; } 12%, 100% { fill: #fff; } }
/* security: the boundary */
.per-box { animation: per-march 30s linear infinite; }
@keyframes per-march { to { stroke-dashoffset: -280; } }
.per-x { transform-box: fill-box; transform-origin: center; animation: per-x 2.4s ease-in-out infinite; animation-delay: calc(var(--k) * .5s); }
@keyframes per-x { 50% { transform: scale(1.35); opacity: .6; } }
/* contact: the dial */
.hero-art--clock { max-width: 300px; margin-top: 30px; }
.clk-arc { stroke-dashoffset: var(--len); animation: clk-arc 2.4s cubic-bezier(.3, .7, .2, 1) .4s forwards; }
@keyframes clk-arc { to { stroke-dashoffset: 0; } }
.clk-hand { transform-origin: 150px 150px; animation: clk-hand 2.4s cubic-bezier(.3, .7, .2, 1) .4s both; }
@keyframes clk-hand { from { transform: rotate(0); } to { transform: rotate(240deg); } }
/* integrations: the map sits in the head */
.phero .orbit { margin-top: clamp(20px, 3vw, 40px); }
/* platform and home: a real screen with callouts (heroes.js outlines each target region and runs a 1px leader from the
   screen's edge through the gutter, never across the screen), and what each callout is, beside it; .ashot-pins only gives heroes.js the box the targets are measured in */
.ashot { margin-top: clamp(28px, 4vw, 52px); display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: center; }
.ashot-shot { position: relative; }
.ashot-pins { position: absolute; inset: 34px 0 0; pointer-events: none; }
.ashot-notes { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .34); }
.ashot-notes li { display: grid; grid-template-columns: 1fr; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); transition: padding .3s; }
.ashot-notes small { font-family: var(--mono); font-size: max(.7rem, 11.2px); letter-spacing: .14em; text-transform: uppercase; color: #8d98b0; transition: color .3s; }
.ashot-notes b { font-family: var(--display); font-size: 1.12rem; color: #dfe4ee; letter-spacing: -.01em; transition: color .3s; }
.ashot-notes li.on small { color: #ff9a7b; } .ashot-notes li.on b { color: #fff; }
@media (max-width: 980px) { .ashot { grid-template-columns: 1fr; } }
/* resources: the three covers */
.fan { position: relative; height: clamp(250px, 34vw, 420px); margin-top: clamp(28px, 4vw, 52px); max-width: 980px; }
.fan .cover { position: absolute; top: 6%; width: 46%; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 40px 70px -30px #000; transition: transform .45s cubic-bezier(.2, .8, .2, 1); background: radial-gradient(120% 90% at 85% 0%, rgba(240, 86, 46, .32), transparent 60%), radial-gradient(90% 80% at 0% 100%, rgba(42, 143, 138, .28), transparent 60%), #111829; color: #fff; text-decoration: none; display: block; }
.fan .cover--book { left: 0; transform: rotate(-7deg); z-index: 1; }
.fan .cover--deck { left: 27%; top: 0; transform: rotate(0deg); z-index: 3; }
.fan .cover--film { left: 54%; transform: rotate(7deg); z-index: 2; }
.fan .cover:hover { transform: translateY(-14px) rotate(0deg) scale(1.03); z-index: 5; }
.fan .cover--film img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 12% 40%; opacity: .5; }

/* footer: the name, large */
.foot-mark { margin: 30px 0 -3%; user-select: none; pointer-events: none; }
.foot-mark span { display: block; width: clamp(180px, 34vw, 460px); aspect-ratio: 1; margin-inline-start: -3%; }
.foot-mark svg { width: 100%; height: 100%; display: block; }
.foot-mark svg path:first-child { fill: rgba(255, 255, 255, .055); }
.foot-mark svg path:last-child { fill: rgba(240, 86, 46, .55); }
.foot { overflow: hidden; }

/* tables as rows that open: only on narrow screens */
.acc { display: none; }

@media (max-width: 760px) {
  /* at the head of a page: the introduction in full (never cut short), and the drawing straight after */
  .phero .lead + .lead, .phero .jump, .phero .chips { display: none; }
  .phero { padding-bottom: 36px; }
  .hero-art, .ashot, .fan { margin-top: 26px; }

  /* no rows cut off at the edge: lists run down the page */
  main .grid3, main .grid4, main .steps4, .start, .life, .shelf, main .ways, .dimstrip, .dimstrip.dim8 { grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; margin-inline: 0; padding-inline: 0; scroll-snap-type: none; -webkit-mask-image: none; mask-image: none; }
  main .grid3, main .grid4 { grid-template-columns: 1fr; gap: 0; padding: 0; }
  main .grid3 > .card, main .grid4 > .card { display: grid; grid-template-columns: 2.6rem 1fr; column-gap: 8px; padding: 16px 0; }
  main .grid3 > .card::before, main .grid4 > .card::before { grid-row: 1 / 3; padding-top: 5px; }
  main .grid3 > .card .ico, main .grid4 > .card .ico { display: none; }
  main .grid3 > .card h3, main .grid4 > .card h3 { margin: 0 0 4px; font-size: 1.12rem; }
  main .grid3 > .card p, main .grid4 > .card p { grid-column: 2; font-size: .93rem; }
  .dimstrip, .dimstrip.dim8 { grid-template-columns: 1fr 1fr; padding: 12px; gap: 8px; }

  /* steps and stages: a line down the side, a mark at each */
  main .steps4, .start, .life { grid-template-columns: 1fr; gap: 0; padding: 0 0 0 6px; position: relative; text-align: start; }
  main .steps4 > div, main .on-dark .steps4 > div, main .start div, .life > div { border: 0; background: none; padding: 0 0 26px 40px; position: relative; text-align: start; justify-items: start; border-inline-start: 1px solid var(--sand-2); margin-inline-start: 10px; }
  main .on-dark .steps4 > div { border-inline-start-color: rgba(255, 255, 255, .2); }
  main .steps4 > div:last-child, main .start div:last-child, .life > div:last-child { border-inline-start-color: transparent; padding-bottom: 6px; }
  main .steps4 > div::before { position: absolute; left: -17px; top: -2px; width: 33px; height: 33px; border-radius: 50%; display: grid; place-items: center; background: var(--ember-btn); color: #fff !important; font-size: .68rem !important; letter-spacing: 0; }
  main .steps4 h3 { margin: 0 0 6px; }
  main .start div::before { content: ''; position: absolute; left: -7px; top: 4px; width: 13px; height: 13px; border-radius: 50%; background: var(--ember-btn); box-shadow: 0 0 0 5px var(--ivory); }
  .start { margin: 30px 0 28px; }
  .life::before { display: none; }
  .life > div i { position: absolute; left: -21px; top: -4px; width: 41px; height: 41px; background: var(--paper); }
  .life > div i svg { width: 18px; height: 18px; }
  .life > div h3 { margin-top: 4px; }
  .cta-band { text-align: start; } .cta-band .wrap > * { margin-inline: 0 !important; } .cta-band h2 { margin-inline: 0; } .cta-row { justify-content: stretch; }

  /* the index of pages: ruled rows, the kicker over the name, the arrow at the end (no picture: design r4 N3) */
  main .ways { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid rgba(255, 255, 255, .3); }
  main :not(.on-dark) > .wrap > .ways { border-top-color: var(--text); }
  main .ways a, main .on-dark .ways a { display: grid; grid-template-columns: minmax(0, 1fr) 18px; column-gap: 14px; row-gap: 2px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  main :not(.on-dark) > .wrap > .ways a { border-bottom-color: var(--sand-2); }
  main .ways small { grid-column: 1; align-self: end; } main .ways h3 { grid-column: 1; align-self: start; font-size: 1.14rem; }
  main .ways p { display: none; }
  main .ways em { grid-column: 2; grid-row: 1 / 3; font-size: 0; margin: 0; } main .ways em::after { font-size: 1.2rem; }
  .shelf { grid-template-columns: 1fr; gap: 18px; }

  /* tables: rows that open */
  .tbl-wrap { display: none; }
  .acc { display: block; border-top: 1px solid var(--text); }
  .on-dark .acc { border-top-color: rgba(255, 255, 255, .34); }
  .acc details { border-bottom: 1px solid var(--sand-2); }
  .on-dark .acc details { border-bottom-color: rgba(255, 255, 255, .14); }
  .acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 56px; padding: 6px 0; }
  .acc summary::-webkit-details-marker { display: none; }
  .acc summary b { font-family: var(--display); font-size: 1.08rem; }
  .acc summary::after { content: '+'; font-family: var(--mono); font-size: 1.3rem; color: var(--ember-ink); transition: transform .25s; flex: none; }
  .on-dark .acc summary::after { color: #ff8a68; } .on-dark .acc summary b { color: #fff; }
  .acc details[open] summary::after { transform: rotate(45deg); }
  .acc dl { margin: 0; padding: 0 0 18px; display: grid; gap: 12px; }
  .acc dt { font-family: var(--mono); font-size: max(.7rem, 11.2px); letter-spacing: .14em; text-transform: uppercase; color: var(--ember-ink); margin-bottom: 3px; }
  .on-dark .acc dt { color: #ff8a68; }
  .acc dd { margin: 0; color: var(--stone); font-size: .96rem; } .on-dark .acc dd { color: #aeb6c8; }
  .acc dl > dt:not(:first-child) { margin-top: 2px; }

  /* the three covers stand in a row that overlaps */
  .fan { height: 230px; }
  .fan .cover { width: 66%; top: 10%; }
  .fan .cover--book { left: -4%; } .fan .cover--deck { left: 17%; top: 0; } .fan .cover--film { left: 38%; top: 10%; }
  .fan .cv-bot b { font-size: .9rem; } .fan .cv-play { width: 46px; height: 46px; margin: -23px 0 0 -23px; } .fan .cv-play svg { width: 18px; height: 18px; }

  /* platform: the notes are read out beneath the screen, one at a time */
  .ashot { gap: 0; }
  .ashot-notes { position: relative; height: 78px; margin-top: 14px; border-top: 1px solid rgba(255, 255, 255, .22); }
  .ashot-notes li { position: absolute; inset: 0; align-content: center; border: 0; padding: 0; opacity: 0; transform: translateY(10px); transition: opacity .12s, transform .12s; }
  .ashot-notes li.on { opacity: 1; transform: none; transition: opacity .45s, transform .45s cubic-bezier(.2, .8, .2, 1); }
  .ashot-notes b { font-size: 1.3rem; }

  .contact-grid { gap: 26px; } .hero-art--clock { max-width: 210px; margin: 22px auto 0; }
  .foot-cols { grid-template-columns: 1fr 1fr; } .foot-cols a:not(.pplus) { min-height: 40px; }
  .foot-mark { margin-top: 20px; }
}
@media (prefers-reduced-motion: reduce) { .trk-run, .trk-s circle, .trk-s text, .per-box, .per-x, .clk-arc, .clk-hand { animation: none !important; } .clk-arc { stroke-dashoffset: 0; } .clk-hand { transform: rotate(240deg); } .trk-run { stroke-dashoffset: 0; } }

/* the last small labels, and tags inside the phone rows */
.tw-scen small, .tw-src, .tw-win-bar em, .tw-pass-card small, .tw-pass-legend, .suite small, .suite em, .suite s, .tw-flow small { font-size: max(.7rem, 11.2px); }
.acc .tag[style*="--info"] { --c: #2c62b3 !important; } .acc .tag[style*="--gold"] { --c: #8a6510 !important; } .acc .tag[style*="--ember-deep"] { --c: #b53a17 !important; } .acc .tag:not([style]) { --c: #1f6f6b; }
.on-dark .acc .tag[style*="--info"] { --c: #8fb8f2 !important; } .on-dark .acc .tag[style*="--gold"] { --c: #e0b662 !important; } .on-dark .acc .tag[style*="--ember-deep"] { --c: #ff9a7b !important; } .on-dark .acc .tag:not([style]) { --c: #7fd6cf; }

/* ---- footer: a closing line and the one action, the links in groups, a quiet last line */
.foot { padding: clamp(48px, 7vw, 96px) 0 28px; }
.foot-top { display: flex; justify-content: space-between; align-items: end; gap: 28px; flex-wrap: wrap; padding-bottom: clamp(32px, 5vw, 64px); }
.foot-say { font-family: var(--display); font-weight: 700; font-size: 1.4rem; line-height: 1.25; letter-spacing: -.01em; color: #fff; margin: 0; }
.foot-say span { background: linear-gradient(100deg, #ff9a7b, #f0562e 60%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.foot-act { display: grid; gap: 14px; justify-items: start; }
.foot-act .btn { padding: 1em 1.6em; font-size: 1rem; }
.foot-mail { color: #c3cadb; text-decoration: none; font-size: 1rem; border-bottom: 1px solid rgba(255, 255, 255, .25); padding-bottom: 2px; }
.foot-mail:hover { color: #fff; border-color: #fff; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding: 30px 0 6px; border-top: 1px solid rgba(255, 255, 255, .16); max-width: 760px; }
.foot-g > button { all: unset; display: block; font-family: var(--mono); font-size: max(.7rem, 11.2px); letter-spacing: .16em; text-transform: uppercase; color: #8d98b0; margin-bottom: 12px; }
.foot-g a { display: block; color: #c3cadb; text-decoration: none; padding: 5px 0; font-size: .95rem; }
.foot-g a:hover { color: #fff; }
.foot-end { display: flex; align-items: center; gap: 14px; margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; color: #8d98b0; justify-content: flex-start; }
.foot-end .ver { margin-inline-start: auto; }
.foot-mark { display: none; }
@media (max-width: 760px) {
  .foot { padding: 52px 0 calc(22px + env(safe-area-inset-bottom)); }
  .foot-top { display: grid; gap: 22px; padding-bottom: 34px; }
  .foot-act { justify-items: stretch; } .foot-act .btn { justify-content: center; } .foot-mail { justify-self: start; min-height: 44px; display: inline-flex; align-items: center; }
  .foot-cols { grid-template-columns: 1fr; gap: 0; padding: 0; max-width: none; }
  .foot-g { border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .foot-g > button { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 56px; margin: 0; cursor: pointer; color: #dfe4ee; font-family: var(--display); font-size: 1.08rem; font-weight: 600; letter-spacing: -.01em; text-transform: none; }
  .foot-g > button::after { content: '+'; font-family: var(--mono); font-size: 1.3rem; color: #ff8a68; transition: transform .25s; }
  .foot-g.open > button::after { transform: rotate(45deg); }
  .foot-g > div { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s cubic-bezier(.2, .8, .2, 1); }
  .foot-g > div > a { overflow: hidden; }
  .foot-g > div { max-height: 0; overflow: hidden; transition: max-height .35s cubic-bezier(.2, .8, .2, 1); display: block; }
  .foot-g.open > div { max-height: 320px; padding-bottom: 10px; }
  .foot-g a { min-height: 44px; display: flex; align-items: center; padding: 0; font-size: 1rem; }
  .foot-end { flex-wrap: wrap; margin-top: 26px; }
}

/* =====================================================================================================================
   Review round 1, design pass. One grammar everywhere: hairline-ruled typographic rows, labels set as text, outlined
   numerals, drawing-style leaders. No rounded boxes, icon tiles or pills.
   ===================================================================================================================== */

/* section labels: a quiet sentence-case line, not a mono capital strip with a dash */
.eyebrow { font-family: var(--body); font-size: .85rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--stone); gap: 0; }
.eyebrow::before { display: none; }
.on-dark .eyebrow, .night .eyebrow, .cta-band.night .eyebrow, .aid .eyebrow, .foot .eyebrow, .contact-card .eyebrow { color: #9aa4ba; }

/* the promises under a headline: three items on one line, divided by hairlines */
.hero .chips, .phero .chips { flex-wrap: nowrap; gap: 0; row-gap: 6px; }
.hero .chip, .phero .chip { font-family: var(--body); font-weight: 500; font-size: .9rem; letter-spacing: 0; text-transform: none; color: #b6bed0; padding: 0 1em; margin: 0; border-inline-start: 1px solid rgba(255, 255, 255, .22); white-space: nowrap; }
.hero .chip:first-child, .phero .chip:first-child { padding-inline-start: 0; border-inline-start: 0; }
.hero .chip::after, .phero .chip::after, .chips-track .chip:last-child::after { display: none !important; }

/* the page index under each head: text links divided by hairlines */
.jump { gap: 8px 0; }
.jump a { border: 0; border-radius: 0; padding: 0 1em; font-family: var(--mono); font-size: .78rem; font-weight: 500; color: #b6bed0; border-inline-start: 1px solid rgba(255, 255, 255, .2); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 6px; transition: color .2s, text-decoration-color .2s; }
.jump a:first-child { padding-inline-start: 0; border-inline-start: 0; }
.jump a:hover { background: none; color: #fff; border-color: rgba(255, 255, 255, .2); text-decoration-color: var(--ember); }

/* switches and scenario choices: a ruled row of text, the chosen one underlined */
.toggle, main section .toggle { display: flex; flex-wrap: wrap; gap: 0 1.5em; background: none !important; border: 0 !important; border-bottom: 1px solid rgba(255, 255, 255, .18) !important; border-radius: 0; padding: 0; }
main section:not(.on-dark) .toggle { border-bottom-color: var(--sand-2) !important; }
.toggle button, .toggle button.on { border-radius: 0; padding: .6em 0; margin-bottom: -1px; background: none !important; font-size: .9rem; color: #9aa4ba; border-bottom: 2px solid transparent; }
.toggle button.on, main .toggle button.on { color: #fff; border-bottom-color: var(--ember); }
main section:not(.on-dark) .toggle button:not(.on) { color: var(--stone); }
main section:not(.on-dark) .toggle button.on { color: var(--text); border-bottom-color: var(--ember-btn); }
.tw-tabs { gap: 0 1.5em; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.tw-tabs button { border: 0; border-radius: 0; padding: .6em 0; margin-bottom: -1px; border-bottom: 2px solid transparent; background: none; font-size: .9rem; color: #9aa4ba; }
.tw-tabs button.on { background: none; border-color: transparent; border-bottom-color: var(--c); color: #fff; }

/* scenario steps: one ruled timeline, a hairline between steps, the active one under a coloured rule */
.tw-src { border: 0; border-radius: 0; padding: 0; color: #c3cadb; }
.tw-flow { gap: 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.tw-flow li, .tw-flow li.done, .tw-flow li.on { opacity: 1; border: 0; border-radius: 0; background: none; transform: none; border-top: 2px solid transparent; margin-top: -1px; padding: 14px 16px 16px; min-height: 8.5em; }
.tw-flow li:first-child { padding-inline-start: 0; }
.tw-flow li + li { border-inline-start: 1px solid rgba(255, 255, 255, .1); }
.tw-flow li small { color: #8d98b0; }
.tw-flow li p { color: #9aa4ba; }
.tw-flow li.done small { color: var(--c); } .tw-flow li.done p { color: #c3cadb; }
.tw-flow li.on { border-top-color: var(--c); } .tw-flow li.on small { color: var(--c); } .tw-flow li.on p { color: #fff; }
.tw-flow li:not(:last-child)::after { display: none; }
@media (max-width: 1080px) { .tw-flow li, .tw-flow li.done, .tw-flow li.on { padding: 12px 0; min-height: 0; } .tw-flow li + li { border-inline-start: 0; border-top-color: rgba(255, 255, 255, .1); } .tw-flow li.on { border-top-color: var(--c); } }

/* the cockpit: figures on rules, not tiles */
.ck-kpis div, .ck-curve, .ck-dec { border: 0; border-top: 1px solid rgba(255, 255, 255, .2); border-radius: 0; background: none; padding-inline: 0; }
.ck-kpis b { color: #fff; }
.ck-dec p { background: none; border: 0; border-top: 2px solid var(--ember); border-radius: 0; padding: 9px 0 0; }

/* tables: ruled, open at the sides; two tables of one kind share their column positions */
.tbl-wrap, .on-dark .tbl-wrap { border: 0; border-radius: 0; background: none; border-top: 1px solid var(--text); }
.on-dark .tbl-wrap { border-top-color: rgba(255, 255, 255, .34); }
.tbl th:first-child, .tbl td:first-child { padding-inline-start: 0; }
.tbl--fixed { table-layout: fixed; }
.tbl--fixed td:first-child { white-space: normal; }
/* how a system connects: plain text, several divided by a slash */
.tag, .tbl .tag, .acc .tag { display: inline; font-family: var(--mono); font-size: .78rem; letter-spacing: 0; text-transform: none; padding: 0; border: 0; border-radius: 0; background: none; color: var(--stone) !important; white-space: nowrap; }
.on-dark .tag, .on-dark .tbl .tag, .on-dark .acc .tag { color: #aeb6c8 !important; }
.tag:not(:last-child)::after { content: '\00a0/'; color: var(--mist); }

/* questions: ruled rows that open */
.faq { max-width: none; gap: 0; border-top: 1px solid var(--text); }
.faq details, .on-dark .faq details { border: 0; border-bottom: 1px solid var(--sand-2); border-radius: 0; background: none; padding: 0; }
.on-dark .faq { border-top-color: rgba(255, 255, 255, .34); } .on-dark .faq details { border-bottom-color: var(--ink-line); }
.faq summary { padding: 20px 0; font-size: 1.12rem; }
.faq summary > * { max-width: 52rem; }
.faq p { max-width: 46rem; padding-bottom: 24px; }

/* downloads: the file type in the margin, the title, an arrow; no icon tile */
.dl { gap: 0; border-top: 1px solid var(--text); }
.dl a { grid-template-columns: 14rem minmax(0, 1fr) auto; gap: 4px 24px; border: 0; border-bottom: 1px solid var(--sand-2); border-radius: 0; background: none; padding: 18px 0; }
.dl a:hover { transform: none; border-color: var(--sand-2); background: rgba(240, 86, 46, .05); }
.dl em { grid-column: 1; grid-row: 1; font-size: .78rem; color: var(--text); }
.dl a > div { grid-column: 2; grid-row: 1; }
.dl a::after { content: '↓'; grid-column: 3; grid-row: 1; font-weight: 600; color: var(--ember-ink); }
@media (max-width: 620px) { .dl a { grid-template-columns: minmax(0, 1fr) auto; } .dl em { grid-column: 1; grid-row: 1; } .dl a > div { grid-column: 1; grid-row: 2; } .dl a::after { grid-column: 2; grid-row: 1 / 3; align-self: center; } }

/* the shelf of materials: covers on a rule, the words beneath */
.shelf article { border: 0; border-radius: 0; background: none; overflow: visible; border-top: 1px solid var(--text); padding-top: 18px; }
.shelf .pic { border-radius: 4px; }
.shelf .body { padding: 18px 0 0; }

/* resources head: the three covers flat, side by side, on one baseline */
@media (min-width: 761px) {
  .fan { height: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); max-width: none; align-items: end; }
  .fan .cover, .fan .cover--book, .fan .cover--deck, .fan .cover--film { position: relative; inset: auto; top: auto; left: auto; width: auto; transform: none; z-index: auto; }
  .fan .cover:hover { transform: translateY(-6px); }
}

/* two ways to adopt: two columns on a rule, each drawn as labels and leaders */
.adopt { gap: 0 clamp(24px, 4vw, 64px); }
.adopt > div { border: 0; border-top: 1px solid var(--text); border-radius: 0; background: none; padding: 20px 0 8px; }
.adopt-art { background: none; border-radius: 0; padding: 20px 0 8px; margin: 10px 0; border-bottom: 1px solid var(--sand-2); }
.adopt-twin { display: grid; grid-template-columns: auto; justify-items: center; gap: 2px; padding: 0 0 4px; border: 0; border-radius: 0; background: none; box-shadow: none; }
.adopt-twin b { color: var(--text); align-self: auto; }
.adopt-twin em { color: var(--ember-ink); align-self: auto; }
.adopt-links i { background-image: repeating-linear-gradient(0deg, var(--stone) 0 5px, transparent 5px 10px); width: 1px; }
.adopt-links.in i { background-image: repeating-linear-gradient(0deg, var(--ember-btn) 0 5px, transparent 5px 10px); }
.adopt-row span, .adopt-row.in span { color: var(--text); font-weight: 600; padding: 10px 4px 0; border: 0; border-radius: 0; background: none; border-top: 1px dashed var(--stone); }
.adopt-row.in span { border-top: 2px solid var(--ember-btn); }
/* side by side, the two options share their rows, so the two diagrams and the two lists start level whatever the text length */
@media (min-width: 901px) { .adopt { grid-template-rows: repeat(5, auto); } .adopt > div { grid-row: span 5; grid-template-rows: subgrid; row-gap: 14px; } .adopt-art { align-content: start; } }

/* what one connected model gives: a ruled list in two columns, no icons */
.outrow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 64px); border-top: 1px solid rgba(255, 255, 255, .34); max-width: 64rem; margin-inline: auto; }
.outrow div { border: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); border-radius: 0; background: none; padding: 16px 0; font-size: 1rem; }
.outrow [data-ic], .outrow svg { display: none; }
@media (max-width: 560px) { .outrow { grid-template-columns: 1fr; } }

/* what flows on: plain labels, dashed leaders to a collector line, and the twin as an outlined circle */
@media (min-width: 981px) {
  .udp { gap: 0; grid-template-columns: minmax(0, 1fr) 64px auto 64px minmax(0, 1fr); }
  .udp .col { gap: 0; }
  .udp .col:first-child { border-inline-end: 1px dashed rgba(255, 255, 255, .35); }
  .udp .col:last-child { border-inline-start: 1px dashed rgba(255, 255, 255, .35); }
  .udp .col:first-child .box::after, .udp .col:last-child .box::before { content: ''; flex: 1; min-width: 24px; border-top: 1px dashed rgba(255, 255, 255, .35); }
  .udp .col:last-child .box::before { flex: 0 0 28px; }
  .udp .flow { width: 100%; height: 1px; }
}
.udp .box { border: 0; border-radius: 0; background: none; padding: 12px 0; gap: 14px; font-size: 1rem; color: #dfe4ee; }
.udp .box [data-ic], .udp .box svg { display: none; }
.udp .core { width: clamp(200px, 20vw, 250px); aspect-ratio: 1; border-radius: 50%; background: none; border: 1px solid rgba(240, 86, 46, .75); box-shadow: none; padding: 22px; align-content: center; gap: 8px; }
.udp .core .udp-mark { display: block; width: 46px; height: 46px; }
.udp .core small { max-width: 13em; }
@media (max-width: 980px) {
  .udp .col { gap: 0; border-top: 1px solid rgba(255, 255, 255, .34); }
  .udp .box { border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .udp .core { margin: 6px auto; width: 240px; height: 240px; padding: 28px; }
  .udp .core b { font-size: 1.12rem; }
  .udp .flow { width: 1px; background: none; border-inline-start: 1px dashed rgba(255, 255, 255, .4); }
}

/* the four built-in parts: ruled rows, the words on one side and the drawing on the other, no card */
.suite { grid-template-columns: 1fr; gap: 0; border-top: 1px solid rgba(255, 255, 255, .34); }
.suite-card { border: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); border-radius: 0; background: none; overflow: visible; grid-template-rows: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 64px); padding: clamp(28px, 4vw, 48px) 0; align-items: center; }
.suite-txt { order: -1; padding: 0; }
.suite-art { padding: 0; min-height: 0; background: none; }
@media (max-width: 900px) { .suite-card { grid-template-columns: 1fr; gap: 22px; } }

/* registers: a ruled index in columns, the dimension in the margin as an outlined numeral */
.index { list-style: none; margin: 0; padding: 0; columns: 4 13rem; column-gap: clamp(20px, 3vw, 44px); border-top: 1px solid var(--text); }
.index li { break-inside: avoid; display: flex; align-items: baseline; gap: .6em; padding: 11px 0; border-bottom: 1px solid var(--sand-2); font-size: .95rem; font-weight: 500; }
.index li em { order: 2; font-style: normal; font-family: var(--display); font-weight: 800; font-size: 1.2rem; line-height: 1; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px var(--text); }
.index li:has(em)::after { content: ''; order: 1; flex: 1; min-width: 1em; border-bottom: 1px dotted var(--stone); }

/* the dashboard's views and the simulator's colours: text, not pills */
.views { display: block; margin-top: 22px; padding-top: 12px; border-top: 1px solid var(--sand-2); font-family: var(--mono); line-height: 1.9; }
.views span { display: inline; padding: 0; border: 0; border-radius: 0; background: none; font-size: .78rem; letter-spacing: 0; text-transform: none; color: var(--stone); }
.views span:not(:last-child)::after { content: '\00a0/ '; color: var(--mist); }
.legend9 { gap: 10px 24px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .16); }
.legend9 span { padding: 0; border: 0; border-radius: 0; background: none; font-family: var(--mono); font-weight: 500; font-size: .76rem; color: #aeb6c8; gap: 8px; }
.legend9 span::before { width: 14px; height: 3px; border-radius: 0; }

/* the 1D to 7D strip of boxes goes: the outlined ledger below says the same */
main .dimstrip.dim8 { display: none; }
main .dimstrip.dim8 + p { margin: 0 0 44px !important; max-width: 52rem; }

/* four-column blocks: no corner icons */
main .grid3 > .card .ico, main .grid4 > .card .ico { display: none; }

/* the index of pages: one column grid for every row, so descriptions and links line up */
@media (min-width: 861px) {
  main .ways a, main .on-dark .ways a { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) 13rem; grid-template-rows: auto 1fr; }
  main .ways p { align-self: start; padding-top: 24px; }
  main .ways em { justify-self: end; }
}

/* three statements: the headings take the same height, so the text below starts on one line */
@media (min-width: 861px) { .vows b { min-height: 2.1em; } }

/* the architecture: items as one run of text, separated by a thin slash */
.arch ul { display: block; }
.arch li { display: inline; padding: 0; margin: 0; white-space: nowrap; }
.arch li:not(:last-child)::after { content: '\2009/\2009 '; position: static; white-space: normal; color: #8d98b0; opacity: .6; }

/* the orbit's names are there from the start; only the travelling dots move */
.tw-node { animation: none; }
.tw-node rect, .tw-nd rect { rx: 3px; ry: 3px; stroke-opacity: 0; fill: #0c111d; }

@media (max-width: 760px) {
  /* home: headline, the one line, the button, then the building, all in the first screen */
  .hero .lead--phone { order: 3; margin: 16px 0 18px; }
  .hero .cta { order: 4; }
  .hero .hero-shot { order: 5; margin-top: 18px; }
  .hero .twinhero svg { max-height: 40svh; }
  .hero .chips { order: 6; overflow: visible; -webkit-mask-image: none; mask-image: none; margin: 22px 0 0; padding: 0 0 22px; width: auto; flex-wrap: wrap; }
  .chips-track { animation: none !important; width: auto; transform: none; }
  .chips-track > [aria-hidden="true"] { display: none; }
  /* on a phone the three promises are a short ruled list */
  .hero .chips, .hero .chips-track { display: grid; gap: 0; }
  .hero .chip, .hero .chip:first-child { font-size: .9rem; padding: 8px 0; border: 0; border-top: 1px solid rgba(255, 255, 255, .14); white-space: normal; }

  /* the film card: its caption sits under the picture, never over the poster's own title */
  .filmband { aspect-ratio: auto; }
  .filmband img { height: auto; aspect-ratio: 16 / 9; }
  .filmband > span { position: static; background: #0c111d; padding: 16px 18px; }

  /* screen tours: the steps run down the page; only the chosen one shows its words */
  .tour ol { grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; scroll-snap-type: none; padding-bottom: 0; gap: 0; border-top: 1px solid rgba(255, 255, 255, .2); }
  .tour li { border-radius: 0; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); padding: 13px 0; background: none !important; min-height: 44px; }
  .tour li p { max-height: 0; margin-top: 0; }
  .tour li.on p { max-height: 14em; margin-top: 6px; }
  .tour.light ol { border-top-color: var(--text); } .tour.light li { border-bottom-color: var(--sand-2); }
  .tour .stagebox { margin-top: 18px; }

  /* strips wrap onto a second row instead of running off the edge */
  .toggle, main section .toggle { overflow: visible; max-width: none; }
  .views { margin-inline: 0; padding-inline: 0; overflow: visible; }
  .aid-tabs { flex-direction: column; overflow: visible; gap: 0; }
  .aid-tabs button { white-space: normal; padding: 6px 16px; border-bottom: 1px solid var(--ink-line); }
  .aid-tabs button.on { border-bottom-color: var(--ink-line); }

  /* architecture: one column, the layer named above its items */
  .arch > div { grid-template-columns: 1fr; gap: 8px; }

  .index { columns: 2; }
  .index li { font-size: .9rem; }
}
/* a ghost button made from a <button> must not take the browser's own light fill */
button.btn--ghost { background: transparent; }
.contact-card #copy-mail { margin: 4px 0 18px; padding: .55em 1.1em; font-size: .88rem; }
/* a capture beside its notes may never widen the page */
.ashot > * { min-width: 0; }

/* =====================================================================================================================
   Review round 2, design pass (Phase C). Three label roles and one numeral, the same on every page:
   (a) section label, .eyebrow: Inter 600 .85rem, sentence case, stone (set above);
   (b) data or callout label: mono capitals, only in drawing annotations, table heads, the AI demo and drawn callouts;
   (c) item kicker: Inter 600 .8rem, sentence case, stone;
   and one numeral for every short ordered list: outlined Sora 800 at 1.6rem, ink on light, #c3cadb on dark, ember when
   it is the active one. The mono "01" stays only as the index of a screen tour.
   ===================================================================================================================== */

/* (c) item kickers */
.ways small, main .ways small, .start small, .adopt small, .shelf small, .prompts small, .tw-flow li small, .ashot-notes small {
  font-family: var(--body); font-weight: 600; font-size: .8rem; letter-spacing: 0; text-transform: none; color: var(--stone);
}
.on-dark .ways small, main .on-dark .ways small, .on-dark .start small, .on-dark .adopt small, .tw-flow li small, .ashot-notes small { color: #9aa4ba; }
.ashot-notes li.on small { color: #ff9a7b; }
.tw-flow li.done small, .tw-flow li.on small { color: var(--c); }
/* (a) on the footer's group heads */
.foot-g > button { font-family: var(--body); font-weight: 600; font-size: .85rem; letter-spacing: 0; text-transform: none; color: #9aa4ba; }
/* the page index and the dashboard's views: plain text, not mono */
.jump a { font-family: var(--body); font-size: .88rem; }
.views { font-family: var(--body); line-height: 1.7; }
.views span { font-size: .9rem; white-space: nowrap; }
.views span:not(:last-child)::after { white-space: normal; }
/* the architecture's layer labels: one quiet colour, not five */
.arch small { color: #8d98b0 !important; }

/* the one numeral */
main .grid3 > .card::before, main .grid4 > .card::before, main .steps4 > div::before, .asks em, .start > div::before {
  font-family: var(--display); font-weight: 800; font-size: 1.6rem !important; line-height: 1; letter-spacing: -.02em; font-style: normal;
  color: transparent !important; -webkit-text-stroke: 1px var(--text); paint-order: stroke fill;
}
main .on-dark .grid3 > .card::before, main .on-dark .grid4 > .card::before, main .on-dark .steps4 > div::before, .on-dark .asks em, .on-dark .start > div::before { -webkit-text-stroke-color: #c3cadb; }
main .grid3 > .card::before, main .grid4 > .card::before { display: block; }
main .grid3 > .card h3, main .grid4 > .card h3 { margin-top: 14px; }
main .steps4 > div::before { display: block; margin-bottom: 4px; }
.asks em { padding-top: 2px; }
.split .asks li { grid-template-columns: 3.2rem 1fr; align-items: start; }
/* the closing steps: the numeral is drawn, the kicker is the word */
.start { counter-reset: st; }
.start > div { counter-increment: st; }
.start > div::before { content: counter(st, decimal-leading-zero); display: block; margin-bottom: 12px; }
/* a material's journey: five ruled columns, no icons; no numeral either, because the hero wave above already numbers the
   same five steps and a page carries one 1-5 sequence (design r3 N4) */
.life { gap: 0 clamp(18px, 2.4vw, 34px); border-top: 1px solid var(--text); }
.life::before, .life > div > i { display: none !important; }
.life > div { text-align: start; justify-items: start; padding: 18px 0 0; gap: 6px; align-content: start; }
.life > div::before { content: none !important; display: none !important; }
/* a list that is not a sequence carries no numeral */
.grid3.plain > .card::before, .grid4.plain > .card::before, main .steps4.plain > div::before { content: none; display: none; }

/* headings set in a smaller tag than they read */
.sec-h .h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }

/* =====================================================================================================================
   Rounded frames, removed where the eye lands first.
   ===================================================================================================================== */
/* the bar: a title-block strip across the top, not a capsule */
.nav { top: 0; }
.nav .in, .nav.scrolled .in { width: 100%; max-width: none; border: 0; border-radius: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); background: #0c111d; box-shadow: none; padding: 10px max(24px, calc((100% - 1240px) / 2)); }
.nav.scrolled .in { box-shadow: 0 16px 30px -24px rgba(8, 11, 19, .9); }
@media (max-width: 1080px) { .nav .in { border-radius: 0; } .nav.open .in { box-shadow: none; } }
/* the AI demo: rules above and below, no box, no glow */
.aid { border: 0; border-block: 1px solid var(--ink-line); border-radius: 0; box-shadow: none; }
/* where it runs: a site boundary on a plan, a dashed line with corner ticks */
.peri-in { border-radius: 0; background-color: transparent; background-image: linear-gradient(#8fc79b, #8fc79b), linear-gradient(#8fc79b, #8fc79b), linear-gradient(#8fc79b, #8fc79b), linear-gradient(#8fc79b, #8fc79b), linear-gradient(#8fc79b, #8fc79b), linear-gradient(#8fc79b, #8fc79b), linear-gradient(#8fc79b, #8fc79b), linear-gradient(#8fc79b, #8fc79b); background-size: 12px 1.5px, 1.5px 12px, 12px 1.5px, 1.5px 12px, 12px 1.5px, 1.5px 12px, 12px 1.5px, 1.5px 12px; background-position: 0 0, 0 0, 100% 0, 100% 0, 0 100%, 0 100%, 100% 100%, 100% 100%; background-repeat: no-repeat; background-origin: border-box; }
.peri-flow > i { margin-inline: 8px; }
.per-box { rx: 0; ry: 0; }
/* contact: no card; the address at display size on a rule, the checklist as a ruled list */
.contact-card { border: 0; border-radius: 0; background: none; padding: 0; }
.contact-card h2 { font-family: var(--body); font-size: .85rem; font-weight: 600; letter-spacing: 0; color: #9aa4ba; }
.contact-card .mail { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.02em; margin: 10px 0 0; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .34); }
.contact-card > p { color: #aeb6c8; }
.contact-card ul { gap: 0; border-top: 1px solid rgba(255, 255, 255, .2); }
.contact-card li { padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
/* the film card: no frame; the caption under the picture at every width, never over the poster's own title */
.filmband { border: 0; border-radius: 0; box-shadow: none; aspect-ratio: auto; background: none; }
.filmband img { height: auto; aspect-ratio: 16 / 9; opacity: 1; }
.filmband:hover img { transform: none; opacity: .92; }
.filmband > span { position: static; background: none; padding: 16px 0 0; color: var(--text); }
.on-dark .filmband > span, .phero .filmband > span { color: #fff; }

/* =====================================================================================================================
   Rhythm: one section padding, no dead band where two sections share a ground, nothing trailing at a section's end.
   ===================================================================================================================== */
section { padding-block: clamp(72px, 9vw, 120px); }
main section .wrap > :last-child, main section .sec-h > :last-child { margin-bottom: 0; }
/* two light sections meet at one hairline with a short space on each side; both full paddings never stack (design r4 N2:
   since r3 a light .band is the page's own cream, so it counts as a light section here) */
main > section:not(.night):not(.phero):not(.hero) + section:not(.night),
main > section.night + section.night:not(.phero) { padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--sand-2); }
main > section:not(.night):not(.phero):not(.hero):has(+ section:not(.night)),
main > section.night:not(.phero):not(.hero):has(+ section.night:not(.phero)) { padding-bottom: clamp(40px, 5vw, 64px); }
main > section.night + section.night:not(.phero) { border-top-color: var(--ink-line); }
.split > .sec-h { margin-bottom: 0; align-self: start; }
.brief-line { margin-top: 32px; }
.brief-line .more, a.more.brief-line { margin-top: 0; }
main .wrap > a.more.brief-line { margin-top: 40px; }
/* the caption of a capture: small, directly under the screen it describes */
.cap, p.cap { font-size: .8rem !important; color: var(--stone); margin-top: 10px !important; }
.on-dark .cap, .on-dark p.cap { color: #8d98b0; }
/* home, "Low risk": the headings are links like the page index, an arrow at the end, underlined only on hover */
.asks--links li { grid-template-columns: 1fr !important; }
.asks--links li > em { display: none; }
.asks--links b a { text-decoration: none; display: inline-flex; gap: .4em; }
.asks--links b a::after { content: '\2192'; color: var(--ember-ink); transition: transform .25s; }
.asks--links b a:hover { text-decoration: underline; text-decoration-color: var(--ember); text-underline-offset: 5px; }
.asks--links b a:hover::after { transform: translateX(4px); }
[dir="rtl"] .asks--links b a::after { content: '\2190'; }

/* integrations, "What one connected model gives you": the heading on the left, the six benefits on the right */
@media (min-width: 981px) {
  #map > .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
  #map .sec-h.center { text-align: start; justify-items: start; margin: 0; position: sticky; top: 100px; }
  #map .outrow { margin: 0; max-width: none; }
}
/* six outcomes, not a sequence: ruled rows, no numeral (design r3 N4) */
#map .outrow { grid-template-columns: 1fr; }
#map .outrow > div { display: block; font-family: var(--display); font-weight: 600; font-size: 1.12rem; color: #fff; padding: 18px 0; }
/* digital twin, "Bring the files you already have": a two-column ruled definition list, no numerals */
#models .grid3 { display: block; border-top: 1px solid var(--text); }
#models .grid3 > .card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 0 clamp(24px, 4vw, 64px); border-top: 0; border-bottom: 1px solid var(--sand-2); padding: 18px 0; counter-increment: none; }
#models .grid3 > .card::before { content: none; display: none; }
#models .grid3 > .card h3 { margin: 0; font-size: 1.12rem; font-weight: 600; }
#models .grid3 > .card p { margin: 0; grid-column: auto; }

/* =====================================================================================================================
   Folds: secondary blocks that stand open on a wide screen and close to one ruled line, with a one-line abstract, on a
   phone (layout.html opens or closes them by width before anything measures).
   ===================================================================================================================== */
details.fold > summary { list-style: none; }
details.fold > summary::-webkit-details-marker { display: none; }
.jump-m { display: none; }
.jump-m > summary { list-style: none; }
.jump-m > summary::-webkit-details-marker { display: none; }
@media (min-width: 761px) {
  details.fold > summary:not(.sec-h) { display: none; }
  details.fold > summary.sec-h { pointer-events: none; cursor: default; }
  details.fold .fold-abs { display: none; }
  .jump-m, .jump-m.only-phone { display: none !important; }
}
@media (max-width: 760px) {
  details.fold > summary:not(.sec-h) { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; align-items: center; min-height: 56px; padding: 12px 0; cursor: pointer; border-top: 1px solid var(--text); border-bottom: 1px solid var(--sand-2); font-size: .95rem; line-height: 1.45; color: var(--stone); }
  details.fold > summary > * { grid-column: 1; }
  details.fold > summary > b { display: block; font-family: var(--display); font-weight: 600; font-size: 1.06rem; color: var(--text); }
  details.fold > summary > span { display: block; font-size: .9rem; color: var(--stone); margin-top: 2px; }
  details.fold > summary:not(.sec-h)::after, details.fold .fold-abs::after { content: '+'; grid-column: 2; grid-row: 1 / span 2; font-family: var(--mono); font-size: 1.3rem; line-height: 1; color: var(--ember-ink); transition: transform .25s; }
  details.fold[open] > summary::after, details.fold[open] .fold-abs::after { transform: rotate(45deg); }
  .on-dark details.fold > summary:not(.sec-h) { border-top-color: rgba(255, 255, 255, .34); border-bottom-color: rgba(255, 255, 255, .14); color: #aeb6c8; }
  .on-dark details.fold > summary > b { color: #fff; }
  .on-dark details.fold > summary > span { color: #aeb6c8; }
  .on-dark details.fold > summary::after, .on-dark details.fold .fold-abs::after { color: #ff8a68; }
  details.fold[open] > summary:not(.sec-h) { margin-bottom: 18px; }
  /* a fold whose summary is the section's own head: the abstract is the ruled line that opens it */
  details.fold > summary.sec-h { cursor: pointer; margin-bottom: 0; }
  details.fold .fold-abs { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; margin-top: 8px; padding: 12px 0; border-block: 1px solid rgba(255, 255, 255, .2); font-size: .95rem; color: #aeb6c8; }
  main section:not(.on-dark) details.fold .fold-abs { border-color: var(--sand-2); color: var(--stone); }
  details.fold[open] .fold-abs { margin-bottom: 18px; }
  /* inside a ledger row: a dashed line, the row already has its rule */
  .ledger details.fold > summary:not(.sec-h) { border-top: 1px dashed var(--sand-2); border-bottom: 0; min-height: 48px; padding: 8px 0; font-size: .92rem; }
  .ledger .sum details.fold > summary:not(.sec-h) { border-top-color: rgba(255, 255, 255, .2); color: #b6bed0; }
  .ledger details.fold[open] > summary:not(.sec-h) { margin-bottom: 4px; }

  /* the index of the page, under its head: one ruled line until it is opened */
  .phero .jump-m, .jump-m.only-phone { display: block; margin-top: 24px; border-block: 1px solid rgba(255, 255, 255, .2); }
  .jump-m > summary { display: flex; justify-content: space-between; align-items: center; min-height: 48px; cursor: pointer; font-weight: 600; font-size: .95rem; color: #dfe4ee; }
  .jump-m > summary::after { content: '+'; font-family: var(--mono); font-size: 1.3rem; color: #ff8a68; transition: transform .25s; }
  .jump-m[open] > summary::after { transform: rotate(45deg); }
  .jump-m > a { display: flex; align-items: center; min-height: 44px; border-top: 1px solid rgba(255, 255, 255, .1); color: #c3cadb; text-decoration: none; font-size: 1rem; }
  .jump-m > a::after { content: '\2193'; margin-inline-start: auto; color: #8d98b0; }

  /* centred heads and links read from the start edge on a narrow screen */
  .sec-h.center, .sec-h.center p { text-align: start; justify-items: start; margin-inline: 0; }
  .center { text-align: start; justify-items: start; }
  .more { display: flex; width: fit-content; max-width: 100%; }
  main .wrap > .more + .more { margin-inline-start: 0 !important; margin-top: 4px; }

  /* the numbered lists on a phone: a numeral column and a rule, no dots or filled circles */
  main .steps4, main .start { padding: 0; }
  main .steps4 > div, main .on-dark .steps4 > div, main .start > div { display: grid; grid-template-columns: 3.2rem 1fr; column-gap: 0; align-content: start; border: 0; border-top: 1px solid var(--text); margin: 0; padding: 16px 0; }
  main .on-dark .steps4 > div, main .on-dark .start > div { border-top-color: rgba(255, 255, 255, .3); }
  main .steps4 > div:last-child, main .start > div:last-child { padding-bottom: 6px; }
  main .steps4 > div::before, main .start > div::before { position: static; grid-row: 1 / span 3; width: auto; height: auto; border-radius: 0; background: none; box-shadow: none; display: block; margin: 0; padding-top: 2px; }
  main .steps4 > div > *, main .start > div > * { grid-column: 2; }
  main .steps4.plain > div { grid-template-columns: 1fr; }
  main .steps4.plain > div > * { grid-column: 1; }
  .start { margin: 26px 0 22px; }
  .life { grid-template-columns: 1fr; border-top: 0; }
  .life > div { display: grid; grid-template-columns: 1fr; border: 0; border-top: 1px solid var(--text); padding: 14px 0; margin: 0; gap: 2px 0; }
  .life > div:last-child { padding-bottom: 6px; }
  .life > div > * { grid-column: 1; }
  /* the closing band on a phone: one button, then the other ways as text links; the steps by title only */
  .cta-band .start p { display: none; }
  .cta-band .start > div { padding: 12px 0; }
  .cta-band .cta-row { display: grid; gap: 0; }
  .cta-band .cta-row .btn--ember { margin-bottom: 10px; }
  .cta-band .cta-row .btn--line { justify-content: flex-start; background: none; border: 0; border-radius: 0; border-top: 1px solid var(--sand-2); padding: 0; min-height: 48px; font-size: 1rem; color: var(--ember-ink); }
  .cta-band .cta-row .btn--line::after { content: '\2192'; margin-inline-start: auto; }
  /* contact: the two actions on one row, both full height */
  .contact-card .contact-acts { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px; }
  .contact-card .contact-acts .btn { justify-content: center; min-height: 48px; margin: 0; padding: .8em .6em; font-size: .95rem; }
  /* twin "Bring the files": one column */
  #models .grid3 > .card { grid-template-columns: 1fr; gap: 4px; }
  #map .outrow > div { font-size: 1.04rem; padding: 14px 0; }
  /* frames */
  .aid { margin-inline: -16px; border-radius: 0; }
  .nav { top: 0; }
  .nav::before { display: none; }
  .nav .in, .nav.scrolled .in { width: 100%; border-radius: 0; padding: calc(6px + env(safe-area-inset-top)) 12px 6px 16px; }
  /* the architecture's long items wrap instead of running off the edge */
  .arch li { white-space: normal; }
}
#copy-mail { min-height: 44px; }
.contact-card .contact-acts { align-items: center; gap: 10px; }
.contact-card .contact-acts .btn, .contact-card .contact-acts #copy-mail { min-height: 48px; margin: 0; padding: .7em 1.3em; font-size: .95rem; }
.contact-card .contact-acts + p { margin-top: 18px; }
/* six statements in two rows of three: each row ruled, no rule after the third */
@media (min-width: 861px) {
  .vows li:nth-child(3n) { border-inline-end: 0; padding-inline-end: 0; }
  .vows li:nth-child(3n + 1) { padding-inline-start: 0; }
  .vows li:nth-child(n + 4) { border-top: 1px solid var(--sand-2); margin-top: 22px; }
}
@media (max-width: 760px) {
  main .grid3 > .card, main .grid4 > .card { grid-template-columns: 3.2rem 1fr; }
  main .grid3 > .card h3, main .grid4 > .card h3 { margin: 0 0 4px; }
  main .grid3.plain > .card, main .grid4.plain > .card { grid-template-columns: 1fr; }
  main .grid3.plain > .card > *, main .grid4.plain > .card > * { grid-column: 1; }
  /* a tour's caption travels with its screen into the tapped step */
  .tour .tour-steps li > .stagebox .cap { padding-inline: 32px 16px; }
  /* the closing steps keep their numeral on a phone (an older rule drew a dot there) */
  main .start > div::before { content: counter(st, decimal-leading-zero); }
  /* the read-out under a capture with callouts: room for a three-line note */
  .ashot-notes { height: 124px; }
  .ashot-notes b { font-size: 1.12rem; line-height: 1.3; }
  .ashot-notes li { grid-template-columns: 1fr; }
  /* the ledger on a phone: the numeral beside the name, not above it; the seven-step meter stays on wide screens */
  .ledger > li { grid-template-columns: 4.6rem minmax(0, 1fr); column-gap: 10px; row-gap: 6px; }
  .ledger > li > b { font-size: 2.5rem; grid-row: 1 / span 2; }
  .ledger > li > .lg-t, .ledger > li > details, .ledger > li > ul { grid-column: 2; }
  .ledger .lg-t i { display: none; }
  .ledger .lg-t p { margin-top: 4px; }
  /* accordion rows of the tables: one thumb high */
  .acc summary { min-height: 50px; }
  /* secondary buttons in a row of actions read as text links on a phone; one filled button per row */
  main .cta-row:not(.contact-acts) .btn--line { justify-content: flex-start; background: none; border: 0; border-radius: 0; border-top: 1px solid var(--sand-2); padding: 0; min-height: 48px; font-size: 1rem; color: var(--ember-ink); }
  main .cta-row:not(.contact-acts) .btn--line::after { content: '\2192'; margin-inline-start: auto; }
  main .cta-row:not(.contact-acts) { display: grid; gap: 0; }
  .contact-card .contact-acts #copy-mail { margin: 0; padding: .8em .6em; font-size: .95rem; }
  .contact-acts + p { margin-top: 18px; }
}
/* the footer's group heads are section labels on a wide screen; on a phone they are the rows that open */
@media (max-width: 760px) {
  .foot-g > button { font-family: var(--display); font-size: 1.08rem; font-weight: 600; letter-spacing: -.01em; color: #dfe4ee; }
}
.views span { font-family: inherit; }
.sv-rev em, .sv-rev.on em { font-size: 20px; }

/* =====================================================================================================================
   Review round 3 (package C).
   ===================================================================================================================== */
/* design N11: one cream per page, alternating only with ink. A light .band no longer lays a second, paler cream
   against the page's own (ai, security, resources and contact still met at a hairline); its rule stays as the divider */
main > section.band { background: transparent; }

/* design N2: a table's tags wrap inside their cell instead of being cut off at its edge */
.tbl .tag { white-space: normal; }

/* design N3: what was a four-up grid topped by ember rules is a ruled two-column list: the term in Sora at the start,
   its sentence beside it, 1px rules, no ember, no numeral */
main .steps4, main .on-dark .steps4 { display: block; gap: 0; padding: 0; margin-inline: 0; overflow: visible; border-top: 1px solid var(--text); -webkit-mask-image: none; mask-image: none; }
main .on-dark .steps4 { border-top-color: rgba(255, 255, 255, .34); }
main .steps4 > div, main .on-dark .steps4 > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 0 clamp(24px, 4vw, 64px); align-items: baseline; background: none; border: 0; border-bottom: 1px solid var(--sand-2); border-radius: 0; margin: 0; padding: 18px 0; }
main .on-dark .steps4 > div { border-bottom-color: var(--ink-line); }
main .steps4 > div > * { grid-column: auto; }
main .steps4 > div::before { content: none !important; display: none !important; }
main .steps4 h3 { font-family: var(--display); font-weight: 600; font-size: 1.12rem; margin: 0; }
main .steps4 p { margin: 0; }
@media (max-width: 760px) {
  main .steps4 > div, main .on-dark .steps4 > div, main .steps4 > div:last-child { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 14px 0; }
  main .steps4 > div > * { grid-column: 1; }
}

/* design N5: the closing heading set in at most two lines, balanced, never one word left alone */
.cta-band h2.cta-h { font-size: clamp(2.4rem, 4.4vw, 3.6rem); max-width: 30ch; text-wrap: balance; line-height: 1.08; }
@media (max-width: 760px) { .cta-band h2.cta-h { font-size: 2rem; max-width: none; } }
/* a two-sentence heading breaks between its sentences when each sentence is its own span (markup: partials/cta.html) */
.cta-band h2.cta-h > span { display: inline-block; }
.cta-band p.muted { text-wrap: balance; margin-bottom: 28px; }

/* ux N6.2: a briefing line that wraps keeps its arrow after its last word, not floating at the far edge */
.brief-line .more, a.more.brief-line, main .wrap > a.more.brief-line { display: inline-block; width: auto; max-width: 100%; text-wrap: pretty; }
.brief-line .more::after, a.more.brief-line::after { display: inline-block; margin-inline-start: .45em; }
@media (max-width: 760px) {
  .brief-line .more, a.more.brief-line, main .wrap > a.more.brief-line { display: inline-block; min-height: 44px; padding-block: 10px; line-height: 1.5; }
}

/* ux N6.3: the resources buttons are a thumb high */
.shelf .acts .btn, .acts .btn { min-height: 44px; }
/* ux (r3 table): the small lines on the dark covers read at 4.5:1 or better, not 3.1:1 */
.shelf [class^="cv-"] small, .fan [class^="cv-"] small { color: #aeb6c8; }

/* ux N5: the AI verbs on a phone sit above their headings, never over them */
@media (max-width: 760px) {
  .ledger.verbs > li { grid-template-columns: minmax(0, 1fr); row-gap: 6px; }
  .ledger.verbs > li > b { grid-row: auto; font-size: 2.2rem; line-height: 1; -webkit-text-stroke-width: 2px; }
  .ledger.verbs > li > * { grid-column: 1; }
}

/* home, contact: a ruled list of statements that are not links, not numbered (the alias of .asks--links for markup
   that has no link in it; the markup can move to it) */
.asks--plain li { grid-template-columns: 1fr !important; }
.asks--plain li > em { display: none; }

/* =====================================================================================================================
   Review round 4 (package C).
   ===================================================================================================================== */
/* design N8: the Σ row of the ledger is a row like the others, not a filled box: the cream ground, the ember Σ, and a
   2px ink rule over it to say "the sum of the above" */
.ledger .sum { background: none; color: var(--text); padding-inline: 0; margin-top: 0; border-top: 2px solid var(--text); }
.ledger .sum > b { color: var(--paper); -webkit-text-stroke-color: var(--ember); }
.ledger .sum:hover > b { color: var(--ember); }
.ledger .sum .lg-t p { color: var(--stone); }
.ledger .sum ul li { border-color: var(--sand-2); }
@media (max-width: 760px) { .ledger .sum details.fold > summary:not(.sec-h) { border-top-color: var(--sand-2); color: var(--stone); } }

/* design N3: the twin's connected site is a ruled two-column list (the name, then its sentence), like "Bring the files"
   further down the same page, not a four-by-two grid */
#site .grid4 { display: block; border-top: 1px solid rgba(255, 255, 255, .34); }
#site .grid4 > .card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 4px clamp(24px, 4vw, 64px); align-items: baseline; border: 0; border-bottom: 1px solid var(--ink-line); border-radius: 0; background: none; padding: 18px 0; counter-increment: none; }
#site .grid4 > .card::before { content: none; display: none; }
#site .grid4 > .card h3 { margin: 0; font-size: 1.12rem; font-weight: 600; }
#site .grid4 > .card p { margin: 0; grid-column: auto; }
@media (max-width: 760px) { #site .grid4 > .card { grid-template-columns: minmax(0, 1fr); padding: 14px 0; } #site .grid4 > .card > * { grid-column: 1; } }

/* ux N-H: inside a fold, a table reads as plain labelled rows on a phone, not as a second set of folds: the table itself
   is shown (each cell carries its column's name, nav.js) and the accordion built from it is not */
@media (max-width: 760px) {
  .tbl-wrap[data-rows] { display: block; border-top: 0; }
  .tbl-wrap[data-rows] + .acc { display: none; }
  .tbl-wrap[data-rows] .tbl tbody { gap: 0; }
  .tbl-wrap[data-rows] .tbl tr { padding: 14px 0 12px; }
  .tbl-wrap[data-rows] .tbl td:not(:first-child) { border-top: 0; padding-top: 0; margin-top: 6px; }
}

/* design r4 N3, A1: the cta band's three steps stay hidden on a phone whatever the lists' phone grid says */
@media (max-width: 760px) { .start.only-wide, main .start.only-wide { display: none; } }

/* phone rhythm: the 56px section padding the phone pass set (the r2 "one section padding" rule had lifted it back to
   72px), and the 88px gap between a section's stories at the same measure (ux N-B / N-F: home and twin at ≤ 11 screens) */
@media (max-width: 760px) {
  section { padding-block: 56px; }
  main section .split[style*="margin-top:88px"] { margin-top: 56px !important; }
}

/* A2: the read-out under a capture with callouts is as tall as its tallest note, not a fixed 124px: the notes share one
   grid cell and the one being read shows (a reader who asked for less motion gets heroes.js's plain list instead) */
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  .ashot-notes { display: grid; height: auto; }
  .ashot-notes li { position: relative; inset: auto; grid-area: 1 / 1; padding: 12px 0 4px; }
}

/* ---- round 5 */
/* a sequence of screens: its Pause control, under the frame (ux r5 U7); the frame and the control share the place
   the frame had in its layout */
.seqbox { min-width: 0; }
.seqbox .seq-pp { margin-top: 12px; }
main section:not(.on-dark) .seqbox .tour-pp { border-color: var(--sand-2); color: var(--stone); }
main section:not(.on-dark) .seqbox .tour-pp:hover { color: var(--text); }
main section:not(.on-dark) .seqbox .tour-pp[aria-pressed="true"] { color: var(--text); }
@media (max-width: 760px) {
  /* Ask P+: the chosen question carries a rule above it, not a bar down its side (design r5 F5) */
  .aid-tabs button.on { box-shadow: inset 0 2px 0 var(--ember); }
  /* the scenario names stay on one row that slides sideways and fades at its end, instead of wrapping into three
     ragged rows (design r5 F9); twin.js brings the chosen name to the start of the row */
  .tw-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 0 1.4em; padding-inline-end: 44px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); }
  [dir="rtl"] .tw-tabs { -webkit-mask-image: linear-gradient(270deg, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(270deg, #000 calc(100% - 44px), transparent); }
  .tw-tabs::-webkit-scrollbar { display: none; }
  .tw-tabs button { flex: none; white-space: nowrap; }
  /* the notes under a capture with callouts are all listed on a phone (heroes.js sets each one in the flow). The
     older rule that stacked them in one grid cell, to show one at a time, still applied whenever the reader had not
     asked for less motion, and printed the notes over each other: they now always stand one under another */
  .ashot-notes { display: block; height: auto; }
  .ashot-notes li { grid-area: auto; }
  /* home: the note under the building starts on the page's 16px gutter (the drawing is set 8px into the margin) */
  .hero .hero-shot .tw-feeds { margin-inline: 8px -8px; }
  /* a tour's caption travels with its screen into the tapped step, on the page's own 16px gutter */
  .tour .tour-steps li > .stagebox .cap { padding-inline: 16px; }
}

/* =====================================================================================================================
   Phone first screen (760px and narrower; wider screens are untouched: every rule below sits in a max-width query)
   The head of every page (.hero on home, .phero elsewhere) is exactly one screen tall, the fixed bar included, and is
   one composition: the label, the headline, a short lead, the page's own button where it has one, and ONE picture that
   takes the height that is left and fits whole inside it. Nothing is cut at the bottom edge.
   - What is secondary (the index of the page, a drawing's legend, a capture's notes, home's three promises, the Ask P+
     demo, the rest of the contact card) is moved by heroes.js into .fs-below, a strip straight under that screen.
   - .fs-x: the part of a lead a phone does not show; .fs-s: the part only a short phone (740px and lower) drops.
   - Gaps and type step with the screen's height (svh), so a tall phone is not empty and a short one is not crowded.
   - One solid ember button on a screen: the bar's button is an outline while a button of the page is in view (nav.js).
   ===================================================================================================================== */
.fs-below { display: none; }
@media (max-width: 760px) {
  /* ---- the screen: one viewport, the bar's 57px included in the top padding */
  main > .hero, main > .phero { --fs-bar: calc(57px + env(safe-area-inset-top)); --fs-gap: 14px; --fs-gap: clamp(10px, 2.1svh, 22px);
    box-sizing: border-box; height: 100vh; height: 100svh; min-height: 0; display: flex; flex-direction: column;
    padding: calc(var(--fs-bar) + 22px) 0 calc(16px + env(safe-area-inset-bottom)) !important;
    padding: calc(var(--fs-bar) + clamp(16px, 3.2svh, 34px)) 0 calc(clamp(14px, 2.2svh, 22px) + env(safe-area-inset-bottom)) !important;
    background: radial-gradient(820px 420px at 92% -6%, rgba(240, 86, 46, .12), transparent 62%), var(--ink); }
  main > .hero > .wrap, main > .phero > .wrap { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
  :where(main > .hero > .wrap, main > .phero > .wrap) > * { flex: none; min-width: 0; }
  .hero::after { background: radial-gradient(70% 30% at 50% 72%, rgba(240, 86, 46, .12), transparent 70%); }

  /* ---- the words: upper part, one measure of space between them */
  .hero h1 { font-size: clamp(2.3rem, 11.4vw, 3.1rem); line-height: 1.04; margin-top: var(--fs-gap) !important; }
  .phero h1 { font-size: clamp(1.9rem, 8.5vw, 2.35rem); line-height: 1.08; margin-top: var(--fs-gap); max-width: none; }
  .hero .lead--phone, .phero .lead { font-size: 1rem; line-height: 1.5; margin: var(--fs-gap) 0 0; }
  /* a page without a label above its headline starts on the headline */
  .hero .wrap > h1:first-child, .phero .wrap > h1:first-child, .phero .contact-grid > div:first-child > h1:first-child { margin-top: 0 !important; }
  .fs-x { display: none; }

  /* ---- the page's own button: a button, not a banner; the film is a link beside it */
  .hero .cta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin-top: calc(var(--fs-gap) + 2px); }
  .hero .cta .btn--ember { flex: none; min-height: 48px; padding: 0 1.35em; font-size: 1rem; box-shadow: none; }
  .hero .cta .btn--ghost { flex: none; min-height: 48px; padding: 0; border: 0; border-radius: 0; background: none; font-size: .9rem; gap: .45em; color: #dfe4ee; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .34); text-underline-offset: 6px; }

  /* ---- the picture: the height that is left, anchored in the lower part */
  .hero .hero-shot, .phero .hero-shot, .phero .hero-art, .phero .orbit, .phero .ashot, .phero .fs-ask { flex: 1 1 0; min-height: 0; margin: calc(var(--fs-gap) + 4px) 0 0 !important; position: relative; }
  /* home and the twin: the building scales to its place and stands on its one-feed note */
  .hero-shot { display: flex; flex-direction: column; perspective: none; }
  .hero-shot .twinhero { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; padding: 0; border: 0; overflow: visible; }
  .hero .hero-shot .twinhero > svg, .hero-shot .twinhero > svg { flex: 1 1 0; min-height: 0; width: 100%; height: auto; max-height: none; }
  .hero .hero-shot .tw-feeds, .hero-shot .tw-feeds { flex: none; height: 70px; margin: 8px 0 0; }
  .hero-shot .tw-feeds li { align-content: start; gap: 0; padding-top: 9px; }
  .hero-shot .tw-feeds b { font-size: 1.12rem; line-height: 1.3; }
  .hero-shot .tw-feeds span { font-size: .84rem; line-height: 1.3; }
  /* automation and security: heroes.js lays the drawing out to the height of its place */
  .phero .hero-art > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
  /* integrations: the dial scales to its place, over the name it is reading */
  .phero .orbit { display: flex; flex-direction: column; }
  .phero .orbit .ob-phone { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; }
  .phero .orbit .ob-phone > svg { flex: 1 1 0; min-height: 0; width: 100%; max-width: none; height: auto; margin: 0; }
  .phero .orbit .ob-read { flex: none; height: 60px; min-height: 0; margin: 8px 0 0; padding-top: 10px; align-content: start; overflow: hidden; }
  .phero .orbit .ob-read small { grid-area: 1 / 1; } .phero .orbit .ob-read em { grid-area: 1 / 2; }
  .phero .orbit .ob-read b { grid-area: 2 / 1 / 3 / 3; font-size: 1.2rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  /* platform: the capture whole, never wider than its place is tall enough for (44px bar, 16:10 screen) */
  .phero .ashot { display: flex; flex-direction: column; justify-content: center; gap: 0; container-type: size; }
  .phero .ashot-shot { flex: none; align-self: center; width: 100%; width: min(100%, (100cqh - 46px) * 1.6); }
  /* Ask P+: the first question, answered on the model */
  .phero .fs-ask.only-phone { display: flex; flex-direction: column; }
  .fs-ask p { flex: none; margin: 8px 0 0; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .22); font-family: var(--display); font-weight: 600; font-size: 1.1rem; line-height: 1.3; letter-spacing: -.01em; color: #fff; }
  .fs-ask p small { display: block; margin-bottom: 4px; font-family: var(--mono); font-weight: 500; font-size: max(.7rem, 11.2px); letter-spacing: .16em; text-transform: uppercase; color: #ff9a7b; }
  .fs-ask svg { flex: 1 1 0; min-height: 0; width: 100%; height: auto; }
  /* resources: the film, in the middle of what is left */
  .phero .res-still.only-wide { display: block; margin: auto 0 !important; max-width: none !important; }
  .phero .res-still i { background: none; border: 1px solid rgba(255, 255, 255, .5); }
  /* contact: the address and its two actions stand on the bottom of the screen */
  .phero > .contact-grid { gap: 0; }
  .phero .contact-grid .chips { display: grid; gap: 0; margin: calc(var(--fs-gap) + 6px) 0 0; padding: 0; overflow: visible; border-bottom: 1px solid rgba(255, 255, 255, .16); }
  .phero .contact-grid .chip, .phero .contact-grid .chip:first-child { display: block; padding: 10px 0; border: 0; border-top: 1px solid rgba(255, 255, 255, .16); font-size: .95rem; color: #c3cadb; white-space: normal; }
  .phero .contact-card { margin: auto 0 0; }
  .phero .contact-card .mail { font-size: clamp(1.5rem, 7.6vw, 2.1rem); margin: 4px 0 0; padding-bottom: 0; border-bottom: 0; min-height: 0; }
  .phero .contact-card .contact-acts { display: flex !important; flex-wrap: wrap; align-items: center; gap: 4px 22px; margin-top: var(--fs-gap) !important; }
  .phero .contact-card .contact-acts .btn--ember { flex: none; min-height: 48px; padding: 0 1.7em; font-size: 1rem; box-shadow: none; }
  .phero .contact-card .contact-acts #copy-mail { flex: none; min-height: 48px; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; font-size: .95rem; color: #dfe4ee; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .34); text-underline-offset: 6px; }

  /* ---- straight under the first screen: what heroes.js moved out of it */
  .fs-below { display: block; background: var(--ink); padding: 0 0 40px; }
  .fs-below > .wrap > :first-child, .fs-below .jump-m { margin-top: 0; }
  .fs-below .chips { display: grid; gap: 0; margin: 0; padding: 0; width: auto; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .fs-below .chip { display: block; padding: 11px 0; border: 0; border-top: 1px solid rgba(255, 255, 255, .16); border-radius: 0; background: none; font-size: .95rem; font-weight: 500; color: #b6bed0; white-space: normal; }
  .fs-below .chip i { display: none; }
  .fs-below .ashot-notes { margin-top: 0; border-top: 0; }
  .fs-below .tw-legend, .fs-below .tw-key { justify-content: flex-start; margin-top: 18px; }
  .fs-below .aid { margin-top: 0; }
  .fs-below.on-dark > .contact-card > p { margin-top: 0; }

  /* the resource shelf stacks three primary actions within one screen: on a phone they are outlines */
  .shelf .btn--ember, .shelf .btn--ember:hover { background: none; border-color: var(--text); color: var(--text); }

  /* ---- one solid ember button on a screen: the bar's button is an outline while a button of the page is in view.
     Without scripts it stays an outline on the pages whose head has its own button. */
  html:not(.js-cta) body:has(main > section:first-of-type .btn--ember) .nav .in > .btn--ember,
  html.js-cta:not(.cta-clear) .nav .in > .btn--ember, .nav.open .in > .btn--ember { background: transparent; border-color: rgba(255, 255, 255, .36); color: #fff; box-shadow: none; }
}
/* a short phone drops the second sentence of a lead before anything is pushed off the screen; a taller one has room
   for the headline's second half on its own line */
@media (max-width: 760px) and (max-height: 740px) { .fs-s, .phero .contact-grid .chips { display: none; } .hero h1 { font-size: clamp(2.1rem, 10vw, 2.6rem); } }
@media (max-width: 760px) and (min-height: 741px) { .phero h1 .em { display: block; } }
/* a screen too low for one composition (a phone on its side): the head runs as long as it needs */
@media (max-width: 760px) and (max-height: 520px) {
  main > .hero, main > .phero { height: auto; min-height: 100vh; min-height: 100svh; }
  .hero .hero-shot, .phero .hero-shot, .phero .hero-art, .phero .orbit, .phero .ashot, .phero .fs-ask { flex: none; height: 300px; }
}

/* ---- wide first screen: on a desktop the head of home, digital twin and resources is one composition, as on a
   phone: the words on the left, the page's own drawing or video beside them, both in the first screen. The pages
   whose drawing reads across (platform, integrations, automation, security, Ask P+) keep it under the words.
   The ::before takes the first row so the words sit between two flexible rows, centred against the drawing. */
@media (min-width: 1100px) {
  main > .hero--side { padding: 128px 0 clamp(48px, 5vw, 72px); }
  main > .hero--side > .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-rows: 1fr repeat(6, auto) 1fr;
    column-gap: clamp(32px, 4vw, 64px); min-height: min(calc(100svh - 128px - 40px), 760px); }
  main > .hero--side > .wrap::before { content: ''; grid-column: 1; grid-row: 1; }
  main > .hero--side > .wrap > * { grid-column: 1; }
  main > .hero--side > .wrap > :is(.hero-shot, .filmband, .orbit, .hero-art, .ashot, .aid-side, .contact-card) { grid-column: 2; grid-row: 1 / -1; align-self: center; margin: 0 !important; max-width: none !important; }
  .hero.hero--side h1 { font-size: clamp(2.8rem, 4.5vw, 4.4rem); max-width: 13ch; }
  .phero.hero--side h1 { font-size: clamp(2.3rem, 3.6vw, 3.5rem); }
  .hero--side .lead { max-width: 34rem; }
  /* the page index wraps in the narrower column, so it drops the rules between links that would start a line */
  .hero--side .jump { flex-wrap: wrap; gap: 10px 22px; }
  .hero--side .jump a, .hero--side .jump a:first-child { padding: 0; border: 0; }
  .hero--side .chips { flex-wrap: wrap; }
  .hero--side .chip { font-size: .84rem; padding-inline: .8em; }
  .hero--side .hero-shot { perspective: none; }
  /* automation and security: the drawing is laid out down (heroes.js), to the height of its place */
  .hero--side .hero-art { position: relative; justify-self: center; width: 100%; max-width: 500px; height: min(calc(100svh - 230px), 600px); min-height: 440px; }
  .hero--side .hero-art > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
  /* integrations: the map is the dial a phone shows, its points named one at a time, with its legend and key under it */
  .hero--side .orbit { justify-self: center; width: 100%; max-width: 520px; }
  .hero--side .orbit .ob-phone svg { max-width: none; max-height: min(calc(100svh - 330px), 520px); }
  .hero--side .orbit .tw-legend { margin-top: 14px; }
  /* the drawing is half as wide as when it ran across, so its labels are drawn larger to read at the same size */
  .hero--side .twinhero .tw-chip text:nth-of-type(1) { font-size: 15px; }
  .hero--side .twinhero .tw-chip text:nth-of-type(2) { font-size: 27px; }
  .hero--side .twinhero .tw-chip text:nth-of-type(3) { font-size: 17.5px; }
}
/* a desktop too narrow for the tags on one line: they wrap, without the rules between them */
@media (min-width: 1100px) and (max-width: 1359px) { .hero--side .chips { gap: 6px 18px; } .hero--side .chip, .hero--side .chip:first-child { border: 0; padding: 0; } }

/* Ask P+: the demo and the line under it stand together; only the desktop split gives the pair a box of its own */
.aid-side { display: contents; }
@media (min-width: 1100px) {
  /* the platform page: the screen fills its column, and its notes are read under it one at a time, each with its
     outline lit on the screen (heroes.js turns them) */
  .hero--side .ashot { display: block; }
  .hero--side .ashot-notes { position: relative; height: 64px; margin-top: 16px; border-top: 1px solid rgba(255, 255, 255, .22); }
  .hero--side .ashot-notes li { position: absolute; inset: 0; align-content: center; gap: 2px; border: 0; padding: 0; opacity: 0; transform: translateY(8px); transition: opacity .12s, transform .12s; cursor: default; }
  .hero--side .ashot-notes li.on { opacity: 1; transform: none; transition: opacity .45s, transform .45s cubic-bezier(.2, .8, .2, 1); }
  .hero--side .ashot-notes b { font-size: 1.2rem; }
  /* Ask P+: the demo is the page's subject, so it takes the wider column; the question and answer stay beside the model */
  main > .aihero.hero--side > .wrap { grid-template-columns: minmax(0, .66fr) minmax(0, 1.34fr); }
  .aihero.hero--side h1 { font-size: clamp(2.1rem, 2.9vw, 2.9rem); max-width: none !important; }
  .aihero.hero--side .lead { font-size: 1.05rem; }
  .hero--side .aid-side { display: block; }
  .hero--side .aid { margin-top: 0; }
  .hero--side .aid-body { min-height: 0; }
  .hero--side .aid-chat { gap: 16px; padding: 22px 24px; }
  .hero--side .aid-q { font-size: clamp(1.15rem, 1.55vw, 1.4rem); min-height: 0; }
  .hero--side .aid-pipe li { padding: 9px 10px 4px 0; } .hero--side .aid-pipe span { font-size: .74rem; }
  .hero--side .aid-tabs button { padding: 13px 16px; }
  .hero--side .aid-bars { gap: 7px; } .hero--side .aid-bars > div { grid-template-columns: 8.5em 1fr 3.5em; }
  .hero--side #aidemo .aid-a { min-height: 0; }
  /* contact: the card stands beside the words */
  .hero--side.phero .contact-card { align-self: center; }
}
@media (min-width: 1100px) and (prefers-reduced-motion: reduce) {
  .hero--side .ashot-notes { height: auto; }
  .hero--side .ashot-notes li { position: static; opacity: 1; transform: none; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
}

/* the film's poster is dark like the page round it, so on dark it carries a fine light frame and a faint lift to show
   where the picture ends */
.on-dark .filmband img, .phero .filmband img { box-sizing: border-box; border: 1px solid rgba(255, 255, 255, .18); border-radius: 14px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .4), 0 30px 80px -40px rgba(240, 86, 46, .35); }
.on-dark .filmband:hover img, .phero .filmband:hover img { border-color: rgba(255, 154, 123, .55); }

/* the company behind P+: named in every footer and under the contact card */
/* the bar that ends every page: whose it is on the left, the company's lockup on the right */
.foot-end .foot-c { white-space: nowrap; }
.foot-end .ver { margin-inline-start: 0; padding-inline-start: 14px; border-inline-start: 1px solid rgba(255, 255, 255, .14); }
.foot-end a.foot-co { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 12px; text-decoration: none; opacity: .9; transition: opacity .2s; }
.foot-end a.foot-co:hover { opacity: 1; }
.foot-end a.foot-co small { font-family: var(--mono); font-size: max(.66rem, 10.5px); letter-spacing: .16em; text-transform: uppercase; color: #8d98b0; white-space: nowrap; }
.foot-end a.foot-co img { display: block; height: 24px; width: auto; }
@media (max-width: 760px) {
  /* on a phone the bar is two rows on one left edge: one line with the P+ mark, the copyright and the version, then
     under it the company's lockup, its label over its logo */
  .foot-end { row-gap: 20px; column-gap: 10px; flex-wrap: wrap; align-items: center; }
  .foot-end a.foot-co { order: 1; flex: 1 0 100%; margin: 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); flex-direction: column; align-items: flex-start; gap: 12px; }
  .foot-end a.foot-co img { height: 30px; }
  .foot-end .pplus span { width: 24px !important; height: 24px !important; }
  .foot-end .foot-c { flex: 1 1 0; min-width: 0; white-space: nowrap; font-size: .74rem; }
  .foot-end .ver { border: 0; padding: 0; }
}
.contact-card .contact-co { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); }
.contact-card .contact-co a { display: inline-flex; align-items: center; gap: 16px; flex-wrap: wrap; text-decoration: none; }
.contact-card .contact-co small { font-family: var(--mono); font-size: max(.68rem, 11px); letter-spacing: .16em; text-transform: uppercase; color: #8d98b0; white-space: nowrap; }
.contact-card .contact-co img { display: block; height: 34px; width: auto; }
.contact-card .contact-co p { margin: 10px 0 0; font-size: .9rem; color: #aeb6c8; }

/* the materials cards stand side by side: the words above take what room they need and the buttons of every card
   start on one line and end on one line, however many each card has */
@media (min-width: 761px) {
  .shelf .body { grid-template-rows: auto 1fr auto; align-content: stretch; }
  .shelf .acts { align-content: flex-start; min-height: 98px; }
}
