/* Site Log website.
   One stylesheet, no framework. Colours follow the app (constants/colors.ts):
   teal for the one action, red only for the numbered marks on a photo. */

@font-face {
  font-family: "Barlow";
  src: url("fonts/barlow-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("fonts/barlow-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("fonts/barlow-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/barlow-condensed-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/barlow-condensed-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --concrete: #e9edf1;
  --ink: #0a1238;
  --ink-soft: #414a66;
  --rule: #c5ceda;
  --teal: #30d0b0;
  --teal-deep: #0b7a66;
  --on-teal: #0b2b26;
  --mark: #ef4444;

  --text: "Barlow", "Segoe UI", system-ui, sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", "Barlow", system-ui, sans-serif;

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --measure: 62rem;
  --wide: 76rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.125rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal-deep);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.08em;
}
a:hover {
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

.skip {
  position: absolute;
  left: -100vw;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 20;
}
.skip:focus {
  left: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wide));
  margin-inline: auto;
}

/* ------------------------------------------------------------ Header */

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.top__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.25rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.brand__mark {
  width: 1.6rem;
  height: auto;
}
.brand__word {
  width: 7.1rem;
  height: auto;
}
.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  font-weight: 500;
  font-size: 1.05rem;
}
.nav__link {
  color: var(--ink);
  text-decoration: none;
  padding: 0.4rem 0;
}
.nav__link:hover {
  text-decoration: underline;
}
@media (max-width: 46rem) {
  .nav__link {
    display: none;
  }
}

/* ------------------------------------------------------------ Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0.7rem 1.4rem;
  border-radius: 0.8rem;
  border: 2px solid transparent;
  background: var(--teal);
  color: var(--on-teal);
  font-family: var(--text);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.1;
  text-decoration: none;
  transition: transform 0.12s ease, background-color 0.12s ease;
}
.btn:hover {
  background: #5fdcc3;
  color: var(--on-teal);
}
.btn:active {
  transform: translateY(1px);
}
.btn--small {
  min-height: 2.6rem;
  padding: 0.45rem 1rem;
  font-size: 1rem;
  border-radius: 0.65rem;
}
.btn--quiet {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn--quiet:hover {
  background: var(--ink);
  color: #fff;
}
.btn__sub {
  display: block;
  font-weight: 500;
  font-size: 0.82rem;
  opacity: 0.85;
}
.btn__stack {
  text-align: left;
}

/* ------------------------------------------------------------ Bands */

.band {
  padding-block: clamp(3.5rem, 8vw, 7rem);
}
.band--concrete {
  background: var(--concrete);
}
.band--ink {
  background: var(--ink);
  color: #fff;
}
.band__title {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  max-width: 16ch;
}
.band__lede {
  margin-top: 1.1rem;
  max-width: 34rem;
  color: var(--ink-soft);
  font-size: 1.2rem;
}
.band--ink .band__lede {
  color: #cfd6ea;
}

/* ------------------------------------------------------------ Hero */

.hero {
  background: var(--concrete);
  padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(3rem, 7vw, 6rem);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  gap: clamp(2.25rem, 5vw, 4.5rem);
  margin-top: clamp(1.75rem, 4vw, 3rem);
}
.hero__pitch {
  display: flex;
  flex-direction: column;
}
/* Three short sentences. Each starts its own line on a phone; on a wide
   screen they run on and wrap to two lines, sized so that they do. */
.hero__title {
  font-size: clamp(2.2rem, 9.3vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.012em;
}
.hero__title span {
  display: block;
}
@media (min-width: 64rem) {
  .hero__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
  .hero__title {
    font-size: min(5vw, 4.9rem);
  }
  /* A sentence never breaks inside itself: it moves to the next line whole. */
  .hero__title span {
    display: inline-block;
  }
}
.hero__lede {
  max-width: 30rem;
  font-size: 1.3rem;
  line-height: 1.45;
  color: var(--ink-soft);
}
.hero__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}
.hero__note {
  font-size: 1rem;
  color: var(--ink-soft);
  max-width: 16rem;
  line-height: 1.35;
}
.hero__free {
  margin-top: 1.25rem;
  font-size: 1rem;
  color: var(--ink-soft);
}
.hero__for {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  max-width: 30rem;
  font-size: 1.05rem;
  line-height: 1.45;
}
@media (max-width: 63.99rem) {
  .hero__for {
    margin-top: 1.75rem;
  }
}

/* The sheet: the photo with its numbered marks, and the list that matches. */

.sheet {
  margin: 0;
  background: var(--paper);
  border-radius: 0.4rem;
  box-shadow: 0 0 0 1px rgba(10, 18, 56, 0.07), 0 1.6rem 3rem -1.6rem rgba(10, 18, 56, 0.45);
  padding: clamp(1rem, 2.4vw, 1.75rem);
}
.sheet__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 2px solid var(--ink);
}
.sheet__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1;
}
.sheet__count {
  font-size: 0.98rem;
  color: var(--ink-soft);
}
.sheet__body {
  display: grid;
  gap: 1.25rem;
  padding-top: 1.1rem;
}
@media (min-width: 40rem) {
  .sheet__body {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
  }
}
.photo {
  position: relative;
  border-radius: 0.3rem;
  overflow: hidden;
  background: #d6d1c5;
}
.photo__img {
  width: 100%;
}
.mark {
  position: absolute;
  width: 2.1rem;
  height: 2.1rem;
  margin: -1.05rem 0 0 -1.05rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--mark);
  color: #fff;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(10, 18, 56, 0.35);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 0.15s ease;
}
.mark--1 {
  left: 47%;
  top: 8%;
}
.mark--2 {
  left: 61.5%;
  top: 60.3%;
}
.mark--3 {
  left: 7.5%;
  top: 86%;
}
.items {
  list-style: none;
  margin: 0;
  padding: 0;
}
.item {
  display: grid;
  grid-template-columns: 1.9rem minmax(0, 1fr);
  gap: 0.2rem 0.75rem;
  padding: 0.85rem 0.4rem;
  border-bottom: 1px solid var(--rule);
  border-radius: 0.3rem;
  transition: background-color 0.15s ease;
}
.item:first-child {
  padding-top: 0.2rem;
}
.item__no {
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--mark);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1;
}
.item__text {
  font-size: 1.02rem;
  line-height: 1.4;
}
.item__tags {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.75rem;
  margin-top: 0.35rem;
  font-size: 0.9rem;
}
.item__trade {
  font-weight: 600;
}
.pill {
  display: inline-block;
  padding: 0.1rem 0.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
}
.pill--high {
  background: #fee2e2;
  color: #b91c1c;
}
.pill--medium {
  background: #ffedd5;
  color: #c2410c;
}
.pill--open {
  background: #eef1f5;
  color: var(--ink-soft);
}
.sheet__foot {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* A mark and its line light up together. */
.sheet[data-on="1"] .mark--1,
.sheet[data-on="2"] .mark--2,
.sheet[data-on="3"] .mark--3 {
  transform: scale(1.28);
}
.sheet[data-on="1"] .item--1,
.sheet[data-on="2"] .item--2,
.sheet[data-on="3"] .item--3 {
  background: #f1f5f9;
}

/* The one moment of motion: the marks land in order and their lines follow. */
@media (prefers-reduced-motion: no-preference) {
  .mark {
    animation: land 0.42s cubic-bezier(0.2, 1.5, 0.4, 1) both;
  }
  .item {
    animation: follow 0.4s ease both;
  }
  .mark--1 {
    animation-delay: 0.45s;
  }
  .item--1 {
    animation-delay: 0.6s;
  }
  .mark--2 {
    animation-delay: 0.95s;
  }
  .item--2 {
    animation-delay: 1.1s;
  }
  .mark--3 {
    animation-delay: 1.45s;
  }
  .item--3 {
    animation-delay: 1.6s;
  }
}
@keyframes land {
  from {
    opacity: 0;
    transform: scale(2.2);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes follow {
  from {
    opacity: 0;
    transform: translateX(-0.5rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ------------------------------------------------------------ The walk */

.walk__steps {
  list-style: none;
  margin: clamp(2rem, 5vw, 3.5rem) 0 0;
  padding: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(13.5rem, 62vw);
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  margin-inline: calc(-1 * var(--gutter));
  padding-inline: var(--gutter);
  scrollbar-width: thin;
}
.walk__step {
  scroll-snap-align: start;
}
@media (min-width: 62rem) {
  .walk__steps {
    grid-auto-flow: row;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-auto-columns: auto;
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
    gap: clamp(1rem, 2vw, 1.75rem);
  }
}
.walk__screen {
  border-radius: 1.1rem;
  border: 1px solid var(--rule);
  width: 100%;
  background: var(--concrete);
}
.walk__label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.1rem;
}
.walk__no {
  flex: none;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: var(--on-teal);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
}
.walk__name {
  font-size: 1.7rem;
}
.walk__text {
  margin-top: 0.5rem;
  font-size: 1.02rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

/* ------------------------------------------------------------ Schedule */

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
}
@media (min-width: 58rem) {
  .split {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    align-items: start;
  }
  .split__lead {
    position: sticky;
    top: 6.5rem;
  }
}
.schedule {
  margin: 0;
  border-top: 2px solid var(--ink);
}
.schedule__row {
  display: grid;
  gap: 0.3rem 2rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 40rem) {
  .schedule__row {
    grid-template-columns: 13rem minmax(0, 1fr);
  }
}
.schedule__term {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.7rem;
  line-height: 1.05;
}
.schedule__def {
  margin: 0;
  max-width: 36rem;
}

/* ------------------------------------------------------------ The report */

.report {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 58rem) {
  .report {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  }
}
.report__paper {
  background: var(--paper);
  box-shadow: 0 0 0 1px rgba(10, 18, 56, 0.08), 0 2rem 3.5rem -2rem rgba(10, 18, 56, 0.5);
  max-width: 34rem;
  width: 100%;
  justify-self: center;
}
.ticks {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  border-top: 2px solid var(--ink);
}
.ticks__item {
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--rule);
}
.ticks__lead {
  font-weight: 600;
}

/* ------------------------------------------------------------ Plans */

.plans {
  margin-top: clamp(2rem, 5vw, 3rem);
  background: var(--paper);
  border-radius: 0.4rem;
  box-shadow: 0 0 0 1px rgba(10, 18, 56, 0.07);
  overflow-x: auto;
}
.plans__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.plans__table th,
.plans__table td {
  padding: 1rem clamp(0.9rem, 2.5vw, 1.75rem);
  text-align: left;
  vertical-align: baseline;
  border-bottom: 1px solid var(--rule);
}
.plans__table thead th {
  font-family: var(--display);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
  border-bottom: 2px solid var(--ink);
  padding-top: 1.4rem;
}
.plans__table th:first-child {
  width: 46%;
}
.plans__table tbody th {
  font-weight: 500;
  color: var(--ink-soft);
}
@media (max-width: 40rem) {
  .plans__table th:first-child {
    width: 40%;
  }
  .plans__table th,
  .plans__table td {
    font-size: 1rem;
  }
  .plans__table tbody td {
    font-size: 1.02rem;
  }
  .plans__table thead th {
    font-size: 1.7rem;
  }
}
.plans__table tbody td {
  font-weight: 600;
  font-size: 1.15rem;
}
.plans__table tbody tr:last-child th,
.plans__table tbody tr:last-child td {
  border-bottom: 0;
}
.plans__pro {
  background: #f0fbf8;
}
.plans__note {
  margin-top: 1.25rem;
  max-width: 46rem;
  font-size: 1rem;
  color: var(--ink-soft);
}

/* ------------------------------------------------------------ Recording */

.facts {
  list-style: none;
  margin: clamp(2rem, 5vw, 3rem) 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}
@media (min-width: 52rem) {
  .facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 0;
  }
}
.facts__item {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 1.15rem;
  line-height: 1.45;
}
@media (min-width: 52rem) {
  .facts__item {
    border-bottom: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.28);
    padding: 0.25rem 2rem 0.25rem 1.5rem;
  }
}
.facts__lead {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.7rem;
  line-height: 1.05;
  margin-bottom: 0.4rem;
}
.band--ink a {
  color: var(--teal);
}
.band--ink a:hover {
  color: #fff;
}
.facts__more {
  margin-top: 2rem;
  font-size: 1.05rem;
}

/* ------------------------------------------------------------ Get the app */

.get {
  display: grid;
  gap: 2rem;
  align-items: end;
}
@media (min-width: 52rem) {
  .get {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}
.get__title {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 0.92;
}
.get__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

/* ------------------------------------------------------------ Footer */

.foot {
  border-top: 1px solid var(--rule);
  padding-block: 2.75rem 3rem;
  font-size: 1rem;
  color: var(--ink-soft);
}
.foot__grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 48rem) {
  .foot__grid {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}
.foot__who {
  max-width: 30rem;
  margin-top: 1rem;
}
.foot__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
@media (min-width: 30rem) {
  .foot__links {
    grid-template-columns: repeat(2, auto);
    column-gap: 2.5rem;
  }
}
.foot__links a {
  color: var(--ink);
}
.foot__legal {
  margin-top: 2rem;
  font-size: 0.95rem;
}

/* ------------------------------------------------------------ Text pages */

.doc {
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3.5rem, 8vw, 6rem);
}
.doc__inner {
  width: min(100% - 2 * var(--gutter), 46rem);
  margin-inline: auto;
}
.doc__title {
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  line-height: 0.94;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 2rem;
}
.doc__body h2 {
  font-size: 1.9rem;
  line-height: 1.05;
  margin: 2.6rem 0 0.8rem;
}
.doc__body h3 {
  font-size: 1.45rem;
  line-height: 1.1;
  margin: 2rem 0 0.6rem;
}
.doc__body p,
.doc__body ul,
.doc__body ol {
  margin: 0 0 1.05rem;
}
.doc__body ul,
.doc__body ol {
  padding-left: 1.4rem;
}
.doc__body li {
  margin-bottom: 0.4rem;
}
.doc__body strong {
  font-weight: 600;
}
.doc__body code {
  font-family: inherit;
  font-weight: 500;
}
.doc__body .table-scroll {
  overflow-x: auto;
  margin: 0 0 1.4rem;
}
.doc__body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  line-height: 1.4;
  min-width: 28rem;
}
.doc__body th,
.doc__body td {
  text-align: left;
  vertical-align: top;
  padding: 0.7rem 1rem 0.7rem 0;
  border-bottom: 1px solid var(--rule);
}
.doc__body thead th {
  font-weight: 600;
  border-bottom: 2px solid var(--ink);
}
.doc__body .caps {
  font-size: 0.98rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn,
  .mark,
  .item {
    transition: none;
  }
}

/* ------------------------------------------------------------ The two choices */

/* As the app shows them at the top of a walk: a caption and a value, side by side. */
.sheet__langs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}
.choice {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--rule);
  border-radius: 0.55rem;
  background: #f6f8fa;
  line-height: 1.15;
}
.choice__cap {
  font-size: 0.72rem;
  color: var(--ink-soft);
}
.choice__val {
  font-weight: 600;
  font-size: 1rem;
}
.choice__arrow {
  color: var(--ink-soft);
  font-size: 1.4rem;
  line-height: 1;
}

.choices {
  margin: 1.75rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}
.choices__row {
  display: grid;
  gap: 0.25rem 1.5rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}
@media (min-width: 36rem) {
  .choices__row {
    grid-template-columns: 8.5rem minmax(0, 1fr);
  }
}
.choices__term {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.05;
}
.choices__def {
  margin: 0;
  color: #cfd6ea;
  font-size: 1.05rem;
}
.choices__note {
  margin-top: 1.1rem;
  font-size: 1rem;
  color: #cfd6ea;
  max-width: 32rem;
}
.langs__lead {
  font-size: 1.1rem;
  color: #cfd6ea;
  max-width: 34rem;
}
.langs {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.langs__item {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  font-size: 0.98rem;
  line-height: 1.2;
}
.langs__item--here {
  background: var(--teal);
  color: var(--on-teal);
  border-color: var(--teal);
}
.langs__link {
  color: inherit;
  text-decoration: none;
}
.langs__item:has(.langs__link) {
  border-color: var(--teal);
}
.langs__item:has(.langs__link:hover) {
  background: var(--teal);
  color: var(--on-teal);
}
.langs__native {
  opacity: 0.8;
  font-size: 0.92em;
}
.band--concrete .langs__item {
  border-color: var(--rule);
  background: var(--paper);
}
.band--concrete .langs__item:has(.langs__link) {
  border-color: var(--teal-deep);
}
.band--concrete .langs__item:has(.langs__link:hover) {
  background: var(--teal);
  border-color: var(--teal);
}
.band--concrete .langs__item--here {
  background: var(--teal);
  border-color: var(--teal);
}

/* ------------------------------------------------------------ Language pages */

.lang__tag {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.lang__sep {
  margin-inline: 0.35rem;
}
.lang__english {
  display: grid;
  gap: 0.6rem;
}
.lang__choose {
  color: var(--ink-soft);
}
.phone-figure {
  margin: 0;
  justify-self: center;
  max-width: 19rem;
  width: 100%;
}
.phone-figure__img {
  width: 100%;
  border-radius: 1.4rem;
  border: 1px solid var(--rule);
  box-shadow: 0 1.6rem 3rem -1.6rem rgba(10, 18, 56, 0.45);
  background: var(--paper);
}
.phone-figure__cap {
  margin-top: 1rem;
  font-size: 0.98rem;
  color: var(--ink-soft);
  text-align: center;
}
@media (min-width: 64rem) {
  .hero--lang .hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: start;
  }
}
[dir="rtl"] {
  text-align: right;
}
[dir="rtl"].walk__steps {
  direction: rtl;
}
.walk__english {
  margin-top: 1.5rem;
  font-size: 1rem;
  color: var(--ink-soft);
}
