/* Angira website: shared shell, typography, components and responsive layout.
   Tokens follow FP-1.3 / DC-0.3. Original local typography as on the published page:
   Roobert for display, navigation and labels; ABC Oracle for body copy. */

/* Figtree (display) and DM Sans (body), SIL Open Font License 1.1, self-hosted as
   variable Latin-subset WOFF2. They replace Roobert and ABC Oracle with the same
   x-height and width, so sizes and letter-spacing are unchanged. */
@font-face {
  font-family:Figtree;
  src:url('/fonts/figtree-latin-wght-normal.woff2') format('woff2');
  font-weight:300 900;
  font-style:normal;
  font-display:swap
}
@font-face {
  font-family:Figtree;
  src:url('/fonts/figtree-latin-wght-italic.woff2') format('woff2');
  font-weight:300 900;
  font-style:italic;
  font-display:swap
}
@font-face {
  font-family:'DM Sans';
  src:url('/fonts/dm-sans-latin-wght-normal.woff2') format('woff2');
  font-weight:100 1000;
  font-style:normal;
  font-display:swap
}
@font-face {
  font-family:'DM Sans';
  src:url('/fonts/dm-sans-latin-wght-italic.woff2') format('woff2');
  font-weight:100 1000;
  font-style:italic;
  font-display:swap
}
:root {
  color-scheme:dark;
  --canvas:#000;
  --raised:#111;
  --ink:#fff;
  --muted:#c7c7c7;
  --line:#313131;
  --hairline:rgba(255,255,255,.12);
  --orange:#ff5800;
  --paper:#f7f5ef;
  --paper-ink:#202020;
  --paper-muted:#5c5953;
  --paper-line:#cfc8b9;
  --width:1200px;
  --gutter:48px;
  --font-display:Figtree,Arial,sans-serif;
  --font-body:'DM Sans',Figtree,Arial,sans-serif;
  --font-paper:Georgia,'Times New Roman',serif
}

/* Base ------------------------------------------------------------------- */
* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:32px
}
body {
  margin:0;
  background:var(--canvas);
  color:var(--ink);
  font:400 18px/28px var(--font-body);
  letter-spacing:-.01em;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale
}
.page-business {
  isolation:isolate
}
button,a {
  -webkit-tap-highlight-color:transparent
}
a {
  color:inherit;
  text-underline-offset:5px
}
a:hover {
  color:#ff965c
}
button {
  font:inherit
}
img,svg {
  max-width:100%
}
h1,h2,h3,p,ol,ul,figure {
  margin:0
}
h1,h2,h3 {
  font-family:var(--font-display);
  font-weight:500;
  letter-spacing:-.035em;
  text-wrap:balance
}
h1 {
  font-size:clamp(38px,5.2vw,64px);
  line-height:1.04;
  letter-spacing:-.04em
}
h2 {
  font-size:36px;
  line-height:42px
}
h3 {
  font-size:28px;
  line-height:34px
}
p {
  color:var(--muted)
}
p+p {
  margin-top:16px
}
em {
  font-weight:500;
  color:var(--orange)
}
a,button,summary {
  touch-action:manipulation
}
:focus-visible {
  outline:3px solid #ffad7f;
  outline-offset:3px
}
main:focus,[data-reminded-heading]:focus {
  outline:none
}
.skip-link {
  position:fixed;
  left:16px;
  top:-100px;
  z-index:100;
  padding:12px 20px;
  border-radius:8px;
  background:var(--paper);
  color:#000;
  font-family:var(--font-display)
}
.skip-link:focus {
  top:16px
}
.icon {
  display:block;
  flex-shrink:0;
  width:24px;
  height:24px
}

/* Layout ----------------------------------------------------------------- */
.container,.header-inner,.footer-inner,.footer-bottom {
  max-width:calc(var(--width) + var(--gutter)*2);
  padding-inline:var(--gutter);
  margin-inline:auto
}
.page-section {
  position:relative;
  padding-block:96px;
  border-top:1px solid #242424
}
.page-section h2 {
  margin-bottom:24px
}
.section-intro {
  max-width:880px;
  margin-bottom:40px
}
.section-intro h2 {
  margin-bottom:16px
}
.section-intro>p {
  max-width:760px
}
.section-intro--center {
  margin-inline:auto;
  text-align:center
}
.section-intro--center>p {
  margin-inline:auto
}
.split {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:48px
}
.split>* {
  min-width:0
}
.split h3 {
  margin-bottom:12px
}
.page-section.text-row {
  padding-block:64px
}
.text-row-grid {
  display:grid;
  grid-template-columns:minmax(0,4fr) minmax(0,8fr);
  gap:24px 48px;
  align-items:start
}
.text-row-grid>h2 {
  margin:0
}
.text-row-body>p {
  max-width:720px
}
.text-row-pair {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:32px
}
.text-row-pair>p+p {
  margin-top:0;
  padding-left:32px;
  border-left:1px solid var(--line)
}

/* Header and navigation ---------------------------------------------------- */
.site-header {
  position:relative;
  z-index:20;
  background:#000;
  border-bottom:1px solid #252525;
  font-family:var(--font-display);
  letter-spacing:0
}
.header-inner {
  min-height:96px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px
}
.brand {
  display:inline-flex;
  align-items:center;
  gap:12px;
  flex-shrink:0;
  min-height:44px;
  color:#fff;
  font:500 20px/1 var(--font-display);
  letter-spacing:-.02em;
  text-decoration:none
}
.brand img {
  display:block;
  width:42px;
  height:48px
}
.site-nav {
  display:flex;
  align-items:center;
  gap:40px
}
.site-nav a,.nav-link {
  position:relative;
  padding-block:16px;
  font-size:16px;
  line-height:24px;
  text-decoration:none;
  white-space:nowrap
}
.site-nav a[aria-current]::after,.nav-link[aria-current]::after {
  content:'';
  position:absolute;
  left:0;
  right:0;
  bottom:6px;
  height:2px;
  background:var(--orange)
}
.menu-toggle {
  display:none
}
.breadcrumb {
  max-width:calc(var(--width) + var(--gutter)*2);
  margin:0 auto;
  padding:32px var(--gutter) 0;
  font:400 14px/20px var(--font-display);
  letter-spacing:.01em
}
.breadcrumb ol {
  display:flex;
  flex-wrap:wrap;
  gap:4px 12px;
  padding:0;
  list-style:none
}
.breadcrumb li+li::before {
  content:'/';
  content:'/' / '';
  margin-right:12px;
  color:#8a8a8a
}
.breadcrumb a {
  display:inline-block;
  padding-block:12px;
  margin-block:-12px;
  color:var(--muted);
  text-decoration:none
}
.breadcrumb a:hover {
  color:#fff;
  text-decoration:underline
}
.breadcrumb [aria-current=page] {
  color:#fff
}

/* Hero band and its decorative light ---------------------------------------
   The orange arc belongs to the hero band and is clipped by it. Its rim stays
   clear of the text column at every width (FP-1.3 Light). */
.hero-band {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  overflow:clip
}
.hero-light {
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none
}
.hero-light::before,.hero-split .hero-copy::after {
  content:'';
  position:absolute;
  border:1px solid #ffb480;
  border-radius:50%;
  background:radial-gradient(circle at 78% 50%,#000 55%,#1a0802 74%,#5a1d02 91%,#a33d06 100%);
  box-shadow:-12px 0 28px 8px #ff5800,-30px 0 90px 18px #ff580055;
  pointer-events:none
}
.hero-light::before {
  width:1080px;
  height:1080px;
  left:calc(min(50% + 600px, 100% - var(--gutter)) - 300px);
  bottom:-440px
}
.hero-band--split .hero-light {
  display:none
}
.hero-split .hero-copy {
  position:relative
}
.hero-split .hero-copy::after {
  z-index:-1;
  width:1040px;
  height:1040px;
  left:-740px;
  top:calc(100% + 20px);
  background:radial-gradient(circle at 30% 72%,#000 55%,#1a0802 74%,#5a1d02 91%,#a33d06 100%);
  box-shadow:12px -10px 28px 8px #ff5800,30px -24px 90px 18px #ff580055
}

/* Hero --------------------------------------------------------------------- */
.hero {
  position:relative;
  padding-top:64px;
  padding-bottom:80px
}
.breadcrumb+.hero {
  padding-top:40px
}
.hero .eyebrow {
  margin-bottom:24px
}
.hero-title {
  max-width:780px;
  margin-bottom:24px
}
.route-content-auditor .hero-title em {
  display:block
}
.hero-support {
  max-width:720px;
  color:#dedede
}
.hero .cta-group {
  margin-top:32px
}
.eyebrow {
  font:500 14px/20px var(--font-display);
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--orange)
}
.hero-split {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:48px;
  align-items:start;
  padding-top:48px;
  padding-bottom:88px
}
.hero-split .hero-copy {
  min-width:0;
  padding-top:40px
}
.hero-split .hero-title {
  max-width:none
}
.hero-split .hero-title em {
  display:block
}
.hero-split .hero-support {
  max-width:540px
}
.hero-artifact {
  min-width:0
}

/* Calls to action ------------------------------------------------------------ */
.cta-group {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:16px 28px
}
.cta-primary {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:12px 24px;
  border:1px solid var(--orange);
  border-radius:12px;
  background:var(--orange);
  color:#000;
  font:500 16px/24px var(--font-display);
  letter-spacing:0;
  text-decoration:none;
  transition:background .15s,border-color .15s
}
.cta-primary:hover {
  background:#ff8a42;
  border-color:#ff8a42;
  color:#000
}
.link-secondary {
  display:inline-flex;
  align-items:center;
  gap:12px;
  min-height:44px;
  color:#fff;
  font:400 16px/24px var(--font-display);
  letter-spacing:0;
  text-decoration:underline;
  text-decoration-color:var(--orange);
  text-decoration-thickness:1px
}
.link-secondary::after {
  content:'→';
  content:'→' / '';
  font-size:22px;
  color:var(--orange);
  text-decoration:none
}
.link-secondary:hover {
  color:#ff965c
}
.cta-pair {
  container:paired-actions / inline-size
}
.cta-pair .cta-pair-actions {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 16px
}
.cta-pair .cta-pair-actions > a {
  width:auto;
  min-height:50px;
  max-width:100%;
  line-height:1.5;
  overflow-wrap:anywhere
}
.cta-pair .cta-pair-actions > a:not(.cta-primary) {
  font:400 16px/1.5 var(--font-display)
}
@container paired-actions (max-width:24rem) {
  .cta-pair-actions {
    flex-direction:column;
    align-items:stretch
  }
  .cta-pair .cta-pair-actions > a {
    width:100%;
    justify-content:flex-start;
    padding:12px 16px;
    text-align:start
  }
  .cta-pair-actions > a:not(.cta-primary) {
    border:1px solid transparent;
    border-radius:12px
  }
}

.cta-group .cta-note {
  flex-basis:100%;
  margin:-4px 0 0;
  color:#aaa;
  font:400 14px/20px var(--font-display);
  letter-spacing:.01em
}

/* Paper artifacts ----------------------------------------------------------- */
.paper-panel {
  position:relative;
  padding:32px;
  border-radius:20px;
  background:linear-gradient(120deg,#faf8f2,#ede9df);
  color:var(--paper-ink);
  box-shadow:0 3px 0 #b5ac96,0 12px 36px #0003;
  letter-spacing:0;
  color-scheme:light
}
.paper-panel p,.paper-panel h3 {
  color:var(--paper-ink)
}
.artifact-caption {
  color:#aaa;
  font:400 14px/20px var(--font-display);
  letter-spacing:.01em
}
.paper-panel .artifact-caption {
  margin-bottom:20px;
  padding-bottom:14px;
  border-bottom:1px solid #c3bdb0;
  color:#55524c;
  font-style:italic
}
.paper-label {
  margin-bottom:8px;
  color:#bdbdbd;
  font:400 14px/20px var(--font-display);
  letter-spacing:.02em
}
.paper-panel .paper-label {
  color:var(--paper-muted)
}
.paper-label+p {
  margin-top:0
}
.paper-text {
  font:400 24px/32px var(--font-paper);
  letter-spacing:-.01em
}
.paper-text+.paper-label {
  margin-top:28px
}
.sheet-row {
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px 16px;
  border-radius:6px;
  font:400 20px/28px var(--font-paper);
  letter-spacing:0
}
.sheet-row strong {
  font-size:24px;
  font-weight:700;
  white-space:nowrap
}
.sheet-row .icon {
  width:20px;
  height:20px
}
.paper-panel .is-flagged {
  background:#f2dcd2;
  color:#7b291b
}
.paper-panel .is-suggested {
  background:#e0e7d6;
  color:#1f4626
}

/* Publisher hero review sheet (short source/concern/correction/decision) */
.review-sheet {
  margin:0;
  padding:32px 32px 28px
}
.review-sheet::before {
  content:'';
  position:absolute;
  inset:10px -10px -10px 10px;
  z-index:-1;
  border-radius:20px;
  background:#c9c0aa;
  transform:rotate(1.2deg)
}
.paper-panel .sheet-question {
  margin-bottom:20px;
  padding-bottom:20px;
  border-bottom:1px solid #d6d0c3;
  font:400 24px/32px var(--font-paper);
  letter-spacing:-.01em
}
.sheet-concern {
  margin-block:16px;
  padding:2px 0 2px 16px;
  border-left:3px solid #b5432a
}
.sheet-concern .paper-label {
  margin-bottom:2px
}
.paper-panel .sheet-concern p+p {
  margin-top:0;
  font:400 20px/28px var(--font-paper)
}
.paper-panel .sheet-decision {
  margin-top:20px;
  padding-top:16px;
  border-top:1px solid #c3bdb0;
  color:#3d3a35;
  font:italic 400 16px/24px var(--font-display)
}

/* Publisher task previews and company columns ------------------------------ */
.offer-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:32px
}
.offer-card {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:28px;
  align-items:end;
  padding:36px 32px 0;
  border:1px solid var(--line);
  border-radius:12px;
  background:linear-gradient(125deg,#151515,#080808)
}
.offer-copy {
  align-self:stretch;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  min-width:0;
  padding-bottom:32px
}
.offer-copy .eyebrow {
  margin-bottom:20px
}
.offer-copy h3 {
  margin-bottom:16px
}
.offer-copy h3 a {
  text-decoration:none
}
.offer-copy h3 a:hover {
  color:inherit;
  text-decoration:underline;
  text-decoration-color:var(--orange);
  text-decoration-thickness:2px
}
.offer-copy>p {
  margin-bottom:28px
}
.offer-copy .link-secondary {
  margin-top:auto
}
.offer-excerpt {
  min-width:0;
  margin:0 0 -24px;
  padding:20px 20px 44px;
  border-radius:12px 12px 0 0;
  box-shadow:0 -2px 24px #0005
}
.offer-excerpt::before {
  content:'';
  position:absolute;
  inset:-6px 10px 20px -8px;
  z-index:-1;
  border-radius:12px;
  background:#cbc3ae;
  transform:rotate(-2deg)
}
.offer-excerpt .artifact-caption {
  margin-bottom:16px;
  padding-bottom:12px
}
.offer-excerpt .sheet-row {
  align-items:flex-start;
  padding:10px 14px
}
.offer-excerpt .sheet-row+.sheet-row {
  margin-top:12px
}
.offer-excerpt .sheet-row>span {
  display:flex;
  flex-direction:column;
  font:400 16px/24px var(--font-display);
  letter-spacing:.01em
}
.offer-excerpt .sheet-row strong {
  font:700 24px/32px var(--font-paper);
  letter-spacing:-.01em
}
.paper-panel .excerpt-sequence {
  font:400 20px/28px var(--font-paper);
  text-align:center
}
.offer-excerpt .magnet-pair {
  gap:12px;
  margin:20px 0 16px
}
.offer-excerpt .magnet span {
  padding:8px 0;
  font-size:18px;
  line-height:24px
}
.paper-panel.offer-excerpt>.paper-label {
  margin:0;
  font-size:16px;
  line-height:24px;
  text-align:center
}

/* Engineering bridge band (hub and company) ---------------------------------- */
.band-raised {
  isolation:isolate;
  overflow:hidden;
  overflow:clip;
  border-top-color:#2a2a2a;
  background:linear-gradient(180deg,#0c0c0c,#121212 45%,#0d0d0d)
}
.bridge {
  display:grid;
  grid-template-columns:minmax(0,7fr) minmax(0,5fr);
  gap:64px;
  align-items:center
}
.bridge-copy {
  min-width:0
}
.bridge-copy h2 {
  max-width:620px;
  margin-bottom:20px
}
.bridge-copy>p {
  max-width:600px
}
.bridge-copy .cta-group {
  margin-top:32px
}
.system-map {
  min-width:0;
  margin:0
}
.system-nodes {
  display:grid;
  gap:32px;
  margin:0;
  padding:0;
  list-style:none
}
.system-node {
  position:relative;
  display:flex;
  align-items:flex-start;
  gap:16px;
  padding:18px 20px;
  border:1px solid #555;
  border-radius:12px;
  background:#0a0a0a
}
.system-node.is-angira {
  border-color:var(--orange);
  box-shadow:0 0 28px #ff58001a
}
.system-node+.system-node::before {
  content:'';
  position:absolute;
  left:33px;
  top:-33px;
  height:32px;
  border-left:1px solid #7a7a7a
}
.system-node+.system-node::after {
  content:'';
  position:absolute;
  left:30px;
  top:-20px;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--orange)
}
.system-node .icon {
  width:28px;
  height:28px;
  color:#fff
}
.node-mark {
  display:block;
  flex-shrink:0;
  width:28px;
  height:32px
}
.node-text {
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0
}
.node-title {
  color:#fff;
  font:500 18px/26px var(--font-display);
  letter-spacing:-.01em
}
.node-detail {
  color:var(--muted);
  font-size:16px;
  line-height:24px
}
.system-map figcaption {
  margin-top:24px;
  color:#a9a9a9;
  font-size:16px;
  line-height:25px
}

/* Closing request ------------------------------------------------------------ */
.closing-request {
  max-width:880px;
  margin:0 auto;
  text-align:center
}
.closing-request h2 {
  margin-bottom:16px;
  font-size:44px;
  line-height:48px
}
.closing-request>p {
  max-width:640px;
  margin-inline:auto
}
.closing-request .cta-group {
  justify-content:center;
  margin-top:32px
}
.closing-request .closing-student {
  margin-top:32px;
  font-size:16px;
  line-height:25px
}

/* Content Auditor: worked book spread --------------------------------------- */
.worked-head {
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  justify-content:space-between;
  gap:8px 32px;
  margin-bottom:32px
}
.page-section .worked-head h2 {
  margin:0
}
.book-spread {
  position:relative;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  filter:drop-shadow(0 20px 28px #0008)
}
.book-spread::after {
  content:'';
  position:absolute;
  top:0;
  bottom:0;
  left:50%;
  width:2px;
  margin-left:-1px;
  background:linear-gradient(#9b9381,#857d6c);
  box-shadow:0 0 16px 6px #4a3c1e26
}
.book-page {
  min-width:0;
  min-height:440px;
  margin:0;
  padding:48px 56px 56px;
  box-shadow:none
}
.book-page:first-child {
  border-radius:18px 3px 3px 18px;
  background:linear-gradient(270deg,#ddd5c3 0,#efebe0 6%,#f8f6f0 30%,#f3f0e7);
  box-shadow:-3px 5px 0 -1px #d4ccbb,-6px 9px 0 -2px #b9b09c,-9px 13px 0 -3px #9f9682
}
.book-page:last-child {
  border-radius:3px 18px 18px 3px;
  background:linear-gradient(90deg,#ddd5c3 0,#efebe0 6%,#f8f6f0 30%,#f3f0e7);
  box-shadow:3px 5px 0 -1px #d4ccbb,6px 9px 0 -2px #b9b09c,9px 13px 0 -3px #9f9682
}
.page-label {
  margin-bottom:28px;
  padding-bottom:14px;
  border-bottom:1px solid var(--paper-line);
  color:var(--paper-muted);
  font:500 14px/20px var(--font-display);
  letter-spacing:.16em;
  text-transform:uppercase
}
.paper-panel .answer-value {
  display:inline-flex;
  align-items:center;
  gap:12px;
  margin-top:4px;
  padding:6px 16px;
  border-radius:6px;
  font:400 36px/44px var(--font-paper);
  letter-spacing:-.01em
}
.answer-value .icon {
  width:26px;
  height:26px
}
.math-row {
  margin:20px 0 24px;
  padding-left:24px;
  font:400 20px/28px var(--font-paper)
}
.math-row li+li {
  margin-top:8px
}

/* Content Auditor: decision and recipients ---------------------------------- */
.handoff {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:56px;
  align-items:start
}
.instruction-sheet {
  min-width:0;
  margin:0;
  border-top-right-radius:0
}
.instruction-sheet::after {
  content:'';
  position:absolute;
  top:0;
  right:0;
  width:36px;
  height:36px;
  border-bottom-left-radius:6px;
  background:linear-gradient(225deg,var(--canvas) 50%,#d9d1bf 50%);
  box-shadow:-2px 2px 4px #0002
}
.instruction-sheet figcaption h3 {
  margin-bottom:20px;
  padding:0 40px 14px 0;
  border-bottom:1px solid var(--paper-line);
  color:var(--paper-muted);
  font:500 14px/20px var(--font-display);
  letter-spacing:.16em;
  text-transform:uppercase
}
.instruction-sheet .paper-label {
  margin-bottom:12px;
  font-style:italic
}
.recipients {
  align-self:stretch;
  min-width:0;
  padding-left:56px;
  border-left:1px solid var(--line)
}
.page-section .recipients h3 {
  margin-bottom:24px
}
.recipient-list {
  display:grid;
  gap:24px;
  margin:0;
  padding:0;
  list-style:none
}
.recipient-list li {
  display:grid;
  grid-template-columns:32px minmax(0,1fr);
  gap:16px;
  align-items:start
}
.recipient-list .icon {
  width:32px;
  height:32px;
  color:var(--orange)
}
.recipient-list strong {
  color:#fff;
  font-family:var(--font-display);
  font-weight:500
}
.scope-split {
  margin-top:8px
}
.activity-strip {
  display:grid;
  grid-template-columns:48px minmax(0,1fr);
  gap:24px 32px;
  align-items:start
}
.strip-icon {
  width:48px;
  height:48px;
  color:var(--orange)
}
.page-section .activity-strip h2 {
  margin-bottom:12px;
  font-size:28px;
  line-height:34px
}
.activity-strip p {
  max-width:760px
}
.activity-strip .link-secondary {
  margin-top:16px
}

/* FAQ ------------------------------------------------------------------------ */
.faq-item {
  padding-block:4px;
  border-bottom:1px solid var(--line)
}
.faq-item:first-of-type {
  border-top:1px solid var(--line)
}
.faq-item summary {
  position:relative;
  padding:14px 40px 14px 0;
  color:#fff;
  font:400 18px/26px var(--font-display);
  letter-spacing:-.01em;
  list-style:none;
  cursor:pointer
}
.faq-item summary::-webkit-details-marker {
  display:none
}
.faq-item summary::after {
  content:'+';
  content:'+' / '';
  position:absolute;
  top:14px;
  right:4px;
  color:var(--orange);
  font:400 24px/26px var(--font-display)
}
.faq-item[open] summary::after {
  content:'−';
  content:'−' / ''
}
.faq-item p {
  max-width:900px;
  padding-bottom:16px;
  font-size:16px;
  line-height:24px
}

/* Design Studio: lesson sequence -------------------------------------------- */
.magnet-pair {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:24px;
  min-width:0;
  margin-block:32px
}
.magnet {
  display:flex;
  flex:1;
  max-width:180px;
  min-width:0;
  overflow:hidden;
  border:1px solid #0004;
  border-radius:5px;
  box-shadow:1px 6px 9px #0004;
  transform:perspective(350px) rotateX(4deg)
}
.magnet span {
  width:50%;
  padding:12px 0;
  color:#fff;
  font:500 24px/32px var(--font-display);
  text-align:center;
  box-shadow:inset 0 2px 3px #ffffff5a,inset 0 -5px 4px #0003
}
.pole-n {
  background:linear-gradient(135deg,#dd4936,#ae241e)
}
.pole-s {
  background:linear-gradient(135deg,#337da2,#1d4b70)
}
.lesson-sheet {
  margin:0;
  padding:48px
}
.lesson-caption {
  margin-bottom:12px;
  color:var(--paper-muted);
  font:500 14px/20px var(--font-display);
  letter-spacing:.16em;
  text-transform:uppercase
}
.paper-panel .lesson-question {
  margin-bottom:32px;
  color:#171717;
  font:400 44px/48px var(--font-paper);
  letter-spacing:-.03em
}
.lesson-steps {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
  margin:0;
  padding:0;
  list-style:none;
  counter-reset:lesson
}
.lesson-step {
  position:relative;
  min-width:0;
  padding:24px;
  border:1px solid #d6d0c3;
  border-radius:10px;
  background:#fbfaf5;
  counter-increment:lesson
}
.paper-panel .lesson-step h3 {
  margin-bottom:16px;
  font:400 24px/30px var(--font-paper);
  letter-spacing:-.01em
}
.lesson-step h3::before {
  content:counter(lesson) ' · ';
  content:counter(lesson) ' · ' / '';
  color:#a63600
}
.lesson-step .paper-text {
  font-size:20px;
  line-height:28px
}
.lesson-step .paper-label {
  font-size:16px;
  line-height:24px
}
.lesson-step .magnet-pair {
  gap:12px;
  margin:20px 0 16px
}
.lesson-step .magnet span {
  padding:8px 0;
  font-size:18px;
  line-height:24px
}
.lesson-footer {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px 32px;
  margin-top:32px;
  padding-top:24px;
  border-top:1px solid var(--paper-line)
}
.paper-panel .lesson-role {
  margin:0;
  padding-left:24px;
  border-left:1px solid var(--paper-line);
  color:#4a4741;
  font:400 16px/25px var(--font-body)
}
.paper-panel .lesson-role:first-child {
  padding-left:0;
  border-left:0
}
.lesson-role strong {
  display:block;
  color:#a63600;
  font:500 18px/28px var(--font-display);
  letter-spacing:-.01em
}
.lesson-note {
  max-width:760px;
  margin-top:24px
}
.work-steps {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  margin:8px 0 48px;
  padding:0;
  list-style:none;
  counter-reset:work
}
.work-steps li {
  min-width:0;
  padding:0 32px;
  border-left:1px solid var(--line);
  counter-increment:work
}
.work-steps li:first-child {
  padding-left:0;
  border-left:0
}
.work-steps li::before {
  content:counter(work);
  display:flex;
  align-items:center;
  justify-content:center;
  width:48px;
  height:48px;
  margin-bottom:20px;
  border:1.5px solid var(--orange);
  border-radius:50%;
  color:#fff;
  font:500 18px/1 var(--font-display)
}
.work-steps p {
  color:#e6e6e6
}
.revision-panel {
  padding:32px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#0e0e0e
}
.page-section .revision-panel h3 {
  margin-bottom:24px
}
.revision-compare {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
  margin-bottom:24px
}
.revision-version {
  min-width:0;
  padding:24px;
  border-radius:12px;
  background:var(--paper);
  letter-spacing:0
}
.revision-version p {
  color:var(--paper-ink)
}
.revision-version .paper-label {
  color:var(--paper-muted)
}
.revision-version .paper-text {
  font-size:20px;
  line-height:28px
}
.revision-version.is-proposed {
  background:#f1f4ea;
  box-shadow:inset 4px 0 0 #3f7a4a
}
.revision-panel>.artifact-caption {
  padding-top:20px;
  border-top:1px solid #333
}

/* AI engineering ------------------------------------------------------------- */
.arch-grid {
  display:grid;
  grid-template-columns:minmax(0,8fr) minmax(0,4fr);
  gap:48px;
  align-items:stretch;
  margin-top:8px
}
.arch-diagram {
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
  margin:0
}
.node-flow {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:56px;
  margin:0;
  padding:0;
  list-style:none
}
.node {
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:16px;
  min-width:0;
  min-height:176px;
  padding:28px 16px;
  border:1px solid #6a6a6a;
  border-radius:14px;
  background:#0a0a0a;
  text-align:center
}
.node.is-angira {
  border-color:var(--orange);
  box-shadow:0 0 36px #ff58001f
}
.node .icon {
  width:36px;
  height:36px;
  color:#fff
}
.node .node-mark {
  width:36px;
  height:36px
}
.node:not(:last-child)::after {
  content:'';
  position:absolute;
  top:50%;
  right:-57px;
  width:56px;
  border-top:1px solid #8a8a8a
}
.node:not(:last-child)::before {
  content:'';
  position:absolute;
  z-index:1;
  top:calc(50% - 4px);
  right:-33px;
  width:9px;
  height:9px;
  border-radius:50%;
  background:var(--orange)
}
.arch-diagram figcaption {
  max-width:720px;
  margin-top:28px;
  color:var(--muted)
}
.boundary-list {
  min-width:0;
  padding:28px;
  border-radius:12px
}
.page-section .boundary-list h3 {
  margin-bottom:16px;
  font-size:24px;
  line-height:30px
}
.boundary-list ul {
  margin:0;
  padding:0;
  list-style:none
}
.boundary-list li {
  padding-block:12px;
  border-top:1px solid #c9c2b3;
  font:400 16px/24px var(--font-body)
}
.page-section .case-caption {
  margin:-8px 0 32px
}
.case-flow {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:32px;
  margin:0;
  padding:0;
  list-style:none;
  counter-reset:case
}
.case-step {
  position:relative;
  min-width:0;
  padding:24px;
  border:1px solid #4f4f4f;
  border-radius:12px;
  background:#0b0b0b;
  color:#e6e6e6;
  counter-increment:case
}
.case-step:nth-child(2) {
  border-color:var(--orange)
}
.case-step::before {
  content:counter(case,decimal-leading-zero);
  display:block;
  margin-bottom:16px;
  color:var(--orange);
  font:500 14px/20px var(--font-display);
  letter-spacing:.16em
}
.case-step:not(:last-child)::after {
  content:'→';
  content:'→' / '';
  position:absolute;
  top:50%;
  right:-26px;
  transform:translateY(-50%);
  color:#ff8b48;
  font:400 20px/1 var(--font-display)
}
.case-branch {
  position:relative;
  margin:48px 0 0 calc(50% + 16px);
  padding:24px 28px;
  border:1px dashed #6f6f6f;
  border-radius:12px;
  background:#080808
}
.case-branch::before {
  content:'';
  position:absolute;
  top:-49px;
  left:40px;
  height:48px;
  border-left:1px dashed #6f6f6f
}
.page-section .case-branch h3 {
  margin-bottom:8px;
  font-size:24px;
  line-height:30px
}
.services {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  margin-top:40px
}
.service {
  min-width:0;
  padding:0 28px;
  border-left:1px solid var(--line)
}
.service:first-child {
  padding-left:0;
  border-left:0
}
.service .icon {
  width:32px;
  height:32px;
  margin-bottom:20px;
  color:var(--orange)
}
.service h3 {
  margin-bottom:12px
}
.page-section .services-note {
  max-width:760px;
  margin-top:40px
}
.dev-row {
  display:grid;
  grid-template-columns:minmax(0,5fr) minmax(0,7fr);
  gap:16px 48px;
  align-items:center;
  padding:32px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#0b0b0b
}
.page-section .dev-row h2 {
  margin:0;
  font-size:28px;
  line-height:34px
}
.dev-badge {
  display:table;
  margin-top:12px;
  padding:5px 12px;
  border:1px solid var(--orange);
  border-radius:20px;
  color:#ff924f;
  font:400 14px/20px var(--font-display);
  letter-spacing:0
}
.dev-row p {
  margin:0
}
.question-list {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px 40px;
  margin:0;
  padding-left:24px
}
.question-list li::marker {
  color:var(--orange)
}
.question-list+p {
  margin-top:24px
}

/* Footer --------------------------------------------------------------------- */
.site-footer {
  position:relative;
  padding-top:64px;
  border-top:1px solid #333;
  font-family:var(--font-display);
  letter-spacing:0
}
.footer-inner {
  display:grid;
  grid-template-columns:180px minmax(0,1fr);
  gap:64px
}
.footer-brand {
  align-self:start
}
.footer-groups {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:40px
}
.footer-groups h2 {
  margin-bottom:16px;
  font-size:14px;
  font-weight:400;
  line-height:20px;
  letter-spacing:.05em;
  text-transform:uppercase
}
.footer-groups a {
  display:table;
  min-width:44px;
  min-height:44px;
  padding-block:10px;
  color:#c7c7c7;
  font-size:16px;
  line-height:24px;
  text-decoration:none;
  overflow-wrap:anywhere
}
.footer-groups a:hover {
  color:var(--orange)
}
.footer-bottom {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  min-height:104px;
  margin-top:64px;
  border-top:1px solid #555
}
.footer-bottom p {
  font-size:14px;
  line-height:20px
}
.back-to-top {
  display:flex;
  flex-shrink:0;
  align-items:center;
  justify-content:center;
  width:56px;
  height:56px;
  border:1px solid var(--orange);
  border-radius:50%
}

/* Responsive ----------------------------------------------------------------- */
@media(min-width:1024px) {
  .bridge-band {
    background:radial-gradient(circle 470px at calc(100% + 40px) -330px,#050505 0 412px,#3a1404 416px,#ff5800 419px,#ffb480 420px,#ff6a1a 421.5px,#ff580055 432px,#ff580014 452px,transparent 470px),linear-gradient(180deg,#0c0c0c,#121212 45%,#0d0d0d)
  }
  .lesson-step:not(:nth-child(3n))::after {
    content:'';
    position:absolute;
    top:38px;
    right:-25px;
    width:24px;
    border-top:1px solid #9b9381
  }
}
@media(min-width:1024px) and (max-width:1279px) {
  .hero-light::before {
    left:calc(100% - var(--gutter) - 200px)
  }
}
@media(max-width:1199px) {
  .site-nav {
    gap:28px
  }
  .hero-title,.hero-support {
    max-width:640px
  }
  .offer-card {
    grid-template-columns:minmax(0,1fr);
    gap:0;
    padding:32px 28px 0
  }
  .offer-copy {
    padding-bottom:28px
  }
  .bridge {
    gap:48px
  }
  .book-page {
    padding:40px 40px 48px
  }
  .footer-inner {
    grid-template-columns:140px minmax(0,1fr);
    gap:32px
  }
}
@media(max-width:1023px) {
  :root {
    --gutter:32px
  }
  h2 {
    font-size:32px;
    line-height:38px
  }
  .page-section {
    padding-block:64px
  }
  .page-section.text-row {
    padding-block:48px
  }
  .hero-band {
    --orb-size:840px;
    --orb-right:-480px;
    --orb-top:-720px;
    --orb-fade:150px
  }
  .hero-band--split .hero-light {
    display:block
  }
  .hero-light {
    -webkit-mask-image:linear-gradient(#000 calc(var(--orb-fade) - 48px),transparent var(--orb-fade));
    mask-image:linear-gradient(#000 calc(var(--orb-fade) - 48px),transparent var(--orb-fade))
  }
  .hero-light::before {
    width:var(--orb-size);
    height:var(--orb-size);
    left:auto;
    right:var(--orb-right);
    top:var(--orb-top);
    bottom:auto;
    background:radial-gradient(circle at 70% 30%,#000 55%,#1a0802 74%,#5a1d02 91%,#a33d06 100%);
    box-shadow:-10px 10px 24px 6px #ff5800,-24px 24px 70px 14px #ff580044
  }
  .hero-split .hero-copy::after {
    display:none
  }
  .hero {
    padding-top:48px;
    padding-bottom:64px
  }
  .breadcrumb+.hero {
    padding-top:32px
  }
  .hero-split {
    grid-template-columns:minmax(0,1fr);
    gap:40px;
    padding-top:48px;
    padding-bottom:64px
  }
  .hero-split .hero-copy {
    max-width:720px;
    padding-top:0
  }
  .hero-artifact {
    max-width:640px
  }
  .closing-request h2 {
    font-size:40px;
    line-height:44px
  }
  .text-row-grid {
    grid-template-columns:minmax(0,1fr);
    gap:16px
  }
  .book-page {
    min-height:0;
    padding:36px 32px 40px
  }
  .paper-panel .answer-value {
    font-size:32px;
    line-height:40px
  }
  .handoff {
    gap:40px
  }
  .recipients {
    padding-left:40px
  }
  .lesson-sheet {
    padding:32px
  }
  .paper-panel .lesson-question {
    font-size:36px;
    line-height:40px
  }
  .lesson-steps {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .work-steps li {
    padding:0 24px
  }
  .arch-grid {
    grid-template-columns:minmax(0,1fr);
    gap:32px
  }
  .boundary-list ul {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    column-gap:24px
  }
  .case-flow {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:24px 48px
  }
  .case-step:nth-child(2n)::after {
    display:none
  }
  .case-branch {
    margin-left:0
  }
  .services {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:40px 0
  }
  .service:nth-child(3) {
    padding-left:0;
    border-left:0
  }
  .dev-row {
    grid-template-columns:minmax(0,1fr)
  }
  .footer-inner {
    grid-template-columns:minmax(0,1fr)
  }
  .footer-brand {
    margin-bottom:8px
  }
}
@media(max-width:899px) {
  .header-inner {
    position:relative;
    flex-wrap:wrap;
    gap:0;
    min-height:88px
  }
  /* Keep the logo row the header's height so it does not jump when the menu opens. */
  .header-inner>.brand {
    min-height:88px
  }
  /* Two columns leave the illustrations too narrow below 900px; stack them. */
  .js-nav .menu-toggle {
    display:flex;
    align-items:center;
    gap:12px;
    min-height:88px;
    padding:12px 0 12px 16px;
    border:0;
    background:transparent;
    color:#fff;
    font-size:16px;
    line-height:24px
  }
  .menu-icon {
    position:relative;
    width:26px;
    height:18px;
    border-top:1px solid #fff;
    border-bottom:1px solid #fff
  }
  .menu-icon::before {
    content:'';
    position:absolute;
    top:7px;
    left:0;
    right:0;
    border-top:1px solid #fff
  }
  .menu-toggle[aria-expanded=true] .menu-icon {
    border:0
  }
  .menu-toggle[aria-expanded=true] .menu-icon::before {
    top:8px;
    transform:rotate(45deg)
  }
  .menu-toggle[aria-expanded=true] .menu-icon::after {
    content:'';
    position:absolute;
    top:8px;
    left:0;
    right:0;
    border-top:1px solid #fff;
    transform:rotate(-45deg)
  }
  /* Without site.js the primary links stay visible as this list; the collapsed
     menu and its opener exist only once site.js has enhanced the page (.js-nav). */
  .site-nav {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    width:100%;
    padding:16px 0 24px
  }
  .js-nav .site-nav {
    display:none
  }
  .js-nav .site-nav.is-open {
    display:flex
  }
  .site-nav a {
    padding:16px 0;
    border-top:1px solid #333;
    font-size:20px;
    line-height:28px;
    white-space:normal
  }
  .site-nav a[aria-current]::after {
    right:auto;
    bottom:10px;
    width:32px
  }
}
@media(max-width:767px) {
  :root {
    --gutter:20px
  }
  html {
    scroll-padding-top:24px
  }
  body {
    font-size:16px;
    line-height:25px
  }
  h2 {
    font-size:28px;
    line-height:34px
  }
  h3 {
    font-size:24px;
    line-height:30px
  }
  .header-inner,.header-inner>.brand,.js-nav .menu-toggle {
    min-height:80px
  }
  .brand {
    gap:10px;
    font-size:18px
  }
  .brand img {
    width:36px;
    height:42px
  }
  .breadcrumb {
    padding-top:24px
  }
  .hero-band {
    --orb-size:460px;
    --orb-right:-305px;
    --orb-top:-380px;
    --orb-fade:104px
  }
  .hero-band--split {
    --orb-size:580px;
    --orb-right:-335px;
    --orb-top:-490px;
    --orb-fade:112px
  }
  .hero-band--ai-engineering {
    --orb-size:540px;
    --orb-right:-360px;
    --orb-top:-440px;
    --orb-fade:112px
  }
  .hero-light::before {
    box-shadow:-8px 8px 20px 4px #ff5800,-18px 18px 50px 10px #ff580040
  }
  .hero {
    padding-top:40px;
    padding-bottom:48px
  }
  .breadcrumb+.hero {
    padding-top:32px
  }
  .hero .eyebrow {
    margin-bottom:20px
  }
  .eyebrow {
    letter-spacing:.16em
  }
  .route-content-auditor .hero-title em {
    display:inline
  }
  .hero .cta-group {
    margin-top:24px
  }
  .cta-group {
    gap:12px 24px
  }
  .cta-primary {
    width:100%;
    padding:12px 16px
  }
  .cta-group .cta-note {
    margin-top:0
  }
  .hero-split {
    gap:32px;
    padding-top:40px;
    padding-bottom:48px
  }
  .paper-panel {
    padding:24px
  }
  .paper-text,.paper-panel .sheet-question {
    font-size:20px;
    line-height:28px
  }
  .sheet-row {
    padding:10px 14px
  }
  .sheet-row strong {
    font-size:20px
  }
  .review-sheet {
    padding:24px 24px 22px
  }
  .review-sheet::before {
    inset:6px -5px -6px 5px
  }
  .paper-panel .sheet-question {
    margin-bottom:16px;
    padding-bottom:16px
  }
  .page-section {
    padding-block:48px
  }
  .page-section.text-row {
    padding-block:40px
  }
  .section-intro {
    margin-bottom:32px
  }
  .section-intro--center {
    text-align:left
  }
  .split,.text-row-pair,.handoff,.revision-compare,.bridge,.offer-grid {
    grid-template-columns:minmax(0,1fr)
  }
  .split,.offer-grid {
    gap:24px
  }
  .text-row-pair {
    gap:16px
  }
  .text-row-pair>p+p {
    padding:16px 0 0;
    border-left:0;
    border-top:1px solid var(--line)
  }
  .offer-card {
    padding:28px 24px 0
  }
  .offer-excerpt {
    padding:20px 20px 44px
  }
  .bridge {
    gap:40px
  }
  .closing-request h2 {
    font-size:32px;
    line-height:38px
  }
  .closing-request .cta-group {
    margin-top:24px
  }
  .worked-head {
    margin-bottom:24px
  }
  .book-spread {
    grid-template-columns:minmax(0,1fr);
    gap:24px;
    filter:none
  }
  .book-spread::after {
    display:none
  }
  .book-page,.book-page:first-child,.book-page:last-child {
    min-height:0;
    padding:24px;
    border-radius:16px;
    background:linear-gradient(120deg,#faf8f2,#ede9df);
    box-shadow:0 3px 0 #b5ac96,0 12px 36px #0003
  }
  .page-label {
    margin-bottom:20px
  }
  .paper-panel .answer-value {
    font-size:30px;
    line-height:38px
  }
  .recipients {
    padding:32px 0 0;
    border-left:0;
    border-top:1px solid var(--line)
  }
  .activity-strip {
    grid-template-columns:minmax(0,1fr);
    gap:16px
  }
  .strip-icon {
    width:40px;
    height:40px
  }
  .page-section .activity-strip h2 {
    font-size:24px;
    line-height:30px
  }
  .faq-item summary {
    padding-right:32px;
    font-size:17px;
    line-height:24px
  }
  .faq-item summary::after {
    top:13px
  }
  .lesson-sheet {
    padding:24px
  }
  .paper-panel .lesson-question {
    margin-bottom:24px;
    font-size:28px;
    line-height:34px
  }
  .lesson-steps,.lesson-footer {
    grid-template-columns:minmax(0,1fr)
  }
  .lesson-steps {
    gap:16px
  }
  .lesson-footer {
    gap:16px
  }
  .paper-panel .lesson-role {
    padding:16px 0 0;
    border-left:0;
    border-top:1px solid var(--paper-line)
  }
  .paper-panel .lesson-role:first-child {
    padding-top:0;
    border-top:0
  }
  .work-steps {
    grid-template-columns:minmax(0,1fr);
    margin-bottom:32px
  }
  .work-steps li,.work-steps li:first-child {
    display:grid;
    grid-template-columns:48px minmax(0,1fr);
    gap:16px;
    align-items:center;
    padding:16px 0;
    border-left:0;
    border-top:1px solid var(--line)
  }
  .work-steps li:first-child {
    border-top:0
  }
  .work-steps li::before {
    margin:0
  }
  .revision-panel {
    padding:24px
  }
  .node-flow {
    grid-template-columns:minmax(0,1fr);
    gap:40px
  }
  .node {
    flex-direction:row;
    justify-content:flex-start;
    min-height:0;
    padding:20px;
    text-align:left
  }
  .node:not(:last-child)::after {
    top:auto;
    right:auto;
    bottom:-41px;
    left:38px;
    width:0;
    height:40px;
    border-top:0;
    border-left:1px solid #8a8a8a
  }
  .node:not(:last-child)::before {
    top:auto;
    right:auto;
    bottom:-25px;
    left:34px
  }
  .boundary-list {
    padding:24px
  }
  .boundary-list ul {
    display:block
  }
  .case-flow {
    grid-template-columns:minmax(0,1fr);
    gap:32px
  }
  .case-step:not(:last-child)::after,.case-step:nth-child(2n):not(:last-child)::after {
    content:'↓';
    content:'↓' / '';
    display:block;
    top:auto;
    right:auto;
    bottom:-28px;
    left:32px;
    transform:none
  }
  .case-branch {
    padding:24px
  }
  .case-branch::before {
    left:32px
  }
  .services {
    grid-template-columns:minmax(0,1fr);
    gap:0;
    margin-top:24px
  }
  .service,.service:first-child,.service:nth-child(3) {
    padding:24px 0;
    border-left:0;
    border-bottom:1px solid #333
  }
  .service:last-child {
    border-bottom:0
  }
  .dev-row {
    padding:24px
  }
  .page-section .dev-row h2 {
    font-size:24px;
    line-height:30px
  }
  .question-list {
    grid-template-columns:minmax(0,1fr)
  }
  .site-footer {
    padding-top:48px
  }
  .footer-inner {
    gap:32px
  }
  .footer-groups {
    grid-template-columns:repeat(auto-fit,minmax(min(100%,max(8.25rem,45%)),1fr));
    gap:24px 16px
  }
  .footer-groups h2 {
    margin-bottom:8px
  }
  .footer-groups a {
    min-height:44px;
    padding-block:10px;
    line-height:24px
  }
  .footer-bottom {
    gap:16px;
    min-height:96px;
    margin-top:40px
  }
  .back-to-top {
    width:48px;
    height:48px
  }
}
@media(max-width:359px) {
  .hero-band {
    --orb-right:-345px
  }
  .hero-band--split {
    --orb-right:-355px
  }
  .hero-band--ai-engineering {
    --orb-right:-400px
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  *,*::before,*::after {
    animation:none!important;
    transition:none!important
  }
}

/* Secondary button: Calendly booking, demo video ------------------------------ */
.cta-secondary {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:12px 24px;
  border:1px solid #fff;
  border-radius:12px;
  background:transparent;
  color:#fff;
  font:500 16px/24px var(--font-display);
  letter-spacing:0;
  text-decoration:none;
  transition:border-color .15s,color .15s
}
.cta-secondary:hover {
  border-color:#ff965c;
  color:#ff965c
}
.plain-list {
  margin:0;
  padding:0;
  list-style:none
}
.plain-list li {
  padding:12px 0;
  border-top:1px solid var(--line);
  color:var(--muted)
}
.plain-list li:first-child {
  padding-top:0;
  border-top:0
}
.plain-list a {
  color:#fff;
  text-decoration-color:var(--orange)
}

/* Students: hero ---------------------------------------------------------------- */
.app-status .hero-title {
  max-width:820px
}
.app-status .hero-title em {
  display:block
}

/* App launch countdown ---------------------------------------------------------
   The date renders as text; /app.js writes the days line, fills the four tiles
   and shows them. Each tile's orange bar is scaled by /app.js to the share of
   the next unit left. Settings: src/launch.mjs. */
.countdown {
  max-width:960px;
  margin-top:40px
}
.countdown-status {
  color:#fff;
  font:500 14px/20px var(--font-display);
  letter-spacing:.2em;
  text-transform:uppercase
}
.countdown-days {
  margin-top:8px;
  color:#fff;
  font:500 24px/32px var(--font-display);
  letter-spacing:-.01em
}
.countdown-days:empty {
  display:none
}
.countdown.is-launched .countdown-status {
  color:var(--orange);
  font-size:20px;
  line-height:28px;
  letter-spacing:.12em
}
.countdown-tiles {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin:16px 0 0;
  padding:0;
  list-style:none
}
.countdown-tiles[hidden] {
  display:none
}
.countdown-tile {
  position:relative;
  display:flex;
  flex-direction:column;
  gap:12px;
  min-width:0;
  padding:24px 24px 22px;
  overflow:hidden;
  border:1px solid var(--hairline);
  border-radius:16px;
  background:rgba(0,0,0,.6)
}
.countdown-value {
  color:#fff;
  font:500 clamp(48px,9vw,112px)/1 var(--font-display);
  letter-spacing:-.04em;
  font-variant-numeric:tabular-nums
}
.countdown-value.tick {
  animation:countdown-tick .18s ease-out
}
@keyframes countdown-tick {
  from {
    transform:translateY(-.12em);
    opacity:.6
  }
  to {
    transform:none;
    opacity:1
  }
}
.countdown-unit {
  color:var(--orange);
  font:500 14px/20px var(--font-display);
  letter-spacing:.2em;
  text-transform:uppercase
}
@media(max-width:767px) {
  .countdown {
    margin-top:32px
  }
  .countdown-tiles {
    gap:8px
  }
  .countdown-tile {
    gap:8px;
    padding:16px 14px 16px;
    border-radius:12px
  }
  .countdown-unit {
    font-size:12px;
    line-height:16px;
    letter-spacing:.12em
  }
}
@media(max-width:559px) {
  .countdown-tiles {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
}
@media(prefers-reduced-motion:reduce) {
  .countdown-value.tick {
    animation:none
  }
}

/* Reminder form on /app ------------------------------------------------------- */
.remind h2 {
  margin-bottom:24px
}
.remind-form {
  position:relative;
  display:grid;
  justify-items:start;
  gap:12px;
  max-width:520px
}
.remind-label {
  color:#fff;
  font:500 16px/24px var(--font-display)
}
.remind-form input[type="email"] {
  width:100%;
  min-height:52px;
  padding:12px 16px;
  border:1px solid #5a5a5a;
  border-radius:12px;
  background:#0b0b0b;
  color:#fff;
  font:400 17px/24px var(--font-body)
}
.remind-form input[type="email"]:focus-visible {
  border-color:var(--orange);
  outline:2px solid var(--orange);
  outline-offset:2px
}
.remind-form .consent-note { margin:-4px 0 0; color:var(--muted); font-size:14px; line-height:20px }
.remind-form .consent {
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin:4px 0 8px;
  color:var(--muted);
  font:400 15px/22px var(--font-body);
  cursor:pointer
}
.remind-form .consent input {
  flex:none;
  width:20px;
  height:20px;
  margin:1px 0 0;
  accent-color:var(--orange)
}
.remind-form button:disabled {
  opacity:.6;
  cursor:progress
}
.form-status {
  min-height:22px;
  color:var(--muted);
  font:400 15px/22px var(--font-body)
}
.form-status:empty {
  min-height:0
}
.form-status.is-error {
  color:#ff965c
}
.form-done {
  color:#fff;
  font:500 24px/32px var(--font-display);
  letter-spacing:-.01em
}
/* Honeypot: off-screen, never display:none, so bots still see and fill it. */
.hp {
  position:absolute;
  left:-10000px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden
}

/* Redirect page and 404: spacing that used to be inline styles (the CSP keeps
   'unsafe-inline' for styles, but no page relies on it). */
.redirect-main {
  padding-block:15vh
}
.not-found-links {
  margin-top:16px
}

/* Legal documents ------------------------------------------------------------------ */
.legal {
  display:grid;
  grid-template-columns:280px minmax(0,1fr);
  gap:64px;
  padding-block:64px 96px
}
.legal-toc {
  position:sticky;
  top:32px;
  align-self:start
}
.legal-toc ol {
  margin:16px 0 0;
  padding:0;
  list-style:none
}
.legal-toc li {
  border-top:1px solid #242424
}
.legal-toc a {
  display:flex;
  gap:12px;
  padding:10px 0;
  color:var(--muted);
  font:400 15px/22px var(--font-display);
  text-decoration:none
}
.legal-toc a:hover {
  color:#fff
}
.toc-number {
  flex-shrink:0;
  color:var(--orange);
  font-variant-numeric:tabular-nums
}
.legal-head {
  margin-bottom:48px;
  padding-bottom:32px;
  border-bottom:1px solid var(--line)
}
.legal-head h1 {
  margin-bottom:12px
}
.legal-updated {
  color:#aaa;
  font:400 16px/24px var(--font-display)
}
.legal-section {
  max-width:760px;
  margin-bottom:48px
}
.legal-section h2 {
  margin-bottom:16px;
  font-size:28px;
  line-height:34px
}
.legal-section h3 {
  margin:24px 0 12px;
  font-size:22px;
  line-height:28px
}
.legal-section p,.legal-section ul,.legal-section ol {
  color:#d6d6d6
}
.legal-section p+p,.legal-section p+ul,.legal-section p+ol,.legal-section ul+p,.legal-section ol+p,.legal-section ol+ul,.legal-section ul+ol {
  margin-top:12px
}
.legal-section ul,.legal-section ol {
  padding-left:24px
}
.legal-section li+li,.legal-section li ul {
  margin-top:8px
}
.legal-section code {
  color:#fff;
  font-family:var(--font-display);
  font-size:.95em
}
.legal-section strong {
  color:#fff;
  font-weight:500
}
.legal-section a {
  color:#fff
}
.legal-section:target h2 {
  color:var(--orange)
}
.route-not-found h1 {
  margin-top:16px
}

/* Responsive additions ------------------------------------------------------------ */
@media(max-width:1199px) {
  .legal {
    grid-template-columns:240px minmax(0,1fr);
    gap:40px
  }
}
@media(max-width:1023px) {
  .legal {
    grid-template-columns:minmax(0,1fr);
    gap:32px;
    padding-block:40px 64px
  }
  .legal-toc {
    position:static
  }
  .legal-toc ol {
    columns:2;
    column-gap:32px
  }
  .legal-toc li {
    break-inside:avoid
  }
}
@media(max-width:767px) {
  .cta-secondary {
    width:100%
  }
  .legal-toc ol {
    columns:1
  }
  .legal-section h2 {
    font-size:24px;
    line-height:30px
  }
}

/* Utilities (30 October 2026) --------------------------------------------------- */
.visually-hidden {
  position:absolute!important;
  width:1px;
  height:1px;
  margin:-1px;
  padding:0;
  overflow:hidden;
  clip:rect(0 0 0 0);
  clip-path:inset(50%);
  white-space:nowrap;
  border:0
}
.replay {
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:36px;
  padding:6px 14px;
  border:1px solid var(--hairline);
  border-radius:999px;
  background:transparent;
  color:#fff;
  font:500 13px/20px var(--font-display);
  letter-spacing:.02em;
  cursor:pointer
}
.replay::before {
  content:'';
  width:0;
  height:0;
  border:5px solid transparent;
  border-right:0;
  border-left:8px solid var(--orange)
}
.replay:hover {
  border-color:#ff965c;
  color:#ff965c
}
.dev-head {
  min-width:0
}
.dev-row .dev-badge {
  margin-top:12px
}
.legal-head {
  grid-column:1/-1;
  margin-bottom:8px
}
.legal-toc a {
  padding:11px 0
}
.activity-strip .link-secondary {
  display:inline-block
}
.activity-strip .link-secondary::after {
  margin-left:12px
}

/* Content Auditor: watch a page get reviewed -------------------------------------- */
.audit-demo {
  display:grid;
  grid-template-columns:minmax(0,7fr) minmax(0,5fr);
  gap:40px;
  align-items:start
}
.audit-page {
  margin:0;
  padding:40px 44px
}
.paper-panel .audit-heading {
  margin-bottom:16px;
  color:#171717;
  font:700 22px/28px var(--font-paper)
}
.paper-panel .audit-text {
  color:#2a2823;
  font:400 19px/30px var(--font-paper);
  letter-spacing:0
}
.paper-panel .audit-text+.audit-text {
  margin-top:12px
}
.audit-eq {
  padding-left:32px
}
.audit-eqno {
  float:right;
  color:#7a766e
}
mark.issue {
  position:relative;
  padding:0 2px;
  border-radius:3px;
  background:transparent;
  color:inherit;
  -webkit-box-decoration-break:clone;
  box-decoration-break:clone;
  transition:background .5s,box-shadow .5s
}
.audit-demo:not(.is-playing) mark.issue,mark.issue.is-on {
  background:#ffd7c2;
  box-shadow:inset 0 -2px 0 var(--orange)
}
/* Issue numbers sit in the line, just after the highlight and raised a little, so
   they never cover the line above or the next word. The space stays while a number
   is hidden, so the text does not reflow as the replay lights each one. */
mark.issue::after {
  content:attr(data-issue);
  content:attr(data-issue) / '';
  display:inline-block;
  box-sizing:border-box;
  min-width:16px;
  height:16px;
  margin-left:3px;
  padding:0 4px;
  vertical-align:4px;
  border-radius:8px;
  background:var(--orange);
  color:#000;
  font:700 10px/16px var(--font-display);
  text-align:center;
  opacity:0;
  transition:opacity .3s
}
.audit-demo:not(.is-playing) mark.issue::after,mark.issue.is-on::after {
  opacity:1
}
.audit-rail {
  min-width:0
}
.audit-counter {
  margin-bottom:16px;
  color:#fff;
  font:500 22px/28px var(--font-display);
  letter-spacing:-.01em
}
.audit-count {
  display:inline-block;
  min-width:31px;
  color:var(--orange);
  font-size:44px;
  line-height:44px;
  font-variant-numeric:tabular-nums;
  vertical-align:-6px
}
.audit-list {
  margin:0;
  padding:0;
  list-style:none
}
.audit-list li {
  position:relative;
  padding:14px 0 14px 36px;
  border-top:1px solid var(--hairline)
}
.audit-list li::before {
  content:attr(data-issue);
  position:absolute;
  top:16px;
  left:0;
  width:22px;
  height:22px;
  border:1px solid var(--orange);
  border-radius:50%;
  color:var(--orange);
  font:500 12px/20px var(--font-display);
  text-align:center
}
.audit-kind {
  color:#fff;
  font:500 16px/24px var(--font-display)
}
.audit-change {
  margin-top:2px;
  color:#e3e3e3;
  font:400 17px/25px var(--font-paper);
  letter-spacing:0
}
.audit-change strong {
  color:#ffb480;
  font-weight:600
}
.audit-why {
  margin-top:4px;
  color:#a9a9a9;
  font-size:15px;
  line-height:23px
}
.audit-final {
  margin-top:20px;
  padding-top:16px;
  border-top:1px solid var(--hairline);
  color:#fff;
  font:400 16px/24px var(--font-display)
}
.audit-replay {
  margin-top:16px
}
.audit-demo.is-playing .audit-list li {
  opacity:.28;
  transition:opacity .4s
}
.audit-demo.is-playing .audit-list li.is-on {
  opacity:1
}
.audit-demo.is-playing .audit-final {
  opacity:0;
  transition:opacity .5s
}
.audit-demo.is-done .audit-final {
  opacity:1
}

/* Case study ------------------------------------------------------------------------ */
.case-hero .hero-title {
  max-width:880px
}
.draft-badge {
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-top:24px;
  padding:8px 14px;
  border:1px dashed #ff924f;
  border-radius:999px;
  color:#ff924f;
  font:400 14px/20px var(--font-display)
}
.draft-badge::before {
  content:'';
  width:8px;
  height:8px;
  border-radius:50%;
  background:#ff924f
}
.stat-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  margin:0
}
.stat {
  min-width:0;
  padding:8px 32px;
  border-left:1px solid var(--hairline)
}
.stat:first-child {
  padding-left:0;
  border-left:0
}
.stat dt {
  color:#8a8a8a;
  font:500 13px/20px var(--font-display);
  letter-spacing:.16em;
  text-transform:uppercase
}
.stat dd {
  margin:10px 0 0
}
.stat-value {
  display:block;
  color:#fff;
  font:500 56px/1 var(--font-display);
  letter-spacing:-.04em;
  font-variant-numeric:tabular-nums
}
.stat-note {
  display:block;
  margin-top:10px;
  color:var(--muted);
  font-size:15px;
  line-height:22px
}
.stat[data-placeholder] .stat-value {
  color:#ff924f
}
.quote-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px
}
.quote {
  margin:0;
  padding:32px;
  border:1px solid var(--hairline);
  border-radius:16px;
  background:#0b0b0b
}
.quote p {
  color:#fff;
  font:400 22px/32px var(--font-display);
  letter-spacing:-.01em
}
.quote footer {
  display:grid;
  gap:2px;
  margin-top:20px;
  padding-top:16px;
  border-top:1px solid var(--hairline);
  color:var(--muted);
  font-size:15px;
  line-height:22px
}
.quote strong {
  color:#fff;
  font-weight:500
}
.quote[data-placeholder] strong {
  color:#ff924f
}
/* Short testimonial cards on the business pages (src/testimonials.mjs) */
.quote-grid--single { grid-template-columns:minmax(0,1fr); max-width:880px }
/* The figure is the card; the quote fills it and the meta line sits inside, at the bottom. */
.testimonial { display:flex; flex-direction:column; margin:0; overflow:hidden; border:1px solid var(--hairline); border-radius:16px; background:#0b0b0b }
.testimonial .quote { flex:1; border:0; border-radius:0; background:none }
.testimonial-meta { padding:0 32px 24px; color:var(--muted); font-size:15px; line-height:22px }
.draft-tag { color:#ff924f; border:1px dashed #ff924f; border-radius:999px; padding:2px 10px; white-space:nowrap }
.testimonial[data-placeholder] .quote p { color:#ff924f }
.case-quote { margin-top:32px; max-width:880px }
@media(max-width:767px) {
  .testimonial-meta { padding:0 24px 20px }
}

/* Responsive for the new components ------------------------------------------------- */
@media(max-width:1199px) {
  .stat-value {
    font-size:44px
  }
}
@media(max-width:1023px) {
  .audit-demo {
    grid-template-columns:minmax(0,1fr);
    gap:32px
  }
  .stat-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:32px 0
  }
  .stat:nth-child(3) {
    padding-left:0;
    border-left:0
  }
  .legal-head {
    margin-bottom:0
  }
}
@media(max-width:767px) {
  .audit-page {
    padding:24px
  }
  .paper-panel .audit-text {
    font-size:17px;
    line-height:27px
  }
  .audit-eq {
    padding-left:16px
  }
  .stat-grid {
    grid-template-columns:minmax(0,1fr);
    gap:24px
  }
  .stat,.stat:first-child,.stat:nth-child(3) {
    padding:0 0 0 20px;
    border-left:1px solid var(--hairline)
  }
  .stat-value {
    font-size:40px
  }
  .quote-grid {
    grid-template-columns:minmax(0,1fr)
  }
  .quote {
    padding:24px
  }
  .quote p {
    font-size:19px;
    line-height:28px
  }
  .closing-request {
    text-align:left
  }
  .closing-request>p {
    margin-inline:0
  }
  .closing-request .cta-group {
    justify-content:flex-start
  }
}

/* /institutions: status board, offering cards and the work catalogue --------- */
.status-board {
  margin:0;
  padding:28px 28px 24px
}
.status-board::before {
  content:'';
  position:absolute;
  inset:10px -10px -10px 10px;
  z-index:-1;
  border-radius:20px;
  background:#c9c0aa;
  transform:rotate(1.2deg)
}
.paper-panel .status-foot {
  margin-top:12px;
  padding-top:14px;
  border-top:1px solid #c3bdb0;
  font:italic 400 16px/1.5 var(--font-display)
}
.status-foot a {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  color:#3d3a35;
  text-decoration-color:#b5432a
}
.offering-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
  margin:0;
  padding:0;
  list-style:none
}
.offering {
  container-type:inline-size;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  min-width:0;
  padding:32px;
  border:1px solid var(--line);
  border-radius:12px;
  background:linear-gradient(125deg,#151515,#080808)
}
.offering:focus {
  outline:none
}
.offering:focus-visible {
  outline:3px solid #ffad7f;
  outline-offset:4px
}
.offering-head {
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  width:100%;
  margin-bottom:24px
}
/* In a card too narrow for the longest status beside its icon, every status
   goes under its icon, so the cards in a row stay level. */
@container (max-width:301px) {
  .offering-head {
    flex-direction:column;
    align-items:flex-start
  }
}
.offering-head .icon {
  flex:none;
  width:32px;
  height:32px;
  color:var(--orange)
}
.offering .eyebrow {
  margin-bottom:12px
}
.page-section .offering h3 {
  margin-bottom:16px;
  font-size:24px;
  line-height:30px
}
/* The orange half of each title takes its own line, so the text under the
   titles starts level across a row. */
.offering h3 em {
  display:block
}
.offering h3 a {
  text-decoration:none
}
.offering h3 a:hover {
  color:inherit;
  text-decoration:underline;
  text-decoration-color:var(--orange);
  text-decoration-thickness:2px
}
.offering>p:not(.eyebrow) {
  margin-bottom:24px;
  color:var(--muted)
}
.offering .link-secondary {
  margin-top:auto
}
.status-label {
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-inline-size:0;
  max-inline-size:100%;
  margin:0;
  padding:4px 12px;
  border:1px solid var(--orange);
  border-radius:999px;
  color:#ff924f;
  font:400 13px/1.45 var(--font-display);
  letter-spacing:0;
  overflow-wrap:anywhere
}
.status-label::before {
  content:'';
  flex:none;
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--orange)
}
.work-groups {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:56px 64px;
  align-items:start
}
.page-section .work-group h3 {
  margin-bottom:16px;
  padding-bottom:12px;
  border-bottom:1px solid var(--orange);
  font-size:24px;
  line-height:30px
}
.work-list li {
  padding:16px 0
}
.work-list li:first-child {
  padding-top:0
}
.work-list p {
  margin:0
}
.work-list p+p {
  margin-top:4px
}
.work-list .work-name {
  color:#fff;
  font:500 18px/26px var(--font-display);
  letter-spacing:-.01em
}
.work-list .work-meta {
  margin-top:8px;
  color:#aaa;
  font:400 14px/20px var(--font-display);
  letter-spacing:.01em
}
@media (max-width:1199px) {
  .offering-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .offering-grid .offering:last-child:nth-child(odd) {
    grid-column:1/-1
  }
}
@media (max-width:1023px) {
  .work-groups {
    grid-template-columns:minmax(0,1fr);
    gap:48px
  }
}
@media (max-width:767px) {
  .offering-grid {
    grid-template-columns:minmax(0,1fr);
    gap:16px
  }
  .offering {
    padding:24px
  }
  .status-board {
    padding:24px 20px 20px
  }
  .status-board::before {
    inset:8px -6px -8px 6px
  }
}

/* Demos: shared caption ------------------------------------------------------ */
.demo-caption {
  display:inline-flex;
  margin-top:24px;
  padding:6px 14px;
  border:1px dashed #5a5a5a;
  border-radius:999px;
  color:#c7c7c7;
  font:400 14px/20px var(--font-display);
  letter-spacing:.01em
}

.ds-tag {
  display:inline-block;
  margin-right:4px;
  padding:0 8px;
  border:1px dashed #5a5a5a;
  border-radius:999px;
  color:#aaa;
  font:400 12px/20px var(--font-display)
}

/* Demo 1: Content Auditor review (/content-auditor-demo) ------------------- */
.rv-section {
  padding-top:48px
}
.rv-head {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:12px 24px;
  align-items:end;
  margin-bottom:24px;
  padding-bottom:20px;
  border-bottom:1px solid var(--line)
}
.rv-kicker,.rv-eyebrow,.rv-row-meta {
  color:#aaa;
  font:400 14px/20px var(--font-display);
  letter-spacing:.01em
}
.rv-kicker {
  margin:0
}
.page-section .rv-head h2 {
  margin:4px 0 0;
  font-size:28px;
  line-height:34px
}
.rv-state {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  margin:0;
  color:#c7c7c7;
  font:400 14px/20px var(--font-display)
}
.rv-complete {
  display:inline-block;
  padding:2px 10px;
  border:1px solid #3d6b47;
  border-radius:999px;
  color:#9fd8a9
}
.rv-areas {
  grid-column:1/-1;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0;
  padding:0;
  list-style:none
}
.rv-areas li {
  padding:2px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  color:#c7c7c7;
  font:400 13px/20px var(--font-display)
}
.rv-tabs {
  display:none
}
.rv-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,27rem);
  gap:32px;
  align-items:start
}
.rv-source {
  position:sticky;
  top:24px;
  min-width:0
}
.rv-pager {
  display:flex;
  gap:8px;
  margin-bottom:16px
}
.rv-pager[hidden] {
  display:none
}
.rv-page {
  margin:0
}
.rv-page+.rv-page {
  margin-top:24px
}
.rv-page[hidden] {
  display:none
}
.rv mark.issue {
  background:#ffe4d6;
  box-shadow:inset 0 -2px 0 #e9a07a
}
.rv[data-ready] mark.issue {
  cursor:pointer
}
.rv mark.issue::after {
  content:attr(data-n);
  content:attr(data-n) / "";
  background:#e9a07a;
  opacity:1
}
.rv mark.issue.is-decided {
  background:#e6e2d8;
  box-shadow:inset 0 -2px 0 #a39d90
}
.rv mark.issue.is-decided::after {
  background:#a39d90
}
.rv mark.issue.is-current {
  background:#ffcfb5;
  box-shadow:inset 0 -2px 0 var(--orange),0 0 0 2px var(--orange)
}
.rv mark.issue.is-current::after {
  background:var(--orange)
}
.rv mark.issue:focus-visible {
  outline:3px solid #b5432a;
  outline-offset:2px
}
.paper-panel .audit-table {
  width:100%;
  margin:16px 0;
  border-collapse:collapse;
  color:#2a2823;
  font:400 16px/24px var(--font-paper)
}
.audit-table caption {
  margin-bottom:8px;
  text-align:left
}
.audit-table th,.audit-table td {
  padding:6px 8px;
  border-bottom:1px solid #d6d0c3;
  text-align:left
}
.audit-table th {
  font-weight:700
}
.paper-panel .audit-exercises {
  margin:8px 0 0;
  padding-left:44px;
  color:#2a2823;
  font:400 19px/30px var(--font-paper)
}
.audit-exercises li::marker {
  content:"1." counter(list-item) "  "
}
.paper-panel .audit-answers {
  margin-top:16px;
  padding-top:12px;
  border-top:1px solid #d6d0c3
}
.rv-panel {
  min-width:0
}
.rv-panel-head {
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:baseline;
  gap:4px 16px
}
.page-section .rv-panel-title {
  margin:0;
  font-size:22px;
  line-height:28px
}
.rv-shown {
  margin:0;
  color:#aaa;
  font:400 14px/20px var(--font-display)
}
.rv-filters {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:16px 0 0
}
.rv-filters[hidden] {
  display:none
}
.rv-filters label {
  display:flex;
  flex-direction:column;
  gap:4px;
  color:#aaa;
  font:400 13px/18px var(--font-display)
}
.rv-filters select,.rv-note,.rv-modify textarea {
  min-height:40px;
  padding:8px 10px;
  border:1px solid #4a4a4a;
  border-radius:8px;
  background:#0d0d0d;
  color:#fff;
  font:400 15px/22px var(--font-body)
}
.rv-nav {
  display:flex;
  justify-content:space-between;
  gap:8px;
  margin:16px 0 12px
}
.rv-nav[hidden] {
  display:none
}
.rv-card {
  margin-top:16px;
  padding:24px;
  border:1px solid var(--line);
  border-radius:12px;
  background:linear-gradient(125deg,#151515,#080808)
}
.rv[data-ready] .rv-card {
  margin-top:0
}
.rv-card[hidden] {
  display:none
}
.rv-eyebrow {
  margin:0 0 8px
}
.page-section .rv-title {
  margin:0 0 12px;
  font-size:22px;
  line-height:28px
}
.rv-title:focus {
  outline:none
}
.rv-title:focus-visible {
  outline:3px solid #ffad7f;
  outline-offset:4px
}
.rv-badges {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 16px
}
.rv-status,.rv-impact {
  padding:2px 10px;
  border:1px solid #5a5a5a;
  border-radius:999px;
  color:#dedede;
  font:400 13px/20px var(--font-display)
}
.rv-status[data-state="Accepted"],.rv-status[data-state="Modified instruction"] {
  border-color:#3d6b47;
  color:#9fd8a9
}
.rv-status[data-state="Rejected"],.rv-status[data-state="Not an issue"] {
  border-color:#6b4a3d;
  color:#e3b5a3
}
.rv-status[data-state="Assigned for review"],.rv-status[data-state="Review later"] {
  border-color:#5b5a7a;
  color:#c6c4f2
}
.rv-impact--major {
  border-color:#8a6a2a;
  color:#f0c977
}
.rv-impact--critical {
  border-color:var(--orange);
  color:#ff924f
}
.rv-fields {
  margin:0
}
.rv-fields>div+div {
  margin-top:12px
}
.rv-fields dt {
  margin-bottom:2px;
  color:#aaa;
  font:500 13px/18px var(--font-display);
  letter-spacing:.04em;
  text-transform:uppercase
}
.rv-fields dd {
  margin:0;
  color:var(--muted);
  font-size:16px;
  line-height:24px
}
.rv-fields blockquote {
  margin:0;
  padding:8px 12px;
  border-left:3px solid #e9a07a;
  border-radius:0 6px 6px 0;
  background:#1b1712;
  color:#f3e7dc;
  font:400 16px/24px var(--font-paper)
}
.rv-fields .rv-change {
  color:#fff
}
.rv-decide {
  margin-top:20px;
  padding-top:16px;
  border-top:1px solid var(--line)
}
.rv-decide[hidden] {
  display:none
}
.rv-helper {
  margin:0 0 12px;
  color:#aaa;
  font:400 14px/20px var(--font-display);
  letter-spacing:.01em
}
.rv-actions {
  display:flex;
  flex-wrap:wrap;
  gap:8px
}
.rv-actions--more {
  margin:12px 0
}
.rv-btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:44px;
  padding:8px 16px;
  border:1px solid #5a5a5a;
  border-radius:10px;
  background:transparent;
  color:#fff;
  font:500 15px/20px var(--font-display);
  cursor:pointer
}
.rv-btn:hover {
  border-color:#8a8a8a
}
.rv-btn:disabled {
  opacity:.4;
  cursor:default
}
.rv-btn--primary {
  border-color:var(--orange);
  background:var(--orange);
  color:#000
}
.rv-btn--primary:hover {
  border-color:#ff8a42;
  background:#ff8a42
}
.rv-btn[aria-pressed="true"] {
  border-color:var(--orange);
  color:#ff924f
}
.rv-who {
  color:#aaa;
  font-weight:400
}
.rv-modify {
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-top:12px
}
.rv-modify[hidden] {
  display:none
}
.rv-modify label,.rv-note-label {
  color:#c7c7c7;
  font:400 14px/20px var(--font-display)
}
.rv-modify .rv-btn {
  align-self:flex-start
}
.rv-note-label {
  display:block;
  margin-top:16px
}
.rv-note {
  width:100%;
  margin-top:4px
}
.rv-more {
  margin-top:16px
}
.rv-more summary,.rv-browse summary,.rv-questions summary {
  min-height:44px;
  padding:10px 0;
  color:#fff;
  font:500 15px/24px var(--font-display);
  cursor:pointer
}
.rv-saved {
  min-height:20px;
  margin:12px 0 0;
  color:#9fd8a9;
  font:400 14px/20px var(--font-display)
}
.rv-browse,.rv-questions {
  margin-top:16px;
  border-top:1px solid var(--line)
}
.rv-browse[hidden] {
  display:none
}
.rv-rows {
  margin:0;
  padding:0;
  list-style:none
}
.rv-rows li[hidden] {
  display:none
}
.rv-rows button {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:2px 12px;
  width:100%;
  padding:10px 8px;
  border:0;
  border-top:1px solid var(--line);
  background:transparent;
  color:#fff;
  font:400 15px/22px var(--font-body);
  text-align:left;
  cursor:pointer
}
.rv-rows button[aria-current="true"] {
  background:#1a1410
}
.rv-row-meta,.rv-row-title {
  grid-column:1
}
.rv-row-status {
  grid-row:1/3;
  grid-column:2;
  align-self:center;
  color:#aaa;
  font:400 13px/18px var(--font-display)
}
.rv-questions .plain-list p {
  margin:0
}
.rv-export {
  margin-top:40px;
  padding:28px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#0b0b0b
}
.rv-export[hidden] {
  display:none
}
.page-section .rv-export h2 {
  margin-bottom:8px;
  font-size:24px;
  line-height:30px
}
.rv-file {
  max-height:420px;
  margin:16px 0;
  padding:20px;
  overflow:auto;
  border-radius:8px;
  background:linear-gradient(120deg,#faf8f2,#ede9df);
  color:var(--paper-ink);
  font:400 14px/22px ui-monospace,SFMono-Regular,Consolas,monospace;
  white-space:pre-wrap;
  color-scheme:light
}
.rv-file:focus-visible {
  outline:3px solid #ffad7f;
  outline-offset:2px
}
@media (max-width:1023px) {
  .rv[data-ready] .rv-tabs {
    display:flex;
    gap:4px;
    margin-bottom:16px;
    padding:4px;
    border:1px solid var(--line);
    border-radius:12px
  }
  .rv-tabs [role="tab"] {
    flex:1;
    min-height:44px;
    border:0;
    border-radius:8px;
    background:transparent;
    color:#c7c7c7;
    font:500 15px/20px var(--font-display);
    cursor:pointer
  }
  .rv-tabs [aria-selected="true"] {
    background:#222;
    color:#fff
  }
  .rv-grid {
    grid-template-columns:minmax(0,1fr)
  }
  .rv-source {
    position:static
  }
  .rv[data-ready][data-pane="panel"] .rv-source,.rv[data-ready][data-pane="source"] .rv-panel {
    display:none
  }
}
@media (max-width:767px) {
  .rv-head {
    grid-template-columns:minmax(0,1fr)
  }
  .rv-card,.rv-export {
    padding:20px
  }
  .rv-actions .rv-btn {
    flex:1 1 auto
  }
  .paper-panel .audit-table {
    font-size:14px
  }
  .audit-table th,.audit-table td {
    padding:4px
  }
}

/* Demo 3: answer evaluation (/answer-evaluation-demo) ------------------------ */
.ev-status {
  max-width:560px;
  margin-top:12px;
  color:#c7c7c7;
  font:400 14px/20px var(--font-display)
}
.ev-section {
  padding-top:48px
}
.ev-label {
  margin:0 0 4px;
  color:#aaa;
  font:500 12px/18px var(--font-display);
  letter-spacing:.06em;
  text-transform:uppercase
}
.ev-helper {
  margin:0 0 12px;
  color:#aaa;
  font:400 14px/20px var(--font-display)
}
.ev-submit {
  max-width:40rem;
  margin:0 auto 32px;
  padding:28px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#0b0b0b
}
.ev-submit[hidden],.ev[hidden],.ev-q[hidden],.hw-page[hidden],.ev-tools[hidden],.ev-an-nav[hidden],.ev-download[hidden] {
  display:none
}
.page-section .ev-submit h2 {
  margin:0 0 8px;
  font-size:24px;
  line-height:30px
}
.ev-stages {
  margin:20px 0 12px;
  padding:0;
  list-style:none
}
.ev-stages li {
  display:grid;
  grid-template-columns:24px minmax(0,1fr);
  gap:0 10px;
  padding:8px 0;
  border-top:1px solid var(--line);
  color:#888
}
.ev-stages li::before {
  content:'○';
  content:'○' / '';
  grid-row:1/3;
  color:#555
}
.ev-stages li.is-active,.ev-stages li.is-done {
  color:#fff
}
.ev-stages li.is-active::before {
  content:'•••';
  content:'•••' / '';
  color:var(--orange);
  font-size:11px;
  animation:ds-pulse 1s ease-in-out infinite
}
@keyframes ds-pulse {
  50% {
    opacity:.35
  }
}
@media(prefers-reduced-motion:reduce) {
  .ev-stages li.is-active::before {
    animation:none
  }
}
.ev-stages li.is-done::before {
  content:'✓';
  content:'✓' / '';
  color:#9fd8a9
}
.ev-stage-name {
  font:500 15px/22px var(--font-display)
}
.ev-stage-detail {
  grid-column:2;
  color:#888;
  font:400 13px/18px var(--font-display)
}
.ev-submit-actions {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:16px 0 0
}
.ev-paper {
  margin:0 0 24px;
  padding:4px 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line)
}
.ev-paper summary {
  min-height:44px;
  padding:10px 0;
  color:#fff;
  font:500 15px/24px var(--font-display);
  cursor:pointer
}
.ev-paper-qs {
  max-width:52rem;
  margin:0 0 12px;
  padding-left:24px;
  color:var(--muted)
}
.ev-paper-qs li+li {
  margin-top:8px
}
.ev-top {
  display:flex;
  flex-wrap:wrap;
  align-items:flex-end;
  gap:12px 24px;
  margin-bottom:20px;
  padding-bottom:16px;
  border-bottom:1px solid var(--line)
}
.ev-top>div {
  flex:1
}
.page-section .ev-top h2 {
  margin:0;
  font-size:28px;
  line-height:34px
}
.ev-total {
  margin:0;
  color:#fff;
  font:400 15px/20px var(--font-display)
}
.ev-total strong {
  color:#ff8a7a;
  font:600 26px/30px var(--font-paper)
}
.ev-download {
  text-decoration:none
}
.ev-grid {
  display:grid;
  grid-template-columns:minmax(0,15rem) minmax(0,1fr) minmax(0,20rem);
  gap:24px;
  align-items:start
}
.ev-rail,.ev-inspector {
  position:sticky;
  top:24px
}
.ev-rail-head {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
  margin:0 0 10px;
  color:#fff;
  font:600 14px/20px var(--font-display)
}
.ev-flags {
  padding:1px 8px;
  border:1px solid #8a3a2a;
  border-radius:999px;
  color:#ffb4a3;
  font:500 12px/18px var(--font-display)
}
.ev-rail ol {
  margin:0;
  padding:0;
  list-style:none
}
.ev-rail a {
  display:flex;
  align-items:center;
  gap:10px;
  min-height:48px;
  padding:8px 10px;
  border-radius:10px;
  color:#fff;
  text-decoration:none
}
.ev-rail a:hover {
  background:#141414
}
.ev-rail a[aria-current="true"] {
  background:#121a26;
  box-shadow:inset 3px 0 0 #6b9be8
}
.ev-dot {
  display:inline-flex;
  flex:none;
  align-items:center;
  justify-content:center;
  width:22px;
  height:22px;
  border-radius:50%;
  color:#000;
  font:700 12px/1 var(--font-display)
}
.ev-dot--full {
  background:#9fd8a9
}
.ev-dot--missed {
  background:#f0c977
}
.ev-dot--flag {
  background:#ff8a7a
}
.ev-rail-text {
  display:flex;
  flex:1;
  flex-direction:column;
  min-width:0;
  font:500 14px/20px var(--font-display)
}
.ev-rail-sub {
  color:#aaa;
  font-weight:400;
  font-size:12px;
  line-height:16px
}
.ev-rail-score {
  color:#c7c7c7;
  font:400 14px/20px var(--font-display)
}
.ev-rail-score b {
  color:#fff
}
.ev-viewer {
  min-width:0
}
.ev-tools {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  margin:0 0 12px;
  padding:8px;
  border-radius:12px;
  background:#1c2532
}
.ev-seg {
  display:inline-flex;
  padding:2px;
  border-radius:8px;
  background:#111822
}
.ev-seg button,.ev-tool {
  min-height:36px;
  padding:4px 12px;
  border:0;
  border-radius:6px;
  background:transparent;
  color:#dbe4f0;
  font:500 13px/20px var(--font-display);
  cursor:pointer
}
.ev-tool {
  border:1px solid #33435a
}
.ev-tool:disabled {
  opacity:.4;
  cursor:default
}
.ev-seg [aria-pressed="true"] {
  background:#33435a;
  color:#fff
}
.ev-legend {
  position:relative
}
.ev-legend summary {
  display:inline-flex;
  align-items:center;
  list-style:none
}
.ev-legend summary::-webkit-details-marker {
  display:none
}
.ev-legend ul {
  position:absolute;
  z-index:2;
  top:42px;
  left:0;
  width:15rem;
  margin:0;
  padding:12px 14px;
  border:1px solid #33435a;
  border-radius:10px;
  background:#111822;
  color:#dbe4f0;
  list-style:none;
  font:400 13px/22px var(--font-display)
}
/* With the details panel beside the sheet, the legend opens leftwards over the
   sheet, not rightwards over the panel. */
@media (min-width:1200px) {
  .ev-legend ul {
    right:0;
    left:auto
  }
}
.ev-pager {
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-left:auto;
  color:#dbe4f0;
  font:400 13px/20px var(--font-display)
}
.ev-sheet-note {
  margin:0 0 12px;
  color:#888;
  font:400 13px/18px var(--font-display)
}
.ev-pages {
  display:grid;
  gap:24px
}
.hw-page {
  margin:0;
  padding:20px 16px 24px 0;
  border-radius:4px;
  background:#fbfaf4;
  box-shadow:0 2px 0 #c9c3b2,0 14px 36px #0007;
  color:#1f3a93;
  color-scheme:light
}
.hw-head {
  display:flex;
  justify-content:space-between;
  padding:0 0 10px 64px;
  color:var(--paper-muted);
  font:400 12px/16px var(--font-display)
}
.hw-lines {
  margin:0;
  padding:0;
  list-style:none;
  border-left:2px solid #e8a3a8;
  margin-left:52px
}
.hw-line,.hw-figline {
  position:relative;
  padding:0 64px 0 12px;
  border-bottom:1px solid #c9d8ee
}
.hw-line {
  display:flow-root;
  min-height:34px;
  padding-top:6px;
  color:#1f3a93;
  font:400 17px/27px "Segoe Print","Bradley Hand","Noteworthy","Chalkboard SE","Comic Sans MS",cursive;
  letter-spacing:.01em
}
.hw-line:nth-child(3n) {
  transform:translateX(1px) rotate(-.15deg)
}
.hw-line:nth-child(4n) {
  transform:translateX(-1px) rotate(.12deg)
}
.hw-text b {
  font-weight:700
}
.hw-in {
  display:inline-block;
  padding-left:2.2em
}
.hw-in2 {
  display:inline-block;
  padding-left:5em
}
/* An inline-block so the box is as tall as its own line, not the handwriting
   font's tall content area, and stays clear of the lines above and below. */
.hw-box {
  display:inline-block;
  padding:0 4px;
  line-height:1.25;
  border:1.5px solid #1f3a93;
  border-radius:3px 6px 4px 5px
}
.hw-struck {
  text-decoration:line-through;
  text-decoration-thickness:1.5px;
  text-decoration-color:#1f3a93
}
.hw-rule {
  display:inline-block;
  width:40%;
  height:2px;
  background:#1f3a93;
  vertical-align:middle;
  transform:rotate(-.4deg)
}
.hw-pto {
  float:right;
  font-size:13px
}
.hw-margin {
  position:absolute;
  top:4px;
  right:8px
}
.hw-figline {
  padding-top:4px;
  padding-bottom:8px
}
.hw-fig {
  position:relative;
  max-width:560px
}
.hw-fig--3 {
  max-width:600px
}
.hw-fig svg {
  display:block;
  width:100%;
  height:auto
}
.hw-ink {
  stroke:#1f3a93
}
.hw-ink-text,.hw-dot {
  fill:#1f3a93;
  font-family:"Segoe Print","Bradley Hand","Noteworthy","Chalkboard SE","Comic Sans MS",cursive
}
.an-leader {
  stroke:#b42332;
  stroke-width:1.5
}
.ev.is-original .an-leader {
  display:none
}
.hw-fig-pin {
  position:absolute
}
.hw-fig-pin--q3-a2 {
  top:20%;
  left:74%;
  max-width:26%
}
.hw-fig-pin--q4-a1 {
  top:44%;
  left:68%
}
.hw-fig-pin--q4-a2 {
  top:80%;
  left:46%
}
.hw-fig-pin--q4-a3 {
  top:20%;
  left:75%;
  white-space:nowrap
}
.hw-fig-pin--q4-a4 {
  top:82%;
  left:28%
}
.an {
  color:#b42332;
  font-family:"Segoe Print","Bradley Hand","Noteworthy","Chalkboard SE","Comic Sans MS",cursive;
  border-radius:4px;
  outline-offset:2px
}
.ev.is-ready .an {
  cursor:pointer
}
.an--tick,.an--cross {
  display:inline-block;
  padding:0 3px;
  font-size:22px;
  font-weight:700;
  line-height:1;
  vertical-align:-2px
}
.an--underline {
  color:inherit;
  text-decoration:underline;
  text-decoration-color:#b42332;
  text-decoration-thickness:2px;
  text-underline-offset:4px
}
.an--circle {
  padding:2px 6px;
  border:2px solid #b42332;
  border-radius:50%;
  color:inherit
}
.an--mark {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:30px;
  height:26px;
  padding:0 6px;
  border:1.5px solid #b42332;
  border-radius:13px;
  background:#fff6ee;
  font:700 15px/1 var(--font-display)
}
.an--remark,.an--flag {
  display:inline-block;
  margin:3px 0;
  padding:1px 8px;
  border:1.5px solid #b42332;
  border-radius:8px;
  background:#fff6ee;
  font-size:13px;
  line-height:19px;
  vertical-align:1px
}
.an--flag {
  background:#fde3e0
}
.an--flag b {
  font-family:var(--font-display)
}
.an--margin {
  border-style:dashed
}
.an.is-current {
  box-shadow:0 0 0 3px #f6b7ae,0 0 14px #b4233266
}
.an:focus-visible {
  outline:3px solid #1f6feb
}
.ev.is-original .an--tick,.ev.is-original .an--cross,.ev.is-original .an--mark,.ev.is-original .an--remark,.ev.is-original .an--flag {
  visibility:hidden
}
.ev-marklist {
  margin-top:16px
}
.ev-marklist ol {
  display:grid;
  gap:6px;
  margin:8px 0 0;
  padding:0;
  list-style:none
}
.ev-markitem {
  display:flex;
  align-items:flex-start;
  gap:10px;
  width:100%;
  min-height:44px;
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:10px;
  background:transparent;
  color:var(--ink);
  font:400 15px/21px var(--font-body);
  text-align:left;
  cursor:pointer
}
.ev-markitem[aria-current="true"] {
  border-color:var(--orange);
  background:#1a1a1a
}
.ev-mark-sym {
  flex:none;
  width:1.2em;
  color:#ff6b5a;
  font-weight:700;
  text-align:center
}
.ev-mark-text {
  display:-webkit-box;
  overflow:hidden;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical
}
.ev.is-original .ev-marklist {
  display:none
}
.ev.is-original .an--underline,.ev.is-original .an--circle {
  border-color:transparent;
  text-decoration:none
}
.ev-inspector {
  min-width:0;
  padding:16px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#0b0b0b
}
.ev-q+.ev-q {
  margin-top:24px;
  padding-top:16px;
  border-top:1px solid var(--line)
}
.ev.is-ready .ev-q+.ev-q {
  margin-top:0;
  padding-top:0;
  border-top:0
}
.ev-eyebrow {
  margin:0 0 4px;
  color:#aaa;
  font:500 12px/18px var(--font-display);
  letter-spacing:.06em;
  text-transform:uppercase
}
.page-section .ev-score {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 12px;
  margin:0 0 12px;
  color:#ff8a7a;
  font:600 26px/32px var(--font-paper)
}
.ev-callout {
  display:flex;
  gap:10px;
  margin:0 0 14px;
  padding:10px 12px;
  border-left:3px solid #b42332;
  border-radius:0 8px 8px 0;
  background:#1a1012;
  color:#f3e4e2;
  font-size:15px;
  line-height:22px
}
.ev-sym {
  flex:none;
  color:#ff8a7a;
  font-weight:700
}
.ev-block {
  margin:0 0 12px
}
.ev-block p:not(.ev-label),.ev-notice p:not(.ev-label) {
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:21px
}
.ev-caveat {
  font-style:italic
}
.ev-notice {
  margin:0 0 12px;
  padding:10px 12px;
  border:1px solid #8a3a2a;
  border-radius:8px;
  background:#1a0f0c
}
.ev-notice .ev-label {
  color:#ffb4a3
}
.ev-scheme {
  margin-top:8px;
  border-top:1px solid var(--line)
}
.ev-scheme summary {
  min-height:44px;
  padding:10px 0;
  color:#fff;
  font:500 14px/24px var(--font-display);
  cursor:pointer
}
.ev-scheme summary .ds-tag {
  margin-left:4px
}
.ev-scheme ol {
  margin:0;
  padding:0;
  list-style:none
}
.ev-row {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:2px 10px;
  padding:8px 0;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:13px;
  line-height:19px
}
.ev-row-state {
  grid-column:1/-1;
  font:600 12px/16px var(--font-display)
}
.ev-row--yes .ev-row-state {
  color:#9fd8a9
}
.ev-row--no .ev-row-state {
  color:#ff8a7a
}
.ev-row--best .ev-row-state {
  color:#f0c977
}
.ev-row-marks {
  color:#fff
}
.ev-an-nav {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
  margin:12px 0 0;
  padding-top:12px;
  border-top:1px solid var(--line);
  color:#c7c7c7;
  font:400 13px/20px var(--font-display)
}
@media (max-width:1199px) {
  .ev-grid {
    grid-template-columns:minmax(0,1fr) minmax(0,19rem)
  }
  .ev-rail {
    position:static;
    grid-column:1/-1
  }
  .ev-rail ol {
    display:flex;
    gap:8px;
    overflow-x:auto
  }
  .ev-rail li {
    flex:none;
    width:13rem
  }
  .ev-rail a {
    border:1px solid var(--line)
  }
}
@media (max-width:899px) {
  .ev-grid {
    grid-template-columns:minmax(0,1fr)
  }
  .ev-inspector {
    position:static
  }
}
@media (max-width:767px) {
  .hw-lines {
    margin-left:20px
  }
  .hw-head {
    padding-left:32px
  }
  .hw-line,.hw-figline {
    padding-right:48px;
    padding-left:8px
  }
  .hw-line {
    font-size:15px;
    line-height:24px
  }
  .hw-in {
    padding-left:1em
  }
  .hw-in2 {
    padding-left:2em
  }
  .an--remark,.an--flag {
    font-size:12px;
    line-height:17px
  }
  .hw-fig-pin--q4-a3 {
    top:14%;
    left:64%
  }
  .ev-legend ul {
    position:static;
    width:auto;
    margin-top:8px
  }
  .hw-fig-pin--q3-a2 {
    position:static;
    display:block;
    max-width:none;
    margin-top:4px
  }
  .an-leader {
    display:none
  }
  .ev-pager {
    margin-left:0
  }
}

/* Demo 4: Design Studio lesson (/design-studio-demo) -------------------------- */
.dj-section {
  padding-top:48px
}
.dj[data-ready]:not(.is-teacher) .t-only,.dj.is-teacher .s-only {
  display:none
}
.dj-top {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px 24px;
  margin-bottom:20px;
  padding:16px 20px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#0b0b0b
}
.dj-top>div {
  flex:1;
  min-width:12rem
}
.dj-eyebrow {
  margin:0;
  color:#aaa;
  font:500 13px/18px var(--font-display);
  letter-spacing:.04em
}
.dj-title {
  margin:2px 0 0;
  color:#fff;
  font:600 22px/28px var(--font-display)
}
.dj-progress {
  display:flex;
  align-items:center;
  gap:10px;
  margin:0;
  color:#c7c7c7;
  font:400 14px/20px var(--font-display)
}
.dj-progress[hidden],.dj-toggle[hidden],.dj-pager[hidden],.dj-pager [hidden],.dj-stop[hidden],.dj-notebook[hidden],.dj-why-text[hidden],.dj-check-actions [hidden] {
  display:none
}
.dj-bar {
  position:relative;
  width:90px;
  height:6px;
  overflow:hidden;
  border-radius:3px;
  background:#2a2a2a
}
.dj-bar span {
  position:absolute;
  inset:0 auto 0 0;
  width:0;
  background:#3ecf6a;
  transition:width .3s
}
.dj-toggle {
  min-height:40px;
  padding:6px 16px;
  border:1px solid #5a5a5a;
  border-radius:999px;
  background:transparent;
  color:#fff;
  font:500 14px/20px var(--font-display);
  cursor:pointer
}
.dj-toggle[aria-pressed="true"] {
  border-color:#fff;
  background:#fff;
  color:#000
}
.dj-grid {
  display:grid;
  grid-template-columns:minmax(0,17rem) minmax(0,1fr);
  gap:28px;
  align-items:start
}
.dj-rail {
  position:sticky;
  top:24px
}
.dj-rail ol {
  margin:0;
  padding:0;
  list-style:none
}
.dj-rail a {
  display:flex;
  gap:12px;
  align-items:flex-start;
  min-height:48px;
  padding:10px 12px;
  border-radius:10px;
  color:#fff;
  text-decoration:none
}
.dj-rail a:hover {
  background:#141414
}
.dj-rail a[aria-current="step"] {
  background:#161616;
  box-shadow:inset 3px 0 0 var(--orange)
}
.dj-num {
  display:inline-flex;
  flex:none;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  border:1.5px solid #5a5a5a;
  border-radius:50%;
  color:#c7c7c7;
  font:600 13px/1 var(--font-display)
}
.dj-rail a[aria-current="step"] .dj-num {
  border-color:#fff;
  background:#fff;
  color:#000
}
.dj-rail a.is-done .dj-num {
  border-color:#3ecf6a;
  background:#3ecf6a;
  color:#000
}
.dj-rail-text {
  display:flex;
  flex-direction:column;
  min-width:0;
  font:500 14px/20px var(--font-display)
}
.dj-rail-meta {
  color:#aaa;
  font-weight:400;
  font-size:12px;
  line-height:16px
}
.dj-main {
  min-width:0;
  outline:none
}
.dj-stop {
  outline:none
}
.dj-stop+.dj-stop {
  margin-top:48px;
  padding-top:32px;
  border-top:1px solid var(--line)
}
.dj[data-ready] .dj-stop+.dj-stop {
  margin-top:0;
  padding-top:0;
  border-top:0
}
.page-section .dj-stop h2 {
  margin:6px 0 4px;
  font-size:30px;
  line-height:36px
}
.dj-sub {
  margin:0 0 12px;
  color:#aaa;
  font:400 14px/20px var(--font-display)
}
.dj-kicker {
  display:block;
  margin:0 0 6px;
  color:#ff924f;
  font:600 12px/16px var(--font-display);
  letter-spacing:.08em;
  text-transform:uppercase
}
.dj-goal {
  margin:0 0 20px;
  color:#e8e8e8
}
.dj-goal .dj-kicker {
  display:inline;
  margin-right:6px
}
.dj-objectives {
  margin:0 0 20px;
  padding:12px 16px;
  border:1px solid #33435a;
  border-radius:10px;
  background:#0f1520
}
.dj-objectives ul {
  margin:0;
  padding-left:20px;
  color:#dbe4f0
}
.dj-block {
  max-width:44rem;
  margin:0 0 28px
}
.dj-block h3 {
  margin:0 0 8px;
  color:#fff;
  font:600 20px/26px var(--font-display)
}
.dj-block p,.dj-block li {
  color:#e8e8e8;
  font-size:17px;
  line-height:27px
}
.dj-block p {
  margin:0 0 10px
}
.dj-block ul {
  margin:0 0 10px;
  padding-left:22px
}
.dj-block strong {
  color:#ffb480
}
.dj-teacher {
  padding:12px 16px;
  border-left:3px solid #6b9be8;
  border-radius:0 10px 10px 0;
  background:#0f1520
}
.dj-teacher p {
  margin:0;
  color:#dbe4f0;
  font-size:15px;
  line-height:23px
}
.dj-sources {
  margin-top:8px;
  color:#c7c7c7;
  font-size:14px
}
.dj-sources summary {
  min-height:36px;
  padding:6px 0;
  color:#9ec1f5;
  font:500 14px/22px var(--font-display);
  cursor:pointer
}
.dj-sources ul {
  margin:0;
  padding-left:18px
}
.dj-sources li {
  color:#c7c7c7;
  font-size:14px;
  line-height:21px
}
.dj-sources li+li {
  margin-top:6px
}
.dj-loc {
  color:#888;
  font-style:normal
}
.dj-source-doc {
  margin:0 0 28px;
  padding:4px 16px;
  border:1px solid #33435a;
  border-radius:10px;
  background:#0f1520
}
.dj-source-doc summary {
  min-height:44px;
  padding:10px 0;
  color:#fff;
  font:500 15px/24px var(--font-display);
  cursor:pointer
}
.dj-source-page h3 {
  margin:12px 0 6px;
  color:#9ec1f5;
  font:600 14px/20px var(--font-display)
}
.dj-source-page p {
  color:#dbe4f0;
  font-size:15px;
  line-height:23px
}
.dj-para {
  color:#888;
  font:600 12px/1 var(--font-display)
}
.dj-icons {
  font-size:16px
}
.dj-badges {
  margin:0 0 8px
}
.dj-badge {
  display:inline-block;
  padding:1px 10px;
  border:1px dashed #6b9be8;
  border-radius:999px;
  color:#9ec1f5;
  font:500 12px/20px var(--font-display)
}
.dj-badge--story {
  border-color:#c79be8;
  color:#dcbdf5
}
.dj-hint {
  color:#aaa;
  font:400 14px/20px var(--font-display)
}
.dj-block .dj-hint {
  font-size:14px;
  line-height:20px
}
.dj-activity {
  padding:16px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#101010
}
.dj[data-ready] .dj-act-static {
  display:none
}
.dj-notebook {
  margin-top:14px;
  padding:12px 14px;
  border-left:4px solid #3ecf6a;
  border-radius:0 10px 10px 0;
  background:#0f1a12
}
.dj-notebook p {
  margin:0 0 6px;
  font-size:16px;
  line-height:24px
}
.dj-steps {
  display:flex;
  flex-wrap:wrap;
  gap:6px 16px;
  margin:0 0 10px;
  padding:0;
  list-style:none;
  color:#777;
  font:500 13px/18px var(--font-display)
}
.dj-steps li::before {
  content:'○ ';
  content:'○ ' / ''
}
.dj-steps li.is-now {
  color:#fff
}
.dj-steps li.is-now::before {
  content:'● ';
  content:'● ' / '';
  color:var(--orange)
}
.dj-steps li.is-done {
  color:#9fd8a9
}
.dj-steps li.is-done::before {
  content:'✓ ';
  content:'✓ ' / ''
}
.dj-block .dj-status {
  min-height:28px;
  margin:0 0 10px;
  padding:6px 12px;
  border-left:3px solid var(--orange);
  border-radius:0 8px 8px 0;
  background:#1a120c;
  color:#fff;
  font-size:16px;
  line-height:24px
}
.dj-block .dj-status:empty {
  visibility:hidden
}
.dj-stage {
  padding:10px;
  border-radius:10px;
  background:#f6f3ea;
  color-scheme:light
}
.dj-stage svg {
  display:block;
  width:100%;
  max-width:560px;
  height:auto;
  margin:0 auto
}
.dj-stage .dj-hint,.dj-stage .dj-dots-title {
  margin:6px 0 0;
  color:#55524c
}
.dj-dots-title {
  font:600 13px/18px var(--font-display)
}
.dj-dots {
  max-width:420px;
  margin-top:4px;
  overflow:visible
}
.dj-dots-wrap {
  margin-top:12px;
  padding:10px;
  border-radius:10px;
  background:#f6f3ea;
  color-scheme:light
}
.dj-dots-wrap .dj-dots-title {
  margin:0;
  color:#55524c
}
.dj-dots-wrap svg {
  display:block;
  width:100%;
  height:auto
}
.dj-dots-axis {
  display:flex;
  justify-content:space-between;
  max-width:420px;
  margin:4px 0 0;
  color:#55524c;
  font:500 13px/18px var(--font-display)
}
.dj-paper-view {
  display:inline-block;
  margin-top:8px
}
.dj-panel-svg {
  width:160px!important;
  margin-top:4px;
  border-radius:6px
}
.dj-pic {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
  clip-path:inset(50%);
  white-space:nowrap
}
.dj.is-teacher .dj-pic {
  position:static;
  width:auto;
  height:auto;
  margin:8px 0 0;
  clip:auto;
  clip-path:none;
  color:#9ec1f5;
  font-size:14px;
  line-height:20px;
  white-space:normal
}
.dj-pic-label {
  font-weight:600
}
.dj-panel {
  margin-top:12px
}
.dj-block .dj-instr {
  margin:0 0 10px;
  color:#fff;
  font:600 17px/24px var(--font-display)
}
.dj-controls fieldset,.dj-check fieldset {
  min-width:0;
  margin:0 0 8px;
  padding:0;
  border:0
}
.dj-controls legend,.dj-check legend {
  margin:0 0 8px;
  padding:0;
  color:#fff;
  font:500 16px/24px var(--font-body)
}
.dj-choice {
  display:flex;
  flex-wrap:wrap;
  gap:4px 10px;
  align-items:center;
  min-height:44px;
  margin:0 0 8px;
  padding:8px 12px;
  border:1px solid #333;
  border-radius:10px;
  color:#e8e8e8;
  font-size:16px;
  cursor:pointer
}
.dj-choice:has(input:checked) {
  border-color:var(--orange);
  background:#1d140e
}
.dj-choice input {
  accent-color:var(--orange)
}
.dj-fb {
  flex-basis:100%;
  padding-left:26px;
  color:#c7c7c7;
  font-size:14px;
  line-height:20px
}
.dj[data-ready] .dj-fb {
  display:none
}
.dj[data-ready] .dj-choice.is-shown .dj-fb {
  display:block
}
.dj-choice.is-ok.is-shown .dj-fb {
  color:#9fd8a9
}
.dj-choice.is-no.is-shown .dj-fb {
  color:#ffb38a
}
.dj-cards {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin:0 0 12px
}
.dj-card {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-height:56px;
  padding:6px 8px;
  border:1px solid #444;
  border-radius:10px;
  background:#161616;
  color:#fff;
  font:500 14px/18px var(--font-display);
  cursor:pointer
}
.dj-card small {
  color:#aaa;
  font-weight:400;
  font-size:12px
}
.dj-card[aria-pressed="true"] {
  border-color:var(--orange);
  background:#1d140e
}
.dj-slider {
  display:grid;
  gap:6px;
  margin:0 0 10px
}
.dj-slider label {
  color:#e8e8e8;
  font-size:16px
}
.dj-slider input {
  width:100%;
  min-height:32px;
  accent-color:var(--orange)
}
.dj-checklist {
  margin:0 0 8px;
  padding:0;
  list-style:none;
  color:#c7c7c7;
  font-size:15px
}
.dj-checklist li.is-done {
  color:#9fd8a9
}
.dj-why {
  margin:6px 0 10px
}
.dj-why-btn {
  min-height:36px;
  padding:4px 12px;
  border:1px dashed #6b9be8;
  border-radius:999px;
  background:transparent;
  color:#9ec1f5;
  font:500 14px/20px var(--font-display);
  cursor:pointer
}
.dj-block .dj-why-text {
  margin:8px 0 0;
  color:#dbe4f0;
  font-size:15px;
  line-height:22px
}
.dj-act-buttons {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:12px 0 0
}
.dj-act-buttons .dj-btn--primary {
  flex:1 1 14rem
}
.dj-btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:8px 18px;
  border:1px solid #5a5a5a;
  border-radius:12px;
  background:transparent;
  color:#fff;
  font:500 15px/20px var(--font-display);
  text-decoration:none;
  cursor:pointer
}
.dj-btn:disabled {
  opacity:.4;
  cursor:default
}
.dj-btn--primary {
  border-color:var(--orange);
  background:var(--orange);
  color:#000
}
.dj-compare {
  width:100%;
  margin:0 0 8px;
  border-collapse:collapse;
  font-size:15px
}
.dj-compare th,.dj-compare td {
  padding:8px;
  border-bottom:1px solid var(--line);
  color:#e8e8e8;
  text-align:left
}
.dj-compare thead th {
  color:#aaa;
  font:500 13px/18px var(--font-display)
}
.dj-surprise {
  padding:0 8px;
  border-radius:999px;
  background:#3a2410;
  color:#ffb38a;
  font:600 12px/20px var(--font-display)
}
.dj-done {
  min-height:22px;
  margin:8px 0 0;
  color:#9fd8a9;
  font:500 14px/20px var(--font-display)
}
.dj-check-actions {
  margin:4px 0 0
}
.dj-verdict {
  min-height:0;
  margin:8px 0 0;
  font:600 16px/24px var(--font-display)
}
.dj-verdict.is-right {
  color:#9fd8a9
}
.dj-verdict.is-partial {
  color:#f0c977
}
.dj-verdict.is-wrong {
  color:#ffb38a
}
.dj-think label {
  display:block;
  margin:0 0 6px;
  color:#e8e8e8;
  font-size:17px;
  line-height:26px
}
.dj-think textarea {
  width:100%;
  padding:10px;
  border:1px solid #444;
  border-radius:10px;
  background:#0d0d0d;
  color:#fff;
  font:400 16px/24px var(--font-body)
}
.dj-pager {
  display:flex;
  justify-content:space-between;
  gap:8px;
  max-width:44rem;
  margin:8px 0 0;
  padding-top:16px;
  border-top:1px solid var(--line)
}
.dj-end .dj-compare {
  max-width:44rem
}
.dj-beam {
  fill:#ffe9a6;
  opacity:.45
}
.dj-torch {
  fill:#3b3b3b
}
.dj-bulb {
  fill:#ffcc33
}
.dj-wall {
  fill:#ffffff;
  stroke:#c9c3b2
}
.dj-shadow {
  fill:#3a3530
}
.dj-star {
  fill:#e0901f
}
.dj-sheet--clear {
  fill:#bfe3f2;
  fill-opacity:.35;
  stroke:#7fb4cc
}
.dj-sheet--blurred {
  fill:#f3ecd8;
  fill-opacity:.85;
  stroke:#c9bd9a
}
.dj-sheet--none {
  fill:#8a6a48;
  stroke:#5e4630
}
.dj-svg-label {
  fill:#3d3a35;
  font:500 11px var(--font-display)
}
.dj-svg-small {
  fill:#55524c;
  font:400 9px var(--font-display)
}
.dj-track {
  stroke:#9a9384;
  stroke-width:2
}
.dj-dark {
  fill:#f6f3ea;
  opacity:.85
}
.dj-ray {
  stroke:#e0901f;
  stroke-width:1.5;
  stroke-dasharray:5 4
}
.dj-card-shape {
  fill:#7a5a3a
}
.dj-ref {
  stroke:#9a9384;
  stroke-dasharray:4 4
}
.dj-dot {
  fill:#ff5800
}
.dj-box {
  fill:#e9e2cf;
  stroke:#9a9384
}
.dj-box-wall {
  stroke:#5e5848;
  stroke-width:3
}
.dj-paper {
  fill:#fffbe8;
  stroke:#c9bd9a
}
.dj-candle,.dj-img-body {
  fill:#efe6c8;
  stroke:#c9bd9a
}
.dj-saucer {
  fill:#c9c3b2
}
.dj-wick {
  stroke:#3b3b3b;
  stroke-width:1.5
}
.dj-flame,.dj-img-flame {
  fill:#ffb21f
}
.dj-panel-bg {
  fill:#2a2622
}
@media (max-width:1023px) {
  .dj-grid {
    grid-template-columns:minmax(0,1fr)
  }
  .dj-rail {
    position:static
  }
  .dj[data-ready] .dj-rail ol {
    display:flex;
    gap:8px;
    overflow-x:auto;
    padding-bottom:4px
  }
  .dj[data-ready] .dj-rail li {
    flex:none;
    width:12rem
  }
  .dj[data-ready] .dj-rail a {
    border:1px solid var(--line)
  }
}
@media (max-width:767px) {
  .dj-cards {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .dj-activity {
    padding:12px
  }
  .page-section .dj-stop h2 {
    font-size:26px;
    line-height:32px
  }
}

.hero-demo-link {
  margin-top:12px
}

/* Demo 5: question paper generator (/paper-generator-demo) ------------------- */
.pg-section {
  padding-top:48px
}
.pg-top {
  display:flex;
  flex-wrap:wrap;
  align-items:flex-end;
  justify-content:space-between;
  gap:8px 24px;
  margin-bottom:16px;
  padding-bottom:16px;
  border-bottom:1px solid var(--line)
}
.page-section .pg-top h2 {
  margin:0;
  font-size:28px;
  line-height:34px
}
.pg-bank {
  margin:0;
  color:#c7c7c7;
  font:400 14px/20px var(--font-display)
}
.pg-bank strong {
  color:#9fd8a9
}
.pg-steps {
  display:flex;
  flex-wrap:wrap;
  gap:6px 18px;
  margin:0 0 20px;
  padding:0;
  list-style:none;
  counter-reset:pg;
  color:#777;
  font:500 14px/20px var(--font-display)
}
.pg-steps li {
  counter-increment:pg
}
.pg-steps li::before {
  content:counter(pg) '. '
}
.pg-steps li.is-now {
  color:#fff
}
.pg-steps li.is-done {
  color:#9fd8a9
}
.pg-steps[hidden],.pg-body[hidden],.pg-step[hidden],.pg-problem[hidden],.pg-alts[hidden] {
  display:none
}
.pg-step {
  max-width:52rem;
  padding:24px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#0b0b0b
}
.page-section .pg-step h3 {
  margin:0 0 16px;
  font-size:22px;
  line-height:28px;
  outline:none
}
.pg-field {
  margin:0 0 18px;
  padding:0;
  border:0
}
.pg-field legend,.pg-select {
  margin:0 0 8px;
  padding:0;
  color:#aaa;
  font:600 12px/18px var(--font-display);
  letter-spacing:.06em;
  text-transform:uppercase
}
.pg-select {
  display:flex;
  flex-direction:column;
  gap:6px
}
.pg-select select,.pg-rows input {
  min-height:40px;
  padding:6px 10px;
  border:1px solid #4a4a4a;
  border-radius:8px;
  background:#0d0d0d;
  color:#fff;
  font:400 15px/22px var(--font-body);
  text-transform:none;
  letter-spacing:0
}
.pg-select select {
  max-width:16rem
}
.pg-rows input {
  width:5rem
}
.pg-chip {
  display:inline-block;
  margin:0;
  padding:6px 14px;
  border:1px solid var(--orange);
  border-radius:999px;
  color:#ff924f;
  font:500 14px/20px var(--font-display)
}
.pg-pill {
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:44px;
  margin:0 8px 8px 0;
  padding:6px 14px;
  border:1px solid #444;
  border-radius:999px;
  color:#e8e8e8;
  font:500 15px/20px var(--font-display);
  cursor:pointer
}
.pg-pill:has(input:checked) {
  border-color:var(--orange);
  background:#1d140e
}
.pg-pill input,.pg-check input {
  accent-color:var(--orange)
}
.pg-check {
  display:flex;
  align-items:center;
  gap:10px;
  min-height:40px;
  color:#e8e8e8;
  font-size:16px
}
.pg-check input {
  flex:none
}
.pg-check-text {
  min-width:0;
  padding:6px 0;
  line-height:24px
}
.pg-note {
  color:#aaa;
  font:400 13px/19px var(--font-display);
  text-transform:none;
  letter-spacing:0
}
.pg-err {
  min-height:20px;
  margin:0;
  color:#ffb38a;
  font:500 14px/20px var(--font-display)
}
.pg-actions {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:16px 0 0
}
.pg-samples {
  margin:0 0 16px
}
.pg-samples>div {
  display:flex;
  flex-wrap:wrap;
  gap:8px
}
.pg-rows {
  width:100%;
  margin:0 0 18px;
  border-collapse:collapse
}
.pg-rows th,.pg-rows td {
  padding:8px;
  border-bottom:1px solid var(--line);
  color:#e8e8e8;
  font-size:15px;
  text-align:left
}
.pg-rows thead th {
  color:#aaa;
  font:500 13px/18px var(--font-display)
}
.pg-rows tfoot th,.pg-rows tfoot td {
  color:#fff;
  font-weight:600
}
.pg-summary {
  margin:0 0 16px;
  padding-left:20px;
  color:#e8e8e8
}
.pg-summary li+li {
  margin-top:6px
}
.pg-problem {
  margin:12px 0 0;
  padding:12px 14px;
  border-left:3px solid #ff8a5a;
  border-radius:0 8px 8px 0;
  background:#1a110c
}
.pg-problem p {
  margin:0;
  color:#ffd9c4
}
.pg-code {
  margin-left:8px;
  color:#aaa;
  font:400 14px/20px ui-monospace,Consolas,monospace
}
.pg-checks {
  margin:0 0 16px;
  padding:4px 12px;
  border:1px solid #2f4a36;
  border-radius:10px;
  background:#0d150f
}
.pg-checks summary {
  min-height:40px;
  padding:8px 0;
  color:#9fd8a9;
  font:600 15px/24px var(--font-display);
  cursor:pointer
}
.pg-checks ul {
  margin:0 0 8px;
  padding:0;
  list-style:none
}
.pg-checks li {
  padding:3px 0;
  color:#e8e8e8;
  font-size:15px
}
.pg-checks li.is-bad {
  color:#ffb38a
}
.pg-cards {
  margin:0;
  padding:0;
  list-style:none
}
.pg-card {
  padding:14px 0;
  border-top:1px solid var(--line)
}
.pg-card-meta {
  margin:0 0 6px;
  color:#aaa;
  font:500 13px/18px var(--font-display)
}
.pg-card-meta strong {
  color:#ff924f
}
.pg-card-stem {
  color:#e8e8e8;
  font-size:16px;
  line-height:25px
}
.pg-card-actions {
  margin:8px 0 0
}
.pg-alts {
  margin-top:10px;
  padding:10px 12px;
  border:1px dashed #555;
  border-radius:10px
}
.pg-alts ul {
  margin:0;
  padding:0;
  list-style:none
}
.pg-alts li {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:8px 0;
  border-top:1px solid var(--line);
  color:#e8e8e8
}
.pg-or {
  margin:8px 0;
  color:#ff924f;
  font:600 14px/20px var(--font-display);
  text-align:center
}
.pg-docs {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 8px
}
.pg-doc {
  margin-top:12px;
  padding:32px;
  border-radius:6px;
  background:#fff;
  color:#1a1a1a;
  font:400 15px/24px var(--font-paper);
  color-scheme:light
}
.pg-doc p,.pg-doc li,.pg-doc td,.pg-doc th,.pg-doc h4,.pg-doc strong {
  color:#1a1a1a
}
.pg-doc-head {
  margin:0 0 16px;
  padding-bottom:12px;
  border-bottom:1.5px solid #1a1a1a;
  text-align:center
}
.pg-doc-head p {
  margin:0
}
.pg-school {
  font-weight:700;
  font-size:18px
}
.pg-meta {
  display:flex;
  justify-content:space-between;
  margin-top:8px!important
}
.pg-code-line {
  color:var(--paper-muted)!important;
  font:400 11px/16px ui-monospace,Consolas,monospace
}
.pg-instr h4,.pg-sec {
  margin:16px 0 8px;
  font:700 15px/22px var(--font-paper);
  text-align:center
}
.pg-instr h4 {
  text-align:left
}
.pg-instr ol {
  margin:0 0 8px;
  padding-left:20px
}
.pg-q {
  display:grid;
  grid-template-columns:2.2em minmax(0,1fr) auto;
  gap:4px;
  margin:10px 0
}
.pg-marks {
  color:#555;
  white-space:nowrap
}
.pg-opts {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:2px 16px;
  margin:6px 0 0;
  padding-left:24px
}
.pg-match {
  margin:6px 0;
  border-collapse:collapse
}
.pg-match th,.pg-match td {
  padding:3px 12px 3px 0;
  text-align:left
}
.pg-ans,.pg-points,.pg-sol {
  margin:2px 0 8px 2.4em;
  padding:6px 10px;
  border-left:3px solid #b9c7e6;
  background:#f3f6fc
}
.pg-points ul {
  margin:4px 0 0;
  padding-left:18px
}
.pg-doc-foot {
  margin-top:20px;
  padding-top:8px;
  border-top:1px solid #ccc;
  color:var(--paper-muted);
  font:400 11px/16px ui-monospace,Consolas,monospace
}
.pg-bank-list {
  margin-top:28px;
  border-top:1px solid var(--line)
}
.pg-bank-list summary {
  min-height:44px;
  padding:10px 0;
  color:#fff;
  font:500 15px/24px var(--font-display);
  cursor:pointer
}
.pg-bank-list ol {
  margin:0;
  padding-left:20px;
  color:var(--muted)
}
.pg-bank-list li {
  padding:6px 0;
  border-top:1px solid var(--line)
}
.pg-tag {
  display:block;
  color:#aaa;
  font:500 12px/18px var(--font-display)
}
@media (max-width:767px) {
  .pg-step {
    padding:16px
  }
  .pg-doc {
    padding:16px
  }
  .pg-opts {
    grid-template-columns:minmax(0,1fr)
  }
  .pg-rows th,.pg-rows td {
    padding:6px 4px;
    font-size:14px
  }
}
@media print {
  body.pg-printing * {
    visibility:hidden
  }
  body.pg-printing .pg-doc,body.pg-printing .pg-doc * {
    visibility:visible
  }
  body.pg-printing .pg-doc {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    margin:0;
    padding:0
  }
}

.pg-opts {
  list-style:none;
  counter-reset:pgopt
}
.pg-opts li {
  counter-increment:pgopt
}
.pg-opts li::before {
  content:"(" counter(pgopt, lower-alpha) ") "
}

/* Demo 6: teacher companion (/teacher-companion-demo) ------------------------- */
.tc-section {
  padding-top:48px
}
.tc-pick {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 20px
}
.tc-pick[hidden],.tc-doubt[hidden],.tc-controls[hidden],.tc-hint-actions[hidden],.tc-voice-note[hidden],.tc-caption[hidden],.tc-page[hidden],.tc-hint-list li[hidden] {
  display:none
}
.page-section .tc-doubt-title {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 12px;
  margin:0 0 12px;
  font-size:26px;
  line-height:32px
}
.tc-subj {
  padding:2px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  color:#c7c7c7;
  font:500 13px/18px var(--font-display)
}
.tc-msg {
  max-width:34rem;
  margin:0 0 16px auto;
  padding:12px 16px;
  border-radius:18px 18px 4px 18px;
  background:#1f1f1f;
  color:#fff;
  font:400 16px/24px var(--font-body)
}
.tc-hints {
  margin:0 0 20px;
  padding:14px 16px;
  border:1px dashed #555;
  border-radius:12px
}
.tc-hints-head {
  margin:0 0 8px;
  color:#e8e8e8;
  font-size:15px
}
.tc-hint-list {
  margin:0 0 8px;
  padding-left:22px;
  color:#e8e8e8
}
.tc-hint-list li+li {
  margin-top:6px
}
.tc-hint-actions {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0
}
.tc-stage {
  padding:14px;
  border-radius:16px;
  background:#efe9db;
  color:#1c1b18;
  color-scheme:light
}
.tc-label {
  margin:0 0 12px;
  padding:6px 12px;
  border-radius:8px;
  background:#1c1b18;
  color:#fff;
  font:400 13px/19px var(--font-display)
}
.tc-label strong {
  color:#ffd27a;
  font-weight:600
}
.tc-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,13rem);
  gap:14px;
  align-items:start
}
.tc-board {
  position:relative;
  min-width:0;
  padding:18px 20px;
  border:2px solid #ddd5c3;
  border-radius:14px;
  background:#fff;
  box-shadow:0 1px 2px #0000000f,0 8px 24px #0000001a
}
.tc-question {
  margin:0 0 14px;
  padding:10px 14px;
  border-left:6px solid #2c5aa8;
  border-radius:0 10px 10px 0;
  background:#f7f4ec
}
.tc-question p,.tc-question li {
  margin:0;
  color:#1c1b18;
  font-size:15px;
  line-height:23px
}
.tc-q-kicker {
  color:#4a463d!important;
  font:600 12px/18px var(--font-display)!important;
  letter-spacing:.06em;
  text-transform:uppercase
}
.tc-q-opts {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 16px;
  margin:4px 0 0;
  padding-left:22px
}
.tc-page+.tc-page {
  margin-top:20px;
  padding-top:16px;
  border-top:1px solid #ddd5c3
}
.tc.is-ready .tc-page+.tc-page,.tc-doubt.is-ready .tc-page+.tc-page {
  margin-top:0;
  padding-top:0;
  border-top:0
}
.tc-page-title {
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 12px;
  color:#1c1b18;
  font:700 22px/28px var(--font-display)
}
.tc-page-num {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:32px;
  height:32px;
  border-radius:50%;
  background:#1c1b18;
  color:#fff;
  font:700 15px/1 var(--font-display)
}
.tc-items {
  display:grid;
  gap:10px
}
.tc-item {
  margin:0;
  color:#1c1b18;
  font-size:18px;
  line-height:28px;
  transition:opacity .5s cubic-bezier(.2,.7,.2,1),transform .5s cubic-bezier(.2,.7,.2,1)
}
.tc-item--eq {
  font:500 20px/30px var(--font-paper)
}
.tc-item--svg svg {
  display:block;
  width:100%;
  max-width:480px;
  height:auto
}
.tc-item--answer {
  padding:12px 16px;
  border-left:14px solid #1f7a46;
  border-radius:8px;
  background:#dff1e5;
  font-weight:700
}
.tc-answer-label {
  display:block;
  color:#1f7a46;
  font:700 12px/16px var(--font-display);
  letter-spacing:.06em;
  text-transform:uppercase
}
.tc-narr {
  margin:12px 0 0;
  color:#4a463d;
  font-size:14px;
  line-height:21px;
  font-style:italic
}
.tc-narr-label {
  font-style:normal;
  font-weight:600
}
.tc-doubt.is-ready .tc-narr {
  display:none
}
.tc-doubt.is-ready .tc-item:not(.is-in) {
  opacity:0;
  transform:translateY(6px)
}
.tc-doubt.is-ready svg [data-cue]:not(.is-in) {
  opacity:0
}
.tc-doubt.is-ready svg [data-cue] {
  transition:opacity .5s
}
.tc-page.is-dim .tc-item.is-in:not(.is-focus) {
  opacity:.72
}
.tc-ring {
  position:absolute;
  z-index:2;
  border:4px dashed #e2a72e;
  border-radius:10px;
  background:#e2a72e29;
  opacity:0;
  pointer-events:none;
  transition:left .35s cubic-bezier(.3,1.4,.5,1),top .35s cubic-bezier(.3,1.4,.5,1),width .35s,height .35s,opacity .3s
}
.tc-ring.is-on {
  opacity:1
}
.tc-rail {
  margin:0;
  padding:10px;
  border:2px solid #ddd5c3;
  border-radius:14px;
  background:#fff;
  list-style:none
}
.tc-rail li+li {
  margin-top:6px
}
.tc-rail button {
  position:relative;
  display:flex;
  align-items:center;
  gap:8px;
  width:100%;
  min-height:40px;
  padding:6px 10px;
  overflow:hidden;
  border:0;
  border-radius:8px;
  background:#f7f4ec;
  color:#1c1b18;
  font:500 14px/18px var(--font-display);
  text-align:left;
  cursor:pointer
}
.tc-rail button:disabled {
  cursor:default
}
.tc-rail-fill {
  position:absolute;
  inset:0 auto 0 0;
  z-index:0;
  width:var(--fill,0%);
  background:#e2a72e55;
  transition:width .3s
}
.tc-rail-num {
  position:relative;
  z-index:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:22px;
  height:22px;
  border-radius:50%;
  background:#1c1b18;
  color:#fff;
  font:700 12px/1 var(--font-display)
}
.tc-rail button[aria-current="step"] {
  outline:2px solid #e2a72e
}
.tc-rail-answer {
  padding:8px 10px;
  border-radius:999px;
  background:#ece6d6;
  color:#4a463d;
  font:600 14px/18px var(--font-display);
  text-align:center
}
.tc-rail-answer.is-on {
  background:#1f7a46;
  color:#fff
}
.tc-caption {
  min-height:48px;
  margin:12px 0 0;
  padding:10px 14px;
  border-radius:10px;
  background:#1c1b18;
  color:#fff;
  font:400 17px/26px var(--font-body)
}
.tc-controls {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:12px 0 0
}
.tc-controls .rv-btn {
  border-color:#4a463d;
  background:#fff;
  color:#1c1b18
}
.tc-controls .rv-btn--primary {
  border-color:#1c1b18;
  background:#1c1b18;
  color:#fff
}
.tc-controls .rv-btn[aria-pressed="true"] {
  border-color:#a3451c;
  color:#a3451c
}
.tc-controls .rv-btn:disabled {
  opacity:.45
}
.tc-voice-note {
  margin:8px 0 0;
  color:#4a463d;
  font:400 13px/19px var(--font-display)
}
.tc-written {
  max-width:46rem;
  margin:24px 0 48px
}
.page-section .tc-written h3 {
  margin:0 0 8px;
  font-size:20px;
  line-height:26px
}
.tc-written p,.tc-written li {
  color:#e8e8e8;
  font-size:16px;
  line-height:25px
}
.tc-written ol {
  margin:0 0 10px;
  padding-left:22px
}
.tc-written li+li {
  margin-top:6px
}
.tc-final {
  margin:0 0 10px;
  padding:8px 12px;
  border-left:4px solid #3ecf6a;
  background:#0f1a12
}
.tc-trap {
  padding:8px 12px;
  border-left:4px solid var(--orange);
  background:#1a120c
}
.tc-practice summary {
  min-height:44px;
  padding:10px 0;
  color:#fff;
  font:500 15px/24px var(--font-display);
  cursor:pointer
}
@media (max-width:899px) {
  .tc-layout {
    grid-template-columns:minmax(0,1fr)
  }
  .tc-rail {
    display:flex;
    flex-wrap:wrap;
    gap:6px
  }
  .tc-rail li+li {
    margin-top:0
  }
  .tc-rail button {
    width:auto
  }
}
@media (max-width:767px) {
  .tc-stage {
    padding:10px
  }
  .tc-board {
    padding:14px
  }
  .tc-item {
    font-size:16px;
    line-height:25px
  }
  .tc-item--eq {
    font-size:17px
  }
  .tc-q-opts {
    grid-template-columns:minmax(0,1fr)
  }
}
@media (prefers-reduced-motion:reduce) {
  .tc-item,.tc-ring,.tc-rail-fill,.tc-doubt.is-ready svg [data-cue] {
    transition:none
  }
}

/* Layout polish ------------------------------------------------------------------
   Focus rings (3px + 3px offset) need room inside horizontal scrollers. */
@media(max-width:1023px) {
  .ds[data-ready] .ds-list,.ev-rail ol,.dj[data-ready] .dj-rail ol {
    margin:-6px;
    padding:6px
  }
}
.tc-controls .rv-btn {
  min-width:44px
}
/* Phones: wrapped secondary links keep the arrow after the last word, and small
   controls get a 44px tap target. */
@media(max-width:767px) {
  .link-secondary {
    display:inline-block;
    padding-block:10px
  }
  .link-secondary::after {
    margin-left:12px
  }
  .status-foot a {
    padding-block:13px
  }
  .countdown-status {
    text-wrap:balance
  }
  .rv-filters label {
    flex:1 1 140px
  }
  .rv-filters select {
    width:100%
  }
  .rv-filters select,.rv-note,.dj-toggle,.tc-rail button,.ev-seg button,.ev-tool,.dj-sources summary,.pg-select select {
    min-height:44px
  }
  .ev-tool {
    min-width:44px
  }
  .ds-icon,.ds-send {
    width:44px;
    height:44px
  }
}
@media(max-width:559px) {
  /* "Play again" is too wide to share a row with ‹ Replay step ›. */
  .tc-controls [data-play] {
    flex:1 1 100%
  }
}

/* /institutions: status reel in the hero (source: src/illustrations/status-reel.css) */
/* /institutions hero card: the status reel (src/illustrations/status-reel.mjs) ----
   The markup is the finished state. /illustrations/status-reel.js adds .is-live,
   moves .is-on and .is-active between scenes, descriptions and rows, sets .is-auto
   while the reel plays itself and .is-held while it is off screen.
   Everything is namespaced to .sr. */
.sr {
  --sr-spring:cubic-bezier(.2,.9,.3,1.12);
  --sr-red:#b5432a
}
@supports (transition-timing-function:linear(0,1)) {
  .sr {
    --sr-spring:linear(0,0.054,0.182,0.342,0.507,0.657,0.784,0.884,0.957,1.006,1.036,1.05,1.054,1.051,1.044,1.036,1.027,1.019,1.012,1.006,1.002,1,0.998,0.997,0.997,0.997,0.998,0.998,1)
  }
}
.sr .sr-cap {
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:2px 16px;
  margin-bottom:14px;
  padding-bottom:0;
  border-bottom:0
}

/* The window: cut into the card, so the page's black and its orange arc show
   through. Paper specimens sit in it. */
.sr .sr-stage {
  position:relative;
  height:228px;
  margin-inline:-8px;
  border-radius:14px;
  background:#0a0908;
  box-shadow:0 1px 0 #fffc,0 -1px 0 #0000001f;
  overflow:hidden;
  isolation:isolate;
  color-scheme:dark
}
.sr .sr-stage::before {
  content:'';
  position:absolute;
  z-index:-1;
  width:640px;
  height:640px;
  top:-510px;
  right:-500px;
  border:1px solid #ffb480;
  border-radius:50%;
  background:radial-gradient(circle at 70% 30%,#000 55%,#1a0802 74%,#5a1d02 91%,#a33d06 100%);
  box-shadow:-8px 6px 20px 4px #ff5800,-22px 16px 64px 12px #ff580055
}
.sr .sr-stage::after {
  content:'';
  position:absolute;
  inset:0;
  border-radius:inherit;
  box-shadow:inset 0 3px 10px #000,inset 0 0 0 1px #000a;
  pointer-events:none
}
.sr .sr-defs {
  position:absolute
}
.sr .sr-scenes {
  position:absolute;
  inset:0 0 40px
}
.sr .sr-scene {
  position:absolute;
  inset:0;
  display:grid;
  align-items:center;
  padding:18px 20px 2px;
  visibility:hidden;
  opacity:0
}
.sr .sr-scene.is-on {
  visibility:visible;
  opacity:1
}
.sr-scene p {
  margin:0;
  color:inherit
}
.sr .sr-sheet {
  border-radius:6px;
  background:#fbfaf6;
  color:var(--paper-ink);
  box-shadow:0 10px 26px #000b
}
.sr .sr-kicker {
  color:#7b291b;
  font:600 11px/16px var(--font-display);
  letter-spacing:.12em;
  text-transform:uppercase
}

/* Scene: Content Auditor. A page, one phrase ringed, the suggestion beside it. */
.sr .sr-s-audit {
  grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)
}
.sr .sr-a-page {
  padding:14px 16px 16px;
  transform:rotate(-1.5deg)
}
.sr .sr-a-head {
  margin-bottom:6px;
  font:700 13px/18px var(--font-paper)
}
.sr .sr-a-text {
  font:400 13px/21px var(--font-paper)
}
.sr .sr-ringed {
  position:relative;
  margin-inline:6px;
  white-space:nowrap
}
/* The ring overhangs the word by 6px a side, into the margin above, so it passes
   through the spaces and not the neighbouring words. */
.sr .sr-ring {
  position:absolute;
  top:-4px;
  left:-6px;
  width:calc(100% + 12px);
  max-width:none;
  height:calc(100% + 8px);
  overflow:visible
}
.sr .sr-ring ellipse {
  fill:none;
  stroke:var(--orange);
  stroke-width:1.8;
  stroke-dasharray:1;
  stroke-dashoffset:0
}
/* The note laps the page's right margin, never its text. */
.sr .sr-a-note {
  position:relative;
  z-index:1;
  margin-left:-12px;
  padding:10px 12px 11px;
  border-left:3px solid var(--orange);
  border-radius:8px;
  background:#fff;
  color:var(--paper-ink);
  box-shadow:0 14px 30px #000c;
  transform:rotate(1deg)
}
.sr .sr-a-fix {
  font:700 16px/22px var(--font-paper)
}
.sr .sr-a-chips {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:7px
}
.sr .sr-a-chips span {
  padding:1px 8px;
  border:1px solid #cfc8b9;
  border-radius:999px;
  color:#3d3a35;
  font:500 11px/18px var(--font-display)
}
.sr .sr-a-who {
  margin-top:6px;
  color:#5c5953;
  font:italic 400 12px/16px var(--font-display)
}

/* Scene: Design Studio. A chapter dealt out as three activity tiles. */
.sr .sr-s-studio {
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  padding-inline:24px
}
.sr .sr-tile {
  display:grid;
  align-content:start;
  gap:9px;
  min-height:124px;
  padding:11px 12px 12px
}
.sr .sr-tile:nth-child(1) {
  transform:rotate(-3deg) translateY(4px)
}
.sr .sr-tile:nth-child(2) {
  position:relative;
  z-index:1;
  transform:translateY(-5px)
}
.sr .sr-tile:nth-child(3) {
  transform:rotate(3deg) translateY(4px)
}
.sr .sr-lines {
  display:grid;
  gap:6px;
  padding-block:3px
}
.sr .sr-lines span {
  height:2px;
  border-radius:2px;
  background:#bdb5a3
}
.sr .sr-lines span:last-child {
  width:60%
}
.sr .sr-t-cap {
  color:#5c5953;
  font:italic 400 12px/16px var(--font-paper)
}
.sr .sr-mags {
  display:flex;
  align-items:center;
  gap:8px;
  min-height:20px
}
.sr .sr-mags--snap {
  gap:0
}
.sr .sr-mag {
  display:inline-flex;
  overflow:hidden;
  border-radius:2px;
  color:#fff;
  font:600 11px/20px var(--font-display)
}
.sr .sr-mag span {
  width:16px;
  text-align:center
}
.sr .sr-ps {
  background:#55524c
}
.sr .sr-pn {
  background:var(--sr-red)
}
.sr .sr-q {
  color:#5c5953;
  font:600 13px/20px var(--font-display)
}

/* Scene: the AI tutor. The ways a doubt can arrive, then a photographed one,
   read and answered from the institution's own book. */
.sr .sr-s-doubt {
  --sr-rule:21px;
  grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);
  align-content:center;
  gap:12px 20px;
  padding-inline:28px
}
.sr .sr-modes {
  display:flex;
  grid-column:1/-1;
  flex-wrap:wrap;
  gap:6px
}
.sr .sr-modes span {
  padding:1px 10px;
  border:1px solid #e9e4d680;
  border-radius:999px;
  color:#e9e4d6;
  font:500 11px/18px var(--font-display);
  letter-spacing:.02em
}
.sr .sr-modes .is-on {
  border-color:var(--orange);
  background:var(--orange);
  color:#000
}
.sr .sr-photo {
  position:relative;
  padding:calc(var(--sr-rule) - 7px) 14px var(--sr-rule);
  border-radius:3px;
  background:#fbfaf6 repeating-linear-gradient(transparent 0 calc(var(--sr-rule) - 1px),#cfd8e6 calc(var(--sr-rule) - 1px) var(--sr-rule));
  color:#1d2b4a;
  box-shadow:0 10px 26px #000b;
  font:italic 400 14px/var(--sr-rule) var(--font-paper);
  transform:rotate(-3deg)
}
.sr .sr-c {
  position:absolute;
  width:13px;
  height:13px;
  border:2px solid var(--orange)
}
.sr .sr-c1 {
  top:-6px;
  left:-6px;
  border-right:0;
  border-bottom:0
}
.sr .sr-c2 {
  top:-6px;
  right:-6px;
  border-bottom:0;
  border-left:0
}
.sr .sr-c3 {
  bottom:-6px;
  left:-6px;
  border-top:0;
  border-right:0
}
.sr .sr-c4 {
  right:-6px;
  bottom:-6px;
  border-top:0;
  border-left:0
}
.sr .sr-scan {
  position:absolute;
  inset:0;
  overflow:hidden;
  border-radius:3px;
  opacity:0;
  pointer-events:none
}
.sr .sr-scan::before {
  content:'';
  position:absolute;
  inset:0;
  border-bottom:2px solid var(--orange);
  background:linear-gradient(180deg,transparent calc(100% - 44px),#ff580038);
  transform:translateY(-100%)
}
.sr .sr-reply {
  padding:11px 14px 12px;
  border-radius:14px 14px 14px 4px;
  background:#fbfaf6;
  color:var(--paper-ink);
  box-shadow:0 12px 28px #000c;
  font:400 14px/21px var(--font-body)
}
.sr .sr-reply strong {
  font-weight:600
}
.sr .sr-chip {
  display:inline-block;
  margin-top:7px;
  padding:1px 9px;
  border-radius:999px;
  background:#e9e4d6;
  color:#3d3a35;
  font:500 11px/18px var(--font-display)
}

/* Scenes for what is still being made. The same desk, other materials: drafts on
   graph paper marked in pencil, and a chalkboard, where the three offerings above
   are finished pages marked in orange. Each shows what the product does, using
   the sample content of its own demo. */
.sr .sr-graph {
  background-color:#fbfaf6;
  background-image:linear-gradient(#1d2b4a12 1px,transparent 1px),linear-gradient(90deg,#1d2b4a12 1px,transparent 1px);
  background-size:14px 14px
}
.sr .sr-kicker--pencil {
  color:#55524c
}
.sr .sr-ring--pencil ellipse {
  stroke:#55524c;
  stroke-width:1.6
}

/* Scene: question bank and papers. Questions in the book become a paper and its key. */
.sr .sr-s-bank {
  grid-template-columns:minmax(0,1fr) 30px minmax(0,1.2fr);
  gap:8px;
  padding-inline:22px
}
.sr .sr-q-book {
  padding:11px 12px 12px;
  transform:rotate(-2deg)
}
.sr .sr-q-stem {
  position:relative;
  display:-webkit-box;
  margin-top:7px;
  padding-left:24px;
  overflow:hidden;
  font:400 12px/17px var(--font-paper);
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2
}
.sr .sr-q-n {
  position:absolute;
  top:0;
  left:0;
  width:17px;
  height:17px;
  border:1.5px solid #55524c;
  border-radius:50%;
  color:#55524c;
  font:600 11px/14px var(--font-display);
  text-align:center
}
.sr .sr-q-arrow {
  width:30px;
  max-width:none;
  height:auto;
  overflow:visible
}
.sr .sr-q-arrow path {
  fill:none;
  stroke:#e9e4d6;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
  stroke-dasharray:1;
  stroke-dashoffset:0
}
.sr .sr-q-out {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  transform:rotate(1.5deg)
}
.sr .sr-q-paper {
  position:relative;
  z-index:1;
  padding:11px 12px 12px
}
.sr .sr-q-title {
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:0 8px;
  padding-bottom:5px;
  border-bottom:1px solid #cfc8b9;
  font:700 12px/17px var(--font-paper)
}
.sr .sr-q-title span {
  color:#5c5953;
  font:500 11px/17px var(--font-display)
}
.sr .sr-q-item {
  display:-webkit-box;
  margin-top:6px;
  overflow:hidden;
  font:400 12px/17px var(--font-paper);
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2
}
.sr .sr-q-opts {
  display:flex;
  gap:12px;
  margin-top:1px;
  padding-left:14px;
  color:#5c5953;
  font:400 11px/16px var(--font-paper)
}
/* The key is a slip tucked under the foot of the paper. */
.sr .sr-q-key {
  justify-self:end;
  margin:-7px 12px 0 0;
  padding:8px 11px 5px;
  border-radius:0 0 6px 6px;
  background:#ece5d3;
  color:var(--paper-ink);
  box-shadow:0 8px 18px #000a;
  font:400 12px/17px var(--font-paper)
}
.sr .sr-q-key .sr-kicker {
  margin-right:7px
}

/* Scene: handwritten answer evaluation. A line of the answer, the scheme, the reason. */
.sr .sr-s-marks {
  --sr-rule:21px;
  grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);
  gap:20px;
  padding-inline:26px
}
.sr .sr-e-sheet {
  transform:rotate(-2deg)
}
.sr .sr-e-sheet sub {
  font-size:.7em;
  line-height:0
}
.sr .sr-e-remark {
  display:inline-block;
  margin-left:8px;
  color:var(--sr-red);
  font-weight:700;
  transform:rotate(-5deg)
}
.sr .sr-e-scheme {
  padding:11px 12px 12px;
  transform:rotate(1.2deg)
}
.sr .sr-e-scheme sub {
  font-size:.7em;
  line-height:0
}
.sr .sr-e-row {
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:10px;
  margin-top:6px;
  padding-bottom:6px;
  border-bottom:1px dashed #b9b1a0;
  font:400 12px/17px var(--font-paper)
}
.sr .sr-e-row b {
  font:600 13px/17px var(--font-display)
}
.sr .sr-e-given {
  margin-top:6px;
  color:#3d3a35;
  font:italic 400 12px/17px var(--font-paper)
}
.sr .sr-e-given b {
  margin-right:7px;
  padding:1px 6px;
  border-radius:4px;
  background:#f2dcd2;
  color:#7b291b;
  font:600 12px/17px var(--font-display);
  white-space:nowrap
}

/* Scene: teacher AI companion. One step of a doubt, worked on a board in chalk. */
.sr .sr-s-board {
  justify-items:center;
  padding-inline:24px
}
.sr .sr-board {
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,.82fr) minmax(0,1fr);
  gap:14px;
  align-items:center;
  width:min(100%,430px);
  padding:12px 16px 12px 12px;
  border:5px solid #b89b6a;
  border-radius:8px;
  background:#1e372d;
  color:#f3efe6;
  box-shadow:inset 0 0 0 1px #0007,inset 0 0 30px #0007,0 12px 28px #000c;
  transform:rotate(-1deg)
}
.sr .sr-chalk {
  display:block;
  width:100%;
  height:auto;
  overflow:visible
}
.sr .sr-chalk path {
  fill:none;
  stroke:#f3efe6;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
  stroke-dasharray:1;
  stroke-dashoffset:0
}
.sr .sr-chalk path.sr-chalk-f {
  stroke:#ff965c
}
.sr .sr-chalk text {
  fill:#f3efe6;
  font:italic 400 9px var(--font-paper)
}
.sr .sr-chalk text.sr-chalk-f {
  fill:#ff965c
}
.sr .sr-board-step {
  color:#e9c9a0;
  font:600 11px/16px var(--font-display);
  letter-spacing:.1em;
  text-transform:uppercase
}
.sr .sr-board-eq {
  margin-top:7px;
  font:italic 400 15px/22px var(--font-paper)
}
/* The learner's doubt, pinned to the corner of the board. */
.sr .sr-board-doubt {
  position:absolute;
  top:-15px;
  right:-12px;
  max-width:62%;
  padding:6px 10px;
  border-radius:3px;
  background:#fbfaf6;
  color:#1d2b4a;
  box-shadow:0 8px 18px #000a;
  font:italic 400 12px/16px var(--font-paper);
  transform:rotate(3deg)
}

/* Foot of the window: where the reel is, what kind of picture it is, the controls. */
.sr .sr-band {
  position:absolute;
  inset:auto 0 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  height:44px;
  padding:0 8px 4px 16px
}
.sr .sr-where {
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:0 12px;
  margin:0;
  color:#c7c7c7;
  font:500 12px/16px var(--font-display);
  letter-spacing:.08em
}
.sr .sr-idx {
  display:none;
  color:#fff;
  font-variant-numeric:tabular-nums
}
.sr.is-live .sr-idx {
  display:inline
}
.sr .sr-ctrl {
  display:flex;
  flex:none;
  gap:4px
}
.sr .sr-ctrl[hidden],.sr .sr-btn[hidden] {
  display:none
}
.sr .sr-btn {
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  padding:0;
  border:1px solid #ffffff3d;
  border-radius:50%;
  background:#0008;
  color:#fff;
  cursor:pointer
}
.sr .sr-btn:hover {
  border-color:#ff965c;
  color:#ff965c
}
.sr .sr-btn svg {
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round
}
.sr .sr-i-play,.sr .sr-btn.is-paused .sr-i-pause {
  display:none
}
.sr .sr-btn.is-paused .sr-i-play {
  display:block;
  fill:currentColor
}

/* Under the window: what the offering in view does, and its demo. All seven
   share one grid cell, so the card never changes height between scenes. */
.sr .sr-infos {
  display:grid;
  margin:14px 0 4px
}
.sr .sr-info {
  grid-area:1/1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px 16px;
  min-height:36px;
  visibility:hidden;
  opacity:0
}
.sr .sr-info.is-on {
  visibility:visible;
  opacity:1
}
.sr .sr-gloss {
  margin:0;
  color:#3d3a35;
  font:italic 400 16px/24px var(--font-paper)
}
.sr .sr-demo {
  display:inline-flex;
  flex:none;
  align-items:center;
  gap:8px;
  min-height:36px;
  padding:6px 15px;
  border-radius:999px;
  background:var(--paper-ink);
  color:#f7f5ef;
  font:500 13px/20px var(--font-display);
  letter-spacing:.01em;
  text-decoration:none
}
.sr .sr-demo::after {
  content:'→';
  content:'→' / '';
  color:#ff7a33
}
.sr .sr-demo:hover {
  background:#000;
  color:#fff
}

/* The list. One highlight slides to whichever row the window is showing. */
.sr .sr-tracks {
  position:relative;
  isolation:isolate
}
.sr .sr-wash {
  position:absolute;
  z-index:-1;
  top:0;
  right:-10px;
  left:-10px;
  height:var(--sr-h,42px);
  border-radius:10px;
  background:#ff580017;
  opacity:0;
  transform:translateY(var(--sr-y,0));
  pointer-events:none
}
.sr.is-live .sr-wash {
  opacity:1
}
.sr .sr-list {
  margin:10px 0 0;
  padding:0;
  border-top:1px solid #d6d0c3;
  list-style:none
}
.sr .sr-row {
  position:relative
}
.sr .sr-row+.sr-row {
  border-top:1px solid #d6d0c3
}
.sr .sr-link {
  display:grid;
  grid-template-columns:30px minmax(0,1fr) auto;
  column-gap:8px;
  align-items:baseline;
  padding:7px 0;
  color:var(--paper-ink);
  text-decoration:none
}
.sr .sr-link:hover {
  color:var(--paper-ink)
}
.sr .sr-link:hover .sr-name {
  text-decoration:underline;
  text-decoration-color:var(--sr-red);
  text-decoration-thickness:2px
}
.sr .sr-num {
  color:#6f695d;
  font:500 12px/26px var(--font-display);
  letter-spacing:.06em;
  font-variant-numeric:tabular-nums
}
.sr .sr-name {
  font:400 19px/26px var(--font-paper);
  letter-spacing:-.01em
}
.sr .sr-status {
  color:var(--paper-ink);
  font:500 13px/26px var(--font-display);
  letter-spacing:.01em;
  white-space:nowrap
}
.sr.is-live .sr-row.is-active .sr-num {
  color:var(--sr-red);
  font-weight:700
}
.sr .sr-prog {
  position:absolute;
  inset:auto 0 -1px;
  z-index:1;
  height:2px;
  background:var(--sr-red);
  transform:scaleX(0);
  transform-origin:0 50%
}
.sr .status-foot {
  margin-top:10px
}

/* Where a row leads: the offering card it names, further down the page, is
   marked when the visitor lands on it. The lighter border stays while it is the
   target; with motion allowed an orange ring holds through the scroll, then fades. */
.offering:target {
  border-color:#ff965c
}
@keyframes sr-arrive {
  0%,45% { border-color:var(--orange); box-shadow:0 0 0 3px var(--orange),0 0 44px 6px #ff580066 }
  100% { border-color:#ff965c; box-shadow:0 0 0 3px #ff580000,0 0 44px 6px #ff580000 }
}

@keyframes sr-fade {
  from { opacity:0 }
}
@keyframes sr-deal {
  from { transform:translateY(28px) rotate(-6deg) scale(.94) }
}
@keyframes sr-slip {
  from { transform:translateX(36px) rotate(5deg) }
}
@keyframes sr-rise {
  from { transform:translateY(14px) }
}
@keyframes sr-pop {
  from { transform:scale(.4) }
}
@keyframes sr-draw {
  from { stroke-dashoffset:1 }
}
@keyframes sr-snap-l {
  from { transform:translateX(-8px) }
}
@keyframes sr-snap-r {
  from { transform:translateX(8px) }
}
@keyframes sr-ask {
  50% { color:var(--sr-red); transform:scale(1.4) }
}
@keyframes sr-scan {
  from { transform:translateY(-100%) }
  to { transform:translateY(0) }
}
@keyframes sr-scan-on {
  0%,85% { opacity:1 }
  100% { opacity:0 }
}
@keyframes sr-prog {
  from { transform:scaleX(0) }
  to { transform:scaleX(1) }
}
@keyframes sr-write {
  from { clip-path:inset(0 100% 0 0) }
  to { clip-path:inset(0 -4px) }
}
@keyframes sr-key {
  from { transform:translateY(-90%) }
}

/* When each piece of a scene arrives. --sr-deal is for the pieces dealt onto the
   desk (the second and third follow the first; sr-d14 waits for its cue).
   --sr-w is the beat of a mark, a line or a reply inside a piece, in seconds;
   every element that uses it carries its own class, so none inherits a beat. */
.sr .sr-scene>:nth-child(2) { --sr-deal:.09s }
.sr .sr-scene>:nth-child(3) { --sr-deal:.18s }
.sr .sr-scene>.sr-d14 { --sr-deal:1.4s }
.sr .sr-w05 { --sr-w:.5s }
.sr .sr-w06 { --sr-w:.6s }
.sr .sr-w08 { --sr-w:.8s }
.sr .sr-w10 { --sr-w:1s }
.sr .sr-w15 { --sr-w:1.5s }
.sr .sr-w19 { --sr-w:1.9s }
.sr .sr-w20 { --sr-w:2s }
.sr .sr-w21 { --sr-w:2.1s }
.sr .sr-w23 { --sr-w:2.3s }
.sr .sr-w27 { --sr-w:2.7s }
.sr .sr-w29 { --sr-w:2.9s }
.sr .sr-w32 { --sr-w:3.2s }

/* Motion. Nothing here changes the finished state above. */
@media(prefers-reduced-motion:no-preference) {
  .offering:target {
    animation:sr-arrive 2.6s ease-out both
  }
  .sr.is-live .sr-scene {
    transition:opacity .18s linear,visibility 0s .18s
  }
  .sr.is-live .sr-scene.is-on {
    transition:opacity .18s linear
  }
  .sr.is-live .sr-info {
    transition:opacity .15s linear,visibility 0s .15s
  }
  .sr.is-live .sr-info.is-on {
    transition:opacity .25s linear .1s
  }
  .sr.is-live .sr-info.is-on .sr-gloss {
    animation:sr-rise .5s var(--sr-spring) .08s both
  }
  .sr.is-live .sr-wash {
    transition:transform .42s var(--sr-spring),height .2s ease-out,background-color .2s linear,opacity .2s linear
  }
  .sr.is-auto .sr-row.is-active .sr-prog {
    animation:sr-prog var(--sr-dur,4.8s) linear both
  }

  /* Every specimen is dealt onto the desk; opacity is never sprung. */
  .sr.is-live .sr-scene.is-on>* {
    animation:sr-deal .62s var(--sr-spring) var(--sr-deal,0s) both,sr-fade .2s linear var(--sr-deal,0s) both
  }

  .sr.is-live .is-on .sr-ring ellipse {
    animation:sr-draw .55s ease-out .75s both
  }
  .sr.is-live .sr-scene.is-on>.sr-a-note {
    animation:sr-slip .58s var(--sr-spring) 1.3s both,sr-fade .2s linear 1.3s both
  }
  .sr.is-live .is-on .sr-a-chips span {
    animation:sr-pop .4s var(--sr-spring) 1.9s both,sr-fade .15s linear 1.9s both
  }
  .sr.is-live .is-on .sr-a-chips span:nth-child(2) {
    animation-delay:1.98s
  }
  .sr.is-live .is-on .sr-a-chips span:nth-child(3) {
    animation-delay:2.06s
  }
  .sr.is-live .is-on .sr-a-who {
    animation:sr-fade .3s linear 2.5s both
  }

  .sr.is-live .is-on .sr-q {
    animation:sr-ask .9s ease-in-out 1.1s 2
  }
  .sr.is-live .is-on .sr-mags--snap .sr-mag:first-child {
    animation:sr-snap-l .4s var(--sr-spring) 2.3s both
  }
  .sr.is-live .is-on .sr-mags--snap .sr-mag:last-child {
    animation:sr-snap-r .4s var(--sr-spring) 2.3s both
  }

  .sr.is-live .is-on .sr-c {
    animation:sr-pop .32s var(--sr-spring) .65s both,sr-fade .12s linear .65s both
  }
  .sr.is-live .is-on .sr-scan {
    animation:sr-scan-on 1s linear .9s both
  }
  .sr.is-live .is-on .sr-scan::before {
    animation:sr-scan .9s linear .9s both
  }
  .sr.is-live .sr-scene.is-on>.sr-reply {
    animation:sr-rise .5s var(--sr-spring) 1.95s both,sr-fade .2s linear 1.95s both
  }
  .sr.is-live .is-on .sr-chip {
    animation:sr-fade .3s linear 2.55s both
  }

  /* Scenes for work in development: marks, lines and replies arrive on their beat. */
  .sr.is-live .sr-scene.is-on>.sr-q-arrow {
    animation:none
  }
  .sr.is-live .sr-scene.is-on>.sr-modes {
    animation:sr-fade .3s linear both
  }
  .sr.is-live .is-on .sr-pop {
    animation:sr-pop .4s var(--sr-spring) var(--sr-w,0s) both,sr-fade .15s linear var(--sr-w,0s) both
  }
  .sr.is-live .is-on .sr-rise {
    animation:sr-rise .5s var(--sr-spring) var(--sr-w,0s) both,sr-fade .2s linear var(--sr-w,0s) both
  }
  .sr.is-live .is-on .sr-write {
    animation:sr-write .55s ease-out var(--sr-w,0s) both
  }
  .sr.is-live .is-on .sr-drawn path {
    animation:sr-draw .4s ease-out var(--sr-w,0s) both
  }
  .sr.is-live .is-on .sr-drawn path+path {
    animation-delay:calc(var(--sr-w,0s) + .3s)
  }
  .sr.is-live .is-on .sr-q-key {
    animation:sr-key .5s var(--sr-spring) var(--sr-w,0s) both,sr-fade .15s linear var(--sr-w,0s) both
  }
  .sr.is-live .is-on .sr-chalk path {
    animation:sr-draw .55s ease-out .9s both
  }
  .sr.is-live .is-on .sr-chalk path:nth-child(2) { animation-delay:1.1s }
  .sr.is-live .is-on .sr-chalk path:nth-child(3) { animation-delay:1.4s }
  .sr.is-live .is-on .sr-chalk path:nth-child(4) { animation-delay:1.6s }
  .sr.is-live .is-on .sr-chalk path:nth-child(5) { animation-delay:1.9s }
  .sr.is-live .is-on .sr-chalk path:nth-child(6) { animation-delay:2.1s }
  .sr.is-live .is-on .sr-chalk path:nth-child(7) { animation-delay:2.3s }
  .sr.is-live .is-on .sr-chalk text {
    animation:sr-fade .4s linear 2.5s both
  }
  .sr.is-auto.is-held .sr-row.is-active .sr-prog,
  .sr.is-live.is-held .sr-info.is-on .sr-gloss,
  .sr.is-live.is-held .sr-scenes .sr-scene.is-on *,
  .sr.is-live.is-held .sr-scenes .sr-scene.is-on *::before {
    animation-play-state:paused
  }
}

@media(max-width:599px) {
  .sr .sr-stage {
    height:208px;
    margin-inline:-6px
  }
  .sr .sr-scene {
    padding:14px 14px 0
  }
  .sr .sr-s-audit {
    grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)
  }
  .sr .sr-a-page {
    padding:11px 12px 12px
  }
  .sr .sr-a-head {
    font-size:12px;
    line-height:16px
  }
  .sr .sr-a-text {
    font-size:12px;
    line-height:19px
  }
  .sr .sr-a-note {
    margin-left:-8px;
    padding:8px 9px 9px
  }
  .sr .sr-a-fix {
    font-size:14px;
    line-height:19px
  }
  .sr .sr-a-chips {
    display:none
  }
  .sr .sr-s-studio {
    gap:6px;
    padding-inline:12px
  }
  .sr .sr-tile {
    gap:7px;
    min-height:116px;
    padding:9px 8px 10px
  }
  .sr .sr-mags {
    gap:4px
  }
  .sr .sr-mag span {
    width:13px
  }
  .sr .sr-s-doubt {
    --sr-rule:19px;
    gap:12px;
    padding-inline:18px
  }
  .sr .sr-photo {
    padding-inline:11px;
    font-size:13px
  }
  .sr .sr-reply {
    padding:9px 11px 10px;
    font-size:13px;
    line-height:19px
  }
  .sr .sr-s-bank {
    grid-template-columns:minmax(0,.9fr) 18px minmax(0,1.25fr);
    gap:5px;
    padding-inline:12px
  }
  .sr .sr-q-book,.sr .sr-q-paper {
    padding:9px 9px 10px
  }
  .sr .sr-q-stem,.sr .sr-q-item {
    font-size:11px;
    line-height:15px
  }
  .sr .sr-q-stem {
    padding-left:21px
  }
  .sr .sr-q-n {
    width:16px;
    height:16px;
    line-height:13px
  }
  .sr .sr-q-item {
    display:block;
    white-space:nowrap;
    text-overflow:ellipsis
  }
  .sr .sr-q-arrow {
    width:18px
  }
  .sr .sr-q-opts {
    display:none
  }
  .sr .sr-q-key {
    margin-right:8px;
    padding:7px 8px 4px;
    font-size:11px
  }
  .sr .sr-s-marks {
    --sr-rule:19px;
    gap:12px;
    padding-inline:16px
  }
  .sr .sr-e-scheme {
    padding:9px 9px 10px
  }
  .sr .sr-e-row,.sr .sr-e-given {
    font-size:11px;
    line-height:16px
  }
  .sr .sr-e-scheme .sr-chip {
    display:none
  }
  .sr .sr-s-board {
    padding-inline:14px
  }
  .sr .sr-board {
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:8px;
    padding:20px 10px 10px 6px;
    border-width:4px
  }
  .sr .sr-board-eq {
    margin-top:4px;
    font-size:13px;
    line-height:18px
  }
  .sr .sr-board-doubt {
    top:-12px;
    right:-8px;
    max-width:78%;
    padding:5px 8px
  }
  .sr .sr-band {
    padding-left:12px
  }
  .sr .sr-infos {
    margin-top:12px
  }
  .sr .sr-gloss {
    font-size:14px;
    line-height:20px
  }
  .sr .sr-link {
    grid-template-columns:30px minmax(0,1fr);
    padding:6px 0
  }
  .sr .sr-num {
    line-height:23px
  }
  .sr .sr-name {
    font-size:17px;
    line-height:23px
  }
  .sr .sr-status {
    grid-column:2;
    justify-self:start;
    line-height:19px;
    white-space:normal
  }
}
/* Phones: the chalkboard's drawing grows with the window's width, so it is
   capped. On the narrowest phones the paper's subject line and the scheme's
   label are left out and the scheme gets the wider column, so every scene
   clears the arrow buttons. */
@media(max-width:599px) {
  .sr .sr-chalk {
    max-height:92px
  }
}
@media(max-width:359px) {
  .sr .sr-q-title span {
    display:none
  }
  .sr .sr-s-marks {
    grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)
  }
  .sr .sr-e-scheme .sr-kicker {
    display:none
  }
}
/* Narrow phones: the AI tutor scene is the first one, so it is what the window
   shows at rest. Its two columns are too narrow here for the full reply, so the
   reply is the answer and its page alone, and the photographed question is set
   smaller. */
@media(max-width:479px) {
  .sr .sr-s-doubt {
    --sr-rule:17px;
    grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);
    gap:16px;
    padding-inline:16px
  }
  .sr .sr-photo {
    font-size:12px
  }
  .sr .sr-reply {
    align-self:center;
    padding:9px 10px 10px;
    font-size:15px;
    line-height:20px
  }
  .sr .sr-long {
    display:none
  }
}
@media(max-width:359px) {
  .sr .sr-s-audit {
    grid-template-columns:minmax(0,1.45fr) minmax(0,1fr)
  }
  .sr .sr-a-head {
    display:none
  }
  .sr .sr-a-text {
    line-height:18px
  }
  .sr .sr-a-note {
    padding-inline:7px
  }
  .sr .sr-a-note .sr-kicker {
    letter-spacing:.04em
  }
}

/* Students: the worked example (answer, practice question, flashcard) ------------- */
.practice {
  min-width:0;
  margin:0;
  padding:0;
  border:0
}
.practice legend {
  margin:0 0 12px;
  padding:0;
  color:var(--ink);
  font-size:16px;
  line-height:24px
}
.flashcard p[hidden] {
  display:none
}
.flashcard {
  padding:20px;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--raised)
}
.flashcard p {
  margin:0;
  color:var(--ink);
  font:400 18px/26px var(--font-display)
}

/* Header bar ------------------------------------------------------------------
   The bar is one <nav> whose DOM order is the order it is seen in (see header()
   in src/site-shell.mjs). "For institutions" stays in the bar at every width.
   AI engineering is drawn twice: .nav-link in the bar on desktop, and inside the
   collapsible menu (#site-navigation) on phones; one of the two is always
   display:none. From launch only, a filled "Open Angira" joins the desktop bar
   and opens the phone menu. */
.header-inner {
  justify-content:flex-start;
  gap:28px
}
.header-inner>.brand {
  margin-right:auto
}
.nav-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 18px;
  border:1px solid #fff;
  border-radius:12px;
  color:#fff;
  font:500 15px/1 var(--font-display);
  text-decoration:none;
  white-space:nowrap;
  transition:border-color .15s,color .15s
}
.nav-button:hover {
  border-color:#ff965c;
  color:#ff965c
}
/* The current page shows as a filled outline, since the button has no underline. */
.nav-button[aria-current],.nav-button[aria-current]:hover {
  border-color:#fff;
  background:#fff;
  color:#000
}
.header-app.cta-primary {
  min-height:44px;
  padding:0 18px;
  font-size:15px;
  white-space:nowrap
}
/* The phone menu's app item (live builds only), found by its place. */
.site-nav a[data-place="menu"] {
  display:none
}
@media(min-width:900px) {
  .header-inner>.site-nav {
    display:none
  }
}
@media(max-width:899px) {
  .header-inner {
    gap:0 12px
  }
  .nav-link {
    display:none
  }
  .nav-button {
    padding:0 14px;
    font-size:14px
  }
  .header-app {
    display:none
  }
  .site-nav a[data-place="menu"] {
    display:block;
    color:var(--orange);
    font-weight:500
  }
}
/* Below 400px the word "Menu" goes; it stays as the button's accessible name. */
@media(max-width:399px) {
  .js-nav .menu-toggle {
    justify-content:center;
    min-width:44px;
    padding-left:0
  }
  .menu-toggle>span:first-child {
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    clip:rect(0 0 0 0);
    white-space:nowrap
  }
}
/* Below 360px the wordmark hides; the mark and the link's name "Angira home" stay,
   so the button keeps its full label. */
@media(max-width:359px) {
  .header-inner>.brand>span {
    display:none
  }
}

/* Phone app bar ----------------------------------------------------------------
   Rendered only in a live build (renderPage, page.appBar), shown below 900px.
   The body keeps room for it so it never covers the footer or back-to-top. */
.app-bar {
  display:none
}
@media(max-width:899px) {
  .has-app-bar {
    padding-bottom:calc(77px + env(safe-area-inset-bottom))
  }
  .app-bar {
    display:block;
    position:fixed;
    inset:auto 0 0;
    z-index:30;
    padding:12px 20px calc(12px + env(safe-area-inset-bottom));
    border-top:1px solid #2a2a2a;
    background:#000;
    transition:transform .2s ease,visibility .2s
  }
  .app-bar .cta-primary {
    width:100%;
    min-height:52px
  }
  /* students.js tucks the bar away while another app button is on screen. */
  .app-bar.is-tucked {
    transform:translateY(110%);
    visibility:hidden
  }
}
@media(prefers-reduced-motion:reduce) {
  .app-bar {
    transition:none
  }
}
