@media (min-width: 768px) {
  main .wrap { padding-right: max(var(--gutter), calc(56px - max(0px, (100% - 1200px) / 2))); }
}
@media (min-width: 1360px) {
  main .wrap { padding-right: max(var(--gutter), calc(224px - max(0px, (100% - 1200px) / 2))); }
}
.gm-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.gm-hero__inner {
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  padding-block: clamp(40px, 7vw, 96px);
}
@media (min-width: 960px) {
  .gm-hero__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
}
.gm-hero__logo { width: clamp(170px, 20vw, 240px); }
.gm-hero h1 {
  margin: clamp(22px, 3vw, 36px) 0 14px;
  font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4.25rem);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.035em;
}
.gm-hero__lead {
  margin: 0;
  max-width: 34rem;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  color: var(--text-muted);
}
.gm-btn {
  display: inline-flex;
  align-items: center;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 180ms ease, opacity 180ms ease;
}
.gm-btn--dark { background: var(--text); color: var(--bg); }
.gm-btn--dark:hover { opacity: 0.86; }
.gm-btn--line { padding: 11px 20px; border: 2px solid var(--line); }
.gm-btn--line:hover { border-color: var(--text); }
.gm-hero__art { position: relative; display: none; justify-content: center; align-items: center; min-height: 380px; }
@media (min-width: 640px) { .gm-hero__art { display: flex; } }
.gm-hero__art::before {
  content: "";
  position: absolute;
  width: min(118%, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(244, 222, 13, 0.42), rgba(244, 222, 13, 0.18) 72%, rgba(244, 222, 13, 0) 100%);
}
.gm-hero__board {
  position: relative;
  grid-template-columns: repeat(4, 1fr);
  width: min(100%, 330px);
  border-radius: 22px;
  transform: rotate(-6deg);
  box-shadow: 0 30px 60px -28px rgba(54, 28, 29, 0.55);
}

.gm-section { padding-block: clamp(48px, 7vw, 96px) 0; }
.gm-eyebrow {
  margin: 0 0 14px;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.gm-card {
  display: grid;
  border-radius: 32px;
  overflow: hidden;
  text-decoration: none;
  color: var(--mine-ink);
  background: var(--mine-sky) var(--mine-bg) center 30% / cover no-repeat;
  --pick-color: var(--games-accent);
}
@media (min-width: 860px) {
  .gm-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 460px; }
}
.gm-card:focus-visible { outline-offset: 6px; }
.gm-card__text { padding: clamp(24px, 3.6vw, 56px); }
.gm-card__icon { width: clamp(96px, 10vw, 128px); border-radius: 26px; }
.gm-card h2 {
  margin: 18px 0 8px;
  font-size: clamp(1.625rem, 1.3rem + 1.4vw, 2.5rem);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.gm-card p { margin: 0; max-width: 28rem; color: var(--mine-ink-dim); font-size: 1.0625rem; }
.gm-card .status-pill { margin-top: 14px; border-color: var(--mine-well); background: #fffbe6; color: var(--mine-ink); font-size: 0.8125rem; }
.gm-card__cta {
  display: inline-flex;
  margin-top: 22px;
  padding: 13px 22px;
  border-radius: 999px;
  background: #2a1617;
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
}
.gm-card__visual { display: flex; align-items: flex-end; justify-content: flex-end; padding-top: 8px; }
.gm-card__visual .board-peek { width: 92%; border-radius: 18px 0 0 0; }

.gm-title {
  margin: 0;
  max-width: 18em;
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3rem);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.gm-lead {
  margin: 14px 0 0;
  max-width: 40rem;
  color: var(--text-muted);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
}
.gm-engines__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: clamp(28px, 4vw, 48px);
}
@media (min-width: 860px) { .gm-engines__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gm-engine {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}
.gm-engine__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.gm-engine__media img { width: 100%; height: 100%; object-fit: cover; }
.gm-engine__dim {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(20, 10, 11, 0.62);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
  backdrop-filter: blur(6px);
}
.gm-engine__body { padding: clamp(20px, 2.4vw, 30px); }
.gm-engine h3 {
  margin: 0 0 4px;
  font-size: 1.5rem;
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.gm-engine__facts { display: grid; margin: 14px 0 0; }
.gm-engine__facts div {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.gm-engine__facts dt { color: var(--text-muted); font-size: 0.875rem; font-weight: 700; line-height: 1.6; }
.gm-engine__facts dd { margin: 0; color: var(--text); font-size: 0.9375rem; font-weight: 600; line-height: 1.6; }

.gm-contact__inner { display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (min-width: 960px) { .gm-contact__inner { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.gm-contact__mail { margin: 18px 0 0; color: var(--text-muted); font-size: 0.9375rem; }
.gm-contact__mail a { color: var(--text); font-weight: 800; }
.gm-formbox {
  padding: clamp(22px, 3.4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
}
.gm-field { margin: 0 0 18px; }
.gm-field label { display: block; margin: 0 0 6px; font-weight: 700; }
.gm-field .gm-req { color: var(--accent); }
.gm-field input,
.gm-field textarea {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid #cdbdb5;
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
}
.gm-field textarea { resize: vertical; min-height: 150px; }
.gm-field :is(input, textarea):focus-visible { outline: 3px solid rgba(215, 23, 31, 0.28); outline-offset: 1px; border-color: var(--text); }
.gm-field :is(input, textarea)[aria-invalid="true"] { border-color: #c2410c; }
.gm-field__row { display: grid; gap: 0 16px; }
@media (min-width: 560px) { .gm-field__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.gm-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.gm-consent { margin: 4px 0 22px; font-size: 0.875rem; }
.gm-check { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 1rem; font-weight: 700; cursor: pointer; }
.gm-check input {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 22px;
  height: 22px;
  margin: 0;
  border: 2px solid var(--text-muted);
  border-radius: 6px;
  background: #fff center / 16px no-repeat;
  cursor: pointer;
}
.gm-check input:checked {
  border-color: var(--text);
  background-color: var(--text);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.gm-check input[aria-invalid="true"] { border-color: #c2410c; }
.gm-consent p { margin: 8px 0 0; color: var(--text-muted); }
.gm-consent a { color: var(--text); font-weight: 700; }
button.gm-btn { border: 0; font: inherit; font-weight: 800; cursor: pointer; }
button.gm-btn--line { border: 2px solid var(--line); background: transparent; color: var(--text); }
.gm-btn--block { width: 100%; justify-content: center; min-height: 50px; }
.gm-btn[disabled] { opacity: 0.6; cursor: progress; }
.gm-form__error {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff1e6;
  color: #7c2d12;
  font-size: 0.9375rem;
}
.gm-form__error a { color: inherit; font-weight: 800; }
.gm-done { padding-block: 12px; text-align: center; }
.gm-done__badge {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 8px auto 22px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 10px rgba(244, 222, 13, 0.28), 0 0 0 22px rgba(244, 222, 13, 0.13);
}
.gm-done__badge svg { width: 30px; height: 30px; fill: none; stroke: var(--text); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.gm-done h3 { margin: 0 0 6px; font-size: 1.375rem; font-weight: 800; outline: none; }
.gm-done > p { margin: 0 0 22px; color: var(--text-muted); }
