.market {
  --cream: #faf8ee;
  --pine: #273d31;
  --lime: #dceaae;
  background: var(--cream);
  color: var(--pine);
}
.market .mast,
.land-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px max(5vw, calc((100vw - 1320px) / 2));
  background: var(--cream);
  border-bottom: 1px solid #d5d9ca;
  position: relative;
  z-index: 2;
}
.market .brand {
  margin: 0;
}
.wordmark:hover {
  text-decoration: none;
}
.mast-links,
.mast-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}
.mast-links a,
.text-link,
.land-footer > a {
  font-weight: 600;
}
.mast .btn,
.hero .btn {
  background: var(--pine);
  padding: 12px 18px;
}
.market .land-main {
  display: block;
  max-width: none;
  margin: 0;
  padding: 0;
}
.hero,
.walk,
.land-modules {
  padding: clamp(40px, 6vw, 92px) max(5vw, calc((100vw - 1320px) / 2));
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: clamp(28px, 5vw, 84px);
}
.hero h1,
.walk h2,
.land-modules h2,
.journey h3 {
  font-family: inherit;
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.98;
  font-size: clamp(54px, 6.6vw, 104px);
}
.hero h1 em {
  color: #587144;
  font-weight: 400;
}
.hero-copy > p {
  max-width: 42ch;
  margin: 24px 0 28px;
  font-size: clamp(16px, 1.3vw, 20px);
  color: #465645;
}
.hero-actions {
  gap: 16px;
  flex-wrap: wrap;
}
.hero-visual {
  margin: 0;
  min-width: 0;
  position: relative;
  isolation: isolate;
  padding-bottom: 17px;
}





.walk {
  background: var(--pine);
  color: #fcf8e9;
}
.walk-heading {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: end;
  gap: 40px;
  margin-bottom: 34px;
}
.walk h2,
.land-modules h2 {
  font-size: clamp(37px, 4.2vw, 67px);
  line-height: 1.04;
}
.walk p {
  color: #d8e1cd;
}
.walk-heading > p {
  font-size: 17px;
  max-width: 43ch;
}
.eyeline {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 10px;
}
.journey {
  background: #f9f8ed;
  color: var(--pine);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
.journey > input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  min-height: 0;
}
.steps {
  display: flex;
  border-bottom: 1px solid #ccd0bf;
  background: #e7eadb;
}
.steps label {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 22px;
  cursor: pointer;
}
.journey-scene {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  align-items: center;
  padding: clamp(22px, 3.5vw, 50px);
}
.journey h3 {
  font-size: clamp(30px, 3.3vw, 52px);
  line-height: 1;
}
.journey p {
  color: #50604f;
  max-width: 40ch;
  margin-top: 12px;
}
.journey dl,
.journey dd {
  margin: 0;
}
.journey dl > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #d4d8c9;
}
.journey dt {
  color: #546250;
}
.journey dd {
  font-weight: 700;
}
#demo-stock:checked ~ .scenes .scene-stock,
#demo-order:checked ~ .scenes .scene-order,
#demo-cash:checked ~ .scenes .scene-cash {
  display: grid;
}
#demo-chat:checked ~ .steps [for="demo-chat"],
#demo-stock:checked ~ .steps [for="demo-stock"],
#demo-order:checked ~ .steps [for="demo-order"],
#demo-cash:checked ~ .steps [for="demo-cash"] {
  background: var(--lime);
  box-shadow: inset 0 -2px var(--pine);
}
#demo-stock:focus-visible ~ .steps [for="demo-stock"],
#demo-order:focus-visible ~ .steps [for="demo-order"],
#demo-cash:focus-visible ~ .steps [for="demo-cash"] {
  outline: 2px solid var(--pine);
  outline-offset: -4px;
}
.module-book {
  border-top: 1px solid #b9c3ae;
}
.module-book details {
  border-bottom: 1px solid #b9c3ae;
}
.module-book summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 4px;
  list-style: none;
  font-size: 22px;
  font-weight: 550;
}
.module-book details[open] summary span:last-child {
  transform: rotate(45deg);
}
.module-book ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  padding: 0 4px 24px;
  gap: 12px;
  margin: 0;
}
.module-book li {
  display: flex;
  align-items: center;
  gap: 9px;
}
.land-footer {
  border: 0;
  border-top: 1px solid #d5d9ca;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 5;
  background: white;
  padding: 10px;
}
@media (max-width: 750px) {
  .mast-links {
    display: none;
  }
  .mast-actions {
    gap: 10px;
  }
  .hero,
  .walk-heading,
  .journey-scene {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .hero {
    padding-top: 38px;
    gap: 26px;
  }

  .hero-copy > p {
    margin: 16px 0;
  }
  .walk-heading > p {
    font-size: 15px;
  }
  .steps label {
    flex: 1;
    justify-content: center;
    padding: 14px 4px;
    font-size: 12px;
  }
  .journey-scene {
    min-height: 250px;
  }
  .land-footer {
    flex-wrap: wrap;
  }
  .mast > .wordmark .brand {
    font-size: 19px;
  }
  .mast .btn {
    padding: 8px 10px;
  }
}

@media (max-width: 475px) {
  .market .mast {
    gap: 8px;
  }
  .mast-actions {
    gap: 7px;
  }
  .mast .btn {
    white-space: nowrap;
    font-size: 12px;
  }
  .mast .brand {
    gap: 7px;
  }
  .mast .brand > .icon {
    width: 32px;
    height: 32px;
  }
  .mast .btn span {
    display: none;
  }


}

.market .hero h1 {
  font-size: clamp(48px, 6.2vw, 94px);
  line-height: 1.01;
  font-weight: 540;
  letter-spacing: -.04em;
}
.market .hero h1 em { font-style: normal; font-weight: inherit; }


#demo-chat:checked ~ .scenes .scene-chat { display: grid; }
#demo-chat:focus-visible ~ .steps [for="demo-chat"] { outline: 2px solid currentColor; outline-offset: -4px; }
@media (max-width: 475px) {
  .steps label { gap: 4px; min-width: 0; }
  .steps .icon { display: none; }
}

.module-book details > p { margin: 0 4px 18px; color: #455c4f; }
.film-screen { margin: 0 0 clamp(28px, 4vw, 60px); }
.film-screen video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #20382b; border-radius: 12px; }
.film-screen figcaption { margin-top: 10px; font-size: .875rem; color: #d8e1cd; }

.hero-stage {
  position: relative;
  height: clamp(330px, 34vw, 510px);
  overflow: hidden;
  isolation: isolate;
  border-radius: 82px 14px 14px 14px;
  background: #e9e2d4;
}
.hero-slide, .hero-still, .hero-slide img {
  width: 100%;
  height: 100%;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 240ms ease-out, visibility 0s linear 240ms;
}
.hero-slide[data-active] {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}
.hero-visual { padding-bottom: 0; }
.hero-slide img, .hero-still { display: block; object-fit: cover; }
.hero-caption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  max-width: calc(100% - 36px);
  background: #fffdf5;
  color: var(--pine);
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 600;
  line-height: 1.35;
  font-size: clamp(13px, 1.1vw, 16px);
}
.hero-transport:not([hidden]) {
  display: flex;
  position: absolute;
  top: 12px;
  right: 12px;
  gap: 2px;
  padding: 3px;
  border-radius: 30px;
  background: #fffdf5;
}
.hero-transport button {
  min-width: 40px;
  min-height: 40px;
  padding: 4px;
  background: transparent;
  border: 0;
  color: var(--pine);
  border-radius: 50%;
  font: 600 17px/1 "DM Sans", sans-serif;
}
.hero-transport button:hover { background: var(--lime); }
.hero-transport button:focus-visible { outline: 2px solid var(--pine); outline-offset: -3px; }
@media (max-width: 795px) {
  .hero-stage { height: clamp(230px, 56vw, 380px); border-radius: 44px 10px 10px 10px; }
  .hero-transport button { min-width: 44px; min-height: 44px; }
  .hero-caption { left: 12px; bottom: 12px; max-width: calc(100% - 24px); }
}
@media (prefers-reduced-motion: reduce) { .hero-slide { transition: none; } }
