* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #06080f;
  --bg-soft: #0b0f19;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-strong: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8ecf7;
  --text-soft: rgba(232, 236, 247, 0.74);
  --text-faint: rgba(232, 236, 247, 0.5);
  --accent: #8db2ff;
  --accent-soft: rgba(141, 178, 255, 0.12);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
  --content-wide: 980px;
  --content-medium: 980px;
  --content-narrow: 760px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 2px solid rgba(141, 178, 255, 0.72);
  outline-offset: 3px;
}

img {
  max-width: 100%;
  display: block;
}

.site-bg,
.site-bg-2 {
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: -1;
  border-radius: 999px;
  filter: blur(110px);
  opacity: 0.45;
  contain: paint;
}

.site-bg {
  width: 440px;
  height: 440px;
  top: -110px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(87, 123, 255, 0.24);
}

.site-bg-2 {
  width: 320px;
  height: 320px;
  top: 520px;
  right: -90px;
  background: rgba(121, 82, 255, 0.16);
}

.shell {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
}

/* NAV */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(8, 10, 17, 0.68);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-inner {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  color: var(--accent);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: lowercase;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.menu-wrap {
  position: relative;
  flex: 0 0 auto;
}

.account-wrap {
  position: relative;
  flex: 0 0 auto;
}

.account-btn {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.035);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
  flex: 0 0 48px;
  line-height: 0;
}

.account-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(141, 178, 255, 0.28);
}

.account-btn-login {
  background: rgba(255, 255, 255, 0.045);
}

.account-avatar {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px;
  min-height: 40px;
  max-width: 40px;
  max-height: 40px;
  object-fit: cover;
  object-position: center;
  border-radius: 999px;
  flex: 0 0 40px;
  display: block;
}

.account-icon {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px;
  min-height: 22px;
  max-width: 22px;
  max-height: 22px;
  object-fit: contain;
  flex: 0 0 22px;
  display: block;
}

.account-icon-user {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px;
  min-height: 24px;
  max-width: 24px;
  max-height: 24px;
  flex-basis: 24px;
}

.menu-btn {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.035);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.menu-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(141, 178, 255, 0.28);
}

.menu-btn span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: white;
}

.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 220px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(11, 15, 25, 0.96);
  box-shadow: var(--shadow);
  display: none;
  flex-direction: column;
  gap: 4px;
}

.dropdown.show {
  display: flex;
}

.account-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 250px;
  max-width: min(250px, calc(100vw - 24px));
  padding: 10px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(11, 15, 25, 0.96);
  box-shadow: var(--shadow);
  display: none;
  flex-direction: column;
  gap: 6px;
}

.account-dropdown.show {
  display: flex;
}

.dropdown,
.account-dropdown {
  backdrop-filter: blur(18px);
}

.account-card {
  padding: 12px 14px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.account-name {
  font-size: 0.95rem;
  font-weight: 700;
}

.account-handle {
  margin-top: 2px;
  font-size: 0.82rem;
  color: var(--text-faint);
}

.account-dropdown-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  transition: background 0.2s ease, color 0.2s ease;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
}

.account-dropdown-link img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex: 0 0 16px;
  display: block;
}

.account-dropdown-icon {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px;
  min-height: 16px;
  max-width: 16px;
  max-height: 16px;
  object-fit: contain;
  flex: 0 0 16px;
}

.account-dropdown-link:hover {
  background: rgba(255, 255, 255, 0.05);
}

.account-dropdown-link-admin {
  color: #f5f7fb;
}

.account-dropdown-link-logout {
  color: #ff575f;
}

.account-dropdown-link-logout:hover {
  color: #ff575f;
}

.dropdown a {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 12px 14px;
  border-radius: 12px;
  transition: background 0.2s ease, color 0.2s ease;
}

.dropdown a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #bfd3ff;
}

/* HERO */

.hero {
  padding: 104px 0 72px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  min-height: calc(100vh - 192px);
}

.hero-copy {
  max-width: 760px;
  display: grid;
  align-content: start;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(3.4rem, 8vw, 6.3rem);
  line-height: 0.92;
  font-weight: 800;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.hero h1 span {
  color: var(--accent);
}

.hero-sub {
  margin-top: 26px;
  max-width: 620px;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: var(--text-soft);
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: #08101f;
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.025);
}

.auth-modal {
  position: fixed;
  top: var(--auth-popover-top, 94px);
  left: var(--auth-popover-left, calc(100vw - 372px));
  z-index: 320;
  width: var(--auth-popover-width, 360px);
}

.auth-modal[hidden] {
  display: none;
}

.auth-modal-dialog {
  position: relative;
  width: 100%;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(11, 15, 25, 0.97);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.auth-modal-kicker {
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.auth-modal-copy {
  margin-top: 8px;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

.auth-modal-actions {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.auth-discord-btn {
  min-height: 50px;
}

.auth-discord-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(141, 178, 255, 0.3);
  background: var(--accent);
  color: #0a101e;
  font-weight: 800;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.auth-discord-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

.auth-discord-btn-primary {
  background: var(--accent);
  color: #0a101e;
}

.auth-discord-btn span {
  line-height: 1;
}

.auth-discord-btn img {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.hero-panel {
  display: grid;
  gap: 18px;
}

.hero-card {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.025)
  );
  box-shadow: var(--shadow);
}

.card-label {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.hero-card p {
  color: var(--text-soft);
  font-size: 0.98rem;
}

/* SECTIONS */

.section {
  padding: 96px 0 0;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.section-label {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.section-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(141, 178, 255, 0.28),
    rgba(255, 255, 255, 0.04)
  );
}

.panel {
  border: 1px solid var(--border);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.025)
  );
  border-radius: 28px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.panel,
.service-card,
.contact-button,
.btn,
.dropdown a,
.account-dropdown-link,
.account-btn,
.menu-btn {
  -webkit-tap-highlight-color: transparent;
}

.panel h2 {
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  margin-bottom: 16px;
  max-width: 13ch;
  text-wrap: balance;
}

.panel p {
  font-size: 1.06rem;
  color: var(--text-soft);
  max-width: 860px;
}

.panel p + p {
  margin-top: 16px;
}

.page {
  display: grid;
  gap: 40px;
  align-content: start;
  padding-top: 120px;
  padding-bottom: 60px;
}

.page > * {
  justify-self: start;
}

.page-header {
  max-width: var(--content-narrow);
  display: grid;
  gap: 0;
}

.page-kicker {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.page-title {
  font-size: 56px;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.page-intro {
  max-width: 720px;
  font-size: 1.05rem;
  color: var(--text-soft);
  line-height: 1.72;
}

.page-single {
  max-width: var(--content-medium);
  width: 100%;
}

.legal-updated {
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-section {
  margin-top: 28px;
}

.legal-section:first-of-type {
  margin-top: 22px;
}

.legal-section h2 {
  font-size: clamp(1.22rem, 2.8vw, 1.65rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  max-width: none;
}

.legal-section p {
  max-width: 860px;
}

.legal-section ul {
  margin: 14px 0 0 1.2rem;
  color: var(--text-soft);
  padding-left: 0.2rem;
}

.legal-section li + li {
  margin-top: 8px;
}

.about-story {
  max-width: var(--content-wide);
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 34px;
  align-items: start;
}

.about-story-lead {
  max-width: 360px;
}

.about-story-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  max-width: 11ch;
}

.about-story-copy {
  max-width: 560px;
}

.about-band {
  max-width: var(--content-wide);
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 22px;
  align-items: stretch;
}

.section-divider {
  width: 100%;
  max-width: var(--content-wide);
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(141, 178, 255, 0.18),
    rgba(255, 255, 255, 0.06),
    rgba(141, 178, 255, 0.18),
    rgba(255, 255, 255, 0)
  );
  box-shadow: 0 0 24px rgba(141, 178, 255, 0.08);
}

.about-section {
  display: grid;
  gap: 24px;
  max-width: var(--content-wide);
  width: 100%;
}

.about-section-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  max-width: 12ch;
}

.scripture-panel {
  text-align: center;
  max-width: none;
  margin: 0;
  padding-top: 52px;
  padding-bottom: 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at top, rgba(141, 178, 255, 0.1), transparent 60%),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.055),
      rgba(255, 255, 255, 0.03)
    );
}

.scripture-quote {
  max-width: 28ch;
  margin: 0 auto;
  font-size: 1.28rem;
  color: rgba(232, 236, 247, 0.82);
  text-wrap: balance;
}

.scripture-reference {
  margin-top: 18px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

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

.principle-card {
  min-height: 100%;
}

.founder-panel {
  max-width: none;
  padding: 30px 32px;
}

.founder-kicker {
  margin-bottom: 12px;
}

.founder-name {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.about-cta {
  text-align: center;
  max-width: var(--content-medium);
  width: 100%;
  background:
    radial-gradient(circle at top, rgba(141, 178, 255, 0.12), transparent 55%),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.025)
    );
}

.about-cta h2 {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.about-cta p {
  margin-left: auto;
  margin-right: auto;
}

.about-cta-actions {
  justify-content: center;
  margin-top: 30px;
}


/* SERVICES */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  width: 100%;
}

.service-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(141, 178, 255, 0.24);
  background: linear-gradient(
    180deg,
    rgba(141, 178, 255, 0.08),
    rgba(255, 255, 255, 0.03)
  );
}

.service-card h3 {
  font-size: 1.22rem;
  margin-bottom: 10px;
}

.service-card p {
  max-width: 38ch;
}

/* PRICING */

.pricing-panel h2 {
  max-width: 15ch;
}

/* CONTACT */

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  max-width: var(--content-medium);
  width: 100%;
}

.contact-copy {
  max-width: 560px;
}

.contact-copy h2 {
  max-width: none;
}

.contact-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.contact-button:hover {
  transform: translateY(-3px);
  opacity: 0.96;
}

.contact-button img {
  width: 136px;
  height: auto;
}

/* SERVERS */

.servers-section {
  gap: 28px;
}

.servers-heading-row {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 24px;
}

.servers-heading-copy {
  max-width: 720px;
}

.servers-section-heading {
  align-items: center;
  gap: 16px;
}

.servers-section-heading .section-line {
  flex: 1 1 auto;
  min-width: 0;
  background: linear-gradient(
    90deg,
    rgba(141, 178, 255, 0.28) 0%,
    rgba(141, 178, 255, 0.18) 48%,
    rgba(141, 178, 255, 0.08) 72%,
    rgba(141, 178, 255, 0.02) 88%,
    transparent 100%
  );
}

.servers-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.servers-frame {
  position: relative;
}

.servers-arrow {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.64;
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease, color 0.2s ease;
}

.servers-arrow:hover:not(:disabled) {
  transform: translateY(-1px);
  opacity: 1;
  color: #f5f7fb;
  background: rgba(141, 178, 255, 0.08);
  border-color: rgba(141, 178, 255, 0.24);
}

.servers-arrow:disabled {
  opacity: 0.28;
  cursor: default;
}

.servers-arrow span {
  font-size: 1.1rem;
  line-height: 1;
}

.servers-carousel {
  width: 100%;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(320px, 420px);
  gap: 22px;
  overflow-x: auto;
  overflow-y: visible;
  padding-top: 4px;
  padding-bottom: 6px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(141, 178, 255, 0.35) transparent;
}

.servers-carousel::-webkit-scrollbar {
  height: 10px;
}

.servers-carousel::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(141, 178, 255, 0.28);
}

.servers-carousel::-webkit-scrollbar-track {
  background: transparent;
}

.servers-card {
  min-height: 100%;
  position: relative;
  z-index: 0;
  display: grid;
  align-content: start;
  gap: 14px;
  scroll-snap-align: start;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.servers-card:hover {
  transform: translateY(-4px);
  z-index: 2;
  border-color: rgba(141, 178, 255, 0.26);
  background:
    radial-gradient(circle at top right, rgba(141, 178, 255, 0.14), transparent 46%),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.025)
    );
}

.servers-card-kicker {
  margin-bottom: 0;
}

.servers-card-logo {
  width: 88px;
  height: 88px;
  object-fit: contain;
}

.servers-card h3 {
  font-size: 1.5rem;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.servers-card p {
  max-width: 30ch;
}

.servers-card-link {
  margin-top: 6px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* SERVER PAGES */

.server-page {
  max-width: var(--content-medium);
}

.server-hero {
  max-width: var(--content-medium);
  width: 100%;
  display: grid;
  gap: 28px;
  justify-items: start;
}

.server-logo {
  width: 112px;
  height: 112px;
  object-fit: contain;
}

.server-copy {
  display: grid;
  gap: 14px;
}

.server-copy p {
  max-width: 62ch;
}

.server-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.server-note {
  max-width: var(--content-medium);
  width: 100%;
}

.server-note strong {
  color: var(--text);
  font-weight: 700;
}

/* ERROR PAGES */

.error-page {
  max-width: var(--content-medium);
}

.error-panel {
  max-width: var(--content-medium);
  width: 100%;
  text-align: center;
  padding-top: 48px;
  padding-bottom: 48px;
  background:
    radial-gradient(circle at top, rgba(141, 178, 255, 0.1), transparent 58%),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.025)
    );
}

.error-code {
  display: inline-block;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.error-panel h1 {
  margin-left: auto;
  margin-right: auto;
  max-width: 14ch;
}

.error-panel p {
  margin-left: auto;
  margin-right: auto;
  max-width: 38ch;
}

.error-actions {
  justify-content: center;
  margin-top: 30px;
}

.redirect-panel h1 {
  max-width: none;
}

.redirect-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.redirect-link:hover {
  color: #b4cbff;
}

/* FOOTER */

.footer {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
  padding: 24px 0 36px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.copyright {
  color: var(--text-faint);
  font-size: 0.94rem;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.94rem;
  line-height: 1;
  margin-left: 20px;
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--accent);
}

/* RESPONSIVE */

@media (max-width: 920px) {
  .hero {
    gap: 22px;
    padding-top: 80px;
    min-height: auto;
  }

  .hero-copy {
    max-width: none;
  }

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

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

  .about-story,
  .about-band {
    grid-template-columns: 1fr;
  }

  .panel h2 {
    max-width: none;
  }

  .contact-panel {
    align-items: flex-start;
  }

  .servers-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .shell,
  .nav-inner {
    width: min(1100px, calc(100% - 24px));
  }

  .nav-inner {
    min-height: 72px;
  }

  .nav-actions {
    gap: 10px;
  }

  .hero {
    padding: 64px 0 40px;
  }

  .hero-sub {
    margin-top: 20px;
    font-size: 1.02rem;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .panel {
    padding: 30px 24px;
    border-radius: 22px;
  }

  .section {
    padding-top: 74px;
  }

  .section-heading {
    gap: 12px;
    margin-bottom: 18px;
  }

  .page {
    padding-top: 92px;
    padding-bottom: 40px;
    gap: 30px;
  }

  .page-title {
    font-size: clamp(2.8rem, 12vw, 3.5rem);
    margin-bottom: 28px;
  }

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

  .contact-button img {
    width: 124px;
  }

  .servers-carousel {
    grid-auto-columns: minmax(260px, 86vw);
    gap: 18px;
  }

  .servers-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .servers-section-heading {
    gap: 12px;
  }

  .servers-controls {
    gap: 8px;
  }

  .servers-arrow {
    width: 38px;
    height: 38px;
    border-radius: 999px;
  }

  .server-logo {
    width: 96px;
    height: 96px;
  }

  .auth-modal {
    top: 88px;
    left: 12px;
    width: calc(100vw - 24px);
  }

  .footer {
    margin-top: 80px;
  }

  .footer-inner {
    padding: 22px 0 30px;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-contact a {
    margin-left: 0;
    margin-right: 20px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
