/* The public pages and the sign-in pages: midnight and luminous silver in dark
   mode, graphite in light (developer instructions, 26 Nov 2026, Website 1).
   Loaded after tokens.css, which names every colour once (the --iv-*
   variables); this file uses those and types no colour of its own. Cinzel,
   under the SIL Open Font License and served from here, is declared in
   tokens.css; Manrope for everything read. */
:root{--display:var(--font-display);}

body.iv-guest{--bg:var(--iv-page);background:var(--iv-page);color:var(--iv-text);}

/* ---- The bar ---- */
body.iv-guest .topbar{padding-left:max(24px,calc((100% - 1192px)/2));padding-right:max(24px,calc((100% - 1192px)/2));min-height:72px;gap:14px;}
body.iv-guest .topbar .guest-nav{flex:0 1 auto;margin-left:auto;margin-right:10px;gap:4px;}
body.iv-guest .topbar .guest-menu > summary,
body.iv-guest .topbar .guest-link{color:var(--iv-text-2);font-weight:600;font-size:var(--fs-md);background:none;box-shadow:none;border:1px solid transparent;border-radius:var(--r-sm);}
body.iv-guest .topbar .guest-menu > summary:hover,
body.iv-guest .topbar .guest-menu[open] > summary,
body.iv-guest .topbar .guest-link:hover{color:var(--iv-text);background:var(--iv-hover);}
body.iv-guest .topbar .chrome-btn{color:var(--iv-text-2);background:none;border-color:transparent;}
body.iv-guest .topbar .chrome-btn:hover{color:var(--iv-text);background:var(--iv-hover);}
body.iv-guest .topbar .btn-secondary{min-height:40px;padding:0 18px;font-size:var(--fs-md);border-radius:var(--r);}

/* The lists that open from the bar. */
body.iv-guest .guest-menu .menu-panel{background:var(--iv-panel);border:1px solid var(--iv-line);border-radius:var(--r-lg);padding:8px;box-shadow:var(--shadow-overlay);}
body.iv-guest .guest-menu .menu-panel .menu-item{color:var(--iv-text-2);font-weight:500;border-radius:var(--r);}
body.iv-guest .guest-menu .menu-panel .menu-item:hover{background:var(--iv-hover);color:var(--iv-text);}

/* ---- The sign-in pages ---- */
body.iv-door{display:block;min-height:100vh;}
.door-hero{color:var(--iv-text-2);background:var(--iv-top);position:relative;}
.door-in{max-width:1240px;margin:0 auto;padding:clamp(32px,3.6vw,52px) 24px clamp(44px,5vw,72px);position:relative;z-index:1;
  display:grid;grid-template-columns:408px minmax(0,1fr);grid-template-rows:auto 1fr;column-gap:clamp(40px,6.5vw,104px);align-items:start;}
.door-side{grid-column:1;grid-row:1/3;scroll-margin-top:96px;}
.door-say{grid-column:2;grid-row:1;}
.door-rest{grid-column:2;grid-row:2;}
.door-hero-plain .door-in{align-items:center;min-height:calc(100vh - 180px);}
.door-hero-plain .door-say{grid-row:1/3;}
.door-line{font-family:var(--display);font-weight:500;font-size:clamp(34px,4.5vw,64px);line-height:1.12;letter-spacing:.01em;margin:0;max-width:13em;text-wrap:balance;}
.door-hero-plain .door-line{font-size:clamp(28px,3.2vw,42px);}
.door-mark .seal{width:104px;height:104px;margin:0 0 30px;}
.door-lede{margin:18px 0 0;max-width:34em;font-size:18px;line-height:1.65;color:var(--iv-text-2);}
.door-go{display:flex;flex-wrap:wrap;gap:12px;margin:26px 0 0;}
.btn-silver,.btn-line{min-height:50px;padding:0 26px;border-radius:var(--r);font-size:var(--fs-lg);font-weight:700;}

/* The sample transcript: still, written for the page. */
.record{margin:34px 0 0;padding:24px 28px 22px;border:1px solid var(--iv-line);border-radius:var(--r-xl);background:var(--iv-card-on-b);}
.record-words{margin:0;display:grid;gap:14px;}
.record-words p{margin:0;font-size:clamp(17px,1.35vw,19px);line-height:1.6;font-weight:500;color:var(--iv-text);}
.rec-who{font-family:var(--display);font-size:14px;font-weight:600;letter-spacing:.05em;color:var(--iv-text-2);}
.rec-at{font-size:13px;font-variant-numeric:tabular-nums;color:var(--iv-text-3);margin-left:8px;}
.record figcaption{margin:14px 0 0;font-size:var(--fs-sm);color:var(--iv-text-3);}
.rec-kind{margin:0;font-size:var(--fs-xs);font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--iv-text-3);}
.rec-ex{display:grid;gap:14px;}
.rec-turn{margin:0;font-size:clamp(17px,1.35vw,19px);line-height:1.6;font-weight:500;color:var(--iv-text);}

/* The form, on a card of its own. Under its button, the conditions of use in small helper text
   (Website 6, section 5). */
.door-card .auth-notice{margin:14px 0 0;padding:0;border:0;background:none;font-size:12px;line-height:1.6;color:var(--iv-text-3);}
.door-card .auth-notice strong{color:var(--iv-text-3);font-weight:700;}
.door-card{position:relative;background:var(--iv-card-on-b);color:var(--iv-text);border:1px solid var(--iv-line);border-radius:var(--r-xl);
  padding:34px 32px 28px;box-shadow:0 30px 70px -30px rgba(0,0,0,.5);}
.door-card h1,.door-card .door-h{font-family:var(--display);font-weight:600;font-size:25px;line-height:1.25;letter-spacing:.03em;margin:0;color:var(--iv-text);}
.door-card .lede{margin:8px 0 0;font-size:var(--fs-md);line-height:1.55;color:var(--iv-text-2);}
.door-card .msg{margin-top:16px;border-radius:var(--r);}
.door-card form{margin-top:24px;}
.door-card .after{margin-top:16px;}
.door-card .field > label,.door-card .label-row label{font-size:var(--fs-sm);font-weight:600;color:var(--iv-text);}
.door-card .field input:not([type="checkbox"]):not([type="file"]):not([type="radio"]),.door-card .field select,.door-card textarea{
  min-height:46px;border-radius:var(--r);border-color:var(--iv-line-strong);background:var(--iv-page);color:var(--iv-text);font-size:16px;}
.door-card .field input[aria-invalid="true"]:not([type="checkbox"]):not([type="file"]):not([type="radio"]){border-color:var(--bad);}
.door-card .check{color:var(--iv-text);align-items:flex-start;}
.door-card .check input{width:18px;height:18px;margin-top:1px;flex:none;}
.door-card .btn-primary{min-height:50px;border-radius:var(--r);font-size:var(--fs-lg);}
.door-card .auth-alt{margin:18px 0 0;padding-top:16px;border-top:1px solid var(--iv-line);font-size:var(--fs-md);color:var(--iv-text-2);text-align:left;}

/* Under the hero */
.door-wrap{max-width:1240px;margin:0 auto;padding:0 24px;}
.door-trust{background:var(--iv-band-a);color:var(--iv-text);padding:clamp(56px,6.5vw,92px) 0 clamp(64px,7vw,100px);}
.door-trust h2{font-family:var(--display);font-weight:500;font-size:clamp(25px,2.6vw,34px);letter-spacing:.03em;line-height:1.2;margin:0;color:var(--iv-text);}
.steps{list-style:none;counter-reset:step;margin:34px 0 0;padding:4px 6px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px clamp(24px,3vw,44px);}
.steps li{counter-increment:step;display:grid;grid-template-columns:38px minmax(0,1fr);grid-template-rows:auto 1fr;align-content:start;}
.steps li::before{content:counter(step,upper-roman);grid-row:1/3;font-family:var(--display);font-size:18px;line-height:1.45;color:var(--iv-text-2);}
.steps h2{margin:0;font-size:17px;line-height:1.45;font-weight:700;color:var(--iv-text);letter-spacing:0;}
.steps p{margin:2px 0 0;font-size:15px;line-height:1.55;color:var(--iv-text-2);grid-column:2;}
.door-trust-in{display:grid;grid-template-columns:408px minmax(0,1fr);gap:clamp(40px,6.5vw,104px);}
.door-trust-in > div > p{margin:16px 0 0;max-width:30em;font-size:16px;line-height:1.65;color:var(--iv-text-2);}
.door-trust-in > div > p.trust-say{font-size:19px;line-height:1.6;color:var(--iv-text);}
.facts{margin:0;padding:10px 30px;border-radius:var(--r-xl);border:1px solid var(--iv-line);background:var(--iv-card-on-a);}
.facts > div{display:grid;align-items:baseline;grid-template-columns:8.5em minmax(0,1fr);gap:20px;padding:15px 0;border-bottom:1px solid var(--iv-line);}
.facts > div:last-child{border-bottom:0;}
.facts dt{font-size:16px;line-height:1.5;color:var(--iv-text-2);}
.facts dd{margin:0;font-size:16px;font-weight:600;color:var(--iv-text);line-height:1.5;}

body.iv-guest .site-foot{max-width:none;width:auto;background:var(--iv-page);color:var(--iv-text-3);border-top:1px solid var(--iv-line);margin:0;padding:30px 24px;}
body.iv-guest .site-foot p,body.iv-guest .site-foot-tag{color:var(--iv-text-3);}
body.iv-guest .site-foot .app-version{margin:10px 0 0;font-size:var(--fs-2xs);}
.top-sign-in.is-here{display:none;}

/* ---- The other public pages: the top section, and the text below ---- */
body.iv-guest main .page-head{display:block;border:0;border-radius:var(--r-xl);padding:clamp(28px,4vw,46px) clamp(22px,4vw,48px);box-shadow:none;background:var(--iv-top);}
body.iv-guest main .page-head h1{font-family:var(--display);font-weight:500;letter-spacing:.02em;font-size:clamp(30px,4.2vw,42px);line-height:1.15;}
body.iv-guest main .page-head .lede{color:var(--iv-text-2);max-width:62ch;}
body.iv-guest main .page-head .crumbs,body.iv-guest main .page-head .crumbs a{color:var(--iv-text-2);}
body.iv-guest main .panel{background:var(--iv-panel);border:1px solid var(--iv-line);border-radius:var(--r-xl);box-shadow:none;filter:none;color:var(--iv-text);}
body.iv-guest main .panel h2{font-family:var(--display);font-weight:600;font-size:var(--fs-4xl);letter-spacing:.02em;color:var(--iv-text);border-color:var(--iv-line);}
body.iv-guest main .panel h3,body.iv-guest main .panel strong,body.iv-guest main .panel dt,body.iv-guest main .panel th,body.iv-guest main .panel label{color:var(--iv-text);}
body.iv-guest main .panel p,body.iv-guest main .panel li,body.iv-guest main .panel dd,body.iv-guest main .panel td{color:var(--iv-text-2);}
body.iv-guest main .panel li::marker{color:var(--iv-text-3);}
body.iv-guest main .panel hr{border-color:var(--iv-line);}
body.iv-guest main .panel input,body.iv-guest main .panel textarea,body.iv-guest main .panel select{background:var(--iv-page);border-color:var(--iv-line-strong);color:var(--iv-text);border-radius:var(--r);}
body.iv-guest main .prose{padding:34px 40px;}
body.iv-guest main .panel h2:not(:first-child){margin-top:26px;}
body.iv-guest main .page{max-width:1240px;padding-left:24px;padding-right:24px;}

@media (max-width:1080px){
  .door-in,.door-trust-in{grid-template-columns:360px minmax(0,1fr);column-gap:40px;}
}
@media (max-width:900px){
  .top-sign-in.is-here{display:inline-flex;}
  body.iv-guest .topbar{position:static;flex-wrap:wrap;padding:10px 16px;gap:6px 8px;}
  .door-side{scroll-margin-top:16px;}
  .door-in{grid-template-columns:minmax(0,1fr);grid-template-rows:none;row-gap:40px;max-width:640px;}
  .door-side,.door-say,.door-rest,.door-hero-plain .door-say{grid-column:1;grid-row:auto;}
  .door-hero-plain .door-in{min-height:0;}
  .door-hero-plain .door-lede{display:none;}
  .door-mark .seal{width:72px;height:72px;margin-bottom:18px;}
  .door-trust-in{grid-template-columns:minmax(0,1fr);}
  body.iv-guest .topbar .brand{margin-right:auto;}
  body.iv-guest .topbar .guest-nav{order:9;flex:1 1 100%;margin:0;justify-content:space-between;flex-wrap:nowrap;}
}
@media (max-width:560px){
  .door-in{padding:32px 16px 44px;}
  .door-wrap{padding:0 16px;}
  .door-card{padding:28px 20px 24px;}
  .record{padding:20px 18px 18px;}
  .facts{padding:6px 18px;}
  .door-go .btn{flex:1 1 100%;}
  .steps{grid-template-columns:minmax(0,1fr);gap:20px;}
  .facts > div{grid-template-columns:6.5em minmax(0,1fr);gap:14px;}
  .whatsapp{right:10px;bottom:10px;}
  body.iv-guest .topbar .chrome-btn[data-read-aloud],body.iv-guest .topbar .chrome-btn[data-magnifier]{display:none;}
  body.iv-guest .topbar .guest-menu > summary,body.iv-guest .topbar .guest-link{padding:9px 6px;font-size:var(--fs-sm);}
  /* How It Works stays in the bar on a phone (it is no longer under About, Website 7, Part 5): the five
     items wrap onto a second row rather than run off the side. */
  body.iv-guest .topbar .guest-nav{flex-wrap:wrap;justify-content:center;row-gap:2px;}
}
@media (max-width:640px){
  body.iv-guest:has(.whatsapp){padding-bottom:0;}
  body.iv-guest .site-foot{padding-bottom:92px;}
  body.iv-guest main .prose{padding:24px 18px;}
}

/* ---- How It Works (how_it_works.html) ---- */
.iv-how main{padding:0;}
.how h2{font-family:var(--display);font-weight:500;font-size:clamp(26px,3vw,40px);letter-spacing:.025em;line-height:1.2;margin:0;color:var(--iv-text);}
.how-hero-in{position:relative;z-index:1;padding-top:clamp(48px,7vw,104px);padding-bottom:clamp(40px,5vw,72px);}
.how-hero .door-lede{max-width:38em;}
.how-jump{display:flex;flex-wrap:wrap;gap:8px 10px;margin:38px 0 0;}
.how-jump a{padding:10px 16px;border-radius:var(--r);border:1px solid var(--iv-line-strong);background:transparent;color:var(--iv-text);font-size:var(--fs-md);font-weight:600;text-decoration:none;}
.how-jump a:hover{background:var(--iv-hover);color:var(--iv-text);}
.how section{scroll-margin-top:84px;}
.how-steps,.how-pale{background:var(--iv-band-a);color:var(--iv-text);padding:clamp(56px,7vw,104px) 0;}
.how-dark,.how-end{background:var(--iv-band-b);color:var(--iv-text-2);padding:clamp(56px,7vw,104px) 0;}
/* The path: a line down the side, the numeral on it, when it happens, and what. */
.path{list-style:none;counter-reset:path;margin:44px 0 0;padding:0;position:relative;}
/* The line joins each numeral to the next, step by step, so nothing trails on below the last one
   (owner, 2026-11-26: the line under VIII "can be removed"). */
.path li:not(:last-child)::after{content:"";position:absolute;left:27px;top:56px;bottom:0;width:1px;background:var(--iv-line-strong);}
.path li{counter-increment:path;position:relative;display:grid;grid-template-columns:56px 220px minmax(0,1fr);gap:0 28px;align-items:start;padding:0 0 22px;}
.path li::before{content:counter(path,upper-roman);display:grid;place-items:center;width:56px;height:56px;border-radius:50%;position:relative;z-index:1;
  font-family:var(--display);font-size:17px;color:var(--iv-text);background:var(--iv-panel);border:1px solid var(--iv-line-strong);}
.path-when{padding-top:17px;font-size:var(--fs-md);line-height:1.45;font-weight:600;color:var(--iv-text-2);}
.path-card{padding:22px 28px 24px;border-radius:var(--r-xl);border:1px solid var(--iv-line);background:var(--iv-card-on-a);}
.path-card h3{margin:0 0 6px;font-size:19px;font-weight:700;color:var(--iv-text);}
.path-card p,.how-price p,.how-faq > div > p{margin:0;max-width:62ch;font-size:16px;line-height:1.65;color:var(--iv-text-2);}
.how-lead{margin:14px 0 0;font-size:18px;line-height:1.6;max-width:44em;color:var(--iv-text-2);}
.glass{border:1px solid var(--iv-line);border-radius:var(--r-xl);background:var(--iv-card-on-b);}
.how-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:36px 0 0;}
.how-two figure{margin:0;padding:28px 30px 30px;display:flex;flex-direction:column;gap:20px;}
.how-two h3{margin:0 0 6px;font-size:19px;font-weight:700;color:var(--iv-text);}
.how-two figcaption p{margin:0;font-size:16px;line-height:1.6;color:var(--iv-text-2);}
.how-two blockquote{margin:auto 0 0;padding:18px 0 0;border:0;border-top:1px solid var(--iv-line);font-size:18px;line-height:1.65;font-weight:500;color:var(--iv-text);}
.how-fine{margin:14px 0 0;font-size:var(--fs-sm);color:var(--iv-text-3);}
.how-list{list-style:none;margin:36px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 48px;}
.how-list li{padding-top:16px;border-top:1px solid var(--iv-line);font-size:16px;line-height:1.6;color:var(--iv-text-2);}
.how-list strong{color:var(--iv-text);}
.how-price,.how-faq{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(32px,5vw,80px);align-items:start;}
.how-price p{margin-top:16px;}
.how-price .facts dd{font-weight:500;}
.how-marks{margin:34px 0 0;padding:10px 30px;}
.how-marks > div{display:grid;grid-template-columns:300px minmax(0,1fr);gap:24px;align-items:baseline;padding:16px 0;border-bottom:1px solid var(--iv-line);}
.how-marks > div:last-child{border-bottom:0;}
.how-marks dt{font-weight:600;color:var(--iv-text);}
.how-marks dd{margin:0;font-size:16px;line-height:1.6;color:var(--iv-text-2);}
.how-faq > div > p{margin-top:14px;}
.faq{border-radius:var(--r-lg);border:1px solid var(--iv-line);background:var(--iv-card-on-a);margin:0 0 10px;}
.faq summary{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:60px;padding:8px 24px;cursor:pointer;list-style:none;font-size:17px;font-weight:600;color:var(--iv-text);}
.faq summary::-webkit-details-marker{display:none;}
.faq summary .icon{width:18px;height:18px;flex:none;transition:transform .2s ease;}
.faq[open] summary .icon{transform:rotate(180deg);}
.faq p{margin:0;padding:0 24px 22px;max-width:62ch;font-size:16px;line-height:1.65;color:var(--iv-text-2);}
.how a:not(.btn){text-underline-offset:3px;}
.how-resp{margin:22px 4px 0!important;font-size:var(--fs-md)!important;}
.how-end-in{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px;}
.how-end .door-go{margin:0;}
@media (max-width:900px){
  .path li{grid-template-columns:56px minmax(0,1fr);gap:6px 20px;}
  .path li::before{grid-row:1/3;}
  .path-when{padding-top:4px;}
  .how-two,.how-list,.how-price,.how-faq{grid-template-columns:minmax(0,1fr);}
}
@media (max-width:640px){
  .path li{grid-template-columns:40px minmax(0,1fr);gap:6px 14px;}
  .path li::before{width:40px;height:40px;font-size:13px;}
  .path li:not(:last-child)::after{left:19px;top:40px;}
  .path-card{padding:18px 20px 20px;}
  .how-two figure{padding:22px 20px 24px;}
  .how-marks{padding:6px 20px;}
  .how-marks > div{grid-template-columns:minmax(0,1fr);gap:4px;}
  .how-jump a{flex:1 1 auto;text-align:center;}
}

/* The sample transcript's speakers (Website 6): the Chairperson pale steel blue, never the link colour,
   so it is not taken for a link; the Treasurer soft lilac. The same font, size and spacing as before. */
.rec-who.rec-chair{color:var(--iv-sp-chair);} .rec-who.rec-treasurer{color:var(--iv-sp-treasurer);}
.rec-who.sp-3{color:var(--sp-ink);}   /* the speaker colour, darkened to read in light mode */

/* How It Works (Website 5, Part 1, section 2). The fading silver line between
   the top section and Step by Step, and nowhere else on the page; the Roman
   numerals in Cinzel, in a 2px ring of the seal's gradient, filled with the
   top section's colour (graphite and plain in light mode, from the tokens). */
.band-line{height:1px;background:var(--iv-silver-line);}
.path li::before{border:2px solid transparent;color:var(--iv-text);
  background:linear-gradient(var(--iv-top),var(--iv-top)) padding-box,var(--iv-seal-gradient) border-box;}
.how-marks-group{margin:34px 0 0;font-size:19px;font-weight:700;color:var(--iv-text);}
.how-marks-group + .how-marks{margin-top:14px;}
.how-marks .iv-tag{font-weight:600;}
/* Each grade's name with its price on one line (Website 5, Part 1, section 4). */
.how-price .facts > div{grid-template-columns:11.5em minmax(0,1fr);}
@media (max-width:520px){.how-price .facts > div{grid-template-columns:minmax(0,1fr);gap:4px;}}

/* Services and About (Website 7, Parts 1 and 2): the How It Works treatment; the main
   button leads the Get Started line. */
.get-started .btn{margin-right:8px;vertical-align:middle;}
.services .how-lead,.about .how-lead{max-width:62ch;}
.services .how-list,.about .how-list{margin-top:28px;}

/* Contact Us (Website 7, Part 3): below the top section the page band, the form in a
   panel-coloured box with a 1px border (--iv-band-a, --iv-card-on-a, --iv-line). */
.contact-wrap{max-width:720px;}
.contact-panel{padding:clamp(20px,3vw,32px);border:1px solid var(--iv-line);border-radius:var(--r-xl);background:var(--iv-card-on-a);}
.contact-panel .form-actions{margin:18px 0 0;}
.contact-thanks{margin:0;font-size:18px;line-height:1.6;color:var(--iv-text);}
.contact-error{margin:14px 0 0;padding:10px 14px;}
.field-error{color:var(--bad);}
.field.is-invalid .input{border-color:var(--bad);}
.contact-after{margin:14px 0 0;}
.contact-trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;}

/* Legal (Website 7, Part 4): tabs in title case, the open one in the text colour with a 2px
   underline in the silver line's gradient, the others in the helper colour (the text colour on
   hover); one row that scrolls sideways on a narrow screen. Below, the plain page band: no
   panel, no bands. Each document in one
   column of about 70 characters, line spacing 1.7, with its Contents beside it on a wide screen
   (staying in view) and above it on a narrow one. */
.legal-body{background:var(--iv-band-a);padding:clamp(28px,4vw,48px) 0 clamp(56px,7vw,96px);}
.legal-page .legal-tabs{display:flex;flex-wrap:nowrap;gap:4px;overflow-x:auto;margin:0 0 28px;border-bottom:1px solid var(--iv-line);
  scrollbar-width:thin;-webkit-overflow-scrolling:touch;}
.legal-page .legal-tabs a{position:relative;flex:none;padding:12px 16px;font-size:var(--fs-lg);font-weight:600;color:var(--iv-text-2);
  text-decoration:none;border:0;white-space:nowrap;}
.legal-page .legal-tabs a:hover{color:var(--iv-text);}
.legal-page .legal-tabs a.is-on{color:var(--iv-text);}
.legal-page .legal-tabs a.is-on::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--iv-silver-line);}
.legal-doc{display:grid;grid-template-columns:220px minmax(0,680px);gap:clamp(28px,4vw,56px);align-items:start;scroll-margin-top:96px;}
.legal-doc + .legal-doc{margin-top:56px;}
.legal-tabbed .legal-doc + .legal-doc{margin-top:0;}
.legal-toc{position:sticky;top:96px;font-size:var(--fs-md);}
.legal-toc-title{margin:0 0 10px;font-weight:700;color:var(--iv-text);}
.legal-toc ol{list-style:none;margin:0;padding:0;display:grid;gap:8px;}
.legal-toc a{color:var(--iv-text-2);text-decoration:none;line-height:1.4;}
.legal-toc a:hover,.legal-toc a.is-current{color:var(--iv-text);}
.legal-toc a.is-current{font-weight:600;}
.legal-text{max-width:680px;font-size:16px;line-height:1.7;color:var(--iv-text);}
.legal-text h2{margin:0;font-size:clamp(24px,2.4vw,30px);color:var(--iv-text);}
.legal-date{margin:6px 0 22px;font-size:var(--fs-md);color:var(--iv-text-3);}
.legal-text h3{margin:34px 0 10px;font-size:19px;font-weight:700;color:var(--iv-text);scroll-margin-top:96px;}
.legal-text p,.legal-text ul,.legal-text ol,.legal-text dl{margin:0 0 14px;}
.legal-text ul,.legal-text ol{padding-left:22px;}
.legal-text li{margin-bottom:6px;}
.legal-text table{display:block;overflow-x:auto;border-collapse:collapse;background:var(--iv-card-on-a);}
.legal-text th,.legal-text td{border:1px solid var(--iv-line);padding:8px 12px;}
.legal-text code{overflow-wrap:anywhere;}
@media (max-width:900px){
  .legal-doc{grid-template-columns:minmax(0,1fr);gap:18px;}
  .legal-toc{position:static;}
}
.legal-page .legal-tabs{scroll-margin-top:84px;}

/* Our Work and the player view (Website 8, Part 4): the Services top section; the themes in bands by
   turns; cards three across on a wide screen, one on a phone; tags in the tag colour. */
.work-divider{border:0;height:1px;margin:28px 0 18px;max-width:34em;background:var(--iv-line);}
.work-promise{margin:0;max-width:40em;font-size:var(--fs-lg);line-height:1.6;color:var(--iv-text-2);}
.work-label{margin:0 0 6px;font-size:var(--fs-xs);font-weight:700;letter-spacing:.12em;color:var(--iv-text-3);}
.work-count{margin:10px 0 0;font-size:var(--fs-sm);color:var(--iv-text-3);}
.work-grid{list-style:none;margin:28px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;}
.work-card{display:flex;flex-direction:column;gap:10px;padding:22px 22px 20px;border:1px solid var(--iv-line);border-radius:var(--r-xl);background:var(--iv-card-on-a);}
.how-dark .work-card{background:var(--iv-card-on-b);}
.work-kind{display:flex;align-items:center;gap:8px;margin:0;font-size:var(--fs-sm);color:var(--iv-text-2);}
.work-card h3{margin:0;font-size:19px;font-weight:700;color:var(--iv-text);}
.work-when{margin:0;font-size:var(--fs-md);color:var(--iv-text-2);}
.work-tags{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px;}
.work-tags li{padding:3px 10px;border:1px solid var(--iv-line-strong);border-radius:var(--r-pill);font-size:var(--fs-xs);font-weight:600;color:var(--iv-text);}
.work-excerpt{margin:4px 0 0;padding:12px 0 0;border:0;border-top:1px solid var(--iv-line);display:grid;gap:8px;}
.work-excerpt p{margin:0;font-size:15px;line-height:1.6;color:var(--iv-text);}
.work-who{font-weight:700;color:var(--iv-text);}
.work-read{margin-top:auto;font-weight:600;}
.work-back{margin:0 0 10px;font-size:var(--fs-md);}
.work-strip{display:flex;flex-wrap:wrap;gap:12px 28px;margin:22px 0 0;}
.work-strip div{display:grid;gap:2px;}
.work-strip dt{font-size:var(--fs-xs);font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--iv-text-3);}
.work-strip dd{margin:0;font-size:var(--fs-lg);color:var(--iv-text);}
.work-player{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(24px,4vw,48px);align-items:start;}
.work-media{position:sticky;top:96px;display:grid;gap:10px;}
.work-media video,.work-media audio{width:100%;border-radius:var(--r-lg);background:var(--iv-box);}
.work-transcript{display:grid;gap:6px;}
.work-para{padding:12px 16px;border:1px solid transparent;border-radius:var(--r-lg);}
.work-para.is-current{border-color:var(--iv-line-strong);background:var(--iv-hover);}
.work-para-head{display:flex;align-items:baseline;gap:10px;margin:0 0 4px;}
.work-time{border:0;padding:0;background:none;color:var(--iv-link);text-decoration:underline;font:inherit;font-size:var(--fs-sm);font-variant-numeric:tabular-nums;cursor:pointer;}
.work-time:hover{color:var(--iv-link-hover);}
.work-words{margin:0;font-size:17px;line-height:1.7;color:var(--iv-text);}
.work-words .is-said{background:var(--iv-box);box-shadow:0 0 0 2px var(--iv-box);border-radius:3px;color:var(--iv-tag-text);}
.work-credit p{margin:0;color:var(--iv-text-2);}
.work-prompt .door-go{margin-top:18px;}
@media (max-width:900px){
  .work-grid{grid-template-columns:minmax(0,1fr);}
  .work-player{grid-template-columns:minmax(0,1fr);}
  .work-media{position:static;}
}
@media (min-width:901px) and (max-width:1100px){.work-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
