@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans/PlusJakartaSans-Regular.de9f1f568ef6.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans/PlusJakartaSans-SemiBold.8a001b1954af.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans/PlusJakartaSans-Bold.e04b399e0a2e.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --demo-bg: #f4f0e8;
  --demo-paper: #fbfaf7;
  --demo-ink: #17201f;
  --demo-muted: #5c6865;
  --demo-line: rgba(23, 32, 31, 0.14);
  --demo-accent: #0f766e;
  --demo-accent-strong: #0a5b55;
  --demo-shadow: 0 24px 70px rgba(31, 39, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 9%, rgba(15, 118, 110, 0.07), transparent 28rem),
    linear-gradient(180deg, #f7f4ee 0%, var(--demo-bg) 100%);
  color: var(--demo-ink);
  font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.mappa-demo-container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.mappa-demo-skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--demo-shadow);
}

.mappa-demo-skip:focus {
  transform: translateY(0);
}

.mappa-demo-header {
  border-bottom: 1px solid var(--demo-line);
  background: rgba(251, 250, 247, 0.82);
  backdrop-filter: blur(16px);
}

.mappa-demo-header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.mappa-demo-brand img {
  width: clamp(132px, 16vw, 184px);
  height: auto;
}

.mappa-demo-back {
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.mappa-demo-back:hover,
.mappa-demo-back:focus-visible {
  color: var(--demo-accent);
}

.mappa-demo-main {
  outline: none;
}

.mappa-demo-intro {
  padding: clamp(64px, 8vw, 108px) 0 42px;
}

.mappa-demo-intro__inner {
  max-width: 860px;
  text-align: center;
}

.mappa-demo-eyebrow {
  margin: 0 0 16px;
  color: var(--demo-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mappa-demo-intro h1,
.mappa-demo-next h2 {
  margin: 0;
  letter-spacing: -0.045em;
}

.mappa-demo-intro h1 {
  font-size: clamp(2.45rem, 6vw, 5.15rem);
  line-height: 0.98;
}

.mappa-demo-lead {
  max-width: 760px;
  margin: 26px auto 0;
  color: var(--demo-muted);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.72;
}

.mappa-demo-player-section {
  padding-bottom: clamp(68px, 8vw, 112px);
}

.mappa-demo-player-shell {
  overflow: hidden;
  border: 1px solid rgba(23, 32, 31, 0.18);
  border-radius: 24px;
  background: #0f1514;
  box-shadow: var(--demo-shadow);
}

.mappa-demo-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f1514;
}

.mappa-demo-moments {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
}

.mappa-demo-moments li {
  min-height: 130px;
  padding: 20px;
  border-top: 1px solid var(--demo-line);
}

.mappa-demo-moments span {
  display: block;
  margin-bottom: 14px;
  color: var(--demo-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.mappa-demo-moments p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
}

.mappa-demo-next {
  padding: 0 0 clamp(72px, 8vw, 116px);
}

.mappa-demo-next__card {
  padding: clamp(34px, 6vw, 72px);
  border: 1px solid var(--demo-line);
  border-radius: 28px;
  background: var(--demo-paper);
  text-align: center;
  box-shadow: 0 16px 46px rgba(31, 39, 38, 0.07);
}

.mappa-demo-next h2 {
  max-width: 760px;
  margin-inline: auto;
  font-size: clamp(2rem, 4.4vw, 3.7rem);
  line-height: 1.04;
}

.mappa-demo-next__card > p:not(.mappa-demo-eyebrow) {
  max-width: 700px;
  margin: 22px auto 0;
  color: var(--demo-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.mappa-demo-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  margin-top: 30px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--demo-accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease;
}

.mappa-demo-cta:hover {
  transform: translateY(-1px);
  background: var(--demo-accent-strong);
}

.mappa-demo-cta:focus-visible,
.mappa-demo-back:focus-visible,
.mappa-demo-footer a:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.28);
  outline-offset: 4px;
}

.mappa-demo-next small {
  display: block;
  margin-top: 14px;
  color: var(--demo-muted);
  font-size: 0.78rem;
}

.mappa-demo-footer {
  border-top: 1px solid var(--demo-line);
  color: var(--demo-muted);
}

.mappa-demo-footer .mappa-demo-container {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 0.8rem;
}

.mappa-demo-footer a {
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 820px) {
  .mappa-demo-moments {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .mappa-demo-container {
    width: min(100% - 28px, 1120px);
  }

  .mappa-demo-header__inner {
    min-height: 68px;
  }

  .mappa-demo-back {
    font-size: 0.78rem;
  }

  .mappa-demo-intro {
    padding-top: 52px;
  }

  .mappa-demo-player-shell {
    border-radius: 16px;
  }

  .mappa-demo-moments {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .mappa-demo-moments li {
    min-height: auto;
    padding: 18px 2px;
  }

  .mappa-demo-next__card {
    border-radius: 20px;
  }

  .mappa-demo-footer .mappa-demo-container {
    min-height: 104px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
  }
}

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

  .mappa-demo-cta {
    transition: none;
  }
}
