:root {
  color-scheme: dark;
  --bg: #121315;
  --panel: #1c1e22;
  --soft: #23252b;
  --line: #363840;
  --text: #f4f2f0;
  --muted: #babac3;
  --accent: #ff5262;
  --accent-bg: #ff5262;
  --frame: 1152px;
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid #ffc0c5;
  outline-offset: 4px;
}
button {
  font: inherit;
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
}
.frame {
  width: min(calc(100% - 48px), var(--frame));
  margin-inline: auto;
}
.skip {
  position: fixed;
  z-index: 10;
  inset: 12px auto auto 12px;
  background: var(--accent-bg);
  color: #141417;
  padding: 10px 14px;
}
.skip:not(:focus) {
  width: 1px;
  height: 1px;
  padding: 0;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.top {
  border-bottom: 1px solid #2a2b30;
  background: #151619;
}
.navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 850;
  font-size: 1.27rem;
  white-space: nowrap;
  letter-spacing: -0.045em;
}
.brand img {
  border-radius: 8px;
}
.brand b,
.hero h1 em {
  color: var(--accent);
}
.navigation nav {
  display: flex;
  gap: 2rem;
  color: #ceced4;
  font-size: 0.86rem;
}
.navigation nav a:hover,
.site-footer a:hover {
  color: var(--accent);
}
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 740;
  font-size: 0.88rem;
}
.button.primary {
  color: #201317;
  background: var(--accent-bg);
}
.button.primary:hover {
  background: #ff7481;
}
.button.secondary {
  color: var(--text);
  border-color: #494b55;
  background: #1b1d21;
}
.button.secondary:hover {
  border-color: #b5b5bb;
}
.button[aria-disabled='true'] {
  color: #c2c2cb;
  background: #303138;
  border-color: #464752;
  cursor: default;
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  align-items: center;
  gap: 6%;
  padding-block: clamp(66px, 10vw, 146px) clamp(64px, 9vw, 125px);
}
.hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0 -12px;
  background:
    radial-gradient(ellipse at 78% 49%, #45212a68, transparent 57%),
    radial-gradient(circle, #a39ca32c 1px, transparent 1px) 0 0/22px 22px;
  mask-image: linear-gradient(90deg, transparent, #000 45%, #000 86%, transparent);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 780;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin: 0;
}
.hero h1 {
  font-size: clamp(3.1rem, 7.2vw, 6.6rem);
  line-height: 0.93;
  letter-spacing: -0.077em;
  font-weight: 900;
}
.hero h1 em {
  font-style: normal;
}
.intro {
  max-width: 36rem;
  color: var(--muted);
  line-height: 1.7;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  margin-top: 24px;
}
.actions {
  display: flex;
  gap: 11px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.showcase {
  border: 1px solid #43454e;
  border-radius: 13px;
  overflow: hidden;
  background: #222328;
  box-shadow: 0 25px 85px #08090b70;
}
.showcase figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 19px;
  border-bottom: 1px solid #41424b;
  font-size: 0.84rem;
  color: #e6e5e9;
  font-weight: 700;
}
.fixture {
  display: inline-block;
  color: #ffc4ca;
  background: #40252d;
  border: 1px solid #66414a;
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 0.67rem;
  font-weight: 730;
  letter-spacing: 0.035em;
}
.discord-message {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 19px;
}
.discord-message > img {
  border-radius: 50%;
}
.message-body {
  min-width: 0;
  flex: 1;
}
.bot-line {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.87rem;
  margin: 1px 0 10px;
}
.bot-line span {
  background: #5865f2;
  color: white;
  border-radius: 3px;
  padding: 2px 4px;
  font-size: 0.58rem;
  font-weight: 740;
}
.embed-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px 8px;
  margin-top: 14px;
}
.embed-grid dt {
  font-size: 0.65rem;
  font-weight: 740;
  color: #e2e0e6;
}
.embed-grid dd {
  font-size: 0.8rem;
  margin-top: 3px;
  overflow-wrap: anywhere;
}
.example-switch {
  display: flex;
  gap: 7px;
  margin-top: 10px;
}
.example-switch button,
.flow-options button {
  background: #34363d;
  border: 1px solid #555762;
  color: #eeeef1;
  border-radius: 5px;
  padding: 6px 11px;
  text-align: left;
}
.example-switch button[aria-pressed='true'],
.flow-options button[aria-pressed='true'] {
  border-color: #ff8190;
  background: #48262e;
  color: #ffe4e7;
}
.example-switch button {
  font-size: 0.72rem;
  font-weight: 650;
}
.section {
  padding-block: clamp(52px, 8vw, 103px);
  border-top: 1px solid var(--line);
  scroll-margin-top: 18px;
}
.section-heading {
  max-width: 48rem;
  margin-bottom: 30px;
}
.section-heading h2 {
  font-size: clamp(2rem, 4.4vw, 3.7rem);
  letter-spacing: -0.055em;
  line-height: 1.04;
}
.section-heading .intro {
  margin-top: 14px;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.features article {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: linear-gradient(145deg, #202126, #191a1d);
  padding: 23px;
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid #67414c;
  width: 36px;
  height: 36px;
  background: #34252c;
  color: #ff8592;
  margin-bottom: 18px;
  font-size: 1.2rem;
}
.features h3,
.flow h3 {
  font-size: 1.17rem;
  letter-spacing: -0.025em;
}
.features p,
.flow-panel p,
.commands p,
.legal p,
.legal li {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.66;
  font-size: 0.94rem;
}
.flow {
  display: grid;
  grid-template-columns: minmax(175px, 0.65fr) 1fr;
  gap: 18px;
}
.flow-options {
  display: grid;
  gap: 7px;
}
.flow-options button {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 49px;
  padding: 0 12px;
  font-size: 0.83rem;
  font-weight: 680;
}
.flow-options span {
  color: #ffc6cb;
  font-variant-numeric: tabular-nums;
  font-size: 0.72rem;
}
.flow-panel {
  background: #1b1d21;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 218px;
  padding: 24px;
}
.flow-panel h3 {
  margin-top: 16px;
}
.flow-panel pre,
.commands code {
  color: #ffe5e9;
  background: #2c252c;
  border: 1px solid #4c4351;
  border-radius: 5px;
  font-size: 0.8rem;
}
.flow-panel pre {
  margin: 17px 0 0;
  padding: 10px;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.commands {
  border-top: 1px solid var(--line);
}
.commands > div {
  display: grid;
  grid-template-columns: minmax(160px, 0.6fr) 1.4fr;
  gap: 17px;
  padding-block: 17px;
  border-bottom: 1px solid var(--line);
}
.commands dt {
  font-size: 0.9rem;
  font-weight: 750;
}
.commands code {
  display: inline-block;
  margin: 0 4px 5px 0;
  padding: 4px 6px;
}
.commands p {
  margin-top: 4px;
}
.site-footer {
  background: #191a1d;
  border-top: 1px solid var(--line);
  padding: 31px 0 37px;
  color: var(--muted);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-top nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.86rem;
}
.site-footer .brand {
  color: var(--text);
}
.notice {
  max-width: 52rem;
  font-size: 0.74rem;
  line-height: 1.65;
  margin-top: 20px;
}
.legal {
  width: min(calc(100% - 48px), 740px);
  margin: 58px auto 82px;
}
.legal h1 {
  font-size: clamp(2.35rem, 7vw, 4.2rem);
  letter-spacing: -0.065em;
  line-height: 1.04;
}
.legal h2 {
  margin-top: 27px;
  font-size: 1.18rem;
}
.legal p,
.legal li {
  font-size: 1rem;
}
.legal a:not(.button) {
  text-decoration: underline;
  text-underline-offset: 0.2em;
  color: #ffacb3;
  overflow-wrap: anywhere;
}
.legal .button {
  margin-top: 13px;
}
@media (max-width: 820px) {
  .navigation nav {
    gap: 1rem;
  }
  .hero {
    gap: 4%;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .wide-only {
    display: none;
  }
  .discord-message {
    padding: 14px;
    gap: 9px;
  }
}
@media (max-width: 680px) {
  .frame,
  .legal {
    width: calc(100% - 30px);
  }
  .navigation {
    min-height: 66px;
  }
  .navigation nav {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 54px;
  }
  .hero h1 {
    font-size: clamp(3rem, 13vw, 5rem);
  }
  .hero::before {
    inset: 0;
    background: radial-gradient(ellipse at 78% 75%, #45212a5e, transparent 68%);
  }
  .features {
    grid-template-columns: 1fr;
  }
  .flow {
    grid-template-columns: 1fr;
    gap: 11px;
  }
  .flow-options {
    grid-template-columns: repeat(2, 1fr);
  }
  .flow-options button {
    gap: 7px;
    font-size: 0.76rem;
  }
  .flow-panel {
    padding: 17px;
  }
  .commands > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.site-language {
  border: 1px solid #484a54;
  border-radius: 6px;
  padding: 8px 12px;
  color: #e4e3e9;
  font-size: 0.79rem;
  font-weight: 700;
}

.site-language:hover {
  border-color: var(--accent);
  color: #ffc6cd;
}

/* Match preview and player profile */
:root {
  --bg: #101114;
  --panel: #191b21;
  --frame: 1200px;
}
:where(input, select, summary):focus-visible {
  outline: 2px solid #ffc0c5;
  outline-offset: 4px;
}
.navigation {
  gap: 16px;
}
.navigation nav {
  gap: clamp(9px, 1.5vw, 22px);
  flex-wrap: wrap;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}
.nav-invite {
  white-space: nowrap;
}
.hero {
  isolation: isolate;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 68px);
  padding-block: clamp(58px, 8vw, 105px);
}
.hero::before {
  background:
    radial-gradient(ellipse at 78% 49%, #5625307d, transparent 67%),
    radial-gradient(circle, #a39ca32c 1px, transparent 1px) 0 0 / 23px 23px;
}
.hero h1 {
  font-size: clamp(3.05rem, 6.5vw, 6.2rem);
  letter-spacing: -0.061em;
  font-weight: 870;
  text-wrap: balance;
}
.showcase {
  background: #1e2026;
}
.showcase figcaption {
  padding-block: 12px;
}
.example-switch {
  flex-wrap: wrap;
}
.example-switch button {
  min-height: 34px;
}
.recap {
  --result: #ff8190;
  min-width: 0;
  display: grid;
  gap: 10px;
  border: 1px solid #3d3f48;
  border-inline-start: 3px solid var(--result);
  border-radius: 7px;
  padding: 13px;
  background: #262830;
}
[data-outcome='win'] {
  --result: #66dca1;
}
[data-outcome='loss'] {
  --result: #ff8594;
}
[data-outcome='draw'] {
  --result: #ffc27d;
}
.recap-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 6px;
}
.recap-identity {
  display: grid;
  gap: 3px;
  font-size: 0.84rem;
  overflow-wrap: anywhere;
}
.recap-result {
  color: var(--result);
  font-size: 0.68rem;
  font-weight: 760;
}
.recap-score {
  display: flex;
  align-items: center;
  gap: 16px;
  font-variant-numeric: tabular-nums;
  min-height: 37px;
  margin-block: 1px 3px;
}
.recap-score strong {
  font-size: clamp(1.65rem, 3.55vw, 2.45rem);
  line-height: 1;
  letter-spacing: -0.035em;
}
.recap-rank {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  object-fit: contain;
  transform: scale(1.4);
}
.recap-portrait {
  width: clamp(58px, 7vw, 88px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}
.recap-meta,
.recap-phrase {
  color: #d1d2dd;
  font-size: 0.76rem;
}
.recap-grid {
  border-top: 1px solid #454751;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px 7px;
  padding-top: 10px;
}
.recap-stats {
  display: grid;
  gap: 5px;
}
.recap-grid dt {
  color: #d4d4df;
  font-size: 0.67rem;
  line-height: 1.22;
}
.recap-grid dd {
  font-weight: 770;
  font-size: 0.85rem;
  margin-top: 3px;
  overflow-wrap: anywhere;
}
.recap-map {
  position: relative;
  overflow: hidden;
  aspect-ratio: 5 / 1;
  border-radius: 5px;
  color: #fff;
  background: #432e3a;
}
.recap-map::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #12141ee8, transparent 78%);
}
.recap-map-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.recap-map figcaption {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border: 0;
  color: #fff;
  text-transform: uppercase;
  font-weight: 850;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}
.recap footer {
  color: #ceced7;
  font-size: 0.65rem;
}
.feature-sample {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  min-height: 45px;
  margin-bottom: 15px;
  font-size: 0.8rem;
}
.feature-sample > span:last-child {
  font-variant-numeric: tabular-nums;
  color: #66dca1;
}
.signal {
  width: 8px;
  aspect-ratio: 1;
  background: #66dca1;
  border-radius: 50%;
}
.feature-commands code {
  display: inline-block;
  background: #342831;
  color: #ffe2e7;
  padding: 5px 8px;
  border-radius: 4px;
}
.profile-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-block: 32px 12px;
  flex-wrap: wrap;
}
.profile-heading h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -0.035em;
}
.profile-demo {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 5fr);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--panel);
}
.profile-summary,
.profile-activity {
  padding: clamp(16px, 3vw, 28px);
  min-width: 0;
}
.profile-summary {
  background: radial-gradient(ellipse at top left, #42313f, transparent 75%);
  border-inline-end: 1px solid var(--line);
}
.profile-id {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-block: 19px;
}
.profile-id h3 {
  font-size: clamp(0.88rem, 2.2vw, 1.5rem);
  overflow-wrap: anywhere;
}
.profile-id p {
  color: var(--muted);
}
.profile-rank {
  flex: 0 0 auto;
}
.profile-summary dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.profile-summary dt {
  color: var(--muted);
  font-size: 0.74rem;
}
.profile-summary dd {
  margin-top: 4px;
  font-size: 1.18rem;
  font-weight: 780;
}
.profile-activity h3 {
  font-size: 0.92rem;
}
.profile-activity ul {
  margin: 9px 0 16px;
  padding: 0;
  list-style: none;
}
.profile-recent li {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 7px;
  font-size: 0.8rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.profile-recent [data-outcome] {
  color: var(--result);
}
.profile-agents {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}
.profile-agents li {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
}
.profile-agent {
  border-radius: 7px;
  background: #272831;
}
@media (max-width: 930px) {
  .navigation:has(.nav-actions) {
    flex-wrap: wrap;
    padding-block: 12px;
  }
  .navigation:has(.nav-actions) nav {
    order: 3;
    flex: 1 0 100%;
    display: flex;
    font-size: 0.78rem;
    gap: 10px 16px;
  }
}
@media (max-width: 730px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero h1 {
    font-size: clamp(2.7rem, 11.3vw, 5.4rem);
    text-wrap: initial;
  }
  .profile-demo {
    grid-template-columns: minmax(0, 1fr);
  }
  .profile-summary {
    border-inline-end: 0;
    border-bottom: 1px solid var(--line);
  }
}
@media (max-width: 440px) {
  .navigation .button {
    padding-inline: 8px;
    font-size: 0.74rem;
  }
  .nav-actions {
    gap: 6px;
  }
  .nav-actions .site-language {
    padding-inline: 7px;
  }
  .discord-message {
    gap: 0;
  }
  .discord-message > img {
    display: none;
  }
  .recap-portrait {
    width: 65px;
  }
  .recap-score {
    gap: 12px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .button,
  .navigation a {
    transition:
      background-color 140ms ease,
      color 140ms ease,
      border-color 140ms ease;
  }
  .section-entered {
    animation: enter 400ms ease-out both;
  }
  #landing-preview > .recap {
    animation: enter 190ms ease-out both;
  }
  @keyframes enter {
    from {
      opacity: 0.62;
      transform: translateY(5px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
