body[data-page="home"] {
  overflow-x: clip;
}

.hero {
  position: relative;
  padding: 54px 0 88px;
  overflow-x: clip;
}

.hero-blob {
  position: absolute;
  right: max(-80px, calc(50% - 620px));
  top: -40px;
  width: 760px;
  height: 620px;
  pointer-events: none;
  z-index: 0;
}

.hero-blob svg {
  width: 100%;
  height: 100%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 400px);
  gap: 64px;
  align-items: center;
}

.hero-kicker {
  margin-bottom: 22px;
  font-size: 13px;
  color: var(--ink-faint);
}

.hero-kicker span {
  color: var(--ink-muted);
}

.hero h1 {
  font-size: clamp(3.1rem, 6.4vw, 4.55rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.hero h1 .mark {
  display: inline;
  background: var(--accent);
  padding: 0.02em 0.14em 0.05em;
  border-radius: 0.16em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero-lead {
  max-width: 38ch;
  margin-top: 22px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-muted);
}

.hero-search {
  position: relative;
  width: min(460px, 100%);
  margin-top: 34px;
  z-index: 5;
}

.hero-search input {
  height: 56px;
  padding: 0 64px 0 46px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-soft);
}

.hero-search .search-field button {
  position: absolute;
  right: 6px;
  top: 50%;
  z-index: 1;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--btn);
  color: #fff;
  display: grid;
  place-items: center;
}

.hero-search .search-field button:hover {
  background: var(--btn-hover);
}

.hero-search .search-field button svg {
  width: 16px;
  height: 16px;
}

.hero-search .search-panel {
  width: min(560px, calc(100vw - 40px));
}

.hero-more {
  margin-top: 18px;
}

.feature-col {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
}

.feature-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 22px 22px 20px;
}

.feature-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--bg);
  color: var(--ink);
}

.feature-badge svg {
  width: 16px;
  height: 16px;
}

.feature-visual {
  height: 188px;
  margin: 8px 8px 18px;
  display: grid;
  place-items: center;
}

.feature-visual img {
  width: min(210px, 100%);
  height: 188px;
  object-fit: contain;
}

.feature-kicker {
  font-size: 13px;
  color: var(--ink-faint);
}

.feature-title {
  margin: 4px 0 16px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.feature-title a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.feature-progress {
  display: grid;
  gap: 8px;
}

.feature-track {
  height: 6px;
  border-radius: var(--radius-pill);
  background: #eceae4;
  overflow: hidden;
}

.feature-fill {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: #1b1b1b;
}

.feature-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-muted);
}

.feature-cities {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.feature-extra {
  align-self: flex-end;
}

.how {
  padding: 36px 0 28px;
}

.how h2 {
  max-width: 16ch;
  margin-bottom: 54px;
  font-size: clamp(2.4rem, 4.6vw, 3.35rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}

.step-index {
  display: block;
  margin-bottom: 22px;
  font-size: 13px;
  color: var(--ink-faint);
}

.step-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #efece5;
  color: var(--ink);
}

.step-icon svg {
  width: 20px;
  height: 20px;
}

.step h3 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.step h3 a {
  color: inherit;
}

.step h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.step p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-muted);
}

.latest {
  padding: 48px 0 0;
}

.latest-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex: 0 0 auto;
}

.latest-kicker {
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--ink-faint);
}

.latest h2 {
  font-size: clamp(2.3rem, 4.4vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.latest-lead {
  max-width: 46ch;
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-muted);
}

.latest-lead .text-link {
  display: inline-flex;
  margin-top: 8px;
}

.trade-pin-sticky {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.trade-stage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.trade-card-slot {
  min-width: 0;
}

.trade-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 12px 12px 22px;
  border-radius: 28px;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: 0 18px 48px rgba(28, 24, 48, 0.1);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}

.trade-card-visual {
  position: relative;
  height: 188px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: transparent;
  color: var(--ink);
}

.trade-card-visual picture {
  position: absolute;
  inset: 0;
  display: block;
}

.trade-card-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.trade-card-visual svg {
  width: min(168px, 56%);
  height: auto;
  max-height: 72%;
}

.trade-card-body {
  padding: 16px 10px 0;
}

.trade-card h3 {
  margin: 10px 0 6px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.trade-card p {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-muted);
}

.trade-index {
  display: none;
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}

.trade-pin.is-active {
  position: relative;
}

.trade-pin.is-active .trade-pin-sticky {
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  overflow: hidden;
  gap: 0;
  padding: 28px 0 18px;
}

.trade-pin.is-active .latest-head {
  margin-bottom: 8px;
  align-items: flex-start;
}

.trade-pin.is-active .latest h2 {
  font-size: clamp(2rem, 3.8vw, 2.7rem);
}

.trade-pin.is-active .latest-head .btn-dark {
  flex: 0 0 auto;
  white-space: nowrap;
}

.trade-pin.is-active .trade-stage {
  position: relative;
  display: block;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  contain: paint;
}

.trade-pin.is-active .trade-card-slot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(500px, 86vw);
  height: min(400px, calc(100dvh - var(--header-h) - 220px));
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.trade-pin.is-active .trade-card {
  width: 100%;
  height: 100%;
  padding: 16px 16px 22px;
  will-change: transform, opacity, filter;
  transform: translate3d(0, 0, 0) scale(1);
  filter: none;
}

.trade-pin.is-active .trade-card.is-live {
  pointer-events: auto;
}

.trade-pin.is-active .trade-card.is-focus {
  background: #fff;
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 28px 70px rgba(28, 24, 48, 0.2);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.trade-pin.is-active .trade-card.is-focus h3 {
  color: var(--ink);
}

.trade-pin.is-active .trade-card.is-focus p {
  color: var(--ink-soft);
}

.trade-pin.is-active .trade-card-visual {
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
  width: 100%;
}

.trade-pin.is-active .trade-index {
  display: block;
  flex: 0 0 auto;
  text-align: center;
  padding-top: 10px;
}

.result-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
}

.result-chip.is-ready {
  background: var(--chip-ok);
  color: var(--chip-ok-ink);
}

.result-chip.is-hot {
  background: var(--chip-hot);
  color: var(--chip-hot-ink);
}

@media (prefers-reduced-motion: reduce) {
  .trade-pin.is-active {
    height: auto !important;
  }

  .trade-pin.is-active .trade-pin-sticky {
    position: static;
    height: auto;
    overflow: visible;
    gap: 28px;
    padding: 0;
  }

  .trade-pin.is-active .trade-stage {
    display: grid;
    flex: none;
    overflow: visible;
  }

  .trade-pin.is-active .trade-card-slot {
    position: static;
    width: auto;
    height: auto;
    transform: none;
    pointer-events: auto;
  }

  .trade-pin.is-active .trade-card {
    transform: none;
    opacity: 1;
    filter: none;
    will-change: auto;
  }

  .trade-pin.is-active .trade-index {
    display: none;
  }
}

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

  .hero-grid,
  .steps,
  .trade-stage {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 36px;
  }

  .feature-col {
    max-width: 420px;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 28px 22px;
  }

  .latest-head,
  .trade-pin.is-active .latest-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 18px 0 64px;
  }

  .hero-blob {
    width: 120%;
    right: -20%;
    top: 80px;
    opacity: 0.85;
  }

  .steps,
  .trade-stage {
    grid-template-columns: 1fr;
  }

  .how h2,
  .latest h2 {
    max-width: none;
  }

  .latest {
    padding-top: 28px;
  }

  .trade-card-visual {
    height: 168px;
  }

  .trade-pin.is-active .trade-pin-sticky {
    padding: 16px 0 12px;
  }

  .trade-pin.is-active .trade-card-slot {
    width: min(500px, 90vw);
    height: min(400px, calc(100dvh - var(--header-h) - 200px));
  }

  .paths-grid,
  .home-faq-list {
    grid-template-columns: 1fr;
  }
}

.paths {
  padding: 36px 0 12px;
}

.paths h2,
.home-faq h2 {
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.paths-lead {
  max-width: 62ch;
  margin: 14px 0 28px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-muted);
}

.paths-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 36px;
}

.paths h3 {
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.paths li + li {
  margin-top: 8px;
}

.paths a {
  font-size: 15px;
  line-height: 1.45;
}

.paths a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-faq {
  padding: 64px 0 48px;
}

.home-faq-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 22px;
}

.home-faq-list article {
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.home-faq-list h3 {
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.home-faq-list p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-muted);
}

.home-faq-list a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 980px) {
  .paths-grid,
  .home-faq-list {
    grid-template-columns: 1fr;
  }
}
