:root {
  color-scheme: dark;
  --void: #090706;
  --night: #130d0d;
  --wine: #5f1719;
  --oxblood: #9c0408;
  --bronze: #c0894a;
  --gold: #e6a95c;
  --bone: #ede6da;
  --parchment: #d3c8a7;
  --olive: #606528;
  --plum: #653852;
  --line: rgba(237, 230, 218, 0.16);
  --panel: rgba(19, 13, 13, 0.78);
  --shadow: rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--void);
  color: var(--bone);
  font-family:
    "Space Grotesk", Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

button,
input,
select {
  font: inherit;
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 clamp(18px, 4vw, 42px);
  border-bottom: 1px solid rgba(192, 137, 74, 0.24);
  background: linear-gradient(180deg, rgba(9, 7, 6, 0.92), rgba(9, 7, 6, 0.56));
  backdrop-filter: blur(14px);
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  color: var(--bone);
  font-weight: 800;
  letter-spacing: 0.12em;
}

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--oxblood);
  box-shadow: 0 0 18px rgba(156, 4, 8, 0.9);
}

.nav {
  gap: clamp(14px, 3vw, 32px);
  color: rgba(237, 230, 218, 0.72);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.nav a:hover {
  color: var(--gold);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  border-bottom: 1px solid rgba(192, 137, 74, 0.26);
}

.hero-image,
.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image img {
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(1.08) brightness(0.72);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 7, 6, 0.93), rgba(9, 7, 6, 0.58) 48%, rgba(9, 7, 6, 0.34)),
    linear-gradient(0deg, rgba(9, 7, 6, 0.96), rgba(9, 7, 6, 0.05) 46%, rgba(9, 7, 6, 0.72));
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  justify-content: center;
  width: min(760px, calc(100% - 36px));
  padding: 120px 0 68px;
  margin-left: clamp(18px, 7vw, 96px);
}

.eyebrow,
.counter-label,
.tier-name,
.range-label,
label,
.form-note {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin: 0 0 20px;
  color: var(--bone);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.2rem, 13vw, 10rem);
  line-height: 0.83;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
}

h2 {
  margin-bottom: 0;
  color: var(--bone);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.15rem, 5.5vw, 5.5rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

p {
  color: var(--parchment);
  line-height: 1.55;
}

.hero-line {
  max-width: 620px;
  margin-bottom: 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 3vw, 2.6rem);
  color: var(--parchment);
}

.counter-label {
  width: fit-content;
  margin-bottom: 22px;
  padding: 10px 0;
  color: var(--bone);
  border-top: 1px solid rgba(192, 137, 74, 0.45);
  border-bottom: 1px solid rgba(192, 137, 74, 0.45);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  color: var(--bone);
  font-weight: 900;
  letter-spacing: 0.04em;
}

.button.primary {
  border-color: rgba(156, 4, 8, 0.92);
  background: linear-gradient(135deg, var(--oxblood), #78201a);
  box-shadow: 0 0 22px rgba(156, 4, 8, 0.24);
}

.button.secondary {
  background: rgba(237, 230, 218, 0.08);
}

.band {
  padding: clamp(54px, 9vw, 120px) clamp(18px, 5vw, 76px);
  border-bottom: 1px solid rgba(101, 56, 82, 0.42);
}

.intro-band,
.activation-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: clamp(26px, 6vw, 78px);
  align-items: start;
  background:
    linear-gradient(180deg, rgba(95, 23, 25, 0.18), transparent),
    var(--void);
}

.intro-copy p,
.activation-copy p {
  max-width: 720px;
  margin-top: 24px;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
}

.progress-panel,
.interest-form,
.tier-grid article {
  border: 1px solid rgba(192, 137, 74, 0.25);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 24px 60px var(--shadow);
}

.progress-panel {
  padding: 24px;
}

.progress-head,
.amount-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

.progress-head span,
.amount-row {
  color: rgba(211, 200, 167, 0.78);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.progress-head strong {
  color: var(--bone);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  line-height: 1;
}

.meter {
  height: 16px;
  margin: 22px 0 12px;
  overflow: hidden;
  border: 1px solid rgba(237, 230, 218, 0.14);
  border-radius: 999px;
  background: rgba(9, 7, 6, 0.8);
}

.meter span {
  display: block;
  width: 18%;
  height: 100%;
  background: linear-gradient(90deg, var(--olive), var(--gold), var(--oxblood));
}

.range-label {
  display: block;
  margin-top: 22px;
}

input[type="range"] {
  width: 100%;
  margin-top: 12px;
  accent-color: var(--gold);
}

.tier-band {
  background: #100a0b;
}

.section-heading {
  max-width: 1180px;
  margin: 0 auto 32px;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
}

.tier-grid article {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
}

.tier-grid strong {
  color: var(--bone);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 500;
}

.tier-grid p {
  margin-bottom: 0;
}

.image-band {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  padding: clamp(28px, 5vw, 76px);
  border-bottom: 1px solid rgba(101, 56, 82, 0.42);
  background: #0c0908;
}

.image-band img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid rgba(192, 137, 74, 0.24);
}

.image-band p {
  max-width: 560px;
  margin-top: 22px;
}

.interest-form {
  display: grid;
  gap: 14px;
  padding: 22px;
}

label {
  display: grid;
  gap: 8px;
  color: rgba(211, 200, 167, 0.78);
}

input,
select {
  min-height: 44px;
  width: 100%;
  border: 1px solid rgba(237, 230, 218, 0.18);
  border-radius: 4px;
  background: rgba(9, 7, 6, 0.86);
  color: var(--bone);
  padding: 0 12px;
  outline: none;
}

input:focus,
select:focus {
  border-color: var(--gold);
}

.form-note {
  margin: 0;
  color: rgba(211, 200, 167, 0.7);
}

@media (max-width: 940px) {
  .intro-band,
  .activation-band,
  .image-band,
  .tier-grid {
    grid-template-columns: 1fr;
  }

  .tier-grid article {
    min-height: 210px;
  }
}

@media (max-width: 640px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    min-height: 82px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: calc(100vw - 28px);
    gap: 0;
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }

  .nav a {
    text-align: center;
  }

  .nav a:first-child {
    text-align: left;
  }

  .nav a:last-child {
    text-align: right;
  }

  .hero-content {
    width: min(100% - 28px, 640px);
    margin-left: 14px;
    padding-top: 124px;
  }

  h1 {
    font-size: clamp(2.65rem, 13.5vw, 3.5rem);
  }

  .hero-actions .button {
    width: 100%;
  }
}

.version-switcher {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: grid;
  gap: 8px;
  min-width: 214px;
  padding: 12px;
  border: 1px solid rgba(192, 137, 74, 0.42);
  border-radius: 8px;
  background: rgba(9, 7, 6, 0.9);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(12px);
}

.version-switcher span {
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.version-switcher nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.version-switcher a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--parchment);
  font-size: 0.76rem;
  font-weight: 900;
}

.version-switcher a.active {
  border-color: var(--gold);
  background: var(--gold);
  color: #170e08;
}

@media (max-width: 640px) {
  .version-switcher {
    right: 10px;
    bottom: 10px;
    left: 10px;
    min-width: 0;
  }
}
