:root {
  --ink: #161512;
  --muted: #625d53;
  --paper: #f7f1e7;
  --line: rgba(22, 21, 18, 0.16);
  --gold: #f1b84b;
  --rust: #ae4f2e;
  --teal: #126b6f;
  --charcoal: #23211d;
  --white: rgba(255, 255, 255, 0.84);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

#market-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(180deg, rgba(247, 241, 231, 0.54), rgba(247, 241, 231, 0.96) 58%, #f7f1e7 100%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(22, 21, 18, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(22, 21, 18, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, black, transparent 72%);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 36px));
  height: 72px;
  margin: 0 auto;
  backdrop-filter: blur(18px);
}

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

.brand {
  gap: 12px;
  font-size: 15px;
  font-weight: 800;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.48);
}

.brand-mark::before {
  position: absolute;
  left: 7px;
  right: 7px;
  top: 16px;
  height: 2px;
  content: "";
  background: var(--charcoal);
}

.brand-mark span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(241, 184, 75, 0.18);
}

nav {
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
}

nav a,
.button {
  min-height: 40px;
  border-radius: 999px;
}

nav a {
  display: grid;
  padding: 0 14px;
  place-items: center;
  color: var(--muted);
}

nav a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.54);
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(28px, 6vw, 92px);
  align-items: end;
  width: min(1180px, calc(100% - 36px));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: clamp(52px, 9vh, 112px) 0 clamp(44px, 9vh, 96px);
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 9ch;
  margin-bottom: 24px;
  font-size: clamp(74px, 12vw, 166px);
  line-height: 0.86;
  letter-spacing: 0;
}

.lede {
  max-width: 660px;
  color: #3c3831;
  font-size: clamp(19px, 2.2vw, 29px);
  font-weight: 500;
  line-height: 1.25;
}

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

.button {
  display: inline-grid;
  padding: 0 18px;
  place-items: center;
  font-size: 14px;
  font-weight: 800;
}

.primary {
  color: #fffaf1;
  background: var(--charcoal);
}

.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
}

.session-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 30px 90px rgba(49, 42, 31, 0.12);
  backdrop-filter: blur(22px);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 800;
}

.levels {
  margin: 0;
}

.levels div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.levels div:last-child {
  border-bottom: 0;
}

dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  margin: 0;
  font-size: 14px;
  font-weight: 750;
}

.band,
.notes {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 220px minmax(0, 680px);
  gap: 40px;
  align-items: start;
  margin-bottom: 34px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 0.96;
  letter-spacing: 0;
}

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

article {
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
}

.icon-line {
  display: block;
  width: 54px;
  height: 8px;
  margin-bottom: 54px;
  border-top: 2px solid var(--charcoal);
  border-bottom: 2px solid var(--gold);
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  letter-spacing: 0;
}

article p,
.notes p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.notes {
  max-width: 780px;
  margin-left: max(18px, calc((100% - 1180px) / 2));
}

.notes h2 {
  margin-bottom: 22px;
}

footer {
  display: flex;
  justify-content: space-between;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 28px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 860px) {
  .topbar {
    height: auto;
    min-height: 64px;
  }

  nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 56px;
  }

  h1 {
    font-size: clamp(68px, 22vw, 112px);
  }

  .session-panel {
    max-width: 460px;
  }

  .section-heading,
  .grid {
    grid-template-columns: 1fr;
  }

  article {
    min-height: 190px;
  }

  footer {
    display: grid;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .topbar,
  .hero,
  .band,
  .notes,
  footer {
    width: min(100% - 28px, 1180px);
  }

  .brand {
    font-size: 14px;
  }

  .lede {
    font-size: 18px;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .levels div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
