:root {
  color-scheme: dark;
  --bg: #070809;
  --black: #040405;
  --panel: #111315;
  --panel-2: #191a1b;
  --gold: #c29342;
  --gold-bright: #f1d18a;
  --gold-dark: #5d3d18;
  --text: #ebddc0;
  --soft: #bdad91;
  --muted: #897b67;
  --line: rgba(214, 157, 63, 0.46);
  --line-soft: rgba(214, 157, 63, 0.22);
  --green: #75dc72;
  --red: #d5685b;
  --blue: #113e8e;
  --serif: "Noto Serif KR", "Nanum Myeongjo", Georgia, serif;
  --sans: "Noto Sans KR", "Malgun Gothic", "Segoe UI", system-ui, sans-serif;
  --shadow-heavy: 0 22px 60px rgba(0, 0, 0, 0.68);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--black);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, #0a0b0c 0, #070809 58%, #030303 100%);
  color: var(--text);
  font-family: var(--sans);
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    radial-gradient(circle at 50% 0, rgba(189, 126, 38, 0.14), transparent 42%);
  background-size: 54px 54px, 54px 54px, auto;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.86), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.86)),
    linear-gradient(180deg, transparent 0, rgba(0, 0, 0, 0.6) 58%, #030303 100%);
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.shell {
  width: min(1420px, calc(100vw - 64px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 90px;
  border-bottom: 1px solid rgba(210, 149, 55, 0.65);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.35), transparent 12%, transparent 88%, rgba(0, 0, 0, 0.35)),
    linear-gradient(180deg, rgba(31, 32, 34, 0.98), rgba(10, 11, 12, 0.99));
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.68),
    inset 0 -1px 0 rgba(0, 0, 0, 0.95);
}

.site-header::before,
.site-header::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 86px;
  pointer-events: none;
  opacity: 0.46;
  background:
    linear-gradient(135deg, transparent 10%, rgba(223, 174, 83, 0.28) 11%, transparent 18% 80%, rgba(223, 174, 83, 0.24) 81%, transparent 90%),
    linear-gradient(180deg, rgba(245, 211, 124, 0.1), transparent 28% 72%, rgba(245, 211, 124, 0.1));
}

.site-header::before {
  left: 0;
  border-right: 1px solid rgba(207, 151, 63, 0.18);
}

.site-header::after {
  right: 0;
  transform: scaleX(-1);
  border-left: 1px solid rgba(207, 151, 63, 0.18);
}

.site-title.shell {
  width: min(1610px, calc(100vw - 32px));
  height: 100%;
  display: grid;
  grid-template-columns: 560px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
}

.brand {
  gap: 18px;
}

.brand-mark {
  position: relative;
  width: 76px;
  height: 76px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 2px solid rgba(218, 172, 82, 0.78);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(250, 220, 133, 0.2) 0 22%, transparent 23%),
    radial-gradient(circle, #282a2b 0, #090909 68%);
  color: #f2cd78;
  font-size: 30px;
  box-shadow:
    inset 0 0 0 3px rgba(0, 0, 0, 0.82),
    inset 0 0 32px rgba(227, 171, 71, 0.18),
    0 0 22px rgba(0, 0, 0, 0.7);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: -6px 34px;
  border-top: 15px solid rgba(232, 185, 86, 0.68);
  border-bottom: 15px solid rgba(232, 185, 86, 0.68);
  opacity: 0.58;
}

.brand-mark::after {
  transform: rotate(90deg);
}

.brand-mark.small {
  width: 54px;
  height: 54px;
  font-size: 21px;
}

.brand span:last-child,
.footer-brand span:last-child {
  display: grid;
  gap: 4px;
}

.brand strong,
.footer-brand strong {
  color: #efd28e;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 900;
  line-height: 0.98;
  text-shadow:
    0 2px 0 #2c1908,
    0 0 16px rgba(211, 152, 55, 0.24);
}

.brand small,
.footer-brand small {
  color: #b9aa91;
  font-family: var(--serif);
  font-size: 14px;
}

.primary-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
}

.primary-nav a,
.link-button {
  position: relative;
  min-height: 90px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  color: #c9bea8;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.7);
}

.primary-nav a i,
.link-button i {
  color: #bba06a;
  font-size: 18px;
}

.primary-nav a.active,
.primary-nav a:hover,
.link-button:hover {
  color: var(--gold-bright);
}

.primary-nav a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 54px;
  height: 3px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, #ffd877, transparent);
  box-shadow: 0 0 20px rgba(255, 216, 119, 0.82);
}

.primary-nav form {
  margin: 0;
}

main {
  min-height: 0;
}

.home-hero {
  position: relative;
  min-height: 466px;
  overflow: hidden;
  border-bottom: 1px solid rgba(219, 160, 63, 0.44);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.64) 0, rgba(0, 0, 0, 0.26) 30%, rgba(0, 0, 0, 0.08) 63%, rgba(0, 0, 0, 0.64) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0, rgba(0, 0, 0, 0.16) 54%, rgba(0, 0, 0, 0.82) 100%),
    url("../img/layzner-reborn-hero.png") center 52% / cover no-repeat;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 45% 28%, rgba(238, 178, 82, 0.24), transparent 24%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.75) 0, transparent 19%, transparent 70%, rgba(0, 0, 0, 0.48) 100%);
  mix-blend-mode: multiply;
  opacity: 0.86;
}

.home-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 104px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(4, 4, 4, 0.96));
}

.hero-inner.shell {
  position: relative;
  z-index: 2;
  width: min(1520px, calc(100vw - 64px));
  min-height: 466px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 318px;
  align-items: center;
  gap: 58px;
}

.hero-copy {
  width: min(640px, 100%);
  justify-self: center;
  transform: translateX(90px);
  margin-top: 2px;
  text-align: center;
}

.hero-copy h1 {
  margin: 0;
  color: rgba(255, 250, 234, 0.97);
  font-family: var(--serif);
  font-size: clamp(64px, 5.35vw, 88px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0;
  text-shadow:
    0 2px 0 #4d3824,
    0 8px 18px rgba(0, 0, 0, 0.9),
    0 0 24px rgba(255, 236, 176, 0.18);
}

.ornament {
  position: relative;
  width: min(520px, 86%);
  height: 26px;
  margin: 12px auto 12px;
}

.ornament::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(235, 190, 96, 0.82), transparent);
}

.ornament::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 15px;
  height: 15px;
  border: 1px solid rgba(235, 190, 96, 0.86);
  transform: translate(-50%, -50%) rotate(45deg);
  background: rgba(8, 8, 8, 0.74);
  box-shadow: 0 0 0 4px rgba(235, 190, 96, 0.1);
}

.hero-copy p {
  margin: 0;
  color: #f0e5d2;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  text-shadow: 0 2px 11px rgba(0, 0, 0, 0.92);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}

.hero-launch {
  position: relative;
  margin: 0;
}

.hero-button {
  position: relative;
  min-width: 222px;
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 0 30px;
  border: 2px solid rgba(239, 188, 75, 0.86);
  color: #ffeab0;
  text-decoration: none;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 900;
  box-shadow:
    inset 0 0 0 2px rgba(0, 0, 0, 0.58),
    inset 0 12px 24px rgba(255, 219, 113, 0.14),
    0 12px 28px rgba(0, 0, 0, 0.56);
}

.hero-button.primary {
  background: linear-gradient(180deg, #b77518 0, #6f3a08 58%, #2b1603 100%);
}

.hero-button.discord {
  border-color: rgba(81, 138, 224, 0.94);
  background: linear-gradient(180deg, #1c58a9 0, #113170 60%, #071431 100%);
}

.hero-button::before,
.hero-button::after {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: rgba(255, 232, 176, 0.42);
}

.hero-button::before {
  left: 9px;
}

.hero-button::after {
  right: 9px;
}

.hero-button:hover {
  filter: brightness(1.1);
}

.hero-button:disabled {
  opacity: 0.72;
  cursor: wait;
  filter: saturate(0.7);
}

.hero-status {
  position: relative;
  width: 318px;
  align-self: center;
  padding: 14px 24px 11px;
  transform: translateY(-18px);
  border: 1px solid rgba(226, 173, 75, 0.76);
  background:
    linear-gradient(180deg, rgba(25, 27, 29, 0.94), rgba(10, 11, 12, 0.97)),
    var(--panel);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.9),
    inset 0 0 46px rgba(219, 158, 55, 0.06),
    0 20px 58px rgba(0, 0, 0, 0.68);
}

.hero-status::before,
.hero-status::after,
.board::before,
.board::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  pointer-events: none;
  border-color: rgba(238, 191, 91, 0.9);
}

.hero-status::before,
.board::before {
  top: -3px;
  left: -3px;
  border-top: 2px solid;
  border-left: 2px solid;
}

.hero-status::after,
.board::after {
  right: -3px;
  bottom: -3px;
  border-right: 2px solid;
  border-bottom: 2px solid;
}

.status-heading {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-bottom: 1px solid rgba(224, 167, 68, 0.25);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
}

.status-heading strong {
  color: var(--green);
  font-size: 19px;
  letter-spacing: 0.02em;
}

.status-heading strong.offline {
  color: var(--red);
}

.state-dot {
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 11px rgba(213, 104, 91, 0.86);
}

.state-dot.online {
  background: var(--green);
  box-shadow: 0 0 12px rgba(117, 220, 114, 0.92);
}

.status-row {
  display: grid;
  grid-template-columns: 47px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
  min-height: 69px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(224, 167, 68, 0.25);
}

.status-row > i {
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(180deg, #2d3033, #151719);
  color: #e5bc67;
  font-size: 22px;
  box-shadow:
    inset 0 0 0 1px rgba(239, 204, 134, 0.12),
    0 8px 16px rgba(0, 0, 0, 0.24);
}

.status-row span {
  display: block;
  margin-bottom: 4px;
  color: #c1b298;
  font-size: 13px;
  font-weight: 900;
}

.status-row strong {
  color: #78d76e;
  font-family: var(--serif);
  font-size: 29px;
  line-height: 1;
}

.status-row em {
  margin-left: 6px;
  color: #b4a58d;
  font-style: normal;
  font-size: 18px;
}

.status-row p {
  margin: 0;
  color: #d9c49e;
  font-size: 12px;
  line-height: 1.48;
}

.status-link {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #e6c479;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}

.feature-strip {
  position: relative;
  z-index: 5;
  width: min(1264px, calc(100vw - 120px));
  min-height: 96px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: -78px;
  border: 1px solid rgba(220, 167, 73, 0.56);
  background:
    linear-gradient(180deg, rgba(32, 34, 36, 0.98), rgba(13, 14, 15, 0.99)),
    #111214;
  box-shadow: var(--shadow-heavy);
}

.feature-strip article {
  min-height: 96px;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 15px 26px;
  border-right: 1px solid rgba(220, 167, 73, 0.25);
}

.feature-strip article:last-child {
  border-right: 0;
}

.feature-strip i {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  color: #e0b35c;
  font-size: 32px;
  text-shadow: 0 0 18px rgba(217, 158, 60, 0.28);
}

.feature-strip strong {
  display: block;
  color: #f1d490;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.25;
}

.feature-strip span {
  display: block;
  margin-top: 5px;
  color: var(--soft);
  font-size: 12px;
  line-height: 1.45;
}

.dashboard {
  position: relative;
  z-index: 4;
  width: min(1420px, calc(100vw - 120px));
  display: grid;
  grid-template-columns: minmax(390px, 1.32fr) minmax(220px, 0.72fr) minmax(244px, 0.8fr) minmax(350px, 1.08fr);
  margin-top: 5px;
  margin-bottom: 0;
  border-left: 1px solid rgba(220, 167, 73, 0.44);
  border-right: 1px solid rgba(220, 167, 73, 0.44);
}

.board {
  position: relative;
  min-height: 264px;
  max-height: 264px;
  overflow: hidden;
  padding: 0 18px 12px;
  border-top: 1px solid rgba(220, 167, 73, 0.56);
  border-bottom: 1px solid rgba(220, 167, 73, 0.42);
  border-right: 1px solid rgba(220, 167, 73, 0.32);
  background:
    linear-gradient(180deg, rgba(19, 21, 23, 0.98), rgba(8, 9, 10, 0.98)),
    var(--panel);
}

.board:last-child {
  border-right: 0;
}

.board header {
  min-height: 43px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(220, 167, 73, 0.2);
}

.board h2 {
  margin: 0;
  color: #f1d490;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1;
}

.board header a {
  color: #bca779;
  font-size: 12px;
  text-decoration: none;
}

.news-item {
  min-height: 70px;
  display: grid;
  grid-template-columns: 146px minmax(0, 1fr);
  gap: 13px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(214, 178, 103, 0.12);
}

.news-item:last-child {
  border-bottom: 0;
}

.thumb {
  position: relative;
  min-height: 61px;
  border: 1px solid rgba(222, 176, 81, 0.28);
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.34)),
    url("../img/layzner-reborn-hero.png");
  background-size: 360px auto;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.58);
}

.thumb-battle {
  background-position: 72% 32%;
}

.thumb-tavern {
  background-position: 57% 78%;
}

.thumb-scroll {
  background-position: 40% 80%;
}

.thumb b {
  position: absolute;
  top: 6px;
  left: -8px;
  padding: 2px 8px;
  transform: rotate(-34deg);
  background: #a3201d;
  color: #fff6df;
  font-size: 10px;
  line-height: 1.2;
}

.news-item h3 {
  margin: 0 0 3px;
  color: #e9d7ae;
  font-size: 13px;
  line-height: 1.3;
}

.news-item time {
  display: block;
  color: #776a57;
  font-size: 11px;
}

.news-item p {
  margin: 4px 0 0;
  color: #9c907c;
  font-size: 12px;
  line-height: 1.35;
}

.rank-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 10px 0 0;
  list-style: none;
}

.rank-list li {
  min-height: 40px;
  display: grid;
  grid-template-columns: 41px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid rgba(214, 178, 103, 0.1);
}

.rank {
  display: inline-grid;
  place-items: center;
  width: 29px;
  height: 29px;
  color: #d7b064;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 900;
}

.rank.crown,
.rank.silver,
.rank.bronze {
  border-radius: 50%;
  color: #111;
  background: linear-gradient(180deg, #ffd46d, #ad761c);
}

.rank.silver {
  background: linear-gradient(180deg, #ededed, #7c7f88);
}

.rank.bronze {
  background: linear-gradient(180deg, #d78545, #7b3a18);
}

.rank-list strong {
  min-width: 0;
  overflow: hidden;
  color: #e2d1aa;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-list em {
  color: #e5c579;
  font-style: normal;
  font-size: 13px;
}

.post-list {
  margin: 0;
  padding: 9px 0 0;
  list-style: none;
}

.post-list li {
  min-height: 50px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(214, 178, 103, 0.1);
}

.avatar {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(238, 190, 91, 0.42);
  border-radius: 50%;
  background: linear-gradient(180deg, #69432b, #171819);
  color: #f2d58c;
  font-family: var(--serif);
  font-weight: 900;
}

.avatar.alt {
  background: linear-gradient(180deg, #2f6170, #16191b);
}

.avatar.fire {
  background: linear-gradient(180deg, #853d26, #171819);
}

.post-list b {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: #e5d6b6;
  font-size: 12px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.post-list small {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: #8f826e;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

mark {
  margin-right: 5px;
  padding: 1px 6px;
  border-radius: 2px;
  background: #274d73;
  color: #d8ecff;
}

.post-list em {
  color: #d4bc82;
  font-style: normal;
  font-size: 12px;
}

.site-footer {
  min-height: 98px;
  border-top: 1px solid rgba(220, 167, 73, 0.4);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.74), transparent 30%, transparent 70%, rgba(0, 0, 0, 0.74)),
    linear-gradient(180deg, rgba(19, 20, 21, 0.97), rgba(4, 5, 5, 0.99));
  color: var(--muted);
}

.footer-inner {
  min-height: 98px;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(360px, auto) minmax(210px, 1fr);
  grid-template-areas:
    "brand links socials"
    "brand copy status";
  align-items: center;
  column-gap: 26px;
  row-gap: 4px;
  padding: 10px 0;
}

.footer-brand {
  grid-area: brand;
  gap: 14px;
}

.footer-brand strong {
  font-size: 24px;
}

.footer-brand small {
  font-size: 12px;
}

.footer-links {
  grid-area: links;
  display: flex;
  justify-content: center;
  gap: 25px;
  color: #9e917a;
  font-size: 12px;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gold-bright);
}

.site-footer p {
  grid-area: copy;
  margin: 0;
  text-align: center;
  color: #8f806b;
  font-size: 12px;
}

.footer-socials {
  grid-area: socials;
  justify-self: end;
  display: flex;
  gap: 13px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(220, 167, 73, 0.32);
  border-radius: 50%;
  color: #bba06a;
  text-decoration: none;
  background: rgba(8, 9, 10, 0.45);
}

.footer-socials a:hover {
  color: var(--gold-bright);
  border-color: rgba(240, 207, 120, 0.58);
}

.site-footer span {
  grid-area: status;
  justify-self: end;
  color: #8f806b;
  font-size: 12px;
}

.auth-shell,
.download-page,
.account-page,
.play-grid {
  width: min(920px, calc(100vw - 36px));
  margin: 0 auto;
  padding: 76px 0;
}

.auth-shell {
  min-height: calc(100svh - 90px);
  display: grid;
  place-items: center;
}

.auth-card,
.download-card,
.account-card,
.play-grid .status-panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(24, 26, 28, 0.96), rgba(10, 11, 12, 0.98));
  box-shadow: var(--shadow-heavy);
}

.auth-card,
.download-card,
.account-card {
  padding: 30px;
}

.auth-card {
  width: min(620px, 100%);
  display: grid;
  gap: 14px;
}

.eyebrow,
.muted,
.field-help {
  color: var(--soft);
}

.auth-card h1,
.download-page h1,
.account-page h1,
.play-grid h1 {
  margin: 0 0 18px;
  color: #f1d490;
  font-family: var(--serif);
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1.08;
}

.play-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 34px;
  align-items: center;
}

.lead {
  color: #d7c8a8;
  line-height: 1.7;
}

label {
  display: grid;
  gap: 8px;
  color: #d7c8a8;
  font-weight: 800;
}

input {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(220, 167, 73, 0.28);
  background: #080909;
  color: var(--text);
  padding: 0 12px;
}

input:focus {
  outline: 2px solid rgba(240, 207, 120, 0.42);
  outline-offset: 2px;
}

.primary-action,
.secondary-action {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid rgba(220, 167, 73, 0.62);
  background: linear-gradient(180deg, #b77518, #5f3207);
  color: #ffe7aa;
  text-decoration: none;
  cursor: pointer;
  font-weight: 900;
}

.primary-action.full {
  width: 100%;
}

.secondary-action {
  background: #111315;
}

.error {
  margin: 0;
  border: 1px solid rgba(209, 93, 84, 0.42);
  background: rgba(126, 39, 37, 0.28);
  color: #ffd4c9;
  padding: 12px;
}

.launch-feedback {
  min-height: 20px;
  margin: 8px 0 0;
  color: var(--soft);
  line-height: 1.45;
}

.hero-launch .launch-feedback {
  position: absolute;
  left: 50%;
  top: calc(100% + 6px);
  width: 340px;
  transform: translateX(-50%);
  font-size: 12px;
  text-align: center;
}

.launch-feedback[data-kind="success"] {
  color: #9fe1aa;
}

.launch-feedback[data-kind="warn"] {
  color: var(--gold-bright);
}

.launch-feedback[data-kind="error"] {
  color: #ffd0ca;
}

.download-card ol {
  color: var(--soft);
  line-height: 1.8;
}

code {
  color: #9bdff0;
}

@media (max-width: 1440px) {
  .site-title.shell {
    grid-template-columns: 420px minmax(0, 1fr);
  }

  .brand-mark {
    width: 66px;
    height: 66px;
    font-size: 26px;
  }

  .brand strong {
    font-size: 29px;
  }

  .primary-nav {
    justify-content: flex-end;
    gap: 20px;
  }

  .primary-nav a {
    font-size: 15px;
  }

  .hero-copy {
    transform: translateX(50px);
  }

  .hero-status {
    transform: translateY(-12px);
  }
}

@media (max-width: 1180px) {
  .site-header {
    height: auto;
    min-height: 90px;
  }

  .site-title.shell {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 0 10px;
  }

  .brand {
    justify-self: center;
  }

  .primary-nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 18px;
  }

  .primary-nav a {
    min-height: 36px;
  }

  .primary-nav a.active::after {
    display: none;
  }

  .hero-inner.shell {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 38px 0 100px;
  }

  .hero-copy {
    transform: none;
  }

  .hero-status {
    justify-self: center;
    width: min(420px, 100%);
    transform: none;
  }

  .home-hero,
  .hero-inner.shell {
    min-height: 660px;
  }

  .feature-strip,
  .dashboard {
    width: min(920px, calc(100vw - 42px));
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-strip {
    margin-top: -72px;
  }

  .dashboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-board,
  .community-board {
    grid-column: span 2;
  }

  .board {
    max-height: none;
  }
}

@media (max-width: 760px) {
  .shell,
  .site-title.shell,
  .hero-inner.shell,
  .feature-strip,
  .dashboard {
    width: min(100% - 28px, 560px);
  }

  .brand {
    gap: 12px;
  }

  .brand-mark {
    width: 56px;
    height: 56px;
    font-size: 22px;
  }

  .brand strong {
    font-size: 25px;
  }

  .brand small {
    font-size: 12px;
  }

  .primary-nav {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 5px;
  }

  .primary-nav a {
    font-size: 14px;
  }

  .home-hero,
  .hero-inner.shell {
    min-height: 640px;
  }

  .hero-inner.shell {
    padding: 34px 0 96px;
  }

  .hero-copy h1 {
    font-size: clamp(48px, 14vw, 68px);
  }

  .hero-copy p {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-button {
    width: 100%;
    min-height: 58px;
  }

  .feature-strip,
  .dashboard {
    grid-template-columns: 1fr;
  }

  .feature-strip article,
  .board,
  .news-board,
  .community-board {
    grid-column: auto;
    border-right: 0;
  }

  .feature-strip article {
    border-bottom: 1px solid rgba(220, 167, 73, 0.24);
  }

  .dashboard {
    margin-top: 8px;
  }

  .board {
    min-height: 250px;
  }

  .news-item {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .thumb {
    min-height: 62px;
    background-size: 280px auto;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "links"
      "copy"
      "socials"
      "status";
    justify-items: start;
    padding: 18px 0;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px 20px;
  }

  .footer-socials,
  .site-footer span {
    justify-self: start;
  }

  .play-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-status {
    padding: 15px 16px 12px;
  }

  .status-row {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
  }

  .status-row > i {
    width: 42px;
    height: 42px;
    font-size: 19px;
  }

  .feature-strip article {
    grid-template-columns: 48px minmax(0, 1fr);
    padding: 14px;
  }
}
