@font-face {
  font-family: Satoshi;
  src: url("/a/fonts/satoshi-medium.57c70b6ea6.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: Satoshi;
  src: url("/a/fonts/satoshi-bold.49a5462741.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --paper: #f7f9f8;
  --surface: #ffffff;
  --surface-2: #eef3f0;
  --mint: #e4f6f1;
  --green-soft: #e4f6f1;
  --ink: #161b18;
  --soft: #4b524e;
  --muted: #5f6561;
  --line: #e2e8e4;
  --chip-line: #d3dcd7;
  --cocoa: #6b3e26;
  --cream: #fff7e6;
  --brand: #18b394;
  --brand-ink: #0f7d67;
  --deep: #0e3a31;
  --on-deep: #eef7f3;
  --deep-muted: #b3ddd2;
  --deep-accent: #7fe0c8;
  --good: #1e8e4e;
  --good-soft: #e4f3e9;
  --grade-a: #038141;
  --grade-b: #85bb2f;
  --grade-c: #fecb02;
  --grade-d: #ee8100;
  --grade-e: #e63e11;
  --shadow: 0 1px 2px rgb(22 27 24 / 0.05), 0 18px 40px -18px rgb(22 27 24 / 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(20px, 4vw, 40px);
  --edge: max(var(--gutter), calc((100vw - 1280px) / 2));
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #121715;
    --surface: #1b211f;
    --surface-2: #232a27;
    --mint: #14322c;
    --green-soft: #14322c;
    --ink: #eaf0ed;
    --soft: #b4c0bb;
    --muted: #9ba8a3;
    --line: #2a312e;
    --chip-line: #3a433f;
    --cocoa: #d9be9a;
    --cream: #33280f;
    --brand: #2fcaa8;
    --brand-ink: #4fd6c0;
    --deep: #0c2a24;
    --good: #5fd98d;
    --good-soft: #173323;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 18px 40px -18px rgb(0 0 0 / 0.6);
  }
}

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

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

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--paper);
  color: var(--ink);
  font: 500 17px/1.55 Satoshi, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

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

img, svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

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

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

.wrap {
  width: min(100% - 2 * var(--gutter), 1280px);
  margin-inline: auto;
}

h1, h2 {
  color: var(--ink);
  font-weight: 700;
  text-wrap: balance;
}

h2 {
  max-width: 11em;
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

h3 {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p {
  text-wrap: pretty;
}

.body {
  max-width: 30em;
  margin-top: 24px;
  color: var(--soft);
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.6;
}

.note {
  max-width: 32em;
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.badges a {
  display: flex;
}

.badges img {
  width: auto;
  height: 54px;
}

.soon {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.text-link {
  display: inline-block;
  padding-block: 8px;
  color: var(--brand-ink);
  font-weight: 700;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
}

.btn {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--brand-ink);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.top {
  position: relative;
  z-index: 5;
}

.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px var(--edge);
}

.brand {
  display: block;
  padding-block: 7px;
}

.brand img {
  width: 152px;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.top-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s;
}

.top-nav a:hover {
  background: var(--surface-2);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  width: min(100% - 2 * var(--gutter), 1280px);
  margin-inline: auto;
  padding-block: clamp(16px, 3vw, 40px) clamp(56px, 7vw, 96px);
}

h1 {
  max-width: 8em;
  font-size: clamp(46px, 5.8vw, 84px);
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.lede {
  max-width: 30em;
  margin-top: 26px;
  color: var(--soft);
  font-size: clamp(17px, 1.45vw, 20px);
}

.stage {
  --w: clamp(270px, 24vw, 330px);
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: clamp(16px, 2vw, 28px);
  padding-block: clamp(28px, 3.5vw, 48px);
}

.stage-photo {
  position: absolute;
  inset: 0 0 0 calc(var(--w) * 0.42);
  width: calc(100% - var(--w) * 0.42);
  height: 100%;
  border-radius: 32px;
  object-fit: cover;
  object-position: 40% 50%;
}

.profile-card {
  position: relative;
  z-index: 2;
  flex: 0 1 clamp(220px, 19vw, 272px);
  margin-bottom: clamp(20px, 3vw, 44px);
  padding: 22px 20px 20px;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.stage-snacky {
  position: absolute;
  top: -66px;
  right: 14px;
  width: 88px;
  padding: 6px;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.profile-title {
  padding-right: 72px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 14px;
  border: 1.5px solid var(--chip-line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.chip svg,
.ui-chip svg {
  width: 0;
  height: 1.05em;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: width 0.2s var(--ease);
}

.chip:hover {
  border-color: var(--brand);
}

.chip[aria-pressed="true"] {
  border-color: var(--brand);
  background: var(--mint);
  color: var(--brand-ink);
}

.chip[aria-pressed="true"] svg,
.ui-chip[aria-pressed="true"] svg {
  width: 1.05em;
}

.stage-hint {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.phone {
  position: relative;
  z-index: 1;
  flex: none;
  width: var(--w);
  aspect-ratio: 417 / 876;
  padding: 0.75em;
  border-radius: 3.6em;
  background: #0d1110;
  box-shadow: inset 0 0 0 0.14em #2f3734, 0 2.4em 4em -1.6em rgb(10 30 22 / 0.45);
  font-size: calc(var(--w) / 26.0625);
}

.ui {
  --a-bg: #f7f9f8;
  --a-surface: #ffffff;
  --a-surface-2: #eef3f0;
  --a-ink: #161b18;
  --a-muted: #5f6561;
  --a-line: #e2e8e4;
  --a-brand: #18b394;
  --a-brand-deep: #139c80;
  --a-brand-soft: #e4f6f1;
  --a-good: #1e8e4e;
  --a-good-soft: #e4f3e9;
  --a-warn: #b8791a;
  --a-warn-soft: #fbf1dc;
  --a-bad: #c0392b;
  --a-bad-soft: #fbe6e3;
  --a-shadow: 0 0.1em 0.25em rgb(22 27 24 / 0.05), 0 0.5em 1.2em -0.6em rgb(22 27 24 / 0.16);
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 2.85em;
  background: var(--a-bg);
  color: var(--a-ink);
  color-scheme: light;
  font-size: 1em;
  line-height: 1.3;
  isolation: isolate;
}

.ui::after {
  content: "";
  position: absolute;
  bottom: 0.5em;
  left: 50%;
  z-index: 4;
  width: 8.5em;
  height: 0.32em;
  border-radius: 1em;
  background: currentColor;
  translate: -50% 0;
}

.ui svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ui p {
  text-wrap: pretty;
}

:where(.ui button) {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  text-align: inherit;
  cursor: pointer;
}

.ui :focus-visible {
  outline: 0.18em solid var(--a-brand);
  outline-offset: 0.12em;
  border-radius: 0.8em;
}

.ui .screen:focus-visible {
  outline: 0;
}

.ui-status {
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.4em;
  padding: 0 2.1em 0 2.4em;
  font-size: 1em;
  font-weight: 700;
  transition: color 0.3s;
}

.ui-island {
  position: absolute;
  top: 0.7em;
  left: 50%;
  width: 7.6em;
  height: 2.2em;
  border-radius: 2em;
  background: #000000;
  translate: -50% 0;
}

.ui-battery {
  width: 1.6em;
  height: 0.8em;
  border: 0.1em solid currentColor;
  border-radius: 0.25em;
  box-shadow: inset 0 0 0 0.12em var(--a-bg), inset 1.1em 0 0 currentColor;
  opacity: 0.9;
}

.screen {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  padding: 3.6em 1.1em 7em;
  scrollbar-width: none;
  transition: opacity 0.32s var(--ease), translate 0.32s var(--ease), visibility 0s;
}

.screen::-webkit-scrollbar {
  display: none;
}

.screen[inert] {
  opacity: 0;
  visibility: hidden;
  translate: 0 0.8em;
  transition: opacity 0.2s, translate 0.2s, visibility 0s 0.2s;
}

.ui-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.2em;
}

.ui-logo {
  width: 8.4em;
}

.ui-icons {
  display: flex;
  gap: 1.05em;
  padding-right: 0.2em;
}

.ui-icons svg {
  width: 1.45em;
  height: 1.45em;
  stroke-width: 2;
}

.ui-hello {
  display: flex;
  align-items: center;
  gap: 0.4em;
  margin-top: 0.4em;
  font-size: 1.55em;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ui-hello img {
  width: 1.5em;
}

.ui-scan-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8em;
  width: 100%;
  margin-top: 0.8em;
  padding: 1em;
  border-radius: 1.3em;
  background: linear-gradient(135deg, #22c6a3, #129a7e);
  box-shadow: 0 0.8em 1.6em -0.9em rgb(18 154 126 / 0.9);
  color: #ffffff;
}

.ui-scan-icon {
  display: grid;
  place-items: center;
  width: 3em;
  height: 3em;
  border-radius: 0.95em;
  background: rgb(255 255 255 / 0.2);
}

.ui-scan-icon svg {
  width: 1.6em;
  stroke-width: 2;
}

.ui-scan-card b {
  display: block;
  font-size: 1.15em;
}

.ui-scan-card small {
  display: block;
  margin-top: 0.15em;
  font-size: 0.8em;
  opacity: 0.92;
}

.ui-chev svg {
  width: 1.3em;
  stroke-width: 2.2;
}

.ui-tiles {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.3em;
  margin-top: 1em;
}

.ui-tiles li {
  display: grid;
  justify-items: center;
  gap: 0.45em;
  font-size: 0.68em;
  font-weight: 700;
  text-align: center;
}

.ui-tiles span {
  display: grid;
  place-items: center;
  width: 4.6em;
  height: 4.6em;
  border-radius: 1.3em;
  background: var(--a-surface-2);
  color: #3d4440;
}

.ui-tiles .is-lab span {
  background: var(--a-brand-soft);
  color: var(--a-brand-deep);
}

.ui-tiles svg {
  width: 2.3em;
}

.ui-fact {
  display: grid;
  grid-template-columns: 5.4em minmax(0, 1fr);
  align-items: center;
  gap: 0.85em;
  width: 100%;
  margin-top: 1em;
  padding: 0.75em;
  border-radius: 1.3em;
  background: #e8fbf8;
}

.ui-fact img {
  width: 5.4em;
  height: 5.4em;
  padding: 0.3em;
  border-radius: 1em;
  background: #ffffff;
  object-fit: contain;
}

.ui-fact small {
  display: flex;
  align-items: center;
  gap: 0.3em;
  color: var(--a-brand-deep);
  font-size: 0.75em;
  font-weight: 700;
}

.ui-fact small svg {
  width: 1.2em;
  fill: currentColor;
  stroke: none;
}

.ui-fact b {
  display: block;
  margin-top: 0.15em;
  font-size: 1.1em;
  line-height: 1.2;
}

.ui-fact span span {
  display: block;
  margin-top: 0.2em;
  color: var(--a-muted);
  font-size: 0.76em;
}

.ui-family {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.7em;
  margin-top: 0.8em;
  padding: 0.8em 0.9em;
  border-radius: 1.3em;
  background: #fdeaf1;
  color: #8f2f55;
}

.ui-family > span:first-child {
  display: grid;
  place-items: center;
  width: 2.5em;
  height: 2.5em;
  border-radius: 50%;
  background: #ffffff;
}

.ui-family svg {
  width: 1.35em;
}

.ui-family b {
  display: block;
  font-size: 0.86em;
}

.ui-family small {
  display: block;
  margin-top: 0.1em;
  color: #9d5672;
  font-size: 0.72em;
}

.ui-section {
  margin: 1.2em 0 0.55em;
  font-size: 1.02em;
  font-weight: 700;
}

.ui-row {
  display: grid;
  grid-template-columns: 3.2em minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75em;
  width: 100%;
  padding: 0.6em 0.75em;
  border-radius: 1.1em;
  background: var(--a-surface);
  box-shadow: var(--a-shadow);
}

.ui-row img {
  width: 3.2em;
  height: 3.2em;
  object-fit: contain;
}

.ui-row b,
.ui-row small {
  display: block;
}

.ui-row b {
  font-size: 0.88em;
}

.ui-row small {
  margin-top: 0.1em;
  color: var(--a-muted);
  font-size: 0.74em;
}

.ui-mini {
  display: grid;
  place-items: center;
  width: 2.4em;
  height: 2.4em;
  border: 0.17em solid var(--a-warn);
  border-radius: 50%;
  font-size: 0.85em;
}

.screen-scan {
  background: #0b0f0e;
  color: #ffffff;
}

.ui[data-screen="scan"] .ui-status {
  color: #ffffff;
}

.ui[data-screen="scan"] .ui-battery {
  box-shadow: inset 0 0 0 0.12em #0b0f0e, inset 1.1em 0 0 currentColor;
}

.ui[data-screen="scan"]::after {
  color: #ffffff;
}

.ui-scan-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 2.6em minmax(0, 1fr) 2.6em;
  align-items: center;
  gap: 0.6em;
  min-height: 3.2em;
  text-align: center;
}

.ui-glass {
  display: grid;
  place-items: center;
  width: 2.6em;
  height: 2.6em;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.14);
  color: #ffffff;
}

.ui-glass svg {
  width: 1.3em;
}

.ui-camera {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: radial-gradient(circle at 50% 46%, #d9dcdb 0 34%, #9aa19f 62%, #2b302f);
  cursor: pointer;
}

.ui-camera img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26em;
  rotate: -7deg;
  translate: -50% -50%;
  mask-image: radial-gradient(closest-side, #000000 62%, transparent);
}

.ui-sticker {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 0.15em;
  width: 9.6em;
  padding: 0.55em 0.7em 0.35em;
  border-radius: 0.35em;
  background: #ffffff;
  box-shadow: 0 0.2em 0.6em rgb(0 0 0 / 0.18);
  color: #111111;
  rotate: -7deg;
  translate: -48% -30%;
}

.ui-sticker .barcode {
  width: 100%;
  height: 3em;
  fill: #111111;
  stroke: none;
}

.ui-sticker span {
  font-size: 0.62em;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.ui-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16em;
  height: 9.4em;
  border-radius: 1em;
  box-shadow: 0 0 0 40em rgb(6 10 9 / 0.5);
  translate: -50% -50%;
}

.ui-frame i {
  position: absolute;
  width: 2.3em;
  height: 2.3em;
  border: 0.3em solid #ffffff;
}

.ui-frame i:nth-child(1) {
  top: 0;
  left: 0;
  border-width: 0.3em 0 0 0.3em;
  border-radius: 0.8em 0 0;
}

.ui-frame i:nth-child(2) {
  top: 0;
  right: 0;
  border-width: 0.3em 0.3em 0 0;
  border-radius: 0 0.8em 0 0;
}

.ui-frame i:nth-child(3) {
  bottom: 0;
  left: 0;
  border-width: 0 0 0.3em 0.3em;
  border-radius: 0 0 0 0.8em;
}

.ui-frame i:nth-child(4) {
  right: 0;
  bottom: 0;
  border-width: 0 0.3em 0.3em 0;
  border-radius: 0 0 0.8em;
}

.ui-beam {
  position: absolute;
  inset: 12% 0.9em auto;
  height: 0.16em;
  border-radius: 1em;
  background: #2fcaa8;
  box-shadow: 0 0 0.9em 0.2em rgb(47 202 168 / 0.75);
  animation: beam 1.8s ease-in-out infinite alternate;
}

@keyframes beam {
  to {
    top: 86%;
  }
}

.ui-align {
  position: absolute;
  bottom: 4.2em;
  left: 50%;
  z-index: 1;
  width: max-content;
  max-width: 90%;
  padding: 0.55em 1em;
  border-radius: 2em;
  background: rgb(0 0 0 / 0.42);
  translate: -50% 0;
  backdrop-filter: blur(0.6em);
  -webkit-backdrop-filter: blur(0.6em);
  font-size: 0.85em;
  font-weight: 700;
}

.ui-bar {
  display: grid;
  grid-template-columns: 2.6em minmax(0, 1fr) 2.6em;
  align-items: center;
  min-height: 3.2em;
}

.ui-bar img {
  justify-self: center;
  width: 7.4em;
}

.ui-round {
  display: grid;
  place-items: center;
  width: 2.6em;
  height: 2.6em;
  border-radius: 50%;
  background: var(--a-surface);
  box-shadow: var(--a-shadow);
}

.ui-round svg {
  width: 1.3em;
  stroke-width: 2.1;
}

.ui-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 7.4em;
  gap: 0.9em;
  margin-top: 0.7em;
}

.ui-name {
  font-size: 1.3em;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.ui-meta {
  margin-top: 0.35em;
  color: var(--a-muted);
  font-size: 0.82em;
  line-height: 1.4;
}

.ui-actions {
  display: flex;
  gap: 0.45em;
  margin-top: 0.75em;
}

.ui-actions svg {
  width: 2.3em;
  height: 2.3em;
  padding: 0.55em;
  border: 0.08em solid var(--a-line);
  border-radius: 50%;
  background: var(--a-surface);
}

.ui-top img {
  width: 7.4em;
  height: 7.4em;
  padding: 0.4em;
  border: 0.08em solid var(--a-line);
  border-radius: 1.1em;
  background: #ffffff;
  object-fit: contain;
}

.ui-score {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto 7.4em;
  align-items: center;
  gap: 0.75em;
  margin-top: 1em;
  padding-block: 0.95em;
  border-block: 0.08em solid var(--a-line);
}

.ui-ring {
  display: grid;
  place-content: center;
  width: 4.3em;
  height: 4.3em;
  border: 0.28em solid var(--a-warn);
  border-radius: 50%;
  text-align: center;
}

.ui-ring b {
  font-size: 1.35em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.ui-ring small {
  color: var(--a-muted);
  font-size: 0.6em;
  font-weight: 700;
}

.ui-cap {
  color: var(--a-muted);
  font-size: 0.6em;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ui-band {
  margin-top: 0.1em;
  font-size: 1.1em;
  font-weight: 700;
}

.ui-link {
  display: inline-flex;
  align-items: center;
  gap: 0.1em;
  margin-top: 0.2em;
  color: var(--a-brand-deep);
  font-size: 0.74em;
  font-weight: 700;
  text-decoration: none;
}

.ui-link svg {
  width: 1.1em;
  stroke-width: 2.4;
}

.ui-divider {
  width: 0.08em;
  align-self: stretch;
  background: var(--a-line);
}

.ui-fit {
  display: grid;
  justify-items: start;
  gap: 0.4em;
}

.ui-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
  padding: 0.35em 0.6em;
  border-radius: 2em;
  font-size: 0.66em;
  font-weight: 700;
  line-height: 1.15;
}

.ui-pill svg {
  display: none;
  flex: none;
  width: 1.15em;
  stroke-width: 3;
}

.ui-pill[data-state="ok"] {
  background: var(--a-good-soft);
  color: var(--a-good);
}

.ui-pill[data-state="ok"] svg {
  display: block;
}

.ui-pill[data-state="warn"] {
  background: var(--a-warn-soft);
  color: #8f5c0c;
}

.ui-pill[data-state="bad"] {
  background: var(--a-bad-soft);
  color: var(--a-bad);
}

.ui-reason {
  font-size: 0.68em;
  font-weight: 700;
  line-height: 1.3;
}

.ui-reason[data-state="warn"] {
  color: var(--a-warn);
}

.ui-reason[data-state="bad"] {
  color: var(--a-bad);
}

.ui-allergens {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35em 0.75em;
  margin-top: 0.9em;
  font-size: 0.76em;
  font-weight: 700;
}

.ui-allergens span {
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
}

.ui-allergens > span:first-child {
  color: var(--a-ink);
}

.ui-allergens svg {
  width: 1.5em;
  height: 1.5em;
}

.ui-values-title {
  margin-top: 1.2em;
}

.ui-values {
  margin-top: 0.3em;
}

.ui-values div {
  display: grid;
  grid-template-columns: 1.3em minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75em;
  padding-block: 0.78em;
  border-bottom: 0.08em solid var(--a-line);
}

.ui-values div:last-child {
  border-bottom: 0;
}

.ui-values svg {
  width: 1.3em;
  height: 1.3em;
  stroke-width: 2.2;
}

.ui-values dt,
.ui-values dd {
  color: var(--a-ink);
  font-size: 0.9em;
  font-weight: 700;
}

.ui-values dd {
  font-variant-numeric: tabular-nums;
}

.ui-title {
  font-size: 1.55em;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ui-snacky {
  width: 6.4em;
  margin: 0.5em auto 0;
  padding: 0.4em;
  border-radius: 50%;
  background: var(--a-brand-soft);
}

.ui-guest {
  margin-top: 0.7em;
  text-align: center;
}

.ui-guest b {
  font-size: 1.08em;
}

.ui-guest p {
  margin-top: 0.3em;
  color: var(--a-muted);
  font-size: 0.8em;
}

.ui-auth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5em;
}

.ui-guest .ui-auth {
  margin-top: 0.9em;
  font-size: 1em;
}

.ui-auth span {
  padding: 0.75em;
  border: 0.1em solid var(--a-brand);
  border-radius: 2em;
  color: var(--a-brand-deep);
  font-size: 0.85em;
  font-weight: 700;
}

.ui-auth span:first-child {
  background: var(--a-brand);
  color: #ffffff;
}

.ui-menu {
  margin-top: 1em;
  padding: 0.2em 0.9em;
  border-radius: 1.3em;
  background: var(--a-surface);
  box-shadow: var(--a-shadow);
}

.ui-menu-row {
  display: grid;
  grid-template-columns: 2.4em minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.7em;
  padding-block: 0.7em;
}

.ui-health + .ui-menu-row,
.ui-menu-row + .ui-menu-row {
  border-top: 0.08em solid var(--a-line);
}

.ui-menu-icon {
  display: grid;
  place-items: center;
  width: 2.4em;
  height: 2.4em;
  border-radius: 0.75em;
  background: var(--a-brand-soft);
  color: var(--a-brand-deep);
}

.ui-menu-icon svg {
  width: 1.3em;
}

.ui-menu-row b,
.ui-menu-row small {
  display: block;
}

.ui-menu-row b {
  font-size: 0.9em;
}

.ui-menu-row small {
  margin-top: 0.1em;
  color: var(--a-muted);
  font-size: 0.74em;
}

.ui-menu-row > svg {
  width: 1.1em;
  color: var(--a-muted);
}

.ui-health {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em;
  padding: 0 0 0.85em 3.1em;
}

.ui-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.2em;
  padding: 0.4em 0.7em;
  border: 0.08em solid var(--a-line);
  border-radius: 2em;
  background: var(--a-bg);
  font-size: 0.72em;
  font-weight: 700;
}

:where(.ui) .ui-chip[aria-pressed="true"] {
  border-color: var(--a-brand);
  background: var(--a-brand-soft);
  color: var(--a-brand-deep);
}

.ui-tabs {
  position: absolute;
  bottom: 1.5em;
  left: 50%;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  width: 20em;
  height: 4.5em;
  padding: 0.4em;
  border-radius: 3em;
  background: rgb(255 255 255 / 0.84);
  box-shadow: inset 0 0 0 0.06em rgb(255 255 255 / 0.8), 0 0.6em 1.6em -0.6em rgb(16 40 30 / 0.3);
  backdrop-filter: blur(1em) saturate(1.6);
  -webkit-backdrop-filter: blur(1em) saturate(1.6);
  translate: -50% 0;
  transition: opacity 0.25s, translate 0.25s var(--ease), visibility 0s;
}

.ui[data-screen="scan"] .ui-tabs {
  opacity: 0;
  visibility: hidden;
  translate: -50% 1em;
  transition: opacity 0.2s, translate 0.2s, visibility 0s 0.2s;
}

.ui-tab {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.2em;
  height: 100%;
  border-radius: 3em;
  color: var(--a-muted);
  font-size: 0.68em;
  font-weight: 700;
  text-align: center;
  transition: background-color 0.2s, color 0.2s;
}

.ui-tab svg {
  width: 2.15em;
  height: 2.15em;
  stroke-width: 1.9;
}

.ui-tab[aria-current] {
  background: var(--a-brand-soft);
  color: var(--a-brand-deep);
}

.ui-tab-scan span {
  display: grid;
  place-items: center;
  width: 5.2em;
  height: 5.2em;
  margin-top: -2.6em;
  border-radius: 50%;
  background: var(--a-brand);
  box-shadow: 0 0 0 0.4em var(--a-surface), 0 0.9em 1.4em -0.5em rgb(18 154 126 / 0.7);
  color: #ffffff;
}

.ui-tab-scan svg {
  width: 2.6em;
  height: 2.6em;
  stroke-width: 2.1;
}

.ui-tab-scan {
  color: var(--a-brand-deep);
}

.section {
  padding-block: clamp(80px, 10vw, 140px);
}

.score-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 500px);
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
}

.grades {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin-top: 34px;
}

.grades li {
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.grades b {
  display: grid;
  place-items: center;
  width: 60px;
  height: 56px;
  border-radius: 10px;
  background: var(--g);
  color: var(--on, #161b18);
  font-size: 28px;
}

.grades .is-current b {
  width: 76px;
  height: 76px;
  border-radius: 14px;
  outline: 3px solid var(--ink);
  outline-offset: -3px;
  font-size: 40px;
}

.grades .is-current span {
  color: var(--ink);
  font-weight: 700;
}

.label {
  width: 100%;
  padding: 22px 24px 24px;
  border: 3px solid #161b18;
  border-radius: 6px;
  border-spacing: 0;
  background: #ffffff;
  color: #161b18;
  font-size: 17px;
}

.label th,
.label td {
  padding: 11px 0;
  border-bottom: 1px solid #161b18;
  font-weight: 700;
  text-align: left;
  vertical-align: middle;
}

.label td {
  text-align: right;
  white-space: nowrap;
}

.label thead th {
  padding: 0 0 8px;
  border-bottom: 10px solid #161b18;
  font-size: 32px;
  letter-spacing: -0.03em;
  vertical-align: baseline;
}

.label thead th + th {
  font-size: 15px;
  letter-spacing: 0;
  text-align: right;
}

.label tbody tr:last-child > * {
  border-bottom-width: 10px;
}

.label .sub th {
  padding-left: 20px;
  font-weight: 500;
}

.level {
  display: inline-block;
  margin-right: 10px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 13px;
}

.level[data-level="mid"] {
  background: #fbf1dc;
  color: #94600f;
}

.level[data-level="high"] {
  background: #fbe6e3;
  color: #a8322a;
}

.label tfoot th,
.label tfoot td {
  padding: 14px 0 0;
  border: 0;
}

.label tfoot th {
  font-size: 19px;
}

.label tfoot b {
  font-size: 30px;
  letter-spacing: -0.03em;
}

.grade {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-left: 10px;
  border-radius: 8px;
  background: #fecb02;
  font-size: 22px;
  vertical-align: 4px;
}

.label-wrap figcaption {
  max-width: 34em;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.prices-grid {
  display: grid;
  grid-template-columns: minmax(0, 500px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
}

.basket {
  padding: 26px 26px 22px;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.basket-head b,
.basket-head span {
  display: block;
}

.basket-head b {
  font-size: 22px;
  letter-spacing: -0.02em;
}

.basket-head span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 14px;
}

.basket-items {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.basket-items li {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  font-size: 13.5px;
  font-weight: 700;
}

.basket table {
  width: 100%;
  margin-top: 14px;
  border-spacing: 0 3px;
  font-variant-numeric: tabular-nums;
}

.basket th,
.basket td {
  padding: 6px 10px;
}

.basket tbody th {
  border-radius: 12px 0 0 12px;
  font-size: 15.5px;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}

.basket tbody td {
  width: 100%;
  border-radius: 0 12px 12px 0;
  background: linear-gradient(90deg, var(--chip-line) var(--w), transparent var(--w)) 14px center / calc(100% - 100px) 6px no-repeat;
  font-weight: 700;
  text-align: right;
}

.basket tbody i {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-right: 10px;
  border-radius: 9px;
  background: var(--surface-2);
  font-size: 13px;
  font-style: normal;
  vertical-align: middle;
}

.basket .is-cheapest > * {
  background-color: var(--good-soft);
}

.basket .is-cheapest td {
  background-image: linear-gradient(90deg, var(--good) var(--w), transparent var(--w));
  color: var(--good);
}

.basket .is-cheapest i {
  background: var(--good);
  color: var(--surface);
}

.basket th span {
  margin-left: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--good);
  font-size: 12px;
  vertical-align: 1px;
}

.basket tfoot th,
.basket tfoot td {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.basket tfoot th {
  font-size: 17px;
  text-align: left;
}

.basket tfoot td {
  font-size: 26px;
  letter-spacing: -0.02em;
  text-align: right;
}

.basket-note {
  padding-inline: 10px;
  color: var(--muted);
  font-size: 13.5px;
  text-align: right;
}

.trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 70px);
  width: min(100% - 2 * var(--gutter), 1280px);
  margin: 64px auto 0;
}

.trio li:nth-child(2) {
  padding-top: 80px;
}

.shot {
  position: relative;
  width: min(100%, 300px);
  aspect-ratio: 316 / 671;
  margin-bottom: 32px;
  padding: 8px;
  border-radius: 46px;
  background: #0d1110;
  box-shadow: inset 0 0 0 2px #2f3734, 0 34px 60px -24px rgb(10 30 22 / 0.4);
}

.shot::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  width: 30%;
  height: 22px;
  border-radius: 999px;
  background: #000000;
  translate: -50% 0;
}

.shot img {
  width: 100%;
  height: 100%;
  border-radius: 38px;
  object-fit: cover;
  object-position: top;
}

.trio h3 {
  font-size: 26px;
  letter-spacing: -0.03em;
}

.trio p {
  max-width: 22em;
  margin-top: 10px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.privacy,
.download {
  padding-block: clamp(10px, 1.5vw, 16px);
}

.privacy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 110px);
  padding: clamp(36px, 6vw, 84px);
  border-radius: 36px;
  background: var(--deep);
  color: var(--on-deep);
}

.privacy h2 {
  max-width: none;
  color: var(--on-deep);
  font-size: clamp(36px, 4.4vw, 62px);
}

.privacy h2 span {
  display: block;
}

.privacy .text-link {
  margin-top: 28px;
  color: var(--deep-accent);
  font-size: 18px;
}

.promises li {
  padding: 22px 0;
  border-top: 1px solid rgb(255 255 255 / 0.18);
}

.promises li:first-child {
  padding-top: 0;
  border-top: 0;
}

.promises h3 {
  font-size: 19px;
}

.promises p {
  margin-top: 6px;
  color: var(--deep-muted);
  font-size: 16px;
}

.download-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(36px, 5vw, 72px);
  border-radius: 36px;
  background: linear-gradient(250deg, #18b394, #0f7d67 55%, #0b5f4e);
  color: #ffffff;
}

.download h2 {
  max-width: 12em;
  color: #ffffff;
  font-size: clamp(34px, 3.8vw, 54px);
}

.download .soon {
  color: #d4f3ea;
}

.download-snacky {
  display: grid;
  place-items: center;
  width: clamp(150px, 19vw, 250px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff7e6;
}

.download-snacky img {
  width: 84%;
}

.foot {
  padding-block: 40px calc(44px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

.foot-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px 48px;
}

.foot-brand img {
  width: 124px;
}

.foot-brand p {
  margin-top: 6px;
  font-size: 14px;
}

.foot-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
}

.foot-nav a {
  display: inline-block;
  padding-block: 11px;
}

.foot a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

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

.foot-meta {
  display: grid;
  justify-items: end;
  gap: 4px;
  font-size: 14px;
}

.doc {
  padding-block: clamp(24px, 4vw, 56px) clamp(80px, 10vw, 140px);
}

.doc-head {
  grid-column: 2;
  padding-bottom: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}

.doc-head h1 {
  max-width: 14em;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.doc-intro {
  max-width: 36em;
  margin-top: 20px;
  color: var(--soft);
  font-size: clamp(18px, 1.5vw, 20px);
}

.doc-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 44em);
  gap: 0 clamp(40px, 6vw, 96px);
  align-items: start;
}

.doc-body {
  grid-column: 2;
}

.doc-toc {
  grid-column: 1;
  grid-row: 2;
  position: sticky;
  top: 32px;
  padding-top: 36px;
  font-size: 15px;
}

.doc-toc p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.doc-toc ol {
  display: grid;
  gap: 2px;
  margin-top: 10px;
  counter-reset: none;
}

.doc-toc a {
  display: block;
  padding: 10px 0;
  color: var(--soft);
  text-decoration: none;
}

.doc-toc a:hover {
  color: var(--brand-ink);
}

.doc-body section {
  padding-block: 32px 30px;
  scroll-margin-top: 24px;
}

.doc-body section + section {
  border-top: 1px solid var(--line);
}

.doc-body h2 {
  max-width: none;
  color: var(--ink);
  font-size: clamp(22px, 2vw, 26px);
  letter-spacing: -0.02em;
}

.doc-body p,
.doc-body li {
  color: var(--soft);
  font-size: 18px;
  line-height: 1.7;
}

.doc-body p {
  margin-top: 14px;
}

.doc-body ul {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  padding-left: 1.3em;
}

.doc-body li {
  list-style: disc;
}

.doc-body a {
  color: var(--brand-ink);
  font-weight: 700;
  text-underline-offset: 3px;
}

.doc-body .doc-sources {
  color: var(--muted);
  font-size: 15px;
}

.doc-note,
.doc-contact {
  margin-top: 40px;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--green-soft);
  font-size: 16px;
}

.doc-contact {
  margin-top: 16px;
  background: transparent;
  border: 1px solid var(--line);
}

.contact-grid,
.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(40px, 7vw, 110px);
}

.support-grid .doc-head {
  grid-column: auto;
  border-bottom: 0;
}

.support-direct {
  margin-top: 20px;
  color: var(--muted);
  font-size: 16px;
}

.support-direct a {
  color: var(--brand-ink);
  font-weight: 700;
}

.contact-form {
  position: relative;
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}

.contact-form [hidden] {
  display: none !important;
}

.topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.topics legend {
  float: left;
  width: 100%;
  margin-bottom: 10px;
  padding: 0;
  font-size: 15px;
  font-weight: 700;
}

.topics label {
  position: relative;
}

.topics input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.topics span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 15px;
  border: 1.5px solid var(--chip-line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 14.5px;
  font-weight: 700;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.topics input:checked + span {
  border-color: var(--brand);
  background: var(--mint);
  color: var(--brand-ink);
}

.topics input:focus-visible + span {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

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

.field {
  display: grid;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--chip-line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent);
}

.field input:user-invalid,
.field textarea:user-invalid {
  border-color: #c0392b;
}

.field small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

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

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.5;
}

.consent input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--brand-ink);
}

.consent a {
  color: var(--brand-ink);
  font-weight: 700;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.contact-form .btn {
  border: 0;
  background: #0e8169;
  color: #ffffff;
  cursor: pointer;
}

.contact-form .btn:disabled {
  opacity: 0.7;
  cursor: progress;
}

.form-status {
  color: #a8322a;
  font-size: 14px;
  font-weight: 700;
}

.form-done,
.form-failed {
  padding: 16px 18px;
  border-radius: 14px;
  font-size: 16px;
}

.form-done {
  background: var(--green-soft);
  font-weight: 700;
}

.form-failed {
  background: #fbe6e3;
  color: #8f2a20;
}

.form-failed a {
  font-weight: 700;
}

.lost-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 24px 48px;
  min-height: 100dvh;
  padding-block: 48px;
}

.lost-main img {
  grid-row: span 2;
  width: clamp(140px, 22vw, 240px);
}

.lost-main p {
  margin-block: 12px 24px;
  color: var(--muted);
  font-size: 19px;
}

.lost-main h1 {
  font-size: clamp(36px, 5vw, 60px);
}

.lost-main h2 {
  font-size: 26px;
}

@media (max-width: 1060px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .hero-copy {
    max-width: 640px;
  }

  .stage {
    --w: clamp(270px, 40vw, 320px);
    justify-self: center;
    width: min(100%, 660px);
  }

  .profile-card {
    flex-basis: 280px;
  }
}

@media (max-width: 960px) {
  .score-grid,
  .prices-grid,
  .privacy-grid,
  .doc-grid,
  .contact-grid,
  .support-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .prices-grid {
    gap: 40px;
  }

  .prices-copy {
    order: -1;
  }

  .doc-toc {
    display: none;
  }

  .doc-head,
  .doc-body {
    grid-column: 1;
  }

  .trio {
    display: flex;
    gap: 18px;
    width: auto;
    margin-top: 36px;
    padding: 0 var(--gutter) 24px;
    overflow-x: auto;
    scroll-padding-inline: var(--gutter);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .trio::-webkit-scrollbar {
    display: none;
  }

  .trio li {
    flex: 0 0 min(64vw, 250px);
    scroll-snap-align: start;
  }

  .trio li:nth-child(2) {
    padding-top: 0;
  }

  .shot {
    margin-bottom: 20px;
    padding: 7px;
    border-radius: 40px;
  }

  .shot::before {
    top: 15px;
    height: 18px;
  }

  .shot img {
    border-radius: 33px;
  }

  .trio h3 {
    font-size: 22px;
  }

  .trio p {
    font-size: 15px;
  }
}

@media (max-width: 720px) {
  .nav-section {
    display: none;
  }

  .top-row {
    padding-block: 16px;
  }

  .brand img {
    width: 124px;
  }

  .badges img {
    height: clamp(36px, 11vw, 42px);
  }

  .badges {
    gap: 10px;
  }

  .label {
    padding-inline: 18px;
    font-size: 16px;
  }

  .label thead th {
    font-size: 26px;
  }

  .label tfoot b {
    font-size: 26px;
  }

  .basket {
    padding: 20px 14px 18px;
  }

  .basket-head,
  .basket-items {
    padding-inline: 6px;
  }

  .basket tbody td {
    background-size: calc(100% - 92px) 6px;
  }

  .download-grid,
  .lost-main,
  .field-row {
    grid-template-columns: minmax(0, 1fr);
    justify-content: start;
  }

  .download-snacky {
    grid-row: 1;
    width: 132px;
  }

  .lost-main img {
    grid-row: auto;
  }

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

  .foot-nav {
    justify-content: start;
  }

  .foot-meta {
    justify-items: start;
  }
}

@media (max-width: 640px) {
  .stage {
    --w: min(300px, 80vw);
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-top: 24px;
  }

  .stage-photo {
    inset: 0 0 auto;
    width: 100%;
    height: calc(var(--w) * 1.2);
    border-radius: 28px;
  }

  .profile-card {
    flex: none;
    width: 100%;
    margin: 0;
  }

  .stage-snacky {
    top: 12px;
    right: 12px;
    width: 64px;
    padding: 4px;
    box-shadow: none;
  }

  .profile-title {
    padding-right: 68px;
  }
}

@media (max-width: 370px) {
  .grades b {
    width: 52px;
  }

  .grades .is-current b {
    width: 66px;
  }

  .basket th,
  .basket td {
    padding-inline: 6px;
  }

  .basket tbody i {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
