:root {
  --bg-deep: #0a0a0c;
  --bg-mid: #121214;
  --bg-card: #1c1c22;
  --text: #f0ebe3;
  --text-muted: #9a9288;
  --accent: #c4a574;
  --accent-bright: #dcc29a;
  --accent-soft: rgba(196, 165, 116, 0.14);
  --line: rgba(255, 255, 255, 0.08);
  --danger: #e57373;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-tagline: "Cormorant Garamond", Georgia, serif;
  --radius: 14px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --shadow-strong: 0 32px 90px rgba(0, 0, 0, 0.55);
  --content-max: 1120px;
  --content-pad-x: 1.5rem;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 100% 60% at 50% -10%, rgba(55, 58, 62, 0.5), transparent 50%),
    radial-gradient(ellipse 70% 45% at 100% 40%, rgba(196, 165, 116, 0.06), transparent),
    linear-gradient(180deg, var(--bg-mid) 0%, var(--bg-deep) 100%);
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 9999;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: linear-gradient(to bottom, rgba(10, 10, 12, 0.94), rgba(10, 10, 12, 0));
  backdrop-filter: blur(12px);
}

.topbar__right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem 0.75rem;
  min-width: 0;
}

.lang-switch {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.lang-switch--dropdown {
  opacity: 0.88;
  transition: opacity 0.2s ease;
}

.lang-switch--dropdown:hover {
  opacity: 1;
}

.lang-select {
  box-sizing: border-box;
  margin: 0;
  min-width: 3.5rem;
  max-width: 100%;
  height: auto;
  padding: 0.45rem 1.75rem 0.45rem 0.85rem;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background-color: rgba(255, 255, 255, 0.06);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%23c4a574' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.65rem center;
  background-size: 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.lang-select:hover {
  color: var(--accent-bright);
  border-color: rgba(196, 165, 116, 0.35);
  background-color: rgba(255, 255, 255, 0.08);
}

.lang-select:focus {
  outline: none;
  border-color: rgba(196, 165, 116, 0.45);
  box-shadow: 0 0 0 3px var(--accent-soft);
  color: var(--text);
}

.lang-select option {
  color: #1a1a1f;
  background: #f5f2ec;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
}

.topbar__nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.memes__intro {
  margin: 0;
  color: var(--text-muted);
}

.topbar__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.topbar__link:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

.logo {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.topbar__cta {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a1510;
  text-decoration: none;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(196, 165, 116, 0.45);
  background: linear-gradient(135deg, var(--accent-bright) 0%, var(--accent) 100%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s, box-shadow 0.2s;
}

.topbar__cta:hover {
  box-shadow: 0 6px 28px rgba(196, 165, 116, 0.25);
}

.welcome {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5.5rem var(--content-pad-x) 3rem;
  background-color: #0a0c10;
  background-image:
    linear-gradient(180deg, rgba(18, 22, 30, 0.5) 0%, transparent 42%),
    url("../assets/everest-bg.svg");
  background-size: cover, cover;
  background-position: center top, center bottom;
  background-repeat: no-repeat;
}

.welcome::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(6, 8, 12, 0.88) 0%,
    rgba(10, 12, 18, 0.72) 38%,
    rgba(12, 10, 16, 0.86) 100%
  );
  z-index: 0;
  pointer-events: none;
}

.welcome__grid,
.welcome__scroll-hint {
  position: relative;
  z-index: 1;
}

.welcome__grid {
  display: grid;
  gap: 2rem 3rem;
  align-items: center;
  justify-items: center;
  max-width: var(--content-max);
  width: 100%;
}

@media (min-width: 900px) {
  .welcome__grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 1.05fr);
    text-align: left;
  }

  .welcome__inner {
    text-align: left;
  }

  .welcome__actions {
    justify-content: flex-start;
  }
}

.welcome__inner {
  max-width: 36rem;
  text-align: center;
}

.welcome__visual {
  width: 100%;
  max-width: 480px;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.5));
}

.welcome__visual--feature {
  max-width: min(420px, 90vw);
}

@media (min-width: 900px) {
  .welcome__visual--feature {
    max-width: 440px;
  }
}

.welcome__scene {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid rgba(196, 165, 116, 0.35);
  box-shadow: var(--shadow-strong);
  background: #141416;
}

.welcome__scene--feature {
  border-width: 2px;
  border-color: rgba(196, 165, 116, 0.55);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 12px 48px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(196, 165, 116, 0.12);
}

.welcome__tagline {
  margin: 0 0 1rem;
  font-family: var(--font-tagline);
  font-size: clamp(1.15rem, 2.8vw, 1.45rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.35;
  color: var(--accent-bright);
  letter-spacing: 0.03em;
}

.welcome__kicker {
  margin: 0 0 0.85rem;
  font-family: var(--font-tagline);
  font-size: 1.15rem;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--accent-bright);
}

.welcome__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.25rem, 14vw, 5.75rem);
  line-height: 0.92;
  letter-spacing: 0.06em;
}

.welcome__title-line {
  display: block;
}

.welcome__title-dot {
  color: var(--accent);
  font-weight: 600;
}

.welcome__date {
  margin: 0 0 1.25rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
}

.welcome__lead {
  margin: 0 0 2rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.welcome__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent-bright) 0%, #a08050 100%);
  color: #1a1510;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.btn--primary:hover {
  box-shadow: 0 12px 40px rgba(196, 165, 116, 0.2);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn--ghost:hover {
  border-color: rgba(196, 165, 116, 0.45);
  background: rgba(255, 255, 255, 0.1);
}

.btn--block {
  width: 100%;
  margin-top: 0.5rem;
}

.welcome__scroll-hint {
  margin-top: auto;
  padding-top: 3rem;
  opacity: 0.4;
}

.welcome__scroll-hint span {
  display: block;
  width: 1px;
  height: 48px;
  margin: 0 auto;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.85);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

.section-head {
  width: 100%;
  max-width: none;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.85rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-head p {
  margin: 0;
  max-width: 42rem;
  color: var(--text-muted);
}

.section-head--wide p {
  max-width: 48rem;
}

.section-head--wide {
  max-width: none;
}

.inline-code {
  font-size: 0.88em;
  padding: 0.15em 0.45em;
  border-radius: 6px;
  background: rgba(196, 165, 116, 0.1);
  border: 1px solid var(--line);
  font-family: ui-monospace, monospace;
}

.categories,
.details,
.memes,
.register {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
  padding: 4.5rem var(--content-pad-x);
}

.memes__insta {
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 2px solid rgba(196, 165, 116, 0.4);
  transition: border-color 0.2s, color 0.2s;
}

.memes__insta:hover {
  color: var(--accent-bright);
  border-bottom-color: var(--accent-bright);
}

.meme-grid {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 520px) {
  .meme-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.55rem;
  }
}

@media (min-width: 768px) {
  .meme-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
  }
}

@media (min-width: 1080px) {
  .meme-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 0.65rem;
  }
}

.meme-tile {
  position: relative;
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #121214;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem;
  min-width: 0;
}

.meme-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
}

.meme-tile img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: transparent;
}

.details__grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .details__grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.categories__grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .categories__grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.category-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.35rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.category-card--epic {
  border-color: rgba(196, 165, 116, 0.4);
  background: linear-gradient(165deg, rgba(196, 165, 116, 0.1), var(--bg-card));
}

.category-card__hm {
  margin: 0;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  flex-wrap: nowrap;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 3.35rem);
  line-height: 0.95;
  letter-spacing: 0.05em;
  color: var(--accent);
}

.category-card__hm-icon {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-bottom: 0.2em;
  color: var(--accent);
  opacity: 0.9;
  line-height: 0;
}

.category-card__hm-icon svg {
  display: block;
  width: 18px;
  height: 18px;
  max-width: 18px;
  max-height: 18px;
  flex-shrink: 0;
}

@media (min-width: 900px) {
  .category-card__hm-icon,
  .category-card__hm-icon svg {
    width: 20px;
    height: 20px;
    max-width: 20px;
    max-height: 20px;
  }
}

.category-card__hm-value {
  display: inline-block;
}

.category-card__unit {
  margin: 0.2rem 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.category-card__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
}

.category-card__stats {
  margin: 0 0 0.85rem;
  padding: 0.65rem 0 0.65rem 1.1rem;
  list-style: disc;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--text-muted);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.category-card__stats li {
  margin-bottom: 0.35rem;
}

.category-card__stats li:last-child {
  margin-bottom: 0;
}

.category-card__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.form__category-hint {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.form__radios {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.radio-tile {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.radio-tile:has(:checked) {
  border-color: rgba(196, 165, 116, 0.45);
  background: var(--accent-soft);
}

.radio-tile input {
  margin-top: 0.35rem;
  flex-shrink: 0;
  accent-color: var(--accent);
}

.radio-tile__body {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.radio-tile__name {
  font-weight: 600;
  font-size: 0.95rem;
}

.radio-tile__meta {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.card {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card p + p {
  margin-top: 0.75rem;
}

.card--highlight {
  border-color: rgba(196, 165, 116, 0.35);
  background: linear-gradient(145deg, rgba(196, 165, 116, 0.12), var(--bg-card));
}

.card__note {
  font-size: 0.9rem !important;
  font-style: italic;
}

.register__layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .register__layout {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}

.form {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form__row {
  margin-bottom: 1.25rem;
}

.form__row label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.optional {
  font-weight: 400;
  color: var(--text-muted);
}

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font: inherit;
  color: var(--text);
  background: #121214;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: rgba(196, 165, 116, 0.45);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form textarea {
  resize: vertical;
  min-height: 96px;
}

.form__disclaimer-label {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.form__legal-teaser {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.form__required-note {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-muted);
  font-weight: 600;
}

.form__legal-link {
  font-weight: 600;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form__legal-link:hover {
  color: var(--accent-bright);
}

.logo--link {
  text-decoration: none;
  color: inherit;
}

.logo--link:hover {
  color: var(--accent);
}

.page-legal {
  padding: 6rem 1.5rem 3rem;
  max-width: 40rem;
  margin: 0 auto;
}

.page-legal__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-legal__lead {
  margin: 0 0 1.75rem;
  font-size: 1rem;
  color: var(--text-muted);
}

.page-legal__body {
  padding: 1.25rem 1.35rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.page-legal__body p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.page-legal__body p:last-child {
  margin-bottom: 0;
}

.page-legal__figure {
  margin: 2rem 0 0;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--bg-card);
}

.page-legal__image {
  display: block;
  width: 100%;
  height: auto;
}

.page-legal__back {
  margin: 2rem 0 0;
}

.page-legal__back-link {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 2px solid rgba(196, 165, 116, 0.4);
}

.page-legal__back-link:hover {
  color: var(--accent-bright);
  border-bottom-color: var(--accent-bright);
}

.form__row--check {
  margin-bottom: 1.5rem;
}

.check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
}

.check input {
  margin-top: 0.25rem;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.check__copy {
  flex: 1;
  min-width: 0;
  line-height: 1.5;
}

.check--required .required-star {
  color: #e53935;
  font-weight: 700;
  margin-left: 0.2em;
  white-space: nowrap;
}

.form__error {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--danger);
  min-height: 1em;
}

.form__error:empty {
  display: none;
}

.register__aside {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px dashed rgba(196, 165, 116, 0.3);
  background: rgba(255, 255, 255, 0.03);
}

.register__aside h3 {
  margin: 0 0 1rem;
  font-size: 1rem;
}

.steps {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.steps li + li {
  margin-top: 0.5rem;
}

.aside__fine {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  opacity: 0.9;
}

.success {
  margin-top: 2rem;
}

.success[hidden] {
  display: none !important;
}

.success__card {
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(196, 165, 116, 0.3);
  background: linear-gradient(160deg, rgba(196, 165, 116, 0.1), var(--bg-card));
  box-shadow: var(--shadow);
  max-width: 36rem;
}

.success__card h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.success__card p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.success__hint {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: rgba(196, 165, 116, 0.12);
  border: 1px solid rgba(196, 165, 116, 0.3);
  font-size: 0.95rem;
}

.success__card p:last-of-type {
  margin-bottom: 1.5rem;
}

.footer {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
  padding: 2rem var(--content-pad-x) 3rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer p {
  margin: 0;
}

/* ——— Mobile & touch-friendly ——— */
@media (max-width: 719px) {
  :root {
    --content-pad-x: 1rem;
  }

  .topbar {
    flex-wrap: wrap;
    row-gap: 0.4rem;
    padding-top: max(0.55rem, env(safe-area-inset-top, 0));
    padding-right: max(0.75rem, env(safe-area-inset-right, 0));
    padding-bottom: 0.55rem;
    padding-left: max(0.75rem, env(safe-area-inset-left, 0));
  }

  .logo {
    font-size: 0.72rem;
    letter-spacing: 0.05em;
  }

  .topbar__right {
    flex: 1 1 100%;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.35rem;
    min-width: 0;
  }

  .topbar__nav {
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.2rem 0.25rem;
  }

  .topbar__link,
  .topbar__cta {
    padding: 0.32rem 0.5rem;
    font-size: 0.68rem;
    font-weight: 600;
    min-height: 40px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
  }

  .lang-switch--dropdown {
    margin-left: auto;
    flex-shrink: 0;
  }

  .lang-select {
    min-height: 40px;
    min-width: 3.1rem;
    padding: 0.32rem 1.45rem 0.32rem 0.55rem;
    font-size: 0.68rem;
    letter-spacing: 0.05em;
    background-position: right 0.45rem center;
    background-size: 9px 9px;
  }

  .welcome {
    padding-top: max(4.75rem, calc(env(safe-area-inset-top, 0) + 3.5rem));
    padding-bottom: 2rem;
    min-height: 100dvh;
  }

  .welcome__grid {
    gap: 1.5rem;
  }

  .categories,
  .details,
  .memes,
  .register {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .section-head {
    margin-bottom: 1.75rem;
  }

  .form {
    padding: 1.25rem 1rem;
  }

  .register__layout {
    gap: 1.75rem;
  }

  .register__aside {
    padding: 1.15rem;
  }

  .radio-tile {
    padding: 0.75rem 0.85rem;
    min-height: 48px;
  }

  .btn {
    min-height: 44px;
  }

  .success__card {
    padding: 1.35rem 1rem;
  }

  .footer {
    padding-bottom: max(2.5rem, env(safe-area-inset-bottom, 0));
  }
}

@media (max-width: 380px) {
  .logo {
    font-size: 0.66rem;
  }

  .topbar__link,
  .topbar__cta {
    padding-left: 0.42rem;
    padding-right: 0.42rem;
    font-size: 0.64rem;
    min-height: 38px;
  }

  .lang-select {
    font-size: 0.64rem;
    min-width: 2.9rem;
    min-height: 38px;
    padding-left: 0.45rem;
    padding-right: 1.3rem;
  }

  .welcome__title {
    font-size: clamp(2.6rem, 11vw, 3.25rem);
  }
}
