:root {
  --navy: #020817;
  --navy-soft: #061a3a;
  --blue: #02469d;
  --blue-bright: #0a74db;
  --gold: #f2bd3c;
  --gold-deep: #b97812;
  --white: #ffffff;
  --muted: #c8d3e2;
  --line: rgba(242, 189, 60, 0.42);
  --panel: rgba(4, 16, 37, 0.88);
  --panel-light: rgba(255, 255, 255, 0.08);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background: var(--navy);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

button {
  cursor: pointer;
}

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

strong {
  color: var(--gold);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2, 8, 23, 0.92);
  border-bottom: 1px solid rgba(242, 189, 60, 0.24);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  width: 230px;
  padding: 0;
  border: 0;
  background: transparent;
  flex: 0 0 auto;
}

.brand img {
  width: 100%;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.site-nav button,
.login-button {
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid transparent;
  color: var(--white);
  background: transparent;
  padding: 10px 13px;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav button:hover,
.site-nav button:focus-visible {
  color: var(--gold);
  border-color: rgba(242, 189, 60, 0.38);
  background: rgba(255, 255, 255, 0.06);
}

.login-button {
  color: #081126;
  background: linear-gradient(135deg, #ffe58d, var(--gold) 48%, #ba7510);
  box-shadow: 0 10px 28px rgba(242, 189, 60, 0.22);
  flex: 0 0 auto;
}

.login-button:hover,
.login-button:focus-visible {
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 42px;
  border: 1px solid rgba(242, 189, 60, 0.38);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  padding: 8px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--gold);
  margin: 5px 0;
}

.hero-section {
  position: relative;
  min-height: min(760px, calc(100svh - 128px));
  overflow: hidden;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(2, 8, 23, 0.96) 0%, rgba(2, 8, 23, 0.82) 38%, rgba(2, 8, 23, 0.28) 100%),
    url("assets/reone-hero.jpg") center / cover no-repeat;
  border-bottom: 1px solid rgba(242, 189, 60, 0.25);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 8, 23, 0.2), rgba(2, 8, 23, 0.95)),
    radial-gradient(circle at 78% 36%, rgba(242, 189, 60, 0.12), transparent 28%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0 70px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-content h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(4.2rem, 11vw, 9.2rem);
  line-height: 0.9;
  color: var(--white);
  text-shadow: 0 14px 36px rgba(0, 0, 0, 0.54);
}

.tagline {
  margin: 16px 0 0;
  color: var(--gold);
  font-size: clamp(1.05rem, 2vw, 1.55rem);
  font-weight: 800;
}

.hero-copy {
  max-width: 640px;
  margin: 22px 0 0;
  color: #eef4ff;
  font-size: clamp(1rem, 1.8vw, 1.24rem);
}

.hero-actions,
.join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-button,
.secondary-button {
  min-height: 48px;
  border-radius: 8px;
  padding: 13px 22px;
  font-weight: 800;
  border: 1px solid var(--line);
}

.primary-button {
  color: #081126;
  background: linear-gradient(135deg, #fff0a5, var(--gold) 48%, var(--gold-deep));
  box-shadow: 0 14px 34px rgba(242, 189, 60, 0.24);
}

.secondary-button {
  color: var(--white);
  background: rgba(4, 16, 37, 0.72);
}

.primary-button:hover,
.primary-button:focus-visible,
.secondary-button:hover,
.secondary-button:focus-visible {
  transform: translateY(-1px);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero-points span {
  border: 1px solid rgba(242, 189, 60, 0.36);
  border-radius: 8px;
  background: rgba(2, 8, 23, 0.66);
  color: var(--white);
  padding: 10px 13px;
  font-size: 0.9rem;
  font-weight: 700;
}

.section {
  scroll-margin-top: 90px;
  position: relative;
  padding: 88px 0;
}

.section-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.about-section,
.why-section,
.terms-section {
  background:
    linear-gradient(135deg, rgba(2, 8, 23, 1), rgba(4, 24, 56, 0.97)),
    linear-gradient(90deg, transparent, rgba(242, 189, 60, 0.08));
}

.mission-section,
.plan-section,
.join-section {
  background:
    linear-gradient(180deg, #071b3b 0%, #020817 100%);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: 54px;
  align-items: start;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

h2,
h3,
p {
  overflow-wrap: anywhere;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.5rem);
  line-height: 1.03;
}

h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
  line-height: 1.2;
}

.section-heading p,
.copy-stack p,
.mission-panel p,
.feature-card p,
.income-card p,
.join-inner p {
  color: var(--muted);
}

.copy-stack {
  display: grid;
  gap: 16px;
  font-size: 1.04rem;
}

.copy-stack p {
  margin: 0;
}

.mission-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.75fr) minmax(0, 1fr);
  gap: 26px;
  align-items: center;
}

.mission-panel,
.feature-card,
.income-card,
.plan-block,
.terms-list article {
  border: 1px solid rgba(242, 189, 60, 0.34);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(5, 24, 56, 0.9), rgba(2, 8, 23, 0.92));
  box-shadow: var(--shadow);
}

.mission-panel {
  min-height: 330px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.panel-icon,
.feature-number,
.income-card span {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #071126;
  background: linear-gradient(135deg, #fff0a5, var(--gold) 54%, var(--gold-deep));
  font-weight: 900;
}

.mission-logo {
  align-self: stretch;
  display: grid;
  place-items: center;
}

.mission-logo img {
  width: min(100%, 360px);
  border: 1px solid rgba(242, 189, 60, 0.42);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.plain-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.plain-list li {
  padding-left: 18px;
  border-left: 3px solid var(--gold);
}

.feature-grid,
.income-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.income-card {
  padding: 24px;
  display: grid;
  gap: 14px;
}

.feature-card {
  min-height: 238px;
}

.income-card {
  min-height: 230px;
}

.plan-block {
  margin-top: 22px;
  padding: 24px;
}

.block-title {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 18px;
}

.block-title p {
  color: var(--muted);
  margin: 0;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(242, 189, 60, 0.28);
  border-radius: 8px;
}

table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  background: rgba(1, 6, 17, 0.76);
}

th,
td {
  padding: 14px 12px;
  border: 1px solid rgba(242, 189, 60, 0.25);
  text-align: center;
  white-space: nowrap;
}

th,
tfoot td {
  color: #061126;
  background: linear-gradient(135deg, #ffe58d, var(--gold) 52%, #bf7b13);
  font-weight: 900;
}

td:first-child,
tbody td:nth-child(2) {
  font-weight: 800;
  color: var(--gold);
}

.terms-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.terms-list article {
  display: grid;
  grid-template-columns: minmax(150px, 0.5fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 86px;
  padding: 18px;
}

.terms-list strong {
  text-transform: uppercase;
}

.terms-list span {
  color: var(--muted);
}

.join-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 360px);
  gap: 44px;
  align-items: center;
}

.join-inner h2 {
  max-width: 760px;
}

.join-inner p {
  max-width: 700px;
  font-size: 1.08rem;
}

.script-line {
  color: var(--gold) !important;
  font-weight: 800;
}

.join-badge img {
  border: 1px solid rgba(242, 189, 60, 0.42);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  padding: 26px 16px;
  color: var(--muted);
  background: #01050f;
  border-top: 1px solid rgba(242, 189, 60, 0.22);
  text-align: center;
}

.site-footer span:first-child {
  color: var(--gold);
  font-weight: 900;
}

button:focus-visible,
.table-wrap:focus-visible {
  outline: 3px solid rgba(10, 116, 219, 0.82);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .header-inner {
    min-height: 70px;
  }

  .brand {
    width: 190px;
  }

  .menu-toggle {
    display: block;
    order: 3;
  }

  .login-button {
    order: 2;
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid rgba(242, 189, 60, 0.28);
    border-radius: 8px;
    background: rgba(2, 8, 23, 0.98);
    box-shadow: var(--shadow);
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .site-nav button {
    width: 100%;
    text-align: left;
  }

  .hero-section {
    min-height: auto;
    background-position: 58% center;
  }

  .hero-content {
    padding: 62px 0 58px;
  }

  .two-column,
  .mission-grid,
  .join-inner {
    grid-template-columns: 1fr;
  }

  .mission-logo {
    order: -1;
  }

  .mission-logo img,
  .join-badge img {
    width: min(100%, 300px);
    margin: 0 auto;
  }

  .feature-grid,
  .income-grid,
  .terms-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .header-inner {
    width: min(100% - 24px, 1180px);
    gap: 10px;
  }

  .brand {
    width: 145px;
  }

  .login-button {
    min-height: 38px;
    padding: 8px 11px;
    font-size: 0.84rem;
  }

  .menu-toggle {
    width: 40px;
    height: 38px;
  }

  .section {
    padding: 62px 0;
  }

  .hero-content {
    width: min(100% - 28px, 1180px);
    padding: 48px 0 48px;
  }

  .hero-content h1 {
    font-size: clamp(3.2rem, 18vw, 5.2rem);
  }

  .hero-actions,
  .join-actions {
    align-items: stretch;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .feature-grid,
  .income-grid,
  .terms-list {
    grid-template-columns: 1fr;
  }

  .mission-panel,
  .feature-card,
  .income-card,
  .plan-block {
    padding: 20px;
  }

  .block-title,
  .terms-list article {
    grid-template-columns: 1fr;
  }

  .block-title {
    display: grid;
    align-items: start;
  }

  th,
  td {
    padding: 12px 10px;
  }
}
