:root {
  color-scheme: dark;
  --ink: #f7efd9;
  --muted: rgba(247, 239, 217, 0.7);
  --soft: rgba(247, 239, 217, 0.12);
  --paper: #070807;
  --panel: #11130f;
  --panel-2: #191c15;
  --green: #6d8a35;
  --blue: #0f4f8c;
  --sun: #ffb45e;
  --rose: #e85c67;
  --line: rgba(247, 239, 217, 0.18);
  --shadow: rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
}

body.gate-open {
  overflow: hidden;
}

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

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

.intro-gate {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  background:
    linear-gradient(0deg, rgba(5, 6, 5, 0.88), rgba(5, 6, 5, 0.64)),
    url("assets/let/token-main.jpg") center / cover;
  color: var(--ink);
  cursor: pointer;
  text-align: center;
  transition: opacity 700ms ease, visibility 700ms ease;
}

.intro-gate span {
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(1.8rem, 6vw, 5.4rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.intro-gate small {
  color: var(--muted);
  font-size: 0.92rem;
}

.intro-gate.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.gate-button {
  min-height: 46px;
  padding: 13px 18px;
  border: 1px solid var(--line);
  background: var(--ink);
  color: #070807;
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gate-button:hover,
.intro-gate:focus-visible .gate-button {
  background: #fff8df;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.82fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(18px, 4vw, 58px);
  background:
    radial-gradient(circle at 77% 28%, rgba(16, 79, 140, 0.34), transparent 31%),
    radial-gradient(circle at 58% 72%, rgba(255, 180, 94, 0.2), transparent 36%),
    linear-gradient(120deg, #080908 0%, #11140f 52%, #070807 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 8, 7, 0.96), rgba(7, 8, 7, 0.68) 48%, rgba(7, 8, 7, 0.24)),
    url("assets/let/token-main.jpg") center right / cover;
  opacity: 0.34;
  filter: saturate(0.85);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  z-index: -1;
  background: linear-gradient(0deg, rgba(7, 8, 7, 0.92), transparent);
}

.topbar {
  position: absolute;
  top: clamp(14px, 2.4vw, 30px);
  left: clamp(18px, 4vw, 58px);
  right: clamp(18px, 4vw, 58px);
  z-index: 3;
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: clamp(12px, 2vw, 22px);
  align-items: center;
  color: var(--ink);
}

.brand,
h1,
h2,
h3,
.eyebrow {
  font-family: "Archivo Black", Impact, sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand {
  font-size: clamp(1.1rem, 2.4vw, 1.7rem);
}

.contract-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: min(46vw, 430px);
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: rgba(247, 239, 217, 0.08);
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.78rem;
}

.contract-chip strong {
  color: var(--ink);
  overflow-wrap: anywhere;
  text-transform: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(10px, 2vw, 22px);
  color: var(--muted);
  font-size: clamp(0.72rem, 1.4vw, 0.88rem);
  text-transform: uppercase;
}

.nav-links a {
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  padding-top: 96px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--sun);
  font-size: clamp(0.78rem, 1.5vw, 0.96rem);
}

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

h1,
h2 {
  line-height: 0.9;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(5.8rem, 17vw, 16rem);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.6rem, 6vw, 6.4rem);
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
}

.hero-copy p:not(.eyebrow),
.section-copy p,
.community-card p,
.contract p,
li {
  color: var(--muted);
  font-size: clamp(1rem, 1.75vw, 1.24rem);
  line-height: 1.6;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid var(--line);
  background: rgba(247, 239, 217, 0.08);
  color: var(--ink);
  text-transform: uppercase;
  font-size: 0.84rem;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: rgba(247, 239, 217, 0.14);
}

.button.primary {
  background: var(--ink);
  color: #070807;
}

.hero-art {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  justify-self: center;
  margin: 0;
  border: 1px solid rgba(247, 239, 217, 0.24);
  background:
    linear-gradient(180deg, rgba(247, 239, 217, 0.1), rgba(247, 239, 217, 0.02)),
    #0d0f0c;
  box-shadow: 0 36px 90px var(--shadow);
}

.hero-art img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.quiet-section,
.compare,
.fingers,
.gallery,
.source-pack,
.community,
.contract {
  padding: clamp(58px, 8vw, 118px) clamp(18px, 5vw, 70px);
}

.quiet-section,
.fingers {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(300px, 0.62fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
}

.quiet-section {
  background:
    radial-gradient(circle at 12% 12%, rgba(109, 138, 53, 0.2), transparent 26%),
    #0b0d0b;
}

.fingers {
  grid-template-columns: minmax(300px, 0.62fr) minmax(0, 0.98fr);
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 180, 94, 0.14), transparent 28%),
    #0a0b0a;
}

.section-copy {
  width: min(820px, 100%);
}

.side-art,
.wide-art {
  margin: 0;
  border: 1px solid rgba(247, 239, 217, 0.22);
  background: var(--panel);
  box-shadow: 0 28px 72px var(--shadow);
  overflow: hidden;
}

.side-art {
  width: min(460px, 100%);
  justify-self: center;
}

.side-art img {
  width: 100%;
  max-height: 680px;
  object-fit: contain;
}

.side-art.muted img {
  filter: saturate(0.55) contrast(1.02);
}

.compare {
  background: #10130e;
}

.compare > .section-copy {
  margin: 0 auto 34px;
  text-align: center;
}

.compare-grid {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 auto 34px;
}

.compare-grid article,
.community-card,
.contract-box {
  border: 1px solid var(--line);
  background: rgba(247, 239, 217, 0.07);
  padding: clamp(20px, 3vw, 32px);
}

ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.wide-art {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.wide-art img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.gallery {
  background:
    linear-gradient(180deg, #080908 0%, #12150f 52%, #080908 100%);
}

.gallery-heading {
  margin: 0 auto 34px;
  text-align: center;
}

.gallery-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  min-height: 520px;
  border: 1px solid rgba(247, 239, 217, 0.2);
  background: #0d0f0c;
  overflow: hidden;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  filter: saturate(0.86);
}

.gallery-grid img:first-child,
.gallery-grid img:nth-child(2) {
  filter: saturate(1);
}

.source-pack {
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 180, 94, 0.12), transparent 28%),
    radial-gradient(circle at 86% 82%, rgba(16, 79, 140, 0.16), transparent 30%),
    #0b0d0b;
}

.source-pack-heading {
  margin: 0 auto 34px;
  text-align: center;
}

.source-pack-heading p:not(.eyebrow) {
  margin-inline: auto;
  max-width: 660px;
}

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

.source-grid figure {
  display: grid;
  grid-template-rows: 420px 42px;
  margin: 0;
  border: 1px solid rgba(247, 239, 217, 0.2);
  background: rgba(247, 239, 217, 0.06);
  overflow: hidden;
}

.source-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0d0f0c;
}

.source-grid figcaption {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-top: 1px solid rgba(247, 239, 217, 0.14);
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.community {
  min-height: 72svh;
  display: grid;
  place-items: center;
  background:
    linear-gradient(0deg, rgba(7, 8, 7, 0.86), rgba(7, 8, 7, 0.68)),
    url("assets/let/token-main.jpg") center / cover;
}

.community-card {
  width: min(720px, 100%);
  text-align: center;
  backdrop-filter: blur(12px);
}

.community-card .button {
  margin-top: 18px;
}

.contract {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background:
    radial-gradient(circle at 12% 84%, rgba(255, 180, 94, 0.15), transparent 28%),
    #090a08;
}

.contract-box {
  display: grid;
  gap: 10px;
  width: 100%;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.contract-box span {
  text-transform: uppercase;
  font-size: 0.82rem;
}

.contract-box strong {
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(1.05rem, 2.5vw, 2.6rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
  text-transform: none;
}

.contract-box small {
  font-size: 0.82rem;
  text-transform: uppercase;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 26px clamp(18px, 5vw, 70px);
  border-top: 1px solid var(--line);
  background: #050605;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.82rem;
}

footer a {
  color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 980px) {
  .hero,
  .quiet-section,
  .fingers,
  .contract {
    grid-template-columns: 1fr;
  }

  .topbar {
    grid-template-columns: 1fr;
  }

  .contract-chip {
    order: 3;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .compare-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .source-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .source-grid figure {
    grid-template-rows: 430px 42px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 138px;
  }

  h1 {
    font-size: clamp(5rem, 28vw, 8rem);
  }

  h2 {
    font-size: clamp(2.4rem, 13vw, 4.6rem);
  }

  .button {
    width: 100%;
  }

  .quiet-section,
  .compare,
  .fingers,
  .gallery,
  .source-pack,
  .community,
  .contract {
    padding-inline: 16px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .gallery-grid img {
    min-height: auto;
    height: auto;
    object-fit: contain;
    background: #0d0f0c;
  }

  .source-grid {
    grid-template-columns: 1fr;
  }

  .source-grid figure {
    grid-template-rows: minmax(420px, 68vh) 42px;
  }
}
