:root {
  --navy: #071923;
  --deep: #0a2330;
  --panel: #0f2f40;
  --ink: #f2f6f7;
  --copy: #c9d6da;
  --muted: #8fa6ae;
  --line: rgba(234, 245, 246, 0.12);
  --amber: #f4b63f;
  --teal: #59c6ba;
  --display: "Bebas Neue", Impact, sans-serif;
  --body: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box }
html { scroll-behavior: smooth }
body {
  margin: 0;
  min-height: 100svh;
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.55;
  background: var(--navy);
}

.nav {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: min(1520px, calc(100% - 2.75rem - 44px));
  background: rgba(7, 25, 35, 0.88);
  border: 1px solid var(--line);
  border-radius: 18px;
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.42);
}
.navin {
  min-height: 92px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.4rem;
  box-sizing: border-box;
  position: relative;
}
.brand {
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  flex: 0 0 auto;
  color: inherit;
}
.mark {
  width: 68px;
  height: 68px;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}
.brand-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.1;
  width: max-content;
}
.brand-name {
  display: block;
  color: var(--ink);
  font-size: clamp(0.78rem, 1.1vw, 0.98rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-short {
  display: block;
  margin-top: 0.18rem;
  color: var(--amber);
  font: clamp(1.15rem, 1.7vw, 1.45rem) / 1 var(--display);
  letter-spacing: 0.14em;
}
.links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-left: auto;
  font-size: 0.9rem;
  color: var(--muted);
}
.links a { text-decoration: none; color: inherit }
.links a:hover { color: var(--ink) }
.links a.nav-login {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.7rem;
  border: 1px solid rgba(244, 182, 63, 0.45);
  border-radius: 999px;
  color: var(--amber);
  font-weight: 650;
}
.links a.nav-login:hover {
  color: var(--navy);
  background: var(--amber);
  border-color: var(--amber);
}
.links a.nav-login svg { width: 1rem; height: 1rem; flex-shrink: 0 }
.menu {
  display: none;
  color: var(--ink);
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.5rem 0.7rem;
  margin-left: auto;
  cursor: pointer;
  font: inherit;
}

.shell {
  width: min(1100px, calc(100% - 2.75rem));
  margin: auto;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: grid;
  align-items: end;
  background:
    linear-gradient(105deg, rgba(7, 9, 13, 0.92) 0%, rgba(7, 9, 13, 0.72) 38%, rgba(7, 9, 13, 0.22) 68%, rgba(7, 9, 13, 0.35) 100%),
    url("/images/rlm-hero-site-desktop.jpg") center / cover no-repeat;
}
.hero::after { display: none }
.hero-inner {
  position: relative;
  z-index: 1;
  display: block;
  padding: calc(1rem + 92px + 2rem) 0 4rem;
  width: min(1100px, calc(100% - 2.75rem));
  margin: auto;
}
.hero-copy {
  max-width: 34rem;
}
.hero-product { display: none }
@media (max-width: 900px) {
  .hero {
    align-items: end;
    background:
      linear-gradient(180deg, rgba(7, 9, 13, 0.25) 0%, rgba(7, 9, 13, 0.55) 40%, rgba(7, 9, 13, 0.94) 100%),
      url("/images/rlm-hero-site-mobile.jpg") center top / cover no-repeat;
  }
  .hero-inner { padding-bottom: 2.75rem }
}
.hero-mark {
  width: 56px;
  height: 56px;
  display: block;
  margin-bottom: 1.1rem;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.45));
  opacity: 0;
  animation: rise 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.05s forwards;
}
.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--amber);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0;
  animation: rise 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.12s forwards;
}
.hero h1 {
  margin: 0;
  max-width: 12ch;
  font: clamp(3rem, 9vw, 5.6rem) / 0.9 var(--display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  opacity: 0;
  animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.22s forwards;
}
.hero h1 em {
  font-style: normal;
  color: var(--amber);
}
.hero-lead {
  margin: 1.25rem 0 0;
  max-width: 32rem;
  color: var(--copy);
  font-size: 1.12rem;
  opacity: 0;
  animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.36s forwards;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
  opacity: 0;
  animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(40px) }
  to { opacity: 1; transform: none }
}



.button,
.button-ghost,
.button-discord {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.72rem 1.25rem;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.button {
  color: var(--navy);
  background: var(--amber);
  border: none;
  box-shadow: 0 8px 24px rgba(244, 182, 63, 0.28);
}
.button:hover { background: #e0a632; color: var(--navy) }
.button-ghost {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
}
.button-ghost:hover {
  border-color: rgba(244, 182, 63, 0.55);
  color: var(--amber);
}
.button-discord {
  color: #fff;
  background: #5865f2;
  border: none;
}
.button-discord:hover { background: #4752c4; color: #fff }

.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 70% 50% at 90% 0%, rgba(89, 198, 186, 0.08), transparent 55%),
    linear-gradient(180deg, #071923 0%, #0a2330 100%);
}
.section:nth-of-type(even) {
  background:
    radial-gradient(ellipse 60% 40% at 5% 20%, rgba(244, 182, 63, 0.07), transparent 50%),
    linear-gradient(180deg, #0a2330 0%, #071923 100%);
}
.section h2 {
  margin: 0 0 0.75rem;
  font: clamp(2rem, 4.5vw, 3rem) / 1 var(--display);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.section-lead {
  margin: 0 0 2rem;
  max-width: 38rem;
  color: var(--copy);
  font-size: 1.05rem;
}

.feature-row {
  display: grid;
  gap: 1.75rem 2.5rem;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}
.feature-row.reverse { direction: rtl }
.feature-row.reverse > * { direction: ltr }
.feature-copy p {
  margin: 0 0 1rem;
  color: var(--copy);
}
.feature-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.feature-copy li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.35rem;
  color: var(--copy);
  border-top: 1px solid var(--line);
}
.feature-copy li:last-child { border-bottom: 1px solid var(--line) }
.feature-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(89, 198, 186, 0.2);
}
.feature-visual {
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.feature-visual img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}
.feature-visual figcaption {
  padding: 0.65rem 0.9rem;
  color: var(--muted);
  font-size: 0.82rem;
  background: rgba(7, 25, 35, 0.85);
}

.steps {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.step {
  padding: 1.4rem 0 0;
  border-top: 2px solid var(--amber);
}
.step-num {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--amber);
  font: 1.6rem / 1 var(--display);
  letter-spacing: 0.06em;
}
.step h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
}
.step p {
  margin: 0 0 1rem;
  color: var(--copy);
  font-size: 0.98rem;
}
.step-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.ges-note {
  max-width: 40rem;
}
.ges-note p { color: var(--copy); margin: 0 0 1rem }
.ges-note a { color: var(--teal) }

.foot {
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}
.foot a { color: var(--copy) }

@media (max-width: 900px) {
  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .steps { grid-template-columns: 1fr }
}

@media (max-width: 760px) {
  .nav { width: calc(100% - 1.25rem) }
  .navin { min-height: 84px; padding: 0 1rem }
  .mark { width: 52px; height: 52px }
  .brand-name { display: none }
  .menu { display: inline-flex }
  .links {
    display: none;
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem;
    background: rgba(7, 25, 35, 0.96);
    border: 1px solid var(--line);
    border-radius: 14px;
  }
  .links.open { display: flex }
  .links a { padding: 0.75rem 0.9rem; border-radius: 10px }
  .links a:hover { background: rgba(234, 245, 246, 0.06) }
  .hero-inner { padding-bottom: 3.25rem }
}
