/* Trymate homepage. Same look as the app (apps/mobile/src/constants/theme.ts): cream ground,
   black ink and outlines, hard offset shadows, neon accents, Bricolage Grotesque + Space Mono. */

@font-face {
  font-family: 'Bricolage';
  src: url('/fonts/BricolageGrotesque_400Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Bricolage';
  src: url('/fonts/BricolageGrotesque_600SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Bricolage';
  src: url('/fonts/BricolageGrotesque_800ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: 'Space Mono';
  src: url('/fonts/SpaceMono_700Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

:root {
  --cream: #fff6e9;
  --cream-deep: #f3e6d0;
  --surface: #ffffff;
  --ink: #111111;
  --muted: #4f4a42;
  --lime: #c8ff2e;
  --pink: #ff3d8b;
  --violet: #6b2cff;
  --yellow: #ffc21a;
  --tint-top: #8fd8ff;
  --tint-bottom: #b9a6ff;
  --tint-outer: #7fe0c4;
  --tint-shoes: #ff9f5a;
  --tint-acc: #ffe14d;
  --tint-dress: #ff7ab6;

  --line: 3px solid var(--ink);
  --shadow: 4px 4px 0 var(--ink);
  --shadow-lg: 6px 6px 0 var(--ink);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;

  --font: 'Bricolage', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Space Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --page: min(1120px, calc(100% - 32px));
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 18px/1.55 var(--font);
  overflow-x: hidden;
}

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

/* Components set their own display; [hidden] must still win. */
[hidden] {
  display: none !important;
}

a {
  color: inherit;
}

a:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: var(--page);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--ink);
  color: var(--lime);
  padding: 10px 14px;
  border-radius: var(--r-sm);
  z-index: 10;
}
.skip:focus {
  top: 12px;
}

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

h1,
h2,
h3 {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  margin: 0;
}

h1 {
  font-size: clamp(46px, 8.4vw, 96px);
  line-height: 0.92;
}

h2 {
  font-size: clamp(34px, 5.4vw, 60px);
  line-height: 0.95;
}

h3 {
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

/* The lime full stop of the app's headlines ("Zeig her."). */
.mark {
  display: inline-block;
  width: 0.17em;
  height: 0.17em;
  margin-left: 0.05em;
  background: var(--lime);
  border: 3px solid var(--ink);
  vertical-align: baseline;
}

.lead {
  font-size: clamp(19px, 2.2vw, 22px);
  line-height: 1.5;
  max-width: 34em;
  margin: 0;
}

.muted {
  color: var(--muted);
}

.kicker {
  font: 700 13px/1.2 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---------- Stickers and buttons ---------- */

.sticker {
  display: inline-block;
  font: 700 12px/1.25 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 7px 11px;
  background: var(--lime);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(-2deg);
}
.sticker--right {
  transform: rotate(3deg);
}
.sticker--flat {
  transform: none;
}
.sticker--ink {
  background: var(--ink);
  color: var(--lime);
}
.sticker--yellow {
  background: var(--yellow);
}
.sticker--pink {
  background: var(--pink);
  color: #fff;
}
.sticker--cream {
  background: var(--cream);
}
.sticker--big {
  font-size: 14px;
  padding: 9px 13px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 24px;
  border: var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
  font: 800 18px/1.1 var(--font);
  text-decoration: none;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease;
}
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}
.btn:active {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 var(--ink);
}
.btn--primary {
  background: var(--ink);
  color: var(--lime);
}
.btn--secondary {
  background: var(--surface);
  color: var(--ink);
}
.btn--lime {
  background: var(--lime);
  color: var(--ink);
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- Header and footer ---------- */

.site-header {
  padding: 18px 0;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-decoration: none;
}
.logo img {
  width: 38px;
  height: 38px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav a {
  font: 700 13px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
}
.nav a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.nav .btn {
  min-height: 44px;
  padding: 10px 16px;
  font: 700 13px/1 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer {
  border-top: var(--line);
  padding: 32px 0 48px;
  margin-top: 96px;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.site-footer p {
  margin: 0;
  font-size: 15px;
}
.site-footer nav {
  display: flex;
  gap: 20px;
}
.site-footer nav a {
  font: 700 12px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
}

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

section {
  margin-top: clamp(80px, 11vw, 136px);
}

.section-head {
  display: grid;
  gap: 18px;
  margin-bottom: 40px;
  max-width: 760px;
}

.hero {
  margin-top: clamp(24px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}
.hero-copy {
  display: grid;
  gap: 26px;
  justify-items: start;
}
.hero-visual {
  position: relative;
  display: grid;
  justify-items: center;
  padding: 24px 0 40px;
}
.hero-visual .sticker {
  position: absolute;
  z-index: 2;
}
.hero-visual .float-a {
  top: 23%;
  left: -28px;
}
.hero-visual .float-b {
  bottom: 2%;
  right: -12px;
}
.hero-note {
  font-size: 15px;
}

/* Verdicts with the buddy's three moods. */
.verdicts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.verdict {
  border: var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 26px;
  display: grid;
  gap: 14px;
  align-content: start;
}
.verdict img {
  width: 104px;
  height: 104px;
}
.verdict--yes {
  background: var(--lime);
}
.verdict--maybe {
  background: var(--yellow);
}
.verdict--no {
  background: var(--pink);
}
.verdict h3 {
  font-size: 30px;
}
.verdict p {
  margin: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.step {
  background: var(--surface);
  border: var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 26px;
  display: grid;
  gap: 12px;
  align-content: start;
}
.step p {
  margin: 0;
}
.step-number {
  font: 700 15px/1 var(--mono);
  letter-spacing: 0.08em;
}

.screens {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  justify-items: center;
}
.screens figure {
  margin: 0;
  display: grid;
  gap: 22px;
  justify-items: center;
}
.screens figcaption {
  text-align: center;
  max-width: 280px;
  font-size: 16px;
}
.screens figcaption strong {
  display: block;
  font-weight: 800;
  font-size: 19px;
}
.screens-note {
  margin-top: 28px;
  text-align: center;
  font-size: 14px;
}

.privacy {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.privacy-tile {
  background: var(--surface);
  border: var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
  padding: 22px;
  display: grid;
  gap: 10px;
  align-content: start;
}
.privacy-tile .sticker,
.verdict .sticker {
  justify-self: start;
}
.privacy-tile h3 {
  font-size: 20px;
}
.privacy-tile p {
  margin: 0;
  font-size: 16px;
}
.privacy-more {
  margin-top: 28px;
}

.cta {
  background: var(--violet);
  color: #fff;
  border: var(--line);
  border-radius: var(--r-lg);
  box-shadow: 8px 8px 0 var(--ink);
  padding: clamp(28px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1fr minmax(0, 460px);
  align-items: start;
  gap: clamp(28px, 5vw, 56px);
}
.cta-copy {
  display: grid;
  gap: 16px;
  justify-items: start;
}
.cta-copy p {
  margin: 0;
  max-width: 30em;
}
.cta-copy img {
  width: 150px;
  height: 150px;
  margin-top: 12px;
}

/* ---------- Sign-up form ---------- */

.form-card {
  background: var(--surface);
  color: var(--ink);
  border: var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(20px, 3vw, 28px);
}
.form {
  display: grid;
  gap: 14px;
}
.field {
  display: grid;
  gap: 6px;
}
.field span {
  font: 700 12px/1.2 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: 600 17px/1.3 var(--font);
  color: var(--ink);
  background: var(--surface);
  border: var(--line);
  border-radius: 12px;
  padding: 11px 13px;
  appearance: none;
}
.field select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 55%,
    calc(100% - 14px) 55%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}
.field textarea {
  resize: vertical;
  min-height: 84px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid var(--violet);
  outline-offset: 2px;
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.turnstile:empty {
  display: none;
}
.form .btn {
  width: 100%;
}
.form .btn:disabled {
  opacity: 0.7;
  cursor: wait;
}
.form-status:empty {
  display: none;
}
.form-status {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}
.form-status[data-tone='error'] {
  background: #ffe1ea;
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 10px 12px;
}
.form-note {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}
.form-done {
  display: grid;
  gap: 10px;
  justify-items: start;
}
.form-done:focus {
  outline: none;
}
.form-done p {
  margin: 0;
}

/* ---------- Phone mock-ups (the app's screens, drawn in HTML) ---------- */

.phone {
  width: 286px;
  aspect-ratio: 9 / 19.5;
  background: var(--ink);
  border-radius: 46px;
  padding: 10px;
  box-shadow: 10px 10px 0 var(--violet);
  position: relative;
  flex-shrink: 0;
}
.phone--pink {
  box-shadow: 10px 10px 0 var(--pink);
}
.phone--yellow {
  box-shadow: 10px 10px 0 var(--yellow);
}
.phone--lime {
  box-shadow: 10px 10px 0 var(--lime);
}

.screen {
  position: relative;
  height: 100%;
  border-radius: 37px;
  overflow: hidden;
  background: var(--cream);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  font-size: 12px;
  line-height: 1.4;
}
.screen--dark {
  background: var(--ink);
  color: var(--cream);
}

.island {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 84px;
  height: 24px;
  margin-left: -42px;
  background: #000;
  border-radius: 20px;
}
.statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px 0;
  height: 40px;
  font: 600 12px/1 var(--font);
}
.statusbar .icons {
  display: flex;
  gap: 4px;
  align-items: center;
}
.statusbar .bars {
  width: 16px;
  height: 9px;
  background: linear-gradient(
    to right,
    currentColor 0 3px,
    transparent 3px 4px,
    currentColor 4px 7px,
    transparent 7px 8px,
    currentColor 8px 11px,
    transparent 11px 12px,
    currentColor 12px 15px,
    transparent 15px
  );
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.statusbar .battery {
  width: 22px;
  height: 11px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  padding: 1px;
}
.statusbar .battery::before {
  content: '';
  display: block;
  width: 75%;
  height: 100%;
  background: currentColor;
  border-radius: 1px;
}

.screen-body {
  flex: 1;
  min-height: 0;
  padding: 8px 15px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tabbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 8px 6px 20px;
  border-top: 2px solid rgba(17, 17, 17, 0.12);
  background: var(--cream);
  text-align: center;
  font: 700 8px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.screen--dark .tabbar {
  background: var(--ink);
  border-top-color: rgba(255, 246, 233, 0.15);
}
.tabbar span::before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  margin: 0 auto 5px;
  border: 2px solid currentColor;
  border-radius: 6px;
  opacity: 0.45;
}
.tabbar span {
  opacity: 0.55;
}
.tabbar .active {
  opacity: 1;
}
.tabbar .active::before {
  opacity: 1;
  background: var(--lime);
  border-color: var(--ink);
}

/* Small versions of the app's components inside the mock-ups. */
.m-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.m-kicker {
  font: 700 9px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.m-kicker--lime {
  color: var(--lime);
}
.m-sticker {
  display: inline-block;
  font: 700 8px/1.2 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 7px;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  background: var(--lime);
  color: var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  transform: rotate(3deg);
}
.m-sticker--cream {
  background: var(--cream);
}
.m-sticker--ink {
  background: var(--ink);
  color: var(--lime);
  transform: none;
}
.m-sticker--pink {
  background: var(--pink);
  color: #fff;
}
.m-sticker--yellow {
  background: var(--yellow);
}
.m-sticker--tilt-left {
  transform: rotate(-3deg);
}
.screen--dark .m-sticker {
  border-color: var(--cream);
  box-shadow: 2px 2px 0 var(--cream);
}

.m-title {
  font: 800 34px/0.95 var(--font);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.m-title .mark {
  border-width: 2px;
}
.screen--dark .m-title .mark {
  border-color: var(--cream);
}
.m-title img {
  width: 42px;
  height: 42px;
}

.m-camera {
  position: relative;
  flex: 1;
  min-height: 0;
  border-radius: 20px;
  background: #2b2b2b;
  border: 2px solid #3d3d3d;
  display: grid;
  place-items: center;
}
.m-camera .garment {
  width: 62%;
}
.m-camera .live {
  position: absolute;
  top: 10px;
  left: 12px;
  font: 700 8px/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
}
.corners {
  position: absolute;
  inset: 22px;
  background:
    linear-gradient(var(--lime), var(--lime)) top left / 18px 3px,
    linear-gradient(var(--lime), var(--lime)) top left / 3px 18px,
    linear-gradient(var(--lime), var(--lime)) top right / 18px 3px,
    linear-gradient(var(--lime), var(--lime)) top right / 3px 18px,
    linear-gradient(var(--lime), var(--lime)) bottom left / 18px 3px,
    linear-gradient(var(--lime), var(--lime)) bottom left / 3px 18px,
    linear-gradient(var(--lime), var(--lime)) bottom right / 18px 3px,
    linear-gradient(var(--lime), var(--lime)) bottom right / 3px 18px;
  background-repeat: no-repeat;
}
.m-camera .m-sticker {
  position: absolute;
  bottom: -12px;
  left: 12px;
  right: 30px;
  text-align: center;
}

.m-chips {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}
.m-chip {
  flex: 1;
  text-align: center;
  font: 600 10px/1 var(--font);
  padding: 7px 4px;
  border: 1.5px dashed rgba(255, 246, 233, 0.6);
  border-radius: 999px;
}
.m-chip--set {
  background: var(--lime);
  color: var(--ink);
  border: 1.5px solid var(--cream);
}

.m-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px 6px;
}
.m-side {
  width: 38px;
  height: 38px;
  border: 2px solid var(--cream);
  border-radius: 11px;
  display: grid;
  place-items: center;
}
.m-side::before {
  content: '';
  width: 14px;
  height: 11px;
  border: 2px solid var(--cream);
  border-radius: 3px;
}
.m-shutter {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--cream);
  box-shadow:
    0 0 0 4px var(--ink),
    0 0 0 8px var(--lime),
    0 0 0 18px rgba(200, 255, 46, 0.18);
}

.m-photo {
  position: relative;
  height: 136px;
  flex-shrink: 0;
  border: 2px solid var(--ink);
  border-radius: 20px;
  background: var(--cream-deep);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}
.m-photo .garment {
  width: 46%;
}
.m-stamp {
  position: absolute;
  left: -4px;
  bottom: -16px;
  font: 800 21px/1 var(--font);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  padding: 7px 11px;
  background: var(--lime);
  border: 2.5px solid var(--ink);
  border-radius: 12px;
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(-6deg);
}
.m-photo img {
  position: absolute;
  right: -8px;
  bottom: -20px;
  width: 58px;
  height: 58px;
}
.m-item {
  font: 800 13px/1.2 var(--font);
  margin-top: 6px;
}
.m-short {
  font: 800 19px/1.05 var(--font);
  letter-spacing: -0.01em;
}
.m-body {
  font-size: 11px;
  line-height: 1.45;
  margin: 0;
}
.m-box {
  border: 2px solid var(--ink);
  border-radius: 16px;
  padding: 10px 11px;
  box-shadow: 2px 2px 0 var(--ink);
  display: grid;
  gap: 4px;
}
.m-box--violet {
  background: var(--violet);
  color: #fff;
}
.m-box--yellow {
  background: var(--yellow);
}
.m-box-title {
  font: 700 8px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.m-box--violet .m-box-title {
  color: var(--lime);
}
.m-combo-title {
  font: 800 13px/1 var(--font);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-top: 2px;
}
.m-combo {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 7px;
  box-shadow: 2px 2px 0 var(--ink);
}
.m-combo span {
  aspect-ratio: 1;
  border: 1.5px solid var(--ink);
  border-radius: 9px;
  display: grid;
  place-items: center;
}
.m-combo .garment {
  width: 70%;
}
.m-size {
  font: 800 26px/1 var(--font);
}

.m-filter {
  display: flex;
  gap: 5px;
}
.m-filter span {
  font: 600 10px/1 var(--font);
  padding: 6px 9px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--surface);
}
.m-filter .on {
  background: var(--ink);
  color: var(--lime);
}
.m-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.m-tile {
  border: 2px solid var(--ink);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 2px 2px 0 var(--ink);
}
.m-tile-image {
  aspect-ratio: 1 / 0.8;
  display: grid;
  place-items: center;
  border-bottom: 2px solid var(--ink);
}
.m-tile-image .garment {
  width: 58%;
}
.m-tile p {
  margin: 0;
  padding: 5px 7px 6px;
  font: 600 9.5px/1.2 var(--font);
}
.t-top {
  background: var(--tint-top);
}
.t-bottom {
  background: var(--tint-bottom);
}
.t-outer {
  background: var(--tint-outer);
}
.t-shoes {
  background: var(--tint-shoes);
}
.t-acc {
  background: var(--tint-acc);
}

.m-count {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}
.m-count strong {
  font: 800 64px/0.85 var(--font);
  letter-spacing: -0.04em;
}
.m-count span {
  font: 800 15px/1.05 var(--font);
  text-transform: uppercase;
  padding-bottom: 4px;
}
.m-progress {
  height: 16px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--surface);
  overflow: hidden;
}
.m-progress::before {
  content: '';
  display: block;
  width: 72%;
  height: 100%;
  background: var(--lime);
  border-right: 2px solid var(--ink);
}
.m-list {
  display: grid;
  gap: 7px;
}
.m-list-row {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 6px 8px;
}
.m-list-row .thumb {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1.5px solid var(--ink);
  display: grid;
  place-items: center;
}
.m-list-row .thumb .garment {
  width: 76%;
}
.m-list-row b {
  display: block;
  font: 800 10.5px/1.2 var(--font);
}
.m-list-row small {
  font-size: 9px;
  color: var(--muted);
}
.m-button {
  margin-top: auto;
  margin-bottom: 10px;
  text-align: center;
  font: 800 13px/1 var(--font);
  padding: 12px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--ink);
  color: var(--lime);
  box-shadow: 3px 3px 0 var(--ink);
}

/* Garment colours of the drawings (fill = currentColor). */
.garment {
  height: auto;
}
.c-olive {
  color: #7d8c3c;
}
.c-beige {
  color: #e2c9a0;
}
.c-white {
  color: #ffffff;
}
.c-navy {
  color: #2b3a67;
}
.c-denim {
  color: #4b6fa8;
}
.c-cream {
  color: #fff6e9;
}
.c-red {
  color: #d9443b;
}

/* ---------- Text pages (privacy notice, imprint) ---------- */

.page {
  margin-top: clamp(24px, 5vw, 56px);
}
.page-head {
  display: grid;
  gap: 18px;
  margin-bottom: 36px;
  max-width: 820px;
}
.prose {
  background: var(--surface);
  border: var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(22px, 4vw, 48px);
  max-width: 880px;
  font-size: 17px;
}
.prose + .prose {
  margin-top: 36px;
}
.prose h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 18px;
}
.prose h3 {
  font-size: 22px;
  margin: 36px 0 12px;
}
.prose h4 {
  font-size: 17px;
  margin: 24px 0 8px;
}
.prose p,
.prose ul {
  margin: 0 0 14px;
}
.prose ul {
  padding-left: 22px;
}
.prose li {
  margin-bottom: 6px;
}
.prose a {
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.prose .table {
  overflow-x: auto;
  margin: 0 0 16px;
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
}
.prose table {
  border-collapse: collapse;
  width: 100%;
  min-width: 560px;
  font-size: 15px;
}
.prose th,
.prose td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--cream-deep);
}
.prose th {
  background: var(--cream-deep);
  font-weight: 800;
}
.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Motion and small screens ---------- */

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }
  50% {
    transform: translateY(-10px) rotate(2deg);
  }
}
.floaty {
  animation: float 4.5s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .floaty {
    animation: none;
  }
  .btn {
    transition: none;
  }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-visual .float-a {
    left: 4%;
  }
  .hero-visual .float-b {
    right: 4%;
  }
  .verdicts,
  .steps {
    grid-template-columns: 1fr;
  }
  .privacy {
    grid-template-columns: 1fr 1fr;
  }
  .screens {
    display: flex;
    justify-content: flex-start;
    gap: 28px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 16px 28px 4px;
    margin-right: calc((100vw - 100%) / -2);
  }
  .screens figure {
    scroll-snap-align: start;
  }
  .cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 17px;
  }
  .nav a:not(.btn) {
    display: none;
  }
  .privacy {
    grid-template-columns: 1fr;
  }
  .phone {
    width: 260px;
  }
  .hero-visual .sticker {
    font-size: 11px;
  }
  .cta-copy img {
    display: none;
  }
}

.sprite {
  position: absolute;
}
