/* Dashboard (pages/dashboard.html, pages/js/dashboard.js). Mobile first.
   The homepage's world (pages/css/home.css): squared exercise-book paper, Bricolage Grotesque headings, flat
   "3D" buttons and the fox. The learner's unit is a winding path of round nodes drawn on the paper. */
:root {
  --paper: #fbfdf8;
  --grid: rgba(31, 95, 209, .07);
  --ink: #1a2433;
  --muted: #5b6878;
  --faint: #a3aebb;
  --line: #dde5ee;
  --green: #58cc02;
  --green-dark: #46a302;
  --green-ink: #2f7d04;
  --green-soft: #ebf8df;
  --forest: #2e7a00;
  --fox: #f2711c;
  --fox-dark: #c95510;
  --fox-soft: #fff1e6;
  --gold: #ffc21a;
  --gold-dark: #d99a00;
  --blue: #1f5fd1;
  --blue-dark: #17489f;
  --blue-soft: #e8f0fd;
  --locked: #e6ebf1;
  --locked-dark: #cfd7e1;
  --display: "Bricolage Grotesque", Inter, system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 26px 26px;
  min-height: 100vh;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

.app { width: min(1180px, 100% - 32px); margin: 0 auto; padding-top: 14px; }
.layout { display: grid; gap: 18px; margin-top: 18px; }
.main, .side { display: grid; gap: 18px; align-content: start; min-width: 0; }

/* ---------- buttons (as on the homepage) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 16px; padding: 13px 20px;
  font: 800 16px/1.2 var(--body); text-align: center; cursor: pointer;
  transition: transform .12s, box-shadow .12s;
}
.btn:active { transform: translateY(4px); }
.btn:disabled { cursor: not-allowed; opacity: .6; transform: none; }
.btn--green { background: var(--green); color: #fff; box-shadow: 0 6px 0 var(--green-dark); }
.btn--green:active { box-shadow: 0 2px 0 var(--green-dark); }
.btn--plain { background: #fff; color: var(--ink); border: 2px solid var(--line); box-shadow: 0 5px 0 var(--line); }
.btn--plain:active { box-shadow: 0 1px 0 var(--line); }
.btn--white { background: #fff; color: var(--forest); box-shadow: 0 6px 0 rgba(0, 0, 0, .22); }
.btn--white:active { box-shadow: 0 2px 0 rgba(0, 0, 0, .22); }
.btn--big { padding: 16px 24px; font-size: 17px; border-radius: 18px; }

/* ---------- cards ---------- */
.card { background: #fff; border: 2px solid var(--line); border-radius: 24px; padding: 18px; }
.card h2 { font: 800 21px/1.2 var(--display); letter-spacing: -.01em; }
.main > *, .side > * { animation: rise .55s cubic-bezier(.2, .9, .3, 1) both; }
.main > :nth-child(2) { animation-delay: .06s; }
.main > :nth-child(3) { animation-delay: .12s; }
.main > :nth-child(4) { animation-delay: .18s; }
.side > :nth-child(1) { animation-delay: .1s; }
.side > :nth-child(2) { animation-delay: .16s; }
.side > :nth-child(3) { animation-delay: .22s; }
.side > :nth-child(4) { animation-delay: .28s; }

/* ---------- hero: the next lesson ---------- */
.hero {
  position: relative; margin-top: 44px; padding: 22px 20px;
  background-color: var(--forest); color: #fff; border-radius: 28px;
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 26px 26px;
  box-shadow: 0 8px 0 #235e00;
}
.hero__fox {
  position: absolute; right: 10px; top: -54px; width: 104px;
  animation: fox-in .7s .15s cubic-bezier(.2, 1.2, .4, 1) both;
}
.hero__body { min-width: 0; }
.hero__hello { font-weight: 700; font-size: 15px; color: #bfe2a6; padding-right: 100px; }
.hero__title {
  margin-top: 6px; padding-right: 96px;
  font: 800 clamp(26px, 7vw, 40px)/1.06 var(--display); letter-spacing: -.02em;
}
.hero__copy {
  margin-top: 10px; color: #d9efc8; font-size: 16px; line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 20px; }
.hero__actions .btn { flex: 1 1 220px; }
.hero__xp {
  border-radius: 99px; padding: 8px 13px; background: var(--fox); color: #fff;
  font: 800 14px/1 var(--body); box-shadow: 0 4px 0 var(--fox-dark); white-space: nowrap;
  animation: pop .45s .55s cubic-bezier(.2, 1.6, .4, 1) both;
}
.hero__daily {
  margin-top: 16px; padding: 10px 14px; border-radius: 14px;
  background: rgba(255, 255, 255, .12); color: #eaf7de; font-size: 14px; font-weight: 600; line-height: 1.5;
}

/* ---------- words due for review ---------- */
.review-card {
  display: grid; grid-template-columns: 64px 1fr; gap: 12px 14px; align-items: center;
  background: #fff; border: 2px solid var(--line); border-radius: 24px; padding: 14px 16px 16px;
}
.review-card__fox { width: 64px; }
.review-card__text b { display: block; font: 800 18px/1.25 var(--display); }
.review-card__text span { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; font-weight: 600; line-height: 1.45; }
.review-card__btn { grid-column: 1 / -1; }
.review-card.is-due { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 8px 0 var(--blue-dark); }
.review-card.is-due .review-card__text span { color: #d6e4fb; }
.review-card.is-due .review-card__btn { border-color: #fff; color: var(--blue); box-shadow: 0 5px 0 rgba(0, 0, 0, .2); }

/* ---------- this week ---------- */
.today__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.today__streak {
  display: inline-flex; align-items: center; gap: 5px; border-radius: 99px; padding: 6px 12px;
  background: #f1f4f8; color: var(--muted); font-size: 14px; font-weight: 700;
}
.today__streak.is-on { background: var(--fox-soft); color: #9a4a12; }
.today__streak b { font: 800 16px/1 var(--display); color: var(--fox); }
.today__streak svg { width: 17px; height: 17px; fill: var(--fox); }
.today__streak svg .flame-core { fill: #ffd2a8; }

.week { list-style: none; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 16px; }
.day { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.day__mark {
  display: grid; place-items: center; width: min(40px, 100%); aspect-ratio: 1; border-radius: 50%;
  background: #f1f4f8; position: relative;
}
.day__name { font-size: 12px; font-weight: 700; color: var(--muted); }
.day--now .day__name { color: var(--ink); font-weight: 800; }
.day--missed .day__mark::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--locked-dark); }
.day--future .day__mark { background: transparent; border: 2px solid var(--line); }
.day--today .day__mark { background: #fff; border: 2px dashed var(--fox); }
.day--done .day__mark {
  background: var(--fox); box-shadow: 0 3px 0 var(--fox-dark);
  animation: pop .45s cubic-bezier(.2, 1.6, .4, 1) both;
}
.day--done.day--now .day__mark { outline: 3px solid var(--fox-soft); outline-offset: 2px; }
.day--done .day__mark svg { width: 58%; fill: #fff; }
.day--done .day__mark svg .flame-core { fill: #ffd2a8; }
.day--done.day--now .day__mark svg { animation: flicker 1.6s .8s ease-in-out 2; transform-origin: 50% 90%; }
.day:nth-child(2) .day__mark { animation-delay: .05s; }
.day:nth-child(3) .day__mark { animation-delay: .1s; }
.day:nth-child(4) .day__mark { animation-delay: .15s; }
.day:nth-child(5) .day__mark { animation-delay: .2s; }
.day:nth-child(6) .day__mark { animation-delay: .25s; }
.day:nth-child(7) .day__mark { animation-delay: .3s; }
.today__hint { margin-top: 12px; color: var(--muted); font-size: 14px; font-weight: 600; }

.goal { margin-top: 16px; padding-top: 14px; border-top: 2px dashed var(--line); }
.goal__line { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 15px; }
.goal__line span { color: var(--muted); font-weight: 700; }
.goal__bar { height: 12px; margin: 10px 0 8px; border-radius: 99px; background: #edf1f6; overflow: hidden; }
.goal__bar i { display: block; width: 0; height: 100%; border-radius: 99px; background: var(--green); transition: width .7s cubic-bezier(.2, .9, .3, 1); }
.goal__hint { color: var(--muted); font-size: 14px; font-weight: 600; }
.today.is-met .goal__hint { color: var(--green-ink); font-weight: 800; }

/* ---------- the unit: head + winding path ---------- */
.unit { scroll-margin-top: 100px; }   /* clear of the sticky menu when ‹ › or the unit list brings it into view */
.unit__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 16px; margin: 10px 2px 0; }
.unit__head h2 { font: 800 clamp(24px, 6vw, 30px)/1.1 var(--display); letter-spacing: -.02em; }
.unit__head p { margin-top: 4px; color: var(--muted); font-weight: 600; font-size: 15px; }
.unit-nav { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 800; font-size: 13px; }
.unit-nav__btn {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--line); background: #fff; color: var(--ink); box-shadow: 0 4px 0 var(--line);
  font: 800 22px/1 var(--body); cursor: pointer; transition: transform .12s, box-shadow .12s, color .15s, border-color .15s;
}
.unit-nav__btn:hover:not(:disabled) { color: var(--green-ink); border-color: var(--green); }
.unit-nav__btn:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 1px 0 var(--line); }
.unit-nav__btn:disabled { opacity: .4; cursor: not-allowed; }

.path {
  --axis: 29%; --swing: 10%; --node: 66px; --row: 104px;
  position: relative; margin-top: 8px; padding: 18px 0 10px;
}
.path__line { position: absolute; left: 0; top: 0; pointer-events: none; overflow: visible; }
.path__track { fill: none; stroke: var(--locked-dark); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 2 13; }
.path__done { fill: none; stroke: var(--green); stroke-width: 8; stroke-linecap: round; }
.path__done.is-drawing { transition: stroke-dashoffset 1.2s .35s cubic-bezier(.4, 0, .2, 1); }

.stop { --cx: calc(var(--axis) + var(--swing) * var(--x, 0)); position: relative; z-index: 1; height: var(--row); }
.stop--next { --node: 78px; margin-top: 30px; }
.stop__spot {
  position: absolute; left: var(--cx); top: 50%; width: var(--node); height: var(--node);
  transform: translate(-50%, -50%);
}
.stop__node {
  position: relative; display: grid; place-items: center; width: 100%; height: 100%;
  border: 0; border-radius: 50%; cursor: pointer;
  background: var(--green); color: #fff; box-shadow: 0 6px 0 var(--green-dark);
  transition: transform .12s, box-shadow .12s;
  animation: node-in .5s calc(var(--i, 0) * 70ms) cubic-bezier(.2, 1.5, .4, 1) both;
}
.stop__node svg { width: 46%; height: 46%; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.stop__node svg .fill { fill: currentColor; stroke: none; }
.stop__node:hover:not(:disabled) { transform: translateY(-2px); }
.stop__node:active:not(:disabled) { transform: translateY(5px); box-shadow: 0 1px 0 var(--green-dark); }
.stop__node:disabled { cursor: default; }

.stop--next .stop__node::after {
  content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 4px solid var(--green);
  opacity: 0; animation: ring 2s 1s ease-out infinite;
}
.stop--open .stop__node { background: #fff; color: var(--green-ink); box-shadow: 0 6px 0 var(--green-soft), inset 0 0 0 3px var(--green); }
.stop--locked .stop__node { background: var(--locked); color: var(--faint); box-shadow: 0 6px 0 var(--locked-dark); }
.stop--boss:not(.stop--locked) .stop__node { background: var(--gold); color: #7a4d00; box-shadow: 0 6px 0 var(--gold-dark); }
.stop--boss.stop--next .stop__node::after { border-color: var(--gold); }

.stop__bubble {
  position: absolute; left: 50%; bottom: calc(100% + 14px); z-index: 2;
  padding: 6px 12px; border-radius: 12px; background: #fff; border: 2px solid var(--line);
  color: var(--green-ink); font: 800 13px/1.2 var(--body); text-transform: uppercase; letter-spacing: .04em;
  white-space: nowrap; box-shadow: 0 4px 0 var(--line);
  transform: translateX(-50%); animation: bob 2.2s .9s ease-in-out infinite;
}
.stop__bubble::after {
  content: ""; position: absolute; left: 50%; top: 100%; width: 10px; height: 10px; margin: -4px 0 0 -6px;
  background: #fff; border-right: 2px solid var(--line); border-bottom: 2px solid var(--line); transform: rotate(45deg);
}

.stop__label {
  position: absolute; top: 50%; left: calc(var(--cx) + var(--node) / 2 + 14px);
  max-width: calc(100% - var(--cx) - var(--node) / 2 - 14px);
  display: flex; flex-direction: column; gap: 2px; padding: 4px 8px; border-radius: 10px;
  background: rgba(251, 253, 248, .92); transform: translateY(-50%);
  animation: fade .5s calc(var(--i, 0) * 70ms + .15s) both;
}
.stop__label small { color: var(--muted); font-size: 13px; font-weight: 700; }
.stop__label b {
  font: 800 17px/1.2 var(--display); overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.stop--next .stop__label small { color: var(--green-ink); font-weight: 800; }
.stop--next .stop__label b { font-size: 19px; }
.stop--locked .stop__label b { color: #7c8797; }

/* ---------- the course: levels A0 -> B2 ---------- */
.levels { list-style: none; margin-top: 14px; }
.lvl { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; padding-bottom: 14px; }
.lvl:last-child { padding-bottom: 0; }
.lvl:not(:last-child)::before {
  content: ""; position: absolute; left: 20px; top: 44px; bottom: 0; width: 4px; border-radius: 2px;
  background: repeating-linear-gradient(var(--line) 0 6px, transparent 6px 10px);
}
.lvl--done:not(:last-child)::before { background: var(--green); }
.lvl__mark {
  position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--locked); color: var(--faint);
}
.lvl__mark svg { width: 50%; height: 50%; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.lvl__mark svg .fill { fill: currentColor; stroke: none; }
.lvl--done .lvl__mark { background: var(--green); color: #fff; box-shadow: 0 3px 0 var(--green-dark); }
.lvl--now .lvl__mark, .lvl--open .lvl__mark {
  background: conic-gradient(var(--green) calc(var(--p, 0) * 1%), #e3e9f0 0);
}
.lvl--now .lvl__mark span, .lvl--open .lvl__mark span {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff;
  color: var(--green-ink); font: 800 14px/1 var(--display);
}
.lvl__text b { display: block; font: 800 16px/1.2 var(--display); }
.lvl__text small { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; font-weight: 600; line-height: 1.35; }
.lvl--locked .lvl__text b { color: #7c8797; }
.lvl--now .lvl__text b { color: var(--green-ink); }

.course__total { margin-top: 16px; padding: 10px 12px; border-radius: 14px; background: var(--green-soft); color: var(--green-ink); font-size: 14px; font-weight: 600; }
.course__total b { font-weight: 800; }

.unit-group { margin-top: 10px; border: 2px solid var(--line); border-radius: 16px; overflow: hidden; }
.unit-group > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 14px; font-weight: 800; font-size: 15px;
}
.unit-group > summary::-webkit-details-marker { display: none; }
.unit-group > summary::after { content: "\203A"; font-size: 22px; line-height: 1; color: var(--muted); transition: transform .2s; }
.unit-group[open] > summary::after { transform: rotate(90deg); }
.unit-group > summary:hover { background: #f7f9fb; }
.unit-group > summary span { display: flex; align-items: center; gap: 8px; }
.unit-group > summary span b { border-radius: 99px; padding: 2px 8px; background: var(--blue-soft); color: var(--blue); font-size: 13px; }
.unit-group.is-now > summary span b { background: var(--green-soft); color: var(--green-ink); }
.unit-group > summary small { margin-left: auto; color: var(--muted); font-size: 13px; font-weight: 700; }
.unit-group__body { padding: 0 14px 4px; border-top: 2px solid var(--line); }
.unit-btn {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 8px;
  padding: 12px 0; border: 0; border-top: 1px solid var(--line); background: none; text-align: left;
  color: var(--ink); font: 700 15px/1.3 var(--body); cursor: pointer;
}
.unit-btn:first-child { border-top: 0; }
.unit-btn:hover:not(:disabled) { color: var(--green-ink); }
.unit-btn:disabled { color: var(--faint); cursor: default; }
.unit-btn.is-viewing { color: var(--blue); font-weight: 800; }
.tag { flex: none; border-radius: 99px; padding: 4px 8px; color: #fff; font: 800 11px/1.1 var(--body); white-space: nowrap; }
.tag--done { background: var(--green); }
.tag--now { background: var(--fox); }
.tag--open { background: var(--blue); }
.tag--lock { background: var(--faint); }

/* ---------- numbers, achievements, subscription ---------- */
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.metric { border: 2px solid var(--line); border-radius: 16px; padding: 12px 8px; text-align: center; }
.metric strong { display: block; font: 800 26px/1.1 var(--display); }
.metric span { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; font-weight: 700; }

.achs { display: grid; gap: 8px; margin-top: 14px; }
.ach { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 2px solid var(--line); border-radius: 16px; }
.ach__ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; font-size: 22px; }
.ach__ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; }
.ach__ico svg .fill { fill: currentColor; stroke: none; }
.ach__text b { display: block; font-size: 15px; }
.ach__text small { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; font-weight: 600; }
.ach--open { background: var(--green-soft); border-color: #cdeeb0; }
.ach--locked .ach__ico { background: var(--locked); color: var(--faint); }
.ach--locked .ach__text b { color: #7c8797; }

.sub [data-subscription-body] { margin-top: 10px; }
.sub__ok { color: var(--green-ink); font-weight: 800; }
.sub__warn { color: #b45309; font-weight: 800; }
.sub__muted { color: var(--muted); font-weight: 700; }
.sub__note { margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.sub__link { display: inline-block; margin-top: 10px; color: var(--green-ink); font-weight: 800; }

/* ---------- "not yet" modals: sign up, daily limit ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center;
  padding: 16px; background: rgba(19, 33, 63, .62);
}
.modal {
  width: min(420px, 100%); max-height: calc(100vh - 32px); overflow-y: auto;
  background: #fff; border-radius: 26px; padding: 22px 22px 24px; text-align: center;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .3); animation: modal-in .3s ease both;
}
.modal__fox { width: 92px; margin: 0 auto 6px; }
.modal h3 { font: 800 22px/1.2 var(--display); margin-bottom: 10px; }
.modal p { color: var(--muted); font-size: 15px; font-weight: 600; line-height: 1.6; }
.modal__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 20px; }

/* ---------- keyframes ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes node-in { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fox-in { from { opacity: 0; transform: translateY(30px) rotate(-6deg); } to { opacity: 1; transform: none; } }
@keyframes ring { 0% { opacity: .7; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.35); } }
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -5px); } }
@keyframes flicker { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.12) rotate(-4deg); } 60% { transform: scale(.95) rotate(3deg); } }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }

/* ---------- wider screens ---------- */
@media (min-width: 620px) {
  .hero { display: grid; grid-template-columns: 1fr 170px; gap: 20px; align-items: end; padding: 28px 26px; margin-top: 40px; }
  .hero__fox { position: static; grid-column: 2; grid-row: 1; width: 170px; margin: -70px 0 -28px; align-self: end; }
  .hero__body { grid-column: 1; grid-row: 1; }
  .hero__hello, .hero__title { padding-right: 0; }
  .hero__actions .btn { flex: 0 1 auto; }
  .review-card { grid-template-columns: 76px 1fr auto; padding: 14px 18px; }
  .review-card__fox { width: 76px; }
  .review-card__btn { grid-column: auto; }
  .path { --axis: 50%; --swing: 24%; --node: 72px; --row: 112px; }
  .stop--next { --node: 84px; }
  .stop--flip .stop__label {
    left: auto; right: calc(100% - var(--cx) + var(--node) / 2 + 14px);
    max-width: calc(var(--cx) - var(--node) / 2 - 14px);
    align-items: flex-end; text-align: right;
  }
  .side { grid-template-columns: 1fr 1fr; }
  .side .course { grid-column: 1 / -1; }
}

@media (min-width: 960px) {
  .layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; margin-top: 22px; }
  .side { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr 200px; padding: 32px 30px; }
  .hero__fox { width: 200px; margin: -86px 0 -32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
