/* ==========================================================
   Lomaya — page d'accueil
   ========================================================== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- En-tête ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  background: rgba(17, 20, 24, 0.94);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}
.header-inner {
  height: 92px;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 0 32px;
}
.brand-white {
  color: #fff;
  font-size: 36px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  flex: 1;
}
.nav-link {
  position: relative;
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  padding: 8px 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 3px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transition: transform 0.2s var(--ease);
}
.nav-link:hover::after,
.nav-item.open .nav-link::after {
  transform: scaleX(1);
}
.nav-item {
  position: relative;
}
.nav-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: -16px;
  min-width: 250px;
  background: #fff;
  border-radius: 10px;
  padding: 8px;
  box-shadow: var(--shadow-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.18s var(--ease);
}
.nav-item.open .nav-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 6px;
  font-weight: 600;
  color: var(--text);
}
.nav-menu a:hover {
  background: var(--bg-2);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  padding: 8px 6px;
  border-radius: 8px;
}
.lang-btn .icon {
  width: 22px;
  height: 22px;
}
.lang-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 200px;
  background: #fff;
  border-radius: 10px;
  padding: 6px;
  box-shadow: var(--shadow-2);
  display: none;
  z-index: 5;
}
.lang-menu.open {
  display: block;
  animation: popIn 0.18s var(--ease);
}
.lang-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 6px;
  font-weight: 600;
}
.lang-menu button:hover {
  background: var(--bg-2);
}
.lang-menu button.active {
  color: var(--brand);
}
.btn-login {
  min-height: 50px;
  padding: 0 30px;
  font-size: 19px;
}
.burger {
  display: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  place-items: center;
}
.burger .icon {
  width: 26px;
  height: 26px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #111418;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.mosaic {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 170%;
  height: 210%;
  display: flex;
  justify-content: center;
  gap: 18px;
  transform: translate(-50%, -50%) rotate(-9deg);
}
.mosaic-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: none;
  animation: colUp 140s linear infinite;
}
.mosaic-col:nth-child(even) {
  animation-name: colDown;
  margin-top: -140px;
}
@keyframes colUp {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50%);
  }
}
@keyframes colDown {
  from {
    transform: translateY(-50%);
  }
  to {
    transform: translateY(0);
  }
}
.m-card {
  position: relative;
  width: 210px;
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  overflow: hidden;
  background: #2a2f37;
  flex: none;
}
.m-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.m-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 42%);
}
.m-card-bars {
  position: absolute;
  top: 7px;
  left: 8px;
  right: 8px;
  display: flex;
  gap: 4px;
  z-index: 1;
}
.m-card-bars span {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
}
.m-card-bars span:first-child {
  background: #fff;
}
.m-card-info {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 52px;
  z-index: 1;
  color: #fff;
}
.m-card-info b {
  font-size: 21px;
  font-weight: 800;
}
.m-card-info em {
  font-style: normal;
  font-size: 19px;
  margin-left: 6px;
}
.m-card-info small {
  display: block;
  font-size: 12px;
  opacity: 0.85;
}
.m-card-btns {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.m-card-btns span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.35);
}
.m-card-btns span.lg {
  width: 36px;
  height: 36px;
}
.m-card-btns svg {
  width: 52%;
  height: 52%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.25) 30%, rgba(0, 0, 0, 0.25) 60%, rgba(0, 0, 0, 0.75) 100%),
    rgba(0, 0, 0, 0.32);
}
.hero-content {
  text-align: center;
  padding: 120px 16px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-title {
  margin: 0 0 28px;
  color: #fff;
  font-size: clamp(52px, 10vw, 144px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
}
.btn-hero {
  min-height: 60px;
  padding: 0 40px;
  font-size: 21px;
  box-shadow: 0 8px 30px rgba(36, 88, 255, 0.35);
}

.hero-beta {
  margin: 18px 0 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 600;
}
.auth-beta {
  margin: -8px 0 18px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(37, 99, 255, 0.07);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 600;
}

/* ---------- Histoires ---------- */
.stories {
  padding: 96px 0 88px;
  background: #fff;
}
.stories-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}
.stories h2,
.premium h2,
.safety h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.stories-nav {
  display: flex;
  gap: 10px;
}
.round-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid var(--border);
  color: var(--text-2);
  transition: all 0.15s;
}
.round-btn:hover {
  border-color: var(--text);
  color: var(--text);
}
.round-btn .icon {
  width: 22px;
  height: 22px;
}
.stories-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 380px);
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 4px 24px;
  scrollbar-width: none;
}
.stories-track::-webkit-scrollbar {
  display: none;
}
.story-card {
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--border-2);
  border-radius: 14px;
  padding: 30px 28px 32px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}
.story-quote {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  margin-bottom: 18px;
}
.story-quote .icon {
  width: 24px;
  height: 24px;
}
.story-card h3 {
  margin: 0 0 10px;
  font-size: 21px;
  font-weight: 800;
}
.story-card p {
  margin: 0;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.6;
}

/* ---------- Premium ---------- */
.premium {
  background: #111418;
  color: #fff;
  padding: 96px 0;
}
.premium-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.premium-copy > p {
  color: #b9c0ca;
  font-size: 18px;
  margin: 16px 0 32px;
  max-width: 560px;
}
.premium-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 22px;
}
.premium-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.premium-list strong {
  display: block;
  font-size: 18px;
}
.premium-list span span,
.premium-list div span {
  color: #b9c0ca;
  font-size: 15px;
}
.feat-ico {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.07);
  color: var(--c);
}
.feat-ico .icon {
  width: 22px;
  height: 22px;
}
.premium-tiers {
  display: grid;
  gap: 16px;
}
.tier {
  border-radius: 16px;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform 0.2s var(--ease);
}
.tier:hover {
  transform: translateY(-3px);
}
.tier-name {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.tier-name b {
  font-size: 15px;
  letter-spacing: 0.12em;
  padding: 3px 9px;
  border-radius: 5px;
  vertical-align: middle;
  margin-left: 4px;
}
.tier-name sup {
  font-size: 0.6em;
}
.tier-desc {
  font-size: 15px;
  opacity: 0.9;
}
.tier-plus {
  background: var(--grad);
}
.tier-gold {
  background: linear-gradient(262deg, #ffd34e, #c8901a);
  color: #2b1d00;
}
.tier-gold b {
  background: #2b1d00;
  color: #ffd34e;
}
.tier-platinum {
  background: linear-gradient(262deg, #3a3f47, #16191d);
  border: 1px solid #4a5059;
}
.tier-platinum b {
  background: #fff;
  color: #16191d;
}

/* ---------- Sécurité ---------- */
.safety {
  padding: 88px 0;
  background: var(--bg-3);
}
.safety-inner {
  display: flex;
  gap: 36px;
  align-items: center;
  max-width: 960px;
}
.safety-badge {
  flex: none;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 10px 30px rgba(36, 88, 255, 0.3);
}
.safety-badge .icon {
  width: 52px;
  height: 52px;
}
.safety p {
  color: var(--text-2);
  font-size: 18px;
  margin: 14px 0 16px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  color: var(--brand);
}
.text-link:hover {
  text-decoration: underline;
}

/* ---------- Pied de page ---------- */
.site-footer {
  background: #fff;
  padding: 72px 0 40px;
  color: var(--text);
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.footer-col h3,
.footer-app h3 {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 800;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.footer-col a {
  color: var(--text-2);
  font-size: 16px;
}
.footer-col a:hover {
  color: var(--text);
  text-decoration: underline;
}
.footer-plain a {
  font-weight: 700;
  color: var(--text);
}
.socials {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.socials a {
  color: var(--text-2);
  display: inline-flex;
}
.socials a:hover {
  color: var(--brand);
}
.socials .icon {
  width: 24px;
  height: 24px;
}
.footer-app {
  margin-top: 40px;
}
.store-badges {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 18px 0 14px;
  border-radius: 10px;
  background: #000;
  color: #fff;
  border: 1px solid #a6a6a6;
  transition: opacity 0.15s;
}
.store-badge:hover {
  opacity: 0.85;
}
.store-badge .icon {
  width: 28px;
  height: 28px;
}
.store-badge span {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.store-badge small {
  font-size: 11px;
  font-weight: 500;
}
.store-badge strong {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.site-footer hr {
  border: 0;
  border-top: 1px solid var(--border-2);
  margin: 40px 0 28px;
}
.footer-seo {
  margin: 0;
  color: var(--text-3);
  font-size: 15px;
  line-height: 1.7;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 15px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--text-3);
}
.footer-links a {
  color: var(--text-2);
  font-weight: 600;
}
.footer-links a:hover {
  color: var(--text);
}
.copyright {
  margin: 0;
  color: var(--text-3);
}

/* ---------- Bandeau cookies ---------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  background: #fff;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.22);
  animation: slideUp 0.35s var(--ease);
}
.cookie-banner[hidden] {
  display: none;
}
@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
}
.cookie-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 32px;
  display: flex;
  gap: 40px;
  align-items: center;
}
.cookie-text h2 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
}
.cookie-text p {
  margin: 0;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
}
.cookie-text a {
  color: var(--brand);
  font-weight: 700;
}
.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: none;
  width: 230px;
}
.btn-dark {
  background: #21262e;
  color: #fff;
  min-height: 46px;
}
.btn-dark:hover {
  background: #000;
}
.cookie-custom {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-2);
  padding: 6px;
}
.cookie-custom:hover {
  color: var(--text);
  text-decoration: underline;
}

/* ---------- Modale de connexion ---------- */
.auth-box {
  text-align: center;
  padding-top: 40px;
}
.auth-step[hidden] {
  display: none;
}
.auth-step {
  animation: fadeIn 0.2s ease;
}
.auth-logo {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
}
.auth-logo .icon {
  width: 100%;
  height: 100%;
}
.auth-title {
  margin: 0 0 14px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.auth-legal,
.auth-hint,
.auth-sub {
  font-size: 13.5px;
  color: var(--text-2);
  margin: 0 0 22px;
  line-height: 1.5;
}
.auth-sub {
  font-size: 15px;
}
.auth-legal a,
.auth-hint a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
}
.auth-hint {
  text-align: left;
  margin-top: 14px;
}
.auth-hint.center {
  text-align: center;
}
.auth-providers {
  display: grid;
  gap: 12px;
}
.provider-btn {
  position: relative;
  height: 50px;
  border-radius: 999px;
  border: 2px solid var(--border);
  background: #fff;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 44px;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.provider-btn:hover {
  border-color: var(--text-3);
  color: var(--text);
}
.provider-btn > .icon {
  position: absolute;
  left: 18px;
  width: 22px;
  height: 22px;
}
.provider-btn[data-provider='Apple'] > .icon {
  color: #000;
}
.provider-btn[data-goto='phone'] > .icon {
  color: var(--brand);
}
.provider-btn .spinner {
  position: absolute;
  right: 18px;
  width: 18px;
  height: 18px;
  border: 2.5px solid var(--brand);
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.auth-trouble {
  display: inline-block;
  margin-top: 18px;
  font-weight: 700;
  font-size: 15px;
  color: var(--brand);
}
.auth-trouble:hover {
  text-decoration: underline;
}
.auth-divider {
  height: 1px;
  background: var(--border-2);
  margin: 22px 0 18px;
}
.auth-getapp {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 800;
}
.store-badges-sm {
  justify-content: center;
}
.store-badges-sm .store-badge {
  height: 44px;
  padding: 0 12px 0 10px;
}
.store-badges-sm .store-badge strong {
  font-size: 15px;
}
.store-badges-sm .store-badge small {
  font-size: 9px;
}
.store-badges-sm .store-badge .icon {
  width: 22px;
  height: 22px;
}
.auth-back {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text-3);
}
.auth-back:hover {
  background: var(--bg-2);
  color: var(--text);
}
.auth-back .icon {
  width: 26px;
  height: 26px;
}
.phone-row {
  display: flex;
  gap: 10px;
}
.country-select {
  width: 120px;
  flex: none;
  padding: 0 10px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
}
#phone {
  font-size: 19px;
  letter-spacing: 0.04em;
}
.code-inputs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 6px 0 4px;
}
.code-box {
  width: 46px;
  height: 58px;
  border: 0;
  border-bottom: 3px solid var(--border);
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  background: transparent;
  border-radius: 0;
  transition: border-color 0.15s;
}
.code-box:focus {
  outline: none;
  border-color: var(--brand);
}
.code-inputs.error .code-box {
  border-color: #e5484d;
  animation: shake 0.35s;
}
@keyframes shake {
  25% {
    transform: translateX(-4px);
  }
  75% {
    transform: translateX(4px);
  }
}
.code-error {
  color: #e5484d;
  font-size: 14px;
  font-weight: 600;
  margin: 10px 0 0;
}
.link-btn {
  color: var(--brand);
  font-weight: 700;
  text-decoration: underline;
}
.link-btn:disabled {
  color: var(--text-3);
  text-decoration: none;
  cursor: default;
}
.trouble-form {
  display: grid;
  gap: 14px;
}

/* ---------- Notification SMS simulée ---------- */
.sms-notif {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 2000;
  width: min(380px, calc(100vw - 24px));
  transform: translateX(-50%);
  padding: 12px 16px 14px;
  border-radius: 20px;
  background: rgba(245, 246, 248, 0.9);
  backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  text-align: left;
  animation: smsIn 0.45s var(--ease);
}
.sms-notif[hidden] {
  display: none;
}
@keyframes smsIn {
  from {
    transform: translate(-50%, -140%);
  }
}
.sms-app {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-3);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}
.sms-ico {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: #34c759;
  color: #fff;
  display: grid;
  place-items: center;
}
.sms-ico .icon {
  width: 13px;
  height: 13px;
}
.sms-time {
  margin-left: auto;
  text-transform: none;
}
.sms-notif strong {
  font-size: 15px;
}
.sms-notif p {
  margin: 2px 0 0;
  font-size: 15px;
  color: var(--text);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav {
    gap: 22px;
  }
  .nav-link {
    font-size: 17px;
  }
  .lang-btn span:not(.icon) {
    display: none;
  }
}

@media (max-width: 900px) {
  .header-inner {
    height: 72px;
    padding: 0 16px;
    gap: 12px;
    justify-content: space-between;
  }
  .brand-white {
    font-size: 30px;
  }
  .burger {
    display: grid;
  }
  .main-nav {
    position: fixed;
    inset: 72px 0 0 0;
    background: #111418;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 20px;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
    overflow-y: auto;
  }
  body.nav-open .main-nav {
    transform: none;
  }
  body.nav-open .site-header {
    background: #111418;
  }
  .main-nav .nav-link {
    display: block;
    width: 100%;
    text-align: left;
    font-size: 22px;
    padding: 18px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .main-nav .nav-link::after {
    display: none;
  }
  .nav-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    background: transparent;
    box-shadow: none;
    padding: 0 0 8px 12px;
  }
  .nav-item.open .nav-menu {
    display: block;
  }
  .nav-menu a {
    color: #c9d0d9;
  }
  .nav-menu a:hover {
    background: rgba(255, 255, 255, 0.06);
  }
  .header-actions {
    gap: 6px;
  }
  .lang-menu {
    left: auto;
    right: 0;
  }
  .btn-login {
    min-height: 42px;
    padding: 0 18px;
    font-size: 16px;
  }
  .m-card {
    width: 150px;
    border-radius: 10px;
  }
  .m-card-info {
    bottom: 40px;
  }
  .m-card-info b {
    font-size: 16px;
  }
  .m-card-info em {
    font-size: 15px;
  }
  .m-card-btns span {
    width: 22px;
    height: 22px;
  }
  .m-card-btns span.lg {
    width: 27px;
    height: 27px;
  }
  .mosaic,
  .mosaic-col {
    gap: 12px;
  }
  .btn-hero {
    min-height: 54px;
    font-size: 19px;
  }
  .container {
    padding: 0 20px;
  }
  .stories,
  .premium,
  .safety {
    padding: 64px 0;
  }
  .stories-track {
    grid-auto-columns: 82%;
  }
  .premium-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .safety-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .safety-badge {
    width: 84px;
    height: 84px;
  }
  .safety-badge .icon {
    width: 40px;
    height: 40px;
  }
  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }
  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px;
  }
  .cookie-actions {
    width: auto;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .cookie-actions .btn {
    flex: 1;
  }
  .cookie-custom {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .site-header .beta-tag {
    display: none;
  }
  .hero-beta {
    font-size: 13px;
  }
  .stories-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .stories-nav {
    display: none;
  }
  .modal-box {
    padding: 36px 20px 24px;
  }
  .code-box {
    width: 40px;
  }
  .cookie-text p {
    font-size: 13px;
  }
}
