:root {
  --blue: #2f7bff;
  --blue-2: #5b9bff;
  --blue-ink: #0b4fd0;
  --ink: #111111;
  --paper: #f4f8ff;
  --white: #ffffff;
  --muted: #334155;
  --display: "Fredoka", "Nunito", system-ui, sans-serif;
  --body: "Nunito", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-weight: 700;
  line-height: 1.45;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.page {
  overflow: clip;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 3vw, 2rem);
  background: var(--white);
  border-bottom: 4px solid var(--ink);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
}

.logo img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--ink);
  background: var(--blue);
}

.nav-btn {
  text-decoration: none;
  background: var(--blue);
  color: #fff;
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-weight: 800;
  box-shadow: 3px 3px 0 var(--ink);
  white-space: nowrap;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.lang-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lang-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.lang-opt {
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: #fff;
  color: var(--ink);
  line-height: 1.2;
}

.lang-opt:hover {
  background: #eef5ff;
}

.lang-opt.is-active {
  background: var(--ink);
  color: #fff;
}

.faq {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.faq h2 {
  margin: 0 0 1.2rem;
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.05;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 1rem;
  padding: 0.85rem 1.05rem;
  box-shadow: 4px 4px 0 var(--blue);
}

.faq-item summary {
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
  list-style: none;
}

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

.faq-item summary::before {
  content: "+";
  display: inline-block;
  width: 1.2rem;
  margin-inline-end: 0.45rem;
  color: var(--blue-ink);
}

.faq-item[open] summary::before { content: "–"; }

.faq-item p {
  margin: 0.65rem 0 0.15rem;
  color: var(--muted);
  font-weight: 700;
}

html[dir="rtl"] .nav-right {
  flex-direction: row-reverse;
}

html[dir="rtl"] .feat {
  direction: rtl;
}

html[dir="rtl"] .faq-item summary::before {
  margin-inline-end: 0;
  margin-inline-start: 0.45rem;
}

@media (max-width: 720px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-right {
    width: 100%;
    justify-content: space-between;
  }

  .lang-opts {
    max-width: 100%;
  }
}

.hero {
  background:
    radial-gradient(circle at 80% 40%, rgba(255,255,255,0.28), transparent 42%),
    linear-gradient(160deg, #3f88ff 0%, #2f7bff 45%, #1f66ef 100%);
  padding: clamp(1.25rem, 3vw, 2rem) clamp(1rem, 3vw, 2rem) clamp(1.8rem, 4vw, 2.8rem);
}

.hero-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}

.chip {
  display: inline-block;
  margin: 0 0 0.9rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: #fff;
  border: 3px solid var(--ink);
  font-family: var(--display);
  font-size: 0.95rem;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
}

.hero h1 {
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.15rem, 6.2vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-shadow: 4px 4px 0 rgba(0,0,0,0.18);
}

.hero h1 em {
  font-style: normal;
  color: #ffe56a;
}

.lead {
  margin: 1rem 0 0;
  max-width: 28rem;
  color: #eef5ff;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  font-weight: 800;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 3px solid var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.15s ease;
}

.btn:hover { transform: translate(-1px, -1px); }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--ink);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.3rem;
}

.tags span {
  background: rgba(255,255,255,0.18);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.65);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.92rem;
  font-weight: 800;
}

.hero-mascot {
  position: relative;
  width: min(100%, 380px);
  margin: 0 auto;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.blob {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--ink);
  box-shadow: 8px 8px 0 rgba(0,0,0,0.18);
}

.hero-mascot img {
  position: relative;
  z-index: 1;
  width: 94%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}

.star {
  position: absolute;
  z-index: 2;
  width: 1.15rem;
  height: 1.15rem;
  background: #ffe56a;
  border: 2px solid var(--ink);
  transform: rotate(45deg);
}
.star.a { top: 6%; right: 10%; }
.star.b { left: 2%; top: 36%; width: 0.85rem; height: 0.85rem; }
.star.c { right: 2%; bottom: 18%; }

.strip {
  width: min(960px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3rem) 0;
}

.strip h2,
.features-head h2,
.finale h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.05;
}

.panels {
  margin-top: 1.4rem;
  display: grid;
  gap: 1rem;
}

.panel {
  background: #fff;
  border: 4px solid var(--ink);
  border-radius: 1.4rem;
  padding: 1.2rem 1.2rem 1.35rem;
  box-shadow: 6px 6px 0 var(--blue);
}

.num {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  margin-bottom: 0.7rem;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  border: 3px solid var(--ink);
  font-family: var(--display);
  font-size: 1.25rem;
}

.panel h3 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.35rem;
}

.panel p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.features {
  background: #fff;
  padding: clamp(2rem, 5vw, 3rem) clamp(1rem, 3vw, 2rem);
}

.features-head {
  width: min(960px, 100%);
  margin: 0 auto 1.1rem;
}

.features-head p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  max-width: 34rem;
}

.feature-list {
  width: min(960px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}

.feat {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 0.8rem;
  align-items: start;
  padding: 1rem 1.1rem;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 1rem;
}

.feat strong {
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--blue-ink);
}

.feat span {
  color: var(--muted);
}

.finale {
  width: min(960px, calc(100% - 2rem));
  margin: 0.6rem auto 1.4rem;
  padding: 1.2rem;
  display: grid;
  gap: 1rem;
  align-items: center;
  background: var(--blue);
  color: #fff;
  border: 4px solid var(--ink);
  border-radius: 1.6rem;
  box-shadow: 8px 8px 0 var(--ink);
}

.finale img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--ink);
  background: #fff;
}

.finale p {
  margin: 0.4rem 0 0;
  color: #eaf2ff;
}

.finale .btn-dark {
  background: #fff;
  color: var(--ink);
  justify-self: start;
}

.footer {
  width: min(960px, calc(100% - 2rem));
  margin: 0 auto 2rem;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 800;
}

.footer a {
  display: block;
  margin-top: 0.25rem;
  color: var(--blue-ink);
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
  }

  .hero-mascot {
    width: min(100%, 420px);
    justify-self: end;
  }

  .panels {
    grid-template-columns: repeat(3, 1fr);
  }

  .finale {
    grid-template-columns: auto 1fr auto;
    padding: 1.5rem 1.7rem;
  }

  .finale .btn-dark {
    justify-self: end;
  }
}

@media (max-width: 640px) {
  .feat {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

