/* chtechgames.com — CHTECH Games' studieside (roden). Flad: ingen gradienter, ingen skygger, ingen dobbeltkanter og
   ingen versaler. Spillenes egne sider (fx /summerresorttycoon/) har deres eget stilark. */

@font-face { font-family: "Inter"; src: url("fonts/inter-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-700.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-800.woff") format("woff"); font-weight: 800; font-display: swap; }

:root {
  --ink: #15202B;
  --ink-2: #56616C;
  --soft: #F1F3F5;
  --line: #E2E6EA;
  --white: #FFFFFF;
  --r: 22px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.55 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-underline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { width: 100%; max-width: 1000px; margin: 0 auto; padding-inline: 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--white); padding: 8px 14px; border-radius: 10px; font-weight: 700; }
.skip:focus { left: 8px; }

/* top */
.top { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.mark { font-weight: 800; font-size: 17px; letter-spacing: -0.01em; text-decoration: none; }
.lang { margin-left: auto; font-weight: 700; font-size: 14px; text-decoration: none; background: var(--soft); padding: 7px 14px; border-radius: 999px; }
.lang:hover, .btn:hover { background: var(--line); }

/* forsiden */
.hero { padding-block: clamp(28px, 7vw, 88px) clamp(36px, 6vw, 64px); }
.hero h1 { font-weight: 800; letter-spacing: -0.035em; line-height: 1; font-size: clamp(46px, 8.5vw, 84px); }
.hero p { margin-top: 16px; font-size: clamp(18px, 2.2vw, 22px); color: var(--ink-2); max-width: 30em; }
.games-sec h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 18px; }
.games { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.game { display: flex; flex-direction: column; gap: 18px; background: var(--soft); border-radius: var(--r); padding: 28px; }
.game-icon { width: 88px; height: 88px; border-radius: 20px; }
.game h3 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.game .meta { margin-top: 4px; font-size: 15px; font-weight: 700; color: var(--ink-2); }
.game-text p:last-child { margin-top: 12px; color: var(--ink-2); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: auto; }
.btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--white); font-weight: 700; font-size: 15px; text-decoration: none; }
.btn-main { background: var(--ink); color: var(--white); }
.btn-main:hover { background: #2A3846; }
.soon { font-size: 15px; font-weight: 700; color: var(--ink-2); }

/* /privacy og /support */
.doc { max-width: 640px; padding-top: clamp(24px, 6vw, 64px); }
.doc h1 { font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; font-size: clamp(38px, 6vw, 56px); margin-bottom: 8px; }
.doc p { margin-top: 12px; color: var(--ink-2); }
.list { margin-top: 20px; display: grid; gap: 10px; }
.list a { display: flex; align-items: center; gap: 14px; background: var(--soft); border-radius: 16px; padding: 12px 16px; font-weight: 700; text-decoration: none; }
.list a:hover { background: var(--line); }
.list img { width: 48px; height: 48px; border-radius: 12px; }

/* fod */
.site-foot { margin-top: clamp(56px, 9vw, 104px); }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 24px 40px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.foot-links { display: flex; flex-wrap: wrap; gap: 20px; }
.foot-links a { font-weight: 700; text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .games { grid-template-columns: minmax(0, 1fr); }
  .game { padding: 22px; }
  .game-icon { width: 72px; height: 72px; border-radius: 16px; }
}
