/* GOAT sales page. Phone first; the wide layout starts at 760px. Colours are the game's menus'. */
:root {
  --night: #04081C;
  --panel: #0A1230;
  --deep: #030616;
  --line: #2A3E73;
  --gold: #F7C948;
  --pale-gold: #FFDD81;
  --text: #FFFFFF;
  --soft: #DFE7F6;
  --muted: #C9D4EC;
  --dim: #B4C0DE;
  --display: 'Roboto Condensed', 'Arial Narrow', sans-serif;
  --body: 'Roboto', system-ui, -apple-system, 'Segoe UI', 'Noto Sans Thai', 'Noto Sans SC', 'Noto Sans KR', 'Noto Sans JP', sans-serif;
  --pad: 20px;
  --dscale: 1;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--text); font: 16px/1.55 var(--body); overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: #8CC4FF; }
a:hover { color: #fff; }
p, h1, h2, h3, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 50; padding: 10px 14px; background: var(--gold); color: var(--panel); font-weight: 700; }
.skip:focus { top: 8px; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--pad); }
.gold { color: var(--gold); }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico--s { width: 12px; height: 12px; stroke-width: 2.4; }

/* type */
.display { font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; line-height: .92; letter-spacing: .005em; text-wrap: balance; font-size: calc(clamp(40px, 9.6vw, 88px) * var(--dscale)); }
.display--xl { font-size: calc(clamp(50px, 13vw, 116px) * var(--dscale)); line-height: .9; }
.display--l { font-size: calc(clamp(40px, 8vw, 76px) * var(--dscale)); }
.display--m { font-size: calc(clamp(40px, 6.4vw, 68px) * var(--dscale)); }
.display--s { font-size: 26px; font-weight: 800; line-height: 1.1; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--pale-gold); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 8px; height: 16px; background: var(--gold); transform: skewX(-14deg); flex: none; }
.lead { font-size: 16.5px; color: var(--muted); }
.small { font-size: 13px; color: var(--dim); }
.note { font-size: 14.5px; color: var(--dim); }
/* Thai, Chinese, Korean and Japanese have no capitals and no true italic: set them upright and a little smaller */
html:not([lang="en"]) { --dscale: .74; }
html:not([lang="en"]) .display:not([lang="en"]) { font-family: var(--body); font-style: normal; font-weight: 900; text-transform: none; letter-spacing: 0; line-height: 1.16; word-break: keep-all; overflow-wrap: anywhere; }
html[lang="th"] .display:not([lang="en"]) { line-height: 1.3; word-break: normal; }
html:not([lang="en"]) .display--s:not([lang="en"]) { font-size: 22px; line-height: 1.3; }
html:not([lang="en"]) .eyebrow, html:not([lang="en"]) .tag, html:not([lang="en"]) .chip, html:not([lang="en"]) .pill { letter-spacing: .04em; }
.display[lang="en"] { font-size: calc(clamp(40px, 6.4vw, 68px)); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; border: 0; background: var(--gold); color: var(--panel); font-family: var(--display); font-style: italic; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer; --cut: 12px; clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut))); transition: background .15s; }
.btn:hover { background: #FFD76A; color: var(--panel); }
.btn--s { height: 44px; padding: 0 16px; font-size: 17px; --cut: 10px; }
.btn--l { height: 58px; padding: 0 28px; font-size: 22px; --cut: 14px; }
.btn--xl { height: 60px; min-width: min(100%, 300px); padding: 0 36px; font-size: 24px; --cut: 16px; }
html:not([lang="en"]) .btn { font-family: var(--body); font-style: normal; letter-spacing: 0; }
html:not([lang="en"]) .btn--s { font-size: 15px; }
html:not([lang="en"]) .btn--l, html:not([lang="en"]) .btn--xl { font-size: 19px; }

/* hero */
.hero { position: relative; height: max(680px, 190vw); max-height: 940px; overflow: hidden; background: var(--night) url(../assets/art-hero-tall.webp) 50% 12% / cover no-repeat; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,8,28,.62) 0%, rgba(4,8,28,0) 16%, rgba(4,8,28,0) 32%, rgba(4,8,28,.66) 52%, rgba(4,8,28,.92) 76%, var(--night) 100%); }
.bar { position: absolute; inset: 0 0 auto 0; z-index: 5; padding-top: env(safe-area-inset-top); }
.bar__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.bar__end { display: flex; align-items: center; gap: 8px; }
.brand { display: flex; align-items: center; gap: 8px; min-height: 44px; color: #fff; text-decoration: none; }
.brand__name { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 30px; line-height: 1; letter-spacing: .01em; }
.crown { width: 34px; height: 26px; fill: var(--gold); flex: none; }
.crown--s { width: 30px; height: 23px; }
.crown--l { width: 60px; height: 46px; }
.nav { display: none; }
.lang { position: relative; }
.lang__btn { display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border: 1px solid rgba(223,231,246,.4); background: rgba(4,8,28,.55); color: #fff; font: 700 14px/1 var(--body); letter-spacing: .04em; cursor: pointer; }
.lang__btn:hover { border-color: var(--gold); }
.lang__menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 170px; padding: 6px; border: 1px solid var(--line); background: var(--panel); box-shadow: 0 18px 44px rgba(0,0,0,.5); }
.lang__menu button { display: block; width: 100%; min-height: 44px; padding: 0 12px; border: 0; background: none; color: var(--soft); font: 500 15px/1 var(--body); text-align: left; cursor: pointer; }
.lang__menu button:hover, .lang__menu button[aria-current="true"] { background: rgba(247,201,72,.12); color: #fff; }
.hero__body { position: absolute; inset: auto 0 0 0; }
.hero__in { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-bottom: clamp(28px, 5vw, 64px); text-align: center; }
.tag { padding: 5px 12px; border: 1px solid rgba(247,201,72,.7); background: rgba(4,8,28,.7); color: var(--pale-gold); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { text-shadow: 0 4px 28px rgba(4,8,28,.8); }
.hero h1 span { display: block; }
.hero__sub { max-width: 560px; font-size: clamp(16px, 2.1vw, 19px); color: var(--soft); text-shadow: 0 1px 10px rgba(4,8,28,.9); }
.hero__note { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
html:not([lang="en"]) .hero__note { letter-spacing: .02em; }
.hero .btn--xl { margin-top: 4px; }

/* sections */
.sec { position: relative; padding: clamp(64px, 10vw, 128px) 0; overflow: hidden; }
.sec--alt { background: var(--panel); }
.sec__in { position: relative; display: flex; flex-direction: column; gap: clamp(24px, 4.5vw, 52px); }
.head { display: flex; flex-direction: column; gap: 12px; max-width: 900px; }
.head--w { max-width: 980px; }
.ghost { position: absolute; margin: 0; font-family: var(--display); font-style: italic; font-weight: 900; line-height: .8; letter-spacing: -.02em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px rgba(247,201,72,.28); pointer-events: none; user-select: none; }
.ghost--r { right: -2vw; top: clamp(8px, 2vw, 40px); font-size: 34vw; }
.ghost--l { left: -1vw; bottom: -4vw; font-size: 30vw; }

.facts { display: grid; gap: 8px 36px; }
.fact { display: flex; flex-direction: column; gap: 6px; padding: 18px 0 8px; border-top: 2px solid var(--gold); }
.fact__n { color: var(--gold); font-family: var(--display); font-style: italic; font-weight: 900; font-size: clamp(72px, 12vw, 120px); line-height: .9; }
.fact p:last-child, .row p, .pair p { font-size: 15.5px; color: var(--muted); }

/* roster: swiped on a phone, three across when wide */
.sec--flush > .wrap { padding: 0; }
.head--pad { padding: 0 var(--pad); }
.roster { display: flex; gap: 14px; padding: 0 var(--pad); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--pad); scrollbar-width: none; }
.roster::-webkit-scrollbar { display: none; }
.card { position: relative; flex: 1 0 clamp(250px, 72vw, 300px); aspect-ratio: 3 / 4; overflow: hidden; background: var(--night); scroll-snap-align: start; border-top: 5px solid var(--c); clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%); }
.card--gold { --c: #F7C948; --ct: #FFDD81; }
.card--blue { --c: #30A0FF; --ct: #9CD0FF; }
.card--green { --c: #6CEDAA; --ct: #9BF3C6; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.card::after { content: ""; position: absolute; inset: 38% 0 0 0; background: linear-gradient(180deg, rgba(4,8,28,0) 0%, rgba(4,8,28,.82) 52%, var(--night) 100%); }
.card__txt { position: absolute; z-index: 1; inset: auto 20px 20px 20px; display: flex; flex-direction: column; gap: 4px; }
.card__txt p:last-child { font-size: 15px; color: var(--soft); }
.card__role { color: var(--ct); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
html:not([lang="en"]) .card__role { letter-spacing: .04em; }

/* key art banner */
.feel { background: var(--night); }
.feel__art { position: relative; display: flex; align-items: flex-end; min-height: clamp(340px, 50vw, 680px); background: url(../assets/art-action.webp) 28% 50% / cover no-repeat; }
.feel__art::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,8,28,.25) 0%, rgba(4,8,28,0) 35%, rgba(4,8,28,.75) 80%, var(--night) 100%); }
.feel__head { position: relative; width: 100%; display: flex; flex-direction: column; gap: 12px; padding-bottom: 8px; }
.feel__head h2 { max-width: 900px; text-shadow: 0 4px 28px rgba(4,8,28,.8); }
.rows { display: grid; gap: 0 36px; padding-top: clamp(20px, 3vw, 36px); padding-bottom: clamp(64px, 10vw, 128px); }
.row { display: flex; flex-direction: column; gap: 6px; padding: 18px 0; border-top: 1px solid var(--line); }
.chip { position: absolute; left: 10px; top: 10px; padding: 3px 8px; background: rgba(4,8,28,.82); color: var(--pale-gold); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.chip--tr { left: auto; right: 16px; top: 14px; color: var(--soft); }

/* screenshots */
.shots { display: grid; gap: 20px; }
.shot { display: flex; flex-direction: column; gap: 10px; }
.shot__img { position: relative; }
.shot__img img { width: 100%; height: auto; border: 1px solid var(--line); }
.shot figcaption { font-size: 14px; color: var(--muted); }
.shot figcaption strong { color: #fff; }
.split { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
.split__txt { display: flex; flex-direction: column; gap: 16px; }
.split__img { display: grid; gap: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chips li { padding: 7px 12px; border: 1px solid #3A4E86; color: var(--soft); font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
html:not([lang="en"]) .chips li { letter-spacing: .02em; font-size: 13.5px; }

/* ranked */
.eyerow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.pill { padding: 4px 10px; border: 1px solid #4A61A0; color: var(--muted); font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tiers li { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 8px 12px; border-top: 3px solid var(--t); background: var(--night); text-align: center; }
.tiers svg { width: 38px; height: 44px; fill: var(--t); }
.tiers .sh { fill: #0A1632; fill-opacity: .22; }
.tiers b { color: var(--t); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.tiers i { color: var(--dim); font-size: 12px; font-style: normal; }
html:not([lang="en"]) .tiers b { letter-spacing: .02em; font-size: 14px; }
.pair { display: grid; gap: 20px 36px; }
.pair h3 { font-size: 18px; line-height: 1.3; margin-bottom: 6px; }

/* sign-up */
.cta { position: relative; padding: clamp(72px, 12vw, 160px) var(--pad); background: var(--night) url(../assets/art-hero-wide.webp) 50% 18% / cover no-repeat; }
.cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--panel) 0%, rgba(4,8,28,.78) 22%, rgba(4,8,28,.86) 70%, var(--night) 100%); }
.cta__in { position: relative; max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.cta .lead { max-width: 500px; color: var(--soft); font-size: 17px; }
.cta .small { max-width: 500px; color: var(--muted); }
.form { display: flex; flex-wrap: wrap; gap: 10px; width: min(100%, 540px); margin-top: 8px; }
.form input { flex: 1 1 220px; min-width: 0; height: 58px; padding: 0 16px; border: 1px solid #5A72B4; border-radius: 0; background: rgba(4,8,28,.85); color: #fff; font: 16px/1 var(--body); }
.form input::placeholder { color: #93A3CC; }
.form input:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
.form .btn { flex: 1 1 180px; }
.form__msg { flex: 1 0 100%; min-height: 24px; font-size: 15px; font-weight: 500; color: var(--pale-gold); }
.form__msg[data-kind="ok"] { color: #6CEDAA; }
.form__msg[data-kind="bad"] { color: #FFB4A8; }

/* questions */
.sec--faq { padding: clamp(40px, 6vw, 72px) var(--pad) clamp(56px, 9vw, 112px); }
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; border-bottom: 1px solid var(--line); }
.faq h2 { margin-bottom: 20px; }
.faq details { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 8px 0; font-size: 17px; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--pale-gold); transition: transform .2s; }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq details p { padding-bottom: 20px; font-size: 15.5px; color: var(--muted); }

/* footer */
.foot { padding: 28px 0 calc(96px + env(safe-area-inset-bottom)); border-top: 1px solid #16234A; background: var(--deep); }
.foot__in { display: flex; flex-direction: column; gap: 18px; }
.foot__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.foot .brand__name { font-size: 26px; }
.foot__lang { display: flex; flex-wrap: wrap; gap: 0 4px; margin: 0 -10px; }
.foot__lang button { min-height: 44px; padding: 0 10px; border: 0; background: none; color: #8CC4FF; font: 15px/1 var(--body); cursor: pointer; }
.foot__lang button:hover, .foot__lang button[aria-current="true"] { color: #fff; }
.foot__lang button[aria-current="true"] { font-weight: 700; }

/* the button that stays at the bottom of a phone's screen between the hero and the sign-up */
.dock { position: fixed; inset: auto 0 0 0; z-index: 20; padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom)); background: rgba(4,8,28,.94); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s; }
.dock[data-on="true"] { transform: none; }
.dock .btn { width: 100%; }

@media (min-width: 760px) {
  :root { --pad: 32px; }
  .hero { height: clamp(560px, 56.25vw, 900px); max-height: none; background-image: url(../assets/art-hero-wide.webp); background-position: 50% 22%; }
  .hero__video { object-position: 50% 22%; }
  .nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
  .nav a { color: #fff; text-decoration: none; }
  .nav a:hover { color: var(--gold); }
  .facts, .rows { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sec--flush > .wrap { padding: 0 var(--pad); }
  .head--pad, .roster { padding: 0; }
  .roster { overflow: visible; }
  .card { flex: 1 1 0; }
  .shots, .pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
  .tiers { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .foot { padding-bottom: 40px; }
  .dock { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dock, .btn, .faq summary .ico { transition: none; }
}
