@font-face {
  font-family: "Nunito";
  src: url("fonts/Nunito-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: block;
}

@font-face {
  font-family: "Nunito";
  src: url("fonts/Nunito-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: block;
}

@font-face {
  font-family: "Nunito";
  src: url("fonts/Nunito-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: block;
}

@font-face {
  font-family: "Nunito";
  src: url("fonts/Nunito-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: block;
}

@font-face {
  font-family: "Nunito";
  src: url("fonts/Nunito-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: block;
}

@font-face {
  font-family: "Nunito";
  src: url("fonts/Nunito-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 900;
  font-display: block;
}

@font-face {
  font-family: "Fredoka";
  src: url("fonts/Fredoka-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: block;
}

@font-face {
  font-family: "Fredoka";
  src: url("fonts/Fredoka-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: block;
}

@font-face {
  font-family: "Fredoka";
  src: url("fonts/Fredoka-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: block;
}

@font-face {
  font-family: "Fredoka";
  src: url("fonts/Fredoka-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: block;
}

:root {
  --ink: #3d3d3d;
  --text-primary: #3d3d3d;
  --soft: #6b6b6b;
  --purple: #5e7bef;
  --dark: #3c5cc2;
  --pale: #d6c8fa;
  --mint: #99e7cc;
  --gold: #ffd85d;
  --cream: #f5efea;
  --paper: #fff9f5;
  --surface: #ffffff;
  --line: rgba(74, 74, 74, 0.18);
  --cta-primary: #5e7bef;
  --cta-secondary: #fff9f5;
  --text-link: #3c5cc2;
  --premium-background: #0d2146;
  --panel-background: #dcefff;
  --space-gray: #4a4a4a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text-primary);
  font-family: "Nunito", "Avenir Next", "Trebuchet MS", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.04em;
}

.header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: 88px;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 0 clamp(22px, 5vw, 72px);
  background: rgba(255, 249, 245, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(74, 74, 74, 0.1);
}

.logo {
  width: 120px;
  display: flex;
}

.logo img {
  width: 100%;
  height: auto;
}

.header nav {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 3vw, 46px);
  font-weight: 800;
  font-size: 14px;
}

.header nav a {
  position: relative;
}

.header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 3px;
  background: var(--mint);
  border-radius: 4px;
  transition: 0.25s;
}

.header nav a:hover::after {
  right: 0;
}

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.language-picker {
  position: relative;
}

.language-picker summary {
  min-height: 44px;
  min-width: 116px;
  padding: 0 36px 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-primary);
  font-weight: 900;
  letter-spacing: 0.02em;
  list-style: none;
  cursor: pointer;
  user-select: none;
  transition: 0.2s;
}

.language-picker__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.language-picker summary::-webkit-details-marker {
  display: none;
}

.language-picker summary::before {
  content: "";
  position: absolute;
  right: 12px;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.8;
}

.language-picker[open] summary {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(13, 33, 70, 0.16);
}

.language-picker[open] summary::before {
  transform: rotate(-135deg) translateY(-1px);
}

.header .language-picker__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 190px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 4px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  box-shadow: 0 16px 34px rgba(13, 33, 70, 0.2);
}

.language-picker__item {
  min-height: 40px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 700;
}

.flag {
  position: relative;
  overflow: hidden;
  width: 16px;
  height: 12px;
  border-radius: 3px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  flex: 0 0 auto;
  display: inline-block;
}

.flag-mx {
  background: linear-gradient(
    to right,
    #1f8f48 0%,
    #1f8f48 33.33%,
    #ffffff 33.33%,
    #ffffff 66.66%,
    #cf3348 66.66%,
    #cf3348 100%
  );
}

.flag-mx::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2.5px;
  height: 2.5px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #8b5e2b;
}

.flag-fr {
  background: linear-gradient(
    to right,
    #2756b4 0%,
    #2756b4 33.33%,
    #ffffff 33.33%,
    #ffffff 66.66%,
    #e34a59 66.66%,
    #e34a59 100%
  );
}

.flag-en {
  position: relative;
  overflow: hidden;
  background: repeating-linear-gradient(
    to bottom,
    #cf3348 0,
    #cf3348 1.2px,
    #ffffff 1.2px,
    #ffffff 2.4px
  );
}

.flag-en::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 7px;
  height: 6px;
  background: #23458f;
}

a.language-picker__item:hover {
  background: var(--panel-background);
  color: var(--text-link);
}

.language-picker__item.is-active {
  background: var(--cta-primary);
  color: #ffffff;
}

.hero {
  min-height: calc(100vh - 88px);
  max-width: 1480px;
  margin: auto;
  padding: 68px clamp(22px, 5vw, 72px) 50px;
  display: grid;
  grid-template-columns: minmax(370px, 0.88fr) minmax(480px, 1.12fr);
  align-items: center;
  gap: clamp(30px, 5vw, 80px);
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 17px;
  color: var(--dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.hero h1 {
  font-size: clamp(52px, 5.2vw, 78px);
  line-height: 0.98;
  margin-bottom: 28px;
  font-weight: 900;
}

.lead {
  max-width: 620px;
  color: var(--soft);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 31px;
}

.primary,
.secondary {
  min-height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  padding: 0 28px;
  border: 1px solid transparent;
  font-size: 16px;
  letter-spacing: 0.01em;
  font-weight: 800;
  transition: 0.2s;
}

.primary {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
  background: #5e7bef;
  border-color: rgba(173, 192, 244, 0.5);
  box-shadow: 0 6px 0 #4a4a4a, 0 14px 28px rgba(94, 123, 239, 0.32);
}

.secondary {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--text-link);
  background: var(--cta-secondary);
  border-color: rgba(74, 74, 74, 0.22);
  box-shadow: 0 5px 0 rgba(74, 74, 74, 0.36), 0 12px 22px rgba(74, 74, 74, 0.14);
}

.primary:hover,
.secondary:hover {
  transform: translateY(-2px);
}

.primary:active,
.secondary:active {
  transform: translateY(2px);
}

.trust {
  margin-top: 24px;
  color: var(--soft);
  font-size: 14px;
  font-weight: 800;
}

.portal-wrap {
  position: relative;
  height: min(690px, 73vh);
  min-height: 560px;
}

.portal {
  position: absolute;
  inset: 2% 7% 0 11%;
  overflow: hidden;
  border-radius: 48% 48% 24px 24px / 28% 28% 24px 24px;
  border: 11px solid var(--panel-background);
  background: var(--premium-background);
  box-shadow: 0 30px 80px rgba(13, 33, 70, 0.3);
}

.portal::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -50px;
  background: rgba(174, 215, 255, 0.45);
  filter: blur(35px);
}

.portal > img:first-child {
  width: 100%;
  height: 100%;
  background: #ffffff;
  object-fit: cover;
}

.hero-device {
  position: absolute;
  z-index: 9;
  right: -1%;
  bottom: 1%;
  display: grid;
  justify-items: center;
  gap: 10px;
  transform: rotate(6deg);
}

.hero-device__frame {
  position: relative;
  width: clamp(170px, 22vw, 230px);
  aspect-ratio: 9 / 19;
  padding: 8px;
  border-radius: 34px;
  background: linear-gradient(170deg, #2a2257, #0f0d26);
  box-shadow: 0 24px 52px rgba(13, 33, 70, 0.35);
}

.hero-device__frame::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 29px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.hero-device__notch {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 50%;
  width: 44%;
  height: 18px;
  border-radius: 0 0 14px 14px;
  transform: translateX(-50%);
  background: #0c0a22;
}

.hero-device__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 24px;
  background: #1f2959;
}


.section {
  max-width: 1320px;
  margin: auto;
  padding: 118px clamp(22px, 5vw, 70px);
}

.section-title {
  max-width: 790px;
  margin: auto;
  text-align: center;
}

.section-title h2,
.world-copy h2,
.faq-title h2,
.launch h2 {
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 1.04;
  font-weight: 900;
  margin-bottom: 22px;
}

.section-title > p:last-child,
.world-copy > p {
  color: var(--soft);
  font-size: 19px;
  line-height: 1.6;
}

.worlds {
  min-height: 800px;
  padding: 100px clamp(25px, 7vw, 108px);
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 68px;
  align-items: center;
  background: var(--premium-background);
  color: #ffffff;
  overflow: hidden;
}

.world-copy {
  max-width: 520px;
}

.world-copy .eyebrow {
  color: var(--mint);
}

.world-copy > p {
  color: #cbc5e0;
}

.world-copy > a {
  display: inline-flex;
  margin-top: 20px;
  color: var(--mint);
  font-weight: 900;
}

.story-grid {
  height: 620px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  transform: rotate(2deg);
}

.story {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  min-height: 290px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.26);
  transition: 0.3s;
}

.story:hover {
  transform: translateY(-8px) rotate(-1deg);
}

.story img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story > div {
  position: absolute;
  inset: auto 0 0;
  padding: 50px 18px 18px;
  display: grid;
  gap: 4px;
  background: linear-gradient(transparent, rgba(20, 12, 54, 0.9));
}

.story small {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 10px;
  font-weight: 900;
}

.story strong {
  font-size: 16px;
}

.story-1,
.story-3 {
  transform: translateY(27px);
}

.expanded-benefits {
  padding-top: 86px;
}

.pillar-grid {
  margin-top: 42px;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pillar-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 12px 30px rgba(33, 24, 79, 0.08);
}

.pillar-card h3 {
  margin: 0 0 10px;
  font-size: 1.6rem;
}

.pillar-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--soft);
  display: grid;
  gap: 8px;
}

.situations {
  width: 100vw;
  max-width: none;
  margin: 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 118px 0;
  background: var(--premium-background);
  color: #ffffff;
  position: relative;
}

.situations > .section-title,
.situations > .situation-gallery,
.situations > .situations-note {
  width: min(1320px, calc(100% - clamp(44px, 10vw, 140px)));
  margin-left: auto;
  margin-right: auto;
}

.situations .eyebrow {
  color: var(--mint);
}

.situations .section-title h2 {
  color: #ffffff;
}

.situations .section-title > p:last-child,
.situations-note {
  color: #c9d4f5;
}

.situation-gallery {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.situation-gallery article {
  margin: 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}

.situation-gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.situation-gallery p {
  margin: 0;
  padding: 10px 12px 13px;
  font-weight: 800;
  color: var(--ink);
}

.situations-note {
  margin: 18px 0 0;
  text-align: center;
  font-size: 1.02rem;
  font-weight: 700;
  color: #c9d4f5;
}

.success-testimonials {
  padding-top: 34px;
}

.success-testimonials__grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.success-testimonial-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 14px 30px rgba(33, 24, 79, 0.08);
}

.success-testimonial-card__rating {
  margin: 0 0 12px;
  color: #f4b400;
  font-size: 15px;
  letter-spacing: 0.12em;
}

.success-testimonial-card__quote {
  margin: 0;
  color: var(--ink);
  line-height: 1.6;
  font-size: 1.03rem;
}

.success-testimonial-card__author {
  margin: 14px 0 0;
  color: var(--soft);
  font-weight: 800;
  font-size: 0.95rem;
}


.historic-characters {
  padding-top: 46px;
}

#historicos {
  width: 100vw;
  max-width: none;
  margin: 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 118px 0;
  background: #0d2146;
  color: #ffffff;
  position: relative;
}

#historicos > .section-title,
#historicos > .historic-grid {
  width: min(1320px, calc(100% - clamp(44px, 10vw, 140px)));
  margin-left: auto;
  margin-right: auto;
}

#historicos .eyebrow {
  color: var(--mint);
}

#historicos .section-title h2 {
  color: #ffffff;
}

#historicos .section-title > p:last-child {
  color: #c9d4f5;
}

.historic-grid {
  margin-top: 36px;
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(335px, 1fr));
  align-items: stretch;
}

.historic-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: visible;
  box-shadow: 0 12px 28px rgba(33, 24, 79, 0.08);
}

.historic-card__number {
  position: absolute;
  z-index: 3;
  top: -22px;
  left: 20px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--cta-primary);
  color: #ffffff;
  border-radius: 14px;
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 6px 0 rgba(60, 92, 194, 0.5);
}

.historic-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 24px 24px 0 0;
}

.historic-card img.historic-card__img--contain {
  display: block;
  height: auto;
  aspect-ratio: auto;
  object-fit: fill;
  background: transparent;
}

.historic-card h3 {
  margin: 14px 16px 8px;
  font-size: 1.6rem;
}

.historic-card p {
  margin: 0 16px 18px;
  color: var(--soft);
}


.plans {
  width: 100vw;
  max-width: none;
  margin: 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 118px 0;
  background: var(--premium-background);
  color: #ffffff;
  position: relative;
}

.plans > .section-title,
.plans > .plan-grid {
  width: min(1100px, calc(100% - clamp(44px, 10vw, 140px)));
  margin-left: auto;
  margin-right: auto;
}

.plans .eyebrow {
  color: var(--mint);
}

.plans .section-title h2 {
  color: #ffffff;
}

.plans .section-title > p:last-child {
  color: #c9d4f5;
}

.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 25px;
  align-items: center;
  margin-top: 58px;
}

.plan {
  position: relative;
  padding: 39px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #ffffff;
  color: var(--text-primary);
  box-shadow: 0 20px 60px rgba(48, 34, 97, 0.08);
}

.plan > small {
  color: var(--soft);
  font-weight: 800;
}

.plan h3 {
  font-size: 30px;
  margin: 8px 0 19px;
  font-weight: 900;
  color: var(--text-primary);
}

.membership-inline-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex: 0 0 auto;
}

.premium-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.price b {
  font-size: 46px;
  letter-spacing: -0.05em;
  color: var(--text-primary);
}

.price span {
  color: var(--soft);
  font-weight: 800;
}

.plan ul {
  list-style: none;
  padding: 18px 0 7px;
  display: grid;
  gap: 14px;
  color: var(--text-primary);
}

.plan li::before {
  content: "✓";
  color: var(--cta-primary);
  font-weight: 900;
  margin-right: 10px;
}

.full {
  width: 100%;
  text-align: center;
}

.premium {
  padding-top: 52px;
  border: 2px solid var(--cta-primary);
  background: linear-gradient(160deg, #ffffff, #f3f8ff);
}

.premium mark {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 20px;
  background: var(--mint);
  color: var(--ink);
  font-size: 10px;
  letter-spacing: 0.08em;
  font-weight: 900;
}

.annual {
  text-align: center;
  color: var(--soft);
  font-size: 14px;
  margin: 18px 0 0;
}

.premium-annual-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.membership-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.faq {
  width: 100vw;
  max-width: none;
  margin: 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 118px clamp(22px, 5vw, 70px);
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 78px;
  align-items: start;
  background: var(--paper);
  color: var(--text-primary);
  border-radius: 0;
}

.faq-title {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.faq-title .eyebrow {
  color: var(--dark);
}

.faq-title h2 {
  font-size: clamp(39px, 4vw, 55px);
  color: var(--ink);
  margin-bottom: 14px;
}

.faq-title__description {
  margin: 0;
  max-width: 460px;
  color: var(--soft);
  line-height: 1.6;
}

.faq-title img {
  display: block;
  width: 300px;
  height: auto;
  margin: auto auto 0;
}

.faq-list {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 18px 40px rgba(9, 14, 34, 0.24);
  overflow: hidden;
}

.faq details {
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 0;
}

.faq summary,
.faq-summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 34px;
  font-size: 17px;
  font-weight: 900;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq-summary__text {
  flex: 1;
  min-width: 0;
  color: var(--ink);
}

.faq-summary__icon {
  position: relative;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  color: var(--purple);
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.28s ease, color 0.28s ease;
}

.faq details[open] .faq-summary__icon {
  transform: rotate(-135deg);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.34s ease, opacity 0.28s ease, margin-top 0.34s ease;
  margin-top: 0;
}

.faq-panel__inner {
  padding-top: 2px;
}

.faq-panel p {
  margin: 14px 52px 2px 0;
  color: var(--soft);
  line-height: 1.65;
}

.faq details[open] .faq-panel {
  max-height: 320px;
  opacity: 1;
  margin-top: 6px;
}

.faq details:hover .faq-summary__icon {
  color: var(--text-link);
}

.launch {
  position: relative;
  max-width: 1180px;
  min-height: 390px;
  margin: 20px auto 100px;
  padding: 68px clamp(28px, 7vw, 95px);
  display: grid;
  grid-template-columns: 230px 1fr;
  align-items: center;
  gap: 45px;
  overflow: hidden;
  border-radius: 43px;
  background: linear-gradient(135deg, #5e7bef, #84bce9);
  color: #ffffff;
}

.launch::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  right: -100px;
  bottom: -250px;
  background: rgba(255, 236, 144, 0.38);
}

.launch img,
.launch > div {
  position: relative;
  z-index: 2;
}

.launch img {
  filter: drop-shadow(0 18px 25px rgba(23, 12, 59, 0.35));
  animation: launchFloat 5s infinite;
}

.launch .eyebrow {
  color: var(--gold);
}

.launch h2 {
  font-size: clamp(38px, 4.1vw, 58px);
}

.launch > div > p {
  color: #e5e0f3;
  font-size: 18px;
  line-height: 1.55;
}

.store-badge {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  margin-top: 10px;
  padding: 0 21px;
  border-radius: 14px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 900;
}

footer {
  padding: 52px 6vw 38px;
  display: grid;
  justify-items: center;
  text-align: center;
  background: var(--premium-background);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

footer img {
  width: 125px;
  height: auto;
}

footer > p {
  color: #c8c1df;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 6px;
}

.legal-btn {
  min-height: 48px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid rgba(200, 193, 223, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  transition: 0.2s;
}

.legal-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.14);
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 27px;
  margin: 18px 0 35px;
  font-size: 14px;
  font-weight: 850;
}

footer small {
  color: #8e84ad;
}

.brand-tag {
  position: fixed;
  right: 0;
  bottom: 124px;
  z-index: 110;
  width: 30px;
  padding: 5px;
  background: #222222;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.brand-tag a {
  display: block;
  line-height: 0;
}

.brand-tag a img {
  display: block;
  width: 20px;
  height: auto;
  border: 0;
}

.cookie-banner {
  position: fixed;
  z-index: 120;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 18px 45px rgba(33, 24, 79, 0.2);
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-banner__content {
  min-width: 0;
}

.cookie-banner__title {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 900;
}

.cookie-banner__text {
  margin: 0;
  color: var(--soft);
  line-height: 1.45;
  font-size: 0.93rem;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.cookie-banner__link,
.cookie-banner__btn {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  font-weight: 900;
  font-family: inherit;
  font-size: 0.9rem;
}

.cookie-banner__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
}

.cookie-banner__btn {
  cursor: pointer;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--text-primary);
}

.cookie-banner__btn--ghost {
  background: rgba(255, 255, 255, 0.92);
}

.cookie-banner__btn--primary {
  background: var(--cta-primary);
  border-color: var(--cta-primary);
  color: #ffffff;
}

body.theme-dark {
  --ink: #f4f7ff;
  --text-primary: #f4f7ff;
  --soft: #d0daf3;
  --purple: #7f9dff;
  --dark: #cbd8ff;
  --pale: #1d3566;
  --mint: #7dddbc;
  --gold: #ffec90;
  --cream: #132a52;
  --paper: #0d2146;
  --surface: #17305e;
  --line: rgba(214, 228, 255, 0.28);
  --cta-primary: #5e7bef;
  --cta-secondary: #224170;
  --text-link: #e3ebff;
  --premium-background: #0d2146;
  --panel-background: #274a7c;
  --space-gray: #1d3563;
}

body.theme-dark .header {
  background: rgba(13, 33, 70, 0.92);
  border-bottom-color: rgba(214, 228, 255, 0.18);
}


body.theme-dark .language-picker summary {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(214, 228, 255, 0.36);
  color: #edf2ff;
}

body.theme-dark .language-picker__menu {
  background: var(--surface);
  border-color: rgba(214, 228, 255, 0.3);
  box-shadow: 0 16px 34px rgba(11, 24, 53, 0.5);
}

body.theme-dark .flag {
  border-color: rgba(214, 228, 255, 0.35);
}

body.theme-dark a.language-picker__item:hover {
  background: rgba(94, 123, 239, 0.22);
  color: #ffffff;
}

body.theme-dark .language-picker__item.is-active {
  background: var(--cta-primary);
  color: #ffffff;
}

body.theme-dark .hero {
  background: transparent;
}

body.theme-dark .secondary {
  background: var(--cta-secondary);
  border-color: rgba(214, 228, 255, 0.36);
  color: var(--text-link);
  box-shadow: 0 5px 0 rgba(39, 57, 102, 0.82), 0 12px 22px rgba(19, 33, 69, 0.32);
}

body.theme-dark .primary {
  background: #5e7bef;
  border-color: rgba(187, 208, 255, 0.42);
  box-shadow: 0 6px 0 rgba(39, 57, 102, 0.9), 0 16px 28px rgba(56, 87, 175, 0.34);
}

body.theme-dark .worlds,
body.theme-dark footer {
  background: var(--premium-background);
}
body.theme-dark .pillar-card,
body.theme-dark .historic-card,
body.theme-dark .situation-gallery article,
body.theme-dark .plan,
body.theme-dark .legal-btn,
body.theme-dark .faq-list {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: 0 16px 34px rgba(22, 35, 74, 0.34);
}

body.theme-dark .faq details {
  background: transparent;
  box-shadow: none;
  border-bottom-color: rgba(167, 186, 255, 0.2);
}

body.theme-dark .plan.premium {
  background: linear-gradient(160deg, #3a528f, #314a85);
  border-color: rgba(214, 228, 255, 0.45);
}

body.theme-dark .plan.premium mark {
  background: #ffd85d;
  color: #102541;
  border: 1px solid rgba(16, 37, 65, 0.2);
  box-shadow: 0 6px 14px rgba(4, 6, 20, 0.35);
}

body.theme-dark .success-testimonial-card {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: 0 16px 34px rgba(22, 35, 74, 0.34);
}

body.theme-dark .success-testimonial-card__quote {
  color: #edf2ff;
}

body.theme-dark .success-testimonial-card__author {
  color: #c9d4f5;
}

body.theme-dark .launch {
  background: linear-gradient(135deg, #3c548f, #5e7bef);
}

body.theme-dark .faq {
  background: var(--premium-background);
}

body.theme-dark .faq-list {
  background: linear-gradient(160deg, #132347, #0f1b38);
  border-color: rgba(167, 186, 255, 0.28);
  box-shadow: 0 18px 40px rgba(4, 8, 22, 0.42);
}

body.theme-dark .faq-summary__icon {
  color: #d6c8fa;
}

body.theme-dark .faq-summary__text {
  color: #f4f7ff;
}

body.theme-dark .faq-panel p {
  color: #c9d4f5;
}

body.theme-dark .faq-title h2,
body.theme-dark .faq-title__description {
  color: #ffffff;
}

body.theme-dark .faq details {
  border-bottom-color: rgba(167, 186, 255, 0.18);
}

body.theme-dark .mint-ui em,
body.theme-dark .footer > p,
body.theme-dark footer > p,
body.theme-dark footer small {
  color: #afbcdf;
}

body.theme-dark .cookie-banner {
  background: rgba(26, 35, 74, 0.94);
  border-color: var(--line);
  box-shadow: 0 20px 46px rgba(5, 8, 25, 0.56);
}

body.theme-dark .cookie-banner__btn {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line);
  color: #edf2ff;
}

body.theme-dark .cookie-banner__btn--primary {
  background: #60e1c2;
  border-color: #60e1c2;
  color: #102541;
}

@keyframes float {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-12px);
  }
}

@keyframes launchFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }

  50% {
    transform: translateY(-10px) rotate(2deg);
  }
}

@media (max-width: 900px) {
  .header {
    grid-template-columns: 1fr auto;
    height: 76px;
  }

  .header nav {
    display: none;
  }

  .logo {
    width: 100px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 58px;
    text-align: center;
  }

  .hero-copy {
    display: grid;
    justify-items: center;
  }

  .actions {
    justify-content: center;
  }

  .portal-wrap {
    width: min(620px, 100%);
    height: 620px;
    margin: auto;
  }

  .hero-device {
    right: 1%;
    bottom: 1%;
    transform: rotate(4deg);
  }

  .hero-device__frame {
    width: min(205px, 36vw);
  }

  .pillar-grid,
  .historic-grid,
  .situation-gallery {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
  }

  .worlds,
  .faq {
    grid-template-columns: 1fr;
  }

  .world-copy {
    text-align: center;
    margin: auto;
  }

  .story-grid {
    width: min(700px, 100%);
    margin: auto;
  }

  .faq-title {
    position: static;
    text-align: center;
  }

  .plan-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
  }

  .launch {
    margin-inline: 24px;
  }

  .legal-actions {
    width: 100%;
    max-width: 620px;
  }

  .legal-btn {
    flex: 1;
    min-width: 230px;
  }

}

@media (max-width: 560px) {
  .header {
    padding-inline: 18px;
  }

  .language-picker summary {
    min-width: 104px;
    min-height: 40px;
    padding: 0 30px 0 12px;
    font-size: 13px;
  }

  .language-picker__menu {
    min-width: 170px;
  }

  .hero {
    padding: 48px 18px 38px;
  }

  .hero h1 {
    font-size: 47px;
  }

  .lead {
    font-size: 17px;
  }

  .actions,
  .actions a {
    width: 100%;
  }

  .portal-wrap {
    min-height: 430px;
    height: 470px;
  }

  .portal {
    inset: 2% 2% 0;
    border-width: 7px;
  }

  .hero-device {
    right: 0;
    bottom: 1%;
    transform: rotate(3deg);
    gap: 7px;
  }

  .hero-device__frame {
    width: min(170px, 44vw);
    border-radius: 28px;
    padding: 7px;
  }

  .hero-device__frame::after {
    border-radius: 23px;
  }

  .hero-device__frame img {
    border-radius: 20px;
  }

  .hero-device__notch {
    top: 8px;
    height: 16px;
  }

  .section {
    padding: 84px 20px;
  }

  .section-title h2,
  .world-copy h2,
  .faq-title h2,
  .launch h2 {
    font-size: 39px;
  }

  .worlds {
    padding: 80px 20px 100px;
  }

  .story-grid {
    height: 465px;
    gap: 10px;
  }

  .story {
    min-height: 215px;
    border-radius: 18px;
  }

  .story strong {
    font-size: 12px;
  }

  .plan {
    padding: 32px 23px;
  }

  .faq {
    gap: 28px;
  }

  .faq-title img {
    width: 250px;
  }

  .launch {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    margin: 0 16px 70px;
    padding: 48px 22px;
    border-radius: 30px;
  }

  .launch img {
    width: 165px;
    height: 165px;
  }

  .brand-tag {
    bottom: 70px;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    grid-template-columns: 1fr;
  }

  .cookie-banner__actions {
    justify-content: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body.legal-page {
  min-height: 100vh;
  margin: 0;
  background: linear-gradient(170deg, #0d2146 0%, #5e7bef 100%);
  color: #ffffff;
}

.legal-wrapper {
  max-width: 860px;
  margin: 0 auto;
  padding: 42px 20px 60px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-weight: 800;
}

.legal-card {
  margin-top: 18px;
  padding: 30px;
  border-radius: 22px;
  background: #ffffff;
  color: var(--text-primary);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.25);
}

.legal-card h1 {
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.05;
  margin-bottom: 14px;
}

.legal-card h2 {
  margin-top: 22px;
  margin-bottom: 8px;
  font-size: clamp(24px, 3vw, 32px);
}

.legal-card p {
  margin: 0;
  color: var(--soft);
  line-height: 1.65;
  font-size: 17px;
}

.legal-card ul {
  margin: 0;
  padding-left: 22px;
  color: var(--soft);
  line-height: 1.6;
}

.legal-card li {
  margin: 8px 0;
}

@media (max-width: 560px) {
  .legal-card {
    padding: 22px;
  }
}

