/*
  T-ep Studio — site chung của studio. Hướng "công nghệ · tương lai · toàn cầu" (user chốt 2026-10-18):
  nền tối sâu, lưới mờ + quầng sáng, thẻ kính mờ, Sora (hình học) + JetBrains Mono (nhãn kiểu terminal),
  quả địa cầu chấm ở hero (assets/globe.js). Chỉ có theme tối — đó là một phần của nhận diện.
  Vàng thương hiệu #f5b931 là điểm nhấn duy nhất có màu ấm; mọi thứ khác lạnh và trung tính.
  Chữ phụ #8a93a5 trên nền #06070a ≈ 6.4:1; #7c8495 ≈ 5.3:1 (đều qua AA).
*/
@font-face {
  font-family: "Sora";
  src: url("fonts/sora.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

:root {
  --font: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --bg: #06070a;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-strong: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --ink: #eef0f5;
  --muted: #a3abba;
  --subtle: #7c8495;
  --amber: #f5b931;
  --amber-soft: rgba(245, 185, 49, 0.14);
  --blue: #8ea8ff;
  --green: #4ade80;
  --focus: #8ea8ff;

  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  color: inherit;
}
a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 8px;
}
img {
  max-width: 100%;
  display: block;
}
code {
  font: 500 0.92em var(--mono);
  color: var(--amber);
}
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 20;
  background: #111;
  padding: 8px 12px;
  border-radius: 8px;
}
.hide-sm {
}

/* ── Background ─────────────────────────────────────────── */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.bg-grid {
  position: absolute;
  inset: -1px;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.55;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 30%, transparent 75%);
}
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.bg-glow.a {
  width: 620px;
  height: 620px;
  right: -120px;
  top: -160px;
  background: rgba(96, 118, 255, 0.22);
}
.bg-glow.c {
  width: 420px;
  height: 420px;
  left: 40%;
  top: 60%;
  background: rgba(129, 140, 248, 0.12);
  animation: drift-c 26s ease-in-out infinite alternate;
}
.bg-glow.a {
  animation: drift-a 22s ease-in-out infinite alternate;
}
@keyframes drift-a {
  to {
    transform: translate(-120px, 80px) scale(1.15);
  }
}
@keyframes drift-c {
  to {
    transform: translate(160px, -120px) scale(0.9);
  }
}
.grain {
  position: absolute;
  inset: -50%;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.meteor {
  position: absolute;
  height: 1px;
  width: 180px;
  background: linear-gradient(90deg, transparent, rgba(255, 220, 140, 0.9));
  opacity: 0;
  animation: meteor 9s linear infinite;
}
.meteor.m1 {
  top: 128px;
  animation-delay: 1s;
}
.meteor.m2 {
  top: 448px;
  animation-delay: 4.5s;
  background: linear-gradient(90deg, transparent, rgba(142, 168, 255, 0.9));
}
.meteor.m3 {
  top: 704px;
  animation-delay: 7s;
}
@keyframes meteor {
  0% {
    left: -200px;
    opacity: 0;
  }
  4% {
    opacity: 1;
  }
  22% {
    left: 105%;
    opacity: 0;
  }
  100% {
    left: 105%;
    opacity: 0;
  }
}
.bg-glow.b {
  width: 520px;
  height: 520px;
  left: -200px;
  top: 340px;
  background: rgba(245, 185, 49, 0.1);
}

/* ── Top bar ────────────────────────────────────────────── */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(6, 7, 10, 0.6);
  border-bottom: 1px solid var(--line);
}
.top-row {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  text-decoration: none;
}
/* Lockup: the mark IS the "T" of "T-ep Studio" — the text only carries "-ep Studio". */
.brand-rest {
  line-height: 1;
}
/* Split T (user chose 2026-10-19): crossbar and stem separated by a gap. Same drawing as favicon.svg. */
.mark {
  width: 30px;
  height: 30px;
  flex: none;
  display: block;
}
.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 14px;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
}
.nav a:hover {
  color: var(--ink);
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 12px/1 var(--mono);
  color: var(--muted);
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
  animation: ping 2.4s infinite;
}
@keyframes ping {
  0% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(74, 222, 128, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
  }
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 4vw, 48px);
  padding-top: clamp(40px, 8vw, 96px);
  padding-bottom: clamp(24px, 4vw, 48px);
}
.kicker {
  font: 500 13px/1.4 var(--mono);
  color: var(--amber);
  margin: 0 0 18px;
  letter-spacing: 0.02em;
}
h1 {
  font-weight: 600;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 0;
}
.grad {
  background: linear-gradient(100deg, #ffffff 0%, #c9d4ff 40%, var(--amber) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  margin: 24px 0 0;
  max-width: 34em;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 18.5px);
  font-weight: 300;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 12px;
  font: 600 15px/1 var(--font);
  text-decoration: none;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn.primary {
  color: #120d02;
  background: linear-gradient(180deg, #ffd166, var(--amber));
  box-shadow: 0 0 0 1px rgba(245, 185, 49, 0.4), 0 10px 30px -10px rgba(245, 185, 49, 0.55);
}
.btn.primary:hover {
  transform: translateY(-1px);
}
.btn.ghost {
  border: 1px solid var(--line-strong);
  background: var(--panel);
  color: var(--ink);
}
.btn.ghost:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: var(--panel-strong);
}
.maker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
  color: var(--muted);
  font-size: 14px;
}
.maker b {
  color: var(--ink);
  font-weight: 600;
}
.avatar {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: #2a2723;
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px rgba(96, 165, 250, 0.6), 0 0 28px rgba(96, 165, 250, 0.35);
}

.globe-wrap {
  position: relative;
  margin: 0;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 600px;
  justify-self: end;
}
#globe {
  width: 100%;
  height: 100%;
  display: block;
}
.hud {
  position: absolute;
  inset: 0;
  pointer-events: none;
  font: 500 11px/1.5 var(--mono);
  color: var(--subtle);
  letter-spacing: 0.06em;
}
.hud b {
  color: var(--ink);
  font-weight: 500;
}
.hud span {
  position: absolute;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(10, 12, 18, 0.72);
}
.hud-tl {
  left: 2%;
  top: 8%;
}
.hud-br {
  right: 2%;
  bottom: 8%;
  text-align: right;
}

/* ── Stats ──────────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  overflow: hidden;
}
.stats > div {
  padding: 22px 24px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column-reverse;
  gap: 4px;
}
.stats > div:last-child {
  border-right: 0;
}
.stats dt {
  font: 500 12px/1.4 var(--mono);
  color: var(--subtle);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.stats dd {
  margin: 0;
  font-weight: 600;
  font-size: clamp(30px, 3.6vw, 42px);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

/* ── Sections ───────────────────────────────────────────── */
.section {
  padding-top: clamp(72px, 10vw, 128px);
  scroll-margin-top: 40px;
}
h2 {
  font-weight: 600;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 32px;
}

/* ── Cards ──────────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  padding: clamp(20px, 3vw, 32px);
  overflow: hidden;
  min-width: 0;
}
.card-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(20px, 4vw, 44px);
  align-items: center;
}
@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
.card.glow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from var(--angle),
    transparent 0deg,
    var(--accent, var(--amber)) 40deg,
    rgba(142, 168, 255, 0.5) 90deg,
    transparent 150deg,
    transparent 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: spin 8s linear infinite;
}
@keyframes spin {
  to {
    --angle: 360deg;
  }
}
.card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}
.glyph {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  color: var(--amber);
  font-size: 18px;
}
h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
h3 a {
  text-decoration: none;
}
h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.sub {
  display: block;
  font: 500 12px/1.4 var(--mono);
  color: var(--subtle);
  margin-top: 2px;
}
.pill {
  margin-left: auto;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font: 500 11.5px/1 var(--mono);
  letter-spacing: 0.05em;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  background: var(--panel);
}
.pill.live {
  color: #c9f7d9;
  border-color: rgba(74, 222, 128, 0.35);
  background: rgba(74, 222, 128, 0.08);
}
.card-lead {
  margin: 0;
  color: var(--muted);
  font-size: 16.5px;
  font-weight: 300;
}
.specs {
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
  display: grid;
  gap: 8px;
  font-size: 14.5px;
  color: var(--muted);
}
.specs li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line);
}
.specs li b {
  font: 500 12px/1.4 var(--mono);
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.fine {
  margin: 16px 0 0;
  font-size: 12.5px;
  color: var(--subtle);
}
.card-shot {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px -30px rgba(96, 118, 255, 0.45), 0 0 0 6px rgba(255, 255, 255, 0.02);
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.5s ease;
}
.card-shot:hover {
  transform: perspective(1400px) rotateY(-2deg) rotateX(1deg);
}
.card-shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 1280 / 800;
  object-fit: cover;
}

.card-next {
  border-style: dashed;
  border-color: var(--line-strong);
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.015) 0 10px, transparent 10px 20px);
}
.scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 80px;
  top: -80px;
  background: linear-gradient(180deg, transparent, rgba(142, 168, 255, 0.1), transparent);
  animation: scan 5s linear infinite;
  pointer-events: none;
}
@keyframes scan {
  to {
    top: 110%;
  }
}
.link {
  display: inline-block;
  margin-top: 18px;
  color: var(--amber);
  font-weight: 600;
  font-size: 15px;
  text-underline-offset: 4px;
}
.langs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 0;
}
.langs span {
  font-size: 13px;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
}

/* ── Principles ─────────────────────────────────────────── */
.rules {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.rules li {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  background: var(--panel);
}
.idx {
  font: 500 12px/1 var(--mono);
  color: var(--amber);
}
.rules h3 {
  font-size: 18px;
  margin: 18px 0 8px;
}
.rules p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 300;
}

/* ── Terminal ───────────────────────────────────────────── */
.term {
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(8, 10, 15, 0.85);
  overflow: hidden;
  max-width: 720px;
  box-shadow: 0 30px 80px -40px rgba(96, 118, 255, 0.4);
}
.term-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font: 500 12px var(--mono);
  color: var(--subtle);
}
.term-bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.term-bar span {
  margin-left: 10px;
}
.term-body {
  padding: 18px 20px 22px;
  font: 400 clamp(14px, 1.8vw, 17px) / 1.9 var(--mono);
}
.term-body p {
  margin: 0;
  color: var(--muted);
}
.term-body .ps {
  color: var(--green);
  margin-right: 6px;
}
.term-body .out {
  color: var(--ink);
  margin-bottom: 6px;
}
.term-body a {
  color: var(--amber);
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
.caret {
  display: inline-block;
  width: 9px;
  height: 1.1em;
  vertical-align: -0.18em;
  background: var(--ink);
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* ── Footer ─────────────────────────────────────────────── */
.foot {
  margin-top: clamp(72px, 10vw, 128px);
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  font-size: 13px;
  color: var(--subtle);
}
.foot-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 24px;
}
.foot a {
  color: var(--muted);
}

/* ── FX: reveal, spotlight, tilt ─────────────────────────── */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
  transition: opacity 0.7s ease var(--d, 0ms), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms),
    filter 0.7s ease var(--d, 0ms);
}
.js [data-reveal].in {
  opacity: 1;
  transform: none;
  filter: none;
}
.card,
.rules li,
.stats {
  --mx: 50%;
  --my: 50%;
}
.card::after,
.rules li::after,
.stats::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.07), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.card:hover::after,
.rules li:hover::after,
.stats:hover::after {
  opacity: 1;
}
.rules li,
.stats {
  position: relative;
}
.product {
  transform: perspective(1600px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.25s ease;
}
.js .product[data-reveal].in {
  transform: perspective(1600px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}
.product.flip .card-body {
  order: 2;
}
.product.flip .card-shot {
  transform: perspective(1400px) rotateY(6deg) rotateX(2deg);
}
.product.flip .card-shot:hover {
  transform: perspective(1400px) rotateY(2deg) rotateX(1deg);
}
.product .card-shot {
  box-shadow: 0 30px 80px -30px color-mix(in srgb, var(--accent) 55%, transparent), 0 0 0 6px rgba(255, 255, 255, 0.02);
}
.pill.review {
  color: #fde7b0;
  border-color: rgba(245, 185, 49, 0.35);
  background: rgba(245, 185, 49, 0.08);
}
.pill.review .dot {
  background: var(--amber);
  animation-name: ping-amber;
}
@keyframes ping-amber {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 185, 49, 0.55);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(245, 185, 49, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(245, 185, 49, 0);
  }
}
.pill:not(.live):not(.review) .dot {
  display: none;
}
.btn.is-off {
  cursor: default;
  color: var(--muted);
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn.is-off:hover {
  transform: none;
}

/* ── Ticker ─────────────────────────────────────────────── */
.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  margin: 8px 0 40px;
  padding: 14px 0;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.ticker-track {
  display: flex;
  width: max-content;
  gap: 44px;
  animation: marquee 48s linear infinite;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 300;
  color: var(--subtle);
  white-space: nowrap;
}
.ticker-track span::after {
  content: "✦";
  margin-left: 44px;
  font-size: 0.6em;
  vertical-align: 0.25em;
  color: var(--amber);
  opacity: 0.6;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
#globe {
  cursor: grab;
  touch-action: pan-y;
}
#globe:active {
  cursor: grabbing;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .globe-wrap {
    justify-self: center;
    max-width: 520px;
    order: -1;
    margin-bottom: -24px;
  }
  .card-wide {
    grid-template-columns: minmax(0, 1fr);
  }
  .card-shot,
  .product.flip .card-shot {
    order: -1;
    transform: none;
  }
  .product.flip .card-body {
    order: 0;
  }
  .card-shot:hover {
    transform: none;
  }
  .rules {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stats > div:nth-child(2) {
    border-right: 0;
  }
  .stats > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}
@media (max-width: 640px) {
  .hide-sm {
    display: none !important;
  }
  .cards,
  .rules {
    grid-template-columns: minmax(0, 1fr);
  }
  .card-wide {
    grid-column: auto;
  }
  .cta .btn,
  .card-actions .btn {
    flex: 1 1 auto;
  }
  .hud {
    font-size: 10px;
  }
  .specs li {
    grid-template-columns: 86px minmax(0, 1fr);
  }
}
