:root {
  --navy: #052b60;
  --navy-deep: #021d43;
  --navy-ink: #041f47;
  --cream: #fbf1e2;
  --ink: #071f47;
  --gold-top: #f4c763;
  --gold-bottom: #d99c2d;
  --black: #080d15;
  --white: #ffffff;
  --shell: 1219px;
  --display: "Arial Black", "Trebuchet MS", Arial, sans-serif;
  --body: Inter, Avenir, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--white);
  background: var(--navy);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
button, input, select { font: inherit; }
img { display: block; max-width: 100%; }

.final-area {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  background: var(--navy);
  padding-top: clamp(92px, 12vw, 170px);
}
.rune-pattern {
  position: absolute;
  inset: 0 0 360px;
  z-index: 0;
  background: #001b3f;
  opacity: .14;
  -webkit-mask-image: url("assets/pattern.svg");
  mask-image: url("assets/pattern.svg");
  -webkit-mask-size: 760px 475px;
  mask-size: 760px 475px;
  -webkit-mask-repeat: repeat;
  mask-repeat: repeat;
  pointer-events: none;
}
.shell { width: min(var(--shell), calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.community {
  position: relative;
  z-index: 1;
  height: 598px;
  display: grid;
  place-items: center;
}
.community-art {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(3,20,54,.03), rgba(3,20,54,.07)), var(--community-image);
  background-size: cover;
  background-position: 50% 51%;
  -webkit-mask-image: url("assets/join-mask.svg");
  mask-image: url("assets/join-mask.svg");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.community-content {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: -12px;
}
.community h2,
.story-card h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -.035em;
}
.community h2 { font-size: clamp(28px, 2.4vw, 38px); }
.community-lead {
  margin: 14px 0 24px;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 500;
}
.signup {
  width: min(620px, 92vw);
  height: 58px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  padding: 3px;
  border: 1px solid rgba(223,163,52,.88);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(1,9,27,.22);
}
.signup input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 18px;
  border-radius: 14px;
  color: #333;
  font-size: 16px;
  font-style: italic;
  background: transparent;
}
.signup input::placeholder { color: #8b8b8b; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-decoration: none;
  font-family: var(--body);
  font-weight: 850;
  letter-spacing: -.01em;
  border-radius: 16px;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.02); }
.btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.btn-primary {
  min-width: 195px;
  border: 1.5px solid #293248;
  color: #061b3c;
  background: linear-gradient(180deg, var(--gold-top) 0%, var(--gold-bottom) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 4px 9px rgba(3,13,34,.18);
  cursor: pointer;
}
.signup-note { margin: 12px 0 17px; font-size: 13px; font-style: italic; opacity: .92; }
.benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  width: min(570px, 90vw);
  margin: 0 auto;
}
.benefit {
  min-height: 80px;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 8px;
  position: relative;
  font-size: 12px;
  line-height: 1.15;
  font-weight: 850;
}
.benefit:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 4px;
  height: 62px;
  width: 1px;
  background: rgba(255,255,255,.32);
}
.benefit-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0,47,100,.74);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
}
.benefit-icon img { width: 25px; height: 25px; object-fit: contain; }

.content-stack {
  position: relative;
  z-index: 3;
  margin-top: -70px;
  display: grid;
  gap: 32px;
}
.story-card {
  overflow: hidden;
  border-radius: 30px;
  background: var(--cream);
  color: var(--ink);
  border: 5px solid var(--black);
  box-shadow: 0 12px 22px rgba(0,11,31,.26);
}
.about-card {
  min-height: 390px;
  display: grid;
  grid-template-columns: 46% 54%;
}
.press-card {
  min-height: 315px;
  display: grid;
  grid-template-columns: 48% 52%;
}
.story-art { min-height: 100%; background-repeat: no-repeat; }
.about-art {
  background-image: var(--about-image);
  background-size: auto 100%;
  background-position: left center;
}
.press-art {
  background-image: var(--press-image);
  background-size: cover;
  background-position: center center;
}
.story-copy {
  align-self: center;
  padding: 46px 68px 44px 28px;
}
.story-card h2 {
  color: var(--ink);
  font-size: 35px;
  line-height: 1.06;
}
.story-card p {
  margin: 18px 0 24px;
  max-width: 610px;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 540;
}
.btn-secondary {
  min-width: 230px;
  height: 64px;
  padding: 0 32px;
  color: var(--ink);
  border: 2px solid #18233a;
  background: linear-gradient(180deg, var(--gold-top) 0%, var(--gold-bottom) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 5px 11px rgba(41,29,8,.13);
}
.press-copy { padding: 34px 32px 22px 54px; }
.press-card h2 { font-size: 30px; }
.press-card p { margin: 16px 0 18px; max-width: 510px; }
.btn-small { min-width: 210px; height: 58px; }
.press-card .microcopy { margin: 9px 0 0; font-size: 12px; line-height: 1.3; font-style: italic; opacity: .72; }

.footer {
  position: relative;
  z-index: 1;
  margin-top: 56px;
  min-height: 430px;
  overflow: hidden;
}
.footer-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,39,82,.15), rgba(2,22,52,.30)), var(--footer-image) center bottom / cover no-repeat;
}
.footer-inner { position: relative; z-index: 2; padding: 26px 0 30px; }
.footer-rule { height: 1px; background: rgba(255,255,255,.40); margin-bottom: 34px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr .9fr 1fr .82fr;
  gap: 40px;
  align-items: start;
}
.brand-space { min-height: 150px; }
.footer-col h3 { margin: 0 0 14px; font-size: 13px; line-height: 1; font-weight: 850; }
.footer-col > a { display: block; margin: 0 0 7px; font-size: 15px; text-decoration: none; color: rgba(255,255,255,.94); }
.footer-col > a:hover, .legal a:hover { text-decoration: underline; }
.socials { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; }
.socials a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(2,22,52,.58);
  border: 1px solid rgba(255,255,255,.07);
}
.socials img { width: 21px; height: 21px; object-fit: contain; }
.social-col p { max-width: 245px; margin: 0; font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.82); }
.language-select {
  width: 165px;
  height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  background: rgba(2,22,52,.72);
}
.language-select img { width: 22px; height: 22px; object-fit: contain; }
.language-select select {
  width: 100%;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  font-size: 15px;
  font-weight: 650;
}
.footer-rule-bottom { margin: 28px 0 18px; }
.legal { display: flex; justify-content: space-between; gap: 24px; color: rgba(255,255,255,.72); font-size: 12px; }
.legal nav { display: flex; gap: 20px; }
.legal a { text-decoration: none; }

@media (max-width: 980px) {
  .final-area { padding-top: 90px; }
  .community { height: 620px; }
  .content-stack { margin-top: -55px; }
  .about-card, .press-card { grid-template-columns: 1fr; }
  .about-art, .press-art { min-height: 310px; background-size: cover; background-position: left center; }
  .press-art { order: -1; background-position: center center; }
  .story-copy, .press-copy { padding: 34px 34px 38px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr; gap: 34px 48px; }
  .brand-space { min-height: 80px; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 28px, var(--shell)); }
  .final-area { padding-top: 54px; }
  .rune-pattern { -webkit-mask-size: 500px 312px; mask-size: 500px 312px; opacity: .11; }
  .community { height: 660px; }
  .community-art {
    background-size: auto 100%;
    background-position: 50% center;
    -webkit-mask-size: auto 100%;
    mask-size: auto 100%;
    -webkit-mask-position: center;
    mask-position: center;
  }
  .community-content { margin-top: -4px; }
  .community h2 { font-size: 28px; }
  .community-lead { font-size: 15px; line-height: 1.5; margin-bottom: 20px; }
  .desktop-only { display: none; }
  .signup { width: 100%; height: auto; min-height: 58px; flex-wrap: wrap; padding: 4px; border-radius: 16px; }
  .signup input { flex-basis: 100%; height: 52px; text-align: center; }
  .btn-primary { width: 100%; height: 52px; border-radius: 13px; }
  .signup-note { margin-top: 10px; }
  .benefits { width: 100%; grid-template-columns: 1fr 1fr; row-gap: 18px; margin-top: 20px; }
  .benefit:nth-child(2)::after { display: none; }
  .benefit-icon { width: 40px; height: 40px; }
  .content-stack { margin-top: -46px; gap: 22px; }
  .story-card { border-width: 4px; border-radius: 24px; }
  .about-art, .press-art { min-height: 245px; }
  .story-copy, .press-copy { padding: 28px 24px 30px; }
  .story-card h2, .press-card h2 { font-size: 27px; }
  .story-card p { font-size: 15px; line-height: 1.5; }
  .btn-secondary, .btn-small { min-width: 0; width: 100%; height: 56px; }
  .footer { margin-top: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .brand-space { min-height: 40px; }
  .legal { flex-direction: column; }
  .legal nav { flex-wrap: wrap; }
}