/* Marketing site. An optician's palette: deep navy, lens blue, sky and a warm
   peach, on white. Headings in Libre Baskerville, text in Libre Franklin.
   Shapes borrowed from the trade: arches, lenses, the letters of an eye chart. */

@font-face {
  font-family: "Libre Baskerville";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/libre-baskerville-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Libre Baskerville";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/libre-baskerville-latin-400-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Libre Franklin";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/libre-franklin-latin-wght-normal.woff2") format("woff2");
}

:root {
  --ink: #050035;
  --ink-soft: #45426b;
  --ink-faint: #7f7d9c;
  --blue: #284184;
  --blue-deep: #1d3170;
  --sky: #9dd7f2;
  --sky-soft: #cfeaf8;
  --sky-wash: #eff5fe;
  --peach: #fbeade;
  --peach-deep: #edcdbb;
  --paper: #ffffff;
  --line: rgb(5 0 53 / 0.1);

  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: "Libre Franklin", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 28px;
  --radius-small: 16px;
  --shadow: 0 1px 2px rgb(5 0 53 / 0.04), 0 12px 32px rgb(5 0 53 / 0.07);
  --shadow-deep: 0 2px 6px rgb(5 0 53 / 0.06), 0 30px 70px rgb(5 0 53 / 0.16);
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --bar: 72px;
  --gutter: max(20px, calc((100vw - 1200px) / 2));
  /* Light through a lens: sky from one corner, peach from the other. */
  --glow: radial-gradient(60% 70% at 0% 0%, #d8edf8 0%, rgb(216 237 248 / 0) 70%), radial-gradient(55% 70% at 100% 10%, var(--peach) 0%, rgb(251 234 222 / 0) 70%);

  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

ul,
ol {
  list-style: none;
}

img,
svg {
  display: block;
}

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

button,
input,
textarea {
  color: inherit;
  font: inherit;
}

fieldset {
  min-width: 0;
  border: 0;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid rgb(40 65 132 / 0.55);
  outline-offset: 3px;
}

.icon {
  flex: none;
}

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

.skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 30;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip:focus {
  transform: none;
}

/* --- Type ------------------------------------------------------------------------ */

.display {
  font: 400 clamp(30px, 3.6vw, 46px)/1.16 var(--serif);
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.display--xl {
  font-size: clamp(36px, 4.7vw, 62px);
  line-height: 1.12;
}

.display em {
  color: var(--blue);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Two small lenses before the line. */
.eyebrow::before {
  content: "";
  flex: none;
  width: 22px;
  height: 10px;
  background:
    radial-gradient(circle at 5px 5px, rgb(0 0 0 / 0) 3px, var(--blue) 3.5px 4.6px, rgb(0 0 0 / 0) 5px),
    radial-gradient(circle at 17px 5px, rgb(0 0 0 / 0) 3px, var(--blue) 3.5px 4.6px, rgb(0 0 0 / 0) 5px);
}

.lede {
  max-width: 34em;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  text-wrap: pretty;
}

/* --- Buttons and links --------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 24px;
  border: 0;
  border-radius: 999px;
  font: 600 16px/1.2 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.3s var(--ease), transform 0.25s var(--ease);
}

.btn .icon {
  transition: transform 0.3s var(--ease-out);
}

.btn:hover .icon {
  transform: translateX(4px);
}

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

.btn--ink {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 24px rgb(5 0 53 / 0.22);
}

.btn--ink:hover {
  background: var(--blue);
  box-shadow: 0 14px 30px rgb(40 65 132 / 0.3);
}

.btn--sky {
  background: var(--sky);
  color: var(--ink);
}

.btn--sky:hover {
  background: #fff;
}

.btn--line {
  background: none;
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.btn--line:hover {
  background: var(--ink);
  color: #fff;
}

.btn--ghost-light {
  background: none;
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.4);
}

.btn--ghost-light:hover {
  box-shadow: inset 0 0 0 1.5px #fff;
}

.btn--small {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 14px;
  box-shadow: none;
}

.btn--large {
  min-height: 58px;
  padding: 16px 30px;
  font-size: 17px;
}

.link {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--sky);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  transition: text-decoration-color 0.2s var(--ease);
}

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

/* --- Top bar --------------------------------------------------------------------- */

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: var(--bar);
  padding: 10px var(--gutter);
  border-bottom: 1px solid rgb(0 0 0 / 0);
  background: rgb(255 255 255 / 0.76);
  backdrop-filter: saturate(1.6) blur(18px);
  transition: border-color 0.3s var(--ease);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 400 21px/1 var(--serif);
  text-decoration: none;
}

.top__nav {
  display: flex;
  gap: 4px;
  margin-inline: auto;
}

.top__nav a {
  position: relative;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.top__nav a:hover {
  background: var(--sky-wash);
  color: var(--ink);
}

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

.top__nav [aria-current]::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 4px;
  left: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--sky);
}

.top__side {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang {
  display: flex;
  padding: 3px;
  border-radius: 999px;
  background: var(--sky-wash);
}

.lang a {
  padding: 6px 11px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

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

.lang [aria-current] {
  background: var(--paper);
  box-shadow: 0 1px 3px rgb(5 0 53 / 0.14);
  color: var(--ink);
}

.top__menu {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--sky-wash);
  cursor: pointer;
}

/* --- Home: first screen ---------------------------------------------------------- */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  min-height: min(calc(100svh - var(--bar)), 860px);
  padding: 32px var(--gutter) 56px;
  background: var(--glow);
  overflow: hidden;
}

.hero__copy {
  display: grid;
  justify-items: start;
  gap: 24px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-top: 8px;
}

.hero__stage {
  position: relative;
  display: grid;
  place-items: end center;
  min-height: 640px;
}

/* An arch, like a mirror in a shop, with an eye chart at its top. */
.hero__arch {
  position: absolute;
  inset: 0 9% 0;
  border-radius: 999px 999px 40px 40px;
  background: linear-gradient(180deg, var(--sky) 0%, var(--sky-soft) 42%, var(--peach) 100%);
}

.chart {
  display: grid;
  justify-items: center;
  gap: 2px;
  padding-top: 26px;
  color: rgb(5 0 53 / 0.2);
  font-family: var(--serif);
  letter-spacing: 0.3em;
}

.chart span:nth-child(1) { font-size: 40px; letter-spacing: 0; }
.chart span:nth-child(2) { font-size: 24px; }
.chart span:nth-child(3) { font-size: 15px; }

.float {
  position: absolute;
  z-index: 2;
  border-radius: 20px;
  background: rgb(255 255 255 / 0.86);
  box-shadow: var(--shadow-deep);
  backdrop-filter: blur(16px);
  animation: bob 7s ease-in-out infinite alternate;
}

.float--card {
  bottom: 13%;
  left: -2%;
  display: grid;
  gap: 8px;
  width: 190px;
  padding: 12px;
  font-size: 13px;
}

.float--card b {
  padding-inline: 4px;
  font: 400 17px/1.2 var(--serif);
}

.float--chip {
  top: 30%;
  right: -3%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  animation-delay: -2.5s;
}

.float--chip .icon {
  color: var(--blue);
}

.float--badge {
  right: 3%;
  bottom: 5%;
  display: grid;
  place-content: center;
  justify-items: center;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  text-align: center;
  rotate: 8deg;
  animation-delay: -4s;
  backdrop-filter: none;
}

.float--badge b {
  font: 400 21px/1.2 var(--serif);
}

.float--badge span {
  color: var(--sky);
  font-size: 13px;
}

@keyframes bob {
  from {
    transform: translateY(-5px);
  }
  to {
    transform: translateY(5px);
  }
}

/* --- Home: three facts ----------------------------------------------------------- */

.facts {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: -36px var(--gutter) 0;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-deep);
}

.fact {
  display: flex;
  gap: 16px;
  padding: 28px;
}

.fact + .fact {
  border-left: 1px solid var(--line);
}

.fact__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--sky-wash);
  color: var(--blue);
}

.fact h2 {
  font: 400 20px/1.25 var(--serif);
}

.fact p {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.5;
}

/* --- Sections -------------------------------------------------------------------- */

.section {
  padding: clamp(72px, 9vw, 128px) var(--gutter);
}

.section--wash {
  background: var(--sky-wash);
}

.section--tight {
  padding-block: 0 clamp(72px, 9vw, 128px);
}

.section--wash + .section--tight {
  padding-top: clamp(72px, 9vw, 128px);
}

.section--flush {
  padding-top: 0;
}

.head {
  display: grid;
  justify-items: start;
  gap: 16px;
  max-width: 780px;
  margin-bottom: clamp(36px, 5vw, 60px);
}

.head--centred {
  justify-items: center;
  margin-inline: auto;
  text-align: center;
}

.more {
  display: grid;
  justify-items: center;
  margin-top: 44px;
}

/* The opening of the inner pages. */
.intro {
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(48px, 7vw, 96px) var(--gutter) clamp(56px, 7vw, 96px);
  background: var(--glow);
}

.intro--split {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}

.intro__copy {
  display: grid;
  justify-items: start;
  gap: 22px;
}

.intro:not(.intro--split) .intro__copy {
  justify-items: center;
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.intro__art {
  min-width: 0;
}

/* --- Tiles ------------------------------------------------------------------------ */

.bento,
.grid-2,
.grid-3 {
  display: grid;
  gap: 20px;
}

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

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

.tile {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-deep);
}

.tile > .icon {
  margin-bottom: 6px;
  color: var(--blue);
}

.tile h3 {
  font: 400 23px/1.25 var(--serif);
}

.tile p {
  color: var(--ink-soft);
  font-size: 16px;
}

.tile__foot {
  margin-top: 8px;
  color: var(--blue) !important;
  font-size: 14px !important;
  font-weight: 600;
}

.tile--wide {
  grid-column: span 2;
}

.tile--sky {
  background: linear-gradient(140deg, var(--sky-soft), var(--sky-wash));
  box-shadow: none;
}

.tile--peach {
  background: linear-gradient(140deg, var(--peach), #fdf5ef);
  box-shadow: none;
}

.tile--ink {
  background: var(--ink);
  color: #fff;
  box-shadow: none;
}

.tile--ink p {
  color: rgb(255 255 255 / 0.74);
}

.tile--ink > .icon {
  color: var(--sky);
}

.section--wash .tile:not([class*="tile--"]) {
  box-shadow: none;
}

.tile--art {
  padding-top: 0;
  overflow: hidden;
}

/* --- Steps (home) and ways (home, "in your shop") ---------------------------------- */

.steps,
.ways {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
}

.step,
.way {
  display: grid;
  align-content: start;
  gap: 10px;
}

.step h3,
.way h3 {
  margin-top: 14px;
  font: 400 23px/1.25 var(--serif);
}

.step p,
.way p {
  color: var(--ink-soft);
  font-size: 16px;
}

/* The phone stands in an arch and is cut off at the bottom, as if it went on. */
.step .phone,
.way__stage {
  justify-self: stretch;
}

.steps {
  counter-reset: step;
}

.step {
  position: relative;
  counter-increment: step;
}

.step::before {
  content: "";
  height: 400px;
  border-radius: 999px 999px 28px 28px;
  background: linear-gradient(180deg, var(--sky-soft), var(--peach));
}

.step:nth-child(2)::before {
  background: linear-gradient(180deg, var(--peach), var(--sky-wash));
}

.step::after {
  content: counter(step);
  position: absolute;
  top: 300px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 4px solid var(--paper);
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font: 400 21px/1 var(--serif);
}

.step .phone {
  position: absolute;
  top: 52px;
  left: 50%;
  translate: -50% 0;
  height: 348px;
  overflow: hidden;
  border-radius: 34px 34px 0 0;
  box-shadow: none;
}

.step .phone__screen {
  height: 420px;
}

.way__stage {
  display: grid;
  place-items: center;
  height: 400px;
  padding: 36px 24px 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--sky-soft), var(--sky-wash));
}

.way:nth-child(2) .way__stage {
  background: linear-gradient(160deg, var(--peach), #fdf5ef);
}

.way--peach .way__stage {
  background: linear-gradient(160deg, var(--sky-wash), var(--peach));
}

.way--paper .way__stage {
  background: var(--paper);
}

.way__stage .phone {
  align-self: start;
}

.way__stage .mail,
.way__stage .poster,
.way__stage .story {
  align-self: center;
  margin-bottom: 36px;
}

.numbered {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  counter-reset: number;
}

.numbered li {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--paper);
  counter-increment: number;
}

.numbered li::before {
  content: "0" counter(number);
  color: var(--sky);
  font: 400 48px/1 var(--serif);
}

.numbered h3 {
  font: 400 23px/1.25 var(--serif);
}

.numbered p {
  color: var(--ink-soft);
  font-size: 16px;
}

/* --- Price ------------------------------------------------------------------------ */

.pricecard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  max-width: 1040px;
  margin-inline: auto;
  padding: clamp(28px, 5vw, 60px);
  border-radius: 36px;
  background: var(--paper);
  box-shadow: var(--shadow-deep);
}

.pricecard--band {
  grid-template-columns: minmax(0, 1.4fr) auto;
  max-width: none;
  background: linear-gradient(120deg, var(--sky-soft), var(--peach));
  box-shadow: none;
}

.pricecard--band > div:first-child {
  display: grid;
  justify-items: start;
  gap: 14px;
}

.pricecard--band p:not(.eyebrow) {
  max-width: 34em;
  color: var(--ink-soft);
}

.pricecard__side,
.pricecard__main {
  display: grid;
  justify-items: start;
  gap: 18px;
}

.pricecard__name {
  color: var(--ink-soft);
  font-weight: 500;
}

.pricecard__amount {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--ink-soft) !important;
}

.pricecard__amount b {
  color: var(--ink);
  font: 400 clamp(48px, 6vw, 72px)/1 var(--serif);
  letter-spacing: -0.02em;
}

.pricecard__amount--big b {
  font-size: clamp(64px, 9vw, 112px);
}

.ticks {
  display: grid;
  gap: 14px;
}

.ticks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.ticks .icon {
  width: 26px;
  height: 26px;
  margin-top: 1px;
  padding: 5px;
  border-radius: 50%;
  background: var(--sky-wash);
  color: var(--blue);
}

/* --- Questions ---------------------------------------------------------------------- */

.faq {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin-inline: auto;
}

.faq details {
  border-radius: 20px;
  background: var(--paper);
  transition: box-shadow 0.3s var(--ease);
}

.faq details[open] {
  box-shadow: var(--shadow);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  border-radius: 20px;
  font: 400 19px/1.35 var(--serif);
  list-style: none;
  cursor: pointer;
}

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

/* A plus that turns into a minus. */
.faq summary::after {
  content: "";
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    linear-gradient(var(--blue), var(--blue)) center / 12px 2px no-repeat,
    linear-gradient(var(--blue), var(--blue)) center / 2px 12px no-repeat,
    var(--sky-wash);
  transition: rotate 0.3s var(--ease), background-size 0.3s var(--ease);
}

.faq [open] summary::after {
  background-size: 12px 2px, 2px 0, auto;
  rotate: 180deg;
}

.faq details p {
  max-width: 62ch;
  padding: 0 26px 24px;
  color: var(--ink-soft);
}

/* --- Closing call -------------------------------------------------------------------- */

.call {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 20px;
  margin: 0 var(--gutter) clamp(48px, 6vw, 80px);
  padding: clamp(56px, 8vw, 104px) 24px;
  overflow: hidden;
  border-radius: 40px;
  background:
    radial-gradient(50% 80% at 100% 0%, rgb(40 65 132 / 0.9) 0%, rgb(40 65 132 / 0) 70%),
    var(--ink);
  color: #fff;
  text-align: center;
}

.section--wash + .call {
  margin-top: clamp(48px, 6vw, 80px);
}

.call .display em {
  color: var(--sky);
}

.call > p {
  max-width: 34em;
  color: rgb(255 255 255 / 0.76);
  font-size: 18px;
}

.call__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 12px;
}

.call__chart {
  position: absolute;
  top: 50%;
  left: 4%;
  display: grid;
  justify-items: center;
  gap: 4px;
  color: rgb(255 255 255 / 0.07);
  font-family: var(--serif);
  letter-spacing: 0.3em;
  translate: 0 -50%;
}

.call__chart span:nth-child(1) { font-size: 96px; letter-spacing: 0; }
.call__chart span:nth-child(2) { font-size: 56px; }
.call__chart span:nth-child(3) { font-size: 34px; }
.call__chart span:nth-child(4) { font-size: 20px; }

/* --- Request form ---------------------------------------------------------------------- */

.intro--form {
  align-items: start;
}

.intro--form .ticks {
  margin-top: 10px;
}

.form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3.5vw, 40px);
  border-radius: 32px;
  background: var(--paper);
  box-shadow: var(--shadow-deep);
}

.field {
  display: grid;
  gap: 7px;
}

.field > span,
.field > legend {
  padding: 0;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
}

.field > legend {
  margin-bottom: 9px;
}

.input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid rgb(5 0 53 / 0.14);
  border-radius: var(--radius-small);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.35;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.input::placeholder {
  color: var(--ink-faint);
}

.input:focus {
  border-color: var(--blue);
  outline: 0;
  box-shadow: 0 0 0 4px rgb(157 215 242 / 0.5);
}

textarea.input {
  resize: vertical;
}

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.checks input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checks span {
  display: block;
  padding: 10px 16px;
  border: 1.5px solid rgb(5 0 53 / 0.14);
  border-radius: 999px;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.checks input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.checks input:focus-visible + span {
  outline: 3px solid rgb(40 65 132 / 0.55);
  outline-offset: 3px;
}

.form__note {
  color: var(--ink-faint);
  font-size: 13px;
  text-align: center;
}

/* --- Foot --------------------------------------------------------------------------------- */

.foot {
  display: grid;
  gap: 32px;
  padding: 48px var(--gutter) 40px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 15px;
}

.foot__main {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
}

.foot__brand {
  display: grid;
  justify-items: start;
  gap: 14px;
  max-width: 28em;
}

.foot .brand {
  color: var(--ink);
}

.foot nav,
.foot__main > div:last-child {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 8px;
}

.foot__head {
  margin-bottom: 4px;
  color: var(--ink);
  font-weight: 600;
}

.foot a {
  text-decoration: none;
}

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

.foot__credits {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 12.5px;
}

.foot__credits a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* === Drawn screens (site/mocks.mjs) ========================================================
   Everything inside is sized in em, so one font-size on the frame scales a whole screen. */

.phone {
  position: relative;
  width: 21.6em;
  aspect-ratio: 9 / 18.6;
  padding: 0.62em;
  border-radius: 3.4em;
  background: var(--ink);
  box-shadow: inset 0 0 0 1.5px #2c2760, var(--shadow-deep);
  font-size: 12.5px;
  line-height: 1.35;
}

.phone--hero {
  z-index: 1;
  margin-bottom: -28px;
  font-size: 14px;
}

.phone--small {
  font-size: 11.5px;
}

.phone__screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 2.8em;
  background: var(--paper);
  isolation: isolate;
}

.phone__status {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95em 1.9em 0.3em 2.1em;
  font-size: 0.92em;
  font-weight: 600;
}

/* The camera island, and a battery. */
.phone__status i {
  position: absolute;
  top: 0.7em;
  left: 50%;
  width: 6.4em;
  height: 1.8em;
  border-radius: 999px;
  background: var(--ink);
  translate: -50% 0;
}

.phone__status b {
  width: 1.9em;
  height: 0.9em;
  border-radius: 0.3em;
  background: linear-gradient(90deg, currentColor 72%, rgb(5 0 53 / 0.25) 72%);
}

.m-shop {
  display: grid;
  align-content: start;
  gap: 0.7em;
  padding: 0 1.1em 1.6em;
}

.m-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  padding: 0.7em 0 0.8em;
  border-bottom: 1px solid var(--line);
}

.m-logo {
  font: 400 1.3em/1 var(--serif);
}

.m-logo i {
  color: var(--ink-faint);
}

.m-links {
  display: flex;
  gap: 1.4em;
  margin-right: auto;
  margin-left: 1.6em;
  color: var(--ink-soft);
  font-size: 0.9em;
}

.m-links i {
  font-style: normal;
}

.m-stage {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 0.92;
  border-radius: 1.3em;
  background: linear-gradient(150deg, var(--sky-wash), var(--peach));
}

.m-stage img {
  width: 84%;
  filter: drop-shadow(0 1em 0.9em rgb(5 0 53 / 0.18));
}

.m-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8em;
}

.m-title b,
.m-heading {
  font: 400 1.55em/1.15 var(--serif);
}

.m-title span {
  font-size: 1.15em;
  font-weight: 600;
}

.m-meta {
  margin-top: -0.5em;
  color: var(--ink-faint);
  font-size: 0.85em;
}

.m-try {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.75em 1.2em;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}

.m-try--big {
  padding-block: 1em;
  font-size: 1.08em;
  box-shadow: 0 0.6em 1.4em rgb(40 65 132 / 0.3);
}

.m-try--soft {
  margin-top: 0.3em;
  padding: 0.55em 0.4em;
  background: var(--sky-wash);
  color: var(--blue);
  font-size: 0.82em;
}

.m-try--soft .icon {
  width: 1.2em;
  height: 1.2em;
}

/* Draws the eye to the button the try-on adds. */
.m-try--pulse {
  position: relative;
}

.m-try--pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  animation: ring 2.8s var(--ease) infinite;
}

@keyframes ring {
  0%,
  40% {
    box-shadow: 0 0 0 0 rgb(40 65 132 / 0.4);
  }
  100% {
    box-shadow: 0 0 0 1.1em rgb(40 65 132 / 0);
  }
}

.m-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.8em;
  border: 1px solid rgb(5 0 53 / 0.16);
  border-radius: 999px;
  color: var(--ink-soft);
}

.m-cart--ink {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.m-dim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgb(5 0 53 / 0.42);
}

.m-sheet {
  position: absolute;
  right: 0.8em;
  bottom: 0.8em;
  left: 0.8em;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 0.5em;
  padding: 1.5em 1.3em 1.2em;
  border-radius: 2em;
  background: var(--paper);
  text-align: center;
}

.m-sheet__icon {
  display: grid;
  place-items: center;
  width: 3.4em;
  height: 3.4em;
  border-radius: 50%;
  background: var(--sky-wash);
  color: var(--blue);
}

.m-sheet b {
  font: 400 1.4em/1.2 var(--serif);
}

.m-sheet p {
  color: var(--ink-soft);
  font-size: 0.95em;
}

.m-sheet__yes,
.m-sheet__no {
  width: 100%;
  padding: 0.85em;
  border-radius: 999px;
  font-weight: 600;
}

.m-sheet__yes {
  margin-top: 0.4em;
  background: var(--blue);
  color: #fff;
}

.m-sheet__no {
  color: var(--ink-soft);
}

.m-live {
  position: absolute;
  inset: 0;
}

.m-live__face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}

/* Two frames taking turns, as if the wearer tapped the tray. */
.m-live--cycle .m-live__face + .m-live__face {
  opacity: 0;
  animation: turn 9s var(--ease) infinite;
}

.m-live--cycle .is-next {
  animation: lit 9s var(--ease) infinite;
}

.m-live--cycle .is-on {
  animation: lit 9s var(--ease) -4.5s infinite;
}

@keyframes turn {
  0%,
  44%,
  100% {
    opacity: 0;
  }
  50%,
  94% {
    opacity: 1;
  }
}

@keyframes lit {
  0%,
  44%,
  100% {
    background-color: rgb(255 255 255 / 0);
    box-shadow: inset 0 0 0 2px rgb(5 0 53 / 0);
  }
  50%,
  94% {
    background-color: #fff;
    box-shadow: inset 0 0 0 2px var(--ink);
  }
}

.m-live__close,
.m-live__chip {
  position: absolute;
  top: 3.6em;
  display: flex;
  align-items: center;
  gap: 0.5em;
  height: 2.6em;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.82);
  backdrop-filter: blur(12px);
}

.m-live__close {
  left: 1em;
  justify-content: center;
  width: 2.6em;
}

.m-live__chip {
  right: 1em;
  padding-inline: 0.9em;
  font-size: 0.88em;
  font-weight: 600;
}

.m-live__chip i {
  width: 0.6em;
  height: 0.6em;
  border-radius: 50%;
  background: #e5484d;
}

.m-tray {
  position: absolute;
  right: 0.8em;
  bottom: 1.3em;
  left: 0.8em;
  display: flex;
  gap: 0.15em;
  padding: 0.4em;
  border-radius: 2em;
  background: rgb(255 255 255 / 0.8);
  backdrop-filter: blur(18px) saturate(1.4);
}

.m-tray span {
  display: grid;
  flex: 1;
  justify-items: center;
  gap: 0.15em;
  min-width: 0;
  padding: 0.6em 0.3em 0.45em;
  border-radius: 1.6em;
}

.m-tray img {
  width: 100%;
  aspect-ratio: 5 / 2;
  object-fit: contain;
}

.m-tray i {
  color: var(--ink-soft);
  font-size: 0.78em;
  font-style: normal;
  font-weight: 500;
}

.m-tray .is-on {
  background: var(--paper);
  box-shadow: inset 0 0 0 2px var(--ink);
}

.m-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6em;
}

.m-tiles > div {
  display: grid;
  gap: 0.1em;
  padding: 0.5em;
  border: 1px solid var(--line);
  border-radius: 1.1em;
}

.m-tiles b {
  margin-top: 0.3em;
  font-size: 0.9em;
  font-weight: 600;
}

.m-tiles > div > span:not(.m-try, .m-tile__shot) {
  color: var(--ink-soft);
  font-size: 0.86em;
}

.m-tile__shot {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  padding: 12%;
  border-radius: 0.8em;
  background: linear-gradient(150deg, var(--sky-wash), var(--peach));
}

.m-tile__shot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.m-hero {
  display: grid;
  gap: 0.6em;
  padding: 1.5em 1.2em;
  border-radius: 1.3em;
  background: linear-gradient(160deg, var(--sky-soft), var(--peach));
}

.m-hero b {
  font: 400 1.6em/1.15 var(--serif);
}

.m-hero p {
  margin-bottom: 0.4em;
  color: var(--ink-soft);
}

.m-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5em;
}

/* A desktop browser */
.browser {
  overflow: hidden;
  border-radius: 20px;
  background: var(--paper);
  box-shadow: var(--shadow-deep);
  font-size: 13.5px;
  line-height: 1.35;
}

.browser__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: var(--sky-wash);
}

.browser__bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgb(5 0 53 / 0.16);
}

.browser__bar span {
  margin-inline: auto;
  padding: 5px 40px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 12px;
  translate: -20px 0;
}

.browser__page {
  padding: 0 1.6em 1.6em;
}

.browser__product {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 1.8em;
  margin-top: 1.4em;
}

.browser__info {
  display: grid;
  gap: 0.7em;
}

.browser__info > b {
  font: 400 2em/1.1 var(--serif);
}

.browser__info > span:first-of-type {
  font-size: 1.3em;
  font-weight: 600;
}

.browser__info .m-meta {
  margin: 0 0 0.6em;
}

/* A newsletter */
.mail {
  display: grid;
  gap: 10px;
  width: 270px;
  padding: 16px;
  border-radius: 20px;
  background: var(--paper);
  box-shadow: var(--shadow-deep);
  font-size: 13px;
  line-height: 1.4;
}

.mail__from {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.mail__from span,
.story__who span {
  display: grid;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: var(--serif);
}

.mail__from p {
  display: grid;
  min-width: 0;
  font-size: 12px;
}

.mail__from i {
  overflow: hidden;
  color: var(--ink-faint);
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mail__shot {
  display: grid;
  place-items: center;
  padding: 22px 30px;
  border-radius: 14px;
  background: linear-gradient(150deg, var(--peach), var(--sky-wash));
}

.mail__title {
  font: 400 19px/1.2 var(--serif);
}

.mail > p {
  color: var(--ink-soft);
}

/* A display for the shop window */
.poster {
  display: grid;
  justify-items: center;
}

.poster__card {
  display: grid;
  justify-items: center;
  gap: 6px;
  width: 210px;
  padding: 18px 18px 20px;
  border-radius: 18px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-deep);
  text-align: center;
  font-size: 12.5px;
}

.poster__shot {
  width: 100%;
  padding: 14px 22px;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--sky-soft), var(--peach));
}

.poster__card b {
  margin-top: 6px;
  font: 400 18px/1.2 var(--serif);
}

.poster__card p {
  color: var(--sky);
}

.poster__code {
  width: 96px;
  margin-top: 8px;
  padding: 8px;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}

/* The foot of the display. */
.poster__foot {
  width: 120px;
  height: 12px;
  border-radius: 0 0 12px 12px;
  background: var(--blue);
}

/* A story */
.story {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  width: 190px;
  aspect-ratio: 9 / 15.5;
  padding: 12px;
  border-radius: 22px;
  background: linear-gradient(170deg, var(--peach), var(--sky));
  box-shadow: var(--shadow-deep);
  font-size: 12px;
}

.story__bars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.story__bars i {
  height: 3px;
  border-radius: 3px;
  background: rgb(255 255 255 / 0.55);
}

.story__bars i:first-child {
  background: #fff;
}

.story__who {
  display: flex;
  align-items: center;
  gap: 8px;
}

.story__who span {
  width: 28px;
  height: 28px;
  font-size: 13px;
}

.story__shot {
  margin-top: 44px;
  filter: drop-shadow(0 14px 12px rgb(5 0 53 / 0.2));
  rotate: -8deg;
  scale: 1.12;
}

.story__link {
  position: absolute;
  right: 0;
  bottom: 22px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  margin-inline: auto;
  padding: 9px 14px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 16px rgb(5 0 53 / 0.18);
  color: var(--blue);
  font-weight: 600;
}

/* The manager */
.manager {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 14px;
  padding: 14px;
  border-radius: 26px;
  background: rgb(255 255 255 / 0.7);
  box-shadow: var(--shadow-deep);
  backdrop-filter: blur(14px);
  font-size: 12.5px;
  line-height: 1.35;
}

.manager__list,
.manager__edit {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  background: var(--paper);
}

.manager__list > b {
  font: 400 19px/1.2 var(--serif);
}

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

.manager__grid > span {
  display: grid;
  gap: 5px;
  padding: 6px 6px 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.manager__grid i {
  padding-inline: 3px;
  font-style: normal;
  font-weight: 500;
}

.manager__grid .is-on {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgb(157 215 242 / 0.55);
}

.manager__grid .manager__add {
  place-content: center;
  justify-items: center;
  border-style: dashed;
  border-color: rgb(40 65 132 / 0.4);
  color: var(--blue);
  text-align: center;
}

.manager__stage {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  padding: 0 14%;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--sky-wash), var(--peach));
}

.manager__stage img {
  filter: drop-shadow(0 12px 10px rgb(5 0 53 / 0.18));
}

.manager__fields {
  display: grid;
  gap: 2px;
}

.manager__fields p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 2px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

.manager__fields b {
  color: var(--ink);
  font-weight: 600;
}

/* A slider: a track, the part already travelled, and a knob. */
.manager__slider {
  position: relative;
  flex: 0 1 55%;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--blue) var(--at), var(--sky-wash) var(--at));
}

.manager__slider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: var(--at);
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 1px 4px rgb(5 0 53 / 0.3);
  translate: -50% -50%;
}

.manager__slider--1 { --at: 62%; }
.manager__slider--2 { --at: 44%; }
.manager__slider--3 { --at: 53%; }

.manager__save {
  justify-self: end;
  margin-top: 12px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
}

/* What a frame is made from */
.source {
  position: relative;
  display: grid;
  place-items: center;
  height: 240px;
  margin: 0 -32px 8px;
}

.source__tag {
  position: absolute;
  top: 22px;
  left: 32px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.8);
  font-size: 13px;
  font-weight: 600;
}

.source__turn {
  width: 56%;
  filter: drop-shadow(0 18px 14px rgb(5 0 53 / 0.18));
}

/* The path a 3D model can be turned along. */
.source__orbit {
  position: absolute;
  width: 74%;
  height: 46%;
  border: 1.5px dashed rgb(40 65 132 / 0.45);
  border-radius: 50%;
  rotate: -8deg;
}

.source__photos {
  display: flex;
  align-items: center;
  gap: 14px;
}

.source__photos > span {
  display: grid;
  justify-items: center;
  gap: 8px;
  width: 168px;
  padding: 14px 14px 10px;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
  rotate: -4deg;
}

.source__photos i {
  color: var(--ink-faint);
  font-size: 12px;
  font-style: normal;
}

.source__photos .source__temple {
  width: 150px;
  rotate: 5deg;
}

/* A temple seen from the side: a bar with a bend at the ear. */
.source__temple b {
  width: 100%;
  height: 44px;
  background:
    radial-gradient(circle at 100% 100%, rgb(0 0 0 / 0) 16px, #1b1b22 16.5px 22px, rgb(0 0 0 / 0) 22.5px) 100% 16px / 26px 26px no-repeat,
    linear-gradient(#1b1b22, #1b1b22) 0 14px / calc(100% - 22px) 6px no-repeat;
}

/* --- Arrival ---------------------------------------------------------------------------- */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
}

.hero__copy > *,
.intro__copy > * {
  animation: rise 0.9s var(--ease-out) backwards;
}

.hero__copy > :nth-child(2),
.intro__copy > :nth-child(2) { animation-delay: 0.07s; }
.hero__copy > :nth-child(3),
.intro__copy > :nth-child(3) { animation-delay: 0.14s; }
.hero__copy > :nth-child(4),
.intro__copy > :nth-child(4) { animation-delay: 0.21s; }

.hero__arch,
.phone--hero,
.intro__art,
.form {
  animation: rise 1.1s var(--ease-out) 0.1s backwards;
}

/* Further down, things fade in when reached; site.js switches this on. */
.can-reveal .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out), box-shadow 0.35s var(--ease);
}

.can-reveal .reveal.is-in {
  opacity: 1;
  transform: none;
}

.can-reveal .reveal:nth-child(2) { transition-delay: 0.08s, 0.08s, 0s; }
.can-reveal .reveal:nth-child(3) { transition-delay: 0.16s, 0.16s, 0s; }
.can-reveal .tile.is-in:hover { transform: translateY(-4px); transition-delay: 0s; }

/* --- Narrower screens --------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .float--card {
    left: -1%;
    width: 170px;
  }

  .float--chip {
    right: 0;
  }

  .way__stage,
  .step::before {
    height: 360px;
  }

  .step .phone {
    height: 308px;
  }

  .step::after {
    top: 262px;
  }

  .phone--small {
    font-size: 10.5px;
  }
}

@media (max-width: 920px) {
  :root {
    --bar: 64px;
  }

  .top {
    gap: 12px;
  }

  .top__menu {
    display: grid;
  }

  .top__side {
    margin-left: auto;
  }

  /* The links become a panel that drops out of the bar. */
  .top__nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    margin: 0;
    padding: 8px 12px 16px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 24px 40px rgb(5 0 53 / 0.1);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.3s var(--ease-out), visibility 0s 0.25s;
  }

  .top--open .top__nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition-delay: 0s;
  }

  .top__nav a {
    padding: 14px 12px;
    border-radius: 12px;
    color: var(--ink);
    font-size: 18px;
  }

  .top__nav [aria-current]::after {
    display: none;
  }

  .top__nav [aria-current] {
    background: var(--sky-wash);
  }

  .hero,
  .intro--split {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    min-height: 0;
    padding-top: 28px;
    padding-bottom: 64px;
  }

  .hero__stage {
    min-height: 560px;
    max-width: 520px;
    width: 100%;
    margin-inline: auto;
  }

  .phone--hero {
    font-size: 12.5px;
  }

  .facts,
  .bento,
  .grid-2,
  .grid-3,
  .steps,
  .ways,
  .numbered,
  .pricecard,
  .pricecard--band,
  .foot__main {
    grid-template-columns: minmax(0, 1fr);
  }

  .fact + .fact {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .tile--wide {
    grid-column: auto;
  }

  .steps,
  .ways {
    max-width: 440px;
    margin-inline: auto;
  }

  .phone--small {
    font-size: 11.5px;
  }

  .call {
    border-radius: 28px;
  }

  .call__chart {
    display: none;
  }

  .call__actions .btn {
    flex: 1 1 100%;
  }

  .browser {
    font-size: 11px;
  }

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

@media (max-width: 520px) {
  .brand span {
    display: none;
  }

  .top__side {
    gap: 8px;
  }

  .hero__actions .btn,
  .form .btn {
    width: 100%;
  }

  .hero__stage {
    min-height: 500px;
  }

  .hero__arch {
    inset-inline: 4%;
  }

  .phone--hero {
    font-size: 11.5px;
  }

  .float--card {
    bottom: 9%;
    left: -6px;
    width: 140px;
    padding: 8px;
  }

  .float--card b {
    font-size: 14px;
  }

  .float--card .m-try {
    padding: 0.6em;
    font-size: 12px;
  }

  .float--chip {
    top: 22%;
    right: -6px;
    padding: 8px 12px;
    font-size: 12px;
  }

  .float--badge {
    right: -4px;
    bottom: 2%;
    width: 104px;
    height: 104px;
  }

  .float--badge b {
    font-size: 17px;
  }

  .tile,
  .numbered li {
    padding: 26px 22px;
  }

  .source {
    margin-inline: -22px;
  }

  .source__photos > span {
    width: 132px;
  }

  .source__photos .source__temple {
    width: 118px;
  }

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

  .faq summary {
    padding: 18px 20px;
    font-size: 17px;
  }

  .faq details p {
    padding: 0 20px 20px;
  }
}

/* --- Less motion --------------------------------------------------------------------------- */

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

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

/* --- The "Ask friends" add-on -------------------------------------------------------- */

/* Text on one side, two phones on the other. */
.duo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px 64px;
}

.duo__copy {
  display: grid;
  justify-items: start;
  gap: 22px;
}

.duo__art,
.intro__art--pair {
  display: flex;
  align-items: center;
  justify-content: center;
}

.duo__art .phone:first-child,
.intro__art--pair .phone:first-child {
  z-index: 0;
  margin-right: -3.5em;
  rotate: -5deg;
  translate: 0 1.5em;
}

.duo__art .phone:last-child,
.intro__art--pair .phone:last-child {
  z-index: 1;
  rotate: 3deg;
}

@media (max-width: 900px) {
  .duo {
    grid-template-columns: minmax(0, 1fr);
  }

  .intro__art--pair .phone:first-child {
    display: none;
  }

  .intro__art--pair .phone:last-child {
    rotate: none;
  }
}

@media (max-width: 520px) {
  .duo__art .phone {
    font-size: 9px;
  }
}

/* Photos taken in the try-on, with the button that turns them into a poll. */
.m-shots {
  position: absolute;
  top: 19.5em;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 0.5em;
  translate: -50% 0;
}

.m-shots span {
  width: 2.8em;
  height: 3.7em;
  overflow: hidden;
  border: 0.16em solid #fff;
  border-radius: 0.7em;
  box-shadow: 0 0.2em 0.8em rgb(5 0 53 / 0.3);
}

.m-shots img,
.m-poll__choice img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 24%;
}

.m-shots b {
  padding: 0.8em 1.2em;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 0.95em;
  font-weight: 600;
  white-space: nowrap;
}

/* A chat with the poll link in it. */
.m-chat {
  display: grid;
  align-content: start;
  gap: 0.7em;
  height: 100%;
  padding: 0 1em 1.6em;
  background: var(--sky-wash);
}

.m-chat__head {
  display: flex;
  align-items: center;
  gap: 0.7em;
  margin: 0 -1em 0.3em;
  padding: 0.9em 1.2em;
  background: var(--paper);
  box-shadow: 0 1px 0 var(--line);
  font-size: 1.05em;
}

.m-chat__head span {
  display: grid;
  place-items: center;
  width: 2.3em;
  height: 2.3em;
  border-radius: 50%;
  background: var(--peach-deep);
  font-family: var(--serif);
}

.m-chat p {
  max-width: 86%;
  margin: 0;
  padding: 0.7em 1em;
  border-radius: 1.3em;
}

.m-chat__out,
.m-chat__card {
  justify-self: end;
  background: var(--blue);
  color: #fff;
}

.m-chat p.m-chat__out {
  border-bottom-right-radius: 0.4em;
}

.m-chat__in {
  justify-self: start;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.m-chat p.m-chat__in {
  border-bottom-left-radius: 0.4em;
}

.m-chat__card {
  display: grid;
  gap: 0.25em;
  width: 86%;
  padding: 0.35em 0.35em 0.8em;
  border-radius: 1.3em 1.3em 0.4em 1.3em;
}

.m-chat__card img {
  width: 100%;
  height: auto;
  margin-bottom: 0.4em;
  border-radius: 1em;
}

.m-chat__card b,
.m-chat__card i {
  padding-inline: 0.65em;
}

.m-chat__card b {
  font-weight: 600;
  line-height: 1.25;
}

.m-chat__card i {
  opacity: 0.75;
  font-size: 0.88em;
  font-style: normal;
}

/* The poll page. */
.m-poll {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 0.7em;
  height: 100%;
  padding: 0.6em 1.1em 1.6em;
  background: #f1f3ee;
  text-align: center;
}

.m-poll__shop {
  color: var(--ink-soft);
  font-size: 0.72em;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.m-poll__title {
  max-width: 11em;
  font-size: 1.5em;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.m-poll__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7em;
  width: 100%;
  margin-top: 0.3em;
}

.m-poll__choice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.45em 0.5em;
  text-align: left;
}

.m-poll__choice img {
  grid-column: 1 / -1;
  aspect-ratio: 3 / 4;
  border-radius: 1.2em;
}

.m-poll__choice.is-ahead img {
  box-shadow: 0 0 0 0.16em #f1f3ee, 0 0 0 0.36em var(--blue);
}

.m-poll__choice b {
  grid-column: 1 / -1;
  font-weight: 600;
}

.m-poll__choice span {
  height: 0.5em;
  overflow: hidden;
  border-radius: 999px;
  background: rgb(5 0 53 / 0.12);
}

.m-poll__bar {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--ink-faint);
}

.m-poll__bar--29 {
  width: 29%;
}

.m-poll__bar--71 {
  width: 71%;
  background: var(--blue);
}

.m-poll__choice em {
  font-size: 0.95em;
  font-style: normal;
  font-weight: 700;
}

.m-poll__note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.8em;
}

.m-poll__invite {
  display: grid;
  justify-items: start;
  gap: 0.7em;
  width: 100%;
  padding: 1.1em;
  border-radius: 1.4em;
  background: var(--ink);
  color: #fff;
  text-align: left;
}

.m-poll__invite b {
  font-size: 1.1em;
  font-weight: 700;
  line-height: 1.1;
}

.m-poll__invite span {
  padding: 0.6em 1em;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.92em;
  font-weight: 600;
}

/* Inside a phone, paragraphs belong to the drawn screen, not to the page around it. */
.phone .m-chat p {
  margin: 0;
  color: inherit;
  font-size: 1em;
  line-height: 1.35;
}

.phone .m-chat p.m-chat__out {
  color: #fff;
}

.phone .m-poll__note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.8em;
  line-height: 1.35;
}
