:root {
  color-scheme: light;
  --ink: #142033;
  --muted: #5f6f82;
  --line: #d9e2ec;
  --paper: #ffffff;
  --soft: #f5f7fb;
  --orange: #ff7a00;
  --orange-dark: #d85f00;
  --teal: #0f8f7a;
  --navy: #111b2c;
  --blue: #2563eb;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  padding: 12px clamp(16px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(217, 226, 236, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.05rem;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.text-brand {
  min-height: 38px;
}

nav {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 800;
}

nav a {
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(42px, 8vw, 96px) clamp(18px, 5vw, 72px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(17, 27, 44, 0.94) 0%, rgba(17, 27, 44, 0.86) 52%, rgba(17, 27, 44, 0.7) 100%),
    linear-gradient(135deg, #101a2b 0%, #17352f 100%);
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("/api/icons/app-icon-512.png") right 8vw center / min(520px, 50vw) no-repeat;
  opacity: 0.12;
  filter: saturate(0.85);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--orange);
  font-weight: 900;
  letter-spacing: 0;
  font-size: 0.82rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.45rem, 6vw, 5.2rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-copy > p:last-of-type {
  max-width: 620px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.04rem;
  line-height: 1.9;
}

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

.primary,
.secondary,
.outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 900;
  text-decoration: none;
}

.primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 12px 24px rgba(255, 122, 0, 0.24);
}

.primary:hover {
  background: var(--orange-dark);
}

.secondary {
  border: 1px solid rgba(255, 255, 255, 0.52);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.outline {
  border: 1px solid #b7c2d0;
  background: #fff;
  color: var(--ink);
}

.trial-note {
  display: grid;
  gap: 4px;
  max-width: 560px;
  margin: 0 0 22px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-left: 5px solid var(--orange);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.trial-note b {
  color: #fff;
  font-size: 1.05rem;
}

.trial-note span {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.hero-media {
  position: relative;
  z-index: 1;
  min-height: 620px;
}

.screen-card {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 10px solid #06101f;
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 28px 58px rgba(0, 0, 0, 0.28);
}

.screen-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screen-card-main {
  right: 24px;
  top: 0;
  width: min(315px, 48vw);
  aspect-ratio: 922 / 2048;
}

.screen-card-sub {
  left: 0;
  bottom: 8px;
  width: min(268px, 40vw);
  aspect-ratio: 922 / 2048;
  transform: rotate(-3deg);
}

.problem,
.flow,
.fit,
.contact,
.features,
.articles {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(44px, 7vw, 82px) clamp(18px, 4vw, 32px);
}

.problem {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: end;
}

h2 {
  font-size: clamp(1.7rem, 3.6vw, 3rem);
  line-height: 1.18;
  margin-bottom: 0;
}

.problem > p,
.contact p,
.fit-grid p,
.flow span,
.features p,
.article-grid p,
.article-page p,
.article-page li {
  color: var(--muted);
  line-height: 1.8;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding-top: 10px;
}

.features article {
  min-height: 260px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.features span {
  color: var(--orange);
  font-weight: 900;
}

.features h3 {
  margin: 22px 0 12px;
  font-size: 1.2rem;
}

.section-head {
  margin-bottom: 26px;
}

.flow ol {
  counter-reset: flow;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.flow li {
  counter-increment: flow;
  display: grid;
  grid-template-columns: 64px minmax(0, 0.35fr) minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 92px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.flow li::before {
  content: counter(flow, decimal-leading-zero);
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #fff1df;
  color: var(--orange-dark);
  font-weight: 900;
}

.flow b {
  font-size: 1.08rem;
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.fit-grid p {
  min-height: 150px;
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.articles {
  padding-top: 12px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.article-grid a {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(20, 32, 51, 0.06);
}

.article-grid a:hover {
  border-color: #aebbd0;
  transform: translateY(-1px);
}

.article-grid span {
  color: var(--teal);
  font-weight: 900;
  font-size: 0.82rem;
}

.article-grid h3 {
  margin: 0;
  font-size: 1.24rem;
  line-height: 1.45;
}

.article-grid p {
  margin: 0;
}

.article-page {
  position: relative;
  max-width: none;
  margin: 0;
  padding: clamp(34px, 6vw, 72px) clamp(18px, 4vw, 40px) clamp(54px, 8vw, 96px);
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(15, 143, 122, 0.11), transparent 260px),
    radial-gradient(circle at 88% 22%, rgba(255, 122, 0, 0.08), transparent 280px),
    linear-gradient(180deg, #f8fbff 0, #eef4f8 100%);
}

.article-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(20, 32, 51, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(20, 32, 51, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.55;
}

.article-page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(17, 27, 44, 0.08), transparent 210px);
}

.article-page article {
  position: relative;
  z-index: 1;
  width: min(940px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 4.6vw, 48px);
  border: 1px solid rgba(217, 226, 236, 0.88);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(20, 32, 51, 0.12);
}

.article-page article::before {
  content: "";
  position: absolute;
  left: -1px;
  right: -1px;
  top: -1px;
  height: 10px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(90deg, var(--orange), var(--teal), var(--navy));
}

.article-page .section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 16px;
  border-radius: 999px;
  padding: 0 11px;
  background: #fff1df;
  color: var(--orange-dark);
  font-size: 0.78rem;
}

.article-page h1 {
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 3.55rem);
  line-height: 1.12;
  margin-bottom: 18px;
}

.article-page h2 {
  position: relative;
  margin-top: 38px;
  margin-bottom: 12px;
  padding-top: 18px;
  border-top: 1px solid #edf1f6;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.article-page h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: -2px;
  width: 72px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--orange));
}

.article-page p {
  font-size: 0.98rem;
}

.article-page .lead {
  margin: 0 0 26px;
  padding: 16px 18px;
  border: 1px solid #d8e8e5;
  border-left: 5px solid var(--teal);
  border-radius: 8px;
  background: linear-gradient(135deg, #f3fbfa, #f8fbff);
  color: #334155;
  font-size: 1.04rem;
  line-height: 1.85;
}

.article-page ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 4px;
  padding: 16px 18px 16px 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.article-page li::marker {
  color: var(--teal);
}

.field-note {
  margin: 30px 0 6px;
  padding: 18px 20px;
  border: 1px solid #cde9e4;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 143, 122, 0.08), rgba(255, 122, 0, 0.06)),
    #fff;
}

.field-note b {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 0.95rem;
}

.field-note p {
  margin: 0;
  color: #334155;
}

.article-page article > p:last-child {
  margin-top: 36px;
  padding: 22px;
  border-radius: 8px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
}

.article-page article > p:last-child .primary {
  width: 100%;
}

.article-cta {
  margin-top: 0;
}

.contact {
  align-items: start;
  border-top: 1px solid var(--line);
}

.contact div {
  max-width: 520px;
}

.contact .primary {
  flex-shrink: 0;
}

.contact-actions {
  justify-content: flex-end;
}

.contact-form-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(20px, 5vw, 54px);
}

.public-lead-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(20, 32, 51, 0.08);
}

.public-lead-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 850;
}

.public-lead-form input,
.public-lead-form textarea {
  width: 100%;
  border: 1px solid #c8d2df;
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  background: #fff;
}

.public-lead-form textarea {
  min-height: 132px;
  resize: vertical;
}

.public-lead-form input:focus,
.public-lead-form textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(15, 143, 122, 0.16);
}

.public-lead-form button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.public-lead-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.public-lead-status {
  min-height: 1.5em;
  margin: 0;
  color: var(--teal);
  font-weight: 850;
}

.public-lead-status.error {
  color: #b4232a;
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 28px 18px 42px;
  color: #52606d;
  border-top: 1px solid var(--line);
}

footer a {
  font-weight: 800;
  text-decoration: none;
}

.portal-page {
  background: #f7faf8;
}

.portal-header {
  background: rgba(255, 255, 255, 0.94);
}

.portal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  min-height: calc(100vh - 68px);
  padding: clamp(48px, 8vw, 100px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(15, 143, 122, 0.12), rgba(255, 122, 0, 0.08)),
    #f7faf8;
}

.portal-copy {
  max-width: 720px;
}

.portal-copy h1,
.cats-hero h1 {
  color: var(--ink);
  font-size: clamp(2.55rem, 6vw, 5.1rem);
}

.portal-copy > p:last-of-type,
.cats-hero p {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.9;
}

.dark-secondary {
  border-color: #c8d2df;
  color: var(--ink);
  background: #fff;
}

.portal-panel {
  display: grid;
  gap: 12px;
}

.portal-panel > div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(20, 32, 51, 0.08);
}

.portal-panel span,
.app-card span {
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
}

.portal-panel strong {
  display: block;
  margin: 8px 0;
  font-size: 1.35rem;
}

.portal-panel p,
.app-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.portal-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(44px, 7vw, 82px) clamp(18px, 4vw, 32px);
}

.portal-band {
  max-width: none;
  padding-left: max(clamp(18px, 4vw, 32px), calc((100vw - 1120px) / 2 + 32px));
  padding-right: max(clamp(18px, 4vw, 32px), calc((100vw - 1120px) / 2 + 32px));
  background: #eef6f2;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.app-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(20, 32, 51, 0.07);
}

.app-card h3 {
  margin: 0;
  font-size: 1.55rem;
}

.app-card b {
  margin-top: auto;
  color: var(--orange-dark);
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.card-tags em {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 10px;
  background: #eef6f2;
  color: #0f6f61;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
}

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

.heavy-app {
  border-color: #d9c2f2;
  background: linear-gradient(180deg, #fff, #f8f5ff);
}

.with-link {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.inline-link {
  color: var(--orange-dark);
  font-weight: 900;
  text-decoration: none;
}

.featured-app {
  border-color: #f4b06a;
  background: linear-gradient(180deg, #fff, #fff8f0);
}

.muted-app {
  opacity: 0.82;
}

.portal-links {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.portal-links > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.more-link {
  margin: 22px 0 0;
  font-weight: 900;
}

.more-link a {
  color: var(--orange-dark);
  text-decoration: none;
}

.game-directory-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cats-page {
  background: #fbfaf7;
}

.cats-hero {
  padding: clamp(52px, 8vw, 96px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(255, 122, 0, 0.1), rgba(15, 143, 122, 0.1)),
    #fffaf2;
}

.games-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: clamp(22px, 5vw, 62px);
  align-items: end;
  padding: clamp(52px, 8vw, 96px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(15, 143, 122, 0.14), rgba(255, 122, 0, 0.08)),
    #f7faf8;
}

.games-hero h1 {
  color: var(--ink);
  font-size: clamp(2.55rem, 6vw, 5.1rem);
}

.games-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.9;
}

.games-hero-list {
  display: grid;
  gap: 10px;
}

.games-hero-list span {
  min-height: 44px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(20, 32, 51, 0.06);
}

.game-filter-band {
  position: sticky;
  top: 68px;
  z-index: 12;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 12px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.game-filter-band a {
  flex: 0 0 auto;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #c8d2df;
  border-radius: 999px;
  padding: 0 13px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
  background: #fff;
}

.game-shelf {
  padding-top: clamp(38px, 6vw, 72px);
  padding-bottom: clamp(38px, 6vw, 72px);
}

.compact-shelf {
  padding-top: 24px;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 14px;
}

.game-thumb {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 0 4px;
  overflow: hidden;
  border: 1px solid rgba(20, 32, 51, 0.1);
  border-radius: 8px;
  background: linear-gradient(135deg, #eef6f2, #fff8f0);
}

.game-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.terrain-thumb img,
.tool-thumb img {
  object-position: left top;
}

.self-map-thumb img {
  object-fit: contain;
  background: #fff;
}

.game-thumb span {
  color: rgba(20, 32, 51, 0.72);
  font-size: 0.88rem;
  font-weight: 950;
}

.thumb-monverse {
  background: linear-gradient(135deg, #fff1df, #eef6f2);
}

.thumb-action {
  background: linear-gradient(135deg, #e7f0ff, #f6fff0);
}

.thumb-voxel {
  background: linear-gradient(135deg, #eef6f2, #e7f0ff);
}

.thumb-terrain {
  background: linear-gradient(135deg, #f6fff0, #fff8f0);
}

.thumb-escape {
  background: linear-gradient(135deg, #f8f5ff, #eef6f2);
}

.game-table {
  display: grid;
  gap: 8px;
}

.game-table a {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(120px, 0.7fr) minmax(120px, 0.7fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff;
  text-decoration: none;
}

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

.game-table span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.game-table b {
  color: var(--orange-dark);
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: clamp(22px, 5vw, 62px);
  align-items: center;
  min-height: auto;
  padding: clamp(34px, 6vw, 72px) clamp(18px, 5vw, 72px) clamp(34px, 6vw, 64px);
  background:
    linear-gradient(135deg, rgba(15, 143, 122, 0.14), rgba(255, 122, 0, 0.08)),
    #f7faf8;
}

.home-hero-copy {
  max-width: 760px;
}

.home-hero h1 {
  color: var(--ink);
  font-size: clamp(2.7rem, 7vw, 5.6rem);
}

.home-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.9;
}

.home-status {
  display: grid;
  gap: 10px;
}

.home-status span {
  min-height: 46px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(20, 32, 51, 0.06);
}

.home-category-band {
  position: sticky;
  top: 68px;
  z-index: 12;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 12px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.home-category-band a {
  flex: 0 0 auto;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #c8d2df;
  border-radius: 999px;
  padding: 0 13px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
  background: #fff;
}

.home-shelf {
  padding-top: clamp(38px, 6vw, 72px);
  padding-bottom: clamp(38px, 6vw, 72px);
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 44px;
  }

  .hero-media {
    order: 2;
    min-height: 520px;
  }

  .screen-card-main {
    right: clamp(8px, 12vw, 180px);
  }

  .screen-card-sub {
    left: clamp(8px, 10vw, 130px);
  }

  .problem,
  .features,
  .fit-grid,
  .article-grid,
  .contact-form-section,
  .portal-hero,
  .portal-links,
  .game-directory-grid,
  .games-hero,
  .home-hero,
  .spotlight-grid {
    grid-template-columns: 1fr 1fr;
  }

  .flow li {
    grid-template-columns: 54px 1fr;
  }

  .flow span {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 62px;
  }

  nav {
    display: none;
  }

  .hero {
    padding: 34px 16px 40px;
    background:
      linear-gradient(180deg, rgba(17, 27, 44, 0.92), rgba(17, 27, 44, 0.8)),
      #111b2c;
  }

  .hero::before {
    background-position: right -84px top 36px;
    background-size: 260px;
    opacity: 0.08;
  }

  .hero-copy > p:last-of-type {
    font-size: 0.96rem;
  }

  .hero-actions a {
    width: 100%;
  }

  .hero-media {
    min-height: 430px;
  }

  .screen-card {
    width: 224px;
    border-width: 8px;
    border-radius: 28px;
  }

  .screen-card-main {
    right: 0;
    width: 224px;
  }

  .screen-card-sub {
    left: 0;
    bottom: 0;
    width: 196px;
  }

  .problem,
  .features,
  .fit-grid,
  .article-grid,
  .contact-form-section,
  .portal-hero,
  .games-hero,
  .home-hero,
  .portal-grid,
  .portal-links,
  .spotlight-grid {
    grid-template-columns: 1fr;
  }

  .game-filter-band,
  .home-category-band {
    top: 62px;
  }

  .game-table a {
    grid-template-columns: 1fr;
  }

  .features article,
  .fit-grid p,
  .article-grid a {
    min-height: auto;
  }

  .flow li {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .flow span {
    grid-column: auto;
  }

  .contact .primary,
  .contact .outline,
  .contact-actions,
  .with-link {
    width: 100%;
  }

  .with-link {
    align-items: start;
    flex-direction: column;
  }
}
