:root {
  --canvas: #fcfaf7;
  --surface: #ffffff;
  --sunken: #f5f1ec;
  --border: #ede5db;
  --ink: #22232a;
  --body: #4a4850;
  --secondary: #7a7680;
  --muted: #8e8a93;
  --tertiary: #a8a3ab;
  --primary: #ffc22e;
  --brand-accent: #ff7a45;
  --primary-on: #2a2110;
  --amber-bg: #fff3d6;
  --amber-fg: #9a6300;
  --amber-ink: #3b2e12;
  --amber-wash: #fff3cc;
  --purple-bg: #eee6fc;
  --purple-fg: #7b5cd6;
  --green-bg: #e8f6ee;
  --green-fg: #23854f;
  --orange-bg: #fff0e5;
  --orange-fg: #c2551f;
  --shadow: 0 20px 50px rgba(160, 122, 84, 0.2);
  --font: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Noto Sans SC', 'Hiragino Sans GB',
    'Microsoft YaHei', sans-serif;
  --font-round: ui-rounded, 'SF Pro Rounded', Nunito, var(--font);
  --gutter: 120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
p,
ul,
ol {
  margin: 0;
}

h1,
h2 {
  text-wrap: balance;
}

.wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.pill {
  display: inline-block;
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.pill--amber {
  background: var(--amber-bg);
  color: var(--amber-fg);
}

.pill--purple {
  background: var(--purple-bg);
  color: var(--purple-fg);
}

.pill--green {
  background: var(--green-bg);
  color: var(--green-fg);
}

.pill--orange {
  background: var(--orange-bg);
  color: var(--orange-fg);
}

.cta {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-on);
  font-size: 17px;
  font-weight: 800;
}

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

.cta--ghost {
  padding: 14px 30px;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
}

.phone {
  border-radius: 12% / 5.6%;
  box-shadow: var(--shadow);
}

/* Nav */

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  padding-bottom: 20px;
}

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

.brand__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.brand__name {
  display: flex;
  align-items: flex-start;
  font-family: var(--font-round);
  font-size: 24px;
  font-weight: 900;
}

.brand__tail {
  color: var(--brand-accent);
}

.brand__spark {
  width: 0.5em;
  height: 0.5em;
  fill: var(--primary);
}

.nav__links {
  display: flex;
  gap: 36px;
  margin-left: auto;
  font-size: 15px;
  font-weight: 500;
  color: var(--body);
}

.nav__links a:hover {
  color: var(--ink);
}

.nav__download {
  white-space: nowrap;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.nav__end {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.nav__links + .nav__end {
  margin-left: 0;
}

/* Language menu: a disclosure, so it works without scripts */

.lang {
  position: relative;
}

.lang__current {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--body);
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
}

.lang__current::-webkit-details-marker {
  display: none;
}

.lang__current::after {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.lang__current:hover,
.lang[open] .lang__current {
  background: var(--sunken);
  color: var(--ink);
}

.lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 10;
  min-width: 160px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.lang__menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 15px;
  color: var(--body);
}

.lang__menu a:hover {
  background: var(--sunken);
  color: var(--ink);
}

.lang__menu a[aria-current='page'] {
  font-weight: 700;
  color: var(--ink);
}

/* Hero */

.hero {
  background: linear-gradient(var(--amber-wash), var(--canvas));
}

.hero__inner {
  display: flex;
  align-items: center;
  gap: 64px;
  padding-top: 56px;
}

.hero__copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 80px;
}

.hero__title {
  font-size: 60px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -1px;
}

.hero__lead {
  max-width: 520px;
  font-size: 19px;
  line-height: 1.65;
  color: var(--body);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding-top: 8px;
}

.hero__note {
  font-size: 14px;
  color: var(--muted);
}

.hero__platforms {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
}

.hero__phones {
  position: relative;
  flex: 0 0 560px;
  height: 640px;
  overflow: hidden;
}

.hero__phone {
  position: absolute;
  width: 401px;
}

.hero__phone--front {
  left: 8px;
  top: 24px;
}

.hero__phone--back {
  left: 220px;
  top: 60px;
}

/* Stats */

.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 48px;
  padding-bottom: 48px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.stat strong {
  font-family: var(--font-round);
  font-size: 40px;
  font-weight: 900;
}

.stat span {
  font-size: 15px;
  font-weight: 500;
  color: var(--secondary);
}

/* Features */

.feature__inner {
  display: flex;
  align-items: center;
  gap: 96px;
  padding-top: 100px;
  padding-bottom: 100px;
}

.feature__copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature__title {
  font-size: 40px;
  font-weight: 900;
  line-height: 1.3;
}

.feature__body {
  font-size: 18px;
  line-height: 1.7;
  color: var(--body);
}

.feature__panel {
  position: relative;
  flex: 0 0 520px;
  aspect-ratio: 520 / 600;
  border-radius: 32px;
  overflow: hidden;
}

.panel--amber {
  background: var(--amber-wash);
}

.panel--purple {
  background: var(--purple-bg);
}

.panel--green {
  background: var(--green-bg);
}

.feature__phone {
  position: absolute;
  left: 10.77%;
  top: 9.33%;
  width: 77.1%;
}

.points {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 8px 0 0;
  list-style: none;
}

.points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.points li::before {
  content: '✓';
  flex: 0 0 24px;
  height: 24px;
  border-radius: 999px;
  font-family: var(--font-round);
  font-size: 14px;
  font-weight: 900;
  line-height: 24px;
  text-align: center;
}

.points--amber li::before {
  background: var(--amber-bg);
  color: var(--amber-fg);
}

.points--purple li::before {
  background: var(--purple-bg);
  color: var(--purple-fg);
}

.points--green li::before {
  background: var(--green-bg);
  color: var(--green-fg);
}

.steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 8px 0 0;
  list-style: none;
}

.steps li {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
}

.steps li:not(:first-child) {
  position: relative;
  margin-left: 24px;
}

.steps li:not(:first-child)::after {
  content: '→';
  position: absolute;
  top: 50%;
  left: -24px;
  width: 24px;
  transform: translateY(-50%);
  text-align: center;
  font-family: var(--font-round);
  font-size: 16px;
  font-weight: 800;
  color: var(--tertiary);
}

/* Widgets */

.widgets {
  background: var(--sunken);
}

.widgets__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: 100px;
  padding-bottom: 100px;
  text-align: center;
}

.widgets__inner .pill {
  align-self: center;
}

.section-title {
  font-size: 40px;
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
}

.widgets__body {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--body);
}

.widgets__image {
  margin-top: 32px;
  border-radius: 32px;
}

/* Platforms */

.platforms .wrap {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-top: 100px;
  padding-bottom: 100px;
}

.platforms__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.platform {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
}

.platform__name {
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--font-round);
  font-size: 18px;
  font-weight: 900;
}

.platform p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
}

/* Closing */

.closing .wrap {
  padding-bottom: 100px;
}

.closing__card {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 56px 72px;
  border-radius: 40px;
  background: linear-gradient(90deg, #ffd45c, var(--primary));
}

.closing__copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.closing__stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.closing__title {
  font-size: 44px;
  font-weight: 900;
  color: var(--amber-ink);
}

.closing__body {
  font-size: 19px;
  color: var(--amber-ink);
  opacity: 0.8;
}

.closing__mascot {
  width: 240px;
}

/* Footer */

.footer {
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 32px;
  padding-bottom: 32px;
  font-size: 14px;
  color: var(--muted);
}

.footer__inner a {
  color: var(--secondary);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* Privacy policy and other long text pages */

.legal {
  max-width: 760px;
  padding-top: 48px;
  padding-bottom: 72px;
  color: var(--body);
  font-size: 16px;
  line-height: 1.75;
}

.legal h1 {
  margin: 0;
  color: var(--ink);
  font-size: 36px;
  line-height: 1.2;
}

.legal__meta {
  margin: 8px 0 32px;
  color: var(--muted);
  font-size: 14px;
}

.legal h2 {
  margin: 40px 0 12px;
  color: var(--ink);
  font-size: 22px;
}

.legal p,
.legal ul {
  margin: 0 0 16px;
}

.legal ul {
  padding-left: 1.25em;
}

.legal li + li {
  margin-top: 8px;
}

.legal a {
  color: var(--ink);
  text-decoration: underline;
}

.legal .word-list {
  columns: 6 112px;
  column-gap: 16px;
  padding-left: 0;
  font-size: 14px;
  line-height: 1.6;
  list-style: none;
}

.legal .word-list li {
  margin: 0;
  break-inside: avoid;
}

/* Tablet: stack features, keep two-column stats */

@media (max-width: 1199px) {
  :root {
    --gutter: 48px;
  }

  .nav__links {
    gap: 24px;
  }

  .hero__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
  }

  .hero__copy {
    padding-bottom: 0;
  }

  .hero__phones {
    flex-basis: auto;
    width: 560px;
    max-width: 100%;
    height: 520px;
    margin: 0 auto;
  }

  .feature__inner,
  .feature__inner--image-first {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 48px;
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .feature__inner:not(.feature__inner--image-first) {
    flex-direction: column;
  }

  .feature__panel {
    flex-basis: auto;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
  }

  .widgets__inner,
  .platforms .wrap {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .closing__card {
    padding: 48px;
  }

  .closing__mascot {
    width: 180px;
  }
}

/* Phone */

@media (max-width: 767px) {
  :root {
    --gutter: 20px;
  }

  .nav__links {
    display: none;
  }

  .brand__name {
    font-size: 20px;
  }

  .brand__icon {
    width: 34px;
    height: 34px;
  }

  .nav__download {
    padding: 8px 16px;
    font-size: 14px;
  }

  .nav__end {
    gap: 4px;
  }

  .lang__current {
    padding: 8px 10px;
    font-size: 14px;
  }

  .hero__inner {
    padding-top: 32px;
  }

  .hero__copy {
    gap: 18px;
  }

  .hero__title {
    font-size: 36px;
    letter-spacing: -0.5px;
  }

  .hero__lead {
    font-size: 16px;
  }

  .cta {
    padding: 14px 26px;
    font-size: 16px;
  }

  .cta--ghost {
    padding: 12px 24px;
  }

  .hero__phones {
    width: 100%;
    height: 420px;
  }

  .hero__phone {
    width: 220px;
  }

  .hero__phone--front {
    left: calc(50% - 180px);
    top: 16px;
  }

  .hero__phone--back {
    left: calc(50% - 30px);
    top: 44px;
  }

  .stats__inner {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 28px;
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .stat strong {
    font-size: 32px;
  }

  .stat span {
    font-size: 13px;
  }

  .feature__inner,
  .feature__inner--image-first {
    gap: 32px;
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .feature__title,
  .section-title {
    font-size: 28px;
  }

  .feature__body,
  .widgets__body {
    font-size: 16px;
  }

  .points li {
    align-items: flex-start;
    font-size: 15px;
  }

  .widgets__inner,
  .platforms .wrap {
    gap: 24px;
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .widgets__image {
    margin-top: 8px;
    border-radius: 20px;
  }

  .platforms__cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .platform {
    padding: 24px;
  }

  .closing .wrap {
    padding-bottom: 56px;
  }

  .closing__card {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 16px;
    padding: 32px 24px;
    border-radius: 28px;
  }

  .closing__title {
    font-size: 30px;
  }

  .closing__body {
    font-size: 16px;
  }

  .closing__mascot {
    width: 140px;
    margin: 0 auto;
  }

  .footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* The narrowest phones: the icon alone names the brand, so the language menu and the button fit beside it */
@media (max-width: 374px) {
  .brand__name {
    display: none;
  }
}

/* Scene pages: the scene list and one scene's episodes */

.scenes__body {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 40px;
  padding-bottom: 96px;
}

.scenes__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.scenes__crumbs {
  display: flex;
  gap: 8px;
  font-size: 15px;
  color: var(--muted);
}

.scenes__crumbs a {
  color: var(--amber-fg);
  font-weight: 500;
}

.scenes__crumbs span[aria-hidden] {
  color: var(--tertiary);
}

.scenes__title {
  margin: 0;
  font-size: 52px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--ink);
}

.scenes__intro {
  max-width: 760px;
  font-size: 19px;
  line-height: 1.65;
  color: var(--body);
}

.scenes__stats {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
}

.scene-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 0;
  list-style: none;
}

.scene-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 8px;
}

.scene-card__cover {
  display: block;
  width: 100%;
  height: 300px;
  border-radius: 24px;
  background: var(--sunken);
  object-fit: cover;
}

.scene-card__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 4px;
}

.scene-card__name {
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
}

.scene-card__episode {
  font-size: 16px;
  color: var(--body);
}

.scene-card__stats {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.episode {
  display: flex;
  gap: 64px;
  padding: 40px 48px;
  border: 1px solid var(--border);
  border-radius: 32px;
  background: var(--surface);
}

.episode__media {
  flex: none;
  width: 360px;
}

.episode__video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 24px;
  background: var(--sunken);
  object-fit: cover;
}

.episode__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.episode__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.episode__number {
  font-size: 14px;
  font-weight: 700;
  color: var(--amber-fg);
}

.episode__title {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  color: var(--ink);
}

.episode__summary {
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
}

.episode__heading {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
}

.scene-words {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}

.scene-words tr:nth-child(odd) {
  background: var(--sunken);
}

.scene-words th,
.scene-words td {
  padding: 14px 20px;
  text-align: left;
  vertical-align: middle;
}

.scene-words th {
  width: 396px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.scene-words__ipa {
  display: inline-block;
  margin-left: 16px;
  font-size: 16px;
  font-weight: 400;
  color: var(--muted);
}

.scene-words td {
  font-size: 16px;
  color: var(--body);
}

.scene-lines {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
  list-style: none;
}

.scene-lines__en {
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
}

.scene-lines__tr {
  margin-top: 2px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

@media (max-width: 1199px) {
  .scene-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .episode {
    gap: 40px;
    padding: 32px;
  }

  .episode__media {
    width: 300px;
  }

  .scene-words th {
    width: auto;
  }

  .scene-words__ipa {
    display: block;
    margin-left: 0;
  }
}

@media (max-width: 767px) {
  .scenes__body {
    gap: 28px;
    padding-top: 16px;
    padding-bottom: 48px;
  }

  .scenes__head {
    gap: 10px;
  }

  .scenes__crumbs,
  .scenes__stats {
    font-size: 13px;
  }

  .scenes__title {
    font-size: 32px;
  }

  .scenes__intro {
    font-size: 16px;
    line-height: 1.6;
  }

  .scene-cards {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .episode {
    flex-direction: column;
    gap: 20px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
  }

  .episode__media {
    order: 1;
    width: 100%;
  }

  .episode__text {
    display: contents;
  }

  .episode__head {
    order: 0;
    gap: 6px;
  }

  .episode__text > section {
    order: 2;
  }

  .episode__number {
    font-size: 13px;
  }

  .episode__title {
    font-size: 22px;
  }

  .episode__summary {
    font-size: 15px;
  }

  .episode__video {
    border-radius: 20px;
  }

  .episode__heading {
    margin-bottom: 10px;
    font-size: 18px;
  }

  .scene-words {
    border-radius: 14px;
  }

  .scene-words th,
  .scene-words td {
    padding: 12px 16px;
  }

  .scene-words th {
    font-size: 17px;
  }

  .scene-words__ipa {
    margin-top: 2px;
    font-size: 14px;
  }

  .scene-words td {
    font-size: 15px;
    text-align: right;
  }

  .scene-lines {
    gap: 12px;
  }

  .scene-lines__en {
    font-size: 16px;
  }

  .scene-lines__tr {
    font-size: 14px;
  }
}

/* Blog: the article list reuses the scene cards; an article is a long text page with tables and word cards */

.blog-card .scene-card__cover {
  height: auto;
  aspect-ratio: 1200 / 630;
}

.blog-card .scene-card__name {
  font-size: 22px;
  line-height: 1.35;
}

.blog-card .scene-card__episode {
  line-height: 1.6;
}

.article .scenes__crumbs {
  margin-bottom: 16px;
}

.article__cover {
  width: 100%;
  margin-bottom: 32px;
  border-radius: 24px;
  background: var(--sunken);
}

.article h3 {
  margin: 28px 0 8px;
  color: var(--ink);
  font-size: 18px;
}

.article ol {
  margin: 0 0 16px;
  padding-left: 1.5em;
}

.article strong {
  color: var(--ink);
}

.article code {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--sunken);
  font-size: 0.9em;
}

.article blockquote {
  margin: 0 0 16px;
  padding: 16px 20px;
  border-radius: 16px;
  background: var(--amber-bg);
  color: var(--amber-ink);
}

.article blockquote p {
  margin: 0;
}

.article hr {
  margin: 32px 0;
  border: 0;
  border-top: 1px solid var(--border);
}

.article .table-scroll {
  margin: 0 0 24px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}

.article table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.6;
}

.article th,
.article td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  /* A column never gets narrower than a few words; a wide table scrolls inside its frame instead. */
  min-width: 6em;
}

@media (max-width: 640px) {
  .article th,
  .article td {
    min-width: 9.5em;
  }

  .article th:first-child,
  .article td:first-child {
    min-width: 5.5em;
  }
}

.article th {
  background: var(--sunken);
  color: var(--ink);
  font-weight: 700;
}

.article tbody tr:last-child td {
  border-bottom: 0;
}

.word-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0 0 24px;
}

.word-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}

.word-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--sunken);
  object-fit: cover;
}

.word-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px;
  line-height: 1.5;
}

.word-card strong {
  font-size: 17px;
}

.word-card__ipa {
  color: var(--muted);
  font-size: 13px;
}

.word-card__meaning {
  color: var(--body);
  font-size: 14px;
}

.article__mentions {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.article__more {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-bottom: 96px;
}

@media (max-width: 767px) {
  .article__cover {
    margin-bottom: 24px;
    border-radius: 16px;
  }

  .word-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .article__more {
    padding-bottom: 64px;
  }
}
