:root {
  color-scheme: light;
  --yellow: #ffd900;
  --yellow-hot: #fff200;
  --ink: #080804;
  --soft-ink: #37310b;
  --panel: rgba(255, 255, 255, 0.52);
  --line: rgba(8, 8, 4, 0.14);
  --shadow: 0 28px 70px rgba(71, 58, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 12%, rgba(255, 255, 255, 0.76), transparent 27rem),
    linear-gradient(135deg, #ffe800 0%, #ffd000 46%, #fff36a 100%);
}

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

button {
  font: inherit;
}

.page-shell {
  width: min(1440px, calc(100% - 36px));
  margin: 0 auto;
  padding: 28px 0 34px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 58px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(14px);
}

.nav-actions a {
  min-width: 0;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.92rem;
}

.nav-actions a:hover {
  background: var(--ink);
  color: var(--yellow-hot);
}

.hero {
  display: grid;
  grid-template-columns: minmax(420px, 0.82fr) minmax(520px, 1.18fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  min-height: min(760px, calc(100vh - 120px));
  padding: 34px 0 34px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 20px;
  padding: 9px 13px;
  border: 1px solid rgba(8, 8, 4, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: none;
  font-size: clamp(4.2rem, 6.7vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
}

h1 span {
  display: block;
}

.lede {
  max-width: 600px;
  margin: 26px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.55;
  color: var(--soft-ink);
  font-weight: 650;
  overflow-wrap: anywhere;
}

.entry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.entry {
  min-height: 86px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 17px;
  border: 1px solid rgba(8, 8, 4, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 16px 34px rgba(71, 58, 0, 0.12);
}

.entry span {
  font-size: 0.75rem;
  font-weight: 900;
  color: rgba(8, 8, 4, 0.62);
}

.entry strong {
  font-size: 1.08rem;
  line-height: 1.1;
}

.entry:hover,
.entry.primary {
  background: var(--ink);
  color: var(--yellow-hot);
  transform: translateY(-2px);
}

.entry:hover span,
.entry.primary span {
  color: rgba(255, 242, 0, 0.68);
}

.contract-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-top: 14px;
  min-width: 0;
}

.contract-row code {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid rgba(8, 8, 4, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.38);
  overflow-wrap: anywhere;
  word-break: break-all;
  font-size: 0.88rem;
  font-weight: 800;
}

.copy-button {
  min-width: 106px;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: var(--yellow-hot);
  cursor: pointer;
  font-weight: 950;
}

.hero-art {
  position: relative;
  min-width: 0;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 7% 3% 2% 9%;
  border-radius: 48px;
  background: rgba(255, 255, 255, 0.34);
  filter: blur(34px);
}

.hero-art img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.ticker-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 8px;
}

.ticker-band div {
  min-width: 0;
  min-height: 104px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.33);
}

.ticker-band span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
  color: rgba(8, 8, 4, 0.6);
}

.ticker-band strong {
  font-size: 1rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.official-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.official-grid article {
  min-width: 0;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid rgba(8, 8, 4, 0.16);
  border-radius: 8px;
  background: rgba(8, 8, 4, 0.9);
  color: #fff46a;
  box-shadow: 0 18px 46px rgba(71, 58, 0, 0.14);
}

.official-grid p {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 950;
  color: rgba(255, 244, 106, 0.62);
}

.official-grid h2 {
  margin: 42px 0 14px;
  color: white;
  font-size: clamp(1.7rem, 3vw, 2.65rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.official-grid span {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 700;
  line-height: 1.45;
}

.disclaimer {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.34);
  color: rgba(8, 8, 4, 0.72);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
}

.disclaimer strong {
  flex: 0 0 auto;
  color: var(--ink);
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 56px;
  }

  h1 {
    max-width: 11ch;
  }

  .hero-art {
    max-width: 900px;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: 100%;
    padding: 16px 12px 34px;
  }

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

  .nav-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
  }

  .nav-actions a {
    min-width: 0;
    padding: 0 10px;
    font-size: 0.86rem;
  }

  .hero {
    gap: 28px;
    padding-top: 34px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.7rem, 13vw, 3.35rem);
    line-height: 0.95;
  }

  .lede {
    max-width: 32ch;
  }

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

  .contract-row {
    flex-direction: column;
  }

  .contract-row code,
  .copy-button {
    min-height: 50px;
  }

  .contract-row code {
    width: 100%;
    max-width: 100%;
    display: flex;
    line-height: 1.35;
    min-width: 0;
    text-align: left;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 0.78rem;
  }

  .ticker-band {
    grid-template-columns: 1fr;
  }

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

  .official-grid article {
    min-height: 180px;
  }

  .official-grid h2 {
    margin-top: 28px;
  }

  .disclaimer {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .nav-actions a {
    min-width: 0;
    padding: 0 8px;
    font-size: 0.86rem;
  }

  .brand span {
    font-size: 1rem;
  }

  .hero-art img {
    border-radius: 6px;
  }
}
