/* NoCouch studio pages: the home page and the support page. */
:root {
  color-scheme: dark;
  --ground: #0b0b0d;
  --panel: #141417;
  --line: #26262b;
  --ink: #f4efe6;
  --ink-2: #c8c2b6;
  --dim: #8f897e;
  --brand: #ffcf3a;
  --coral: #ff5c38;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
}
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

header { border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand span { font-weight: 900; font-stretch: 125%; letter-spacing: 0.06em; font-size: 18px; }
nav a { text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 15px; margin-left: 22px; }
nav a:hover { color: var(--brand); }

.hero { padding: 88px 0 72px; position: relative; }
.stripe {
  display: inline-block; background: var(--brand); color: var(--ground);
  font-weight: 800; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 4px; transform: rotate(-2deg);
}
.hero h1 {
  margin: 22px 0 0; font-weight: 900; font-stretch: 125%; line-height: 0.88;
  font-size: clamp(44px, 13vw, 176px); letter-spacing: -0.02em; text-transform: uppercase;
}
.hero h1 .no { color: var(--brand); }
.tag { margin: 26px 0 0; font-size: clamp(24px, 4vw, 38px); font-weight: 800; line-height: 1.15; }
.sub { margin: 14px 0 0; color: var(--ink-2); max-width: 52ch; }
.rules { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.rules li { border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.rules li::before { content: "\2715"; color: var(--brand); margin-right: 8px; font-size: 12px; }
.ghost { position: absolute; right: 0; top: 64px; width: 300px; opacity: 0.07; pointer-events: none; }

section h2 { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); font-weight: 800; margin: 0 0 18px; }
.games { padding: 24px 0 72px; }
.game {
  display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: center;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 14px; padding: 28px;
}
.game .mark { width: 120px; height: 120px; border-radius: 22px; background: #0a0c10; display: grid; place-items: center; border: 1px solid #232a34; }
.game .mark svg { width: 76px; height: 76px; }
.game h3 { margin: 0; font-size: 34px; font-weight: 900; font-stretch: 112%; letter-spacing: 0.02em; line-height: 1; }
.game h3 small { display: block; font-size: 15px; font-weight: 700; color: var(--coral); letter-spacing: 0.14em; text-transform: uppercase; margin-top: 8px; font-stretch: 100%; }
.game p { margin: 12px 0 0; color: var(--ink-2); max-width: 60ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { font-size: 13px; font-weight: 700; padding: 5px 11px; border-radius: 6px; background: #1d1d22; color: var(--ink-2); }
.chip b { color: var(--ink); }
.links { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-block; text-decoration: none; font-weight: 800; font-size: 15px; padding: 10px 16px; border-radius: 8px; border: 1.5px solid var(--line); }
.btn.primary { background: var(--brand); color: var(--ground); border-color: var(--brand); }
.btn:hover { border-color: var(--brand); }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.game.small { grid-template-columns: 1fr; gap: 16px; align-items: start; }
.game.small .mark { width: 72px; height: 72px; border-radius: 16px; }
.game.small .mark img { width: 46px; height: 46px; }
.game.small h3 { font-size: 28px; }
.rules li::before { content: none; }

.contact { padding: 0 0 80px; }
.contact p { margin: 0; font-size: clamp(20px, 3vw, 28px); font-weight: 800; }
.contact a { color: var(--brand); text-decoration: none; overflow-wrap: anywhere; }
.contact a:hover { text-decoration: underline; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--dim); font-size: 14px; }
footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer a { color: var(--ink-2); text-decoration: none; margin-right: 18px; }
footer a:hover { color: var(--brand); }

@media (max-width: 640px) {
  nav a { margin-left: 14px; font-size: 14px; }
  .hero { padding: 56px 0 48px; }
  .ghost { display: none; }
  .game { grid-template-columns: 1fr; padding: 22px; gap: 18px; }
  .game .mark { width: 84px; height: 84px; border-radius: 18px; }
  .game .mark svg { width: 54px; height: 54px; }
  .duo { grid-template-columns: 1fr; }
}
