/*
 * Flip.mk — the project's site. Colours after Астера (navy, teal, lilac) with
 * warm accents for children; soft weights, no heavy type. Fonts are served from here (OFL),
 * so the page makes no request to another host.
 */

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url('fonts/nunito-cyrillic-wght-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url('fonts/nunito-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url('fonts/nunito-latin-wght-normal.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('fonts/rubik-cyrillic-wght-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('fonts/rubik-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('fonts/rubik-latin-wght-normal.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --go: linear-gradient(180deg, #ffbe3b 0%, #ff9f1a 100%);
  --go-hover: linear-gradient(180deg, #ffca5c 0%, #ffad36 100%);
  --go-edge: #e07f00;
  --go-ink: #3a2000;
  --ink: #18234a;
  --ink-soft: #4b5677;
  --ink-mute: #7a83a0;
  --paper: #fbfaf6;
  --white: #ffffff;
  --line: #e6e7ee;
  --teal: #12928a;
  --teal-deep: #0c6f69;
  --teal-soft: #e2f5f2;
  --lilac: #2f6fd0;
  --lilac-soft: #e7f0fc;
  --sun: #ffa726;
  --sun-soft: #fff3df;
  --coral: #ee7a5f;
  --coral-soft: #fdeae4;
  --sky: #3a8fd6;
  --sky-soft: #e6f1fb;
  --radius: 22px;
  --shadow: 0 1px 2px rgb(24 35 74 / 0.05), 0 8px 28px rgb(24 35 74 / 0.07);
  --shadow-up: 0 2px 4px rgb(24 35 74 / 0.06), 0 16px 40px rgb(24 35 74 / 0.1);
  --head: 'Rubik', system-ui, sans-serif;
  --body: 'Nunito', system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--head);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--lilac);
  outline-offset: 3px;
  border-radius: 8px;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

.wrap {
  width: min(1160px, 100% - 32px);
  margin-inline: auto;
}
.wrap--narrow {
  width: min(820px, 100% - 32px);
}

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 0.96);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgb(24 35 74 / 0.06);
  transition: box-shadow 0.3s;
}
.top.is-scrolled {
  box-shadow: 0 6px 24px rgb(24 35 74 / 0.1);
}
.top__progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 4px;
  pointer-events: none;
}
.top__progress span {
  display: block;
  width: calc(var(--read, 0) * 100%);
  height: 100%;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(90deg, var(--teal), var(--sun));
}
.top__row {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand__word {
  display: block;
  width: auto;
  height: 2.2rem;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand__name {
  color: var(--ink);
  font-family: var(--body);
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
@media (max-width: 420px) {
  .brand__name {
    font-size: 1.3rem;
  }
  .brand__word {
    height: 1.9rem;
  }
}
.brand__by {
  color: var(--teal-deep);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.nav {
  margin-left: auto;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 9px;
  border-radius: 12px;
  color: var(--ink);
  font-family: var(--head);
  font-weight: 500;
  font-size: 0.93rem;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.2s,
    color 0.2s;
}
.nav__list a:hover {
  background: var(--lilac-soft);
  color: var(--lilac);
}
.nav__list a.is-here::after {
  content: '';
  position: absolute;
  right: 9px;
  bottom: 5px;
  left: 9px;
  height: 3px;
  border-radius: 3px;
  background: var(--sun);
}
/* The parents' way into the app: white with a pen-blue edge, as the second button in the app. */
.nav__list .nav__login {
  margin-left: 8px;
  padding: 0 16px;
  border-radius: 12px;
  background: var(--white);
  color: #1f56b0;
  font-weight: 600;
  box-shadow:
    inset 0 0 0 2px #c9dbf6,
    0 3px 0 #c9dbf6;
}
.nav__list .nav__login:hover {
  background: #f2f7fe;
  color: #1f56b0;
  box-shadow:
    inset 0 0 0 2px #2f6fd0,
    0 3px 0 #c9dbf6;
}
.nav__list .nav__cta {
  margin-left: 8px;
  padding: 0 18px;
  border-radius: 12px;
  background: var(--go);
  color: var(--go-ink);
  font-weight: 600;
  box-shadow: 0 3px 0 var(--go-edge);
}
.nav__list .nav__cta:hover {
  background: var(--go-hover);
  color: var(--go-ink);
}
.nav__list .nav__cta.is-here::after {
  display: none;
}
.nav__toggle {
  display: none;
}

.lang {
  display: flex;
  gap: 2px;
  padding: 3px;
  border-radius: 10px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.78rem;
  font-weight: 800;
}
.lang span {
  padding: 4px 9px;
  border-radius: 7px;
}
.lang__on {
  background: var(--ink);
  color: var(--white);
}
.lang__soon {
  color: var(--ink-mute);
  cursor: help;
}

@media (max-width: 1180px) {
  .nav {
    order: 3;
    margin-left: 0;
  }
  .lang {
    margin-left: auto;
  }
  .nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 14px;
    background: var(--white);
    box-shadow: inset 0 0 0 1px var(--line);
    cursor: pointer;
  }
  .nav__bars,
  .nav__bars::before,
  .nav__bars::after {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform 0.25s;
  }
  .nav__bars {
    position: relative;
  }
  .nav__bars::before,
  .nav__bars::after {
    content: '';
    position: absolute;
    left: 0;
  }
  .nav__bars::before {
    top: -6px;
  }
  .nav__bars::after {
    top: 6px;
  }
  .nav__toggle[aria-expanded='true'] .nav__bars {
    background: transparent;
  }
  .nav__toggle[aria-expanded='true'] .nav__bars::before {
    transform: translateY(6px) rotate(45deg);
  }
  .nav__toggle[aria-expanded='true'] .nav__bars::after {
    transform: translateY(-6px) rotate(-45deg);
  }
  .nav__list {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow-up);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 0.2s,
      transform 0.2s,
      visibility 0.2s;
  }
  .nav__list.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav__list a {
    display: flex;
    min-height: 48px;
    padding: 0 16px;
    font-size: 1rem;
  }
  .nav__list .nav__login {
    margin: 6px 0 0;
    justify-content: center;
  }
  .nav__list .nav__cta {
    margin: 6px 0 0;
    justify-content: center;
  }
  .nav__list a.is-here::after {
    right: auto;
    bottom: 8px;
    left: 16px;
    width: 28px;
  }
}

/* Buttons and small pieces */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(3px);
}
.btn--main {
  background: var(--go);
  color: var(--go-ink);
  box-shadow: 0 4px 0 var(--go-edge);
}
.btn--main:hover {
  background: var(--go-hover);
}
.btn--main:active {
  box-shadow: 0 1px 0 var(--go-edge);
}
.btn--soft {
  background: var(--white);
  color: var(--ink);
  box-shadow:
    inset 0 0 0 1.5px var(--line),
    0 4px 0 var(--line);
}
.btn--soft:hover {
  box-shadow:
    inset 0 0 0 1.5px var(--teal),
    0 4px 0 var(--teal-soft);
}
.btn--soft:active {
  box-shadow:
    inset 0 0 0 1.5px var(--teal),
    0 1px 0 var(--teal-soft);
}
.btn--ghost {
  background: transparent;
  color: var(--ink-soft);
}
.btn--small {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.95rem;
}

.link {
  color: var(--teal-deep);
  font-weight: 700;
  text-underline-offset: 4px;
}

/* Each section is a level of the page's mission: „Ниво 01 · За проектот“. The word „Ниво“ is written here,
   not in the page: an Albanian page translates it here too. */
main {
  counter-reset: level;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 4px 14px 4px 4px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-deep);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.kicker::before {
  content: 'Ниво ' counter(level, decimal-leading-zero);
  counter-increment: level;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: #fde68a;
  letter-spacing: 0.06em;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 88px;
  background:
    radial-gradient(55% 60% at 85% 30%, rgb(47 111 208 / 0.3), transparent 70%),
    radial-gradient(50% 60% at 5% 95%, rgb(18 146 138 / 0.28), transparent 70%), #0f2135;
  color: #eef3f8;
}
.hero > .wrap {
  position: relative;
  z-index: 1;
}
.contours {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.contours__lines path {
  fill: none;
  stroke: #5eead4;
  stroke-opacity: 0.14;
  stroke-width: 1.2;
}
.contours__trail {
  fill: none;
  stroke: var(--sun);
  stroke-opacity: 0.55;
  stroke-width: 2.5;
  stroke-dasharray: 2 12;
  stroke-linecap: round;
  animation: trail 2.4s linear infinite;
}
@keyframes trail {
  to {
    stroke-dashoffset: -28;
  }
}
.contours__goal {
  fill: var(--sun);
  stroke: rgb(255 167 38 / 0.35);
  stroke-width: 10;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
  gap: 48px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.08);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.14);
  color: #c7d4e2;
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1.35;
}
.eyebrow__dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5eead4;
  box-shadow: 0 0 0 4px rgb(94 234 212 / 0.2);
}
.hero h1 {
  margin: 22px 0 18px;
  color: var(--white);
  font-size: clamp(2.3rem, 5vw, 3.7rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
/* One word of the heading, marked with a soft line of the go colour under it, not a heavy block. */
.hero h1 em {
  font-style: normal;
  background: linear-gradient(transparent 68%, rgb(255 167 38 / 0.55) 68%, rgb(255 167 38 / 0.55) 92%, transparent 92%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.lead {
  max-width: 34em;
  color: #b8c6d6;
  font-size: 1.15rem;
}
.lead strong {
  color: var(--white);
  font-weight: 700;
}
.hero .link {
  color: #5eead4;
}
.hero .btn--soft {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.3);
}
.hero .btn--soft:hover {
  box-shadow: inset 0 0 0 1.5px #5eead4;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 26px;
}
/* Who stands behind the project, closing the column under the chips. */
.hero__by {
  margin: 22px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  color: #93a6ba;
  font-size: 0.9rem;
}
.hero__by .link {
  color: #c7d4e2;
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pills li {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.06);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.14);
  color: #c7d4e2;
  font-size: 0.85rem;
  font-weight: 600;
}

/* The hero's example: real lessons of the app, each played as a mission (docs/adr/0030). */
.show {
  position: relative;
  max-width: 520px;
  margin-inline: auto;
  padding: 22px 0 8px;
}
.show__glow {
  position: absolute;
  inset: 0 -6%;
  border-radius: 48% 52% 46% 54%;
  background:
    radial-gradient(60% 60% at 30% 30%, rgb(18 146 138 / 0.18), transparent 70%),
    radial-gradient(60% 60% at 75% 70%, rgb(47 111 208 / 0.22), transparent 70%);
  filter: blur(8px);
}

/* The device and its screen. */
.device {
  position: relative;
  z-index: 1;
  padding: 9px;
  border-radius: 30px;
  background: linear-gradient(160deg, #3b4f72, #16233a);
  box-shadow:
    0 0 0 1px rgb(94 234 212 / 0.25),
    0 30px 80px rgb(0 0 0 / 0.45);
}

/* The lesson previews from the app (docs/adr/0030): the app's own page in the device's screen. Tall
   on a phone, where the app frames the scene as on a phone. */
.device--preview {
  padding: 8px;
}
.preview {
  display: block;
  width: 100%;
  height: 500px;
  border: 0;
  border-radius: 22px;
  background: #e0f2fe;
}
@media (max-width: 560px) {
  .preview {
    height: min(620px, 82svh);
  }
}

/* The hand that shows a move: on the board of „Час“ (За училишта). */

.place__hand {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 34px;
  height: 34px;
  margin: -4px 0 0 -16px;
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 3px 4px rgb(0 0 0 / 0.25));
  transition:
    left 0.7s ease-in-out,
    top 0.7s ease-in-out,
    opacity 0.3s,
    transform 0.15s;
}
.place__hand svg {
  display: block;
  width: 100%;
  height: 100%;
}
.place__hand.is-on {
  opacity: 1;
}
.place__hand.is-tap {
  transform: scale(0.8);
}

/* Under the device: a line about the example for the reader. */

.show__note {
  position: relative;
  z-index: 1;
  min-height: 2.9em;
  margin-top: 8px;
  color: #b8c6d6;
  font-size: 0.85rem;
  line-height: 1.4;
  text-align: center;
}

@keyframes pop {
  from {
    transform: scale(0.4);
  }
}
@keyframes bump {
  50% {
    transform: scale(1.2);
  }
}

/* The reward card and the backpack, as in the demo below. */
.reward {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 18px;
  background: var(--white);
  box-shadow:
    inset 0 0 0 2px var(--sun),
    0 6px 18px rgb(255 167 38 / 0.2);
  text-align: left;
}

@media (max-width: 480px) {
  .device {
    padding: 7px;
    border-radius: 26px;
  }
}

@media (max-width: 900px) {
  .hero {
    padding: 32px 0 64px;
  }
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* Sections: each starts at a ruler's edge, small marks every 12 pixels, long ones every 60. */
.section {
  position: relative;
  padding: 96px 0;
}
.section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 12px;
  background:
    repeating-linear-gradient(90deg, rgb(47 111 208 / 0.28) 0 1.5px, transparent 1.5px 60px) 0 0 / 100% 12px no-repeat,
    repeating-linear-gradient(90deg, rgb(47 111 208 / 0.2) 0 1px, transparent 1px 12px) 0 0 / 100% 6px no-repeat;
  pointer-events: none;
}
/* Each section has its own gentle motif, all drawn alike: a thin pencil line, low on the page's
   colours (pen blue, pencil yellow), in a corner and never behind the middle of the text. Every section
   lies on the same warm paper (#fffdf8), only „Визија“ warms towards its middle, so no edge cuts
   across. */
.section {
  --mw: 380px;
}
@media (max-width: 700px) {
  .section {
    --mw: 200px;
  }
}
#zosto {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 220'%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.2'%3E%3Cpath stroke='%232f6fd0' stroke-opacity='.28' d='M40 62c0-22 36-22 36 0 0 14-18 15-18 32M58 110v1'/%3E%3Cpath stroke='%232f6fd0' stroke-opacity='.22' stroke-dasharray='3 9' d='M90 120c60 40 140 50 230 10'/%3E%3Cg stroke='%23ffa726' stroke-opacity='.55'%3E%3Cpath d='M350 140c-18-8-24-24-24-38a30 30 0 1 1 60 0c0 14-6 30-24 38Z'/%3E%3Cpath d='M346 152h20M348 162h16M356 52v-16M396 102h14M302 102h14M384 70l10-10M318 70l-10-10'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")
      right 2% top 70px / var(--mw) auto no-repeat,
    #fffdf8;
}
#kako {
  background:
    linear-gradient(rgb(47 111 208 / 0.07) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgb(47 111 208 / 0.07) 1px, transparent 1px) 0 0 / 24px 24px,
    #fffdf8;
}
#aktivnosti {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 220'%3E%3Cg fill='none' stroke-width='2'%3E%3Crect x='24' y='30' width='262' height='180' rx='10' stroke='%232f6fd0' stroke-opacity='.22'/%3E%3Cpath stroke='%232f6fd0' stroke-opacity='.22' stroke-linecap='round' d='M60 20v22M110 20v22M160 20v22M210 20v22M260 20v22'/%3E%3Cg stroke='%232f6fd0' stroke-opacity='.14'%3E%3Crect x='40' y='70' width='38' height='32' rx='4'/%3E%3Crect x='86' y='70' width='38' height='32' rx='4'/%3E%3Crect x='132' y='70' width='38' height='32' rx='4'/%3E%3Crect x='178' y='70' width='38' height='32' rx='4'/%3E%3Crect x='224' y='70' width='38' height='32' rx='4'/%3E%3Crect x='40' y='110' width='38' height='32' rx='4'/%3E%3Crect x='86' y='110' width='38' height='32' rx='4'/%3E%3Crect x='132' y='110' width='38' height='32' rx='4'/%3E%3Crect x='178' y='110' width='38' height='32' rx='4'/%3E%3Crect x='224' y='110' width='38' height='32' rx='4'/%3E%3Crect x='40' y='150' width='38' height='32' rx='4'/%3E%3Crect x='86' y='150' width='38' height='32' rx='4'/%3E%3Crect x='132' y='150' width='38' height='32' rx='4'/%3E%3Crect x='178' y='150' width='38' height='32' rx='4'/%3E%3Crect x='224' y='150' width='38' height='32' rx='4'/%3E%3C/g%3E%3Cg stroke='%23ffa726' stroke-opacity='.7' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.6'%3E%3Cpath d='M48 86l7 7 12-14M94 86l7 7 12-14M140 126l7 7 12-14'/%3E%3C/g%3E%3Ccircle cx='243' cy='166' r='20' stroke='%232f6fd0' stroke-opacity='.4' stroke-width='2.4'/%3E%3C/g%3E%3C/svg%3E")
      right 3% top 50px / calc(var(--mw) * 0.75) auto no-repeat,
    #fffdf8;
}
#vkluci-se {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 380 230'%3E%3Cpath fill='none' stroke='%232f6fd0' stroke-opacity='.22' stroke-width='1.6' d='M30 50L120 92L200 36L300 84L250 170L120 92M250 170L350 196'/%3E%3Cg fill='%23ffa726' fill-opacity='.55'%3E%3Ccircle cx='30' cy='50' r='5'/%3E%3Ccircle cx='200' cy='36' r='5'/%3E%3Ccircle cx='300' cy='84' r='6'/%3E%3Ccircle cx='250' cy='170' r='5'/%3E%3Ccircle cx='350' cy='196' r='4'/%3E%3C/g%3E%3Cpath fill='%232f6fd0' fill-opacity='.45' transform='translate(108 76) scale(1.6)' d='M8 0c.6 0 .9.4 1 .9l1 4.1c.1.6.6 1 1.1 1.1l4.1 1c.5.1.9.4.9 1s-.4.9-.9 1l-4.1 1c-.5.1-1 .6-1.1 1.1l-1 4.1c-.1.5-.4.9-1 .9s-.9-.4-1-.9l-1-4.1c-.1-.5-.6-1-1.1-1.1l-4.1-1c-.5-.1-.9-.4-.9-1s.4-.9.9-1l4.1-1c.5-.1 1-.5 1.1-1.1l1-4.1c.1-.5.4-.9 1-.9Z'/%3E%3C/svg%3E")
      right 3% top 50px / var(--mw) auto no-repeat,
    #fffdf8;
}
#bezbednost {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 260'%3E%3Cg fill='none' stroke='%2312928a' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke-opacity='.22' stroke-width='3' d='M130 30l80 28v58c0 56-35 90-80 104-45-14-80-48-80-104V58Z'/%3E%3Cpath stroke-opacity='.18' stroke-width='3' d='M98 128l22 22 44-48'/%3E%3Cpath stroke-opacity='.12' stroke-width='2' d='M10 246c40-12 80 12 120 0s80-12 120 0'/%3E%3C/g%3E%3C/svg%3E")
      right 3% top 40px / calc(var(--mw) * 0.7) auto no-repeat,
    #fffdf8;
}
#partnerstvo {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 200'%3E%3Cg fill='none' stroke-width='2.2' stroke-linejoin='round'%3E%3Cpath stroke='%232f6fd0' stroke-opacity='.25' d='M30 40h50c0-16 26-16 26 0h50v50c-16 0-16 26 0 26v50h-50c0 16-26 16-26 0H30v-50c16 0 16-26 0-26Z'/%3E%3Cpath stroke='%23ffa726' stroke-opacity='.55' d='M180 40h50c0-16 26-16 26 0h50v126H180v-50c-16 0-16-26 0-26Z'/%3E%3C/g%3E%3C/svg%3E")
      right 3% top 50px / var(--mw) auto no-repeat,
    #fffdf8;
}
#novosti {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 210'%3E%3Cg stroke-linecap='round'%3E%3Crect x='20' y='30' width='130' height='150' rx='6' fill='none' stroke='%23ffa726' stroke-opacity='.4' stroke-width='2'/%3E%3Crect x='170' y='20' width='130' height='110' rx='6' fill='none' stroke='%232f6fd0' stroke-opacity='.25' stroke-width='2'/%3E%3Cpath stroke='%23ffa726' stroke-opacity='.35' stroke-width='2' d='M38 60h94M38 78h94M38 96h70M38 120h94M38 138h60'/%3E%3Cpath stroke='%232f6fd0' stroke-opacity='.22' stroke-width='2' d='M188 50h94M188 68h94M188 86h60'/%3E%3C/g%3E%3Ccircle cx='85' cy='30' r='6' fill='%23e0775f' fill-opacity='.6'/%3E%3Ccircle cx='235' cy='20' r='6' fill='%23ffa726' fill-opacity='.6'/%3E%3C/svg%3E")
      right 3% top 50px / calc(var(--mw) * 0.85) auto no-repeat,
    #fffdf8;
}
#prasanja {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 200'%3E%3Cg fill='none' stroke-linecap='round' stroke-width='2.4'%3E%3Cpath stroke='%232f6fd0' stroke-opacity='.28' d='M30 50c0-20 32-20 32 0 0 12-16 13-16 28M46 94v1'/%3E%3Cpath stroke='%23ffa726' stroke-opacity='.55' d='M150 110c0-16 26-16 26 0 0 10-13 11-13 23M163 147v1'/%3E%3Cpath stroke='%232f6fd0' stroke-opacity='.2' d='M118 30c0-12 20-12 20 0 0 8-10 8-10 17M128 58v1'/%3E%3C/g%3E%3C/svg%3E")
      right 4% top 40px / calc(var(--mw) * 0.6) auto no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 200'%3E%3Cg fill='none' stroke-linecap='round' stroke-width='2.4'%3E%3Cpath stroke='%232f6fd0' stroke-opacity='.28' d='M30 50c0-20 32-20 32 0 0 12-16 13-16 28M46 94v1'/%3E%3Cpath stroke='%23ffa726' stroke-opacity='.55' d='M150 110c0-16 26-16 26 0 0 10-13 11-13 23M163 147v1'/%3E%3Cpath stroke='%232f6fd0' stroke-opacity='.2' d='M118 30c0-12 20-12 20 0 0 8-10 8-10 17M128 58v1'/%3E%3C/g%3E%3C/svg%3E")
      left 3% bottom 40px / calc(var(--mw) * 0.45) auto no-repeat,
    #fffdf8;
}
#kontakt {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 220'%3E%3Cpath fill='none' stroke='%232f6fd0' stroke-opacity='.25' stroke-width='2' stroke-dasharray='4 8' stroke-linecap='round' d='M20 190c60-70 120-10 150-60s-30-70-10-90 80 20 150 40'/%3E%3Cpath fill='none' stroke='%23ffa726' stroke-opacity='.7' stroke-width='2.4' stroke-linejoin='round' d='M330 88l70-34-26 70-14-24Zm30 12l14-46'/%3E%3C/svg%3E")
      left 3% bottom 60px / calc(var(--mw) * 0.9) auto no-repeat,
    #fffdf8;
}

.section__head {
  max-width: 720px;
  margin-bottom: 48px;
}
.section__head h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.section__head h2::after {
  content: '';
  display: block;
  width: 120px;
  height: 12px;
  margin-top: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'%3E%3Cpath d='M2 8c18-5 34-6 52-3s38 3 64-3' fill='none' stroke='%23ffa726' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E")
    0 0 / 100% 100% no-repeat;
}
.section__lead {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 1.1rem;
}
@media (max-width: 700px) {
  .section {
    padding: 64px 0;
  }
  .section__head {
    margin-bottom: 32px;
  }
}

.cards {
  display: grid;
  gap: 20px;
}
.cards--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.cards--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 900px) {
  .cards--3,
  .cards--2 {
    grid-template-columns: 1fr;
  }
}

.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-up);
}
.card h3 {
  font-size: 1.25rem;
}
.card p {
  color: var(--ink-soft);
}
.card strong {
  color: var(--ink);
}
.card--flat {
  background: rgb(255 255 255 / 0.7);
  box-shadow: inset 0 0 0 1px var(--line);
}
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
}
.card__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card__icon--teal {
  background: var(--teal-soft);
  color: var(--teal-deep);
}
.card__icon--lilac {
  background: var(--lilac-soft);
  color: #1f56b0;
}
.card__icon--sun {
  background: var(--sun-soft);
  color: #a76200;
}

/* Why Flip.mk: learning in the language of games first, then what gets in the way of learning and what Flip.mk
   does about each, all in view. */
.play {
  display: grid;
  gap: 22px;
  margin-bottom: 40px;
  padding: 32px;
  border-radius: 28px;
  background:
    radial-gradient(70% 90% at 100% 0%, rgb(47 111 208 / 0.14), transparent 70%),
    radial-gradient(60% 80% at 0% 100%, rgb(18 146 138 / 0.12), transparent 70%), var(--white);
  box-shadow: var(--shadow);
}
.play__head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.play__icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--ink);
  color: #5eead4;
}
.play__icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.play__head h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
}
/* The intro leaves the right side to the motif of the question that becomes a light bulb. */
#zosto .section__head {
  max-width: 760px;
}
.play__head p {
  max-width: 980px;
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.play__points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.play__points article {
  position: relative;
  padding: 22px 20px 18px;
  border-radius: 6px;
  background: #fff8dc;
  box-shadow: 0 6px 14px rgb(24 35 74 / 0.08);
  transform: rotate(-0.8deg);
}
.play__points article:nth-child(2) {
  background: #e9f2fd;
  transform: rotate(0.6deg);
}
.play__points article:nth-child(3) {
  background: #e7f6ea;
  transform: rotate(-0.4deg);
}
/* Each note is pinned to the board with a round push pin. */
.play__points article::before {
  content: '';
  position: absolute;
  top: -9px;
  left: 50%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 32%, #ffffff 0 2px, #ee6a52 3.5px, #b8432f 100%);
  box-shadow:
    0 3px 4px rgb(24 35 74 / 0.28),
    2px 6px 6px rgb(24 35 74 / 0.12);
  transform: translateX(-50%);
}
.play__points article:nth-child(2)::before {
  background: radial-gradient(circle at 35% 32%, #ffffff 0 2px, #4b86e0 3.5px, #1f56b0 100%);
}
.play__points article:nth-child(3)::before {
  background: radial-gradient(circle at 35% 32%, #ffffff 0 2px, #f5b84d 3.5px, #c47a12 100%);
}
.play__points h4 {
  margin-bottom: 6px;
  font-size: 1.08rem;
}
.play__points p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.play__aim {
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--head);
  font-size: 1.08rem;
  font-weight: 500;
}
@media (max-width: 900px) {
  .play__points {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .play {
    padding: 22px 18px;
  }
  .play__head {
    flex-direction: column;
    gap: 12px;
  }
}

.answers {
  margin-bottom: 40px;
}
.answers__cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr);
  margin-bottom: 10px;
  color: var(--ink-mute);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.answers__cols span:last-child {
  grid-column: 3;
  color: var(--teal-deep);
}
.answers__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.answers__list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr);
  align-items: stretch;
}
.answers__problem,
.answers__answer {
  padding: 14px 18px;
  border-radius: 16px;
}
.answers__problem {
  background: rgb(255 255 255 / 0.6);
  box-shadow: inset 0 0 0 1px var(--line);
}
.answers__answer {
  background: var(--teal-soft);
}
.answers__list h4 {
  font-size: 1.02rem;
}
.answers__problem h4 {
  color: var(--ink-soft);
}
.answers__answer h4 {
  color: var(--teal-deep);
}
.answers__list p {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.45;
}
.answers__arrow {
  position: relative;
  align-self: center;
  justify-self: center;
  width: 22px;
  height: 2px;
  background: var(--teal);
}
.answers__arrow::after {
  content: '';
  position: absolute;
  top: -4px;
  right: 0;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--teal);
  border-right: 2px solid var(--teal);
  transform: rotate(45deg);
}
.study {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--sun-soft);
  color: #6b4400;
  font-size: 0.95rem;
}
.study b {
  color: #8a5300;
}
@media (max-width: 700px) {
  .answers__cols {
    display: none;
  }
  .answers__list li {
    grid-template-columns: 1fr;
  }
  .answers__problem {
    border-radius: 16px 16px 0 0;
  }
  .answers__answer {
    border-radius: 0 0 16px 16px;
  }
  .answers__arrow {
    display: none;
  }
}

.mission {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 48px 0 72px;
  padding: 40px 44px;
  border-radius: 30px;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}
.mission::after {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(47 111 208 / 0.45), transparent 70%);
}
.mission__star {
  flex: none;
  width: 64px;
  height: 64px;
}
.mission__text {
  position: relative;
  font-family: var(--head);
  font-weight: 400;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  line-height: 1.4;
}
.mission__text span {
  color: #9fe3db;
}
@media (max-width: 700px) {
  .mission {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
  }
}

.pillars__head {
  max-width: 720px;
  margin-bottom: 24px;
}
.pillars__head h3 {
  font-size: 1.5rem;
}
.pillars__head p {
  margin-top: 8px;
  color: var(--ink-soft);
}
.pillar {
  padding: 26px;
  border-radius: var(--radius);
  border-top: 5px solid;
  background: var(--white);
  box-shadow: var(--shadow);
}
.pillar h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.pillar p {
  color: var(--ink-soft);
}
.pillar--teal {
  border-color: var(--teal);
}
.pillar--lilac {
  border-color: var(--lilac);
}
.pillar--sun {
  border-color: var(--sun);
}

/* How children learn */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 48px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 44px;
  right: -14px;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--lilac);
  border-right: 2px solid var(--lilac);
  transform: rotate(45deg);
  z-index: 1;
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: var(--lilac-soft);
  color: #1f56b0;
  font-family: var(--head);
  font-weight: 500;
}
.step h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.step p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}
@media (max-width: 900px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .step:nth-child(2)::after {
    display: none;
  }
}
@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
  }
  .step::after {
    display: none;
  }
}

/* "Пробајте сами": one task of a mission played by the app itself (docs/adr/0030), tall as on a
   phone so the app frames the truck's table; the help ladder beside it lights each moment. */
.demo {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 48px;
}
@media (max-width: 900px) {
  .demo {
    grid-template-columns: 1fr;
  }
  .demo .device--tall {
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
  }
}
.preview--tall {
  height: 640px;
}
@media (max-width: 560px) {
  .preview--tall {
    height: min(640px, 82svh);
  }
}

/* The help ladder, light beside the dark screen. */
.ladder {
  padding: 28px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.ladder h3 {
  font-size: 1.3rem;
}
.ladder__lead {
  margin: 8px 0 18px;
  color: var(--ink-soft);
}
.ladder__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ladder__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink-soft);
  transition:
    background 0.3s,
    color 0.3s,
    transform 0.3s;
}
.ladder__list li span {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--line);
  font-family: var(--head);
}
.ladder__list li.is-on {
  background: var(--teal-soft);
  color: var(--ink);
  transform: translateX(6px);
}
.ladder__list li.is-on span {
  background: var(--teal);
  box-shadow: none;
  color: var(--white);
}
.ladder__rule {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--sun-soft);
  color: #8a5300;
  font-size: 0.92rem;
}
.ladder__rule:not(.is-on) {
  opacity: 0.6;
}
.ladder__rule.is-on {
  box-shadow: inset 0 0 0 2px var(--sun);
}
/* A moment the preview has passed, and the levels it did not need. */
.ladder__list li.is-done {
  color: var(--ink);
}
.ladder__list li.is-done span {
  background: var(--teal-soft);
  box-shadow: none;
}
.ladder__list li.is-later {
  opacity: 0.6;
}
.ladder__list li small {
  margin-left: auto;
  color: var(--ink-soft);
  font-size: 0.8rem;
  white-space: nowrap;
}

.principles {
  margin-top: 0;
}

/* One lesson, a mission per interest (docs/adr/0020): the five worlds, then the plain mission and
   the sport one side by side, the same task between them. */
.interest-worlds {
  margin-top: 56px;
}
.world-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.world-chips li {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--white);
  box-shadow:
    inset 0 0 0 1.5px var(--line),
    0 3px 0 var(--line);
  color: var(--ink-soft);
  font-family: var(--head);
  font-size: 0.92rem;
  font-weight: 500;
}
.world-chips li.is-on {
  background: #e7f6ea;
  box-shadow:
    inset 0 0 0 1.5px #3aa655,
    0 3px 0 #bfe5c8;
  color: #1f6b33;
}
.world-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}
.world-card {
  display: grid;
  gap: 10px;
  padding: 22px;
  border-radius: 20px;
  background: var(--white);
  box-shadow:
    inset 0 0 0 2px var(--line),
    0 6px 0 var(--line);
}
.world-card--sport {
  background: linear-gradient(180deg, #f1faf3, var(--white) 55%);
  box-shadow:
    inset 0 0 0 2px #bfe5c8,
    0 6px 0 #bfe5c8;
}
.world-card__tag {
  justify-self: start;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--sun-soft);
  color: #8a5300;
  font-size: 0.74rem;
  font-weight: 800;
}
.world-card--sport .world-card__tag {
  background: #e7f6ea;
  color: #1f6b33;
}
.world-card h4 {
  font-size: 1.15rem;
}
.world-card__problem {
  color: var(--ink-soft);
  font-size: 0.93rem;
}
.world-card__path {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.world-card__path li {
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 800;
}
.world-card__path li:not(:last-child)::after {
  content: '›';
  margin: 0 5px;
  color: var(--ink-mute);
}
.world-card__path li:last-child {
  color: var(--teal-deep);
}
/* The same task's picture: the cake in the tray, or the pitch of the sport interest. */
.world-card__pic {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
  margin: 4px 0 10px;
}
.pic-tray {
  fill: #e9edf3;
  stroke: #b8c2cf;
  stroke-width: 2;
}
.pic-cake rect {
  fill: #f3dcb3;
}
.pic-cake rect.is-on {
  fill: #e08a5a;
}
.pic-pitch rect {
  fill: #4fae67;
}
.pic-pitch rect.is-on {
  fill: #f2c14e;
  opacity: 0.9;
}
.pic-cut,
.pic-line {
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.5;
}
.world-card__task {
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
}
.world-pair__same {
  display: grid;
  justify-items: center;
  gap: 4px;
  color: var(--ink-mute);
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
}
.world-pair__same span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--ink);
  color: #fde68a;
  font-family: var(--head);
  font-size: 1.3rem;
  font-weight: 600;
  box-shadow: 0 0 0 6px var(--sun-soft);
}
.interest-worlds__note {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
@media (max-width: 800px) {
  .world-pair {
    grid-template-columns: 1fr;
  }
  .world-pair__same {
    grid-auto-flow: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }
  .world-pair__same span {
    width: 52px;
    height: 52px;
    font-size: 1.1rem;
  }
}

/* The demo's world switch: the plain mission or the sport one. */
.worlds-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.worlds-switch__btn {
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.06);
  box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.16);
  color: #c7d4e2;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}
.worlds-switch__btn.is-on {
  background: #e7f6ea;
  box-shadow: none;
  color: #1f6b33;
}

/* „Час“ (docs/adr/0021): the board on the classroom's wall, beside four points. */
#cas {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 200'%3E%3Cg fill='none' stroke='%232f6fd0' stroke-opacity='.22' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='30' y='20' width='230' height='130' rx='8'/%3E%3Cpath d='M145 150v34M110 184h70'/%3E%3C/g%3E%3Cpath fill='none' stroke='%23ffa726' stroke-opacity='.55' stroke-width='2.4' stroke-linecap='round' d='M60 60h90M60 85h130M60 110h60'/%3E%3C/svg%3E")
      right 3% top 50px / calc(var(--mw) * 0.75) auto no-repeat,
    #fffdf8;
}
.class-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: center;
}
@media (max-width: 900px) {
  .class-grid {
    grid-template-columns: 1fr;
  }
}
.board {
  display: grid;
  justify-items: center;
}
.board__screen {
  display: grid;
  gap: 12px;
  width: 100%;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--white);
  box-shadow:
    0 0 0 12px #2a3448,
    0 0 0 14px #1a2232,
    0 26px 50px rgb(24 35 74 / 0.22);
}
.board__top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
}
.board__top b {
  color: var(--ink);
  font-family: var(--head);
  font-size: 1.15rem;
  font-weight: 600;
}
.board__turn {
  margin-left: auto;
}
.board__turn em {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--lilac-soft);
  color: #1f56b0;
  font-style: normal;
}
.board__level {
  justify-self: start;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--sun-soft);
  color: #8a5300;
  font-size: 0.8rem;
  font-weight: 800;
}
.board__q {
  color: var(--ink);
  font-family: var(--head);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 500;
  line-height: 1.3;
}
.board__options {
  display: grid;
  gap: 8px;
}
.board__options span {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--paper);
  box-shadow:
    inset 0 0 0 2px var(--line),
    0 3px 0 var(--line);
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 700;
}
.board__options span.is-on {
  background: var(--teal-soft);
  box-shadow:
    inset 0 0 0 2px var(--teal),
    0 3px 0 var(--teal);
}
.board__options i {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--head);
  font-style: normal;
  font-weight: 600;
}
.board__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.board__btn {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--line);
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 700;
}
.board__btn--go {
  background: linear-gradient(180deg, #ffbe3b 0%, #ff9f1a 100%);
  box-shadow: 0 2px 0 #e07f00;
  color: #3a2000;
}
.board__halves {
  display: inline-flex;
  gap: 4px;
  margin-left: auto;
}
.board__halves i {
  padding: 4px 9px;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1.5px var(--line);
  color: var(--ink-mute);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 800;
}
.board__halves i.is-on {
  background: var(--lilac);
  box-shadow: none;
  color: var(--white);
}
.board__stand {
  width: 90px;
  height: 26px;
  margin-top: 14px;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(180deg, #2a3448, #1a2232);
}
.class-points {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: class-point;
}
.class-points li {
  position: relative;
  padding: 16px 18px 16px 62px;
  border-radius: 16px;
  background: var(--white);
  box-shadow:
    inset 0 0 0 2px var(--line),
    0 4px 0 var(--line);
  counter-increment: class-point;
}
.class-points li::before {
  content: counter(class-point);
  position: absolute;
  top: 16px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: #fde68a;
  font-family: var(--head);
  font-weight: 600;
}
.class-points h3 {
  font-size: 1.05rem;
}
.class-points p {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

/* Beside the missions: the practice test, the backpack and the parent, each with a small sketch. */
.more {
  margin-top: 56px;
}
.more__head {
  max-width: 640px;
  margin-bottom: 24px;
}
.more__head h3 {
  font-size: 1.5rem;
}
.more__head p {
  margin-top: 8px;
  color: var(--ink-soft);
}
.sheet,
.bag,
.week {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 18px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.85rem;
}
.sheet {
  background: repeating-linear-gradient(180deg, transparent 0 25px, rgb(58 143 214 / 0.08) 25px 26px), var(--white);
}
.sheet__head,
.bag__head,
.week__head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--ink);
  font-family: var(--head);
  font-weight: 500;
  font-size: 0.95rem;
}
.bag__head span {
  color: var(--teal-deep);
  font-family: var(--body);
  font-size: 0.8rem;
  font-weight: 800;
}
.sheet__nums {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sheet__nums li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink-mute);
  font-size: 0.78rem;
  font-weight: 800;
}
.sheet__nums .is-done {
  background: var(--sky-soft);
  color: #1f5f96;
  box-shadow: none;
}
.sheet__nums .is-on {
  background: var(--sky);
  color: var(--white);
  box-shadow: none;
}
.sheet__q {
  color: var(--ink);
  font-weight: 700;
}
.sheet__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sheet__bar span {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 800;
}
.sheet__bar .sheet__send {
  margin-left: auto;
  background: var(--ink);
  color: var(--white);
  box-shadow: none;
}
.sheet__score {
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  color: var(--ink-soft);
}
.sheet__score b {
  color: var(--teal-deep);
}
.bag__items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bag__items li {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 10px 4px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--sun);
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}
@media (max-width: 480px) {
  .more .card {
    padding: 22px;
  }
  .bag {
    padding: 12px;
  }
  .bag__items {
    gap: 6px;
  }
  .bag__items li {
    padding: 10px 2px;
    font-size: 0.7rem;
  }
}
.bag__items svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: #b56a00;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bag__items .is-empty {
  align-content: center;
  background: var(--paper);
  box-shadow: inset 0 0 0 1.5px var(--line);
  color: var(--ink-mute);
}
.week p {
  color: var(--ink-soft);
  line-height: 1.45;
}
.week b {
  color: var(--ink);
}
.week .week__off {
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--lilac-soft);
}

/* Activities */
.timeline {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.phases {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
}
.phases::before {
  content: '';
  position: absolute;
  left: 31px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: repeating-linear-gradient(var(--line) 0 6px, transparent 6px 12px);
}
.phase {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 14px;
  width: 100%;
  padding: 12px 16px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s;
}
.phase:hover {
  background: rgb(255 255 255 / 0.7);
}
.phase__n {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: inset 0 0 0 2px var(--line);
  font-family: var(--head);
  font-weight: 500;
  font-size: 0.95rem;
  transition:
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s;
}
.phase__t {
  font-family: var(--head);
  font-weight: 500;
}
.phase__s {
  font-size: 0.8rem;
  color: var(--teal-deep);
  font-weight: 700;
}
.phase.is-on {
  background: var(--white);
  box-shadow: var(--shadow);
}
.phase.is-on .phase__n {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 0 0 5px var(--teal-soft);
}
.panel {
  padding: 34px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow-up);
  animation: rise 0.35s ease-out;
}
.panel h3 {
  font-size: 1.5rem;
}
.panel > p {
  margin: 10px 0 18px;
  color: var(--ink-soft);
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
.ticks {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ticks li {
  position: relative;
  padding-left: 34px;
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: var(--teal-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c6f69' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E")
    center / 14px no-repeat;
}
@media (max-width: 900px) {
  .timeline {
    grid-template-columns: 1fr;
  }
  .phases {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
  }
  .phases::before {
    display: none;
  }
  .phase {
    width: auto;
    white-space: nowrap;
  }
  .phase__s {
    display: none;
  }
  .panel {
    padding: 24px;
  }
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 40px 0 0;
}
.stats div {
  padding: 22px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--teal-soft), var(--lilac-soft));
}
.stats dt {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
}
.stats dd {
  margin: 4px 0 0;
  font-family: var(--head);
  font-weight: 500;
  font-size: 2rem;
}
@media (max-width: 700px) {
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Vision: a warm sunrise that grows from the page's paper and fades back into it, with the contour lines of a map; the road is the mission's dashed trail. */
.vision {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='520' viewBox='0 0 900 520'%3E%3Cg fill='none' stroke='%23d98a1f' stroke-opacity='0.2' stroke-width='1.3'%3E%3Cpath d='M620 520c14-150 110-250 280-262'/%3E%3Cpath d='M680 520c10-110 80-186 220-196'/%3E%3Cpath d='M740 520c8-70 56-122 160-130'/%3E%3Cpath d='M0 60c120-40 230 20 360-10s230-70 340-40 140 20 200 0'/%3E%3Cpath d='M0 110c120-40 230 20 360-10s230-70 340-40 140 20 200 0'/%3E%3Cellipse cx='170' cy='380' rx='150' ry='70'/%3E%3Cellipse cx='170' cy='380' rx='100' ry='44'/%3E%3Cellipse cx='170' cy='380' rx='50' ry='20'/%3E%3C/g%3E%3C/svg%3E")
      right top / 900px 520px no-repeat,
    radial-gradient(55% 60% at 85% 50%, rgb(255 167 38 / 0.16), transparent 70%),
    linear-gradient(180deg, #fffdf8 0%, #fff5e3 30%, #fff5e3 70%, #fffdf8 100%);
}
.road {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0 0 40px;
  padding: 0;
  list-style: none;
  position: relative;
}
.road::before {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  top: 11px;
  height: 3px;
  border-radius: 3px;
  background: repeating-linear-gradient(90deg, var(--sun) 0 8px, transparent 8px 16px);
  opacity: 0.9;
}
.road__step {
  position: relative;
  padding-top: 38px;
}
.road__dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: inset 0 0 0 3px var(--sun);
}
.road__step--now .road__dot {
  background: var(--teal);
  box-shadow: 0 0 0 6px var(--teal-soft);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  50% {
    box-shadow: 0 0 0 12px rgb(18 146 138 / 0.08);
  }
}
.road__when {
  color: var(--teal-deep);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.road__step h3 {
  margin: 4px 0 6px;
  font-size: 1.2rem;
}
.road__step p:last-child {
  color: var(--ink-soft);
}
@media (max-width: 900px) {
  .road {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-left: 40px;
  }
  .road::before {
    left: 11px;
    right: auto;
    top: 8px;
    bottom: 8px;
    width: 3px;
    height: auto;
    background: repeating-linear-gradient(180deg, var(--sun) 0 8px, transparent 8px 16px);
  }
  .road__step {
    padding-top: 0;
  }
  .road__dot {
    left: -40px;
  }
}

/* Get involved */
.who {
  padding: 10px;
  border-radius: 30px;
  background: var(--white);
  box-shadow: var(--shadow-up);
}
.who__tabs {
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: 22px;
  background: var(--paper);
  overflow-x: auto;
  scrollbar-width: none;
}
.who__tab {
  flex: none;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: var(--ink-soft);
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
.who__tab:hover {
  color: var(--ink);
}
.who__tab.is-on {
  background: var(--white);
  color: var(--teal-deep);
  box-shadow: var(--shadow);
}
.who__panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  max-width: 760px;
  padding: 30px 26px 26px;
  animation: rise 0.35s ease-out;
}
.who__panel h3 {
  font-size: 1.5rem;
}
.who__panel p {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

/* Safety: what we do and what we never do, two tiles of the same build side by side; teal for
   the promises, the warm cream and a soft coral for the refusals. */
.safety {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 22px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .safety {
    grid-template-columns: 1fr;
  }
}
.safety__do,
.never {
  padding: 28px;
  border-radius: 22px;
  box-shadow:
    inset 0 0 0 2px var(--line),
    0 6px 0 var(--line);
}
.safety__do {
  background: var(--white);
}
.never {
  background: #fff7e8;
  box-shadow:
    inset 0 0 0 2px #f5e2bd,
    0 6px 0 #f5e2bd;
}
.safety__do h3,
.never h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 1.3rem;
}
.safety__do h3::before,
.never h3::before {
  content: '';
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--teal)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 5-3.5 8-8 9-4.5-1-8-4-8-9V6l8-3Z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E")
    center / 24px no-repeat;
}
.never h3::before {
  background: #e0775f
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M6 6l12 12'/%3E%3C/svg%3E")
    center / 22px no-repeat;
}
.safety__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (max-width: 560px) {
  .safety__list {
    grid-template-columns: 1fr;
  }
  .safety .safety__list li:nth-last-child(2) {
    border-bottom: 1px dashed var(--line);
  }
}
.never li:last-child,
.safety__list li:nth-last-child(-n + 2) {
  border-bottom: 0;
}
.safety__list li {
  position: relative;
  padding: 12px 0 12px 38px;
  border-bottom: 1px dashed var(--line);
  color: var(--ink-soft);
  line-height: 1.5;
}
.safety__list li::before {
  content: '';
  position: absolute;
  top: 13px;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--teal)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-9'/%3E%3C/svg%3E")
    center / 14px no-repeat;
}
.safety__list strong {
  color: var(--ink);
  font-family: var(--head);
  font-weight: 500;
}
.never ul {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.never li {
  position: relative;
  padding: 9px 0 9px 36px;
  border-bottom: 1px dashed #f0d9ad;
  color: #5b4a33;
  line-height: 1.45;
}
.never li::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--white)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9533d' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E")
    center / 12px no-repeat;
  box-shadow: inset 0 0 0 2px #f2c9b8;
}

/* Partners */
.partner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 32px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.partner__role {
  color: var(--teal-deep);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.partner h3 {
  font-size: 1.4rem;
}
.partner p:not(.partner__role) {
  color: var(--ink-soft);
}
.partner .link {
  margin-top: auto;
}
.open {
  margin-top: 20px;
  padding: 28px 32px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: inset 0 0 0 2px var(--lilac-soft);
}
.open h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.open p {
  color: var(--ink-soft);
}

/* News */
.posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 900px) {
  .posts {
    grid-template-columns: 1fr;
  }
}
.post {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.post__meta {
  color: var(--teal-deep);
  font-size: 0.85rem;
  font-weight: 700;
}
.post h3 {
  font-size: 1.2rem;
}
.post p:last-child {
  color: var(--ink-soft);
}
.post--soon {
  background: repeating-linear-gradient(135deg, var(--white) 0 14px, #f8f8fb 14px 28px);
  box-shadow: inset 0 0 0 2px var(--line);
}

/* FAQ */
.faq {
  display: grid;
  gap: 12px;
}
.faq details {
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 16px 24px;
  font-family: var(--head);
  font-weight: 500;
  font-size: 1.1rem;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '';
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--teal-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c6f69' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E")
    center / 14px no-repeat;
  transition: transform 0.25s;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 24px 22px;
  color: var(--ink-soft);
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
.contact__head h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
}
.contact__facts {
  display: grid;
  gap: 6px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
}
.form {
  display: grid;
  gap: 16px;
  padding: 32px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow-up);
}
@media (max-width: 560px) {
  .form {
    padding: 22px;
  }
}
.form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 560px) {
  .form__grid {
    grid-template-columns: 1fr;
  }
}
.form__row {
  display: grid;
  gap: 6px;
}
.form label {
  font-weight: 700;
  font-size: 0.95rem;
}
.form label span {
  color: var(--ink-mute);
  font-weight: 600;
}
.form input:not([type='checkbox']),
.form select,
.form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border: 0;
  border-radius: 14px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1.5px var(--line);
  transition: box-shadow 0.2s;
}
.form textarea {
  resize: vertical;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--teal);
}
.form [aria-invalid='true'] {
  box-shadow: inset 0 0 0 2px var(--coral) !important;
}
.form__err {
  display: none;
  color: #b0402a;
  font-size: 0.88rem;
  font-weight: 600;
}
.form__err.is-on {
  display: block;
}
.form__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600 !important;
  color: var(--ink-soft);
}
.form__check input {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--teal);
}
.form .btn {
  justify-self: start;
}
.form__note:not(:empty) {
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--teal-soft);
  color: var(--teal-deep);
  font-weight: 600;
}

/* Footer */
.foot {
  padding: 56px 0 40px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 240'%3E%3Cg fill='%235eead4' fill-opacity='.35'%3E%3Ccircle cx='40' cy='40' r='1.6'/%3E%3Ccircle cx='160' cy='110' r='1.2'/%3E%3Ccircle cx='260' cy='30' r='1.8'/%3E%3Ccircle cx='390' cy='90' r='1.2'/%3E%3Ccircle cx='520' cy='40' r='1.6'/%3E%3Ccircle cx='470' cy='190' r='1.2'/%3E%3Ccircle cx='90' cy='200' r='1.2'/%3E%3C/g%3E%3Cpath fill='%23ffa726' fill-opacity='.5' transform='translate(330 150) scale(1.2)' d='M8 0c.6 0 .9.4 1 .9l1 4.1c.1.6.6 1 1.1 1.1l4.1 1c.5.1.9.4.9 1s-.4.9-.9 1l-4.1 1c-.5.1-1 .6-1.1 1.1l-1 4.1c-.1.5-.4.9-1 .9s-.9-.4-1-.9l-1-4.1c-.1-.5-.6-1-1.1-1.1l-4.1-1c-.5-.1-.9-.4-.9-1s.4-.9.9-1l4.1-1c.5-.1 1-.5 1.1-1.1l1-4.1c.1-.5.4-.9 1-.9Z'/%3E%3C/svg%3E")
      center top / 600px auto repeat-x,
    var(--ink);
  color: #c3c8dc;
}
.foot__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
}
.foot__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--white);
  font-family: var(--body);
  font-weight: 800;
  font-size: 1.35rem;
}
.foot__word {
  --wm-ink: #ffffff;
  --wm-mk: #5fbdb4;
  --wm-cap: #5fbdb4;
  display: block;
  width: auto;
  height: 2.1rem;
}
.foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.foot__links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
}
.foot__links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.foot__small {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 0.12);
  font-size: 0.85rem;
}
@media (max-width: 700px) {
  .foot__grid {
    grid-template-columns: 1fr;
  }
}

/* Cards in the spirit of the project: the steps of a mission as level tiles of a game, principles
   on notebook paper, worksheets with punched holes, badges, a checklist, name badges, a sticky note and
   a chalkboard. They override the plain cards above. */

/* The four steps of a mission: level tiles that press down, joined by the dashed trail. */
.step {
  padding-top: 30px;
  border-radius: 18px;
  box-shadow:
    inset 0 0 0 2px var(--line),
    0 6px 0 var(--line);
}
.step::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 6px;
  border-radius: 18px 18px 0 0;
  background: var(--teal);
}
.step:nth-child(2)::before {
  background: var(--lilac);
}
.step:nth-child(3)::before {
  background: var(--sun);
}
.step:nth-child(4)::before {
  background: #3aa655;
}
.step:not(:last-child)::after {
  top: 52px;
  right: -16px;
  width: 16px;
  height: 0;
  border: 0;
  border-top: 3px dashed var(--sun);
  transform: none;
}
.step__num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: #fde68a;
  font-weight: 600;
  box-shadow: 0 0 0 4px var(--sun-soft);
}

/* Principles and the vision's cards: index cards from a lined notebook, with the red margin. */
.card--flat {
  padding: 26px 24px 24px 44px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 28px, rgb(226 90 74 / 0.35) 28px 29.5px, transparent 29.5px),
    repeating-linear-gradient(180deg, transparent 0 27px, rgb(47 111 208 / 0.13) 27px 28px) 0 54px / 100% 100% no-repeat,
    var(--white);
  box-shadow:
    0 1px 2px rgb(24 35 74 / 0.06),
    0 10px 24px rgb(24 35 74 / 0.07);
}
.card--flat:hover {
  transform: translateY(-3px) rotate(-0.4deg);
}
.card--flat h3 {
  min-height: 1.5em;
}
.card--flat p {
  line-height: 28px;
}

/* Beside the missions: worksheets with three punched holes along the left. */
.more .card {
  padding-left: 46px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 20px 60px, #e3eaf4 0 6px, transparent 7px),
    radial-gradient(circle at 20px 50%, #e3eaf4 0 6px, transparent 7px),
    radial-gradient(circle at 20px calc(100% - 60px), #e3eaf4 0 6px, transparent 7px), var(--white);
}

/* Astera's three directions: badges, each with its medal. */
.pillar {
  position: relative;
  padding: 28px 24px 24px 92px;
  border: 0;
  border-radius: 20px;
  box-shadow:
    inset 0 0 0 2px var(--line),
    0 6px 0 var(--line);
}
.pillar::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 22px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--teal)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 21V4'/%3E%3Cpath d='M6 4h12l-3 4 3 4H6' fill='%23ffffff'/%3E%3C/g%3E%3C/svg%3E")
    center / 26px no-repeat;
  box-shadow:
    0 0 0 5px var(--white),
    0 0 0 7px var(--teal-soft);
}
.pillar--lilac::before {
  background-color: var(--lilac);
  box-shadow:
    0 0 0 5px var(--white),
    0 0 0 7px var(--lilac-soft);
}
.pillar--sun::before {
  background-color: var(--sun);
  box-shadow:
    0 0 0 5px var(--white),
    0 0 0 7px var(--sun-soft);
}
@media (max-width: 560px) {
  .pillar {
    padding: 88px 20px 22px;
  }
}

/* Who stands behind it: name badges on a lanyard, a pale band with a thin line of the partner's colour,
   the clip's slot, and a faint mark in the corner of each partner: the open book, Pintech's code. */
.partner {
  position: relative;
  padding-top: 58px;
  border-radius: 22px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%2312928a' fill-opacity='.1' d='M23 13.6C18 10.4 10.6 9.9 4.5 11.4V37c6.1-1.5 13.5-1 18.5 2.2zM25 13.6c5-3.2 12.4-3.7 18.5-2.2V37c-6.1-1.5-13.5-1-18.5 2.2z'/%3E%3C/svg%3E")
      right 22px bottom 20px / 84px no-repeat,
    var(--white);
  box-shadow:
    inset 0 0 0 2px var(--line),
    0 6px 0 var(--line);
  overflow: hidden;
}
.partner + .partner {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='none' stroke='%232f6fd0' stroke-opacity='.14' stroke-width='4' stroke-linecap='round' stroke-linejoin='round' d='M16 14 6 24l10 10M32 14l10 10-10 10M27 9l-6 30'/%3E%3C/svg%3E")
      right 22px bottom 20px / 84px no-repeat,
    var(--white);
}
.partner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 36px;
  background: linear-gradient(var(--teal) 0 4px, var(--teal-soft) 4px);
}
.partner + .partner::before {
  background: linear-gradient(var(--lilac) 0 4px, var(--lilac-soft) 4px);
}
.partner::after {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  width: 56px;
  height: 12px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: inset 0 1px 3px rgb(24 35 74 / 0.25);
  transform: translateX(-50%);
}
.partner + .partner .partner__role {
  color: #1f56b0;
}

/* The coming post: a sticky note with tape. */
.post--soon {
  position: relative;
  max-width: 560px;
  border-radius: 6px;
  background: #fff8dc;
  box-shadow: 0 10px 22px rgb(24 35 74 / 0.1);
  transform: rotate(-1deg);
}
.post--soon::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 40px;
  width: 80px;
  height: 20px;
  border-radius: 2px;
  background: rgb(255 255 255 / 0.7);
  box-shadow: 0 1px 2px rgb(24 35 74 / 0.12);
  transform: rotate(-3deg);
}

/* The pilot in numbers: light tiles like the levels above, an icon in its colour, a large number. */
.stats div {
  position: relative;
  padding: 22px 22px 20px 82px;
  border-radius: 18px;
  background: var(--white);
  box-shadow:
    inset 0 0 0 2px var(--line),
    0 6px 0 var(--line);
}
.stats div::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 20px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--teal-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c6f69' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18M5 21V10l7-5 7 5v11M9 21v-5h6v5'/%3E%3C/svg%3E")
    center / 26px no-repeat;
}
.stats div:nth-child(2)::before {
  background: var(--lilac-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f56b0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Ccircle cx='17' cy='9' r='2.5'/%3E%3Cpath d='M3 20c0-3.3 2.7-6 6-6s6 2.7 6 6M15 14.5c2.8-.6 5.5 1.5 5.5 5.5'/%3E%3C/svg%3E")
    center / 26px no-repeat;
}
.stats div:nth-child(3)::before {
  background: var(--sun-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b56a00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5' width='16' height='15' rx='2'/%3E%3Cpath d='M4 10h16M9 3v4M15 3v4'/%3E%3C/svg%3E")
    center / 26px no-repeat;
}
.stats div:nth-child(4)::before {
  background: #e7f6ea
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f8a46' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h10M9 4v2M6 6c0 4 3 7 6 8M12 6c0 3-2 6-6 8'/%3E%3Cpath d='M13 20l4-9 4 9M14.5 17h5'/%3E%3C/svg%3E")
    center / 26px no-repeat;
}
.stats dt {
  color: var(--ink-soft);
}
.stats dd {
  color: var(--ink);
  font-size: clamp(1.5rem, 6vw, 2rem);
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .stats div {
    padding: 74px 16px 16px;
  }
  .stats div::before {
    top: 16px;
    left: 16px;
  }
}

/* Gentle entrance as sections come into view; nothing moves for those who ask for less motion. */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease-out,
    transform 0.7s ease-out;
}
.reveal.is-in,
.no-js .reveal {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------------------------------------------------------------- The three pages
   The home page is the project; „За семејства“ and „За училишта“ each hold what one reader needs. */

/* The menu's sign-in: one button, the app's doors (docs/adr/0023): parent, teacher, child. A parent
   registers from the parents' door. */
.nav__login-item {
  position: relative;
}
.login summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  font-family: var(--head);
  font-size: 0.93rem;
  white-space: nowrap;
  list-style: none;
  cursor: pointer;
}
.login summary::-webkit-details-marker {
  display: none;
}
.login summary::after {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s;
}
.login[open] summary::after {
  transform: translateY(1px) rotate(-135deg);
}
.login__list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  display: grid;
  gap: 2px;
  min-width: 190px;
  margin: 0;
  padding: 8px;
  border-radius: 16px;
  background: var(--white);
  box-shadow:
    inset 0 0 0 1px var(--line),
    var(--shadow-up);
  list-style: none;
}
.nav__list .login__list a {
  display: flex;
  width: 100%;
}
.nav__list a[aria-current='page'] {
  color: #1f56b0;
}
.nav__list a[aria-current='page']::after {
  content: '';
  position: absolute;
  right: 9px;
  bottom: 5px;
  left: 9px;
  height: 3px;
  border-radius: 3px;
  background: var(--sun);
}
@media (max-width: 1180px) {
  .login summary {
    display: flex;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    margin: 6px 0 0;
    font-size: 1rem;
  }
  .login__list {
    position: static;
    min-width: 0;
    padding: 4px 0 0;
    box-shadow: none;
  }
  .nav__list .login__list a {
    justify-content: center;
  }
}

/* The start of „За семејства“ and „За училишта“: light, with where the reader is and three facts. */
.page-hero {
  position: relative;
  padding: 52px 0 64px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(60% 80% at 90% 10%, rgb(47 111 208 / 0.1), transparent 70%), linear-gradient(180deg, #f3f7fd, var(--paper));
}
.page-hero--sch {
  background:
    radial-gradient(60% 80% at 90% 10%, rgb(255 167 38 / 0.16), transparent 70%), linear-gradient(180deg, #fff6e6, var(--paper));
}
.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) {
  .page-hero__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--ink-mute);
  font-size: 0.88rem;
  font-weight: 700;
}
.crumbs a {
  color: var(--teal-deep);
  text-decoration: none;
}
.crumbs a:hover {
  text-decoration: underline;
}
.page-hero h1 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.page-hero__sub {
  margin-top: 10px;
  color: var(--teal-deep);
  font-family: var(--head);
  font-size: 1.2rem;
}
.page-hero .lead {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 1.1rem;
}
.page-hero .hero__actions {
  margin: 28px 0 0;
}
.page-hero__facts {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 26px;
  border-radius: 22px;
  background: var(--white);
  box-shadow:
    inset 0 0 0 2px var(--line),
    0 6px 0 var(--line);
  list-style: none;
}
.page-hero__facts li {
  position: relative;
  padding-left: 36px;
  font-weight: 700;
}
.page-hero__facts li::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--teal-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c6f69' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E")
    center / 14px no-repeat;
}

/* Две намени on the home page: two doors, the same build. */
#nameni,
#uslovi,
#ucestvo,
#roditeli {
  background: #fffdf8;
}
.ways {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
@media (max-width: 900px) {
  .ways {
    grid-template-columns: 1fr;
  }
}
.way {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 30px;
  border-radius: 22px;
  background: linear-gradient(180deg, #f3f7fd, var(--white) 50%);
  box-shadow:
    inset 0 0 0 2px #c9dbf6,
    0 6px 0 #c9dbf6;
}
.way--sch {
  background: linear-gradient(180deg, #fff6e6, var(--white) 50%);
  box-shadow:
    inset 0 0 0 2px #f5e2bd,
    0 6px 0 #f5e2bd;
}
.way__tag {
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--lilac-soft);
  color: #1f56b0;
  font-size: 0.8rem;
  font-weight: 800;
}
.way--sch .way__tag {
  background: var(--sun-soft);
  color: #8a5300;
}
.way h3 {
  font-size: 1.45rem;
}
.way__points {
  display: grid;
  gap: 10px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}
.way__points li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-soft);
}
.way__points li::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 7px;
  background: var(--teal-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c6f69' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E")
    center / 13px no-repeat;
}
.way .btn {
  margin-top: auto;
}

/* Small lines that send a reader to the page that is theirs. */
.who__also,
.safety__more,
.faq__more {
  margin: 0 0 22px;
  color: var(--ink-soft);
}
.safety__more,
.faq__more {
  margin: 22px 0 0;
}

/* A closing call on a page: text on the left, its buttons on the right. */
.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  margin-top: 32px;
  padding: 32px;
  border-radius: 24px;
  background: var(--white);
  box-shadow:
    inset 0 0 0 2px var(--line),
    0 6px 0 var(--line);
}
#roditeli .cta-band {
  margin-top: 0;
}
.cta-band > div:first-child {
  flex: 1 1 420px;
}
.cta-band h2,
.cta-band h3 {
  margin-bottom: 8px;
}
.cta-band h3 {
  font-size: 1.3rem;
}
.cta-band p {
  color: var(--ink-soft);
}
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* The page of schools: the steps of an hour beside the board. */
#cas .class-grid {
  align-items: start;
}
@media (min-width: 901px) {
  #cas .board {
    position: sticky;
    top: 110px;
  }
}
#cas .class-points {
  gap: 10px;
}
#cas .class-points li {
  padding-top: 13px;
  padding-bottom: 13px;
}
#cas .class-points li::before {
  top: 13px;
}
#podatoci,
#bez-podatoci {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 260'%3E%3Cg fill='none' stroke='%2312928a' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke-opacity='.22' stroke-width='3' d='M130 30l80 28v58c0 56-35 90-80 104-45-14-80-48-80-104V58Z'/%3E%3Cpath stroke-opacity='.18' stroke-width='3' d='M98 128l22 22 44-48'/%3E%3C/g%3E%3C/svg%3E")
      right 3% top 40px / calc(var(--mw) * 0.6) auto no-repeat,
    #fffdf8;
}

/* „За училишта“: the board plays one hour of „Општина на живеење“. The map comes alive level by
   level; a step of the hour on the right shows its moment and stops the turning. */
#cas .class-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
}
@media (max-width: 900px) {
  #cas .class-grid {
    grid-template-columns: 1fr;
  }
}
.board--live {
  margin: 0;
}
.board--live .board__screen {
  gap: 10px;
  padding: 14px 16px;
}
.board__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}
.board__mission {
  color: var(--ink);
  font-family: var(--head);
  font-size: 1.05rem;
  font-weight: 600;
}
.board__mission span {
  margin-right: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--ink);
  color: #fde68a;
  font-size: 0.7rem;
  font-weight: 700;
  vertical-align: 2px;
}
.board__path {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.board__path li {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink-mute);
  font-size: 0.7rem;
  font-weight: 800;
}
.board__path li.is-here {
  background: var(--sun-soft);
  box-shadow: inset 0 0 0 1.5px var(--sun);
  color: #8a5300;
}
.board__path li.is-done {
  background: var(--teal-soft);
  box-shadow: none;
  color: var(--teal-deep);
}
.board__body {
  position: relative;
  display: grid;
  gap: 10px;
}
.board__map {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #f4f7fa;
}
/* The map of „Општина на живеење“, in the hero and on the board: faded at the start; the stones go into
   the rings and the border appears; the places the class or the child touches light up; the postman
   carries the invitations along the roads. */
.mm--board {
  display: block;
  width: 100%;
  height: auto;
}
.mm-land {
  fill: #e6f1d8;
}
.mm-field {
  fill: #f1e4bd;
  transition: fill 0.8s;
}
.mm-river {
  fill: none;
  stroke: #7cc0ea;
  stroke-width: 18;
  stroke-linecap: round;
  transition: stroke 0.8s;
}
.mm-hill {
  fill: #c5daa6;
  transition: fill 0.8s;
}
.mm-road {
  fill: none;
  stroke: #fbf6ea;
  stroke-width: 14;
  stroke-linecap: round;
}
.mm-roads {
  filter: drop-shadow(0 2px 0 #d9c9a3);
}
.mm-tree path {
  stroke: #8a5a2b;
  stroke-width: 5;
}
.mm-tree circle {
  fill: #74ba5c;
  transition: fill 0.8s;
}
.mm-border {
  fill: rgb(18 146 138 / 0);
  stroke: #7d8a97;
  stroke-width: 9;
  stroke-dasharray: 0.1 24;
  stroke-linecap: round;
  opacity: 0;
  transition:
    opacity 0.8s 1.6s,
    fill 0.8s 1.6s;
}
.mm-rings circle {
  fill: rgb(255 255 255 / 0.5);
  stroke: #ffffff;
  stroke-width: 4;
  stroke-dasharray: 7 6;
  transition: opacity 0.4s 1.6s;
}
.mm-stones circle {
  fill: #a3aebb;
  stroke: #6f7c89;
  stroke-width: 3;
  transition: transform 0.9s cubic-bezier(0.4, 1.3, 0.5, 1);
}
.mm-stones circle:nth-child(2) {
  transition-delay: 0.2s;
}
.mm-stones circle:nth-child(3) {
  transition-delay: 0.4s;
}
.mm-stones circle:nth-child(4) {
  transition-delay: 0.6s;
}
.mm-stones circle:nth-child(5) {
  transition-delay: 0.8s;
}
.mm-stones circle:nth-child(6) {
  transition-delay: 1s;
}
.mm.is-border .mm-stones circle {
  transform: translate(var(--dx), var(--dy));
}
.mm.is-border .mm-border {
  fill: rgb(18 146 138 / 0.07);
  opacity: 1;
}
.mm.is-border .mm-rings circle {
  opacity: 0;
}
.mm-place use {
  transition:
    filter 0.6s,
    opacity 0.6s;
}
.mm-place text {
  fill: #18234a;
  font: 800 30px var(--body);
  text-anchor: middle;
  paint-order: stroke;
  stroke: #ffffff;
  stroke-width: 9px;
  stroke-linejoin: round;
}
.mm-place__halo {
  fill: rgb(18 146 138 / 0.2);
  stroke: #12928a;
  stroke-width: 5;
  opacity: 0;
  transform: scale(0.5);
  transition:
    opacity 0.3s,
    transform 0.45s cubic-bezier(0.3, 1.6, 0.5, 1),
    fill 0.3s,
    stroke 0.3s;
}
.mm-place.is-lit .mm-place__halo,
.mm-place.is-wrong .mm-place__halo,
.mm-place.is-ask .mm-place__halo {
  opacity: 1;
  transform: none;
}
.mm-place.is-wrong .mm-place__halo {
  fill: rgb(224 119 95 / 0.22);
  stroke: #e0775f;
}
.mm-place.is-ask .mm-place__halo {
  fill: rgb(255 167 38 / 0.22);
  stroke: #ffa726;
  animation: mm-pulse 1.4s ease-in-out infinite;
}
@keyframes mm-pulse {
  50% {
    transform: scale(1.18);
  }
}
.mm-mail {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.3s,
    transform 0.45s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.mm-mail rect {
  fill: #ffffff;
  stroke: #e07f00;
  stroke-width: 3;
}
.mm-mail path {
  fill: none;
  stroke: #e07f00;
  stroke-width: 3;
  stroke-linejoin: round;
}
.mm-place.is-mail .mm-mail {
  opacity: 1;
  transform: none;
}
.mm-route {
  fill: none;
  stroke: none;
}
.mm-postman__shadow {
  fill: rgb(0 0 0 / 0.15);
}
.mm-postman__body {
  fill: #2f6fd0;
}
.mm-postman__head {
  fill: #f2c7a5;
}
.mm-postman__cap {
  fill: #1f4f9e;
}
.mm-postman__bag {
  fill: #c98b52;
  stroke: #7a4a26;
  stroke-width: 2;
}
/* Faded: the old map, before the class or the child brings it back. */
.mm.is-faded .mm-river {
  stroke: #c9d5de;
}
.mm.is-faded .mm-hill,
.mm.is-faded .mm-field {
  fill: #e1e5da;
}
.mm.is-faded .mm-tree circle {
  fill: #cdd6c4;
}
.mm.is-faded .mm-place use {
  filter: grayscale(1);
  opacity: 0.55;
}
.mm.is-faded .mm-place.is-lit use,
.mm.is-faded .mm-place.is-wrong use {
  filter: none;
  opacity: 1;
}

.board__reward {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: #fde68a;
  font-size: 0.74rem;
  font-weight: 800;
  animation: rise 0.4s ease-out;
}
.board__task {
  display: grid;
  gap: 8px;
  min-height: 150px;
}
.board--live .board__q {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}
.board--live .board__options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 560px) {
  .board--live .board__options {
    grid-template-columns: 1fr;
  }
}
.board--live .board__options span {
  position: relative;
  padding: 8px 10px;
  font-size: 0.95rem;
  transition:
    background 0.2s,
    box-shadow 0.2s;
}
.board--live .board__options span.is-wrong {
  background: #fdecea;
  box-shadow:
    inset 0 0 0 2px #e0775f,
    0 3px 0 #e0775f;
}
.board__hand {
  position: absolute;
  right: 6px;
  bottom: -14px;
  width: 30px;
  height: 30px;
  animation: rise 0.35s ease-out;
}
.board__say {
  min-height: 1.6em;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 700;
}
.board__say.is-right {
  color: #1f7a3a;
}
.board__say.is-wrong {
  color: #b3452f;
}
.board__say.is-help {
  color: #1f56b0;
}
.board__say.is-why {
  color: #8a5300;
}
.board__btn {
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.board__btn.is-press {
  transform: translateY(2px);
  box-shadow: inset 0 0 0 2px var(--lilac);
  color: #1f56b0;
}
.board__btn--go.is-press {
  box-shadow: 0 0 0 #e07f00;
  color: #3a2000;
}
/* The start, the choice of play and the mission's opening cover the board's body as cards. */
.board__card {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  padding: 16px;
  border-radius: 12px;
  background: rgb(255 255 255 / 0.9);
  text-align: center;
  backdrop-filter: blur(1.5px);
  animation: rise 0.35s ease-out;
}
.board__card[hidden] {
  display: none;
}
.board__card-kicker {
  color: var(--ink-mute);
  font-size: 0.78rem;
  font-weight: 800;
}
.board__card h4 {
  font-size: 1.3rem;
}
.board__card p {
  max-width: 34em;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.board__card .board__goal {
  color: var(--teal-deep);
  font-weight: 700;
}
.board__lessons,
.board__modes {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.board__modes {
  grid-auto-flow: column;
}
.board__lessons li,
.board__modes span {
  position: relative;
  padding: 7px 14px;
  border-radius: 12px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1.5px var(--line);
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 700;
}
.board__lessons li.is-on,
.board__modes span.is-on {
  background: var(--lilac-soft);
  box-shadow: inset 0 0 0 2px var(--lilac);
  color: #1f56b0;
}
.board__pill {
  position: relative;
  padding: 7px 18px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--line);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}
.board__pill--go {
  background: linear-gradient(180deg, #ffbe3b 0%, #ff9f1a 100%);
  box-shadow: 0 3px 0 #e07f00;
  color: #3a2000;
}
.board__home {
  grid-column: 1 / -1;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--sun-soft);
  color: #6b4400;
  font-size: 0.92rem;
}
.board__caption {
  margin-top: 14px;
  color: var(--ink-mute);
  font-size: 0.85rem;
  text-align: center;
}
/* The steps of the hour: each one a button that shows its moment on the board. */
.class-points--steps li {
  cursor: pointer;
  transition:
    box-shadow 0.2s,
    background 0.2s;
}
.class-points--steps h3 button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.class-points--steps h3 button::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
}
.class-points--steps h3 button:focus-visible {
  outline: none;
}
.class-points--steps li:has(button:focus-visible) {
  outline: 3px solid var(--lilac);
  outline-offset: 2px;
}
.class-points--steps li.is-on {
  background: var(--sun-soft);
  box-shadow:
    inset 0 0 0 2px var(--sun),
    0 4px 0 #f5d39a;
}
.class-points--steps li.is-on::before {
  background: var(--go);
  color: #3a2000;
}
