:root {
  --noir: #081412;
  --noir-soft: #10231f;
  --green: #143b34;
  --green-deep: #0d2b26;
  --ivory: #fff8ec;
  --ivory-muted: rgba(255, 248, 236, 0.74);
  --sand: #d8b36c;
  --sand-deep: #bd914c;
  --sand-soft: #efe0c0;
  --paper: #fbf4e6;
  --paper-soft: #f5ead4;
  --ink: #132a26;
  --muted: #746d60;
  --line-dark: rgba(216, 179, 108, 0.28);
  --line-light: rgba(19, 42, 38, 0.14);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  background: var(--noir);
  color: var(--ivory);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.55;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 0%, rgba(216, 179, 108, 0.12), transparent 34%),
    linear-gradient(90deg, rgba(255, 248, 236, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(255, 248, 236, 0.035) 1px, transparent 1px);
  background-size: auto, 86px 86px, 86px 86px;
  content: "";
}

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

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

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

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 800;
  letter-spacing: 0;
}

p {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  width: min(100% - 40px, var(--max));
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 18px auto 0;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(8, 20, 18, 0.82);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
  padding: 10px 12px;
  backdrop-filter: blur(18px);
}

.brand,
.site-nav,
.hero-actions,
.signup-row,
.site-footer,
.brand-panel-meta {
  display: flex;
  align-items: center;
}

.brand {
  width: clamp(128px, 13vw, 174px);
  height: 56px;
  flex: 0 0 auto;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(216, 179, 108, 0.48);
  border-radius: 6px;
  background: rgba(255, 248, 236, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 248, 236, 0.06);
  padding: 6px 12px;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.site-nav {
  justify-content: flex-end;
  gap: 2px;
  min-width: 0;
}

.site-nav a {
  border-radius: 6px;
  color: rgba(255, 248, 236, 0.72);
  font-size: 13px;
  font-weight: 800;
  padding: 10px 12px;
  white-space: nowrap;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus {
  background: rgba(216, 179, 108, 0.12);
  color: var(--ivory);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(54px, 8vw, 96px) max(20px, calc((100vw - var(--max)) / 2))
    clamp(68px, 8vw, 112px);
}

.hero::after {
  position: absolute;
  right: max(20px, calc((100vw - var(--max)) / 2));
  bottom: 34px;
  left: max(20px, calc((100vw - var(--max)) / 2));
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-dark), transparent);
  content: "";
}

.hero-inner {
  position: relative;
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--sand);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
  text-transform: uppercase;
}

.eyebrow::before {
  display: inline-block;
  width: 34px;
  height: 1px;
  background: currentColor;
  content: "";
}

h1 {
  max-width: 680px;
  margin-bottom: 24px;
  color: var(--ivory);
  font-size: clamp(62px, 8.4vw, 116px);
  line-height: 0.92;
  text-wrap: balance;
}

.hero-lede {
  max-width: 620px;
  margin-bottom: 34px;
  color: var(--ivory-muted);
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 500;
  line-height: 1.6;
  text-wrap: balance;
}

.hero-logo-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
}

.brand-panel {
  position: relative;
  width: min(100%, 680px);
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 248, 236, 0.08), rgba(255, 248, 236, 0.015)),
    rgba(16, 35, 31, 0.78);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 248, 236, 0.04);
  padding: clamp(28px, 4vw, 54px);
}

.brand-panel::before,
.brand-panel::after {
  position: absolute;
  right: 18px;
  left: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 179, 108, 0.42), transparent);
  content: "";
}

.brand-panel::before {
  top: 18px;
}

.brand-panel::after {
  bottom: 54px;
}

.hero-logo {
  width: clamp(280px, 38vw, 620px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.brand-panel-meta {
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  color: rgba(255, 248, 236, 0.62);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.button,
.signup-form button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-weight: 900;
  letter-spacing: 0;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.button {
  padding: 13px 20px;
}

.button:hover,
.button:focus,
.signup-form button:hover,
.signup-form button:focus {
  transform: translateY(-2px);
}

.button-primary,
.signup-form button {
  border: 1px solid var(--sand);
  background: var(--sand);
  color: var(--noir);
  box-shadow: 0 16px 38px rgba(216, 179, 108, 0.24);
}

.button-primary:hover,
.button-primary:focus,
.signup-form button:hover,
.signup-form button:focus {
  background: var(--sand-soft);
}

.button-secondary {
  border: 1px solid rgba(255, 248, 236, 0.24);
  background: rgba(255, 248, 236, 0.04);
  color: var(--ivory);
}

.button-secondary:hover,
.button-secondary:focus {
  border-color: rgba(216, 179, 108, 0.7);
  background: rgba(216, 179, 108, 0.1);
}

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

.marketplace,
.vision-section,
.value-section,
.early-access {
  padding: clamp(70px, 9vw, 118px) max(20px, calc((100vw - var(--max)) / 2));
}

.marketplace {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(34px, 7vw, 92px);
  background: var(--paper);
  color: var(--ink);
}

.section-intro,
.vision-copy,
.value-heading,
.early-access > div {
  max-width: 720px;
}

.section-intro h2,
.vision-copy h2,
.value-heading h2,
.early-access h2 {
  margin-bottom: 0;
  color: inherit;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  text-wrap: balance;
}

.marketplace .eyebrow,
.value-section .eyebrow,
.early-access .eyebrow {
  color: var(--sand-deep);
}

.editorial-copy {
  margin: clamp(34px, 5vw, 54px) 0 0;
  border-top: 1px solid var(--line-light);
  color: var(--muted);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.25;
  padding-top: clamp(28px, 4vw, 44px);
  text-wrap: balance;
}

.vision-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.48fr);
  align-items: end;
  gap: clamp(36px, 7vw, 86px);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  background:
    linear-gradient(135deg, rgba(20, 59, 52, 0.96), rgba(8, 20, 18, 0.98)),
    var(--green-deep);
  color: var(--ivory);
}

.vision-copy p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--ivory-muted);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.72;
}

.vision-note {
  border-top: 1px solid var(--line-dark);
  padding-top: 24px;
}

.vision-note span {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid rgba(216, 179, 108, 0.48);
  border-radius: 50%;
  color: var(--sand);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 24px;
}

.vision-note p {
  margin-bottom: 0;
  color: rgba(255, 248, 236, 0.68);
  font-size: 15px;
  line-height: 1.7;
}

.value-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 86px);
  background: var(--paper-soft);
  color: var(--ink);
}

.value-list {
  border-top: 1px solid var(--line-light);
}

.value-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: clamp(18px, 3vw, 34px);
  border-bottom: 1px solid var(--line-light);
  padding: 28px 0;
}

.feature-number {
  color: var(--sand-deep);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 24px;
  line-height: 1;
}

.value-item h3 {
  margin-bottom: 9px;
  color: var(--ink);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.15;
}

.value-item p,
.early-access p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.early-access {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(32px, 6vw, 76px);
  background: var(--paper);
  color: var(--ink);
}

.early-access h2 {
  margin-bottom: 18px;
}

.signup-form {
  border: 1px solid var(--line-light);
  border-radius: 8px;
  background: rgba(255, 248, 236, 0.68);
  box-shadow: 0 20px 60px rgba(19, 42, 38, 0.08);
  padding: 24px;
}

.signup-form label {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.signup-row {
  align-items: stretch;
  gap: 10px;
}

.signup-form input {
  min-height: 52px;
  min-width: 0;
  flex: 1 1 220px;
  border: 1px solid rgba(19, 42, 38, 0.18);
  border-radius: 6px;
  background: #fffaf0;
  color: var(--ink);
  font: inherit;
  padding: 0 15px;
}

.signup-form input:focus {
  border-color: var(--sand-deep);
  outline: 3px solid rgba(216, 179, 108, 0.26);
}

.signup-form button {
  flex: 0 0 auto;
  cursor: pointer;
  font: inherit;
  padding: 0 18px;
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line-dark);
  background: var(--noir);
  color: rgba(255, 248, 236, 0.58);
  padding: 28px max(20px, calc((100vw - var(--max)) / 2));
}

.footer-brand {
  color: var(--ivory);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
}

.site-footer p {
  margin: 0;
  font-size: 13px;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .brand {
    width: 154px;
    align-self: flex-start;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero-inner,
  .marketplace,
  .vision-section,
  .value-section,
  .early-access {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-logo-wrap {
    justify-content: flex-start;
  }

  .brand-panel {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .site-header {
    width: min(100% - 28px, var(--max));
    margin-top: 14px;
    padding: 11px;
  }

  .brand {
    width: 144px;
    height: 50px;
    padding: 5px 10px;
  }

  .site-nav a {
    font-size: 12px;
    padding: 9px 10px;
  }

  .hero {
    padding: 48px 16px 66px;
  }

  .eyebrow {
    gap: 8px;
    font-size: 11px;
  }

  .eyebrow::before {
    width: 18px;
  }

  h1 {
    font-size: clamp(52px, 18vw, 74px);
  }

  .hero-lede {
    font-size: 17px;
  }

  .button,
  .signup-form button {
    width: 100%;
  }

  .hero-actions,
  .signup-row {
    width: 100%;
    flex-direction: column;
  }

  .brand-panel {
    padding: 24px 18px;
  }

  .brand-panel::after {
    bottom: 50px;
  }

  .hero-logo {
    width: min(80vw, 420px);
  }

  .brand-panel-meta {
    font-size: 10px;
  }

  .marketplace,
  .vision-section,
  .value-section,
  .early-access {
    padding-right: 16px;
    padding-left: 16px;
  }

  .section-intro h2,
  .vision-copy h2,
  .value-heading h2,
  .early-access h2 {
    font-size: clamp(33px, 11vw, 47px);
  }

  .editorial-copy {
    font-size: clamp(23px, 8vw, 32px);
  }

  .value-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .signup-form {
    padding: 22px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
