:root {
  --market-ink: #07182d;
  --market-muted: #526174;
  --market-green: #07834d;
  --market-green-dark: #05633b;
  --market-mint: #e8f7ef;
  --market-line: #dce4e8;
  --market-surface: #f4f7f8;
  --market-navy: #071426;
  --market-shadow: 0 18px 52px rgba(7, 24, 45, 0.1);
}

html {
  scroll-behavior: smooth;
}

body.market-page {
  background: #fff;
  color: var(--market-ink);
}

.market-page img {
  display: block;
  max-width: 100%;
}

.market-page .container {
  width: min(1180px, calc(100% - 40px));
}

.market-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(220, 228, 232, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.market-header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.market-brand {
  flex: 0 0 auto;
}

.market-brand img {
  width: 160px;
  height: auto;
}

.market-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}

.market-nav > a:not(.btn) {
  color: var(--market-ink);
  font-size: 0.94rem;
  font-weight: 750;
  text-decoration: none;
}

.market-nav > a:not(.btn):hover,
.market-nav > a:not(.btn):focus-visible {
  color: var(--market-green);
}

.market-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--market-line);
  border-radius: 13px;
  background: #fff;
  color: var(--market-ink);
  font: inherit;
  font-size: 1.45rem;
  line-height: 1;
  box-shadow: 0 6px 20px rgba(7, 24, 45, 0.08);
}

.market-hero {
  overflow: hidden;
  padding: clamp(72px, 8vw, 118px) 0 clamp(70px, 8vw, 110px);
  background:
    radial-gradient(circle at 83% 10%, rgba(35, 190, 117, 0.13), transparent 31%),
    linear-gradient(180deg, #fff 0%, #f7faf9 100%);
}

.market-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(410px, 0.96fr);
  align-items: center;
  gap: clamp(48px, 7vw, 92px);
}

.market-kicker,
.market-section-kicker,
.market-card-purpose {
  margin: 0 0 15px;
  color: var(--market-green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.105em;
  text-transform: uppercase;
}

.market-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.market-kicker::before {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #19ad6e;
  box-shadow: 0 0 0 7px rgba(25, 173, 110, 0.11);
  content: "";
}

.market-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.65rem, 5vw, 5.1rem);
  line-height: 0.99;
  letter-spacing: -0.052em;
}

.market-hero-lead {
  max-width: 720px;
  margin: 26px 0 0;
  color: var(--market-muted);
  font-size: clamp(1.08rem, 1.4vw, 1.24rem);
  line-height: 1.65;
}

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

.market-switch-note {
  margin: 20px 0 0;
  color: #32445a;
  font-size: 0.94rem;
}

.market-switch-note a {
  color: var(--market-green-dark);
  font-weight: 800;
}

.market-price-line {
  display: inline-flex;
  margin: 18px 0 0;
  padding: 8px 12px;
  border: 1px solid #cfe8da;
  border-radius: 999px;
  background: rgba(232, 247, 239, 0.84);
  color: #16472f;
  font-size: 0.86rem;
  font-weight: 800;
}

.market-flow {
  position: relative;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  background:
    radial-gradient(circle at 100% 0%, rgba(38, 194, 121, 0.22), transparent 36%),
    var(--market-navy);
  color: #fff;
  box-shadow: 0 30px 74px rgba(7, 20, 38, 0.24);
}

.market-flow-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
  color: #bcd1c6;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.market-flow-head strong {
  color: #70e4a9;
}

.market-signal,
.market-result {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.065);
}

.market-signal > span,
.market-result > span {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: rgba(81, 225, 153, 0.15);
  color: #70e4a9;
  font-weight: 900;
}

.market-signal p,
.market-result p {
  display: grid;
  gap: 4px;
  margin: 0;
}

.market-signal small,
.market-result small {
  color: #a9bdc8;
  font-size: 0.78rem;
  line-height: 1.4;
}

.market-flow-label {
  margin: 14px 0 10px;
  color: #8fa5b2;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.market-flow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.market-flow-step {
  min-width: 0;
  padding: 13px 11px;
  border-radius: 15px;
  background: #10243a;
}

.market-flow-step span {
  display: block;
  margin-bottom: 8px;
  color: #70e4a9;
  font-size: 0.72rem;
  font-weight: 900;
}

.market-flow-step strong {
  display: block;
  font-size: 0.8rem;
  line-height: 1.35;
}

.market-result {
  margin-top: 10px;
  background: rgba(13, 133, 79, 0.2);
}

.market-proof {
  padding: 24px 0;
  border-top: 1px solid #e4ece8;
  border-bottom: 1px solid #e4ece8;
  background: #f5fbf8;
}

.market-proof-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.market-proof-list li {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #dcebe3;
  border-radius: 14px;
  background: #fff;
  font-size: 0.86rem;
  font-weight: 800;
}

.market-proof-list li::before {
  display: grid;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 999px;
  background: var(--market-mint);
  color: var(--market-green);
  content: "✓";
  font-size: 0.8rem;
}

.market-section {
  padding: clamp(74px, 8vw, 112px) 0;
}

.market-section-alt {
  background: var(--market-surface);
}

.market-section-dark {
  background: var(--market-navy);
  color: #fff;
}

.market-section-head {
  max-width: 760px;
  margin-bottom: 38px;
}

.market-section-head h2,
.market-split-copy h2,
.market-final h2,
.vertical-hero h1 {
  margin: 0;
  font-size: clamp(2.15rem, 4vw, 3.75rem);
  line-height: 1.06;
  letter-spacing: -0.042em;
}

.market-section-head p:last-child,
.market-split-copy > p,
.market-final p,
.vertical-hero-lead {
  color: var(--market-muted);
  font-size: 1.04rem;
  line-height: 1.65;
}

.market-section-dark .market-section-head p:last-child {
  color: #afc2ce;
}

.market-helper-grid,
.market-industry-grid,
.vertical-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.market-helper-card,
.market-industry-card,
.vertical-benefit-card {
  border: 1px solid var(--market-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(7, 24, 45, 0.06);
}

.market-helper-card,
.vertical-benefit-card {
  padding: 26px;
}

.market-helper-number {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 26px;
  place-items: center;
  border-radius: 13px;
  background: var(--market-mint);
  color: var(--market-green);
  font-size: 0.82rem;
  font-weight: 900;
}

.market-helper-card h3,
.vertical-benefit-card h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.market-helper-card > p:last-child,
.vertical-benefit-card p {
  margin: 0;
  color: var(--market-muted);
  line-height: 1.65;
}

.market-split {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(40px, 7vw, 84px);
}

.market-photo-frame,
.vertical-hero-media {
  overflow: hidden;
  border-radius: 28px;
  background: #dfe8e4;
  box-shadow: var(--market-shadow);
}

.market-photo-frame img,
.vertical-hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.market-split-copy .btn {
  margin-top: 12px;
}

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

.market-industry-card {
  overflow: hidden;
}

.market-industry-card img {
  width: 100%;
  aspect-ratio: 16 / 8.6;
  object-fit: cover;
}

.market-industry-copy {
  padding: 24px;
}

.market-industry-copy h3 {
  margin: 0 0 8px;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.market-industry-copy p {
  margin: 0 0 18px;
  color: var(--market-muted);
  line-height: 1.55;
}

.market-industry-copy a,
.market-text-link {
  color: var(--market-green-dark);
  font-weight: 850;
}

.market-final {
  padding: clamp(70px, 8vw, 104px) 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(42, 207, 128, 0.22), transparent 30%),
    var(--market-navy);
  color: #fff;
}

.market-final-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
}

.market-final p {
  max-width: 690px;
  margin-bottom: 0;
  color: #b5c6d0;
}

.market-footer {
  padding: 42px 0 26px;
  background: #050f1d;
  color: #c3d0d8;
}

.market-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 40px;
}

.market-footer-brand {
  margin-bottom: 10px;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 900;
}

.market-footer p {
  max-width: 430px;
  margin: 0;
  line-height: 1.6;
}

.market-footer-title {
  margin-bottom: 12px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.market-footer-links,
.market-language-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.market-footer a {
  color: #d7e2e8;
}

.market-language-links a[aria-current] {
  color: #72e3aa;
  font-weight: 850;
}

.market-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.84rem;
}

.market-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  color: var(--market-muted);
  font-size: 0.88rem;
}

.market-breadcrumbs a {
  color: var(--market-green-dark);
  font-weight: 750;
}

.vertical-hero {
  padding: clamp(54px, 7vw, 92px) 0 clamp(72px, 8vw, 112px);
  background:
    radial-gradient(circle at 75% 12%, rgba(29, 174, 104, 0.13), transparent 30%),
    linear-gradient(180deg, #fff, #f5faf7);
}

.vertical-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.92fr);
  align-items: center;
  gap: clamp(44px, 7vw, 84px);
}

.vertical-hero-lead {
  margin: 22px 0 0;
}

.vertical-hero-media {
  position: relative;
}

.vertical-hero-badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: 250px;
  padding: 13px 15px;
  border-radius: 15px;
  background: rgba(7, 20, 38, 0.92);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.4;
  backdrop-filter: blur(10px);
}

.vertical-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.market-agent-stack {
  display: grid;
  gap: 10px;
  padding: 22px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0%, rgba(48, 211, 136, 0.2), transparent 40%),
    var(--market-navy);
  box-shadow: var(--market-shadow);
}

.market-agent-stack > div {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
}

.market-agent-stack > div > span {
  display: grid;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  background: rgba(75, 220, 150, 0.14);
  color: #70e4a9;
  font-size: 0.78rem;
  font-weight: 900;
}

.market-agent-stack p {
  display: grid;
  gap: 4px;
  margin: 0;
}

.market-agent-stack small {
  color: #a9bdc8;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.vertical-step {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: #10233a;
}

.vertical-step span {
  color: #70e4a9;
  font-size: 0.78rem;
  font-weight: 900;
}

.vertical-step h3 {
  margin: 11px 0 7px;
  font-size: 1.12rem;
}

.vertical-step p {
  margin: 0;
  color: #afc2ce;
  line-height: 1.55;
}

@media (max-width: 960px) {
  .market-menu-toggle {
    display: inline-flex;
  }

  .market-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 20px;
    left: 20px;
    display: none;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--market-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--market-shadow);
  }

  .market-nav.is-open {
    display: grid;
  }

  .market-nav .btn {
    width: 100%;
  }

  .market-hero-grid,
  .vertical-hero-grid,
  .market-split {
    grid-template-columns: 1fr;
  }

  .market-flow {
    max-width: 680px;
  }

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

  .market-helper-grid,
  .vertical-benefit-grid {
    grid-template-columns: 1fr;
  }

  .market-helper-card {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 18px;
  }

  .market-helper-number {
    grid-row: 1 / 4;
    margin: 0;
  }

  .market-final-inner,
  .market-footer-grid {
    grid-template-columns: 1fr;
  }

  .market-final .market-actions {
    margin-top: 0;
  }
}

@media (max-width: 660px) {
  .market-page .container {
    width: min(100% - 30px, 1180px);
  }

  .market-header-inner {
    min-height: 68px;
  }

  .market-brand img {
    width: 145px;
  }

  .market-hero {
    padding-top: 54px;
  }

  .market-hero h1,
  .vertical-hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.35rem);
  }

  .market-actions {
    display: grid;
  }

  .market-actions .btn {
    width: 100%;
  }

  .market-flow {
    padding: 16px;
    border-radius: 23px;
  }

  .market-flow-head {
    align-items: flex-start;
  }

  .market-flow-steps {
    grid-template-columns: 1fr;
  }

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

  .market-flow-step span {
    margin: 0;
  }

  .market-proof-list,
  .market-industry-grid,
  .vertical-steps {
    grid-template-columns: 1fr;
  }

  .market-proof-list li {
    min-height: 50px;
  }

  .market-helper-card {
    display: block;
  }

  .market-helper-number {
    margin-bottom: 20px;
  }

  .market-footer-bottom {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
