:root {
  color-scheme: dark;
  --bg: #110d19;
  --panel: #1b1427;
  --text: #f7efff;
  --muted: #c8b9d5;
  --accent: #dab2ff;
  --line: #413350;
  font-family: system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(ellipse 85% 32rem at 50% 14rem, #422458, transparent), var(--bg);
  line-height: 1.6;
}
a { color: inherit; }
.shell { width: min(100% - 2.5rem, 66rem); margin-inline: auto; }
.top { border-bottom: 1px solid var(--line); background: #110d19; }
nav, .links, footer { display: flex; align-items: center; gap: 1.4rem; }
nav, footer { justify-content: space-between; padding-block: 1rem; }
nav a { text-decoration: none; }
nav a:hover, nav a:focus-visible { color: var(--accent); text-decoration: underline; }
footer strong { letter-spacing: .2em; font-weight: 850; }
.brand { display: block; flex-shrink: 0; letter-spacing: .2em; font-weight: 850; }

.links { flex-wrap: wrap; gap: .35rem 1.3rem; font-size: .95rem; color: var(--muted); }
.hero { text-align: center; padding-block: clamp(3rem, 7vw, 6rem) clamp(4rem, 8vw, 7rem); }
h1 { margin: 0; }
h1 img { display: block; width: min(100%, 52rem); height: auto; margin-inline: auto; }
.hero p { max-width: 35rem; margin: 0 auto 1.6rem; font-size: clamp(1rem, 2vw, 1.2rem); }
.button {
  display: inline-block; border: 0; border-radius: .55rem; padding: .8rem 1.2rem;
  color: #20102e; background: var(--accent); font: inherit; font-weight: 750;
  text-decoration: none; cursor: pointer;
}
.button:hover { background: #eddaff; }
:focus-visible { outline: 3px solid #f8e3ff; outline-offset: 4px; }
.section { border-top: 1px solid var(--line); padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.intro, .recruit { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4rem; align-items: start; }
.label { letter-spacing: .14em; color: var(--accent); font-size: .875rem; font-weight: 750; margin: 0 0 .45rem; }
h2, h3 { margin: 0; line-height: 1.15; }
h2 { font-size: clamp(1.9rem, 5vw, 3.3rem); letter-spacing: -.045em; }
h3 { font-size: 1.22rem; }
p { color: var(--muted); }
.intro > p { margin: .65rem 0 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.6rem; }
article, form { background: var(--panel); border: 1px solid var(--line); border-radius: .85rem; padding: 1.4rem; }
article p { margin-bottom: 0; }
.mark { display: block; color: var(--accent); font-size: 1.6rem; margin-bottom: .6rem; }
form { display: grid; gap: .65rem; }
form label { font-weight: 650; }
input, select {
  width: 100%; border: 1px solid #705985; border-radius: .4rem; background: var(--bg);
  color: var(--text); font: inherit; padding: .6rem .75rem; margin-bottom: .35rem;
}
select { appearance: none; padding-right: 2rem; background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%); background-position: calc(100% - 16px) 52%, calc(100% - 11px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
#confirmation { margin: 0; color: var(--accent); }
#confirmation:empty { display: none; }
footer { border-top: 1px solid var(--line); flex-wrap: wrap; color: var(--muted); }
@media (max-width: 42rem) {
  .intro, .recruit, .cards { grid-template-columns: 1fr; }

}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.discord-button {
  background: var(--panel);
  color: var(--accent);
  box-shadow: inset 0 0 0 1px #80649a;
  margin: .35rem .2rem 0;
}
.discord-button:hover { background: #38234c; }
.links [aria-current="page"] { color: var(--accent); text-decoration: underline; }
.nature-page { padding-block: clamp(2.75rem, 7vw, 5.5rem); }
.nature-page h1 { font-size: clamp(2.75rem, 8vw, 5rem); line-height: 1; letter-spacing: -.055em; }
.nature-page p { max-width: 49rem; }
.nature-table {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: .85rem;
  margin-top: 1.4rem;
  background: var(--panel);
}
.nature-table table { width: 100%; min-width: 40rem; border-collapse: separate; border-spacing: 0; }
.nature-table th, .nature-table td {
  padding: .85rem .7rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.nature-table th { background: #2d1d40; color: var(--accent); }
.nature-table tr > :first-child { position: sticky; left: 0; white-space: nowrap; }
.nature-table tbody tr:last-child > * { border-bottom: 0; }
.nature-table .neutral { background: #432652; color: #fae6ff; font-weight: 700; }
.nature-table small { display: block; color: #ebc4fc; font-size: .875rem; }
.mobile-hint { display: none; }
@media (max-width: 42.5rem) {
  .mobile-hint { display: block; }
}

form .button:disabled { opacity: .55; cursor: not-allowed; }
