@font-face {
  font-family: Inter;
  src: url('fonts/inter-latin-400-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: optional;
}
@font-face {
  font-family: Inter;
  src: url('fonts/inter-latin-ext-400-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  unicode-range: U+0100-024F, U+1E00-1EFF;
}
@font-face {
  font-family: Inter;
  src: url('fonts/inter-latin-600-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 600;
  font-display: optional;
}
@font-face {
  font-family: Inter;
  src: url('fonts/inter-latin-ext-600-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  unicode-range: U+0100-024F, U+1E00-1EFF;
}
@font-face {
  font-family: Newsreader;
  src: url('fonts/newsreader-latin-500-opsz.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: optional;
}
@font-face {
  font-family: Newsreader;
  src: url('fonts/newsreader-latin-ext-500-opsz.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  unicode-range: U+0100-024F, U+1E00-1EFF;
}
:root {
  color-scheme: light;
  --teal: var(--cavas-deep-teal);
  --night: var(--cavas-night);
  --mint: var(--cavas-mint);
  --cream: var(--cavas-cream);
  --paper: var(--cavas-paper);
  --sunken: var(--surface-sunken);
  --muted: var(--ink-muted);
  --serif: var(--font-serif);
  --sans: var(--font-sans);
  --wrap: 1180px;
  --head: 68px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head) + 2px);
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
p {
  margin: 0;
}
[hidden] {
  display: none !important;
}
.skip-link {
  position: fixed;
  z-index: 21;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  background: var(--paper);
  color: var(--night);
  transform: translateY(-150%);
}
.skip-link:not(:focus) {
  clip-path: inset(50%);
}
.skip-link:focus {
  transform: none;
}
.anchor {
  position: absolute;
}
:where(a, button, input, summary) {
  scroll-margin: 6px;
}
a {
  color: inherit;
}
.wrap {
  width: min(var(--wrap), 100% - 40px);
  margin-inline: auto;
}
:focus-visible {
  outline: 3px solid var(--night);
  outline-offset: 3px;
  border-radius: 6px;
}
.on-teal :focus-visible,
.foot :focus-visible {
  outline-color: var(--mint);
}
.window :focus-visible {
  outline-color: var(--night);
}

/* Header */
.head {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
}
.head .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--head);
}
.mark img {
  display: block;
}
.mark {
  display: inline-block;
  white-space: nowrap;
  font: 500 30px/1 var(--serif);
  letter-spacing: -0.02em;
  color: var(--teal);
  text-decoration: none;
}
.colon {
  display: inline-block;
  position: relative;
  vertical-align: baseline;
  height: 0.47em;
  width: 0.14em;
  margin-left: 0.05em;
}
.colon i {
  position: absolute;
  left: 0;
  width: 0.14em;
  height: 0.14em;
  border-radius: 50%;
  background: currentColor;
}
.colon i:first-child {
  top: 0;
}
.colon i:last-child {
  bottom: 0;
}
.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  position: relative;
  padding: 10px 12px;
  font: 400 15px/1 var(--sans);
  text-decoration: none;
  color: var(--ink);
  border-radius: 8px;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.15s ease-out;
}
.nav a:hover::after,
.nav a[aria-current='true']::after {
  transform: scaleX(1);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  font: 600 16px/1 var(--sans);
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.1s;
}
.btn:active {
  transform: translateY(1px);
}
.btn-teal {
  background: var(--teal);
  color: var(--cream);
}
.btn-teal:hover {
  background: var(--night);
}
.btn-cream {
  background: var(--cream);
  color: var(--night);
  transition: background .15s, transform .1s;
}
.btn-cream:hover {
  background: var(--mint);
}
.head .btn.quiet {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.head .btn.quiet:hover {
  background: var(--teal);
  color: var(--cream);
}
/* 1 line under the header: the track is the border and the progress fills it */
.track {
  display: block;
  height: 2px;
  background: var(--line);
}
.progress {
  display: block;
  height: 100%;
  background: var(--teal);
  transform-origin: left;
  transform: scaleX(0);
}

/* Phone menu: a native disclosure, so it opens with JavaScript off */
.menu {
  display: none;
}
.menu summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  font: 600 15px/1 var(--sans);
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.menu summary::-webkit-details-marker {
  display: none;
}
.menu .when-open,
.menu[open] .when-closed {
  display: none;
}
.menu[open] .when-open {
  display: inline;
}
.sheet {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  display: grid;
  padding: 8px 20px 16px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-raised);
}
.sheet a {
  display: flex;
  align-items: center;
  min-height: 48px;
  font: 500 17px/1 var(--sans);
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.sheet a:last-child {
  border-bottom: 0;
}
.sheet a[aria-current='true'] {
  color: var(--teal);
}

/* Hero */
.hero {
  position: relative;
  background: var(--teal);
  color: var(--cream);
  isolation: isolate;
}
.hero canvas,
.hero .waves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}
/* The faint wave picture behind the thread: Night and Deep Teal only, so it
   can only darken the ground the words sit on */
.hero .waves {
  opacity: 0.42;
}
.waves .w1 {
  fill: var(--cavas-night);
  opacity: 0.31;
}
.waves .w2 {
  fill: var(--cavas-deep-teal);
  opacity: 0.67;
}
.waves .w3 {
  fill: var(--cavas-night);
  opacity: 0.37;
}
.waves .w4 {
  fill: var(--cavas-night);
  opacity: 0.43;
}
.waves .wl {
  fill: none;
  stroke: var(--cavas-night);
  opacity: 0.13;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1fr;
  text-align: center;
  gap: 44px;
  align-items: center;
  padding-top: 72px;
}
.kicker {
  display: inline-block;
  white-space: nowrap;
  font: 500 34px/1.1 var(--serif);
  letter-spacing: -0.01em;
}
.kicker .colon {
  color: var(--mint);
  height: 0.5em;
  width: 0.15em;
  margin-left: 0.1em;
}
.kicker .colon i {
  width: 0.15em;
  height: 0.15em;
}
.hero h1 {
  font-size: clamp(46px, 5.6vw, 78px);
  line-height: 1.02;
  margin-top: 10px;
}
.lead {
  font-size: 20px;
  line-height: 1.5;
  margin-top: 22px;
}
.hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
  margin-top: 30px;
}
.textlink {
  font: 400 16px/1 var(--sans);
  color: var(--cream);
  text-underline-offset: 5px;
  padding: 14px 2px;
}
.hero .copy {
  display: grid;
  justify-items: center;
}
.hero .actions {
  justify-content: center;
}
.appline {
  /* as wide as its words, so the pulse is kept clear of them and nothing more */
  width: fit-content;
  margin: 0 auto 14px;
  font: 400 15px/22px var(--sans);
}
.window {
  max-width: 980px;
  margin-inline: auto;
  margin-bottom: -120px;
}
.hero + .board-band {
  padding-top: 190px;
  /* The app window hangs into this band: a jump lands on the eyebrow, not the gap */
  scroll-margin-top: -134px;
}

/* App window */
.window {
  background: var(--paper);
  color: var(--ink);
  border-radius: 14px;
  box-shadow:
    0 30px 60px -28px color-mix(in srgb, var(--night) 55%, transparent),
    0 0 0 1px color-mix(in srgb, var(--night) 12%, transparent);
  overflow: hidden;
  text-align: left;
  font-size: 14px;
  line-height: 1.35;
}
.bar {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  font: 600 13px/1 var(--sans);
}
.bar .dots {
  display: flex;
  gap: 5px;
}
.bar .dots b {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--line-strong);
}
/* The address bar: this is a web app, it opens in a browser */
.bar {
  background: var(--sunken);
}
.url {
  flex: 0 1 380px;
  min-width: 60px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  height: 22px;
  border-radius: 6px;
  background: var(--paper);
  font: 400 12px/22px var(--sans);
  color: var(--muted);
  white-space: nowrap;
}
.url span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.url i {
  flex: none;
  width: 8px;
  height: 9px;
  border-radius: 2px;
  background: var(--teal);
}
/* The app's own header: its name, a search box and who is signed in */
.apphead {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  background: var(--night);
  color: var(--cream);
  font: 400 13px/1 var(--sans);
  white-space: nowrap;
}
.apphead .logo {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--mint);
}
.apphead strong {
  font: 600 15px/1 var(--sans);
}
.apphead .search {
  flex: 0 1 320px;
  min-width: 0;
  margin-left: 18px;
  padding: 0 12px;
  height: 30px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--mint);
  line-height: 30px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.apphead .who {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.apphead #who {
  /* wide enough for the longest role, so switching role moves nothing */
  min-width: 104px;
}
.apphead .who b {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--mint);
  color: var(--night);
  font-weight: 600;
}
.bar small {
  margin-left: auto;
  font: 400 12px/1 var(--sans);
  color: var(--muted);
}
.app {
  height: 352px;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  grid-template-columns: 132px minmax(0, 1fr);
}
.side {
  background: var(--paper);
  border-right: 1px solid var(--line);
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.side button {
  all: unset;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  font: 600 14px/1 var(--sans);
  color: var(--muted);
  cursor: pointer;
}
.side button svg {
  width: 16px;
  height: 16px;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.side button:hover {
  background: var(--sunken);
}
.side .badge {
  margin-left: auto;
  min-width: 20px;
  padding: 3px 6px;
  border-radius: 999px;
  background: var(--sunken);
  color: var(--muted);
  font: 600 11.5px/1 var(--sans);
  font-style: normal;
  text-align: center;
  font-variant-numeric: tabular-nums;
  transition: background .2s, color .2s;
}
.side .badge.hot {
  background: var(--mint);
  color: var(--night);
}
.side button[aria-current='page'] {
  background: var(--mint);
  color: var(--night);
  font-weight: 600;
}
.side button:focus-visible {
  outline: 2px solid var(--night);
  outline-offset: -2px;
}
.main {
  background: var(--cream);
  padding: 18px 18px 12px;
  min-width: 0;
  container-type: inline-size;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.main > [data-pane] {
  flex: 1;
  min-height: 0;
  overflow: auto;
}
.status {
  height: 22px;
  margin-top: 8px;
  font: 400 13px/22px var(--sans);
  color: var(--teal);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: 22px;
  align-items: end;
  gap: 12px;
}
.status > span {
  height: 44px;
  min-width: 0;
  display: flex;
  align-items: flex-end;
  line-height: 1.3;
  align-self: end;
  padding-bottom: 3px;
}
.status button {
  all: unset;
  cursor: pointer;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 13px;
  padding: 0 4px;
  border-radius: 4px;
}
.status button:focus-visible {
  outline: 2px solid var(--night);
}
@container (max-width:560px) {
  .main .tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .main .cards {
    grid-template-columns: 1fr;
  }
}
.toprow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.toprow h2 {
  font: 600 20px/1.2 var(--sans);
  letter-spacing: -0.01em;
}
.seg {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}
.seg label {
  position: relative;
}
.seg input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}
.seg span {
  display: block;
  padding: 7px 11px;
  border-radius: 7px;
  font: 600 13px/1 var(--sans);
  color: var(--muted);
}
.seg input:checked + span {
  background: var(--mint);
  color: var(--night);
}
.seg input:focus-visible + span {
  outline: 2px solid var(--night);
  outline-offset: 1px;
}
.sub {
  color: var(--muted);
  margin-top: 4px;
  font-size: 13.5px;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}
.tile {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  min-width: 0;
}
.tile span {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tile strong {
  display: block;
  margin-top: 4px;
  font: 600 19px/1.1 var(--sans);
  color: var(--teal);
  font-variant-numeric: tabular-nums;
}
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  min-width: 0;
}
.card h3 {
  font: 600 13.5px/1.2 var(--sans);
  letter-spacing: 0;
  margin-bottom: 4px;
}
.card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.card li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
}
.card li:first-child {
  border-top: 0;
}
.card li b {
  font-weight: 600;
  color: var(--teal);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card li em {
  font-style: normal;
  color: var(--muted);
  white-space: nowrap;
}
.tablecard {
  margin-top: 14px;
}
.tablecard li {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 5px 0;
}
.act {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 7px;
  border: 1px solid var(--teal);
  color: var(--teal);
  font: 600 12.5px/26px var(--sans);
  white-space: nowrap;
}
.act:hover {
  background: var(--teal);
  color: var(--cream);
}
.act:focus-visible {
  outline: 2px solid var(--night);
  outline-offset: 2px;
}
.act[disabled] {
  border-color: var(--line);
  color: var(--muted);
  cursor: default;
  background: transparent;
}
.flash {
  animation: flash 0.9s ease-out;
}
@keyframes flash {
  from {
    background: var(--mint);
  }
  to {
    background: transparent;
  }
}
.tablecard li i {
  font-style: normal;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.pill {
  font: 600 12px/1 var(--sans);
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--night);
}
.pill.q {
  background: var(--sunken);
  color: var(--muted);
}

/* Sections */
section.band {
  padding-block: 88px;
}
.eyebrow {
  font: 600 13px/1 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}
.band h2 {
  font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1.1;
  margin-top: 12px;
  max-width: 20ch;
}
.band .intro {
  color: var(--muted);
  margin-top: 14px;
  max-width: 58ch;
}
#how h2 {
  max-width: 30ch;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 44px;
  counter-reset: s;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  left: 0;
  /* The line stops where the tail takes over */
  right: 120px;
  top: 17px;
  height: 2px;
  background: var(--line);
}
.steps::after {
  content: '';
  position: absolute;
  left: 0;
  right: 120px;
  top: 17px;
  height: 2px;
  background: var(--teal);
  transform-origin: left;
  transform: scaleX(1);
}
.steps .loop {
  position: absolute;
  left: -74px;
  top: -9px;
  width: 76px;
  height: 54px;
  fill: none;
  stroke: var(--teal);
  stroke-width: 2;
  stroke-linecap: round;
}
.steps .tail {
  position: absolute;
  right: 0;
  top: -23px;
  width: 120px;
  height: 82px;
  fill: none;
  /* The thread ends as the tree does: 45 degree turns and square ends */
  stroke: var(--teal);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.steps .tail rect {
  fill: var(--mint);
  stroke: var(--teal);
}
@media (max-width: 1340px) {
  .steps .loop {
    display: none;
  }
}
.step::before,
.step::after {
  z-index: 1;
  transition: transform 0.15s;
}
.step:hover::before,
.step:hover::after {
  transform: scale(1.1);
}
@media (prefers-reduced-motion: no-preference) {
  .steps.ready::after {
    transform: scaleX(0);
  }
  .steps.ready .step::before {
    background: var(--cream);
    color: var(--teal);
    box-shadow: inset 0 0 0 2px var(--teal);
  }
  .steps.ready .loop path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
  }
  .steps.in::after {
    transform: scaleX(1);
    transition: transform 1.8s cubic-bezier(0.4, 0, 0.2, 1) 0.35s;
  }
  .steps.ready .tail {
    opacity: 0;
  }
  .steps.in .tail {
    opacity: 1;
    transition: opacity 0.4s ease-out 2.1s;
  }
  .steps.in .loop path {
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 0.5s ease-out;
  }
  .steps.ready .step::after {
    content: counter(s) / '';
    position: absolute;
    inset: 0 auto auto 0;
    clip-path: inset(0 100% 0 0);
  }
  .steps.in .step::after {
    clip-path: inset(0);
    transition:
      clip-path 0.3s ease-out,
      transform 0.15s;
  }
  .steps.in .step:nth-child(1)::after {
    transition-delay: 0.4s;
  }
  .steps.in .step:nth-child(2)::after {
    transition-delay: 1s;
  }
  .steps.in .step:nth-child(3)::after {
    transition-delay: 1.6s;
  }
}
/* Where the browser can tie an animation to the scroll, the line follows the reader:
   it draws on the way down and undoes on the way back up. The words never move or hide.
   Elsewhere the timed drawing above runs each time the steps come into view. */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: 0% 100%)) {
    .steps {
      view-timeline: --how block;
    }
    .steps.ready::after {
      animation: how-line 1ms linear both;
      animation-timeline: --how;
      animation-range: cover 18% cover 48%;
    }
    .steps.ready .loop path {
      animation: how-loop 1ms linear both;
      animation-timeline: --how;
      animation-range: cover 8% cover 18%;
    }
    .steps.ready .tail {
      animation: how-tail 1ms linear both;
      animation-timeline: --how;
      animation-range: cover 46% cover 54%;
    }
    .steps.ready .step::after {
      animation: how-num 1ms linear both;
      animation-timeline: --how;
    }
    .steps.ready .step:nth-child(1)::after {
      animation-range: cover 17% cover 21%;
    }
    .steps.ready .step:nth-child(2)::after {
      animation-range: cover 27% cover 31%;
    }
    .steps.ready .step:nth-child(3)::after {
      animation-range: cover 37% cover 41%;
    }
    @media (max-width: 900px) {
      /* Stacked: each number fills as its own step comes up the screen */
      .steps.ready .step:nth-child(n)::after {
        animation-timeline: view();
        animation-range: entry 150% entry 320%;
      }
    }
  }
}
@keyframes how-line {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
@keyframes how-loop {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes how-tail {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes how-num {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0);
  }
}
.step {
  position: relative;
  padding: 0 28px 0 0;
  counter-increment: s;
}
.step::before {
  content: counter(s);
  position: relative;
}
.step::before,
.step::after {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--teal);
  color: var(--cream);
  font: 600 15px/1 var(--sans);
}
.step h3 {
  font-size: 24px;
  margin-top: 18px;
}
.step p {
  color: var(--muted);
  margin-top: 8px;
  max-width: 34ch;
}
.own {
  background: var(--paper);
  border-block: 1px solid var(--line);
}
#yours {
  background: var(--paper);
  border-block: 1px solid var(--line);
}
/* Questions: the heading on the left, the questions beside it */
#faq .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 56px;
  align-items: start;
}
#yours .btn {
  margin-top: 28px;
}
#yours .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  /* The words start level with the picture, so the link to this section lands on them */
  align-items: start;
}
.ground {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 44px -30px
    color-mix(in srgb, var(--night) 50%, transparent);
}
.g-yours {
  position: relative;
  /* Night under the root bed, so no hairline shows where the root bed meets the label */
  background: linear-gradient(var(--paper) 85%, var(--night) 85%);
  line-height: 0;
}
/* The circuit tree: the Cavas thread standing up. Straight runs, 45 degree turns, square ends.
   Above the ground it is yours; the roots are the Cavas foundation. */
.tree {
  display: block;
  width: 100%;
  height: auto;
}
.tree .bed {
  fill: var(--night);
}
.tree path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tree .stem {
  stroke: var(--teal);
  stroke-width: 3.5;
}
.tree .root {
  stroke: var(--mint);
  stroke-width: 2;
}
/* What grows from it: each kind of software is a small drawing with its name */
.tree .gl {
  stroke: var(--teal);
  stroke-width: 3;
}
.tree .bolt {
  fill: var(--mint);
  stroke: var(--teal);
  stroke-width: 3;
}
.tree .lab {
  font: 600 15px/1 var(--sans);
  fill: var(--ink);
}
@media (max-width: 560px) {
  /* The drawing is about 0.6 of its size on a phone: larger names keep them readable */
  .tree .lab {
    font-size: 20px;
  }
  .ground .g-tag {
    left: 16px;
    top: 20px;
    font-size: 18px;
  }
}
.tree .leaf {
  fill: var(--mint);
  stroke: var(--teal);
  stroke-width: 3;
}
.tree .rootend {
  fill: var(--mint);
}
.tree rect:not(.bed) {
  transform-box: fill-box;
  transform-origin: center;
}
.g-tag {
  /* Yours, over the whole crown, as the foundation is named under it */
  position: absolute;
  left: 22px;
  top: 30px;
  font: 600 22px/1 var(--sans);
  color: var(--ink);
}
/* It grows each time it comes into view. home.js adds .ready, then .in; without either it is drawn whole. */
.ground.ready:not(.in) .stem,
.ground.ready:not(.in) .root {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.ground.ready:not(.in) rect:not(.bed) {
  transform: scale(0);
}
.ground.ready:not(.in) .lab,
.ground.ready:not(.in) .gl,
.ground.ready:not(.in) .bolt,
.ground.ready:not(.in) .g-tag {
  opacity: 0;
}
.ground.in .stem,
.ground.in .root {
  stroke-dasharray: 1;
  animation: tree-draw var(--t) cubic-bezier(0.4, 0, 0.2, 1) var(--d) backwards;
}
.ground.in rect:not(.bed) {
  animation: tree-pop 0.3s cubic-bezier(0.3, 1.4, 0.5, 1) var(--d) backwards;
}
.ground.in .lab,
.ground.in .gl,
.ground.in .bolt,
.ground.in .g-tag {
  animation: tree-show 0.4s ease-out 2.3s backwards;
}
@keyframes tree-draw {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes tree-pop {
  from {
    transform: scale(0);
  }
}
@keyframes tree-show {
  from {
    opacity: 0;
  }
}
.g-ours {
  background: var(--night);
  color: var(--cream);
  padding: 22px 22px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
}
.g-ours strong {
  /* The name carries the weight: "The" is light, "Cavas foundation" is bold */
  font: 600 22px/1.2 var(--sans);
}
.g-ours strong span {
  font: inherit;
  font-weight: 400;
  color: inherit;
}
.g-ours span {
  font: 400 14px/1.3 var(--sans);
  color: var(--mint);
}
/* About: a Deep Teal band, the heading at poster size beside the paragraph */
.about {
  background: var(--teal);
  color: var(--cream);
}
.about .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 56px;
  align-items: end;
}
.about .eyebrow,
.about .intro {
  color: var(--mint);
}
.about h2 {
  font-size: clamp(38px, 4.1vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: none;
}
.about .intro {
  margin-top: 0;
}
.faq {
  margin-top: 6px;
}
.faq details {
  border-top: 1px solid var(--line);
  padding: 4px 0;
}
.faq details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 2px;
  font: 500 19px/1.3 var(--serif);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  font: 400 22px/1 var(--sans);
  color: var(--teal);
  transition: transform 0.15s;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq p {
  color: var(--muted);
  padding: 0 2px 18px;
  max-width: 60ch;
}
.close {
  background: var(--teal);
  color: var(--cream);
  text-align: center;
}
.close h2 {
  margin-inline: auto;
  font-size: clamp(40px, 5vw, 64px);
}
.close p {
  margin: 16px auto 28px;
  max-width: 44ch;
  color: var(--mint);
}
/* The message form, opened from the closing band */
.message {
  width: min(520px, 100% - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
  overflow: auto;
}
.message::backdrop {
  background: color-mix(in srgb, var(--night) 72%, transparent);
}
.message form {
  padding: 24px;
}
.m-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}
.m-head h2 {
  font-size: 30px;
}
.m-close {
  font: 500 15px/1 var(--sans);
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.m-fields {
  display: grid;
}
.m-fields label {
  font: 600 14px/1.3 var(--sans);
  margin: 14px 0 6px;
}
.m-fields input,
.m-fields textarea {
  font: 400 16px/1.4 var(--sans);
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 11px 12px;
  width: 100%;
  min-height: 46px;
}
.m-fields textarea {
  resize: vertical;
}
.m-fields input:focus-visible,
.m-fields textarea:focus-visible,
.m-close:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}
.m-hint,
.m-note {
  font: 400 14px/1.45 var(--sans);
  color: var(--muted);
  margin-top: 8px;
}
.m-note {
  margin: 16px 0;
}
.m-fields .btn {
  justify-self: start;
}
/* Under the form: the direct address, and the privacy page beside the note */
.m-direct {
  font: 400 15px/1.45 var(--sans);
  color: var(--muted);
  margin-top: 12px;
}
.m-note a,
.m-direct a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--teal);
  text-underline-offset: 4px;
}
.m-note a:focus-visible,
.m-direct a:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}
.m-trap {
  position: absolute;
  left: -9999px;
}
.m-status {
  font: 500 16px/1.5 var(--sans);
  color: var(--ink);
}
.m-status:empty {
  display: none;
}
.m-fields[hidden] {
  display: none;
}
/* Skyline: the drawing from its tallest tower to its ground. Its own Night strip
   is cropped, because the footer band under it is the foundation. */
.skyline {
  container-type: inline-size;
  background: var(--mint);
  /* Clear sky between the band above and the tallest tower */
  padding-top: 56px;
  line-height: 0;
  overflow: hidden;
}
.skyline img {
  --w: max(100cqw, 1040px);
  display: block;
  width: var(--w);
  max-width: none;
  height: auto;
  margin-top: calc(var(--w) * -14 / 1920);
  margin-bottom: calc(var(--w) * -176 / 1920);
  margin-left: calc((100cqw - var(--w)) / 2);
}
.foot {
  /* The foundation the skyline stands on: taller than the towers, with room to read */
  background: var(--night);
  color: var(--cream);
  padding: 64px 0 28px;
  font-size: 16px;
  line-height: 24px;
}
.foot .row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto;
  align-items: start;
  gap: 48px;
}
.foot .who {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.foot p {
  color: var(--mint);
}
.f-links {
  display: grid;
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: 0 40px;
}
.f-contact {
  text-align: right;
}
.f-contact a {
  font-weight: 600;
}
.foot a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 400;
  text-decoration: none;
}
.foot .f-contact a {
  font-weight: 600;
}
.foot a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.foot .legal {
  margin-top: 36px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  line-height: 22px;
  color: var(--mint);
}
.foot .legal a {
  color: var(--mint);
}
@media (max-width: 900px) {
  .foot {
    padding: 40px 0 16px;
  }
  .foot .row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .f-contact {
    text-align: left;
  }
  .foot .legal {
    margin-top: 20px;
  }
}
@media (max-width: 900px) {
  .foot .row,
  .foot .who {
    flex-direction: column;
    align-items: flex-start;
  }
  .foot .row {
    gap: 16px;
  }
  .foot .who {
    gap: 12px;
  }
  .foot ul {
    margin: 0;
    flex-direction: column;
    gap: 0;
  }
}

/* Flip-board */
.board-band {
  background: var(--night);
  color: var(--cream);
}
.board-band .eyebrow {
  color: var(--mint);
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
/* The board on the left; on the right, the idea becoming software */
.ways {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 48px;
  align-items: end;
  margin-top: 34px;
}
.becomes {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}
.becomes figure {
  margin: 0;
}
.becomes img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.becomes figcaption {
  margin-top: 8px;
  font: 400 14px/20px var(--sans);
  color: var(--mint);
  text-align: center;
}
.becomes .arrow {
  position: relative;
  height: 2px;
  background: var(--mint);
}
.becomes .arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: -5px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--mint);
  border-right: 2px solid var(--mint);
  transform: rotate(45deg);
}
@media (max-width: 1100px) {
  .ways {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .becomes {
    max-width: 430px;
  }
}
.have {
  font: 500 26px/1 var(--serif);
  color: var(--mint);
  margin-bottom: 12px;
}
.board {
  container-type: inline-size;
  display: grid;
  grid-template-columns: repeat(20, minmax(0, 1fr));
  gap: 4px;
  padding: 14px;
  background: var(--surface-sunken);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.board span {
  position: relative;
  aspect-ratio: 3/4;
  display: grid;
  place-items: center;
  background: var(--surface);
  border-radius: 4px;
  /* Sized from the board's own width, so letters fit their tiles in any column */
  font: 600 clamp(11px, 3.4cqw, 30px) / 1 var(--sans);
  color: var(--cream);
  overflow: hidden;
}
.board span::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--surface-sunken);
}
.board span:nth-child(n + 41) {
  display: none;
}
.board span.f {
  animation: flap 0.09s linear;
}
@keyframes flap {
  0% {
    transform: rotateX(0);
  }
  50% {
    transform: rotateX(-88deg);
  }
  100% {
    transform: rotateX(0);
  }
}
.switches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.switches button {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--ground-line);
  border-radius: 10px;
  font: 400 15px/1 var(--sans);
  color: var(--cream);
  transition:
    background 0.15s,
    border-color 0.15s;
}
.switches button i {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  border: 1.5px solid var(--mint);
  transition: background 0.15s;
}
/* Without scripts the examples are off: the board keeps its first example */
.switches button:disabled {
  cursor: default;
}
.switches button:hover:enabled {
  border-color: var(--mint);
}
.switches button[aria-pressed='true'] {
  background: var(--surface);
  border-color: var(--mint);
}
.switches button[aria-pressed='true'] i {
  background: var(--mint);
}
.switches button:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 3px;
}
.answer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px 36px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.answer p {
  font: 500 24px/1.3 var(--serif);
  width: min(100%, 36ch);
  min-height: 3.9em;
}
@media (max-width: 560px) {
  .board {
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 2px;
    padding: 8px;
  }
  .board span {
    border-radius: 2px;
    font-size: clamp(14px, 6.4cqw, 30px);
  }
  .board span:nth-child(n + 41) {
    display: grid;
  }
  .answer p {
    font-size: 21px;
    min-height: 6.5em;
  }
}

@media (max-width: 900px) {
  .hero .wrap {
    padding-top: 44px;
  }
  .nav {
    display: none;
  }
  .head .wrap {
    gap: 8px;
  }
  .menu {
    display: block;
    margin-left: auto;
  }
  .own .wrap,
  .about .wrap,
  #yours .wrap,
  #faq .wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .steps::before,
  .steps::after,
  .steps .tail {
    display: none;
  }
  section.band {
    padding-block: 60px;
  }
}
@media (width < 900px) {
  .app {
    height: 503px;
  }
}
@media (max-width: 560px) {
  .tablecard li {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 2px;
  }
  .tablecard li i {
    display: none;
  }
  .tablecard li .pill {
    justify-self: start;
    grid-column: 1;
  }
  .tablecard li .act {
    grid-row: 1 / span 2;
    grid-column: 2;
  }
  body {
    font-size: 16px;
  }
  .app {
    grid-template-columns: 1fr;
    grid-template-rows: 53px minmax(0, 1fr);
  }
  .side {
    flex-direction: row;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    overflow-x: auto;
    padding: 8px;
  }
  .side button {
    width: auto;
    white-space: nowrap;
  }
  .tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .cards .card:nth-child(2) {
    display: none;
  }
  .kicker {
    font-size: 26px;
  }
  .lead {
    font-size: 18px;
  }
  .head .btn {
    padding: 0 14px;
    font-size: 14px;
  }
  .mark {
    font-size: 26px;
  }
  .window {
    margin-bottom: -90px;
  }
  .appline {
    font-size: 14px;
  }
  .bar .dots,
  .apphead .search {
    display: none;
  }
  .url {
    flex: 1;
  }
}
@media (max-width: 360px) {
  /* Too narrow for the name beside the title: keep the initial, and keep the
     name for screen readers */
  .apphead #who {
    position: absolute;
    width: 1px;
    height: 1px;
    min-width: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
}

@media print {
  .head,
  .window,
  .hero canvas,
  .hero .waves,
  .board,
  .switches,
  .skyline,
  .skip-link {
    display: none;
  }
  .hero,
  .board-band,
  .close,
  .foot {
    background: transparent;
    color: var(--ink);
  }
  .hero .wrap,
  .hero + section,
  section.band {
    padding-block: 16px;
  }
  .board-band .eyebrow,
  .close p,
  .foot p,
  .foot h3,
  .foot .legal {
    color: var(--muted);
  }
  .band,
  .ground {
    break-inside: avoid;
  }
}
