/* Fonts: Google Fonts' latin and latin-ext subsets, self-hosted (SIL OFL, licences in /assets/fonts/). */

@font-face {
  font-family: Archivo;
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(/assets/fonts/archivo-variable-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Archivo;
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(/assets/fonts/archivo-variable-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/be-vietnam-pro-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/be-vietnam-pro-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/be-vietnam-pro-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/be-vietnam-pro-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/be-vietnam-pro-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/be-vietnam-pro-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/be-vietnam-pro-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/be-vietnam-pro-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

[hidden] { display: none !important; }

body {
  margin: 0;
  background: #FCFDFB;
  -webkit-text-size-adjust: 100%;
}

a { color: #126338; }
a:hover { color: #14201A; }
a:focus-visible { outline: 3px solid #14201A; outline-offset: 3px; border-radius: 2px; }

.page {
  container-type: inline-size;
  background: #FCFDFB;
  font-family: 'Be Vietnam Pro', system-ui, sans-serif;
  color: #14201A;
}

.wrap { max-width: 1200px; margin: 0 auto; }
.gutter { padding: 0 clamp(20px, 5.5cqi, 96px); }
.tabular { font-variant-numeric: tabular-nums; }

.press { transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1); }
.press:active { transform: scale(0.97); }
.press:focus-visible { outline: 3px solid #14201A; outline-offset: 3px; }

/* Header */

.site-head { padding: 20px clamp(20px, 5.5cqi, 96px); }
.brand-row { display: flex; align-items: center; gap: 12px; }
.brand-mark { display: block; flex: none; }
.brand-mark-letter { font-family: Archivo, sans-serif; font-weight: 800; font-stretch: 75%; }
.wordmark { font-size: 19px; letter-spacing: -0.02em; }
.wordmark-bold { font-weight: 700; }

/* Hero slider */

.hero { padding: 0 0 clamp(44px, 6cqi, 80px); }
.stage { position: relative; }

.slider {
  position: relative;
  height: clamp(420px, 42cqi, 640px);
  overflow: hidden;
  background: #14201A;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 500ms ease;
}
.slide.is-active { opacity: 1; }

.slide-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.slide-img-home { object-position: 50% 42%; }
.slide-img-desk { object-position: min(0px, (100cqi - 880px) * 0.32) 35%; }
.slide-img-notes { object-position: 70% 50%; }

.shade { position: absolute; inset: 0; padding: 0 clamp(20px, 5.5cqi, 96px); }
.shade-light { background: linear-gradient(90deg, rgba(252, 253, 251, 0.9) 0%, rgba(252, 253, 251, 0.6) 38%, rgba(252, 253, 251, 0) 68%); }
.shade-dark { background: linear-gradient(90deg, rgba(20, 32, 26, 0.86) 0%, rgba(20, 32, 26, 0.6) 40%, rgba(20, 32, 26, 0) 72%); }

.slide-copy { max-width: 1200px; margin: 0 auto; padding-top: clamp(28px, 5cqi, 72px); color: #14201A; }
.slide-copy-paper { color: #FCFDFB; }

.slide-title {
  margin: 0;
  max-width: 13ch;
  font-size: clamp(28px, 4.4cqi, 60px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.slide-sub {
  margin: clamp(10px, 1.4cqi, 18px) 0 0;
  max-width: min(30ch, 52cqi);
  font-size: clamp(15px, 1.5cqi, 19px);
  line-height: 1.4;
  font-weight: 500;
}

.dots-bar { position: absolute; left: 0; right: 0; bottom: 50px; display: flex; justify-content: center; }
.dots { display: flex; align-items: center; padding: 0 4px; background: rgba(20, 32, 26, 0.5); border-radius: 22px; }

.dot {
  position: relative;
  width: 44px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* The bar stays 36px tall as designed; the hit area reaches 44px. */
.dot::before { content: ""; position: absolute; inset: -4px 0; }
.dot:focus-visible { outline: 3px solid #FCFDFB; outline-offset: -3px; border-radius: 18px; }

/* The active pill grows from the dot with transform and opacity instead of animating width. */
.dot-off, .dot-on { display: block; height: 8px; border-radius: 4px; background: #FCFDFB; }
.dot-off { width: 8px; opacity: 0.6; transition: opacity 200ms ease; }
.dot-on {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  margin: -4px 0 0 -11px;
  opacity: 0;
  transform: scaleX(0.36);
  transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1), opacity 200ms ease;
}
.dot[aria-current="true"] .dot-off { opacity: 0; }
.dot[aria-current="true"] .dot-on { opacity: 1; transform: scaleX(1); }

/* Stamp */

.stamp-layer {
  position: absolute;
  inset: 0;
  padding: 0 clamp(20px, 5.5cqi, 96px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 500ms ease;
}
.stamp-layer.is-shown { opacity: 1; }
.stamp-anchor { position: relative; max-width: 1200px; height: 100%; margin: 0 auto; }

.stamp {
  position: absolute;
  right: 0;
  top: clamp(-22px, -1.4cqi, -10px);
  transform: rotate(-7deg);
  filter: drop-shadow(0 10px 16px rgba(20, 32, 26, 0.34));
}
.stamp-in { animation: stamp-in 220ms cubic-bezier(0.23, 1, 0.32, 1); }

@keyframes stamp-in {
  from { opacity: 0; transform: rotate(-7deg) scale(1.12); }
  to { opacity: 1; transform: rotate(-7deg) scale(1); }
}

.stamp-paper {
  --perf: clamp(9px, 1.1cqi, 14px);
  padding: clamp(10px, 1.3cqi, 16px);
  background: #FCFDFB;
  -webkit-mask: radial-gradient(farthest-side, #000 96%, transparent) 0 0 / var(--perf) var(--perf) round, linear-gradient(#000 0 0) center / calc(100% - var(--perf)) calc(100% - var(--perf)) no-repeat;
  mask: radial-gradient(farthest-side, #000 96%, transparent) 0 0 / var(--perf) var(--perf) round, linear-gradient(#000 0 0) center / calc(100% - var(--perf)) calc(100% - var(--perf)) no-repeat;
}

.stamp-ink {
  border: clamp(2px, 0.25cqi, 3px) solid #177A45;
  border-radius: 3px;
  padding: clamp(6px, 0.8cqi, 10px) clamp(9px, 1.2cqi, 16px);
  font-family: Archivo, sans-serif;
  color: #177A45;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.stamp-kicker { font-size: clamp(9px, 1.2cqi, 15px); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.stamp-country { font-size: clamp(19px, 3.8cqi, 50px); font-weight: 800; font-stretch: 75%; line-height: 0.95; text-transform: uppercase; white-space: nowrap; }
.stamp-count { font-size: clamp(11px, 1.4cqi, 17px); font-weight: 600; }

/* Signup form */

.signup {
  position: relative;
  margin: -38px auto 0;
  max-width: 820px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 8px;
  background: #FCFDFB;
  border: 1px solid #C9D1C9;
  border-radius: 38px;
  box-shadow: 0 10px 32px rgba(20, 32, 26, 0.14);
}

.seg {
  flex: 1 1 200px;
  position: relative;
  isolation: isolate;
  min-height: 56px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  border-radius: 30px;
}
/* The focus tint fades through opacity on a layer, so only opacity animates. */
.seg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: #EEF2EC;
  opacity: 0;
  transition: opacity 150ms ease;
}
.seg:focus-within::before { opacity: 1; }
.seg-email { flex: 999 1 220px; min-width: 0; }

.seg-label { font-size: 13px; font-weight: 700; }
.seg-value { font-size: 17px; white-space: nowrap; }
.chevron { margin-left: 8px; }

.seg-select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  font-size: 16px;
}
/* The select is invisible, so keyboard focus needs a ring on its segment. */
.seg-country:has(.seg-select:focus-visible) { outline: 2px solid #14201A; outline-offset: -2px; }

.seg-rule {
  flex: 0 0 clamp(0px, (100cqi - 700px) * 999, 1px);
  align-self: stretch;
  margin: 10px 0;
  background: #DFE4DD;
}

.email-input {
  width: 100%;
  height: 26px;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 17px;
  color: #14201A;
}
.email-input:focus-visible { outline: none; }
.email-input::placeholder { color: #6B7570; opacity: 1; }

.pop {
  position: absolute;
  left: 10px;
  bottom: calc(100% + 14px);
  z-index: 2;
  width: max-content;
  max-width: 270px;
  padding: 10px 14px;
  background: #14201A;
  color: #FCFDFB;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(20, 32, 26, 0.3);
  transform-origin: 24px 100%;
}
.pop-tip {
  position: absolute;
  left: 20px;
  bottom: -5px;
  width: 12px;
  height: 12px;
  background: #14201A;
  transform: rotate(45deg);
  border-radius: 2px;
}
.pop-in { animation: pop-in 160ms cubic-bezier(0.23, 1, 0.32, 1); }

@keyframes pop-in {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.shake { animation: shake 360ms cubic-bezier(0.36, 0.07, 0.19, 0.97); }

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(7px); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(3px); }
}

.cta {
  flex: 1 0 auto;
  height: 56px;
  padding: 0 28px;
  border: 0;
  border-radius: 30px;
  background: #177A45;
  color: #FCFDFB;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}
.cta:disabled { cursor: progress; }

/* Margin only while a challenge is showing, so the hidden widget takes no space. */
.turnstile { max-width: 820px; margin: 0 auto; }
.turnstile.is-shown { margin-top: 16px; }

/* Done state */

.done {
  position: relative;
  margin: -38px auto 0;
  max-width: 620px;
  box-sizing: border-box;
  padding: 16px 24px;
  background: #FCFDFB;
  border: 1px solid #C9D1C9;
  border-radius: 38px;
  box-shadow: 0 10px 32px rgba(20, 32, 26, 0.14);
}
.done:focus { outline: none; }
.done-row { display: flex; gap: 14px; align-items: center; }
.done-check { flex: 0 0 36px; }
.done-title { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.done-sub { margin: 2px 0 0; font-size: 15px; line-height: 1.4; color: #4A5750; }

.role-pick { margin-top: 14px; padding-top: 14px; border-top: 1px solid #DFE4DD; }
.role-q { margin: 0 0 10px; font-size: 15px; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #C9D1C9;
  border-radius: 999px;
  background: #FCFDFB;
  color: #14201A;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.chip:hover { border-color: #4A5750; }
.chip[aria-pressed="true"] { background: #177A45; border-color: #177A45; color: #FCFDFB; }
.chip:disabled { cursor: progress; }

.role-thanks { margin: 0; font-size: 15px; line-height: 1.4; font-weight: 600; }
.role-thanks:not(:empty) { margin-top: 12px; }
.role-thanks:focus { outline: none; }

.headline {
  margin: 28px auto 0;
  max-width: 34ch;
  text-align: center;
  font-size: clamp(20px, 2.1cqi, 28px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.tagline { margin: 10px auto 0; text-align: center; font-size: 16px; line-height: 1.5; color: #4A5750; }

/* Roles */

.roles { padding: 0 clamp(20px, 5.5cqi, 96px) clamp(48px, 6cqi, 88px); }

.roles-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  padding-bottom: 20px;
}
.roles-title { margin: 0; font-size: clamp(24px, 2.6cqi, 34px); line-height: 1.1; font-weight: 700; letter-spacing: -0.025em; }
.roles-source { margin: 0; font-size: 15px; color: #4A5750; }

.role-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #DFE4DD;
}

.role-divider {
  padding: 32px 0 12px;
  border-top: 1px solid #DFE4DD;
  font-size: 15px;
  font-weight: 700;
  color: #4A5750;
}

.role {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid #DFE4DD;
}
/* The design fades closed rows to 0.6; 0.85 is the lowest that keeps grey text at 4.5:1. */
.role.is-closed { opacity: 0.85; }

.role-divider, .role {
  animation: row-in 220ms cubic-bezier(0.23, 1, 0.32, 1) backwards;
  animation-delay: calc(var(--i, 0) * 30ms);
}

@keyframes row-in {
  from { opacity: 0; transform: translateY(6px); }
}

.role-tile {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #F3F5F1;
  border: 1px solid #DFE4DD;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: #4A5750;
}

.role-main {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}

.role-name { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.role-title { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; color: #14201A; text-decoration: none; overflow-wrap: anywhere; }
/* The whole row is the tap target for the title link. */
.role-title[href]::after { content: ""; position: absolute; inset: 0; }
.role-title[href]:hover { color: #14201A; text-decoration: underline; text-underline-offset: 3px; }
.role-title:focus-visible { outline: none; }
.role-title:focus-visible::after { outline: 3px solid #14201A; outline-offset: 2px; border-radius: 4px; }
.role-company { font-size: 15px; color: #4A5750; }

.role-meta { flex: 0 1 260px; display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.role-pay { color: #4A5750; }

.role-status {
  flex: 0 1 290px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: #126338;
}
.role-status svg { flex: 0 0 20px; }
.is-closed .role-status { color: #4A5750; }

/* Next */

.next { padding: clamp(48px, 7cqi, 104px) clamp(20px, 5.5cqi, 96px); background: #177A45; color: #FCFDFB; }
.next-title { margin: 0; max-width: 22ch; font-size: clamp(30px, 4.4cqi, 60px); line-height: 1.04; font-weight: 700; letter-spacing: -0.03em; text-wrap: balance; }
.next-sub { margin: 20px 0 0; font-size: clamp(17px, 1.5cqi, 20px); line-height: 1.5; }

/* Footer */

.site-foot { padding: 28px clamp(20px, 5.5cqi, 96px) 32px; }
.foot-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  font-size: 15px;
}
.wordmark-small { letter-spacing: -0.02em; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 24px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; }

@media (prefers-reduced-motion: reduce) {
  .press { transition: none; }
  .stamp-in, .pop-in, .shake, .role, .role-divider { animation: none; }
}

/* 404 */

.notfound-page { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.notfound-home { display: inline-flex; min-height: 44px; color: inherit; text-decoration: none; }

.notfound-main { flex: 1; display: flex; align-items: center; justify-content: center; padding-block: 40px 64px; }
.notfound-block { display: flex; flex-direction: column; align-items: center; }

/* Fixed at the landing stamp's largest size: here the stamp is the page, not a corner badge. */
.notfound-stamp {
  display: grid;
  transform: rotate(-5deg);
  filter: drop-shadow(0 10px 16px rgba(20, 32, 26, 0.34));
  /* The right half drops 9% of the stamp's ~145px height. */
  margin-bottom: 13px;
  animation: notfound-stamp-in 220ms cubic-bezier(0.23, 1, 0.32, 1) backwards;
}
.notfound-stamp .stamp-paper { --perf: 14px; padding: 16px; }
.notfound-stamp .stamp-ink { border-width: 3px; padding: 10px 16px; }
.notfound-stamp .stamp-kicker { font-size: 15px; }
/* Sized so the broken stamp, halves pushed out by 7% each, keeps 16px of margin on a 360px screen. */
.notfound-stamp .stamp-country { font-size: clamp(26px, 8.5cqi, 50px); }
.notfound-stamp .stamp-count { font-size: 17px; }

@keyframes notfound-stamp-in {
  from { opacity: 0; transform: rotate(-5deg) scale(1.12); }
  to { opacity: 1; transform: rotate(-5deg) scale(1); }
}

/* Two copies of the stamp torn along one line. The shadow stays on the shared parent: a shadow per half would fall across the other half and show the tear before the break. */
.notfound-half {
  grid-area: 1 / 1;
  animation: 420ms cubic-bezier(0.23, 1, 0.32, 1) 720ms both;
}
.notfound-half-left {
  transform-origin: left center;
  transform: translate(-4%, 2%) rotate(-3deg);
  animation-name: notfound-break-left;
}
.notfound-half-right {
  transform-origin: right center;
  transform: translate(4%, 8%) rotate(4deg);
  animation-name: notfound-break-right;
}
/* The left piece runs 1px past the tear so the two anti-aliased edges do not leave a hairline before the break. */
.notfound-half-left .notfound-piece { clip-path: polygon(0 0, calc(51% + 1px) 0, calc(48% + 1px) 17%, calc(53% + 1px) 33%, calc(47% + 1px) 50%, calc(52% + 1px) 67%, calc(48% + 1px) 83%, calc(51% + 1px) 100%, 0 100%); }
.notfound-half-right .notfound-piece { clip-path: polygon(51% 0, 100% 0, 100% 100%, 51% 100%, 48% 83%, 52% 67%, 47% 50%, 53% 33%, 48% 17%); }

/* Each break ends at the half's own transform, so reduced motion only has to drop the animation. */
@keyframes notfound-break-left { from { transform: none; } }
@keyframes notfound-break-right { from { transform: none; } }

.notfound-main .headline { margin-top: 44px; }
.notfound-main .tagline { text-wrap: balance; }

.notfound-cta { flex: none; display: inline-flex; align-items: center; margin-top: 28px; text-decoration: none; }
.notfound-cta:hover { color: #FCFDFB; }
/* a:focus-visible would square the pill's corners. */
.notfound-cta:focus-visible { border-radius: 30px; }

@media (prefers-reduced-motion: reduce) {
  .notfound-stamp, .notfound-half { animation: none; }
}
