:root {
  color-scheme: dark;
  --paper: #f5f5f7;
  --soft: #b9bfd0;
  --muted: #81899d;
  --line: rgba(214, 222, 255, 0.18);
  --line-strong: rgba(232, 236, 255, 0.34);
  --accent: #4b5eea;
  --accent-bright: #7383ff;
  --font: var(--twk-everett-page, "TWK Everett Local", "Helvetica Neue", Arial, sans-serif);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #11172b;
  scroll-behavior: smooth;
}

body {
  display: flow-root;
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--paper);
  background: linear-gradient(180deg, #11172b 0%, #2c397d 50.8621%, #000 100%);
  background-attachment: fixed;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid #bec7ff;
  outline-offset: 6px;
}

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

.legal-header,
.legal-footer {
  width: min(1224px, calc(100% - 60px));
  margin-inline: auto;
}

.legal-header {
  position: relative;
  display: flex;
  height: 70px;
  margin-top: 48px;
  padding: 0 30px;
  align-items: center;
  justify-content: space-between;
}

.legal-header::before,
.legal-header::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(#efefef, #efefef) left top / 9px 1.5px no-repeat,
    linear-gradient(#efefef, #efefef) left top / 1.5px 9px no-repeat,
    linear-gradient(#efefef, #efefef) right top / 9px 1.5px no-repeat,
    linear-gradient(#efefef, #efefef) right top / 1.5px 9px no-repeat;
  content: "";
  pointer-events: none;
}

.legal-header::after {
  transform: scaleY(-1);
}

.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.legal-brand img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.legal-home-link {
  font-size: 14px;
  line-height: 22px;
}

.legal-main {
  width: min(900px, calc(100% - 60px));
  margin: 0 auto;
  padding: 94px 30px 118px;
}

.legal-title {
  margin-bottom: 72px;
  text-align: center;
}

.legal-title h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 6vw, 64px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.045em;
}

.legal-title p {
  margin: 0;
  color: #c2c8db;
  font-size: 12px;
}

.legal-copy {
  color: #d1d6e3;
  font-size: 14px;
  line-height: 1.75;
}

.legal-copy > p:first-child {
  color: #f1f3f8;
  font-size: 15px;
  line-height: 1.7;
}

.legal-copy section {
  padding-top: 10px;
}

.legal-copy h2 {
  margin: 44px 0 16px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  color: var(--paper);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.legal-copy h3 {
  margin: 27px 0 9px;
  color: #f0f2f8;
  font-size: 16px;
  font-weight: 500;
}

.legal-copy p {
  margin: 0 0 18px;
}

.legal-copy ul {
  margin: 13px 0 20px;
  padding-left: 22px;
}

.legal-copy li {
  margin: 8px 0;
  padding-left: 4px;
}

.legal-copy li::marker {
  color: #aeb8ff;
}

.legal-copy a,
.text-link {
  color: #dfe4ff;
  text-decoration: underline;
  text-decoration-color: rgba(223, 228, 255, 0.38);
  text-underline-offset: 3px;
}

.legal-copy a:hover,
.text-link:hover {
  color: white;
  text-decoration-color: currentColor;
}

.rights-callout {
  position: relative;
  margin: 22px 0;
  padding: 20px 22px;
  background: rgba(17, 23, 49, 0.34);
  color: #eef1fb;
}

.rights-callout::before,
.rights-callout::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(#dfe3f7, #dfe3f7) left top / 8px 1px no-repeat,
    linear-gradient(#dfe3f7, #dfe3f7) left top / 1px 8px no-repeat,
    linear-gradient(#dfe3f7, #dfe3f7) right top / 8px 1px no-repeat,
    linear-gradient(#dfe3f7, #dfe3f7) right top / 1px 8px no-repeat;
  content: "";
  pointer-events: none;
}

.rights-callout::after {
  transform: scaleY(-1);
}

.contact-main {
  width: min(1224px, calc(100% - 60px));
  min-height: calc(100vh - 210px);
  margin: 0 auto;
  padding: 94px 30px 118px;
}

.contact-intro {
  max-width: 690px;
  margin: 0 auto 68px;
  text-align: center;
}

.contact-intro h1 {
  margin: 0 0 18px;
  font-size: clamp(46px, 7vw, 64px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.045em;
}

.contact-intro > p {
  margin: 0;
  color: #d4d8e6;
  font-size: 16px;
  line-height: 1.6;
}

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

.contact-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 286px;
  padding: 32px 28px 28px;
  flex-direction: column;
  background: transparent;
}

.contact-card-heading {
  display: flex;
  margin-bottom: 20px;
  align-items: center;
  gap: 12px;
}

.contact-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(226, 231, 255, 0.44);
  border-radius: 50%;
  color: #eef1ff;
  font-size: 14px;
}

.contact-card h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.contact-card p {
  margin: 0 0 24px;
  color: #d2d6e4;
  font-size: 14px;
  line-height: 1.65;
}

.contact-button {
  display: inline-flex;
  width: max-content;
  height: 44px;
  margin-top: auto;
  padding: 0 16px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(82, 111, 255, 0.9);
  color: white;
  font-size: 14px;
  line-height: 24px;
}

.contact-note {
  max-width: 700px;
  margin: 38px auto 0;
  color: #aeb4c6;
  font-size: 11px;
  line-height: 1.7;
  text-align: center;
}

.discord-support {
  display: flex;
  width: min(520px, 100%);
  margin: 92px auto 8px;
  padding: 24px;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  text-align: left;
  transition: background .3s ease, transform .3s ease;
}

.discord-support:hover,
.discord-support:focus-visible {
  background: rgba(255, 255, 255, 0.025);
  transform: translateY(-3px);
}

.discord-support img {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  object-fit: contain;
}

.discord-support-copy {
  max-width: 430px;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.discord-support-copy .arrow {
  display: inline-block;
  margin-left: 7px;
  transition: transform .3s ease;
}

.discord-support:hover .arrow,
.discord-support:focus-visible .arrow {
  transform: translate(3px, -3px);
}

.legal-footer {
  position: relative;
  display: flex;
  min-height: 112px;
  padding: 24px 30px 42px;
  align-items: center;
  gap: 24px;
  color: #d3d7e4;
  font-size: 12px;
}

.legal-footer p,
.legal-footer nav {
  margin: 0;
}

.legal-footer nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.legal-footer .footer-social {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.legal-footer .footer-email {
  margin-left: auto;
}

.legal-footer a,
.legal-footer button {
  color: #edf0f7;
  transition: color 160ms ease, opacity 160ms ease;
}

.legal-footer a:hover,
.legal-footer button:hover,
.legal-footer a[aria-current="page"] {
  color: white;
}

.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}

.footer-email img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
  opacity: .55;
}

@media (max-width: 1040px) {
  .legal-footer {
    flex-wrap: wrap;
  }

  .legal-footer .footer-social {
    position: static;
    margin-left: auto;
    transform: none;
  }

  .legal-footer .footer-email {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 920px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    min-height: 0;
  }

  .discord-support {
    margin-top: 68px;
  }
}

@media (max-width: 760px) {
  .legal-header,
  .legal-footer,
  .legal-main,
  .contact-main {
    width: calc(100% - 40px);
  }

  .legal-header {
    height: 64px;
    margin-top: 24px;
    padding: 0 15px;
  }

  .legal-brand {
    gap: 7px;
    font-size: 16px;
  }

  .legal-brand img {
    width: 25px;
    height: 25px;
  }

  .legal-home-link {
    font-size: 13px;
  }

  .legal-main,
  .contact-main {
    padding: 70px 12px 90px;
  }

  .legal-title,
  .contact-intro {
    margin-bottom: 50px;
  }

  .legal-copy {
    font-size: 13px;
  }

  .legal-copy > p:first-child {
    font-size: 14px;
  }

  .legal-copy h2 {
    font-size: 22px;
  }

  .contact-card {
    padding: 26px 20px;
  }

  .discord-support {
    width: 100%;
    margin-top: 54px;
    padding: 24px 20px;
  }

  .discord-support-copy {
    font-size: 24px;
  }

  .legal-footer {
    padding: 30px 10px 34px;
    align-items: flex-start;
    gap: 18px;
  }

  .legal-footer nav {
    flex-wrap: wrap;
    gap: 15px 18px;
  }

  .legal-footer .footer-social {
    margin-left: 0;
  }

  .legal-footer .footer-email {
    width: auto;
  }
}

@media (max-width: 560px) {
  .legal-title h1,
  .contact-intro h1 {
    font-size: 43px;
  }

  .contact-intro > p {
    font-size: 14px;
  }

  .legal-copy h2 {
    margin-top: 36px;
    padding-top: 26px;
  }

  .legal-footer {
    flex-direction: column;
  }

  .legal-footer .footer-social,
  .legal-footer .footer-email {
    margin-left: 0;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}