.club-home {
  background: #131615;
}

.frame {
  width: min(88.5%, 1350px);
  margin-inline: auto;
}

.masthead {
  position: relative;
  z-index: 4;
  background: #131615;
  border-bottom: 1px solid #343935;
}

.topbar,
.main-nav,
.header-actions,
.member-entry,
.hero-actions,
.sample-link,
.market-line,
.market,
.footer-line,
.site-footer nav,
.preview-links {
  display: flex;
  align-items: center;
}

.topbar {
  min-height: 76px;
  gap: 24px;
  justify-content: space-between;
}

.brand-lockup img {
  display: block;
  width: 165px;
  height: auto;
}

.main-nav {
  gap: clamp(22px, 3vw, 45px);
}

.main-nav a,
.mobile-nav a,
.site-footer nav a {
  text-decoration: none;
  font-size: .88rem;
  color: #b9bfb9;
  font-weight: 500;
}

.main-nav a:hover,
.mobile-nav a:hover,
.site-footer nav a:hover {
  color: var(--ink);
}

.header-actions {
  gap: 9px;
}

.member-entry {
  min-height: 40px;
  gap: 8px;
  border: 1px solid #4b514d;
  border-radius: 5px;
  padding: 8px 15px;
  text-decoration: none;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink);
}

.member-entry:hover {
  background: #272c28;
  border-color: #7d867d;
}

.member-entry svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.65;
  fill: none;
  stroke-linecap: round;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

.mobile-nav {
  display: none;
  padding: 0 0 12px;
}

.mobile-nav a {
  display: block;
  padding: 11px 0;
}

.hero {
  overflow: hidden;
  background: #131615;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: center;
  min-height: clamp(465px, 40.5vw, 620px);
  position: relative;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding-block: 42px 55px;
}

.hero-kicker,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 500 .71rem/1.5 var(--mono);
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #d4dbce;
}

.hero-kicker>span {
  width: 19px;
  height: 2px;
  background: var(--accent);
}

.hero h1 {
  font-size: clamp(4.4rem, 7.3vw, 6rem);
  font-weight: 550;
  letter-spacing: -.04em;
  line-height: .99;
  margin: 23px 0 22px;
  text-wrap: balance;
}

.hero h1 span {
  color: var(--accent);
}

.hero-intro {
  max-width: 378px;
  font-size: clamp(1rem, 1.23vw, 1.15rem);
  line-height: 1.55;
  color: #b6bdb6;
  text-wrap: pretty;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 23px;
  margin-top: 29px;
}

.hero-actions .tm-btn,
.join-section .tm-btn {
  min-height: 47px;
  padding-inline: 20px;
}

.sample-link,
.text-link {
  min-height: 44px;
  color: #e2e5dd;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
}

.sample-link {
  gap: 9px;
}

.sample-link:hover,
.text-link:hover {
  color: var(--accent);
}

.sample-play {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid #929a91;
  display: grid;
  place-items: center;
}

.sample-play::before {
  content: "";
  width: 0;
  height: 0;
  border: 3.4px solid transparent;
  border-right: 0;
  border-left: 5px solid currentColor;
  margin-left: 2px;
}

.hero-art {
  width: 118%;
  justify-self: end;
  margin-right: -8%;
  line-height: 0;
}

.hero-art img,
.tier-visual img {
  display: block;
  width: 100%;
  height: auto;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent), linear-gradient(to bottom, transparent, #000 8%, #000 91%, transparent);
  mask-composite: intersect;
}

.market-band {
  background: #181c19;
  border-block: 1px solid #363c36;
}

.market-line {
  min-height: 67px;
  gap: 32px;
  justify-content: space-between;
}

.market-line>p,
.instrument-id {
  font: 500 .72rem/1.45 var(--mono);
}

.market-line>p {
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #a6afa5;
}

.market {
  gap: 12px;
  min-height: 30px;
}

.market strong {
  font-size: .9rem;
  font-weight: 550;
  color: #e4e8df;
}

.instrument-id {
  color: #a1aaa0;
  white-space: nowrap;
}

.asset-symbol {
  width: 27px;
  height: 27px;
  border: 1px solid #596357;
  border-radius: 50%;
  display: grid;
  place-items: center;
  line-height: 1;
  font: 600 .72rem var(--sans);
  color: #d9dfd4;
}

.fx-symbol {
  font-style: italic;
  font-size: .84rem;
}

.btc-symbol {
  font-size: 1rem;
}

.desk-section {
  padding-block: clamp(48px, 5.4vw, 84px) clamp(48px, 5.4vw, 84px);
}

.home-section-head {
  margin-bottom: 26px;
}

.club-home h2 {
  font-weight: 550;
  letter-spacing: -.04em;
  line-height: 1.03;
  font-size: clamp(2.4rem, 4vw, 3.9rem);
  text-wrap: balance;
}

.home-section-head p,
.section-intro {
  color: #aeb7ae;
  font-size: 1rem;
  line-height: 1.6;
  margin-top: 11px;
}

.preview-links {
  flex-wrap: wrap;
  gap: 2px 20px;
  padding-top: 15px;
  color: var(--muted);
  font-size: .82rem;
}

.preview-links button {
  border: 0;
  min-height: 38px;
  padding: 4px 0;
  background: transparent;
  color: #cfdbc2;
  font-weight: 550;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: .82rem;
}

.preview-links button:hover {
  color: var(--accent);
}

.membership-section {
  border-block: 1px solid var(--rule);
}

.membership-layout {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(18px, 3vw, 48px);
  padding-block: clamp(38px, 5vw, 78px);
}

.section-kicker {
  color: #a7b0a3;
  margin-bottom: 15px;
}

.section-intro {
  max-width: 46ch;
}

.tier-controls {
  margin-top: 24px;
  display: inline-flex;
  padding: 4px;
  border-radius: 5px;
  border: 1px solid #3c453b;
  background: #1b201c;
}

.tier-controls button {
  min-width: 95px;
  padding: 8px 13px;
  min-height: 38px;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: .86rem;
  border-radius: 3px;
}

.tier-controls button[aria-pressed="true"] {
  background: #d7ddd0;
  color: #22291d;
}

.tier-controls button:not([aria-pressed="true"]):hover {
  color: #e6eadd;
}

.tier-details {
  margin-top: 21px;
}

.tier-details h3 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -.025em;
}

.tier-details p {
  margin: 2px 0;
  font-size: .93rem;
  color: var(--muted);
}

.tier-includes {
  list-style: none;
  padding: 0;
  margin: 12px 0 7px;
}

.tier-includes li {
  display: flex;
  align-items: baseline;
  gap: 11px;
  padding: 3px 0;
  font-size: .9rem;
  color: #d3d8cf;
}

.tier-includes li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 5px;
  border-left: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
  transform: translateY(-2px) rotate(-46deg);
}

.text-link {
  display: inline-flex;
  align-items: center;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: #768371;
}

.tier-visual {
  line-height: 0;
  min-width: 0;
}

.join-section {
  padding-block: clamp(48px, 6vw, 90px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.join-section h2 {
  font-size: clamp(2.7rem, 4.2vw, 4.3rem);
  letter-spacing: -.04em;
}

.join-heading .tm-btn {
  margin-top: 25px;
}

.join-steps {
  list-style: none;
  padding: 0;
  margin: 0;
}

.join-steps li {
  display: flex;
  gap: 22px;
  padding: 16px 0 19px;
  border-bottom: 1px solid var(--rule);
}

.join-steps li:first-child {
  padding-top: 0;
}

.join-steps li>span {
  color: #a4afa0;
  font: 500 .73rem/1.6 var(--mono);
  padding-top: 3px;
}

.join-steps h3 {
  font-size: 1.08rem;
  letter-spacing: -.015em;
  font-weight: 600;
}

.join-steps p {
  font-size: .94rem;
  color: var(--muted);
  margin-top: 5px;
  max-width: 46ch;
}

.site-footer {
  background: #101311;
  border-top: 1px solid var(--rule);
  padding: 27px 0 24px;
}

.footer-line {
  justify-content: space-between;
  gap: 20px;
}

.footer-line .brand-lockup img {
  width: 139px;
}

.site-footer nav {
  gap: 25px;
}

.site-footer nav a {
  font-size: .81rem;
}

.risk-note {
  margin-top: 21px;
  font-size: .76rem;
  color: #a1aba0;
}

@media (min-width:1650px) {
  .hero-art {
    width: 110%;
    margin-right: -4%;
  }
}

@media (max-width:1000px) {
  .frame {
    width: 91%;
  }

  .main-nav {
    gap: 24px;
  }

  .hero-layout {
    min-height: 455px;
    grid-template-columns: .94fr 1.06fr;
  }

  .hero h1 {
    font-size: clamp(4.1rem, 8.4vw, 5.3rem);
  }

  .hero-art {
    width: 120%;
    margin-right: -10%;
  }

  .market-line {
    gap: 18px;
  }

  .market {
    gap: 8px;
  }

  .market-line>p {
    font-size: .65rem;
  }

  .instrument-id {
    font-size: .68rem;
  }
}

@media (max-width:760px) {
  .frame {
    width: calc(100% - 40px);
  }

  .topbar {
    min-height: 65px;
    gap: 12px;
  }

  .topbar .brand-lockup img {
    width: 138px;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-nav:not([hidden]) {
    display: grid;
    border-top: 1px solid var(--rule);
    padding-top: 5px;
  }

  .member-entry {
    min-height: 38px;
    padding: 7px 10px;
    font-size: .77rem;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy {
    padding: 42px 0 0;
  }

  .hero h1 {
    font-size: clamp(3.9rem, 11.2vw, 5.5rem);
    margin: 17px 0;
    line-height: .99;
  }

  .hero-intro {
    max-width: 395px;
  }

  .hero-actions {
    gap: 19px;
    margin-top: 22px;
  }

  .hero-kicker {
    font-size: .67rem;
  }

  .hero-art {
    justify-self: center;
    width: min(110%, 580px);
    margin: -2px 0 0;
  }

  .market-line {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    min-height: 76px;
    padding: 10px 0;
  }

  .market-line>p {
    display: none;
  }

  .market {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 2px 6px;
    align-content: center;
  }

  .market+.market {
    border-left: 1px solid var(--rule);
    padding-left: 8px;
  }

  .asset-symbol {
    width: 23px;
    height: 23px;
    grid-row: span 2;
    align-self: center;
  }

  .market strong {
    font-size: .79rem;
    line-height: 1.25;
  }

  .instrument-id {
    font-size: .65rem;
  }

  .desk-section {
    padding-block: 36px 40px;
  }

  .home-section-head {
    margin-bottom: 18px;
  }

  .home-section-head p,
  .section-intro {
    font-size: .95rem;
    margin-top: 8px;
  }

  .membership-layout,
  .join-section {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .membership-layout {
    padding-block: 39px 23px;
  }

  .tier-visual {
    max-width: 500px;
    width: 100%;
    justify-self: center;
  }

  .join-section {
    padding-block: 41px;
    gap: 32px;
  }

  .join-heading h2 br {
    display: none;
  }

  .join-heading h2 {
    max-width: 16ch;
  }

  .section-kicker {
    margin-bottom: 11px;
  }

  .join-heading .tm-btn {
    margin-top: 16px;
  }

  .footer-line {
    align-items: flex-start;
  }

  .site-footer nav {
    gap: 6px;
    flex-direction: column;
    align-items: flex-end;
  }
}

@media(max-width:400px) {
  .frame {
    width: calc(100% - 32px);
  }

  .topbar .brand-lockup img {
    width: 128px;
  }

  .header-actions {
    gap: 3px;
  }

  .menu-toggle {
    width: 32px;
  }

  .hero-actions {
    gap: 12px;
  }

  .hero-actions .tm-btn {
    padding-inline: 14px;
  }

  .sample-link {
    font-size: .82rem;
  }

  .market-line {
    gap: 4px;
  }

  .market {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .asset-symbol {
    display: none;
  }

  .market strong {
    font-size: .76rem;
  }
}

@media(min-width:540px) and (max-width:760px) {
  .hero-copy {
    padding-top: 42px;
  }

  .hero-art {
    width: min(90%, 500px);
    margin-top: -10px;
    margin-right: 0;
    justify-self: center;
  }

  .hero-intro {
    max-width: 370px;
  }
}
