/* Layout: an esports-software site in the lhm.gg mould - dark, a centred headline with one word in a glowing pill,
   the product big in a glowing frame, bento cards in the two team colours, a step switcher, game tabs over the
   scenes and their feature tags, then a closing band and a big statement footer. GGWP's own: the ember live dot,
   the name, and ggwp.no's type family (Geist for words, Geist Mono for labels and numbers). One dark look by design.
   Type scale (fluid): display 44-96 / h2 34-60 / h3 23-30 / lead 18-21 / body 17 / small 15 / label 12.5 mono. */
:root {
  color-scheme: dark;
  --bg: #08090e;          /* the page */
  --panel: #10121a;       /* cards and bars */
  --panel-2: #161925;     /* raised inside cards */
  --line: rgba(255, 255, 255, .09);
  --text: #f5f6f9;
  --text-2: #c9cdd8;      /* the hero's second line, strong secondary */
  --soft: #9aa1b3;        /* secondary text */
  --ember: #ff5a3c;       /* GGWP's live dot: the one glow */
  --ember-soft: #ff8a70;  /* labels on dark */
  --blue: #3d6dff;        /* blue side */
  --red: #ff3b52;         /* red side */
  --sans: "Geist", "Segoe UI", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--sans); padding-inline: clamp(16px, 3vw, 40px);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
.wrap { max-width: 1240px; margin-inline: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--sans); font-weight: 600; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
.num { font-variant-numeric: tabular-nums; }

/* the one small label voice: mono, uppercase, short */
.eyebrow { font: 500 12.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ember-soft); }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ember); flex: none; position: relative; }
.dot.ping::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--ember); animation: ping 1.8s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }
.skip { position: absolute; left: 16px; top: -60px; z-index: 30; padding: 10px 16px; border-radius: 10px; background: #fff; color: #0b0d12; text-decoration: none; font-weight: 500; }
.skip:focus { top: 12px; }

/* buttons: sentence case, readable */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 20px; border-radius: 10px;
  font: 600 15px/1 var(--sans); letter-spacing: -.005em; text-decoration: none; cursor: pointer; white-space: nowrap;
  border: 1px solid var(--line); background: var(--panel); color: var(--text);
}
.btn:hover { border-color: rgba(255, 255, 255, .28); }
.btn.light { background: linear-gradient(#ffffff, #e6ebf2); color: #0b0d12; border-color: transparent; }
.btn.light:hover { background: linear-gradient(#ffffff, #f4f6fa); }
.btn.glow { background: #0d0f15; border-color: rgba(255, 90, 60, .7); box-shadow: 0 0 0 1px rgba(255, 90, 60, .25), 0 0 28px rgba(255, 90, 60, .35); }
.btn.glow:hover { box-shadow: 0 0 0 1px rgba(255, 90, 60, .45), 0 0 40px rgba(255, 90, 60, .5); }

/* top bar */
.bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; padding-top: 12px; }
.bar .in {
  display: flex; align-items: center; gap: 18px; padding: 8px 8px 8px 18px; border-radius: 16px; border: 1px solid var(--line);
  background: rgba(12, 14, 20, .78); backdrop-filter: blur(14px);
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 18px/1 var(--sans); letter-spacing: -.03em; white-space: nowrap; }
.logo span { color: var(--soft); font-weight: 500; }
.bar nav { display: flex; gap: 4px; margin-inline: auto; }
.bar nav a { padding: 9px 12px; border-radius: 8px; font: 500 14.5px/1 var(--sans); text-decoration: none; color: var(--soft); }
.bar nav a:hover, .bar nav a[aria-current="true"] { color: var(--text); background: rgba(255, 255, 255, .05); }
.bar .end { display: flex; gap: 8px; margin-left: auto; }
.bar nav + .end { margin-left: 0; }
.bar .btn { min-height: 38px; padding: 0 14px; font-size: 14px; }
@media (max-width: 960px) { .bar nav { display: none; } .bar .end { margin-left: auto; } }
@media (max-width: 460px) { .bar .login { display: none; } }

/* hero */
.hero { text-align: center; padding-block: clamp(56px, 9vw, 112px) 40px; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.hero h1 { font-size: clamp(44px, 7.2vw, 96px); line-height: 1; letter-spacing: -.048em; font-weight: 600; }
.pill {
  display: inline-block; padding: .02em .28em .07em; margin-left: .02em; border-radius: .42em; color: var(--ember-soft); letter-spacing: -.04em;
  border: 2px solid rgba(255, 90, 60, .75); background: rgba(255, 90, 60, .08);
  box-shadow: 0 0 0 4px rgba(255, 90, 60, .08), 0 0 42px rgba(255, 90, 60, .38), inset 0 0 24px rgba(255, 90, 60, .14);
}
.rot { display: block; height: 1.18em; font-size: .74em; font-weight: 500; letter-spacing: -.04em; white-space: nowrap; overflow: hidden; color: var(--text-2); margin-top: .18em; }
@media (max-width: 760px) { .rot { white-space: normal; height: 2.36em; } }
.rot span { display: block; transition: transform .55s cubic-bezier(.7, 0, .2, 1), opacity .55s ease; }
.rot span.out { transform: translateY(-60%); opacity: 0; }
.rot span.in { transform: translateY(60%); opacity: 0; }
.hero .lede { max-width: 54ch; margin: 28px auto 0; color: var(--soft); font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; letter-spacing: -.005em; }
.hero .ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }

.show { position: relative; margin-top: clamp(40px, 6vw, 64px); }
.frame {
  position: relative; border-radius: clamp(16px, 2.4vw, 32px); overflow: hidden; aspect-ratio: 16 / 9; max-width: 100%; background: #000;
  border: 1px solid rgba(255, 90, 60, .45); box-shadow: 0 0 0 6px rgba(255, 90, 60, .05), 0 30px 120px -20px rgba(255, 90, 60, .35), 0 0 80px -30px rgba(61, 109, 255, .5);
}
.frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.chip {
  position: absolute; top: clamp(10px, 1.6vw, 20px); left: clamp(10px, 1.6vw, 20px); display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 12px; border-radius: 999px; background: rgba(8, 9, 14, .72); backdrop-filter: blur(8px);
  font: 500 12.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; font-variant-numeric: tabular-nums;
}
.glass {
  position: relative; max-width: 660px; margin: -11% auto 0; padding: clamp(24px, 3vw, 36px); border-radius: 24px; text-align: left;
  background: rgba(22, 25, 37, .8); border: 1px solid var(--line); backdrop-filter: blur(16px);
}
.glass h2 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; letter-spacing: -.03em; }
.glass p { margin-top: 12px; color: var(--soft); }
@media (max-width: 700px) { .glass { margin-top: 16px; } }

/* works with */
.with { padding-block: clamp(56px, 8vw, 96px) 0; text-align: center; }
.marquee { margin-top: 26px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee .track { display: flex; gap: 64px; width: max-content; animation: slide 36s linear infinite; }
.marquee span { font: 600 clamp(18px, 2vw, 24px)/1 var(--sans); letter-spacing: -.03em; color: #5f6578; white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }

section { padding-block: clamp(80px, 10vw, 136px) 0; }
.head { max-width: 780px; }
.head h2 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.04; letter-spacing: -.042em; margin-top: 16px; }
.head p { margin-top: 20px; color: var(--soft); max-width: 58ch; font-size: clamp(17px, 1.3vw, 19px); }
.head.center { margin-inline: auto; text-align: center; }
.head.center p { margin-inline: auto; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; margin-top: 48px; }
.card { position: relative; border-radius: 32px; overflow: hidden; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 12px; min-width: 0; border: 1px solid var(--line); background: var(--panel); }
.card h3 { font-size: clamp(23px, 2.2vw, 30px); line-height: 1.12; letter-spacing: -.03em; max-width: 20ch; }
.card p { color: var(--soft); max-width: 46ch; }
.card .eyebrow { margin-bottom: 4px; }
.card .shot { margin-top: auto; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 9; max-width: 100%; border: 1px solid rgba(255, 255, 255, .12); }
.card .shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.card:hover .shot img { transform: scale(1.03); }
.c7 { grid-column: span 7; } .c5 { grid-column: span 5; }
.card.ember { background: radial-gradient(120% 90% at 100% 0%, #ff7a52 0%, #e8402a 45%, #9c1f1a 100%); border-color: transparent; }
.card.blue { background: radial-gradient(120% 90% at 0% 0%, #5b8bff 0%, #2f55e6 48%, #182a8f 100%); border-color: transparent; }
.card.ember .eyebrow, .card.blue .eyebrow { color: rgba(255, 255, 255, .82); }
.card.ember p, .card.blue p { color: rgba(255, 255, 255, .88); }
.stack { position: relative; margin-top: auto; aspect-ratio: 16 / 10; max-width: 100%; }
.stack .shot { position: absolute; width: 78%; margin: 0; box-shadow: 0 20px 50px rgba(0, 0, 0, .45); }
.stack .shot:nth-child(1) { left: 0; top: 0; transform: rotate(-2deg); }
.stack .shot:nth-child(2) { right: 0; bottom: 0; transform: rotate(2deg); }
@media (max-width: 900px) { .c7, .c5 { grid-column: span 12; } }

/* steps */
.steps { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); margin-top: 48px; align-items: center; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.tabs button {
  display: inline-flex; align-items: baseline; gap: 10px; min-height: 44px; padding: 0 16px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--line); background: var(--panel); color: var(--soft); font: 500 15px/1 var(--sans);
}
.tabs button b { font: 500 12.5px/1 var(--mono); color: var(--ember-soft); font-variant-numeric: tabular-nums; }
.tabs button[aria-selected="true"] { color: var(--text); border-color: rgba(255, 90, 60, .6); box-shadow: 0 0 24px rgba(255, 90, 60, .22); }
.pane h3 { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.08; letter-spacing: -.035em; }
.pane p { margin-top: 16px; color: var(--soft); max-width: 46ch; font-size: 18px; }
.steps .frame { border-color: var(--line); box-shadow: 0 30px 90px -30px rgba(61, 109, 255, .45); }
.steps .frame img { transition: opacity .35s ease; }
@media (max-width: 900px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* scenes: game tabs, the gallery, the tags */
.games { display: flex; gap: 6px; margin-top: 40px; padding: 6px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); width: max-content; max-width: 100%; flex-wrap: wrap; }
.games button { min-height: 42px; padding: 0 18px; border-radius: 10px; border: 0; background: transparent; color: var(--soft); cursor: pointer; font: 500 15px/1 var(--sans); }
.games button[aria-selected="true"] { background: var(--panel-2); color: var(--text); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.count { margin-top: 28px; font: 600 clamp(22px, 2.2vw, 28px)/1.2 var(--sans); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.count b { color: var(--ember-soft); font-weight: 600; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.tile { margin: 0; border-radius: 18px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); min-width: 0; }
.tile img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; max-width: 100%; }
.tile figcaption { padding: 13px 16px; font: 500 15px/1.2 var(--sans); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; list-style: none; padding: 0; }
.tags li { padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); font: 500 12.5px/1.25 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: #cfd3dd; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .gallery { grid-template-columns: minmax(0, 1fr); } }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 48px; }
.plan { border-radius: 28px; padding: clamp(24px, 3vw, 40px); background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.plan.hot { border-color: rgba(255, 90, 60, .55); box-shadow: 0 0 60px -20px rgba(255, 90, 60, .45); }
.plan h3 { font-size: 26px; letter-spacing: -.03em; line-height: 1.15; }
.plan .price { font: 600 clamp(30px, 3.2vw, 42px)/1 var(--sans); letter-spacing: -.04em; margin-top: 6px; }
.plan .price small { display: block; margin-top: 10px; font: 400 15px/1.45 var(--sans); letter-spacing: 0; color: var(--soft); }
.plan ul { list-style: none; padding: 18px 0 0; margin: 4px 0 8px; display: grid; gap: 10px; border-top: 1px solid var(--line); }
.plan li { display: flex; gap: 12px; color: #d6dae3; }
.plan li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: .62em; border-radius: 50%; background: var(--ember); }
.plan .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 820px) { .plans { grid-template-columns: minmax(0, 1fr); } }

/* about */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: start; }
.about h2 { font-size: clamp(32px, 3.8vw, 50px); line-height: 1.05; letter-spacing: -.04em; }
.about p { color: var(--soft); font-size: 18px; }
.about p + p { margin-top: 16px; }
.about .btn { margin-top: 28px; }
@media (max-width: 820px) { .about { grid-template-columns: minmax(0, 1fr); } }

/* closing band */
.band {
  border-radius: 36px; padding: clamp(32px, 6vw, 76px); text-align: center; overflow: hidden; position: relative;
  background: radial-gradient(70% 120% at 50% 120%, rgba(255, 90, 60, .38), transparent 60%), radial-gradient(60% 90% at 10% -20%, rgba(61, 109, 255, .32), transparent 60%), var(--panel);
  border: 1px solid var(--line);
}
.band h2 { font-size: clamp(34px, 4.8vw, 64px); line-height: 1.02; letter-spacing: -.045em; }
.band > p { margin: 20px auto 0; max-width: 52ch; color: var(--soft); font-size: clamp(17px, 1.3vw, 19px); }
.mail { margin-top: 30px; display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; padding: 8px 8px 8px 22px; border-radius: 14px; background: rgba(8, 9, 14, .6); border: 1px solid var(--line); max-width: 100%; }
.mail code { font: 500 clamp(17px, 1.8vw, 21px)/1.2 var(--mono); letter-spacing: -.01em; user-select: all; overflow-wrap: anywhere; }
.mail .btn { min-height: 40px; padding: 0 14px; font-size: 14px; }
.band .note { margin-top: 18px; font-size: 15px; color: var(--soft); }

/* questions */
.qa { max-width: 860px; margin: 44px auto 0; display: grid; gap: 10px; }
.qa details { border-radius: 16px; background: var(--panel); border: 1px solid var(--line); padding: 0 22px; }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding-block: 20px; font: 500 19px/1.35 var(--sans); letter-spacing: -.015em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; color: var(--ember-soft); font: 400 24px/1 var(--sans); transition: transform .2s ease; }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details p { padding-bottom: 22px; color: var(--soft); max-width: 64ch; }
:root { interpolate-size: allow-keywords; }
.qa details::details-content { height: 0; overflow: clip; transition: height .35s ease, content-visibility .35s allow-discrete; }
.qa details[open]::details-content { height: auto; }

/* footer */
footer { margin-top: clamp(80px, 11vw, 140px); padding-block: 48px 40px; border-top: 1px solid var(--line); }
.big { margin: 0; font: 600 clamp(96px, 19vw, 280px)/.84 var(--sans); letter-spacing: -.075em; display: flex; align-items: baseline; }
.big i { display: inline-block; width: .15em; height: .15em; border-radius: 50%; background: var(--ember); margin-left: .06em; box-shadow: 0 0 40px rgba(255, 90, 60, .6); }
.foot { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 44px; }
.foot h3 { font-size: 22px; line-height: 1.25; letter-spacing: -.025em; }
.foot p.lead { color: var(--soft); margin-top: 10px; max-width: 38ch; font-size: 16px; }
.foot h4 { margin: 0 0 14px; font: 500 12.5px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { text-decoration: none; color: #d6dae3; font-size: 15.5px; }
.foot a:hover { color: var(--text); }
.legal { margin-top: 44px; font-size: 13.5px; line-height: 1.6; color: #6d7386; max-width: 90ch; }
@media (max-width: 820px) { .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot > div:first-child { grid-column: 1 / -1; } }

.float {
  position: fixed; right: clamp(12px, 2vw, 24px); bottom: calc(env(safe-area-inset-bottom, 0px) + clamp(12px, 2vw, 24px)); z-index: 25;
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: #ffffff; color: #0b0d12;
  font: 600 14.5px/1 var(--sans); text-decoration: none; box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
}
.float:hover { background: #f1f4f8; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dot.ping::after, .marquee .track { animation: none; }
  .rot span, .card .shot img, .steps .frame img, .qa details::details-content { transition: none; }
  .card:hover .shot img { transform: none; }
}

/* replaces the page's inline styles (strict CSP) */
.flush { margin: 0; }
.eyebrow.live { display: inline-flex; align-items: center; gap: 10px; }
.spaced { margin-top: 14px; }


/* the 404 page */
.nf { padding-block: 20vh; text-align: center; }
.nf-h { font-size: clamp(40px, 6vw, 72px); letter-spacing: -.045em; margin-top: 16px; }
.nf-p { margin-top: 20px; color: var(--soft); }
.nf-a { margin-top: 32px; }
