@font-face {
  font-family: Outfit;
  src: url("assets/outfit-latin.6c18d579fd87.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --bg: #fcfbf8;
  --surface: #fff;
  --ink: #202b4b;
  --muted: #626777;
  --line: #e5e4e6;
  --accent: #b94031;
  --coral: #e75d49;
  --on-accent: #fff;
  --lesson: #fbf1e6;
  --word: #edf0fb;
  --warm: #f8e7b5;
  --subtle: #f1f0ee;
  --focus: #3154b1;
  --success: #e5f1e8;
  --error: #fae3df;
  --layer-nav: 10;
  --layer-notice: 30;
  font-family: Outfit, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #151b2c;
    --surface: #1f273e;
    --ink: #f3f1ec;
    --muted: #b9bfd0;
    --line: #3b4358;
    --accent: #f4aa97;
    --on-accent: #35211f;
    --lesson: #302a30;
    --word: #272e4a;
    --warm: #3f3529;
    --subtle: #252c3f;
    --focus: #acc2ff;
    --success: #243d34;
    --error: #55322f;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #151b2c;
  --surface: #1f273e;
  --ink: #f3f1ec;
  --muted: #b9bfd0;
  --line: #3b4358;
  --accent: #f4aa97;
  --on-accent: #35211f;
  --lesson: #302a30;
  --word: #272e4a;
  --warm: #3f3529;
  --subtle: #252c3f;
  --focus: #acc2ff;
  --success: #243d34;
  --error: #55322f;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding: 90px 0 100px;
}
body {
  margin: 0;
  padding: 0 40px;
}
button,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
button,
a,
select {
  scroll-margin-block: 100px;
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
}
button:disabled {
  cursor: default;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
p {
  line-height: 1.6;
}
.header,
main {
  max-width: 1240px;
  margin: auto;
}
.header {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-size: 23px;
  font-weight: 650;
  letter-spacing: -0.9px;
}
.brand img {
  flex-shrink: 0;
}
.brand small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.35px;
  margin-top: 4px;
  color: var(--muted);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
}
.header-actions > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
.quiet {
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 10px 16px;
  background: var(--surface);
  color: var(--ink);
  min-height: 44px;
  font-size: 12px;
}
.welcome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 38px 0 24px;
}
.eyebrow {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.handwave {
  color: var(--accent);
  font-size: 23px;
}
h1 {
  font-size: clamp(32px, 3.2vw, 46px);
  line-height: 1.13;
  letter-spacing: -1.7px;
  font-weight: 600;
  margin-bottom: 13px;
}
h1 > span:last-child {
  color: var(--muted);
  font-weight: 400;
}
.welcome p:last-child {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 0;
}
.daily-note {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  line-height: 1.6;
}
.daily-note > span:first-child {
  font-size: 52px;
  color: var(--accent);
  transform: rotate(12deg);
}
.goal-section {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-wrap: wrap;
  font-size: 13px;
  margin-bottom: 26px;
}
.goal-section label {
  font-weight: 500;
}
.goal-section select {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 10px 34px 10px 16px;
  min-height: 44px;
  max-width: 100%;
}
.goal-section > span {
  color: var(--muted);
  font-size: 12px;
}
.study-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  gap: 24px;
}
.lesson-feature {
  background: var(--lesson);
  border-radius: 24px;
  padding: 28px 30px 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 11px;
  color: var(--muted);
}
.tag {
  letter-spacing: 1px;
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
}
.feature-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  flex: 1;
  gap: 4px;
  margin: 30px 0 24px;
}
.lesson-heading {
  position: relative;
  z-index: 1;
}
.lesson-heading h2 {
  font-size: clamp(32px, 3.3vw, 48px);
  letter-spacing: -1.8px;
  line-height: 1.04;
  font-weight: 600;
  margin-bottom: 18px;
}
.lesson-heading h2 span {
  color: var(--accent);
}
.lesson-heading p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 24px;
}
.primary {
  background: var(--ink);
  color: var(--bg);
  border: 0;
  border-radius: 12px;
  padding: 15px 20px;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 4px 0 color-mix(in srgb, var(--ink) 18%, transparent);
}
.lesson-art {
  width: 110%;
  margin-left: -8%;
  transform: rotate(-3deg);
}
.lesson-art img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
  aspect-ratio: 3/2;
  object-fit: cover;
}
.lesson-bottom {
  padding-top: 16px;
  border-top: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 10px;
  color: var(--muted);
}
.mini-bubble {
  background: var(--surface);
  padding: 8px 13px;
  color: var(--ink);
  border-radius: 12px 12px 12px 2px;
  font-size: 12px;
}
.study-aside {
  display: grid;
  gap: 16px;
}
.word-card {
  background: var(--word);
  padding: 24px;
  border-radius: 22px;
  position: relative;
}
.card-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}
.card-heading h2 {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
  max-width: 160px;
}
.tiny-label {
  font-size: 9px;
  letter-spacing: 1px;
  font-weight: 600;
  color: var(--muted);
}
.swedish-word {
  font-size: 36px;
  letter-spacing: -1.4px;
  font-weight: 500;
  line-height: 1.1;
  margin: 22px 0 5px;
}
.swedish-word > span {
  color: var(--accent);
}
.translation {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}
.example {
  font-size: 14px;
  margin-bottom: 2px;
}
.muted {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 15px;
}
.outline {
  background: var(--surface);
  color: var(--ink);
  border: 0;
  border-radius: 99px;
  min-height: 44px;
  font-size: 12px;
  padding: 10px 16px;
}
.outline > span {
  margin-right: 8px;
}
.status {
  font-size: 12px;
}
.status:empty {
  display: none;
}
.progress-card {
  display: flex;
  gap: 14px;
  padding: 16px 4px;
  align-items: start;
}
.progress-symbol {
  background: var(--warm);
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 27px;
  border-radius: 15px;
}
.progress-card h2 {
  font-size: 16px;
  letter-spacing: -0.3px;
  margin-bottom: 6px;
}
.progress-number {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}
.progress-number > span {
  font-weight: 650;
  color: var(--ink);
}
#progress-note {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 4px;
}
.progress-card small {
  font-size: 10px;
  color: var(--muted);
}
.explore {
  margin-top: 40px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.section-heading h2 {
  font-size: 26px;
  font-weight: 550;
  letter-spacing: -0.7px;
  margin-bottom: 6px;
}
.section-heading p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 0;
}
.section-heading > a {
  font-size: 12px;
  text-decoration: none;
  padding: 14px 0;
  white-space: nowrap;
}
.topic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
.all-lessons-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin-top: 18px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.topic {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 14px;
  text-align: left;
  background: var(--surface);
  color: var(--ink);
  display: flex;
  flex-direction: column;
}
.topic-art {
  height: 134px;
  border-radius: 12px;
  display: grid;
  place-content: center;
  font-size: 65px;
  font-weight: 650;
  line-height: 0.8;
  letter-spacing: -4px;
  margin-bottom: 18px;
  text-align: center;
  position: relative;
  color: #202b4b;
  background: #eddcce;
}
.topic-hello .topic-art {
  background: #f5d9d1;
  transform: rotate(-1deg);
}
.topic-coffee .topic-art {
  background: #f7e8b8;
  transform: rotate(1deg);
}
.topic-art > span {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  display: block;
  transform: rotate(-8deg);
  margin: 12px 0 0 60px;
}
.topic-meta {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  padding: 0 4px;
  margin-bottom: 9px;
}
.topic-meta > span {
  font-size: 8px;
  letter-spacing: 1px;
}
.topic strong {
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.4px;
  padding: 0 4px;
}
.topic-description {
  font-size: 12px;
  color: var(--muted);
  padding: 5px 4px 18px;
}
.topic-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
  margin: 0 4px;
  padding: 12px 0 2px;
  border-top: 1px solid var(--line);
}
.topic-foot > span[aria-hidden="true"] {
  font-size: 20px;
}
.library-card {
  background: var(--subtle);
  padding: 24px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.library-symbol {
  font-size: 44px;
  letter-spacing: -4px;
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--accent);
}
.library-card h3 {
  font-size: 24px;
  letter-spacing: -0.8px;
  font-weight: 500;
  line-height: 1.1;
  margin: 14px 0 12px;
}
.library-card p {
  color: var(--muted);
  font-size: 12px;
  max-width: 230px;
  margin-bottom: 18px;
}
.library-card .topic-foot {
  margin: auto 0 0;
}
.path-note {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 48px;
  padding: 36px 0;
  border-block: 1px solid var(--line);
}
.path-note h2 {
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.6px;
  font-weight: 500;
  margin: 14px 0 0;
}
.path-note p {
  font-size: 13px;
  color: var(--muted);
  max-width: 420px;
}
.path-note .preview-note {
  font-size: 11px;
  margin-bottom: 0;
}
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 36px;
  font-size: 11px;
  color: var(--muted);
}
.footer-brand {
  font-size: 16px;
  font-weight: 550;
  letter-spacing: -0.7px;
  text-decoration: none;
  color: var(--ink);
}
.bottom-nav {
  position: absolute;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: var(--layer-nav);
}
.bottom-nav a,
.bottom-nav button {
  color: var(--muted);
  background: none;
  border: 0;
  border-radius: 9px;
  padding: 12px;
  min-height: 44px;
  font-size: 12px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
}
.bottom-nav [aria-current] {
  color: var(--accent);
  background: var(--subtle);
  font-weight: 550;
}
.nav-glyph {
  display: none;
}
.nav-icon {
  display: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .nav-icon {
    filter: invert(1);
  }
}
:root[data-theme="dark"] .nav-icon {
  filter: invert(1);
}
.skip {
  position: fixed;
  top: 8px;
  left: 8px;
  transform: translateY(-180%);
  background: var(--surface);
  padding: 12px;
  z-index: var(--layer-notice);
}
.skip:focus {
  transform: none;
}
dialog {
  width: min(560px, calc(100% - 24px));
  max-height: 90dvh;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  color: var(--ink);
}
dialog::backdrop {
  background: #151b2cbb;
}
.player-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  gap: 12px;
  margin-bottom: 24px;
}
.sound-effects-toggle {
  margin-inline-start: auto;
  min-width: 44px;
  min-height: 44px;
  font-size: 18px;
}
#player { position: relative; }
.completion-confetti {
  position: absolute;
  inset: 0 0 auto;
  height: 120px;
  overflow: hidden;
  pointer-events: none;
}
.completion-confetti span {
  position: absolute;
  top: -10px;
  inset-inline-start: calc(5% + var(--piece) * 8%);
  width: 7px;
  height: 11px;
  background: var(--coral, #e67969);
  border-radius: 2px;
  animation: confetti-fall 1.1s ease-out both;
  animation-delay: calc(var(--piece) * 35ms);
}
.completion-confetti span:nth-child(3n) { background: #e9b753; }
.completion-confetti span:nth-child(3n + 1) { background: #719c99; }
@keyframes confetti-fall {
  from { transform: translateY(-12px) rotate(0); opacity: 1; }
  to { transform: translateY(120px) rotate(240deg); opacity: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .answer-shake { animation: answer-shake 260ms ease-in-out; }
}
@keyframes answer-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}
#player-title {
  font-size: 30px;
  letter-spacing: -1px;
  font-weight: 550;
}
#player p {
  font-size: 15px;
  color: var(--muted);
}
.teaching {
  background: var(--lesson);
  padding: 24px;
  border-radius: 16px;
  margin-bottom: 24px;
}
.teaching strong {
  font-size: 28px;
  font-weight: 500;
}
.teaching p {
  margin: 12px 0;
}
.teaching small {
  color: var(--muted);
}
.choices {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}
.choice {
  min-height: 52px;
  padding: 14px;
  text-align: left;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.choice[data-result="correct"] {
  background: var(--success);
  border-color: var(--ink);
}
.choice[data-result="incorrect"] {
  background: var(--error);
  border-color: var(--ink);
}
.feedback {
  padding: 16px;
  background: var(--subtle);
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.5;
}
.feedback:empty {
  display: none;
}
.storage-status {
  position: fixed;
  inset: 0 0 auto;
  background: var(--surface);
  padding: 12px;
  border-bottom: 1px solid var(--line);
  z-index: var(--layer-notice);
}
@media (hover: hover) {
  button,
  .topic,
  .library-card {
    transition:
      transform 160ms ease,
      box-shadow 160ms ease;
  }
  .primary:hover {
    transform: translateY(-2px);
  }
  .topic:hover,
  .library-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px #202b4b10;
  }
}
button:active {
  transform: translateY(1px);
}
@media (min-width: 768px) and (max-width: 1100px) {
  .header-actions > a {
    display: none;
  }
  .brand {
    font-size: 19px;
  }
  .bottom-nav {
    gap: 2px;
    left: 54%;
  }
  .bottom-nav a,
  .bottom-nav button {
    padding: 10px;
  }
  .feature-body {
    grid-template-columns: 1fr;
  }
  .lesson-art {
    display: none;
  }
  .lesson-heading h2 {
    font-size: 40px;
  }
  .daily-note {
    display: none;
  }
  .swedish-word {
    font-size: 29px;
  }
}
@media (max-width: 767px) {
  body {
    padding: 0 20px 90px;
  }
  .header {
    height: 78px;
  }
  .brand {
    font-size: 20px;
    letter-spacing: -0.8px;
  }
  .brand img {
    width: 32px;
    height: 32px;
  }
  .brand small {
    font-size: 8px;
  }
  .header-actions > a {
    display: none;
  }
  .quiet {
    padding: 8px 12px;
    font-size: 11px;
  }
  .welcome {
    padding: 27px 0 18px;
  }
  .eyebrow {
    font-size: 12px;
    margin-bottom: 11px;
  }
  h1 {
    font-size: 30px;
    letter-spacing: -1.1px;
    line-height: 1.15;
  }
  h1 > span {
    font-size: 25px;
    display: block;
    margin-top: 5px;
  }
  .welcome p:last-child {
    font-size: 13px;
    max-width: 280px;
    line-height: 1.5;
  }
  .daily-note {
    display: none;
  }
  .goal-section {
    gap: 9px;
    margin-bottom: 20px;
  }
  .goal-section label {
    font-size: 12px;
  }
  .goal-section select {
    font-size: 12px;
    flex: 1;
  }
  .goal-section > span {
    width: 100%;
    font-size: 11px;
    line-height: 1.5;
  }
  .study-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .lesson-feature {
    padding: 20px;
    border-radius: 20px;
  }
  .feature-top {
    font-size: 10px;
  }
  .tag {
    font-size: 8px;
    letter-spacing: 0.8px;
  }
  .feature-body {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    margin: 20px 0 18px;
    gap: 0;
    align-items: start;
  }
  .lesson-heading h2 {
    font-size: 33px;
    line-height: 1.05;
    letter-spacing: -1.2px;
    margin-bottom: 12px;
  }
  .lesson-heading p {
    font-size: 11px;
    line-height: 1.6;
    margin-bottom: 18px;
  }
  .lesson-heading p br {
    display: none;
  }
  .lesson-heading .primary {
    font-size: 12px;
    padding: 12px 14px;
    gap: 12px;
    white-space: nowrap;
    position: relative;
  }
  .lesson-art {
    width: 100%;
    margin: 36px 0 0;
    transform: rotate(-4deg);
  }
  .lesson-art img {
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 18px;
  }
  .lesson-bottom {
    gap: 8px;
    font-size: 8px;
    padding-top: 12px;
  }
  .mini-bubble {
    font-size: 10px;
    padding: 7px 10px;
  }
  .study-aside {
    grid-template-columns: 1fr;
  }
  .word-card {
    padding: 22px;
  }
  .swedish-word {
    font-size: 38px;
  }
  .progress-card {
    padding: 6px 0;
  }
  .section-heading {
    align-items: start;
    gap: 8px;
  }
  .section-heading h2 {
    font-size: 23px;
  }
  .section-heading p {
    font-size: 12px;
  }
  .section-heading > a {
    display: none;
  }
  .topic-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .topic {
    padding: 10px;
    border-radius: 16px;
  }
  .topic-art {
    height: 100px;
    font-size: 48px;
    letter-spacing: -3px;
    margin-bottom: 14px;
  }
  .topic-art > span {
    font-size: 13px;
    margin-left: 30px;
  }
  .topic strong {
    font-size: 15px;
    line-height: 1.3;
  }
  .topic-description {
    font-size: 10px;
    line-height: 1.5;
    padding-bottom: 12px;
  }
  .topic-foot {
    font-size: 10px;
    margin-top: auto;
  }
  .topic-meta {
    font-size: 9px;
  }
  .topic-meta > span {
    font-size: 7px;
  }
  .library-card {
    grid-column: 1/-1;
    padding: 22px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0 20px;
  }
  .library-symbol {
    grid-column: 2;
    grid-row: 1/4;
    margin: 0;
    align-self: center;
    font-size: 64px;
  }
  .library-card .tiny-label,
  .library-card h3,
  .library-card p {
    grid-column: 1;
  }
  .library-card h3 {
    font-size: 23px;
  }
  .library-card .topic-foot {
    grid-column: 1/-1;
    margin-top: 8px;
  }
  .library-card p {
    max-width: 240px;
    font-size: 12px;
  }
  .path-note {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 32px;
    padding: 26px 0;
  }
  .path-note h2 {
    font-size: 26px;
  }
  .path-note p {
    font-size: 12px;
  }
  .bottom-nav {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    transform: none;
    width: 100%;
    padding: 8px 6px max(8px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: var(--surface);
    justify-content: space-around;
    gap: 4px;
  }
  .bottom-nav a,
  .bottom-nav button {
    font-size: 10px;
    padding: 5px 16px;
    min-height: 48px;
    flex-direction: column;
    gap: 2px;
    min-width: 64px;
  }
  .nav-glyph {
    display: block;
    font-size: 22px;
    line-height: 1;
  }
  .nav-icon {
    display: block;
  }
  .bottom-nav [aria-current] {
    background: var(--lesson);
  }
  footer {
    flex-wrap: wrap;
    font-size: 10px;
    padding: 24px 0;
  }
  .footer-brand {
    font-size: 15px;
  }
  footer > a:last-child {
    width: 100%;
  }
  dialog {
    padding: 22px;
  }
}
@media (max-width: 360px) {
  body {
    padding-inline: 16px;
  }
  .brand {
    font-size: 18px;
  }
  .brand small {
    font-size: 7px;
  }
  .brand img {
    width: 28px;
    height: 28px;
  }
  .lesson-feature {
    padding: 17px;
  }
  .lesson-heading h2 {
    font-size: 29px;
  }
  .lesson-heading .primary {
    padding: 12px 10px;
    font-size: 11px;
    gap: 10px;
  }
  .feature-body {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  }
  .lesson-bottom > span:last-child {
    display: none;
  }
  .bottom-nav a,
  .bottom-nav button {
    padding-inline: 12px;
  }
  .swedish-word {
    font-size: 32px;
  }
  h1 {
    font-size: 28px;
  }
  h1 > span {
    font-size: 23px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .lesson-feature {
    animation: arrive 0.4s ease-out;
  }
  .word-card {
    animation: arrive 0.5s ease-out;
  }
  @keyframes arrive {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  button:hover,
  button:active,
  .topic:hover,
  .library-card:hover {
    transform: none;
  }
}
