/* The Barber House, public site. Tokens copied from the app
   (app/lib/core/theme/tokens.dart): neutral, untinted greys. The salon's
   own video and photos carry the colour; the page stays black and white. */

@font-face {
  font-family: "Archivo";
  src: url("archivo.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 100% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0e0e0e;
  --bg-elev: #161616;
  --surface: #181818;
  --surface-2: #202020;
  --line: #2a2a2a;
  --line-hi: #6d6d6d;
  --ink: #f1f1f1;
  --ink-2: #a0a0a0;
  --ink-3: #8a8a8a;
  --sel-bg: #f1f1f1;
  --sel-text: #1e1e1e;

  --r-control: 12px;
  --r-card: 16px;
  --r-pill: 999px;
  --gutter: 20px;
  --target: 44px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --top-h: 68px;

  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--top-h) + 12px);
  background: var(--bg);
}

/* On iOS, follow the reader's text size (Dynamic Type). */
@supports (font: -apple-system-body) {
  html {
    font: -apple-system-body;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

ul[class],
ol[class] {
  list-style: none;
  padding: 0;
}

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

main:focus {
  outline: none;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
}

.skip {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: var(--r-control);
  background: var(--sel-bg);
  color: var(--sel-text);
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.muted {
  color: var(--ink-2);
}

.small {
  font-size: 0.875rem;
}

/* Type: the expanded capitals of the sign for the first heading only,
   plain headings everywhere else. */

.display {
  font-stretch: 125%;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.75rem, 13vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.title {
  font-stretch: 112%;
  font-weight: 780;
  font-size: clamp(2.2rem, 9vw, 4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h2 {
  font-weight: 700;
  font-size: clamp(1.6rem, 6vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h3 {
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.35;
}

.small-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink-2);
  margin-bottom: 10px;
}

.lead {
  font-size: clamp(1.0625rem, 1rem + 0.45vw, 1.3rem);
  line-height: 1.5;
  max-width: 34em;
}

.text-link {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--line-hi);
  text-underline-offset: 4px;
  white-space: nowrap;
}

.text-link:hover {
  text-decoration-color: var(--ink);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.75rem 1.375rem;
  border-radius: var(--r-control);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 120ms var(--ease-out),
    background-color 160ms var(--ease-out),
    border-color 160ms var(--ease-out);
}

.btn:active {
  transform: scale(0.97);
}

.btn--light {
  background: var(--sel-bg);
  color: var(--sel-text);
}

.btn--light:hover {
  background: #ffffff;
}

.btn--line {
  border-color: rgba(241, 241, 241, 0.55);
  color: var(--ink);
  background: rgba(14, 14, 14, 0.35);
}

.btn--line:hover {
  border-color: var(--ink);
}

.btn--sm {
  min-height: var(--target);
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Header */

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(14, 14, 14, 0.9);
  border-bottom: 1px solid transparent;
  padding-top: env(safe-area-inset-top);
  transition:
    background-color 220ms var(--ease-out),
    border-color 220ms var(--ease-out);
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .top {
    background: rgba(14, 14, 14, 0.78);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    backdrop-filter: blur(16px) saturate(140%);
  }
}

.top.is-scrolled {
  border-bottom-color: var(--line);
}

/* On the home page the header lies over the video until the page scrolls. */
.top--over {
  margin-bottom: calc(-1 * (var(--top-h) + env(safe-area-inset-top)));
}

.top--over:not(.is-scrolled) {
  background: linear-gradient(180deg, rgba(14, 14, 14, 0.85), rgba(14, 14, 14, 0.55));
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.top__in {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--top-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: var(--target);
  margin-right: auto;
  border-radius: 6px;
}

.brand img {
  height: 44px;
  width: auto;
}

.nav {
  display: none;
}

.nav ul {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: var(--target);
  padding: 0 0.75rem;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border-radius: 8px;
}

.nav a:hover,
.nav a[aria-current] {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}

.lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--target);
  min-height: var(--target);
  padding: 0 0.5rem;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--ink);
}

.lang:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* Home: the salon's own video, full bleed */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #000000;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(14, 14, 14, 0.55) 0%,
    rgba(14, 14, 14, 0) 22%,
    rgba(14, 14, 14, 0) 38%,
    rgba(14, 14, 14, 0.78) 62%,
    rgba(14, 14, 14, 0.96) 82%,
    #0e0e0e 100%
  );
}

.hero__body {
  display: grid;
  gap: 18px;
  padding-top: 40svh;
  padding-bottom: 44px;
}

.hero__lead {
  font-size: clamp(1.0625rem, 1rem + 0.5vw, 1.375rem);
  line-height: 1.45;
  max-width: 28em;
}

.hero__toggle {
  position: absolute;
  right: max(var(--gutter), env(safe-area-inset-right));
  top: calc(var(--top-h) + env(safe-area-inset-top) + 16px);
  width: var(--target);
  height: var(--target);
  border-radius: 50%;
  border: 1px solid rgba(241, 241, 241, 0.6);
  background: rgba(14, 14, 14, 0.55);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
}

/* Play: a triangle. Pause: two bars. */
.hero__toggle span {
  width: 12px;
  height: 14px;
  background: var(--ink);
  clip-path: polygon(10% 0, 100% 50%, 10% 100%);
}

.hero__toggle.is-playing span {
  clip-path: none;
  background:
    linear-gradient(var(--ink), var(--ink)) left / 4px 100% no-repeat,
    linear-gradient(var(--ink), var(--ink)) right / 4px 100% no-repeat;
}

/* Sections */

.section {
  padding-block: 72px;
}

.section--tight {
  padding-block: 40px;
}

.section--dark {
  background: var(--bg-elev);
  border-top: 1px solid var(--line);
}

.cols {
  display: grid;
  gap: 24px;
}

.cols > div:first-child,
.cols > h2 {
  display: grid;
  gap: 14px;
  align-content: start;
}

.stack {
  display: grid;
  gap: 22px;
  align-content: start;
}

/* Prices: a board, as on the salon wall */

.prices {
  border-top: 1px solid var(--line-hi);
}

.price {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 16px;
  row-gap: 4px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}

.price__name {
  font-size: 1.1875rem;
  font-weight: 700;
}

.price__name a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--line-hi);
  text-underline-offset: 5px;
}

.price__name a:hover {
  text-decoration-color: var(--ink);
}

.price__amount {
  font-stretch: 112%;
  font-weight: 800;
  font-size: 1.25rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.price__desc {
  grid-column: 1 / -1;
  color: var(--ink-2);
  font-size: 0.9375rem;
}

.prices--compact .price {
  padding-block: 14px;
}

.prices--compact .price__name {
  font-size: 1.0625rem;
}

/* Price board with a photo: one column on a phone (heading, prices,
   photo), heading and photo on the left of the prices on a wide screen. */

.board {
  display: grid;
  gap: 24px;
  grid-template-areas: "head" "list" "photo";
}

.board__head {
  grid-area: head;
  display: grid;
  gap: 14px;
  align-content: start;
}

.board__list {
  grid-area: list;
}

.board__photo {
  grid-area: photo;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin-top: 8px;
}

/* The salon floor, full width. */

.band img {
  width: 100%;
  height: clamp(260px, 56vw, 720px);
  object-fit: cover;
  object-position: 50% 45%;
}

/* Photos of the salon, edge to edge */

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
}

.gallery__grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* iPhone: the frame around a whole screen capture (1206 x 2622). */

.iphone {
  position: relative;
  padding: 3.2%;
  border-radius: 15.5% / 7.3%;
  background: #050505;
  box-shadow:
    inset 0 0 0 1px #3c3c3c,
    inset 0 0 0 3px #111111,
    0 0 0 1px #000000,
    0 30px 60px -24px rgba(0, 0, 0, 0.9);
}

.iphone img {
  width: 100%;
  border-radius: 12.5% / 5.8%;
}

/* Side buttons. */
.iphone::before,
.iphone::after {
  content: "";
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: #2c2c2c;
}

.iphone::before {
  left: -3px;
  top: 19%;
  height: 11%;
}

.iphone::after {
  right: -3px;
  top: 25%;
  height: 15%;
}

/* Home: the app */

.app-home {
  display: grid;
  gap: 40px;
}

.app-home__text {
  display: grid;
  gap: 18px;
  align-content: start;
}

.app-home__text > p:not(.lead) {
  color: var(--ink-2);
  max-width: 34em;
}

.app-home__phones {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6%;
  padding-inline: 4%;
  align-items: start;
}

.app-home__phones .iphone:nth-child(2) {
  margin-top: 18%;
}

/* Store badges */

.stores {
  display: grid;
  gap: 10px;
}

.stores__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-2);
}

.stores__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.badge {
  display: inline-flex;
  border-radius: 8px;
}

.badge img {
  flex: none;
  height: 44px;
  width: auto;
  max-width: none;
}

/* The Google file holds its own clear space around the badge. */
.badge--google img {
  height: 65px;
  margin: -10.5px -11px;
}

/* Opening hours and directions */

.visit {
  display: grid;
  gap: 32px;
  margin-top: 28px;
}

.visit__info {
  display: grid;
  gap: 36px;
}

.address {
  font-style: normal;
  font-size: 1.125rem;
  line-height: 1.5;
  margin-bottom: 18px;
}

.links-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
  margin-top: 10px;
}

.links-inline a {
  display: inline-flex;
  align-items: center;
  min-height: var(--target);
  color: var(--ink-2);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.links-inline a:hover {
  color: var(--ink);
}

.hours {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 14px;
}

.hours th,
.hours td {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-weight: 500;
  vertical-align: baseline;
}

.hours td {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
}

.hours tr.is-today th,
.hours tr.is-today td {
  color: var(--ink);
  font-weight: 700;
}

.today-tag {
  margin-left: 0.5em;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-2);
}

.visit__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.faq__photo {
  display: none;
}

.prose__photo,
.how__photo {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.page-head__phone {
  max-width: 300px;
  width: 78%;
  justify-self: center;
}

/* Questions */

.faq {
  border-top: 1px solid var(--line-hi);
}

.qa {
  border-bottom: 1px solid var(--line);
}

.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding-block: 14px;
  cursor: pointer;
  list-style: none;
}

.qa summary::-webkit-details-marker {
  display: none;
}

.qa summary h3 {
  font-size: 1.0625rem;
  font-weight: 600;
}

.qa summary::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  background:
    linear-gradient(var(--ink-2), var(--ink-2)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--ink-2), var(--ink-2)) center / 1.5px 12px no-repeat;
  transition: transform 220ms var(--ease-out);
}

.qa[open] summary::after {
  transform: rotate(45deg);
}

.qa p {
  padding-bottom: 20px;
  color: var(--ink-2);
  max-width: 40em;
}

/* Inner pages */

.crumbs {
  padding-top: 12px;
  font-size: 0.875rem;
  color: var(--ink-2);
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.crumbs li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--ink-3);
}

.crumbs a {
  display: inline-flex;
  align-items: center;
  min-height: var(--target);
  color: var(--ink-2);
}

.crumbs [aria-current] {
  color: var(--ink);
}

.page-head {
  padding-block: 12px 56px;
}

.page-head__grid {
  display: grid;
  gap: 32px;
}

.page-head__text {
  display: grid;
  gap: 20px;
  align-content: start;
}

.page-head__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.prose {
  display: grid;
  gap: 36px;
  max-width: 720px;
}

.prose__block {
  display: grid;
  gap: 10px;
}

.prose__block h2 {
  font-size: clamp(1.35rem, 5vw, 1.75rem);
}

.prose__block p {
  color: var(--ink-2);
  font-size: 1.0625rem;
}

.related {
  border-top: 1px solid var(--line-hi);
}

.related li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  min-height: 60px;
}

.related a {
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--line-hi);
  text-underline-offset: 5px;
  padding-block: 12px;
}

.related span {
  font-stretch: 112%;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

/* The app page */

.screens {
  display: grid;
  gap: 44px;
}

.screen {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  align-items: center;
  gap: 22px;
}

.screen figcaption {
  font-weight: 700;
  font-size: clamp(1.125rem, 4.5vw, 1.375rem);
  line-height: 1.3;
}

.screen--single {
  max-width: 420px;
}

.features {
  border-top: 1px solid var(--line-hi);
}

.features li {
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
}

.features strong {
  color: var(--ink);
  font-weight: 700;
}

/* Rewards */

.tiers {
  border-top: 1px solid var(--line-hi);
}

.tiers li {
  display: grid;
  gap: 2px;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
}

.tier__points {
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(2.5rem, 12vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.tier__label {
  font-size: 1.125rem;
  color: var(--ink-2);
}

.how {
  display: grid;
  gap: 48px;
}

.plain-steps,
.plain-list {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.plain-steps {
  counter-reset: step;
}

.plain-steps li,
.plain-list li {
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
}

.plain-steps li {
  counter-increment: step;
}

.plain-steps li::before {
  content: counter(step) ". ";
  color: var(--ink);
  font-weight: 700;
}

.spaced {
  margin-top: 44px;
}

/* Footer */

.foot {
  border-top: 1px solid var(--line);
  padding-block: 56px calc(28px + env(safe-area-inset-bottom));
  font-size: 0.9375rem;
}

.foot__grid {
  display: grid;
  gap: 32px;
}

.foot__brand img {
  width: 170px;
  height: auto;
  margin-bottom: 8px;
}

.foot__brand p {
  color: var(--ink-2);
}

.foot__title {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.foot__title--spaced {
  margin-top: 22px;
}

.foot address {
  font-style: normal;
}

.links li {
  min-height: var(--target);
  display: flex;
  align-items: center;
}

.foot a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: var(--target);
}

.foot a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.foot__bottom {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 4px;
  color: var(--ink-2);
  font-size: 0.875rem;
}

/* Not found */

.notfound {
  min-height: 100svh;
  display: grid;
  align-content: center;
  gap: 40px;
  padding-block: 48px;
}

.notfound__block {
  display: grid;
  gap: 16px;
  justify-items: start;
}

/* Wider screens */

@media (min-width: 600px) {
  .foot__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .screen {
    grid-template-columns: minmax(0, 0.6fr) minmax(0, 1fr);
  }
}

@media (min-width: 860px) {
  .nav {
    display: block;
  }

  .gallery__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .foot__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }

  .foot__bottom {
    grid-template-columns: 1fr auto auto;
    gap: 24px;
  }

  .screens {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
  }

  .screen {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (min-width: 960px) {
  :root {
    --gutter: 40px;
  }

  .section {
    padding-block: 112px;
  }

  .section--tight {
    padding-block: 56px;
  }

  .hero {
    min-height: 92vh;
  }

  .hero__body {
    padding-top: 0;
    padding-bottom: 72px;
  }

  .hero__media::after {
    background: linear-gradient(
      180deg,
      rgba(14, 14, 14, 0.55) 0%,
      rgba(14, 14, 14, 0) 20%,
      rgba(14, 14, 14, 0) 45%,
      rgba(14, 14, 14, 0.85) 80%,
      #0e0e0e 100%
    );
  }

  .cols {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 64px;
  }

  .board {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-areas: "head list" "photo list";
    grid-template-rows: auto 1fr;
    column-gap: 64px;
    row-gap: 32px;
  }

  .board__photo {
    margin-top: 0;
    max-width: 420px;
  }

  .faq__photo {
    display: block;
    width: 100%;
    max-width: 360px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    margin-top: 24px;
  }

  .page-head__phone {
    width: 100%;
    max-width: 320px;
  }

  .app-home {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: 72px;
    align-items: center;
  }

  .app-home__phones {
    padding-inline: 0;
    max-width: 540px;
  }

  .visit {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: 56px;
  }

  .visit--solo {
    grid-template-columns: minmax(0, 1fr);
  }

  .visit__info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
  }

  .page-head {
    padding-block: 24px 88px;
  }

  .page-head__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 64px;
    align-items: start;
  }

  .page-head__grid--app {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  }

  .how {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: 72px;
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  .btn,
  .badge,
  .hero__toggle {
    border: 1px solid ButtonText;
  }
}
