:root {
  --ink: #25232e;
  --canvas: #d7d1fc;
  --edge: #77718d;
  color: var(--ink);
  background: var(--canvas);
  font: 16px/1.48 "Trebuchet MS", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
}

a {
  color: inherit;
  text-underline-offset: .2em;
}

button {
  font: inherit;
}

a:focus-visible, button:focus-visible {
  outline: 3px solid #d34c14;
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.statusline, .signature {
  width: min(74rem, calc(100% - 3rem));
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
}

.statusline {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--edge);
}

.wordmark {
  font-weight: bold;
  font-size: 1.4rem;
  letter-spacing: -.08em;
  text-decoration: none;
}

.wordmark span, h1 span {
  color: #b9451b;
}

.guide-link {
  font-size: .88rem;
  font-weight: 700;
}

.bench {
  max-width: 67rem;
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem,7vw,7.5rem);
  padding: 3rem 2rem;
}

.device-area {
  display: grid;
  justify-items: center;
}

.device {
  width: min(100%, 20.25rem);
  background: #312e39;
  border: 2px solid #46414e;
  border-radius: 2.85rem;
  padding: .65rem;
  box-shadow: .48rem .6rem 0 #9c92c5, .61rem .72rem 0 #403b4f;
  position: relative;
}

.device::before {
  content: '';
  position: absolute;
  background: #312e39;
  width: .22rem;
  height: 2rem;
  top: 26%;
  left: -.23rem;
  border-radius: .2rem;
}

.glass {
  overflow: hidden;
  border-radius: 2rem;
  background: #faf8f3;
}

.device-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem .25rem;
  font-size: .7rem;
  font-weight: 700;
  color: #5e596a;
}

.device-head i {
  background: #35323d;
  border-radius: 1rem;
  width: 3rem;
  height: .42rem;
}

.screen {
  padding: 0 1.1rem .5rem;
}

.screen h2 {
  font-size: 1.85rem;
  letter-spacing: -.065em;
  margin: .35rem 0 .55rem;
}

.visual {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: 7.9rem;
  border-radius: .75rem;
  background: #ecb955;
}

.visual-shelf {
  background: repeating-linear-gradient(120deg,#ffbf73 0 1.8rem,#ffb66c 1.8rem 2rem);
}

.visual-shelf i {
  position: absolute;
  display: block;
  width: 4.3rem;
  height: 6rem;
  border-radius: .5rem;
  background: #f9f0e2;
  border: 2px solid #33303b;
  bottom: -.2rem;
  left: 44%;
  transform: rotate(12deg);
  box-shadow: .25rem .3rem 0 #2b2538;
}

.visual-shelf i::after {
  content: '♠';
  display: grid;
  place-content: center;
  height: 100%;
  color: #373544;
  font: 3rem Georgia,serif;
}

.visual-shelf i:first-child {
  transform: translateX(-58%) rotate(-22deg);
  background: #7879be;
}

.visual-shelf i:nth-child(2) {
  transform: translateX(-29%) rotate(-6deg);
  background: #e97148;
}

.visual-search {
  display: grid;
  place-items:center;
  background: #b5c5a1;
}

.visual-search i {
  border: .65rem solid #384f42;
  border-radius: 50%;
  width: 4.2rem;
  height: 4.2rem;
  position:relative;
}

.visual-search i::after {
  content:'';
  position:absolute;
  height:.67rem;
  width:2.5rem;
  background:#384f42;
  left:82%;
  top:95%;
  transform: rotate(45deg);
}

.visual-card {
  background:#acf1d2;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.3rem;
}

.visual-card i {
  background: #fff8f1;
  font:2rem Georgia,serif;
  display:grid;
  place-items:center;
  width:3.5rem;
  height:5rem;
  border:2px solid;
  border-radius:.4rem;
  transform:rotate(-9deg);
}

.visual-card i+i {
  color:#b53f38;
  transform:rotate(11deg) translateY(.4rem);
}

.screen-lead {
  margin: .8rem 0 .25rem;
  font-weight: bold;
  font-size: .94rem;
}

.device-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.device-list li {
  display: flex;
  justify-content: space-between;
  align-items:center;
  font-size:.86rem;
  padding:.46rem .05rem;
  border-bottom:1px solid #d5cfcc;
}

.device-list b {
  color:#605489;
}

.tabs {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap: .2rem;
  padding:.5rem .5rem .75rem;
}

.tabs button {
  background:transparent;
  color:#4c4857;
  font-weight:600;
  border:0;
  border-radius:.55rem;
  font-size:.72rem;
  cursor:pointer;
  padding:.3rem 0;
}

.tabs button span {
  display:block;
  font-size:1.55rem;
  line-height:1;
}

.tabs button[aria-pressed=true] {
  background:#ded7fd;
  color:#30275e;
}

.caption {
  margin: 1.2rem 0 0;
  font-size: .72rem;
  color:#534c64;
}

.category {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
}

h1 {
  margin:.3rem 0 1rem;
  font: 700 clamp(3rem, 5.5vw, 5.8rem)/.93 Arial,sans-serif;
  letter-spacing: -.085em;
}

.intro > p:last-child {
  max-width: 29rem;
  font-size: 1.1rem;
}

.paper {
  margin: 1.5rem .45rem 1.4rem 0;
  position:relative;
  background:#fff9e7;
  padding:1.05rem 1.35rem;
  border:1px solid #aea2ac;
  box-shadow:.35rem .35rem 0 #b0a5d6;
}

.paper h2 {
  font-size:1.08rem;
  margin:0 0 .3rem;
}

.paper p {
  margin:0;
}

.read {
  font-weight:bold;
  text-decoration:none;
  border-bottom:1px solid;
  padding-bottom:.15rem;
}

.read span {
  margin-left:.3em;
}

.signature {
  border-top: 1px solid var(--edge);
  padding: .9rem 0;
  font-size: .75rem;
}

.reading {
  display:grid;
  grid-template-columns: 8rem minmax(0,40rem);
  gap:3rem;
  max-width:60rem;
  padding:3rem 1.5rem 4rem;
  margin:auto;
}

.reading article {
  min-width:0;
}

.reading h1 {
  font-size: clamp(2.9rem,6.2vw,5.1rem);
}

.margin-note {
  border-right: 1px solid var(--edge);
  font-size:.8rem;
}

.reading h2 {
  font-size:1.45rem;
  line-height:1.1;
  margin:1.7rem 0 .5rem;
}

.reading .standfirst {
  font-size:1.23rem;
}

.reading table {
  border-collapse:collapse;
  width:100%;
  background:#fff9e7;
  font-size:.95rem;
}

.reading :is(th,td) {
  text-align:left;
  padding:.6rem;
  border:1px solid #b2a7b3;
}

@media(max-width: 680px) {
  .statusline, .signature {
    width:calc(100% - 2rem);
  }
  .guide-link {
    font-size:.77rem;
  }
  .bench {
    display:flex;
    flex-direction:column;
    padding:1.4rem 1rem 2rem;
    gap:1.45rem;
    align-items:stretch;
  }
  .notes, .intro {
    display:contents;
  }
  .intro h1 {
    order:-3;
    margin:0;
    font-size:clamp(2.85rem,12vw,4.1rem);
  }
  .intro h1 br {
    display:none;
  }
  .intro h1 br::after {
    content:' ';
  }
  .category {
    order:-4;
    margin:0 0 -.9rem;
  }
  .intro > p:last-child {
    order:-2;
    margin:-.5rem 0 0;
    font-size:1rem;
  }
  .device {
    width:min(93%,20rem);
  }
  .paper {
    margin:0 .45rem 0 0;
  }
  .read {
    align-self:flex-start;
  }
  .reading {
    display:block;
    padding:1.8rem 1rem;
  }
  .margin-note {
    display:none;
  }
}
