html.demo-en-active {
  color-scheme: only light;
  background: #a9c1cf;
}

html.demo-en-active body {
  margin: 0;
  height: 100dvh;
  max-height: none;
  overflow: hidden;
  background:
    radial-gradient(circle at 3% 92%, rgba(215, 232, 226, .45) 0 19%, transparent 19.2%),
    radial-gradient(circle at 100% 42%, rgba(225, 238, 235, .42) 0 17%, transparent 17.2%),
    #a9c1cf;
}

html.demo-en-active body > :not(#demo-en-root) {
  display: none !important;
}

#demo-en-root,
#demo-en-root * {
  box-sizing: border-box;
}

#demo-en-root {
  --de-red: #f65849;
  --de-ink: #0b473e;
  --de-mint: #cce5dd;
  --de-paper: #fffdf7;
  --de-yellow: #f7d56a;
  --de-blue: #d7e7f2;
  --de-lilac: #ded6ee;
  --de-peach: #f1d5c4;
  display: block;
  width: min(100%, 620px);
  height: 100dvh;
  margin: 0 auto;
  overflow: hidden;
  color: var(--de-ink);
  font-family: "WOW Manrope", "Helvetica", Arial, sans-serif;
  background: var(--de-mint);
  box-shadow: 0 18px 80px rgba(6, 53, 46, .24);
}

.de-app {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.de-scroll {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  padding: max(96px, calc(env(safe-area-inset-top) + 82px)) 22px max(116px, calc(env(safe-area-inset-bottom) + 102px));
  background:
    radial-gradient(circle at 104% 16%, rgba(255,255,255,.35) 0 18%, transparent 18.2%),
    radial-gradient(circle at -10% 82%, rgba(242, 214, 195, .42) 0 20%, transparent 20.2%),
    var(--de-mint);
}

.de-scroll::-webkit-scrollbar,
.de-menu__sheet::-webkit-scrollbar {
  display: none;
}

.de-header {
  position: absolute;
  z-index: 50;
  top: max(12px, env(safe-area-inset-top));
  left: 18px;
  right: 18px;
  height: 62px;
  display: grid;
  grid-template-columns: 58px 1fr 58px;
  align-items: center;
  pointer-events: none;
}

.de-header button,
.de-brand {
  pointer-events: auto;
}

.de-icon-button,
.de-profile {
  border: 0;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 19px;
  color: var(--de-ink);
  background: rgba(255, 253, 247, .94);
  box-shadow: 0 14px 30px rgba(5, 61, 52, .12);
  cursor: pointer;
}

.de-icon-button svg,
.de-profile svg,
.de-dock svg,
.de-card svg,
.de-menu-card svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.de-brand {
  justify-self: center;
  border: 0;
  padding: 10px 16px;
  color: var(--de-ink);
  background: transparent;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: .19em;
  white-space: nowrap;
  cursor: pointer;
}

.de-profile {
  font-weight: 850;
  font-size: 12px;
}

.de-kicker {
  display: block;
  margin: 0 0 8px;
  color: var(--de-red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.de-title {
  margin: 0;
  font-family: "WOW Literata", Georgia, serif;
  font-size: clamp(39px, 10vw, 58px);
  font-weight: 650;
  line-height: .97;
  letter-spacing: -.035em;
}

.de-title em {
  color: var(--de-red);
  font-family: inherit;
  font-style: normal;
}

.de-subtitle {
  max-width: 470px;
  margin: 14px 0 24px;
  color: rgba(11, 71, 62, .72);
  font-size: 14px;
  line-height: 1.55;
}

.de-selector {
  width: fit-content;
  max-width: 100%;
  margin-bottom: 18px;
  padding: 9px 13px 9px 9px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 26px;
  color: var(--de-ink);
  background: rgba(255, 253, 247, .9);
  box-shadow: 0 12px 28px rgba(5, 61, 52, .1);
  cursor: pointer;
}

.de-selector__dot {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--de-red);
  font-size: 16px;
}

.de-selector__dot svg,
.de-ai-card svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.de-selector small,
.de-selector strong {
  display: block;
  text-align: left;
}

.de-selector small {
  margin-bottom: 2px;
  color: var(--de-red);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.de-selector strong {
  font-size: 12px;
}

.de-hero-map {
  position: relative;
  min-height: 365px;
  margin: 22px 0;
  overflow: hidden;
  border: 8px solid rgba(255, 253, 247, .9);
  border-radius: 50% 46% 45% 48% / 43% 50% 46% 52%;
  background: #bcd9d0;
  box-shadow: 0 20px 45px rgba(5, 61, 52, .16);
}

.de-hero-map::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(155deg, rgba(255,255,255,.18), transparent 55%, rgba(11,71,62,.1));
}

.de-hero-map > img {
  width: 100%;
  height: 100%;
  min-height: 350px;
  object-fit: cover;
  animation: de-map-float 5.5s ease-in-out infinite;
}

.de-pin {
  position: absolute;
  z-index: 2;
  width: 34px;
  height: 34px;
  transform: translate(-50%, -50%);
  border: 5px solid #fff;
  border-radius: 50% 50% 50% 10%;
  color: #fff;
  background: var(--de-red);
  box-shadow: 0 8px 20px rgba(11, 71, 62, .2);
  cursor: pointer;
  animation: de-pin-hop 2.8s ease-in-out infinite;
}

.de-pin::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  top: 9px;
  left: 9px;
  border-radius: 50%;
  background: #fff;
}

.de-pin:nth-of-type(3n + 2) { animation-delay: .9s; }
.de-pin:nth-of-type(3n + 3) { animation-delay: 1.8s; }

.de-map-count {
  position: absolute;
  z-index: 3;
  top: 18px;
  left: 18px;
  padding: 12px 15px;
  border-radius: 18px 18px 18px 7px;
  color: var(--de-ink);
  background: rgba(255, 253, 247, .94);
  font-family: "WOW Literata", Georgia, serif;
  font-weight: 750;
  transform: rotate(-3deg);
}

.de-roundel {
  position: absolute;
  z-index: 4;
  right: 10px;
  bottom: 58px;
  width: 84px;
  height: 84px;
  padding: 7px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 12px 25px rgba(5, 61, 52, .18);
  animation: de-wobble 4.8s ease-in-out infinite;
}

.de-roundel img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.de-hero-actions {
  position: absolute;
  z-index: 5;
  left: 12px;
  right: 12px;
  bottom: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.de-action,
.de-action-secondary {
  min-height: 64px;
  padding: 12px 16px;
  border: 0;
  border-radius: 23px;
  font-weight: 850;
  cursor: pointer;
}

.de-action {
  color: #fff;
  background: var(--de-red);
}

.de-action-secondary {
  color: var(--de-ink);
  background: var(--de-paper);
}

.de-section-title {
  margin: 6px 0 16px;
  font-family: "WOW Literata", Georgia, serif;
  font-size: 30px;
  line-height: 1.02;
}

.de-ai-card,
.de-city-card,
.de-feature-card,
.de-place-card,
.de-place-hero {
  border: 0;
  color: var(--de-ink);
  text-align: left;
  box-shadow: 0 16px 35px rgba(5, 61, 52, .11);
}

.de-ai-card {
  width: 100%;
  margin: 10px 0 28px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  border-radius: 30px 16px 30px 16px;
  color: #fff;
  background: var(--de-ink);
  cursor: pointer;
}

.de-ai-card small,
.de-ai-card strong,
.de-ai-card span {
  display: block;
}

.de-ai-card small {
  color: var(--de-yellow);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
}

.de-ai-card strong {
  margin: 8px 0 5px;
  font-family: "WOW Literata", Georgia, serif;
  font-size: 29px;
  line-height: 1;
}

.de-ai-card span {
  color: rgba(255,255,255,.72);
  font-size: 12px;
}

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

.de-city-card,
.de-feature-card {
  min-height: 180px;
  padding: 20px;
  border-radius: 30px 22px 34px 24px;
  cursor: pointer;
}

.de-city-card:nth-child(1),
.de-feature-card:nth-child(4n + 1) { background: var(--de-blue); transform: rotate(-1deg); }
.de-city-card:nth-child(2),
.de-feature-card:nth-child(4n + 2) { background: var(--de-yellow); transform: rotate(1deg); }
.de-city-card:nth-child(3),
.de-feature-card:nth-child(4n + 3) { background: var(--de-lilac); transform: rotate(-.5deg); }
.de-city-card.active { outline: 3px solid var(--de-red); }

.de-city-card small,
.de-city-card strong,
.de-city-card span {
  display: block;
}

.de-city-card small {
  color: var(--de-red);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.de-city-card strong {
  margin: 34px 0 6px;
  font-family: "WOW Literata", Georgia, serif;
  font-size: 29px;
}

.de-city-card span {
  color: rgba(11, 71, 62, .66);
  font-size: 12px;
  line-height: 1.35;
}

.de-place-list {
  display: grid;
  gap: 14px;
}

.de-place-card {
  position: relative;
  width: 100%;
  min-height: 210px;
  padding: 22px;
  overflow: hidden;
  border-radius: 34px 22px 34px 22px;
  background:
    linear-gradient(155deg, rgba(255, 253, 247, .3), rgba(204, 229, 221, .88)),
    url("/assets/images/country-maps/nicaragua.svg") center / cover;
  cursor: pointer;
}

.de-place-card:nth-child(3n + 2) {
  background:
    linear-gradient(155deg, rgba(247, 213, 106, .28), rgba(222, 214, 238, .9)),
    url("/assets/images/country-maps/nicaragua.svg") center / cover;
}

.de-place-card:nth-child(3n + 3) {
  background:
    linear-gradient(155deg, rgba(246, 88, 73, .25), rgba(241, 213, 196, .92)),
    url("/assets/images/country-maps/nicaragua.svg") center / cover;
}

.de-place-card__number {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: "WOW Literata", Georgia, serif;
  font-size: 24px;
}

.de-place-card__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 253, 247, .92);
  animation: de-tile-float 3.8s ease-in-out infinite;
}

.de-place-card small,
.de-place-card strong,
.de-place-card p {
  display: block;
}

.de-place-card small {
  margin-top: 40px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.de-place-card strong {
  margin: 7px 0 6px;
  font-family: "WOW Literata", Georgia, serif;
  font-size: 27px;
  line-height: 1.02;
}

.de-place-card p {
  max-width: 92%;
  margin: 0;
  color: rgba(11, 71, 62, .73);
  font-size: 12px;
  line-height: 1.35;
}

.de-map-page {
  position: relative;
  min-height: calc(100dvh - 230px);
  overflow: hidden;
  border: 7px solid rgba(255, 253, 247, .9);
  border-radius: 42px;
  background: #bcd9d0;
  box-shadow: 0 18px 42px rgba(5, 61, 52, .15);
}

.de-map-page > img {
  width: 100%;
  min-height: calc(100dvh - 245px);
  object-fit: cover;
}

.de-map-page .de-pin {
  width: 40px;
  height: 40px;
}

.de-map-page .de-pin::after {
  top: 12px;
  left: 12px;
}

.de-place-hero {
  min-height: 270px;
  padding: 28px;
  border-radius: 40px 25px 40px 25px;
  background:
    linear-gradient(160deg, rgba(246, 88, 73, .2), rgba(255, 253, 247, .92)),
    url("/assets/images/country-maps/nicaragua.svg") center / cover;
}

.de-place-hero__number {
  display: block;
  margin-bottom: 60px;
  color: var(--de-red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .13em;
}

.de-place-hero h1 {
  margin: 0 0 9px;
  font-family: "WOW Literata", Georgia, serif;
  font-size: clamp(34px, 9vw, 50px);
  line-height: .98;
}

.de-place-hero p {
  margin: 0;
  color: rgba(11, 71, 62, .72);
  line-height: 1.5;
}

.de-facts {
  margin: 14px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.de-fact {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 253, 247, .82);
}

.de-fact small,
.de-fact strong {
  display: block;
}

.de-fact small {
  margin-bottom: 6px;
  color: var(--de-red);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
}

.de-full-button {
  width: 100%;
  min-height: 62px;
  margin-top: 12px;
  border: 0;
  border-radius: 24px;
  color: #fff;
  background: var(--de-red);
  font-weight: 900;
  cursor: pointer;
}

.de-dock {
  position: absolute;
  z-index: 45;
  left: 18px;
  right: 18px;
  bottom: max(12px, env(safe-area-inset-bottom));
  min-height: 78px;
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  border-radius: 30px;
  background: rgba(255, 253, 247, .94);
  box-shadow: 0 18px 45px rgba(5, 61, 52, .16);
  backdrop-filter: blur(14px);
}

.de-dock button {
  border: 0;
  min-width: 0;
  padding: 8px 4px;
  display: grid;
  place-items: center;
  gap: 4px;
  border-radius: 22px;
  color: rgba(11, 71, 62, .58);
  background: transparent;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}

.de-dock button.active {
  color: #fff;
  background: var(--de-red);
}

.de-dock svg {
  width: 20px;
  height: 20px;
}

.de-menu {
  position: absolute;
  z-index: 100;
  inset: 0;
  padding: max(24px, env(safe-area-inset-top)) 18px max(24px, env(safe-area-inset-bottom));
  display: grid;
  background: rgba(197, 222, 215, .95);
  backdrop-filter: blur(18px);
}

.de-menu[hidden] {
  display: none;
}

.de-menu__sheet {
  width: 100%;
  max-height: 100%;
  padding: 18px 5px 24px;
  overflow-y: auto;
  scrollbar-width: none;
}

.de-menu__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.de-menu__top h2 {
  margin: 26px 0 26px;
  font-family: "WOW Literata", Georgia, serif;
  font-size: 42px;
  line-height: .96;
}

.de-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.de-menu-card {
  min-height: 142px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  border: 0;
  border-radius: 38px 23px 42px 25px;
  color: var(--de-ink);
  background: var(--de-paper);
  text-align: left;
  cursor: pointer;
  animation: de-card-in .52s cubic-bezier(.2,.8,.2,1) both;
}

.de-menu-card:nth-child(4n + 1) { background: var(--de-blue); transform: rotate(-1deg); }
.de-menu-card:nth-child(4n + 2) { background: var(--de-yellow); transform: rotate(1deg); }
.de-menu-card:nth-child(4n + 3) { background: var(--de-lilac); transform: rotate(.5deg); }
.de-menu-card:nth-child(4n) { background: var(--de-peach); transform: rotate(-.5deg); }
.de-menu-card strong { font-family: "WOW Literata", Georgia, serif; font-size: 23px; }

.de-menu-card--wide {
  grid-column: 1 / -1;
  min-height: 112px;
  color: #fff;
  background: var(--de-ink) !important;
}

.de-notice {
  position: absolute;
  z-index: 150;
  left: 28px;
  right: 28px;
  bottom: max(108px, calc(env(safe-area-inset-bottom) + 98px));
  padding: 15px 18px;
  border-radius: 20px;
  color: #fff;
  background: var(--de-ink);
  box-shadow: 0 16px 40px rgba(5,61,52,.22);
  font-size: 13px;
  line-height: 1.4;
}

.de-notice[hidden] { display: none; }

@keyframes de-map-float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-5px) rotate(1deg); }
}

@keyframes de-pin-hop {
  0%, 68%, 100% { translate: 0 0; }
  76% { translate: 0 -8px; }
}

@keyframes de-wobble {
  0%, 72%, 100% { transform: rotate(0); }
  80% { transform: rotate(-3deg); }
  88% { transform: rotate(3deg); }
}

@keyframes de-tile-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes de-card-in {
  from { opacity: 0; translate: 0 14px; scale: .97; }
  to { opacity: 1; translate: 0 0; scale: 1; }
}

@media (min-width: 720px) {
  #demo-en-root {
    margin-top: 20px;
    height: calc(100dvh - 40px);
    border: 10px solid rgba(255,255,255,.88);
    border-radius: 58px;
  }

  .de-app,
  .de-scroll {
    border-radius: 48px;
  }
}

@media (max-width: 420px) {
  .de-scroll { padding-inline: 16px; }
  .de-grid { gap: 9px; }
  .de-city-card { min-height: 162px; padding: 17px; }
  .de-city-card strong { font-size: 25px; }
  .de-hero-map { min-height: 330px; }
  .de-hero-map > img { min-height: 318px; }
}

@media (prefers-reduced-motion: reduce) {
  #demo-en-root *,
  #demo-en-root *::before,
  #demo-en-root *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
