:root {
  color-scheme: light;
  --ink: #342318;
  --muted: #705845;
  --paper: #fffaf2;
  --paper-deep: #f1dfc1;
  --card: rgb(255 250 242 / 88%);
  --accent: #9a5b12;
  --accent-dark: #6f3d08;
  --line: #dfc9a8;
  --shadow: 0 1.5rem 4rem rgb(61 39 20 / 12%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 4%, rgb(255 255 255 / 78%) 0, transparent 25rem),
    linear-gradient(145deg, var(--paper-deep), var(--paper) 34rem);
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  line-height: 1.6;
}

a { color: inherit; text-underline-offset: .2em; }

.site-header {
  width: min(74rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgb(111 61 8 / 16%);
}

.brand {
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -.02em;
}

.header-link { color: var(--accent-dark); font-weight: 700; }

.page-shell {
  width: min(68rem, calc(100% - 2rem));
  margin-inline: auto;
}

.studio-hero { padding: clamp(5rem, 13vw, 10rem) 0 clamp(4rem, 10vw, 7rem); }

.eyebrow,
.game-kicker {
  margin: 0 0 .55rem;
  color: var(--accent);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .77rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; }

.studio-hero h1 {
  margin-bottom: 1.5rem;
  max-width: 13ch;
  font-size: clamp(3.8rem, 12vw, 8rem);
}

.lede {
  max-width: 43rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.15rem, 3vw, 1.45rem);
}

.section-block { padding: 1rem 0 clamp(5rem, 12vw, 9rem); }
.section-heading { margin-bottom: 1.6rem; }

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 6vw, 3.4rem);
}

.game-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.35rem, 4vw, 2.6rem);
  align-items: center;
  padding: clamp(1.25rem, 4vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  background: var(--card);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.game-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 1.8rem 4.5rem rgb(61 39 20 / 17%);
}

.game-card img,
.product-icon {
  display: block;
  border-radius: 22%;
  box-shadow: 0 .8rem 2rem rgb(61 39 20 / 20%);
}

.game-card-copy {
  display: grid;
  gap: .55rem;
  color: var(--muted);
}

.game-card-copy strong {
  color: var(--ink);
  font-size: clamp(2rem, 6vw, 3.2rem);
  line-height: 1;
}

.text-link { margin-top: .45rem; color: var(--accent-dark); font-weight: 800; }

.product-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.75rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(3.5rem, 9vw, 6rem);
}

.product-icon { width: clamp(9rem, 23vw, 15rem); height: auto; }
.product-hero h1 { margin-bottom: 1rem; font-size: clamp(3.4rem, 10vw, 7rem); }
.product-hero .lede { max-width: 38rem; }

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.75rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.15rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: #fffaf2;
  background: var(--accent);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 800;
  text-decoration: none;
}

.button.secondary { color: var(--accent-dark); background: transparent; }

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

.feature-card,
.support-card {
  padding: clamp(1.35rem, 4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--card);
}

.feature-card h3,
.support-card h3 { margin-bottom: .65rem; font-size: 1.3rem; }

.feature-card p,
.support-card p,
.support-card li { color: var(--muted); }

.feature-card p:last-child,
.support-card p:last-child { margin-bottom: 0; }

.support-section { padding: clamp(4rem, 10vw, 7rem) 0; }

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

.support-card ul { margin-bottom: 0; padding-left: 1.2rem; }

.support-email {
  color: var(--accent-dark);
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0 2.25rem;
  border-top: 1px solid rgb(111 61 8 / 16%);
  color: var(--muted);
  font-size: .95rem;
}

@media (max-width: 720px) {
  .game-card,
  .product-hero { grid-template-columns: 1fr; }
  .game-card img { width: 8rem; height: 8rem; }
  .feature-grid,
  .support-grid { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .site-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .game-card { transition: none; }
}
