/* pen2post landing page. Used by index.html only.
   Design language: white canvas, heavy tight grotesque headings, black pill
   buttons, bright rounded colour blocks, emoji as punctuation. */

:root {
  --ink: #0b0b0b;
  --paper: #ffffff;
  --mute: rgba(0, 0, 0, 0.62);
  --hair: rgba(0, 0, 0, 0.1);
  --tint: rgba(0, 0, 0, 0.05);

  --pink: #ffcee3;
  --orange: #ffae00;
  --green: #31c431;
  --navy: #001666;
  --cream: #fff6e0;

  --display: 'Bricolage Grotesque', 'Arial Black', system-ui, sans-serif;
  --body: 'Instrument Sans', 'Helvetica Neue', system-ui, sans-serif;
  --hand: 'Caveat', 'Bradley Hand', cursive;

  --r-card: 32px;
  --r-pill: 999px;
  --wide: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip; /* tilted pieces never cause sideways scrolling, and the header stays sticky */
}

[hidden] {
  display: none !important;
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

/* ---------- Pills ---------- */

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s cubic-bezier(0.3, 1.6, 0.5, 1), box-shadow 0.18s;
}

.pill-dark {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.18);
}

.pill-dark:hover {
  transform: translateY(-3px) rotate(-1.5deg);
  box-shadow: 0 10px 0 rgba(0, 0, 0, 0.18);
}

.pill-dark:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.18);
}

.pill-xl {
  min-height: 66px;
  padding: 0 34px;
  font-size: 22px;
}

.pill-soon {
  background: var(--cream);
  border: 2px solid var(--ink);
  white-space: normal;
  text-align: center;
  padding: 12px 22px;
}

.chip {
  display: inline-block;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: var(--tint);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.fine {
  font-size: 15px;
  color: var(--mute);
}

/* ---------- Header: stays put while the page scrolls ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px var(--gutter);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--hair);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.045em;
}

/* The header carries the wordmark at a fixed size. */
.brand .p2p-logo {
  margin: 0;
  font-size: 34px;
}

.brand .p2p-mark {
  transition: transform 0.5s cubic-bezier(0.3, 1.6, 0.5, 1);
}

.brand:hover .p2p-mark {
  transform: rotate(-18deg);
}

/* ---------- Hero and feature cards: a slogan beside a picture built from the brand's own pieces ---------- */

.hero {
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(20px, 4vw, 48px) var(--gutter) clamp(40px, 7vw, 80px);
}

/* Slogan beside picture, straight on the white canvas. Colour comes from the blob behind the picture. */
.slide {
  display: grid;
  gap: clamp(24px, 5vw, 40px);
  align-items: center;
  --blob-a: var(--pink);
  --blob-b: var(--orange);
  --blob-base: var(--cream);
}

.blob-green {
  --blob-a: #c9f1c9;
  --blob-b: var(--pink);
  --blob-base: #f2fbf2;
}

.slide-copy {
  container-type: inline-size;
  min-width: 0;
}

/* Sized to the column, so the longest line of any slogan always fits on one line. */
.slogan {
  font-size: min(15.5cqi, 112px);
  margin: 0 0 22px;
}

.slogan > span {
  display: block;
  white-space: nowrap;
}

/* A small label over a slogan says where we are in the story. */
.slide-copy .chip {
  margin-bottom: 18px;
}

.feature .slide-copy .pill,
.move-card .pill {
  margin-top: 26px;
}

.hl {
  color: inherit;
  padding: 0 0.12em 0.04em;
  margin-left: -0.12em;
  border-radius: 0.16em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hl-orange {
  background: var(--orange);
  display: inline-block;
  transform: rotate(-1.5deg);
}

/* A highlight inside a sentence: no tilt, ink stays fully dark. */
.hl-inline {
  transform: none;
  margin-left: 0;
  padding: 0.02em 0.22em 0.08em;
  color: var(--ink);
  white-space: nowrap;
}

.hl-pink {
  background: var(--pink);
  display: inline-block;
  transform: rotate(1deg);
}

.lede {
  font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.28;
  letter-spacing: -0.025em;
  color: var(--mute);
  max-width: 21em;
}

.slide .lede {
  font-size: clamp(18px, 2vw, 22px);
  max-width: 24em;
}

.hl-green {
  background: var(--green);
  display: inline-block;
  transform: rotate(-1deg);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  margin-top: clamp(24px, 4vw, 36px);
}

/* The price is a bright tag beside the button, not small print. */
.price {
  display: grid;
  padding: 9px 18px 10px;
  border-radius: 18px;
  background: var(--green);
  font-family: var(--display);
  line-height: 1.05;
  letter-spacing: -0.03em;
  transform: rotate(-2deg);
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.14);
}

.price b {
  font-weight: 800;
  font-size: 26px;
}

.price > span {
  font-weight: 700;
  font-size: 15px;
}

.slide-copy .pill-soon {
  margin-top: clamp(24px, 4vw, 36px);
}

.perks {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.perks li {
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: var(--tint);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.perks li::before {
  content: '✓ ';
  font-weight: 700;
}

/* The hero image is drawn in CSS from the product's own parts. */
.hero-art {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 1 / 1.01;
  margin: 0 auto;
  container-type: inline-size;
}

.hero-art::before {
  content: '';
  position: absolute;
  inset: 6% 2% 2% 6%;
  border-radius: 46% 54% 52% 48% / 50% 44% 56% 50%;
  background: radial-gradient(circle at 30% 30%, var(--blob-a), transparent 62%), radial-gradient(circle at 78% 70%, var(--blob-b), transparent 58%),
    var(--blob-base);
  filter: saturate(1.05);
}

.art-front {
  position: absolute;
  left: 30%;
  top: 0;
  width: 49%;
  padding: 2.2%;
  background: #fff;
  border-radius: 6px;
  transform: rotate(-1deg);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.art-front img,
.art-photo img {
  width: 100%;
  aspect-ratio: 148 / 105;
  object-fit: cover;
}

/* A real traveller's photo as a front, beside the illustrated one. */
.art-photo {
  position: absolute;
  right: -2.5%;
  top: 12.5%;
  width: 50%;
  padding: 2.1%;
  background: #fff;
  border-radius: 6px;
  transform: rotate(10deg);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.art-scrap {
  position: absolute;
  left: 0;
  top: 7.5%;
  width: 43%;
  padding: 7.5% 5.5% 8.5%;
  background: #fbf7ea;
  color: #1a2a6a;
  font-family: var(--hand);
  font-weight: 600;
  font-size: 4cqi;
  line-height: 1.12;
  transform: rotate(-9deg);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
  /* A torn bottom edge. */
  clip-path: polygon(0 0, 100% 0, 100% 91%, 93% 96%, 86% 90%, 78% 97%, 70% 91%, 61% 98%, 52% 91%, 43% 97%, 34% 90%, 25% 97%, 16% 91%, 8% 96%, 0 90%);
}

.art-card {
  position: absolute;
  left: 8%;
  bottom: 2.5%;
  width: 85%;
  aspect-ratio: 148 / 105;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border-radius: 6px;
  transform: rotate(-3deg);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.24), 0 2px 0 rgba(0, 0, 0, 0.06);
  z-index: 3;
}

.art-note {
  display: grid;
  place-items: center;
  padding: 6%;
  color: #1a2a6a;
  font-family: var(--hand);
  font-weight: 600;
  font-size: 4.6cqi;
  line-height: 1.12;
  border-right: 2px solid var(--hair);
}

.art-address {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 9%;
  padding: 0 9% 13%;
}

.art-address img {
  position: absolute;
  top: 5%;
  right: 3%;
  width: 92%;
  opacity: 0.9;
  transform: rotate(-4deg);
}

.art-address span {
  display: block;
  height: 2px;
  background: rgba(0, 0, 0, 0.16);
}

.sticker {
  position: absolute;
  right: 1%;
  bottom: 0;
  z-index: 4;
  width: 25%;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  text-align: center;
  background: var(--green);
  border-radius: 50%;
  font-family: var(--display);
  line-height: 0.82;
  transform: rotate(14deg);
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.16);
  animation: wobble 5s ease-in-out infinite;
}

.sticker svg {
  width: 4.6cqi;
  height: auto;
  margin: 0 auto 2px;
}

.sticker b {
  font-size: 9.6cqi;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.sticker i {
  font-style: normal;
  font-weight: 700;
  font-size: 3.6cqi;
  letter-spacing: -0.03em;
}

/* ---------- Feature: your own photo, your own words ---------- */

.own-back {
  position: absolute;
  left: 2%;
  top: 4%;
  width: 84%;
  aspect-ratio: 148 / 105;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border-radius: 6px;
  transform: rotate(-5deg);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.own-back .art-note {
  font-size: 4.4cqi;
}

.own-front {
  position: absolute;
  right: 0;
  bottom: 4%;
  width: 60%;
  padding: 2.4%;
  background: #fff;
  border-radius: 6px;
  transform: rotate(7deg);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.24), 0 2px 0 rgba(0, 0, 0, 0.06);
  z-index: 2;
}

.own-front img {
  width: 100%;
  aspect-ratio: 148 / 105;
  object-fit: cover;
}

/* A plain ballpoint, drawn in CSS. */
.own-pen {
  position: absolute;
  left: 7%;
  bottom: 22%;
  width: 46%;
  height: 3.6%;
  border-radius: 3cqi 1cqi 1cqi 3cqi;
  background: linear-gradient(var(--navy), #10287a 55%, var(--navy));
  transform: rotate(-14deg);
  transform-origin: left center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.22);
  z-index: 3;
}

.own-pen::before {
  content: '';
  position: absolute;
  left: -9%;
  top: 0;
  width: 10%;
  height: 100%;
  background: #e9e3d3;
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
}

.own-pen i {
  position: absolute;
  right: 6%;
  top: -40%;
  width: 26%;
  height: 40%;
  border-radius: 1cqi 1cqi 0 0;
  background: var(--navy);
}

.sticker-pink {
  background: var(--pink);
  right: auto;
  left: 6%;
  bottom: 2%;
  width: 22%;
}

.sticker-pink svg {
  width: 13cqi;
  margin: 0;
}

/* ---------- Feature: a hand of real postcards ---------- */

.fan {
  position: absolute;
  top: 4%;
  width: 54%;
  padding: 2.2%;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
  transform-origin: 50% 120%;
}

.fan img {
  width: 100%;
  aspect-ratio: 148 / 105;
  object-fit: cover;
}

.fan-1 { left: 2%; transform: rotate(-16deg); }
.fan-2 { left: 23%; top: 0; transform: rotate(-2deg); }
.fan-3 { right: 0; transform: rotate(13deg); }

.real-card {
  left: 6%;
  bottom: 4%;
  transform: rotate(-2deg);
}

.sticker-orange {
  background: var(--orange);
  right: 0;
  bottom: 24%;
  width: 24%;
}

.sticker-orange svg {
  width: 8cqi;
  margin-bottom: 4px;
}

.sticker-orange i {
  font-size: 3.4cqi;
  line-height: 0.95;
}

/* ---------- Scraps of paper ---------- */

/* A paper napkin with a pressed border and a coffee ring. */
.napkin {
  position: absolute;
  left: 0;
  top: 6%;
  width: 40%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 6%;
  background: radial-gradient(circle at 74% 26%, transparent 13%, rgba(150, 95, 40, 0.18) 14%, rgba(150, 95, 40, 0.1) 16.5%, transparent 17.5%), #fff;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1.6cqi #fff, inset 0 0 0 2cqi rgba(0, 0, 0, 0.07), 0 12px 26px rgba(0, 0, 0, 0.14);
  transform: rotate(-10deg);
  font-family: var(--hand);
  font-weight: 600;
  font-size: 4.4cqi;
  line-height: 1.05;
  color: #1a2a6a;
}

/* ---------- The pen2post wordmark and hero ---------- */

/* The "pen" is handwriting and the "post" is print, joined by a postmark of a 2. */
.p2p-logo {
  display: flex;
  align-items: center;
  white-space: nowrap;
  margin: 0 0 0.28em;
  font-family: var(--display);
  font-weight: 800;
  font-size: min(15cqi, 108px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.p2p-pen {
  font-family: var(--hand);
  font-weight: 600;
  font-size: 1.28em;
  letter-spacing: -0.02em;
  color: #1f46d6;
  transform: rotate(-4deg);
}

/* The cancellation waves spill out of the stamp and run behind "post". */
.p2p-mark {
  flex: none;
  width: 0.94em;
  height: 0.94em;
  margin: 0 0.05em 0 0.08em;
  overflow: visible;
  stroke: var(--ink);
}

.p2p-waves {
  fill: none;
  stroke-width: 3.2;
  stroke-linecap: round;
  opacity: 0.36;
}

.p2p-dot {
  fill: var(--ink);
  stroke: none;
}

.p2p-mark text {
  fill: var(--ink);
  stroke: none;
  font-size: 60px;
  letter-spacing: 0;
}

.p2p-post {
  position: relative;
}

/* Under the logo: what it is, in one breath. */
.tagline {
  font-size: min(8.4cqi, 50px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  max-width: 14em;
}

.tagline span {
  display: block;
  margin-top: 0.3em;
  color: var(--mute);
}

/* The three steps, each led by its icon. */
.p2p-line {
  list-style: none;
  margin: clamp(26px, 4.5vw, 44px) 0 0;
  padding: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: min(7.6cqi, 46px);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.p2p-line > li {
  display: flex;
  align-items: center;
  gap: 0.3em;
  white-space: nowrap;
}

.p2p-line > li + li {
  margin-top: 0.3em;
}

.p2p-line i {
  flex: none;
  display: grid;
  place-items: center;
  width: 0.92em;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
}

.p2p-line svg {
  width: 56%;
  height: auto;
}

.p2p-line .hl {
  margin-left: 0;
}

/* The hero picture: no blob, and the napkin sits a little larger to hold four lines. */
.art-p2p::before {
  display: none;
}

/* The photo sits higher here, so the beach shows above the card. */
.art-p2p .art-photo {
  top: 1%;
}

.art-p2p .napkin {
  top: 2%;
  width: 44%;
}

.sticker-ink {
  background: var(--ink);
  color: #fff;
}

/* ---------- Ticker ---------- */

.ticker {
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  padding: 16px 0;
  transform: rotate(-1.2deg) scale(1.03);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(20px, 3vw, 30px);
  letter-spacing: -0.035em;
  white-space: nowrap;
  animation: slide 38s linear infinite;
}

.ticker-track i {
  font-style: normal;
  color: var(--orange);
}

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

.feature,
.fronts,
.move,
.why,
.finale {
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(56px, 9vw, 112px) var(--gutter) 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.section-head h2,
.finale h2 {
  font-size: clamp(42px, 8vw, 84px);
}

.section-head p {
  margin-top: 16px;
  font-size: clamp(19px, 2.2vw, 23px);
  letter-spacing: -0.02em;
  color: var(--mute);
}

/* ---------- Fronts ---------- */

.section-head p + p {
  margin-top: 12px;
}

.front-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 4vw, 44px);
  max-width: 860px;
  padding: 6px 4px 0;
}

.front {
  margin: 0;
  transition: transform 0.28s cubic-bezier(0.3, 1.5, 0.5, 1);
}

.front:nth-child(1) { transform: rotate(-3deg); }
.front:nth-child(2) { transform: rotate(2.5deg); }

.front:hover {
  transform: rotate(0deg) translateY(-6px);
}

.front img {
  width: 100%;
  aspect-ratio: 148 / 105;
  object-fit: cover;
  border: 7px solid #fff;
  border-radius: 6px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.front figcaption {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--tint);
  font-weight: 600;
  font-size: 14px;
}

.front-own figcaption {
  background: var(--orange);
}

/* ---------- For people on the move ---------- */

/* The line gets the full width to itself, then the case for it sits in a pink block. */
.move .section-head {
  max-width: none;
}

.move-card {
  background: var(--pink);
  border-radius: var(--r-card);
  padding: clamp(28px, 5vw, 64px);
}

.move-card h3 {
  font-size: clamp(28px, 4.2vw, 50px);
  margin: 0 0 clamp(22px, 3vw, 34px);
  max-width: 17em;
}

/* One sentence per line, with air between them. */
.move-card h3 span {
  display: block;
}

.move-card h3 span + span {
  margin-top: 0.32em;
}

.move-cols {
  display: grid;
  gap: 18px;
  font-size: clamp(18px, 1.9vw, 21px);
  letter-spacing: -0.015em;
  color: rgba(0, 0, 0, 0.78);
}

.tags {
  list-style: none;
  margin: clamp(26px, 4vw, 40px) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tags li {
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.015em;
}

.tags li:nth-child(2) {
  background: var(--ink);
  color: #fff;
}

.tags li:nth-child(4) {
  background: var(--orange);
}

/* ---------- Supporting copy ---------- */

/* Three bright blocks, one doubt answered in each. */
.why-grid {
  display: grid;
  gap: 16px;
}

.why article {
  border-radius: var(--r-card);
  padding: clamp(24px, 3.4vw, 36px);
  background: var(--orange);
  transition: transform 0.28s cubic-bezier(0.3, 1.5, 0.5, 1);
}

.why article:nth-child(2) {
  background: var(--green);
}

.why article:nth-child(3) {
  background: var(--cream);
  box-shadow: inset 0 0 0 2px var(--ink);
}

.why article:hover {
  transform: translateY(-6px) rotate(-1deg);
}

.why article:nth-child(2):hover {
  transform: translateY(-6px) rotate(1deg);
}

.why h3 {
  font-size: clamp(28px, 3.2vw, 34px);
  line-height: 1.02;
  margin-bottom: 12px;
}

.why p {
  color: rgba(0, 0, 0, 0.78);
  letter-spacing: -0.015em;
}

/* ---------- Closing call to action ---------- */

.finale {
  padding-bottom: clamp(56px, 9vw, 112px);
}

/* The last word sits in one big block of colour. */
.finale-card {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: clamp(36px, 6vw, 72px) clamp(20px, 4.5vw, 56px) clamp(40px, 6vw, 72px);
  border-radius: var(--r-card);
  background: var(--orange);
}

.finale-mark {
  width: min(78%, 420px);
  transform: rotate(-5deg);
  margin-bottom: 6px;
}

.finale h2 {
  max-width: 11em;
}

.finale .fine {
  font-size: 15px;
  margin: 0;
}

.finale p {
  font-size: clamp(19px, 2.2vw, 23px);
  letter-spacing: -0.02em;
  color: rgba(0, 0, 0, 0.78);
  margin-bottom: 12px;
}

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

.foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 26px var(--gutter) 36px;
  border-top: 1px solid var(--hair);
  font-size: 15px;
  color: var(--mute);
  text-align: center;
}

.foot-brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.foot-links {
  display: flex;
  gap: 22px;
  margin-top: 8px;
}

.foot-links a {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Wider screens ---------- */

@media (min-width: 760px) {
  .move-cols {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

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

@media (min-width: 760px) {
  .slide {
    grid-template-columns: 1.02fr 0.98fr;
  }

  .hero .slide {
    align-items: start;
  }

  /* Every other feature card puts its picture first. */
  .feature-flip .slide-copy {
    order: 2;
  }

  .hero-art {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .brand .p2p-logo {
    font-size: 28px;
  }

  .pill-xl {
    width: 100%;
  }
}

/* ---------- Motion ---------- */

.rise {
  opacity: 0;
  transform: translateY(22px);
  animation: rise 0.7s cubic-bezier(0.2, 0.9, 0.3, 1) forwards;
  animation-delay: calc(var(--d, 0) * 90ms + 60ms);
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}

@keyframes wobble {
  0%,
  100% {
    transform: rotate(14deg);
  }
  50% {
    transform: rotate(6deg) scale(1.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rise {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .ticker-track,
  .sticker {
    animation: none;
  }

  .pill,
  .why article,
  .brand .p2p-mark {
    transition: none;
  }
}
