:root {
  --color-black: 0 0 0;
  --color-white: 255 255 255;
  --color-off-white: 249 248 248;
  --color-black-dark: 30 30 36;
  --color-black-light: 71 68 72;

  --color-brand-gold: 251 189 49;
  --color-blue-light: 37 187 219;
  --color-blue-dark: 4 75 127;

  --color-green-light: 1 121 94;
  --color-green-dark: 0 89 64;
  --color-red: 230 41 40;

  --color-blue: 34 101 153;
  --color-orange: 231 111 81;
  --color-yellow: 255 203 105;

  --paper: 245 240 229;
  --paper-deep: 229 220 203;
  --paper-edge: 210 199 181;

  --font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-family-h: 'Bitter', Georgia, 'Times New Roman', serif;

  --focus-ring: 2px solid rgb(var(--color-red));
  --focus-shadow: 0 0 0 2px rgb(var(--color-white));

  --radius-card: 16px;
  --radius-brand: 12px 6px 12px 6px;

  --shell: 780px;
  --header-h: 68px;

  --shadow-sm: 0 1px 2px rgb(var(--color-black) / 0.05),
    0 2px 8px rgb(var(--color-black) / 0.04);
  --shadow-md: 0 2px 6px rgb(var(--color-black) / 0.06),
    0 12px 32px -12px rgb(var(--color-black) / 0.22);
  --shadow-lg: 0 4px 12px rgb(var(--color-black) / 0.07),
    0 28px 60px -24px rgb(var(--color-black) / 0.35);
}

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

html, body { height: 100%; }

body {
  margin: 0;
  background: rgb(var(--paper));
  color: rgb(var(--color-black-dark));
  font-family: var(--font-family);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

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

:where(h1, h2, h3, h4, h5, h6) {
  font-family: var(--font-family-h);
  font-weight: 600;
  line-height: 1.05;
  margin: 0;
}

:focus-visible {
  box-shadow: var(--focus-shadow);
  outline: var(--focus-ring);
  outline-offset: 2px;
}

.u-visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.Backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.Backdrop__base {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 55% at 50% 34%, rgb(255 253 247 / 0.9) 0%, rgb(255 253 247 / 0) 70%),
    radial-gradient(130% 95% at 50% -12%, rgb(255 252 245) 0%, rgb(var(--paper)) 46%, rgb(var(--paper-deep)) 100%);
}

.Backdrop__wash { position: absolute; inset: -20%; }

.Backdrop__wash span {
  position: absolute;
  display: block;
  border-radius: 50%;
  will-change: transform;
}

.Backdrop__wash span:nth-child(1) {
  inline-size: 46vmax; block-size: 46vmax;
  inset-block-start: -4%; inset-inline-start: -8%;
  background: radial-gradient(circle at 45% 45%, rgb(var(--color-green-light) / 0.16), rgb(var(--color-green-light) / 0) 68%);
  animation: drift-a 52s ease-in-out infinite;
}

.Backdrop__wash span:nth-child(2) {
  inline-size: 42vmax; block-size: 42vmax;
  inset-block-start: 10%; inset-inline-end: -10%;
  background: radial-gradient(circle at 55% 45%, rgb(var(--color-brand-gold) / 0.24), rgb(var(--color-brand-gold) / 0) 66%);
  animation: drift-b 64s ease-in-out infinite;
}

.Backdrop__wash span:nth-child(3) {
  inline-size: 52vmax; block-size: 52vmax;
  inset-block-end: -22%; inset-inline-start: 20%;
  background: radial-gradient(circle at 50% 50%, rgb(var(--color-blue-dark) / 0.14), rgb(var(--color-blue-dark) / 0) 64%);
  animation: drift-c 78s ease-in-out infinite;
}

.Backdrop__wash span:nth-child(4) {
  inline-size: 30vmax; block-size: 30vmax;
  inset-block-end: 6%; inset-inline-end: 4%;
  background: radial-gradient(circle at 50% 50%, rgb(var(--color-blue-light) / 0.16), rgb(var(--color-blue-light) / 0) 62%);
  animation: drift-a 70s ease-in-out infinite reverse;
}

@keyframes drift-a {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(5%, 4%, 0) scale(1.1); }
}
@keyframes drift-b {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1.05); }
  50%      { transform: translate3d(-6%, 5%, 0) scale(0.95); }
}
@keyframes drift-c {
  0%, 100% { transform: translate3d(0, 0, 0) scale(0.98); }
  50%      { transform: translate3d(4%, -5%, 0) scale(1.08); }
}

.Backdrop__rosette span {
  position: absolute;
  display: block;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><g fill='none' stroke='%23044B7F' stroke-width='1.1'><circle cx='100' cy='100' r='97'/><circle cx='100' cy='100' r='74'/><circle cx='100' cy='100' r='42'/><circle cx='100' cy='100' r='15'/><rect x='36' y='36' width='128' height='128'/><rect x='36' y='36' width='128' height='128' transform='rotate(22.5 100 100)'/><rect x='36' y='36' width='128' height='128' transform='rotate(45 100 100)'/><rect x='36' y='36' width='128' height='128' transform='rotate(67.5 100 100)'/></g></svg>");
  opacity: 0.085;
  will-change: transform;
}

.Backdrop__rosette span:nth-child(1) {
  inline-size: min(58vmin, 620px);
  aspect-ratio: 1;
  inset-block-start: -16vmin;
  inset-inline-start: -18vmin;
  animation: turn 260s linear infinite;
}

.Backdrop__rosette span:nth-child(2) {
  inline-size: min(46vmin, 500px);
  aspect-ratio: 1;
  inset-block-end: -14vmin;
  inset-inline-end: -14vmin;
  animation: turn 340s linear infinite reverse;
}

@keyframes turn {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.Backdrop__pattern {
  position: absolute;
  inset: -6%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='104' height='104' viewBox='0 0 104 104'><g fill='none' stroke='%23044B7F' stroke-width='1.1'><rect x='26' y='26' width='52' height='52'/><rect x='26' y='26' width='52' height='52' transform='rotate(45 52 52)'/><circle cx='52' cy='52' r='4.5'/><rect x='-26' y='-26' width='52' height='52'/><rect x='-26' y='-26' width='52' height='52' transform='rotate(45 0 0)'/><rect x='78' y='-26' width='52' height='52'/><rect x='78' y='-26' width='52' height='52' transform='rotate(45 104 0)'/><rect x='-26' y='78' width='52' height='52'/><rect x='-26' y='78' width='52' height='52' transform='rotate(45 0 104)'/><rect x='78' y='78' width='52' height='52'/><rect x='78' y='78' width='52' height='52' transform='rotate(45 104 104)'/></g></svg>");
  background-size: 104px 104px;
  opacity: 0.07;
  mask-image: radial-gradient(66% 60% at 50% 46%, transparent 36%, black 100%);
  animation: pattern-drift 150s linear infinite;
  will-change: transform;
}

@keyframes pattern-drift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(104px, 52px, 0); }
}

.Backdrop__rules {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    rgb(var(--color-blue-dark) / 0.05) 0 1px,
    transparent 1px 34px
  );
  opacity: 0.5;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 82%, transparent);
}

.Backdrop__halftone {
  position: absolute;
  inset: -10%;
  background-image: radial-gradient(rgb(var(--color-black-dark) / 0.5) 0.6px, transparent 0.7px);
  background-size: 7px 7px;
  opacity: 0.085;
  animation: halftone-pan 140s linear infinite;
  will-change: transform;
}

@keyframes halftone-pan {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-7px, -14px, 0); }
}

.Backdrop__sheen {
  position: absolute;
  inset: -40%;
  background: linear-gradient(
    112deg,
    rgb(255 253 246 / 0) 32%,
    rgb(255 253 246 / 0.5) 50%,
    rgb(255 253 246 / 0) 68%
  );
  animation: sheen 46s ease-in-out infinite;
  will-change: transform;
}

@keyframes sheen {
  0%, 100% { transform: translate3d(-14%, 0, 0); }
  50%      { transform: translate3d(14%, 0, 0); }
}

.Backdrop__fibre,
.Backdrop__grain {
  position: absolute;
  inset: 0;
  background-repeat: repeat;
}

.Backdrop__fibre {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='f'><feTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='220' height='220' filter='url(%23f)' opacity='0.55'/></svg>");
  opacity: 0.4;
  mix-blend-mode: multiply;
}

.Backdrop__grain {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='160' height='160' filter='url(%23g)' opacity='0.5'/></svg>");
  opacity: 0.15;
  mix-blend-mode: overlay;
}

.Backdrop__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(115% 85% at 50% 40%, transparent 50%, rgb(58 44 24 / 0.2) 100%);
}

.Shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  grid-template-columns: minmax(0, 1fr);
  block-size: 100dvh;
}

.Header {
  display: flex;
  min-inline-size: 0;
  align-items: center;
  gap: 16px;
  padding: 0 clamp(16px, 4vw, 32px);
  block-size: var(--header-h);
  border-block-end: 1px solid rgb(var(--paper-edge) / 0.7);
  background: rgb(var(--paper) / 0.75);
  backdrop-filter: blur(12px);
}

.Subbar {
  padding-block-start: 14px;
}

.Subbar[hidden] { display: none; }

.Subbar__inner {
  inline-size: min(100% - clamp(24px, 6vw, 48px), var(--shell));
  margin-inline: auto;
}

.Back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 2px;
  border: 0;
  background: none;
  color: rgb(var(--color-black-light) / 0.8);
  font-size: calc((14 / 16) * 1rem);
  font-weight: 500;
  text-decoration-color: transparent;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 220ms, text-decoration 220ms;
  animation: back-in 420ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.Back[hidden] { display: none; }

.Back:hover {
  color: rgb(var(--color-green-dark));
  text-decoration-color: currentColor;
}

.Back:hover svg { transform: translateX(-3px); }

.Back svg {
  inline-size: 14px;
  block-size: 14px;
  fill: currentColor;
  transition: transform 240ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

@keyframes back-in {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: translateX(0); }
}

.Logo {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  min-inline-size: 0;
  gap: 12px;
  color: rgb(var(--color-green-light));
  text-decoration: none;
}

.Logo__mark {
  inline-size: 40px;
  block-size: 40px;
  flex: 0 0 auto;
}

.Logo__mark svg { inline-size: 100%; block-size: 100%; display: block; }

.Logo__text {
  display: grid;
  gap: 1px;
  line-height: 1.1;
  min-inline-size: 0;
}

.Logo__name {
  font-family: var(--font-family-h);
  font-size: calc((16 / 16) * 1rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgb(var(--color-black-dark));
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.Header__spacer { flex: 1 1 auto; }

.Account {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  padding: 3px 6px 3px 3px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: none;
  transition: background 240ms, border-color 240ms;
}

.Account:hover {
  background: rgb(var(--color-white) / 0.7);
  border-color: rgb(var(--paper-edge));
}

.Account__avatar {
  inline-size: 34px;
  block-size: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgb(var(--color-green-light) / 0.28);
  background: rgb(var(--color-green-light) / 0.12);
  color: rgb(var(--color-green-dark));
}

.Account__avatar svg { inline-size: 19px; block-size: 19px; }

.Account__caret {
  inline-size: 14px;
  block-size: 14px;
  fill: rgb(var(--color-black-light) / 0.5);
}

.Main {
  overflow-y: auto;
  mask-image: linear-gradient(to bottom, black calc(100% - 34px), transparent 100%);
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgb(var(--paper-edge)) transparent;
}

.Main::-webkit-scrollbar { inline-size: 10px; }
.Main::-webkit-scrollbar-thumb {
  background: rgb(var(--paper-edge));
  border-radius: 999px;
  border: 3px solid transparent;
  background-clip: content-box;
}

.Main__inner {
  display: flex;
  flex-direction: column;

  overflow-anchor: none;
  inline-size: min(100% - clamp(24px, 6vw, 48px), var(--shell));
  margin-inline: auto;
  min-block-size: 100%;
  padding-block: clamp(24px, 4vh, 44px) 34px;
}

.Intro {
  display: flex;
  flex-direction: column;
  transition: block-size 540ms cubic-bezier(0.4, 0, 0.2, 1);
}

.Intro[hidden] { display: none; }

.Intro.is-leaving {
  animation: hero-out 380ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes hero-out {
  to { opacity: 0; transform: scale(0.99); }
}

.Hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-block-size: calc(100dvh - var(--header-h) - 172px);
  text-align: center;
}

.Hero__eyebrow {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 6px 14px;
  border: 1px solid rgb(var(--color-green-light) / 0.28);
  border-radius: 999px;
  background: rgb(var(--color-green-light) / 0.07);
  color: rgb(var(--color-green-dark));
  font-size: calc((12 / 16) * 1rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.Hero__eyebrow::before {
  content: '';
  inline-size: 6px; block-size: 6px;
  border-radius: 50%;
  background: rgb(var(--color-brand-gold));
}

.Hero__title {
  font-size: clamp(2.125rem, 1.55rem + 2.7vw, 3.25rem);
  letter-spacing: -0.015em;
  margin-block: 22px 0;
  text-wrap: balance;
}

.Hero__title em {
  font-style: normal;
  position: relative;
  color: rgb(var(--color-green-light));
  white-space: nowrap;
}

.Hero__title em::after {
  content: '';
  position: absolute;
  inset-inline: -2px;
  inset-block-end: 0.09em;
  block-size: 0.3em;
  background: rgb(var(--color-brand-gold) / 0.55);
  border-radius: 2px;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  animation: underline-in 900ms 500ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes underline-in { to { transform: scaleX(1); } }

.Hero__lede {
  max-inline-size: 46ch;
  margin: 16px auto 0;
  color: rgb(var(--color-black-light));
  font-size: calc((17 / 16) * 1rem);
  text-wrap: pretty;
}

.Hero__composer { margin-block: clamp(24px, 3.6vh, 34px) 0; }

.Hero__composer:empty { display: none; }

.Hints {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 12px;
  margin-block-start: clamp(20px, 3vh, 30px);
  text-align: start;
}

.Hint {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 16px 16px 18px;
  border: 1px solid rgb(var(--paper-edge) / 0.9);
  border-radius: var(--radius-card);
  background: rgb(var(--color-white) / 0.82);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  text-align: start;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 260ms,
    border-color 260ms, background 260ms;
  opacity: 0;
  animation: rise-in 620ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.Hint:nth-child(1) { animation-delay: 120ms; }
.Hint:nth-child(2) { animation-delay: 200ms; }
.Hint:nth-child(3) { animation-delay: 280ms; }
.Hint:nth-child(4) { animation-delay: 360ms; }

.Hint::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  block-size: 56%;
  background: radial-gradient(
    130% 105% at 50% 124%,
    rgb(var(--tone) / 0.24) 0%,
    rgb(var(--tone) / 0.11) 32%,
    rgb(var(--tone) / 0.035) 58%,
    rgb(var(--tone) / 0) 78%
  );
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 420ms ease-out, transform 620ms cubic-bezier(0.22, 0.61, 0.36, 1);
  pointer-events: none;
}

.Hint:hover,
.Hint:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  background: rgb(var(--color-white) / 0.95);
  border-color: rgb(var(--tone) / 0.35);
}

.Hint:hover::after,
.Hint:focus-visible::after { opacity: 1; transform: translateY(0); }

.Hint__icon,
.Hint__title,
.Hint__sub { position: relative; }

.Hint__icon {
  inline-size: 34px;
  block-size: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px 4px 10px 4px;
  background: rgb(var(--tone) / 0.14);
  color: rgb(var(--tone));
}

.Hint__icon svg { inline-size: 19px; block-size: 19px; }

.Hint__title {
  font-size: calc((15 / 16) * 1rem);
  font-weight: 600;
  font-family: var(--font-family-h);
}

.Hint__sub {
  font-size: calc((13 / 16) * 1rem);
  line-height: 1.4;
  color: rgb(var(--color-black-light) / 0.85);
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.Hero__cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  align-self: center;
  line-height: 1;
  margin-block-start: clamp(18px, 3vh, 28px);
  padding: 6px 4px;
  border: 0;
  background: none;
  color: rgb(var(--color-black-light) / 0.7);
  font-size: calc((12 / 16) * 1rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: opacity 400ms, color 240ms;
}

.Hero__cue:hover { color: rgb(var(--color-green-light)); }

.Hero__cue svg {
  inline-size: 16px; block-size: 16px;
  display: block;
  fill: currentColor;
  animation: nudge 2.4s ease-in-out infinite;
}

.Hero__cue.is-gone { opacity: 0; pointer-events: none; }

@keyframes nudge {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(3px); }
}

.Curated { padding-block: clamp(26px, 5vh, 52px) 6px; }

.Curated__head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 14px;
  padding-block-end: 14px;
  border-block-end: 1px solid rgb(var(--paper-edge) / 0.8);
}

.Curated__title {
  font-size: calc((20 / 16) * 1rem);
  letter-spacing: -0.01em;
}

.Curated__sub {
  margin: 0;
  color: rgb(var(--color-black-light) / 0.85);
  font-size: calc((14 / 16) * 1rem);
}

.Curated__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
  margin-block-start: 18px;
}

.Appeal {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 0;
  border: 1px solid rgb(var(--paper-edge) / 0.8);
  border-radius: var(--radius-card);
  background: rgb(var(--color-white) / 0.94);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  text-align: start;
  transition: transform 340ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 340ms,
    border-color 340ms;
}

.Appeal:hover,
.Appeal:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgb(var(--tone) / 0.35);
}

.Appeal__media {
  position: relative;
  aspect-ratio: 48 / 25;
  overflow: hidden;
}

.Appeal__photo {
  position: absolute;
  inset: 0;
  background-image: url('appeals.jpg');
  background-repeat: no-repeat;
  background-size: 300% 300%;
  filter: sepia(0.12) saturate(0.9) contrast(1.02) brightness(1.02);
  transition: transform 800ms cubic-bezier(0.16, 1, 0.3, 1), filter 600ms ease-out;
}

.Appeal:hover .Appeal__photo {
  filter: sepia(0) saturate(1) contrast(1) brightness(1);
}

.Appeal__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(58 44 24 / 0.1) 0%, rgb(58 44 24 / 0) 34%);
}

.Appeal:hover .Appeal__photo { transform: scale(1.045); }

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

.Appeal__dot {
  inline-size: 7px;
  block-size: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgb(var(--tone));
  box-shadow: 0 0 0 3px rgb(var(--tone) / 0.16);
}

.Appeal__tag {
  color: rgb(var(--tone));
  font-size: calc((10.5 / 16) * 1rem);
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.Appeal__body {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 17px 19px 16px;
  block-size: 100%;
}

.Appeal__title {
  font-family: var(--font-family-h);
  font-size: calc((19 / 16) * 1rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.012em;
  margin-block-start: -2px;
}

.Appeal__desc {
  font-size: calc((13.5 / 16) * 1rem);
  line-height: 1.45;
  color: rgb(var(--color-black-light) / 0.9);
}

.Appeal__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-block-start: auto;
  padding-block-start: 13px;
  border-block-start: 1px solid rgb(var(--paper-edge) / 0.8);
  font-size: calc((13 / 16) * 1rem);
}

.Appeal__from { color: rgb(var(--color-black-light)); }
.Appeal__from strong { color: rgb(var(--color-black-dark)); font-weight: 600; }

.Appeal__go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgb(var(--tone));
  font-weight: 600;
}

.Appeal__go svg {
  inline-size: 24px;
  block-size: 24px;
  padding: 6px;
  border-radius: 50%;
  background: rgb(var(--tone) / 0.12);
  fill: currentColor;
  transition: background 300ms, transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.Appeal:hover .Appeal__go svg {
  background: rgb(var(--tone) / 0.22);
  transform: translateX(3px);
}

.Thread {
  display: grid;
  gap: 26px;
  padding-block-start: 4px;
}

.Msg {
  display: flex;
  gap: 14px;
  animation: msg-in 760ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

@keyframes msg-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.Msg--user { justify-content: flex-end; }

.Msg--user .Msg__body {
  max-inline-size: 34rem;
  padding: 12px 18px;
  border: 1px solid rgb(var(--color-green-light) / 0.22);
  border-radius: 16px 6px 16px 16px;
  background: rgb(var(--color-green-light) / 0.09);
  color: rgb(var(--color-black-dark));
  box-shadow: var(--shadow-sm);
}

.Msg__avatar {
  flex: 0 0 auto;
  inline-size: 34px;
  block-size: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgb(var(--color-green-light) / 0.16);
  background: radial-gradient(
    closest-side,
    rgb(var(--color-green-light) / 0.09) 0%,
    rgb(var(--color-brand-gold) / 0.12) 100%
  );
  margin-block-start: 1px;
}

.Msg__avatar svg { inline-size: 26px; block-size: 26px; overflow: visible; }

.Msg__body { min-inline-size: 0; flex: 1 1 auto; }

.Msg--bot .Msg__body { max-inline-size: 36rem; }

.Msg__name {
  font-size: calc((12 / 16) * 1rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgb(var(--color-black-light) / 0.7);
  margin-block-end: 6px;
}

.Msg__text p { margin: 0 0 0.85em; text-wrap: pretty; }
.Msg__text p:last-child { margin-block-end: 0; }
.Msg__text strong { font-weight: 600; color: rgb(var(--color-green-dark)); }

.Msg__text ul {
  margin: 0 0 0.85em;
  padding-inline-start: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}

.Msg__text li {
  position: relative;
  padding-inline-start: 22px;
}

.Msg__text li::before {
  content: '';
  position: absolute;
  inset-inline-start: 4px;
  inset-block-start: 0.62em;
  inline-size: 6px; block-size: 6px;
  border-radius: 50%;
  background: rgb(var(--color-brand-gold));
}

.Word {
  display: inline-block;
  opacity: 0;
  animation: word-in 320ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

@keyframes word-in {
  from { opacity: 0; transform: translateY(0.2em); }
  to   { opacity: 1; transform: translateY(0); }
}

.Typing {
  display: inline-flex;
  gap: 5px;
  padding-block: 8px;
}

.Typing span {
  inline-size: 7px; block-size: 7px;
  border-radius: 50%;
  background: rgb(var(--color-green-light) / 0.55);
  animation: typing 1.15s ease-in-out infinite;
}

.Typing span:nth-child(2) { animation-delay: 0.16s; }
.Typing span:nth-child(3) { animation-delay: 0.32s; }

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.45; }
  30%           { transform: translateY(-5px); opacity: 1; }
}

.Blocks {
  display: grid;
  gap: 0;
  margin-block-start: 6px;
}

.Block {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 760ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.Block.is-in { grid-template-rows: 1fr; }

.Block.is-done { display: block; }

.Block__inner {
  overflow: hidden;
  padding-block-start: 12px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 620ms 160ms ease-out,
    transform 680ms 160ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.Block.is-in .Block__inner { opacity: 1; transform: translateY(0); }

.Block.is-done .Block__inner { overflow: visible; }

@keyframes block-in {
  from { opacity: 0; transform: translateY(14px); }
  60%  { opacity: 0.85; }
  to   { opacity: 1; transform: translateY(0); }
}

.Cause {
  display: grid;
  gap: 14px;
  padding: 20px 22px 22px;
  border: 1px solid rgb(var(--paper-edge) / 0.75);
  border-radius: var(--radius-card);
  background: rgb(var(--color-white) / 0.86);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 300ms, border-color 300ms;
}

.Cause:hover { box-shadow: var(--shadow-md); }

.Cause__top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.Cause__icon {
  inline-size: 28px;
  block-size: 28px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgb(var(--tone) / 0.12);
  color: rgb(var(--tone));
}

.Cause__icon svg { inline-size: 16px; block-size: 16px; }

.Cause__tag {
  font-size: calc((11 / 16) * 1rem);
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgb(var(--tone));
}

.Cause__title {
  font-family: var(--font-family-h);
  font-size: calc((21 / 16) * 1rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin-block-start: -4px;
}

.Cause__desc {
  margin: 0;
  color: rgb(var(--color-black-light));
  font-size: calc((15 / 16) * 1rem);
  max-inline-size: 62ch;
}

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

.Progress__track {
  block-size: 6px;
  border-radius: 999px;
  background: rgb(var(--color-black) / 0.06);
  overflow: hidden;
}

.Progress__fill {
  block-size: 100%;
  border-radius: 999px;
  background: linear-gradient(to right, rgb(var(--tone)), rgb(var(--color-brand-gold)));
  inline-size: 0;
  transition: inline-size 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.Progress__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: calc((12.5 / 16) * 1rem);
  color: rgb(var(--color-black-light) / 0.9);
}

.Progress__meta strong { color: rgb(var(--color-black-dark)); font-weight: 600; }

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

.Amount {
  display: grid;
  gap: 1px;
  padding: 9px 14px;
  border: 1px solid rgb(var(--paper-edge));
  border-radius: var(--radius-brand);
  background: rgb(var(--color-white) / 0.8);
  text-align: start;
  transition: border-color 220ms, background 220ms, transform 220ms, box-shadow 220ms;
}

.Amount:hover {
  border-color: rgb(var(--tone));
  background: rgb(var(--color-white));
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.Amount[aria-pressed='true'] {
  border-color: rgb(var(--tone));
  background: rgb(var(--tone) / 0.1);
}

.Amount__value {
  font-family: var(--font-family-h);
  font-size: calc((16 / 16) * 1rem);
  font-weight: 600;
}

.Amount__note {
  font-size: calc((12 / 16) * 1rem);
  color: rgb(var(--color-black-light) / 0.85);
}

.Button {
  --button-background-1: rgb(var(--color-brand-gold));
  --button-background-2: color-mix(in srgb, rgb(var(--color-white)) 20%, rgb(var(--color-brand-gold)));
  --button-border: transparent;
  --button-color: rgb(var(--color-black-dark));
  align-items: center;
  background: linear-gradient(
    to right,
    var(--button-background-2) 0%,
    var(--button-background-2) 50%,
    var(--button-background-1) 50%,
    var(--button-background-1) 100%
  );
  background-position: calc(100% + 5px) 50%;
  background-size: calc(200% + 20px) 100%;
  border: 2px solid var(--button-border);
  border-radius: var(--radius-brand);
  color: var(--button-color);
  display: inline-flex;
  font-size: calc((16 / 16) * 1rem);
  font-weight: 500;
  gap: 10px;
  justify-content: center;
  min-block-size: 46px;
  max-inline-size: fit-content;
  padding: 0 20px;
  text-decoration: none;
  transition: background 300ms ease-in-out, border 300ms, color 300ms;
}

.Button:hover { background-position: -5px 50%; }

.Button svg { inline-size: 16px; block-size: 16px; fill: currentColor; flex: 0 0 auto; }

.Button--secondary {
  --button-background-1: rgb(var(--color-green-light));
  --button-background-2: color-mix(in srgb, rgb(var(--color-black)) 20%, rgb(var(--color-green-light)));
  --button-color: rgb(var(--color-white));
}

.Button--ghost {
  --button-background-1: rgb(var(--color-white));
  --button-background-2: rgb(var(--color-off-white));
  --button-border: rgb(var(--color-black) / 0.12);
}

.Cause__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-block-start: 2px;
}

.Private {
  position: relative;
  padding: 22px;
  border-radius: var(--radius-card);
  background:
    radial-gradient(120% 120% at 100% 0%, rgb(var(--color-blue)) 0%, rgb(var(--color-blue-dark)) 55%, rgb(3 52 88) 100%);
  color: rgb(var(--color-white));
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.Private::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgb(255 255 255 / 0.5) 0.6px, transparent 0.7px);
  background-size: 7px 7px;
  opacity: 0.09;
  pointer-events: none;
}

.Private__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: calc((11 / 16) * 1rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(var(--color-brand-gold));
}

.Private__tag::before {
  content: '';
  inline-size: 18px;
  block-size: 1px;
  background: rgb(var(--color-brand-gold));
}

.Private__title {
  font-family: var(--font-family-h);
  font-size: calc((24 / 16) * 1rem);
  margin-block: 10px 8px;
  text-wrap: balance;
}

.Private__desc {
  margin: 0;
  color: rgb(255 255 255 / 0.82);
  font-size: calc((15 / 16) * 1rem);
  max-inline-size: 52ch;
}

.Private__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-block: 18px;
}

.Private__item {
  position: relative;
  padding: 14px;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 12px 4px 12px 4px;
  background: rgb(255 255 255 / 0.08);
}

.Private__figure {
  font-family: var(--font-family-h);
  font-size: calc((22 / 16) * 1rem);
  color: rgb(var(--color-brand-gold));
  line-height: 1.1;
}

.Private__label {
  margin-block-start: 5px;
  font-size: calc((13 / 16) * 1rem);
  color: rgb(255 255 255 / 0.78);
}

.Private__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.Private .Button--ghost {
  --button-background-1: transparent;
  --button-background-2: rgb(255 255 255 / 0.12);
  --button-border: rgb(255 255 255 / 0.35);
  --button-color: rgb(var(--color-white));
}

.Calc {
  display: grid;
  gap: 14px;
  padding: 20px 22px;
  border: 1px solid rgb(var(--paper-edge) / 0.75);
  border-radius: var(--radius-card);
  background: rgb(var(--color-white) / 0.86);
  box-shadow: var(--shadow-sm);
}

.Calc__head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.Calc__head h3 {
  font-family: var(--font-family-h);
  font-size: calc((18 / 16) * 1rem);
}

.Calc__head svg { inline-size: 20px; block-size: 20px; color: rgb(var(--color-green-light)); flex: 0 0 auto; }

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

.Calc__row {
  display: grid;
  grid-template-columns: 1fr 132px;
  align-items: center;
  gap: 12px;
}

.Calc__row label {
  font-size: calc((14 / 16) * 1rem);
  color: rgb(var(--color-black-light));
}

.Calc__field {
  position: relative;
  display: flex;
  align-items: center;
}

.Calc__field::before {
  content: '£';
  position: absolute;
  inset-inline-start: 12px;
  color: rgb(var(--color-black-light) / 0.7);
  font-size: calc((14 / 16) * 1rem);
  pointer-events: none;
}

.Calc__field input {
  inline-size: 100%;
  padding: 9px 12px 9px 26px;
  border: 1px solid rgb(var(--paper-edge));
  border-radius: 8px 3px 8px 3px;
  background: rgb(var(--color-white));
  font-variant-numeric: tabular-nums;
  transition: border-color 200ms, box-shadow 200ms;
}

.Calc__field input:focus {
  border-color: rgb(var(--color-green-light));
  outline: none;
  box-shadow: 0 0 0 3px rgb(var(--color-green-light) / 0.14);
}

.Calc__out {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px 4px 12px 4px;
  background: rgb(var(--color-green-light) / 0.09);
  border: 1px solid rgb(var(--color-green-light) / 0.22);
}

.Calc__outLabel {
  font-size: calc((13 / 16) * 1rem);
  color: rgb(var(--color-green-dark));
  font-weight: 500;
}

.Calc__outValue {
  font-family: var(--font-family-h);
  font-size: calc((30 / 16) * 1rem);
  color: rgb(var(--color-green-dark));
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.Calc__nisab {
  font-size: calc((13 / 16) * 1rem);
  color: rgb(var(--color-black-light) / 0.85);
  margin: 0;
}

.Calc__nisab strong { color: rgb(var(--color-black-dark)); font-weight: 600; }

.Impact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}

.Impact__item {
  padding: 14px;
  border: 1px solid rgb(var(--paper-edge) / 0.8);
  border-radius: 12px 4px 12px 4px;
  background: rgb(var(--color-white) / 0.72);
}

.Impact__value {
  font-family: var(--font-family-h);
  font-size: calc((20 / 16) * 1rem);
  color: rgb(var(--color-green-dark));
}

.Impact__label {
  margin-block-start: 4px;
  font-size: calc((13 / 16) * 1rem);
  color: rgb(var(--color-black-light));
}

.Note {
  display: flex;
  gap: 10px;
  padding: 13px 15px;
  border: 1px solid rgb(var(--color-brand-gold) / 0.4);
  border-radius: var(--radius-card);
  background: rgb(var(--color-brand-gold) / 0.11);
  font-size: calc((14 / 16) * 1rem);
  color: rgb(var(--color-black-dark) / 0.9);
}

.Note svg {
  inline-size: 17px; block-size: 17px;
  flex: 0 0 auto;
  margin-block-start: 2px;
  color: rgb(var(--color-orange));
}

.Follows {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block-start: 16px;
  animation: block-in 820ms 100ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.Follow {
  padding: 8px 14px;
  border: 1px dashed rgb(var(--color-green-light) / 0.4);
  border-radius: 999px;
  background: rgb(var(--color-white) / 0.6);
  color: rgb(var(--color-green-dark));
  font-size: calc((14 / 16) * 1rem);
  transition: background 220ms, border-color 220ms, transform 220ms;
}

.Follow:hover {
  background: rgb(var(--color-green-light) / 0.1);
  border-style: solid;
  transform: translateY(-1px);
}

.Composer {
  position: relative;
  padding: 0 clamp(16px, 4vw, 32px) clamp(14px, 2.4vh, 22px);
}

.Composer[hidden] { display: none; }

.Composer__inner {
  inline-size: min(100%, var(--shell));
  margin-inline: auto;
}

.Composer__box {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 9px 10px 9px 12px;
  border: 1px solid rgb(var(--paper-edge));
  border-radius: 20px 8px 20px 8px;
  background: rgb(var(--color-white) / 0.94);
  box-shadow: var(--shadow-md);
  transition: border-color 240ms, box-shadow 240ms;
}

.Composer__box:focus-within {
  border-color: rgb(var(--color-green-light) / 0.55);
  box-shadow: var(--shadow-md), 0 0 0 4px rgb(var(--color-green-light) / 0.1);
}

.Composer__orb {
  position: relative;
  flex: 0 0 auto;
  inline-size: 40px;
  block-size: 40px;
  margin-block-end: 2px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    rgb(var(--color-green-light) / 0.1) 0%,
    rgb(var(--color-brand-gold) / 0.11) 70%,
    rgb(var(--color-brand-gold) / 0) 100%
  );
}

.Composer__orb-mark {
  position: relative;
  z-index: 1;
  inline-size: 33px;
  block-size: 33px;
  overflow: visible;
}

.orb-rim,
.orb-sq,
.orb-core {
  transform-box: view-box;
  transform-origin: 20px 20px;
}

.orb-rim {
  animation: turn 44s linear infinite;
  animation-delay: var(--rim-phase, 0ms);
}

.orb-sq--a {
  animation: orb-weave-a 9s cubic-bezier(0.45, 0, 0.35, 1) infinite;
  animation-delay: var(--sqa-phase, 0ms);
}

.orb-sq--b {
  animation: orb-weave-b 9s cubic-bezier(0.45, 0, 0.35, 1) infinite;
  animation-delay: var(--sqb-phase, 0ms);
}

@keyframes orb-weave-a {
  0%, 20%   { rotate: 0deg; }
  50%       { rotate: 22.5deg; }
  80%, 100% { rotate: 0deg; }
}

@keyframes orb-weave-b {
  0%, 20%   { rotate: 0deg; }
  50%       { rotate: -22.5deg; }
  80%, 100% { rotate: 0deg; }
}

.orb-core {
  animation: orb-core 9s cubic-bezier(0.45, 0, 0.35, 1) infinite;
  animation-delay: var(--core-phase, 0ms);
}

@keyframes orb-core {
  0%, 100% { opacity: 1;    scale: 1.18; }
  50%      { opacity: 0.62; scale: 0.78; }
}

.Composer__orb-halo {
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    rgb(var(--color-green-light) / var(--halo-a, 0.2)),
    rgb(var(--color-green-light) / 0) 74%
  );
  animation: halo 5.2s ease-in-out infinite;
  animation-delay: var(--halo-phase, 0ms);
  pointer-events: none;
}

@keyframes halo {
  0%, 100% { opacity: 0.6; scale: 0.92; }
  50%      { opacity: 1;   scale: 1.08; }
}

.Composer__orb-ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgb(var(--color-brand-gold) / 0.5);
  animation: orb-ping 5.6s cubic-bezier(0.22, 0.61, 0.36, 1) infinite;
  animation-delay: var(--ping-phase, 0ms);
  pointer-events: none;
}

@keyframes orb-ping {
  0%        { opacity: 0.5; scale: 1; }
  65%, 100% { opacity: 0; scale: 1.6; }
}

.Composer__box:focus-within .Composer__orb { --halo-a: 0.4; }

.Composer__input {
  flex: 1 1 auto;
  border: 0;
  background: none;
  resize: none;
  max-block-size: 168px;
  min-block-size: 26px;
  padding-block: 11px;
  line-height: 1.45;
  outline: none;
  font-size: calc((16 / 16) * 1rem);
}

.Composer__input::placeholder { color: rgb(var(--color-black-light) / 0.5); }

.Composer__send {
  flex: 0 0 auto;
  inline-size: 44px;
  block-size: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 14px 5px 14px 5px;
  background: linear-gradient(150deg, rgb(var(--color-green-light)), rgb(var(--color-green-dark)));
  color: rgb(var(--color-white));
  transition: filter 240ms, transform 240ms, opacity 240ms;
}

.Composer__send:hover:not(:disabled) { filter: brightness(1.12); transform: translateY(-1px); }

.Composer__send:disabled { opacity: 0.32; cursor: not-allowed; }

.Composer__send svg { inline-size: 19px; block-size: 19px; fill: currentColor; }

.Composer__foot {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  margin-block-start: 10px;
  font-size: calc((12 / 16) * 1rem);
  color: rgb(var(--color-black-light) / 0.72);
  text-align: center;
}

.Composer__foot svg {
  inline-size: 13px; block-size: 13px;
  fill: currentColor;
  flex: 0 0 auto;
  margin-block-start: 3px;
}

.Composer__foot span { text-wrap: balance; }

@media (max-width: 720px) {
  :root { --header-h: 60px; }
  .Header { gap: 10px; padding-inline: 14px; }
  .Calc__row { grid-template-columns: 1fr 108px; }
  .Cause { padding: 18px; }
}

@media (max-width: 560px) {
  .Logo__text { display: none; }
  .Back span { display: none; }
  .Back { padding: 7px 9px; }
}

@media (max-width: 480px) {
  .Hints { grid-template-columns: 1fr 1fr; }
  .Hint__sub { display: none; }
  .Hero__lede { font-size: 1rem; }
  .Curated__grid { grid-template-columns: 1fr; }
}

@media (max-height: 820px) {
  .Hero__title {
    font-size: clamp(1.85rem, 1.35rem + 2.2vw, 2.65rem);
    margin-block-start: 13px;
  }

  .Hero__lede {
    margin-block-start: 12px;
    font-size: 1rem;
  }

  .Hero__composer { margin-block-start: 16px; }

  .Hints { margin-block-start: 12px; }

  .Hint { padding: 12px 14px 13px; }

  .Hero__cue { margin-block-start: 10px; }

  .Curated { padding-block-start: 28px; }

  .Main__inner { padding-block-start: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
