:root {
  color-scheme: dark;
  --bg: #101114;
  --panel: #17191e;
  --panel-soft: #1d2026;
  --line: #2b2e35;
  --text: #f2f2f4;
  --muted: #a4a8b2;
  --red: #ef4c42;
  --red-dark: #b82c2c;
  --gold: #e6ba68;
  --green: #6fd2a1;
  --radius: 16px;
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(ellipse at 75% 12%, rgba(93, 39, 41, .19), transparent 38rem),
    linear-gradient(180deg, #111216 0%, #101114 48%, #121317 100%);
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.site-header, main, .site-footer { width: min(1160px, calc(100% - 44px)); margin: 0 auto; }
.site-header {
  height: 102px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.075);
  gap: 24px;
}
.brand { display: block; width: 173px; height: 78px; overflow: hidden; border-radius: 7px; flex: 0 0 auto; }
.brand img { display: block; width: 100%; height: 100%; object-fit: cover; }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 4vw, 48px); margin-left: auto; margin-right: 22px; }
.main-nav a, .header-cta { color: #d0d1d5; font-size: 13px; font-weight: 700; transition: color .2s ease; }
.main-nav a:hover, .back-top:hover { color: var(--gold); }
.header-cta { border: 1px solid #494044; border-radius: 8px; padding: 12px 17px; color: #fff; background: rgba(239,76,66,.09); white-space: nowrap; }
.header-cta span { margin-left: 7px; color: var(--gold); }
.hero {
  min-height: 456px;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  align-items: stretch;
  margin-top: 29px;
  overflow: hidden;
  border: 1px solid #303138;
  border-radius: 20px;
  background: linear-gradient(117deg, #17191e 0%, #17191e 42%, #121318 100%);
  box-shadow: 0 24px 65px rgba(0,0,0,.3);
}
.hero-copy { padding: clamp(32px, 5.4vw, 66px) 16px clamp(34px, 5vw, 56px) clamp(30px, 5vw, 60px); position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 17px; color: var(--gold); letter-spacing: .16em; font-size: 10px; font-weight: 800; }
.eyebrow-line { width: 21px; height: 2px; background: var(--red); display: inline-block; }
.eyebrow-dot { color: #6b6c73; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: 'Arial Narrow', 'Segoe UI', sans-serif; letter-spacing: -.015em; }
h1 { max-width: 520px; margin-bottom: 15px; font-size: clamp(48px, 6.1vw, 73px); line-height: .97; font-weight: 700; }
h1 span, .account-intro h2 span { color: #e8e9ec; }
.hero-lede { max-width: 390px; margin: 0; color: #b6b9c1; font-size: 14px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 27px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 8px; padding: 0 18px; font-size: 12px; font-weight: 800; cursor: pointer; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: linear-gradient(120deg, #bd3032, #e64e43 58%, #bc3235); box-shadow: 0 9px 25px rgba(211,55,54,.2); }
.button-primary:hover { background: linear-gradient(120deg, #ca3938, #f15b4d 58%, #c63b3d); }
.button-disabled { cursor: not-allowed; opacity: .78; }
.button-disabled:hover { transform: none; }
.button-icon { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid rgba(255,255,255,.36); border-radius: 50%; font-size: 18px; line-height: 1; }
.button-quiet { border-color: #44464d; color: #e5e5e7; background: rgba(255,255,255,.025); }
.button-quiet:hover { border-color: #777981; }
.hero-note { display: flex; align-items: center; gap: 9px; margin-top: 27px; color: #8f939d; font-size: 11px; }
.status-dot { width: 7px; height: 7px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 11px rgba(230,186,104,.35); }
.hero-art { min-height: 456px; position: relative; background: #101114 url('/assets/kurtavi-hero.png') center 39% / cover no-repeat; }
.hero-art::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #17191e 0%, rgba(23,25,30,.28) 23%, rgba(12,13,16,.02) 52%, rgba(12,13,16,.35) 100%), linear-gradient(0deg, rgba(10,11,14,.83), transparent 43%); }
.art-shade { position: absolute; inset: 0; background: radial-gradient(ellipse at 63% 50%, transparent 18%, rgba(5,6,8,.2) 78%); }
.art-caption { position: absolute; left: 34px; right: 34px; bottom: 30px; display: flex; justify-content: space-between; align-items: end; gap: 12px; color: rgba(255,255,255,.68); font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.art-caption b { color: var(--gold); font-size: 10px; }
.join-strip { display: grid; grid-template-columns: 1.1fr repeat(3, 1fr); align-items: center; margin: 18px 0 76px; padding: 19px 24px; border: 1px solid var(--line); border-radius: 12px; background: #15171b; }
.join-heading .eyebrow { margin-bottom: 5px; font-size: 9px; }
.join-heading h2 { margin: 0; font-size: 24px; font-weight: 600; }
.join-step { min-height: 51px; display: flex; align-items: center; gap: 13px; padding: 5px 13px; border-left: 1px solid #30333a; }
.join-step > span { color: var(--red); font-family: 'Arial Narrow', 'Segoe UI', sans-serif; font-size: 23px; font-weight: 700; }
.join-step b, .join-step small { display: block; }
.join-step b { color: #e6e7ea; font-size: 11px; }
.join-step small { margin-top: 4px; color: #848893; font-size: 9px; line-height: 1.5; }
.account-section { display: grid; grid-template-columns: 1fr minmax(330px, .8fr); gap: clamp(38px, 9vw, 120px); align-items: center; padding: 0 0 86px; scroll-margin-top: 28px; }
.account-intro { max-width: 470px; }
.account-intro .eyebrow { margin-bottom: 20px; }
.account-intro h2 { margin-bottom: 16px; font-size: clamp(39px, 4.5vw, 54px); line-height: 1.02; }
.account-intro > p:not(.eyebrow) { max-width: 420px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.account-points { display: grid; gap: 13px; margin-top: 26px; }
.account-points > div { display: flex; align-items: center; gap: 10px; color: #c3c5cb; font-size: 12px; }
.point-mark { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #fff; background: rgba(111,210,161,.13); font-size: 11px; }
.discord-card { max-width: 390px; min-height: 66px; display: flex; align-items: center; gap: 12px; margin-top: 31px; padding: 12px 15px; border: 1px solid #34373e; border-radius: 10px; background: rgba(255,255,255,.025); transition: border-color .2s ease, background .2s ease; }
a.discord-card:hover { border-color: #5f6170; background: rgba(255,255,255,.05); }
.discord-glyph { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: #e9eaff; background: #5865f2; font-size: 21px; }
.discord-card b, .discord-card small { display: block; }
.discord-card b { font-size: 11px; }
.discord-card small { margin-top: 4px; color: #9195a0; font-size: 10px; }
.discord-arrow { margin-left: auto; color: var(--gold); font-size: 17px; }
.discord-pending { opacity: .68; }
.register-card { padding: clamp(23px, 4vw, 34px); border: 1px solid #393c44; border-radius: 14px; background: linear-gradient(150deg, #1a1c22, #14161a); box-shadow: 0 22px 55px rgba(0,0,0,.25); }
.form-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.form-heading .eyebrow { margin-bottom: 5px; font-size: 9px; }
.form-heading h3 { margin: 0; font-size: 29px; line-height: 1; }
.form-shield { width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid #583838; border-radius: 11px; color: #f27b66; background: rgba(219,67,58,.1); }
.field-label { display: block; margin: 16px 0 7px; color: #c7c9ce; font-size: 11px; font-weight: 700; }
.field-input { width: 100%; height: 45px; border: 1px solid #373b43; border-radius: 7px; outline: 0; padding: 0 12px; color: #f4f4f5; background: #111318; font-size: 12px; transition: border-color .18s ease, box-shadow .18s ease; }
.field-input::placeholder { color: #6d727d; }
.field-input:focus { border-color: #c94843; box-shadow: 0 0 0 3px rgba(239,76,66,.12); }
.terms-check { display: flex; align-items: flex-start; gap: 9px; margin: 17px 0; color: #a9adb6; font-size: 10px; line-height: 1.6; }
.terms-check input { margin: 2px 0 0; accent-color: var(--red); }
.field-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.register-submit { width: 100%; min-height: 47px; justify-content: space-between; padding: 0 15px 0 18px; }
.register-submit:disabled { cursor: wait; opacity: .72; transform: none; }
.form-status { min-height: 19px; margin: 11px 0 0; font-size: 11px; line-height: 1.55; }
.form-status.is-success { color: var(--green); }
.form-status.is-error { color: #ff8a83; }
.form-footnote { margin: 3px 0 0; color: #777c87; font-size: 9px; line-height: 1.6; }
.site-footer { min-height: 83px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid rgba(255,255,255,.08); color: #80848e; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: #b6b8be; font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.footer-brand img { width: 64px; height: 36px; object-fit: cover; border-radius: 4px; }
.footer-brand i { color: var(--red); font-style: normal; }
.site-footer p, .back-top { margin: 0; font-size: 10px; }
.back-top { color: #b1b4bb; white-space: nowrap; }

@media (max-width: 840px) {
  .site-header, main, .site-footer { width: min(100% - 32px, 680px); }
  .site-header { height: 83px; }
  .brand { width: 139px; height: 63px; }
  .main-nav { gap: 17px; margin-right: 0; }
  .main-nav a { font-size: 11px; }
  .header-cta { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 38px 34px 25px; }
  .hero-art { min-height: 310px; background-position: center 33%; }
  .hero-art::before { background: linear-gradient(0deg, rgba(10,11,14,.84), transparent 60%); }
  .join-strip { grid-template-columns: 1fr; gap: 13px; padding: 21px; margin-bottom: 60px; }
  .join-heading { padding-bottom: 8px; }
  .join-step { border-left: 0; border-top: 1px solid #30333a; padding: 12px 0 0; }
  .account-section { grid-template-columns: 1fr; gap: 31px; }
  .account-intro { max-width: none; }
  .register-card { max-width: 540px; width: 100%; }
}
@media (max-width: 520px) {
  .site-header, main, .site-footer { width: calc(100% - 24px); }
  .site-header { height: 72px; gap: 10px; }
  .brand { width: 113px; height: 51px; }
  .main-nav { gap: 11px; }
  .main-nav a { font-size: 9px; }
  .hero { margin-top: 13px; border-radius: 14px; }
  .hero-copy { padding: 31px 22px 22px; }
  h1 { font-size: 54px; }
  .hero-lede { font-size: 12px; }
  .hero-actions { display: grid; }
  .button { min-height: 45px; }
  .hero-art { min-height: 255px; }
  .art-caption { left: 19px; right: 19px; bottom: 18px; font-size: 8px; }
  .art-caption b { font-size: 8px; }
  .join-strip { margin-top: 12px; padding: 17px; }
  .account-section { padding-bottom: 54px; }
  .register-card { padding: 21px 17px; }
  .site-footer { min-height: 94px; flex-wrap: wrap; justify-content: space-between; padding: 15px 0; }
  .site-footer p { order: 3; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
