/* Robin site: shared styles for the one-page homepage (and the parked
   standalone pages). Navy header + hero, then alternating white and paper
   sections, one heading per block, no stacked subtitles. Same identity as
   The Judgement Interface v3. Single brand look by choice, so no dark mode. */
:root{
  --navy:       #0E3247;
  --navy-deep:  #0A2536;
  --paper:      #FBFAF7;
  --card:       #FFFFFF;
  --ink:        #2B2B28;
  --muted:      #6B6A64;
  --orange:     #E8703A;
  --teal:       #1D9E75;
  --teal-deep:  #147A5A;
  --teal-light: #6FD4AE;
  --line:       rgba(14, 50, 71, .16);
  --line-light: rgba(251, 250, 247, .22);
  --paper-soft: rgba(251, 250, 247, .8);
  --paper-dim:  rgba(251, 250, 247, .5);

  --font-display: "Newsreader", Georgia, serif;
  --font-body:    "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-mono:    "Spline Sans Mono", "SFMono-Regular", Consolas, monospace;

  --pad-x: clamp(1rem, 5vw, 4rem);
  --section-y: clamp(3.25rem, 7vw, 5.5rem);
  color-scheme: light;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--navy);
}

*{ box-sizing: border-box; margin: 0; padding: 0; }
body{
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; }
::selection{ background: var(--orange); color: var(--card); }
a{ color: inherit; }
:focus-visible{ outline: 2px solid var(--orange); outline-offset: 3px; }

.wrap{ max-width: 64rem; margin: 0 auto; padding-inline: var(--pad-x); }
section{ padding-block: var(--section-y); }
.band{ background: var(--card); border-block: 1px solid var(--line); }

/* Text runs the full width of the column; "pretty" only stops a lone
   word being stranded on the last line. */
h1, h2, h3, p{ text-wrap: pretty; }
h2{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.75rem, 3.4vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--navy);
}

/* ---------- header ---------- */
.top{ background: var(--navy); color: var(--paper); }
.bar{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2rem;
  padding-block: 1.4rem 0;
}
.bar img{ height: 2.1rem; width: auto; display: block; }
.nav{
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.4rem;
  list-style: none;
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .05em;
}
.nav a{
  text-decoration: none;
  color: var(--paper-soft);
  border-bottom: 1px solid transparent;
  padding-bottom: .15rem;
}
.nav a:hover{ color: var(--paper); border-color: var(--orange); }
.nav a[aria-current="page"]{ color: var(--orange); }

.hero{ padding-block: clamp(3.5rem, 9vw, 6.5rem) clamp(3.25rem, 8vw, 5.5rem); }
.hero h1{
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.6vw, 4.9rem);
  line-height: 1.04;
  letter-spacing: -.02em;
  max-width: 15ch;
}
.hero h1 em{ font-style: italic; color: var(--orange); }
.lede{
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.3vw, 1.55rem);
  line-height: 1.35;
  color: var(--paper-soft);
}
.cta{
  display: inline-block;
  margin-top: 2.2rem;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--paper);
  border: 1px solid var(--orange);
  border-radius: 999px;
  padding: .7rem 1.15rem;
}
.cta:hover{ background: var(--orange); }

.page-hero{ padding-block: clamp(3rem, 7vw, 5rem) clamp(2.75rem, 6vw, 4.5rem); }
.page-hero h1{
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.3rem, 5.4vw, 4rem);
  line-height: 1.08;
  letter-spacing: -.015em;
  max-width: 18ch;
}

/* ---------- home: who ---------- */
.who-list{
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.75rem;
}
.who-list li{
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  line-height: 1.15;
  color: var(--navy);
  padding-top: .9rem;
  border-top: 2px solid var(--orange);
}

/* ---------- home: what ---------- */
.feat-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem 2.5rem;
  margin-top: 1.75rem;
  list-style: none;
}
.feat-grid li{
  display: grid;
  gap: .3rem;
  align-content: start;
  padding-top: .85rem;
  border-top: 1px solid var(--line);
}
.feat-grid b{ font-weight: 600; font-size: 1.08rem; color: var(--navy); }

/* ---------- home: why (instead of / the problem / with Robin) ---------- */
.compare{ margin-top: 1.75rem; border-top: 1px solid var(--line); }
.compare-head, .compare-row{
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 1.5rem;
}
.compare-head{
  padding-block: .8rem .5rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.compare-head .robin{ color: var(--teal-deep); }
.compare-row{
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.compare-row .alt{ font-weight: 600; color: var(--navy); }
.compare-row .problem{ color: var(--muted); }
.compare-row .lbl{
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* ---------- numbered steps (how it works, the five checks) ---------- */
.steps{ list-style: none; counter-reset: step; }
.steps li{
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 1rem;
  padding-block: 1.35rem;
  border-top: 1px solid var(--line);
}
.steps li:last-child{ border-bottom: 1px solid var(--line); }
.steps li::before{
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--orange);
  padding-top: .45rem;
}
.steps b{
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.45rem;
  line-height: 1.2;
  color: var(--navy);
}
.steps p{ margin-top: .35rem; }

/* ---------- how it works: the worked example ---------- */
.flow{
  display: grid;
  grid-template-columns: minmax(0, .8fr) 1.5rem minmax(0, 1.25fr) 1.5rem minmax(0, 1.1fr);
  gap: .75rem;
  align-items: center;
  margin-top: 1.75rem;
}
.flow .arrow{ color: var(--orange); text-align: center; font-weight: 600; font-size: 1.2rem; }
.card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1rem 1.1rem 1.1rem;
  min-width: 0;
}
.kind{
  display: block;
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .45rem;
}
.card .title{ font-weight: 600; color: var(--navy); line-height: 1.3; }
.card .meta{ display: block; margin-top: .25rem; font-size: .85rem; color: var(--muted); }
.signals{ list-style: none; display: grid; gap: .5rem; }
.signals li{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: .55rem .75rem .6rem;
  font-size: .92rem;
  line-height: 1.4;
}
.signals .src{
  display: block;
  margin-top: .2rem;
  font-family: var(--font-mono);
  font-size: .66rem;
  color: var(--muted);
}
.signals .more{
  background: none;
  border: none;
  padding: .1rem 0 0;
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--muted);
}
.card--wiki{ border-color: var(--teal); }
.card--wiki p{
  margin-top: .5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.4;
}
.cite{
  font-family: var(--font-mono);
  font-size: .62em;
  color: var(--teal-deep);
  vertical-align: .45em;
  margin-left: .1rem;
}
.card--wiki .meta{ color: var(--teal-deep); margin-top: .7rem; font-family: var(--font-mono); font-size: .7rem; }

/* ---------- trust: the chain ---------- */
.chain{
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 1.75rem;
}
.chain li{
  position: relative;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--card);
  padding: 1rem 1.1rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--navy);
}
.chain li:first-child{ border-color: var(--teal); }
.chain li:not(:last-child)::after{
  content: "\2192";
  position: absolute;
  right: -1.45rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--orange);
  font-family: var(--font-body);
  font-weight: 600;
}

/* ---------- prose pages ---------- */
.prose{ display: grid; gap: 1.1rem; }
.prose p{ font-size: 1.15rem; line-height: 1.6; }
.questions{
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.75rem;
}
.questions li{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.3rem 1.3rem 1.4rem;
  display: grid;
  gap: .5rem;
  align-content: start;
}
.questions b{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.15;
  color: var(--navy);
}
.statement{
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.35rem);
  line-height: 1.25;
  color: var(--navy);
}

/* ---------- next page + footer ---------- */
.next{ background: var(--navy); color: var(--paper); }
.next a{
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .4rem .9rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
  line-height: 1.15;
}
.next a span{
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
}
.next a:hover{ color: var(--orange); }
.foot{
  background: var(--navy-deep);
  color: var(--paper-dim);
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .08em;
}
.foot .wrap{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem 2rem;
  padding-block: 1.6rem;
}
.foot a{ text-decoration: none; border-bottom: 1px solid var(--line-light); }
.foot a:hover{ color: var(--paper); border-color: var(--orange); }

/* ---------- one-scroller additions ---------- */
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior: auto; } }
section[id]{ scroll-margin-top: 1rem; }
h3{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
  line-height: 1.2;
  color: var(--navy);
  margin-top: clamp(2.75rem, 6vw, 4rem);
}
h2 + .steps, h2 + .prose{ margin-top: 1.75rem; }
h3 + .steps, h3 + .flow{ margin-top: 1.25rem; }
.prose + .chain{ margin-top: 1.75rem; }
.steps + .statement{ margin-top: clamp(2.75rem, 6vw, 4rem); }
.ji{ background: var(--navy); color: var(--paper); }
.ji h2{ color: var(--paper); }
.ji .prose p{ color: var(--paper-soft); }
.ji .questions li{ background: rgba(251, 250, 247, .05); border-color: var(--line-light); }
.ji .questions b{ color: var(--paper); }
.ji .questions span{ color: var(--paper-soft); }
.ji .prose.after{ margin-top: 2rem; }
.ji .statement{ color: var(--paper); margin-top: clamp(2.75rem, 6vw, 4rem); }
.ji .statement em{ font-style: italic; color: var(--orange); }

/* ---------- opening (split): what Robin is beside the film, then who it's for ---------- */
.hero--split{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 2rem clamp(2rem, 4vw, 3rem);
  align-items: center;
}
.hero.hero--split{ padding-top: clamp(2.25rem, 5vw, 3.5rem); }
.hero--split h1{ max-width: none; font-size: clamp(2.4rem, 4.8vw, 3.4rem); }
.hero-video{ margin: 0; }
.hero-video video{
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: #000;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .3);
}
.hero-who{
  grid-column: 1 / -1;
  margin-top: clamp(.5rem, 2vw, 1.25rem);
  padding-top: 1.1rem;
  border-top: 2px solid var(--orange);
}
.band-line{
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.25;
  color: var(--paper);
}
/* the four sectors: a thin orange icon above each name */
.who-icons{
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}
.who-icons li{
  display: grid;
  justify-items: start;
  align-content: start;
  gap: .75rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  line-height: 1.15;
  color: var(--paper);
}
.who-icons svg{ width: 2.9rem; height: 2.9rem; color: var(--orange); }
@media (max-width: 600px){
  .who-icons{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1rem; }
}
@media (max-width: 860px){
  .hero--split{ grid-template-columns: minmax(0, 1fr); }
}

/* ---------- why now: its own short section straight after the opening ---------- */
#why-now{ padding-block: clamp(2.5rem, 5vw, 3.75rem); }
/* Sized to keep the heading on one line from a small laptop up. */
#why-now h2{ font-size: clamp(1.6rem, 2.9vw, 2.1rem); }
.now-list{
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem clamp(2rem, 5vw, 3.5rem);
  margin-top: 1.5rem;
  color: var(--ink);
}
.now-list li{ display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: .75rem; align-items: start; }
.now-list svg{ width: 1.6rem; height: 1.6rem; color: var(--orange); }
.now-list b{ font-weight: 600; color: var(--navy); }
.now-list div{ text-wrap: pretty; }
@media (max-width: 720px){ .now-list{ grid-template-columns: minmax(0, 1fr); } }

/* ---------- what: the goal / what that takes / what you get ---------- */
.beats{ list-style: none; margin-top: 1.75rem; border-top: 1px solid var(--line); }
.beats li{
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: 1.5rem;
  align-items: baseline;
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--line);
}
.beats b{ font-weight: 600; color: var(--navy); }
.beats span{
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.1vw, 1.4rem);
  line-height: 1.4;
  color: var(--ink);
}
.beats + .feat-grid{ margin-top: clamp(2.5rem, 5vw, 3.25rem); }
@media (max-width: 720px){
  .beats li{ grid-template-columns: minmax(0, 1fr); gap: .3rem; }
}

/* ---------- how Robin works: five steps, each beside what it looks like ---------- */
/* Compact on purpose: a narrow text column and a wide picture column, so the
   five steps fit on about one laptop screen. */
.how{ list-style: none; counter-reset: how; margin-top: 1.5rem; }
.how > li{
  position: relative;
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 17rem) minmax(0, 1fr);
  gap: .75rem 1.25rem;
  align-items: start;
  padding-bottom: 1.1rem;
}
.how > li:last-child{ padding-bottom: 0; }
/* numbered circles on a rail that joins the steps */
.how > li::before{
  counter-increment: how;
  content: counter(how);
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1.5px solid var(--orange);
  border-radius: 50%;
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--orange);
}
.how > li:not(:last-child)::after{
  content: "";
  position: absolute;
  left: calc(1.125rem - 1px);
  top: 2.25rem;
  bottom: 0;
  width: 2px;
  background: var(--line);
}
.how-text b{
  display: block;
  padding-top: .3rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1.2;
  color: var(--navy);
}
.how-text p{ margin-top: .2rem; font-size: 1rem; line-height: 1.5; }
.how .card{ padding: .75rem 1rem .8rem; }
.how .kind{ margin-bottom: .25rem; }
.how .card p{
  margin-top: .3rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.35;
}
.how .card .q{ display: block; font-size: .92rem; color: var(--muted); }
.how .card span, .how .signals li{ text-wrap: pretty; }
/* each signal on one line where it fits, its source pushed to the right */
.how .signals{ gap: .35rem; }
.how .signals li{
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .1rem .75rem;
  padding: .45rem .75rem;
}
.how .signals .src{ margin: 0 0 0 auto; }
.how .signals .more{ padding: 0; }
.how ins{ text-decoration: none; background: rgba(29, 158, 117, .12); }
.actions{ display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: .6rem; }
.how .actions .meta{ margin: 0 0 0 auto; }
.btn{
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
}
.btn--yes{ background: var(--teal-deep); border-color: var(--teal-deep); color: var(--card); }
@media (max-width: 720px){
  .how > li{ grid-template-columns: 2.25rem minmax(0, 1fr); gap: .9rem 1rem; }
  .how > li > :last-child{ grid-column: 2; }
}

/* ---------- who: one line + what they love ---------- */
.who-line{
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.3vw, 1.55rem);
  line-height: 1.35;
  color: var(--ink);
}
.love-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 1.75rem;
  list-style: none;
}
.love-grid li{ display: grid; gap: .4rem; align-content: start; }
.love-grid b{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.7rem;
  line-height: 1.1;
  color: var(--navy);
}
.love-grid span{ color: var(--muted); }
@media (max-width: 860px){ .love-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px){ .love-grid{ grid-template-columns: minmax(0, 1fr); } }

/* ---------- four promises: knowledge today -> knowledge with Robin ---------- */
.promises{ margin-top: 1.75rem; border-top: 1px solid var(--line); }
.promises ul{ list-style: none; }
/* The "today" column is just wide enough for "Reports rot." in the kicker,
   so each "with Robin" sentence still has room to sit on one line on a
   laptop or desktop. */
.promises-head, .promises li, .promises .kicker{
  display: grid;
  grid-template-columns: 9rem 1.25rem minmax(0, 1fr);
  gap: .6rem;
}
.promises-head{
  padding-block: .8rem .5rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.promises-head span:first-child{ grid-column: 1 / 3; white-space: nowrap; }
.promises-head .robin{ grid-column: 3; color: var(--teal-deep); }
.promises li{
  align-items: baseline;
  padding-block: 1.05rem;
  border-bottom: 1px solid var(--line);
}
.promises .from, .promises .to b{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.45rem;
  line-height: 1.2;
}
.promises .from{ color: var(--muted); }
.promises .arrow{ color: var(--orange); text-align: center; }
.promises .to b{ display: block; color: var(--teal-deep); }
.promises .to span{ display: block; margin-top: .25rem; font-size: 1rem; }
/* The closing kicker: today's side under today, Robin's side under Robin,
   closed off by a heavy orange rule so it reads as an ending, not a fifth row. */
.promises .kicker{
  align-items: baseline;
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding-bottom: 1.25rem;
  border-bottom: 4px solid var(--orange);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.15;
}
.promises .kicker em{ grid-column: 1 / 3; font-style: italic; color: var(--muted); white-space: nowrap; }
.promises .kicker span{ grid-column: 3; color: var(--teal-deep); }
@media (max-width: 720px){
  .promises-head, .promises li, .promises .kicker{ grid-template-columns: 6.5rem 1.25rem minmax(0, 1fr); gap: .6rem; }
}
.ji h3{ color: var(--paper); }

/* ---------- responsive ---------- */
@media (max-width: 860px){
  .who-list{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .questions{ grid-template-columns: minmax(0, 1fr); }
  .flow{ grid-template-columns: minmax(0, 1fr); }
  .flow .arrow{ transform: rotate(90deg); justify-self: start; margin-left: 1rem; }
}
@media (max-width: 720px){
  .compare-head{ display: none; }
  .compare-row{ grid-template-columns: minmax(0, 1fr); gap: .35rem; }
  .compare-row .lbl{
    position: static; width: auto; height: auto; overflow: visible;
    clip-path: none; white-space: normal;
    display: block;
    margin-bottom: .1rem;
    font-family: var(--font-mono);
    font-size: .66rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .compare-row .robin .lbl{ color: var(--teal-deep); }
  .chain{ grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .chain li:not(:last-child)::after{
    content: "\2193";
    right: auto; left: 1.1rem; top: auto; bottom: -1.35rem;
    line-height: 1;
    transform: none;
  }
}
@media (max-width: 520px){
  .who-list, .feat-grid{ grid-template-columns: minmax(0, 1fr); }
}

/* ---------- how Robin avoids hallucinations: five checks as a narrowing funnel,
   each with what it stops struck through beside it ---------- */
.trust-lede{
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.1vw, 1.45rem);
  line-height: 1.4;
}
.funnel{ list-style: none; counter-reset: gate; margin-top: 2rem; display: grid; gap: .5rem; }
.funnel > li{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 14rem;
  gap: 1.5rem;
  align-items: center;
}
.gate{
  counter-increment: gate;
  position: relative;
  justify-self: center;
  width: var(--w, 100%);
  padding: .8rem 1.1rem .85rem 3.1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--teal) var(--tint, 0%), var(--card));
}
.gate::before{
  content: counter(gate);
  position: absolute;
  left: 1rem;
  top: .85rem;
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border: 1.5px solid var(--orange);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--orange);
}
.gate b{
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--navy);
}
.gate span{ display: block; margin-top: .2rem; font-size: .95rem; line-height: 1.45; text-wrap: pretty; }
.funnel .g1{ --w: 100%; --tint: 0%; }
.funnel .g2{ --w: 91%; --tint: 4%; }
.funnel .g3{ --w: 81%; --tint: 8%; }
.funnel .g4{ --w: 71%; --tint: 12%; }
.funnel .g5{ --w: 61%; --tint: 18%; }
.funnel .g5 .gate{ border: 2px solid var(--teal-deep); }
.stopped{
  font-size: .9rem;
  line-height: 1.35;
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: rgba(232, 112, 58, .75);
}
.stopped::before{ content: "\2715"; display: inline-block; margin-right: .45rem; color: var(--orange); text-decoration: none; }
.funnel-note span{
  justify-self: center;
  width: 86%;
  margin: .35rem 0;
  padding-top: .45rem;
  border-top: 2px solid var(--orange);
  text-align: center;
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-deep);
}
.funnel + .statement{ margin-top: clamp(2.5rem, 5vw, 3.5rem); }
@media (max-width: 720px){
  .funnel > li{ grid-template-columns: minmax(0, 1fr); gap: .35rem; }
  .gate{ width: 100%; }
  .stopped{ padding-left: 3.1rem; }
  .funnel-note span{ width: 100%; }
}

/* ---------- the client section: its own deep-green band so it stands apart
   from our own claims. Quote first and large, then goal / takes / got. ---------- */
.case{ background: var(--teal-deep); color: var(--paper); }
.case h2{ color: var(--paper); }
.case-quote{ margin: clamp(1.75rem, 3.5vw, 2.5rem) 0 0; }
.case-quote::before{
  content: "\201C";
  display: block;
  height: 2.4rem;
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 1;
  color: var(--orange);
}
.case-quote p{
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  line-height: 1.3;
  color: var(--paper);
}
.case-quote cite{
  display: block;
  margin-top: 1.1rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-style: normal;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--paper-soft);
}
.case-beats{
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  margin-top: clamp(2.25rem, 4.5vw, 3.25rem);
}
.case-beats li{ display: grid; align-content: start; gap: .45rem; padding-top: .9rem; border-top: 1px solid rgba(251, 250, 247, .3); }
.case-beats b{
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-light);
}
.case-beats span{ font-family: var(--font-display); font-size: 1.15rem; line-height: 1.4; color: var(--paper); text-wrap: pretty; }
@media (max-width: 720px){ .case-beats{ grid-template-columns: minmax(0, 1fr); } }

/* ---------- what Robin does: each feature gets an icon tile ---------- */
.feat-grid{ gap: 2.25rem 2.5rem; }
.feat-grid li{ border-top: none; padding-top: 0; gap: .35rem; }
.feat-icon{
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: .45rem;
  border-radius: 10px;
  background: rgba(29, 158, 117, .1);
  color: var(--teal-deep);
}
.feat-icon svg{ width: 1.45rem; height: 1.45rem; }
.feat-grid b{ font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; line-height: 1.2; }
.feat-grid span:not(.feat-icon){ color: var(--muted); text-wrap: pretty; }

/* ---------- why Robin beats the alternatives: one card per alternative ---------- */
.alts{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1.75rem; }
.alt-card{
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
}
.alt-head{
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: .85rem;
  align-items: center;
  padding: 1.15rem 1.25rem .35rem;
}
.alt-icon{
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 10px;
  background: rgba(14, 50, 71, .06);
  color: var(--navy);
}
.alt-icon svg{ width: 1.4rem; height: 1.4rem; }
.alt-label{
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.alt-head b{ font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; line-height: 1.2; color: var(--navy); }
.alt-problem{ padding: .55rem 1.25rem 1.1rem 1.25rem; color: var(--muted); text-wrap: pretty; }
.alt-problem::before{ content: "\2715"; margin-right: .5rem; color: var(--orange); }
.alt-robin{
  margin-top: auto;
  padding: .85rem 1.25rem 1.1rem;
  border-top: 1px solid rgba(29, 158, 117, .22);
  background: rgba(29, 158, 117, .08);
  text-wrap: pretty;
}
.alt-robin .lbl{
  display: block;
  margin-bottom: .2rem;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-deep);
}
.alt-robin .lbl::before{ content: "\2713"; margin-right: .45rem; letter-spacing: 0; }
@media (max-width: 720px){ .alts{ grid-template-columns: minmax(0, 1fr); } }

/* ---------- why Robin beats the alternatives: three ways to put AI on what
   you know. Where both alternatives fail the same way, one cell spans both;
   Robin's column is highlighted. ---------- */
.vs{ display: grid; grid-template-columns: 12rem repeat(3, minmax(0, 1fr)); margin-top: 2rem; }
.vs > div{ padding: .95rem 1rem; }
.vs-head{
  align-self: end;
  padding-bottom: .9rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.2;
  color: var(--navy);
}
.vs-head.o3{ border-radius: 12px 12px 0 0; background: rgba(29, 158, 117, .1); font-size: 1.45rem; color: var(--teal-deep); }
.vs-sub{
  display: block;
  margin-top: .3rem;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.vs-label{ border-top: 1px solid var(--line); font-weight: 600; font-size: 1rem; line-height: 1.35; color: var(--navy); }
.vs-cell{ border-top: 1px solid var(--line); font-size: 1rem; line-height: 1.45; color: var(--muted); text-wrap: pretty; }
.vs-cell.span2{ grid-column: span 2; text-align: center; }
.vs-cell.o3{ border-top-color: rgba(29, 158, 117, .25); background: rgba(29, 158, 117, .1); color: var(--ink); }
.vs-cell.o3.end{ border-radius: 0 0 12px 12px; }
.vs .mk::before{ margin-right: .4rem; font-weight: 700; }
.vs .no .mk::before{ content: "\2715"; color: var(--orange); }
.vs .meh .mk::before{ content: "\2013"; color: var(--muted); }
.vs .yes .mk::before{ content: "\2713"; color: var(--teal-deep); }
.vs + .vs-close{ margin-top: clamp(2.5rem, 5vw, 3.5rem); }
/* on a phone: row by row, each answer labelled with whose it is */
@media (max-width: 760px){
  .vs{ grid-template-columns: minmax(0, 1fr); }
  .vs-blank, .vs-head{ display: none; }
  .vs > .vs-label{
    margin-top: 1.25rem;
    padding: .8rem 0 .35rem;
    border-top: 2px solid var(--line);
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.2rem;
  }
  .vs > .vs-cell{ padding: .55rem .9rem; border-top: none; border-radius: 8px; text-align: left; }
  .vs-cell.span2{ grid-column: auto; }
  .vs-cell.o3{ margin-top: .35rem; }
  .vs-cell::before{
    content: attr(data-col);
    display: block;
    margin-bottom: .1rem;
    font-family: var(--font-mono);
    font-size: .62rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .vs-cell.o3::before{ color: var(--teal-deep); }
}
/* the cross or tick hangs in its own column, like a bullet, so the text never wraps under it */
.vs-cell{ display: grid; grid-template-columns: 1.1rem minmax(0, 1fr); column-gap: .45rem; align-items: start; }
.vs .mk::before{ margin-right: 0; }
@media (max-width: 760px){
  .vs-cell::before{ grid-column: 1 / -1; }
}

/* ---------- the closer: from knowledge management to the Judgement Interface ---------- */
.ji{ padding-block: clamp(4rem, 9vw, 7rem); }
.ji h2.ji-title{
  max-width: 20ch;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -.015em;
}
.ji-old{ color: var(--paper-dim); }
.ji-title em{ font-style: italic; color: var(--orange); }
.ji-lede{
  margin-top: 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.1vw, 1.45rem);
  line-height: 1.4;
  color: var(--paper-soft);
}
.ji-shift{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2.5rem minmax(0, 1fr);
  align-items: stretch;
  gap: 1rem;
  margin-top: clamp(2.25rem, 5vw, 3.25rem);
}
.ji-q{ padding: 1.3rem 1.4rem 1.4rem; border-radius: 12px; }
.ji-q span{
  display: block;
  margin-bottom: .55rem;
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.ji-q p{ font-family: var(--font-display); font-size: clamp(1.35rem, 2.6vw, 1.85rem); line-height: 1.2; }
.ji-q--then{ border: 1px dashed var(--line-light); }
.ji-q--then span{ color: var(--paper-dim); }
.ji-q--then p{ color: var(--paper-dim); }
.ji-q--next{ border: 2px solid var(--orange); background: rgba(232, 112, 58, .08); }
.ji-q--next span{ color: var(--orange); }
.ji-q--next p{ color: var(--paper); }
.ji-arrow{ align-self: center; text-align: center; font-size: 1.8rem; color: var(--orange); }
.ji-bridge{
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.1vw, 1.45rem);
  color: var(--paper);
}
.ji-three{
  list-style: none;
  counter-reset: jq;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  margin-top: 1.5rem;
}
.ji-three li{ counter-increment: jq; display: grid; align-content: start; gap: .5rem; padding-top: 1rem; border-top: 1px solid var(--line-light); }
.ji-three li::before{
  content: counter(jq, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--orange);
}
.ji-three b{ font-family: var(--font-display); font-weight: 500; font-size: clamp(1.45rem, 2.4vw, 1.75rem); line-height: 1.15; color: var(--paper); }
.ji-three p{ color: var(--paper-soft); }
.ji-in{ margin-top: .35rem; font-size: .95rem; color: var(--teal-light); }
.ji-in i{
  display: block;
  margin-bottom: .1rem;
  font-family: var(--font-mono);
  font-size: .62rem;
  font-style: normal;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--paper-dim);
}
.ji-close{
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.1vw, 1.45rem);
  line-height: 1.4;
  color: var(--paper-soft);
}
.ji .ji-close + .statement{ margin-top: 1.25rem; }
@media (max-width: 760px){
  .ji-shift{ grid-template-columns: minmax(0, 1fr); }
  .ji-arrow{ transform: rotate(90deg); }
  .ji-three{ grid-template-columns: minmax(0, 1fr); }
}
/* closer v2: today -> tomorrow is the headline; back to a normal section height */
.ji{ padding-block: var(--section-y); }
.sr-only{ position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ji .ji-shift{ margin-top: 0; }
.ji-q b{
  display: block;
  margin-bottom: .6rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -.01em;
}
.ji-q--then b{ color: var(--paper-dim); }
.ji-q--next b{ font-style: italic; color: var(--orange); }
.ji-q p{ font-size: clamp(1.15rem, 2vw, 1.4rem); }
.ji .ji-lede{ margin-top: clamp(1.75rem, 3.5vw, 2.5rem); color: var(--paper); }
.ji-lede + .ji-bridge{ margin-top: 1.5rem; color: var(--paper-soft); }
/* sized so "Knowledge management" and "How carefully have we curated our
   judgement?" each sit on one line from a small laptop up */
.ji-shift{ grid-template-columns: minmax(0, 1fr) 2rem minmax(0, 1fr); gap: .75rem; }
.ji-q{ padding: 1.2rem 1.1rem 1.3rem; }
.ji-q b{ font-size: clamp(1.4rem, 3.3vw, 2.1rem); }
.ji-q p{ font-size: clamp(1rem, 1.85vw, 1.2rem); }
/* the three questions: no big numbers; the key words carry an orange underline */
.ji-three li::before{ content: none; }
.ji-key{
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 3px;
  text-underline-offset: .2em;
}
.ji-three b{ font-size: clamp(1.3rem, 2.1vw, 1.5rem); }
.ji-key{ white-space: nowrap; }
.hero--split h1{ font-size: clamp(2.6rem, 5.4vw, 3.9rem); }

/* ---------- slide 3: what Robin is, in one sentence, then three attributes ---------- */
#what-is h2{ font-size: clamp(1.9rem, 3.6vw, 2.6rem); line-height: 1.2; }
#what-is h2 em{ font-style: italic; color: var(--teal-deep); }
.is-grid{
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 2.5rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
}
.is-grid li{ display: grid; align-content: start; gap: .35rem; }
.is-grid b{ font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; line-height: 1.2; color: var(--navy); }
.is-grid span:not(.feat-icon){ color: var(--muted); text-wrap: pretty; }
@media (max-width: 760px){ .is-grid{ grid-template-columns: minmax(0, 1fr); } }
/* slide 3, fuller: four attributes two by two, then the kinds of wiki people keep */
.is-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 3rem; }
#what-is h3{ margin-top: clamp(2.5rem, 5vw, 3.25rem); }
.wiki-types{
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}
.wiki-types li{
  display: grid;
  align-content: start;
  gap: .35rem;
  padding: 1rem 1.05rem 1.1rem;
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  border-radius: 8px;
  background: var(--paper);
}
.wiki-types .kind{ margin-bottom: .1rem; color: var(--teal-deep); }
.wiki-types b{ font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; line-height: 1.25; color: var(--navy); text-wrap: pretty; }
.wiki-types span:not(.kind){ font-size: .92rem; line-height: 1.45; color: var(--muted); text-wrap: pretty; }
@media (max-width: 860px){ .wiki-types{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px){ .wiki-types, .is-grid{ grid-template-columns: minmax(0, 1fr); } }
.wiki-types b{ font-size: 1.35rem; }
/* slide 3 attributes: icon beside its title, the line underneath lined up with the title */
.is-grid li{ grid-template-columns: auto minmax(0, 1fr); column-gap: .8rem; row-gap: .3rem; align-items: center; }
.is-grid .feat-icon{ width: 2.4rem; height: 2.4rem; margin-bottom: 0; }
.is-grid .feat-icon svg{ width: 1.3rem; height: 1.3rem; }
.is-grid li > b, .is-grid li > span:not(.feat-icon){ grid-column: 2; }
#what-is h2{ text-wrap: balance; }

/* slide 3, unpacked: each box explains one underlined phrase of the sentence above */
.uk{
  text-decoration: underline;
  text-decoration-color: rgba(29, 158, 117, .75);
  text-decoration-thickness: 2px;
  text-underline-offset: .18em;
}
.unpack{
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem 1.75rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
}
.unpack li{ display: grid; align-content: start; gap: .5rem; padding-top: .9rem; border-top: 3px solid var(--teal); }
.unpack b{ font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; line-height: 1.2; color: var(--navy); text-wrap: balance; }
.unpack span{ font-size: .98rem; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
@media (max-width: 860px){ .unpack{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px){ .unpack{ grid-template-columns: minmax(0, 1fr); } }
/* slide 3, v2: the four phrases in italics, each its own colour, matched by its card */
.k1{ --k: #147A5A; }  /* living: teal */
.k2{ --k: #C95A26; }  /* wiki: deep orange */
.k3{ --k: #2F6AA3; }  /* what your organisation knows: blue */
.k4{ --k: #A83E63; }  /* wherever your AI is: raspberry */
#what-is h2 .k{ font-style: italic; color: var(--k); }
.unpack{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: clamp(2.25rem, 4.5vw, 3rem); }
.unpack li{
  gap: .6rem;
  padding: 1.4rem 1.5rem 1.55rem;
  border: 1px solid var(--line);
  border-top: 4px solid var(--k);
  border-radius: 10px;
  background: var(--paper);
}
.unpack b{ font-style: italic; font-size: clamp(1.4rem, 2.4vw, 1.7rem); color: var(--k); }
.unpack span{ font-size: 1.06rem; line-height: 1.55; color: var(--ink); }
@media (max-width: 860px){ .unpack{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px){ .unpack{ grid-template-columns: minmax(0, 1fr); } }
/* slide 3, v3: one accent like the rest of the page. Phrases in green italic,
   card titles navy and upright, every card edged in green. */
.k1, .k2, .k3, .k4{ --k: var(--teal-deep); }
.unpack li{ border-top-color: var(--teal); }
.unpack b{ font-style: normal; color: var(--navy); }
