:root {
  --bg: #f5f6f8;
  --bg-soft: #ffffff;
  --bg-dark: #0f1726;
  --surface: rgba(255, 255, 255, 0.7);
  --surface-strong: #ffffff;
  --text: #0e1b2a;
  --muted: #637185;
  --line: rgba(16, 26, 43, 0.09);
  --primary: #0f62fe;
  --primary-dark: #0a46b7;
  --emerald: #00a889;
  --accent: #eef4ff;
  --shadow: 0 24px 80px rgba(15, 23, 38, 0.08);
  --radius: 28px;
  --radius-small: 18px;
  --container: 1180px;
  --market-soft: #f8fbff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(15, 98, 254, 0.08), transparent 26%),
    radial-gradient(circle at top right, rgba(0, 168, 137, 0.08), transparent 22%),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
}

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

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.section-space {
  padding: 48px 0 104px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(15, 98, 254, 0.08);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 18px 0;
  backdrop-filter: blur(20px);
  background: rgba(245, 246, 248, 0.76);
  border-bottom: 1px solid rgba(15, 27, 42, 0.04);
}

.header-row,
.hero-grid,
.split-grid,
.footer-grid,
.footer-cta-grid,
.page-hero-grid,
.faq-grid {
  display: grid;
  gap: 32px;
}

.header-row {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-chip {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary) 0%, #5aa5ff 100%);
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 22px;
  font-weight: 700;
  box-shadow: 0 16px 28px rgba(15, 98, 254, 0.28);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-text strong {
  font-size: 18px;
  line-height: 1;
}

.brand-text small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.site-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.primary-menu,
.footer-menu,
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.primary-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.primary-menu a,
.footer-menu a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.primary-menu .current-menu-item > a,
.primary-menu a:hover,
.footer-menu a:hover {
  color: var(--text);
}

.mobile-menu-toggle {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-soft);
}

.mobile-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 16px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #5aa5ff 100%);
  color: #fff;
  box-shadow: 0 18px 34px rgba(15, 98, 254, 0.24);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
  border: 1px solid var(--line);
}

.button-link {
  min-height: auto;
  padding: 0;
  color: var(--primary-dark);
  border-radius: 0;
}

.hero-section,
.page-hero {
  padding: 38px 0 62px;
}

.hero-grid,
.page-hero-grid,
.split-grid,
.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.hero-copy h1,
.page-hero h1,
.cards-header h2,
.footer-cta h2 {
  margin: 18px 0 18px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.page-hero h1,
.cards-header h2,
.footer-cta h2,
.faq-grid h2,
.platform-section h2 {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.02;
}

.hero-text,
.page-hero p,
.cards-header p,
.platform-section p,
.footer-cta p {
  max-width: 640px;
  font-size: 18px;
  color: var(--muted);
}

.hero-actions,
.cta-banner-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero-metrics,
.page-metrics,
.feature-grid,
.timeline-grid,
.value-grid,
.post-grid {
  display: grid;
  gap: 18px;
}

.hero-metrics {
  margin-top: 34px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric-card,
.feature-card,
.timeline-card,
.highlight-panel,
.value-card,
.content-card,
.cta-banner,
.empty-card,
.post-card,
.visual-board {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.metric-card {
  padding: 22px;
}

.metric-card strong,
.timeline-card strong {
  display: block;
  margin-bottom: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 28px;
}

.metric-card span,
.timeline-card h3,
.feature-card h3,
.value-card h3 {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 800;
}

.metric-card small,
.feature-card p,
.value-card p,
.timeline-card p,
.highlight-item p,
.footer-note {
  color: var(--muted);
}

.hero-visual {
  position: relative;
}

.visual-board {
  position: relative;
  padding: 32px;
  min-height: 560px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 15%, rgba(15, 98, 254, 0.12), transparent 24%),
    radial-gradient(circle at 80% 80%, rgba(0, 168, 137, 0.12), transparent 24%),
    #fdfefe;
}

.hero-illustration,
.section-illustration,
.page-illustration {
  display: block;
  width: 100%;
  height: auto;
}

.hero-illustration {
  margin-bottom: 24px;
  border-radius: 30px;
}

.flow-node,
.flow-core,
.flow-pills li {
  position: relative;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(15, 98, 254, 0.12);
  background: rgba(255, 255, 255, 0.94);
}

.flow-node span,
.flow-core span {
  display: block;
  margin-bottom: 8px;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.flow-node strong,
.flow-core strong {
  font-size: 17px;
  line-height: 1.35;
}

.flow-source {
  max-width: 230px;
}

.flow-target {
  margin-left: auto;
  max-width: 230px;
}

.flow-center {
  margin: 46px 0;
}

.flow-core {
  padding: 30px;
  background: linear-gradient(135deg, #0f1726 0%, #18365f 100%);
  color: #fff;
  border-color: transparent;
}

.flow-core span {
  color: rgba(255, 255, 255, 0.7);
}

.flow-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}

.flow-pills li {
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
}

.logo-strip {
  padding: 14px 0 18px;
}

.logo-strip p {
  margin: 0;
  padding: 20px 24px;
  border-radius: 22px;
  background: rgba(15, 98, 254, 0.05);
  color: var(--primary-dark);
  text-align: center;
  font-weight: 700;
}

.highlight-panel,
.cta-banner {
  padding: 16px;
}

.highlight-panel-visual {
  align-content: start;
}

.highlight-item,
.timeline-card,
.value-card,
.feature-card,
.post-card,
.content-card,
.cta-banner {
  padding: 28px;
}

.highlight-panel {
  display: grid;
  gap: 16px;
}

.highlight-item {
  position: relative;
  padding-left: 94px;
}

.feature-icon {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
}

.feature-icon-large {
  margin-bottom: 18px;
}

.highlight-item .feature-icon {
  position: absolute;
  top: 0;
  left: 0;
}

.feature-grid,
.value-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.accent-card {
  background: linear-gradient(180deg, #0f1726 0%, #132c4d 100%);
  color: #fff;
}

.accent-card p,
.accent-card li,
.section-dark .cards-header p,
.section-dark .section-tag {
  color: rgba(255, 255, 255, 0.74);
}

.accent-card .button-link {
  color: #8ec0ff;
}

.feature-index {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.feature-card ul,
.contact-list {
  display: grid;
  gap: 10px;
}

.cards-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 34px;
}

.cards-header > * {
  flex: 1;
}

.timeline-grid,
.post-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline-card strong {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: rgba(15, 98, 254, 0.08);
  color: var(--primary-dark);
  display: grid;
  place-items: center;
}

.timeline-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
}

.section-dark {
  background: linear-gradient(180deg, #0f1726 0%, #142338 100%);
  color: #fff;
}

.section-dark .value-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.accordion-list {
  display: grid;
  gap: 14px;
}

.accordion-item {
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.85);
}

.accordion-item summary {
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  font-weight: 800;
}

.accordion-item summary::-webkit-details-marker {
  display: none;
}

.accordion-item p {
  margin: 16px 0 0;
  color: var(--muted);
}

.cta-banner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  background: linear-gradient(135deg, rgba(15, 98, 254, 0.08) 0%, rgba(0, 168, 137, 0.08) 100%);
}

.site-footer {
  padding: 0 0 30px;
}

.footer-cta {
  padding: 0 0 42px;
}

.footer-cta-grid {
  grid-template-columns: 2fr auto;
  align-items: center;
  padding: 38px;
  border-radius: 32px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.footer-grid {
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  padding: 42px 0;
}

.footer-grid h3 {
  margin-bottom: 16px;
  font-size: 16px;
}

.footer-menu,
.contact-list {
  gap: 12px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.content-shell {
  display: flex;
  justify-content: center;
}

.page-visual-shell {
  display: grid;
  gap: 18px;
}

.page-visual-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.content-card {
  width: min(100%, 920px);
}

.entry-content {
  font-size: 17px;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content h2,
.entry-content h3 {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.08;
}

.entry-content p,
.entry-content li {
  color: #344255;
}

.post-card-link {
  display: block;
}

.post-thumb,
.post-placeholder,
.single-thumb {
  overflow: hidden;
  border-radius: 22px;
  margin-bottom: 18px;
}

.post-placeholder {
  min-height: 220px;
  background: linear-gradient(135deg, rgba(15, 98, 254, 0.14) 0%, rgba(0, 168, 137, 0.14) 100%);
}

.post-date {
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.empty-card {
  text-align: center;
}

.market-hero {
  padding: 40px 0 34px;
}

.market-hero-shell {
  padding: 18px 18px 42px;
  border: 1px solid rgba(15, 98, 254, 0.08);
  border-radius: 36px;
  background:
    radial-gradient(circle at 50% 12%, rgba(15, 98, 254, 0.08), transparent 22%),
    radial-gradient(circle at 10% 90%, rgba(242, 122, 26, 0.08), transparent 20%),
    radial-gradient(circle at 90% 78%, rgba(83, 64, 229, 0.08), transparent 18%),
    #fff;
  box-shadow: var(--shadow);
}

.market-top-note {
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f62fe 0%, #5aa5ff 100%);
  color: #fff;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}

.market-hero-stage {
  position: relative;
  min-height: 640px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.market-hero-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 700px);
  text-align: center;
  padding: 54px 30px 34px;
}

.market-badge {
  display: inline-flex;
  padding: 10px 18px;
  border-radius: 999px;
  background: #171f2f;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.market-hero-copy h1 {
  margin: 20px 0 18px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.market-hero-copy p {
  margin: 0 auto;
  max-width: 620px;
  font-size: 21px;
  color: var(--muted);
}

.market-hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.market-hero-proof {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 22px;
  color: #5d6c80;
  font-weight: 700;
}

.market-hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.market-hero-proof span::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #66c780;
  box-shadow: 0 0 0 5px rgba(102, 199, 128, 0.12);
}

.market-logo-cloud {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.market-float-card {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 126px;
  min-height: 70px;
  padding: 10px 12px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 98, 254, 0.08);
  box-shadow: 0 22px 44px rgba(15, 23, 38, 0.08);
}

.market-float-card img,
.market-band-item img,
.market-card-logo img {
  max-height: 34px;
  width: auto;
}

.is-left.is-top {
  top: 90px;
  left: 68px;
}

.is-left.is-mid {
  top: 238px;
  left: 20px;
}

.is-left.is-low {
  top: 370px;
  left: 88px;
}

.is-left.is-bottom {
  bottom: 56px;
  left: 144px;
}

.is-right.is-top {
  top: 82px;
  right: 78px;
}

.is-right.is-mid {
  top: 220px;
  right: 14px;
}

.is-right.is-low {
  top: 370px;
  right: 88px;
}

.is-right.is-bottom {
  bottom: 62px;
  right: 136px;
}

.market-band-section {
  padding-top: 10px;
}

.market-band {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.market-band-item {
  display: grid;
  place-items: center;
  min-height: 86px;
  padding: 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(15, 23, 38, 0.05);
}

.market-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: end;
  margin-bottom: 34px;
}

.market-intro-grid h2 {
  margin: 18px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1;
}

.market-intro-card,
.market-card,
.market-cta-panel {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.market-intro-card {
  padding: 28px;
}

.market-intro-card p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.market-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.market-card {
  padding: 28px;
}

.market-card-logo {
  display: inline-grid;
  place-items: center;
  min-width: 130px;
  min-height: 64px;
  padding: 10px 12px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
}

.market-card h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.08;
}

.market-card p {
  margin: 0 0 16px;
  color: var(--muted);
}

.market-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.market-card li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #223147;
  font-weight: 700;
}

.market-card li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.45;
}

.tone-orange {
  background: linear-gradient(180deg, #fff8f2 0%, rgba(255, 255, 255, 0.92) 100%);
}

.tone-sun {
  background: linear-gradient(180deg, #fff9ee 0%, rgba(255, 255, 255, 0.92) 100%);
}

.tone-dark {
  background: linear-gradient(180deg, #131c2f 0%, #1a2942 100%);
  color: #fff;
}

.tone-dark p,
.tone-dark li {
  color: rgba(255, 255, 255, 0.8);
}

.tone-violet {
  background: linear-gradient(180deg, #f7f3ff 0%, rgba(255, 255, 255, 0.92) 100%);
}

.tone-green {
  background: linear-gradient(180deg, #f2fbf7 0%, rgba(255, 255, 255, 0.92) 100%);
}

.tone-indigo {
  background: linear-gradient(180deg, #f4f6ff 0%, rgba(255, 255, 255, 0.92) 100%);
}

.market-flow-section {
  background: linear-gradient(180deg, #0f1726 0%, #142338 100%);
  color: #fff;
}

.market-flow-shell {
  display: grid;
  gap: 28px;
}

.market-flow-copy h2 {
  margin: 18px 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.02;
}

.market-flow-copy p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

.market-flow-board {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 18px;
  align-items: center;
}

.flow-step {
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.flow-step span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(143, 215, 255, 0.12);
  color: #8fd7ff;
  font-size: 13px;
  font-weight: 800;
}

.flow-step strong {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
}

.flow-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.flow-arrow {
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, rgba(143, 215, 255, 0.12), rgba(143, 215, 255, 0.82));
}

.market-cta-panel {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 34px;
  background: linear-gradient(135deg, rgba(15, 98, 254, 0.08) 0%, rgba(242, 122, 26, 0.08) 100%);
}

.market-cta-panel h2 {
  margin: 16px 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(30px, 3.8vw, 50px);
  line-height: 1.02;
}

.market-cta-panel p {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
}

.marketplace-directory h1,
.marketplace-detail-page h1,
.marketplace-detail-page h2,
.marketplace-directory h2,
.marketplace-directory h3 {
  font-family: "Space Grotesk", sans-serif;
}

.market-directory-hero {
  padding-bottom: 28px;
}

.market-directory-hero-inner {
  max-width: 860px;
  text-align: center;
}

.market-directory-hero-inner h1 {
  margin: 18px 0;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.market-directory-hero-inner p {
  max-width: 740px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 20px;
}

.market-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.market-directory-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.market-directory-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 90px rgba(15, 23, 38, 0.12);
}

.market-directory-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.25s ease;
  background: radial-gradient(circle at center, var(--market-accent) 0%, transparent 72%);
}

.market-directory-card:hover .market-directory-glow {
  opacity: 0.07;
}

.market-directory-logo {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 74px;
  height: 74px;
  padding: 10px;
  margin-bottom: 22px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--market-accent) 22%, white);
}

.market-directory-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.market-directory-card h2,
.marketplace-section-heading h2,
.marketplace-detail-copy h1,
.marketplace-ops-grid h2,
.marketplace-detail-cta h2 {
  margin: 0 0 14px;
  line-height: 1.02;
}

.market-directory-card h2 {
  position: relative;
  z-index: 1;
  font-size: 30px;
}

.market-directory-card h2 span {
  color: #738195;
  font-size: 20px;
  font-weight: 500;
}

.market-directory-card p {
  position: relative;
  z-index: 1;
  margin: 0 0 20px;
  color: var(--muted);
}

.market-directory-checks {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(15, 27, 42, 0.06);
  background: #f8fbff;
}

.market-directory-checks ul,
.marketplace-proof-list,
.marketplace-ops-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.market-directory-checks li,
.marketplace-proof-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.market-directory-checks li + li,
.marketplace-proof-list li + li {
  margin-top: 10px;
}

.market-directory-checks li::before,
.marketplace-proof-list li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--market-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  flex: 0 0 auto;
}

.market-directory-banner,
.marketplace-detail-cta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 34px;
  border: 1px solid rgba(15, 98, 254, 0.12);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(15, 98, 254, 0.06) 0%, rgba(255, 255, 255, 0.94) 100%);
  box-shadow: var(--shadow);
}

.market-directory-banner h3 {
  margin: 0 0 12px;
  font-size: 34px;
}

.market-directory-banner p,
.marketplace-detail-cta p {
  margin: 0;
  color: var(--muted);
  max-width: 700px;
}

.marketplace-detail-hero-grid,
.marketplace-ops-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: center;
}

.marketplace-detail-copy h1 {
  font-size: clamp(40px, 5vw, 72px);
  letter-spacing: -0.05em;
}

.marketplace-detail-copy p {
  max-width: 720px;
  color: var(--muted);
  font-size: 20px;
}

.marketplace-detail-logo-wrap {
  display: inline-grid;
  place-items: center;
  min-width: 120px;
  min-height: 84px;
  padding: 16px 18px;
  margin-bottom: 28px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--market-accent) 26%, white);
  box-shadow: var(--shadow);
}

.marketplace-proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 26px;
  color: #66758a;
  font-size: 14px;
  font-weight: 700;
}

.marketplace-detail-panel,
.marketplace-ops-visual {
  --market-accent: var(--primary);
}

.marketplace-detail-window {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.marketplace-window-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(15, 27, 42, 0.08);
}

.marketplace-window-head span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #f26d6d;
}

.marketplace-window-head span:nth-child(2) {
  background: #f6c14a;
}

.marketplace-window-head span:nth-child(3) {
  background: #63c787;
}

.marketplace-window-head small {
  margin-left: 10px;
  color: #7a8798;
  font-weight: 700;
}

.marketplace-window-body {
  position: relative;
}

.window-bar,
.window-card,
.window-grid > div,
.window-line {
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(15, 27, 42, 0.08);
}

.window-bar {
  width: 72%;
  height: 32px;
}

.window-bar.short {
  width: 54%;
}

.window-card {
  width: 100%;
  height: 112px;
  margin-top: 14px;
  border-left: 4px solid var(--market-accent);
}

.window-card.large {
  height: 140px;
}

.window-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.window-grid > div {
  height: 84px;
}

.window-line {
  width: 100%;
  height: 18px;
  margin-top: 16px;
}

.window-status {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(15, 27, 42, 0.08);
}

.window-status-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: rgba(103, 207, 136, 0.12);
  color: #38a35d;
  font-size: 24px;
  font-weight: 800;
}

.window-status strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
}

.window-status small {
  color: #38a35d;
  font-weight: 700;
}

.marketplace-section-heading {
  text-align: center;
  margin-bottom: 34px;
}

.marketplace-section-heading h2,
.marketplace-ops-grid h2,
.marketplace-detail-cta h2 {
  font-size: clamp(32px, 4vw, 52px);
}

.marketplace-advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.marketplace-advantage-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.marketplace-advantage-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--market-accent) 14%, white);
  color: var(--market-accent);
  font-weight: 800;
}

.marketplace-advantage-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.marketplace-advantage-card p,
.marketplace-ops-grid p {
  margin: 0;
  color: var(--muted);
}

.marketplace-ops-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.marketplace-ops-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}

.marketplace-ops-list span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--market-accent) 14%, white);
  color: var(--market-accent);
  font-size: 13px;
  font-weight: 800;
}

.marketplace-ops-list p {
  margin: 0;
}

.marketplace-detail-cta {
  border-color: color-mix(in srgb, var(--market-accent) 26%, white);
  background: linear-gradient(135deg, color-mix(in srgb, var(--market-accent) 10%, white) 0%, rgba(255, 255, 255, 0.94) 100%);
}

@media (max-width: 1100px) {
  .timeline-grid,
  .post-grid,
  .value-grid,
  .market-card-grid,
  .market-directory-grid,
  .marketplace-advantage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header-row {
    grid-template-columns: auto auto;
  }

  .site-navigation {
    position: absolute;
    top: calc(100% + 12px);
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-navigation.is-open {
    display: flex;
  }

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

  .mobile-menu-toggle {
    display: inline-block;
  }

  .market-band {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .market-hero-stage {
    min-height: 720px;
  }

  .is-left.is-top,
  .is-right.is-top {
    top: 46px;
  }
}

@media (max-width: 860px) {
  .hero-grid,
  .page-hero-grid,
  .split-grid,
  .faq-grid,
  .footer-grid,
  .footer-cta-grid,
  .feature-grid,
  .timeline-grid,
  .value-grid,
  .post-grid,
  .hero-metrics,
  .market-band,
  .market-card-grid,
  .market-intro-grid,
  .market-flow-board,
  .market-directory-grid,
  .marketplace-detail-hero-grid,
  .marketplace-ops-grid,
  .marketplace-advantage-grid {
    grid-template-columns: 1fr;
  }

  .cards-header,
  .cta-banner,
  .market-cta-panel,
  .market-directory-banner,
  .marketplace-detail-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .visual-board {
    min-height: auto;
  }

  .market-hero-stage {
    min-height: auto;
    padding-top: 22px;
  }

  .market-logo-cloud {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
  }

  .market-float-card {
    position: static;
    min-height: 78px;
  }

  .market-hero-copy {
    width: 100%;
    padding: 28px 0;
  }

  .flow-arrow {
    width: 2px;
    height: 32px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(143, 215, 255, 0.12), rgba(143, 215, 255, 0.82));
  }

  .marketplace-proof-list {
    display: grid;
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .hero-copy h1,
  .page-hero h1,
  .cards-header h2,
  .footer-cta h2 {
    font-size: 36px;
  }

  .metric-card,
  .feature-card,
  .timeline-card,
  .value-card,
  .content-card,
  .post-card {
    padding: 22px;
  }

  .button {
    width: 100%;
  }

  .market-top-note,
  .market-badge {
    font-size: 12px;
  }

  .market-hero-copy p {
    font-size: 18px;
  }
}
