/* VALORANT の公式デザインに似せない（Riot の一般ポリシー）。アクセントは「エース」の金色 */
:root {
  --bg: #14171c;
  --surface: #1c2027;
  --surface-2: #242a33;
  --border: #2f3640;
  --text: #e8eaed;
  --muted: #a3abb6;
  --accent: #e8b04b;
  --accent-text: #1a1406;
  --win: #3ba55d;
  --loss: #ed4245;
  --radius: 12px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    system-ui,
    -apple-system,
    'Hiragino Sans',
    'Noto Sans JP',
    'Segoe UI',
    sans-serif;
  line-height: 1.75;
}

a {
  color: var(--accent);
}
a:hover {
  text-decoration-thickness: 2px;
}

.container {
  width: min(960px, 100% - 32px);
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 90%, black);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 14px;
}
.brand {
  color: var(--text);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.brand::before {
  content: '◆ ';
  color: var(--accent);
}
.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  font-size: 0.95rem;
}
.site-header nav a {
  color: var(--muted);
  text-decoration: none;
}
.site-header nav a:hover,
.site-header nav a[aria-current='page'] {
  color: var(--text);
}
.site-header nav .lang {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0 10px;
}

main {
  padding-block: 40px 64px;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1.3;
  margin: 0 0 16px;
}
h2 {
  font-size: 1.4rem;
  margin: 48px 0 16px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
h3 {
  font-size: 1.1rem;
  margin: 28px 0 8px;
}
p,
ul,
ol {
  margin: 0 0 14px;
}
li + li {
  margin-top: 4px;
}
code {
  background: var(--surface-2);
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 0.92em;
}

.hero {
  padding-block: 24px 8px;
}
.hero .lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 40em;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.button {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--border);
  color: var(--text);
}
.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-text);
}
.button[aria-disabled='true'] {
  opacity: 0.6;
  cursor: not-allowed;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.card h3 {
  margin-top: 0;
}
.card p:last-child {
  margin-bottom: 0;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 44px;
  margin-bottom: 14px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 800;
  display: grid;
  place-items: center;
}

/* Discord の埋め込みの見本（画像の代わり） */
.embed {
  background: #2b2d31;
  border-left: 4px solid #5865f2;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 0.92rem;
  max-width: 640px;
  overflow-x: auto;
}
.embed .embed-title {
  font-weight: 700;
  margin-bottom: 6px;
}
.embed p {
  margin: 0 0 4px;
  white-space: nowrap;
}
.embed .embed-footer {
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 8px;
}
.win {
  color: var(--win);
}
.loss {
  color: var(--loss);
}

.table-wrap {
  overflow-x: auto;
  margin-bottom: 16px;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.95rem;
}
th,
td {
  border: 1px solid var(--border);
  padding: 8px 12px;
  text-align: left;
  vertical-align: top;
}
th {
  background: var(--surface);
  white-space: nowrap;
}

.notice {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
}

dl.faq dt {
  font-weight: 700;
  margin-top: 16px;
}
dl.faq dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.legal-doc h2 {
  font-size: 1.15rem;
  margin-top: 36px;
}
.legal-doc .meta {
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 28px 40px;
  color: var(--muted);
  font-size: 0.85rem;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin-bottom: 16px;
}
.site-footer nav a {
  color: var(--muted);
}
.legal p {
  margin-bottom: 8px;
}
.small {
  font-size: 0.8rem;
  color: var(--muted);
}
