:root {
  --ink: #0f1014;
  --ink-soft: #15171d;
  --panel: #1a1c23;
  --panel-high: #20232c;
  --line: rgba(255, 255, 255, 0.1);
  --line-bright: rgba(255, 255, 255, 0.18);
  --text: #f8f7f3;
  --muted: #aaa9b2;
  --orange: #ff7a1a;
  --orange-soft: #ffb36f;
  --purple: #9d6cff;
  --purple-deep: #6334d8;
  --lime: #d8ff72;
  --radius-lg: 34px;
  --radius-md: 24px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 6% 8%, rgba(157, 108, 255, 0.12), transparent 30rem),
    radial-gradient(circle at 96% 34%, rgba(255, 122, 26, 0.09), transparent 28rem),
    var(--ink);
  color: var(--text);
  font-family: "Manrope", "Avenir Next", Avenir, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 0.8px, transparent 0.8px);
  background-size: 22px 22px;
  content: "";
  pointer-events: none;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--text);
  color: var(--ink);
  font-weight: 800;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  width: min(calc(100% - 36px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-block: 18px;
  background: linear-gradient(to bottom, rgba(15, 16, 20, 0.95), rgba(15, 16, 20, 0.76), transparent);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 58px;
  padding: 8px 10px 8px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(21, 23, 29, 0.82);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  font-family: "Space Grotesk", "Avenir Next", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.brand img {
  width: 30px;
  height: 30px;
  padding: 5px;
  border-radius: 50%;
  background: var(--text);
}

.brand span {
  color: var(--orange-soft);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.site-nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: #d7d5dd;
  font-size: 0.86rem;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.site-nav .nav-cta {
  margin-left: 4px;
  padding-inline: 18px;
  background: var(--text);
  color: var(--ink);
}

.site-nav .nav-cta:hover {
  background: var(--orange);
  color: var(--ink);
}

main {
  overflow: clip;
}

.hero {
  padding-block: 18px 46px;
}

.hero-card {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  border: 1px solid var(--line-bright);
  border-radius: clamp(28px, 4vw, 48px);
  background: #0c0d12;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero-card::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 8, 12, 0.96) 0%, rgba(8, 9, 14, 0.88) 34%, rgba(8, 9, 14, 0.28) 66%, rgba(8, 9, 14, 0.12) 100%),
    linear-gradient(0deg, rgba(15, 16, 20, 0.42), transparent 40%);
  content: "";
}

.hero-card::after {
  position: absolute;
  right: 28px;
  bottom: 24px;
  z-index: 3;
  color: rgba(255, 255, 255, 0.32);
  content: "🐾";
  font-size: 1.45rem;
  transform: rotate(-12deg);
}

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: min(58%, 720px);
  min-height: 690px;
  padding: clamp(38px, 7vw, 88px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: var(--orange-soft);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 18px currentColor;
  content: "";
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Space Grotesk", "Avenir Next", sans-serif;
  text-wrap: balance;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(3.6rem, 7.4vw, 7.2rem);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.91;
}

h1 em {
  color: var(--orange);
  font-style: normal;
}

.hero-lede {
  max-width: 590px;
  margin: 0 0 34px;
  color: #c1bec8;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.hero-actions,
.card-actions,
.store-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--orange);
  color: #1a0e05;
  box-shadow: 0 10px 28px rgba(255, 122, 26, 0.24);
}

.button-primary:hover {
  background: #ff9347;
  box-shadow: 0 14px 34px rgba(255, 122, 26, 0.32);
}

.button-secondary {
  border-color: var(--line-bright);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.11);
}

.button .arrow {
  font-size: 1.15rem;
  line-height: 1;
}

.section {
  padding-block: 72px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  align-items: end;
  gap: 48px;
  margin-bottom: 34px;
}

.section-heading-solo {
  grid-template-columns: minmax(0, 1fr);
}

.section-heading h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.section-intro {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.bento-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.18);
  transform: translateZ(0);
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.bento-card::after {
  position: absolute;
  top: 24px;
  right: 26px;
  z-index: 5;
  color: rgba(255, 255, 255, 0);
  content: "🐾";
  font-size: 1.2rem;
  transform: rotate(14deg) scale(0.7);
  transition: color 260ms ease, transform 260ms ease;
  pointer-events: none;
}

.bento-card:hover {
  border-color: var(--line-bright);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
  transform: translateY(-6px);
}

.bento-card:hover::after {
  color: rgba(255, 255, 255, 0.48);
  transform: rotate(2deg) scale(1);
}

.game-card {
  display: flex;
  flex-direction: column;
  min-height: 660px;
  padding: 32px;
}

.card-drift {
  grid-column: span 7;
  background:
    radial-gradient(circle at 85% 18%, rgba(255, 115, 24, 0.3), transparent 16rem),
    linear-gradient(145deg, #2a1511 0%, #14161c 43%, #101117 100%);
}

.card-checkers {
  grid-column: span 5;
  background:
    radial-gradient(circle at 20% 8%, rgba(157, 108, 255, 0.3), transparent 16rem),
    linear-gradient(145deg, #181229, #15171e 52%, #111216);
}

.card-kicker {
  display: flex;
  position: relative;
  z-index: 4;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.game-card h3 {
  position: relative;
  z-index: 4;
  max-width: 560px;
  margin-bottom: 12px;
  font-size: clamp(2.4rem, 4vw, 4.4rem);
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.game-card p {
  position: relative;
  z-index: 4;
  max-width: 530px;
  margin: 0;
  color: #bab8c1;
}

.game-visual {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 235px;
  margin: 24px 0 18px;
}

.game-art {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 24px;
  background: #0d0e12;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.32);
}

.game-art::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(10, 11, 15, 0.24));
  content: "";
  pointer-events: none;
}

.game-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.bento-card:hover .game-art img {
  transform: scale(1.025);
}

.card-drift .game-art img {
  object-position: center 56%;
}

.card-checkers .game-art img {
  object-position: 52% center;
}

.store-links {
  position: relative;
  z-index: 6;
  margin-top: auto;
}

.store-badge {
  position: relative;
  display: inline-flex;
  min-width: 148px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  transition: transform 180ms ease, filter 180ms ease;
}

a.store-badge:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.store-badge img {
  width: auto;
  height: 48px;
  object-fit: contain;
}

.store-badge.is-coming-soon {
  cursor: not-allowed;
  pointer-events: none;
}

.store-badge.is-coming-soon img {
  opacity: 0.48;
  filter: grayscale(0.35);
}

.coming-pill {
  position: absolute;
  top: -9px;
  right: -8px;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: var(--purple);
  color: #120b20;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.34);
}

.linguoteka-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  min-height: 570px;
  background:
    radial-gradient(circle at 78% 30%, rgba(216, 255, 114, 0.14), transparent 18rem),
    linear-gradient(135deg, #25223b, #181924 48%, #121318);
}

.linguoteka-copy {
  display: flex;
  position: relative;
  z-index: 3;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(36px, 6vw, 72px);
}

.linguoteka-copy h2 {
  margin-bottom: 17px;
  font-size: clamp(3rem, 6vw, 6.2rem);
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.linguoteka-copy h2 span {
  color: var(--lime);
}

.linguoteka-copy > p {
  max-width: 610px;
  margin: 0 0 28px;
  color: #c2bfca;
  font-size: 1.05rem;
}

.linguoteka-actions {
  margin-bottom: 24px;
}

.linguoteka-visual {
  position: relative;
  min-height: 500px;
  margin: 34px 34px 34px 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    #14151c;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 28px 70px rgba(0, 0, 0, 0.27);
}

.app-reader {
  position: absolute;
  inset: 26px;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3.5vw, 44px);
  overflow: hidden;
  border: 1px solid #e1dff0;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 45%, rgba(114, 101, 255, 0.08), transparent 54%),
    #f8f7f5;
  color: #1d1d20;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.28);
}

.reader-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #74717e;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.reader-copy {
  margin: auto 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.2vw, 2.25rem);
  letter-spacing: -0.035em;
  line-height: 1.38;
}

.reader-word {
  appearance: none;
  margin: 0;
  padding: 0;
  border-bottom: 2px solid #bbb5ff;
  border-top: 0;
  border-right: 0;
  border-left: 0;
  border-radius: 3px;
  background: transparent;
  color: #4434e7;
  cursor: pointer;
  font: inherit;
  font-style: italic;
  font-weight: 700;
  line-height: inherit;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  vertical-align: baseline;
}

.reader-word:hover,
.reader-word.is-active {
  border-color: #4434e7;
  background: #4434e7;
  box-shadow: 0 0 0 3px rgba(68, 52, 231, 0.12);
  color: #fff;
}

.reader-word:focus-visible {
  outline: 3px solid rgba(68, 52, 231, 0.38);
  outline-offset: 3px;
}

.reader-lookup {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 16px 18px;
  border: 1px solid #d8d5e6;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.36);
  color: #75717f;
  font-size: 0.75rem;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.lookup-term {
  display: grid;
  gap: 2px;
}

.lookup-word {
  font-weight: 700;
}

.lookup-transcription {
  min-height: 1em;
  color: #8f8a9a;
  font-size: 0.68rem;
  letter-spacing: 0.02em;
}

.lookup-translation {
  color: #202025;
  font-size: 0.9rem;
  text-align: right;
}

.reader-lookup.is-active {
  border-color: #bbb5ff;
  background: #f0eeff;
  box-shadow: 0 10px 30px rgba(68, 52, 231, 0.1);
}

.reader-lookup.is-active .lookup-word {
  color: #4434e7;
  font-size: 0.84rem;
  font-weight: 900;
}

.reader-lookup.is-active .lookup-translation {
  color: #1d1d20;
  font-size: 1rem;
}

.owner-card,
.contact-card {
  min-height: 310px;
}

.owner-card {
  grid-column: span 7;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(250px, 1.1fr);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 122, 26, 0.16), transparent 18rem),
    var(--panel);
}

.owner-copy {
  display: flex;
  position: relative;
  z-index: 2;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px;
}

.owner-copy h3 {
  max-width: 350px;
  margin-bottom: 16px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.owner-role {
  max-width: 330px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.owner-link {
  margin-top: auto;
}

.owner-portrait {
  position: relative;
  min-height: 370px;
  margin: 0;
  overflow: hidden;
}

.owner-portrait::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, var(--panel) 0%, transparent 24%);
  content: "";
  pointer-events: none;
}

.owner-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.contact-card {
  grid-column: span 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 34px;
  background:
    radial-gradient(circle at 90% 20%, rgba(157, 108, 255, 0.24), transparent 18rem),
    var(--panel);
}

.contact-card h3 {
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.contact-card p {
  max-width: 580px;
  margin: 0;
  color: var(--muted);
}

.contact-card .button {
  margin-top: 28px;
}

.site-footer {
  padding-block: 28px 44px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: #888791;
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a:hover {
  color: var(--text);
}

/* Legal pages */
.legal-main {
  padding-block: 38px 90px;
}

.legal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 360px);
  align-items: end;
  gap: 44px;
  margin-bottom: 28px;
  padding: clamp(34px, 6vw, 72px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 90% 8%, rgba(157, 108, 255, 0.24), transparent 20rem),
    linear-gradient(145deg, #1b1c24, #14151b);
}

.legal-hero h1 {
  margin-bottom: 0;
  font-size: clamp(3.2rem, 7vw, 6.6rem);
}

.legal-meta {
  margin: 0;
  color: var(--muted);
}

.legal-meta strong {
  display: block;
  margin-bottom: 3px;
  color: var(--text);
}

.legal-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  align-items: start;
  gap: 28px;
}

.legal-toc {
  position: sticky;
  top: 112px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(26, 28, 35, 0.8);
}

.legal-toc strong {
  display: block;
  margin-bottom: 10px;
  font-family: "Space Grotesk", sans-serif;
}

.legal-toc a {
  display: block;
  padding-block: 6px;
  color: var(--muted);
  font-size: 0.84rem;
}

.legal-toc a:hover {
  color: var(--orange-soft);
}

.legal-document {
  padding: clamp(28px, 6vw, 70px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(26, 28, 35, 0.82);
  box-shadow: var(--shadow);
}

.legal-document section + section {
  margin-top: 52px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.legal-document h2 {
  margin-bottom: 17px;
  font-size: clamp(1.45rem, 2.5vw, 2.05rem);
  letter-spacing: -0.035em;
  line-height: 1.16;
}

.legal-document p,
.legal-document li {
  color: #c0bec7;
}

.legal-document p {
  margin: 0 0 18px;
}

.legal-document ul {
  margin: 14px 0 20px;
  padding-left: 22px;
}

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

.legal-document a {
  color: var(--orange-soft);
  text-decoration: underline;
  text-decoration-color: rgba(255, 179, 111, 0.4);
  text-underline-offset: 3px;
}

.legal-note {
  margin-top: 40px;
  padding: 18px 20px;
  border: 1px solid rgba(157, 108, 255, 0.22);
  border-radius: 18px;
  background: rgba(157, 108, 255, 0.06);
  color: var(--muted);
  font-size: 0.8rem;
}

@media (max-width: 980px) {
  .hero-card,
  .hero-copy {
    min-height: 650px;
  }

  .hero-card::before {
    background: linear-gradient(90deg, rgba(7, 8, 12, 0.96) 0%, rgba(8, 9, 14, 0.78) 50%, rgba(8, 9, 14, 0.18) 100%);
  }

  .hero-copy {
    width: 68%;
  }

  .card-drift,
  .card-checkers {
    grid-column: 1 / -1;
  }

  .game-card {
    min-height: 600px;
  }

  .linguoteka-card {
    grid-template-columns: 1fr;
  }

  .linguoteka-visual {
    min-height: 430px;
    margin: 0 28px 28px;
  }

  .owner-card,
  .contact-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .site-header {
    padding-block: 10px;
  }

  .header-inner {
    gap: 8px;
    min-height: 54px;
    padding-left: 14px;
  }

  .brand {
    font-size: 0.88rem;
  }

  .brand img {
    width: 27px;
    height: 27px;
  }

  .site-nav a:not(.nav-cta) {
    display: none;
  }

  .site-nav .nav-cta {
    margin-left: 0;
    padding: 9px 14px;
    font-size: 0.78rem;
  }

  .hero {
    padding-top: 6px;
  }

  .hero-card,
  .hero-copy {
    min-height: 700px;
  }

  .hero-art {
    object-position: 67% center;
  }

  .hero-card::before {
    background:
      linear-gradient(0deg, rgba(7, 8, 12, 0.98) 0%, rgba(7, 8, 12, 0.88) 52%, rgba(7, 8, 12, 0.15) 84%),
      linear-gradient(90deg, rgba(7, 8, 12, 0.68), transparent);
  }

  .hero-copy {
    width: 100%;
    justify-content: flex-end;
    padding: 30px 25px 40px;
  }

  h1 {
    font-size: clamp(3.25rem, 16vw, 5rem);
  }

  .hero-lede {
    max-width: 500px;
    font-size: 0.95rem;
  }

  .section {
    padding-block: 54px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .bento-grid {
    gap: 14px;
  }

  .bento-card {
    border-radius: 26px;
  }

  .game-card {
    min-height: 590px;
    padding: 25px;
  }

  .game-visual {
    min-height: 210px;
  }

  .linguoteka-copy {
    padding: 34px 25px;
  }

  .linguoteka-visual {
    min-height: 480px;
    margin: 0 16px 16px;
  }

  .app-reader {
    inset: 14px;
    padding: 28px 24px;
  }

  .owner-copy,
  .contact-card {
    min-height: 280px;
    padding: 28px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-main {
    padding-top: 10px;
  }

  .legal-hero {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
  }
}

@media (max-width: 500px) {
  .brand-text-extra {
    display: none;
  }

  .hero-actions,
  .card-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .button,
  .card-actions .button {
    width: 100%;
  }

  .store-links {
    align-items: flex-start;
    flex-direction: column;
  }

  .game-card h3 {
    font-size: 2.7rem;
  }

  .reader-copy {
    font-size: clamp(1.48rem, 7vw, 2.15rem);
  }

  .reader-lookup {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .lookup-translation {
    text-align: left;
  }

  .owner-card {
    grid-template-columns: 1fr;
  }

  .owner-portrait {
    min-height: 390px;
  }

  .owner-portrait::before {
    background: linear-gradient(180deg, var(--panel) 0%, transparent 18%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
