:root {
  color-scheme: light dark;
  --ink: #07111f;
  --slate: #0b1220;
  --navy: #0f1b2d;
  --panel: #111c2f;
  --panel-2: #16243b;
  --paper: #f7fbff;
  --white: #ffffff;
  --muted: #6d7b90;
  --line: rgba(123, 151, 181, 0.24);
  --cyan: #35d7ff;
  --amber: #f5b84b;
  --green: #48d597;
  --blue: #2f7df6;
  --shadow: 0 24px 70px rgba(5, 14, 30, 0.28);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.58;
  letter-spacing: 0;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
p { color: var(--muted); margin: 0 0 1rem; max-width: 72ch; }
h1, h2, h3 { margin: 0; letter-spacing: 0; color: inherit; }
h1 { font-size: clamp(2.9rem, 7vw, 6rem); line-height: .94; max-width: 11ch; }
h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1; }
h3 { font-size: 1.12rem; line-height: 1.2; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .9rem min(5vw, 4.5rem);
  background: rgba(7, 17, 31, .9);
  color: #f8fbff;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; font-weight: 900; }
.brand-logo { height: 3.1rem; width: auto; max-width: min(13rem, 46vw); object-fit: contain; }
.nav { display: flex; align-items: center; gap: .95rem; flex-wrap: wrap; font-size: .92rem; color: #c5d2e4; }
.nav a { text-decoration: none; font-weight: 760; }
.nav a:hover { color: #fff; }
.nav .cta { background: var(--cyan); color: #04101d; border-radius: 6px; padding: .68rem .92rem; }

.hero {
  min-height: 84vh;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .82fr);
  gap: min(6vw, 5rem);
  align-items: center;
  padding: 5.7rem min(5vw, 4.5rem) 4.5rem;
  background:
    linear-gradient(120deg, rgba(53, 215, 255, .12), transparent 38%),
    linear-gradient(180deg, #07111f 0%, #0b1425 64%, #101a2b 100%);
  color: #f8fbff;
}
.hero.compact-hero {
  min-height: 62vh;
  padding-top: 4.2rem;
  padding-bottom: 3.2rem;
}
.marketplace-hero {
  min-height: 78vh;
  display: grid;
  align-items: center;
  padding: 5.8rem min(5vw, 4.5rem) 4.2rem;
  color: #f8fbff;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, .96) 0%, rgba(8, 23, 37, .9) 42%, rgba(8, 20, 34, .68) 100%),
    linear-gradient(135deg, rgba(53, 215, 255, .2), rgba(245, 184, 75, .12) 46%, rgba(72, 213, 151, .16)),
    #07111f;
}
.marketplace-hero::after {
  content: "";
  position: absolute;
  inset: auto -6rem -14rem auto;
  width: min(58rem, 86vw);
  height: min(58rem, 86vw);
  background: radial-gradient(circle, rgba(53, 215, 255, .18), transparent 68%);
  pointer-events: none;
}
.marketplace-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 48rem;
}
.marketplace-hero h1 {
  max-width: 12ch;
}
.marketplace-hero p {
  color: #d7e5f8;
  max-width: 42rem;
}
.hero-kicker {
  width: fit-content;
  margin-bottom: .9rem;
  border: 1px solid rgba(53, 215, 255, .38);
  border-radius: 6px;
  padding: .32rem .56rem;
  color: #a8eeff;
  font-size: .82rem;
  font-weight: 900;
  text-transform: uppercase;
}
.hero-short {
  color: #ffe2a1;
  font-size: clamp(1.12rem, 2vw, 1.42rem);
  font-weight: 900;
}
.marketplace-hero-art {
  position: absolute;
  right: min(3vw, 2.5rem);
  bottom: -1rem;
  z-index: 1;
  width: min(38rem, 42vw);
  max-height: 92%;
  opacity: .9;
  filter: drop-shadow(0 32px 70px rgba(0,0,0,.36));
}
.hero p { color: #c7d5e8; }
.hero h1 { color: #fff; }
.hero .lead { font-size: clamp(1.08rem, 2vw, 1.28rem); color: #dce9f8; }
.hero-panel {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(17, 28, 47, .96), rgba(12, 21, 36, .98));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-panel-header, .panel-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.status-dot {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: #c7d5e8;
  font-size: .82rem;
  font-weight: 780;
}
.status-dot::before {
  content: "";
  width: .52rem;
  height: .52rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 22px rgba(72, 213, 151, .65);
}
.signal-list { display: grid; gap: .7rem; padding: 1.1rem; }
.signal-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .8rem;
  align-items: start;
  padding: .9rem;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 7px;
  background: rgba(255,255,255,.045);
}
.signal-row strong { display: block; color: #fff; }
.signal-row span { color: #aebdd1; font-size: .92rem; }
.signal-icon {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: #03111f;
  background: var(--cyan);
  font-weight: 900;
}

.section { padding: 5.3rem min(5vw, 4.5rem); max-width: 1240px; margin: 0 auto; }
.section.tight { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.section.white { max-width: none; background: #fff; }
.section.white > * { max-width: 1240px; margin-left: auto; margin-right: auto; }
.section.dark { max-width: none; background: var(--slate); color: #fff; }
.section.dark > * { max-width: 1240px; margin-left: auto; margin-right: auto; }
.section.dark p { color: #b9c7db; }
.section-head { display: grid; gap: .8rem; margin-bottom: 2rem; }
.lead { font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: #31435a; }
.dark .lead { color: #d7e5f8; }

.actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.8rem; }
.button {
  min-height: 2.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  text-decoration: none;
  border-radius: 6px;
  padding: .78rem 1rem;
  font-weight: 850;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
}
.button.primary { background: var(--cyan); border-color: transparent; color: #03111f; }
.button.gold { background: var(--amber); border-color: transparent; color: #1d1202; }
.button.dark { background: var(--navy); border-color: transparent; color: #fff; }
.button.ghost { background: rgba(255,255,255,.06); color: inherit; }
.button.is-disabled,
.button:disabled {
  cursor: not-allowed;
  opacity: .62;
  background: #d7e0e9;
  border-color: #c3cfda;
  color: #384757;
}
.product-detail-hero h1,
.product-cta-strip h2,
.product-fact-grid p,
.platform-row span {
  overflow-wrap: anywhere;
}

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card, .ops-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 1.25rem;
  min-height: 100%;
  box-shadow: 0 12px 34px rgba(9, 22, 42, .06);
}
.dark .card, .dark .ops-card {
  background: rgba(255,255,255,.055);
  border-color: rgba(255,255,255,.12);
}
.card h3, .ops-card h3 { margin-bottom: .55rem; }
.verified-lane { border-left: 4px solid var(--green); }
.handoff-lane { border-left: 4px solid var(--amber); }
.contact-strip { display: flex; flex-wrap: wrap; gap: .65rem; margin: 1rem 0 0; }
.contact-pill {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .58rem .76rem;
  background: #f3fbff;
  color: #102339;
  font-weight: 850;
  text-decoration: none;
}
.proof-list { margin: .5rem 0 0; padding-left: 1.15rem; color: var(--muted); }
.proof-list li { margin: .28rem 0; }
.price { color: #a96d00; font-weight: 900; font-size: 1.1rem; }
.dark .price { color: var(--amber); }
.tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: .75rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .25rem .48rem;
  color: #28536d;
  font-size: .78rem;
  font-weight: 850;
}
.dark .tag { color: var(--cyan); border-color: rgba(53, 215, 255, .32); }

.offer-grid .card,
.product-card {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.product-card .buyer-pain {
  color: #243854;
  font-weight: 820;
  margin-bottom: .1rem;
}

.product-meta {
  display: grid;
  gap: .34rem;
  margin: .1rem 0;
}

.product-meta p {
  margin: 0;
  color: #516178;
  font-size: .94rem;
}

.dark .product-card .buyer-pain,
.dark .product-meta p {
  color: #d7e5f8;
}

.card-actions-row {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex-wrap: wrap;
  margin-top: auto;
}

.delivery-hint {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  min-height: 2.2rem;
  color: #34516f;
  font-size: .86rem;
  font-weight: 820;
}

.delivery-hint::before {
  content: "";
  width: 1.85rem;
  height: 1.85rem;
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 50%;
  background:
    linear-gradient(#34516f, #34516f) center 56% / .72rem .52rem no-repeat,
    radial-gradient(circle at center 38%, transparent .34rem, #34516f .36rem, #34516f .48rem, transparent .5rem),
    #f2fbff;
}

.delivery-hint:hover::after,
.delivery-hint:focus::after {
  content: attr(aria-label);
  position: absolute;
  left: 0;
  bottom: calc(100% + .5rem);
  width: max-content;
  max-width: 16rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: .55rem .65rem;
  box-shadow: 0 16px 36px rgba(9, 22, 42, .14);
  z-index: 5;
}

.product-detail-hero {
  grid-template-columns: minmax(0, 1fr) minmax(300px, .86fr);
}

.product-hero-card {
  padding: 1rem;
}

.product-hero-card img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.14);
  background: #07111f;
}

.product-fact-grid,
.service-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  display: grid;
  gap: .65rem;
}

.service-card p {
  margin: 0;
}

.service-card .what-next {
  color: #384b64;
  font-size: .94rem;
}

.platform-row,
.included-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .8rem;
}

.platform-row span,
.included-row span {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .42rem .58rem;
  background: #f7fbff;
  color: #1d344f;
  font-weight: 820;
  font-size: .9rem;
}

.policy-accordion {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: .2rem 1rem;
}

.policy-accordion summary {
  min-height: 3rem;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 900;
}

.policy-accordion ul {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  color: var(--muted);
}

.product-cta-strip {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 1rem;
}

.product-cta-strip > * {
  min-width: 0;
  max-width: 100%;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.related-links a {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .72rem .86rem;
  text-decoration: none;
  font-weight: 850;
  background: #fff;
  color: var(--ink);
}

.product-card button,
.offer-grid .card button {
  min-height: 2.9rem;
  border: 0;
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  font: inherit;
  font-weight: 850;
  padding: .78rem 1rem;
  cursor: pointer;
}

.checkout-note {
  color: #6d4b06;
  font-size: .9rem;
  font-weight: 760;
  margin-bottom: .2rem;
}

.dark .checkout-note {
  color: #ffd789;
}

.offer-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.offer-list a {
  display: block;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  padding: .9rem;
  color: #fff;
  text-decoration: none;
  font-weight: 820;
  background: rgba(255,255,255,.055);
}

.skill-store-panel .bundle-card button,
.skill-router-panel button {
  min-height: 2.9rem;
  border: 0;
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  font: inherit;
  font-weight: 850;
  padding: .78rem 1rem;
  cursor: pointer;
}

.skill-store-head h2 { max-width: 18ch; }
.mini-list { margin: .2rem 0 0; padding-left: 1.15rem; color: var(--muted); }
.mini-list li { margin: .22rem 0; }
.router-form { display: grid; grid-template-columns: 2fr repeat(3, minmax(9rem, 1fr)) auto; gap: .8rem; align-items: end; }
.router-form label { display: grid; gap: .35rem; font-weight: 820; color: #23334a; }
.router-form textarea,
.router-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: .74rem .82rem;
}
.router-form textarea { min-height: 5.2rem; resize: vertical; }
.router-result {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fbff;
  padding: 1rem;
  color: var(--muted);
}
.router-card { color: #16243b; }
.router-actions { display: flex; gap: .65rem; flex-wrap: wrap; margin-top: .9rem; }
.router-actions a {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .72rem .88rem;
  text-decoration: none;
  font-weight: 850;
  color: var(--ink);
  background: #fff;
}

.loop-diagram {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: .65rem;
  margin-top: 1.5rem;
}
.loop-diagram.buyer-flow {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.loop-step {
  min-height: 6.2rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: .9rem;
  background: rgba(255,255,255,.055);
  color: #dbeafe;
  font-weight: 800;
}

.newsfeed-list, .field-note-grid { display: grid; gap: 1rem; }
.news-item, .field-note-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background: #fff;
}
.news-item a, .field-note-card a { font-weight: 850; color: #0b5f7a; }
.news-topic { color: #7b5108; font-size: .82rem; font-weight: 850; text-transform: uppercase; }

.chat-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.chat-top { padding: 1rem; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; }
.chat-thread { min-height: 13rem; padding: 1rem; display: grid; gap: .75rem; background: #f7fbff; }
.message { width: fit-content; max-width: 82%; padding: .85rem .95rem; border-radius: 8px; background: #eaf3ff; color: #17314d; }
.message.user { margin-left: auto; background: #d9fff3; }
.chat-form { display: grid; grid-template-columns: 1fr auto; gap: .75rem; padding: 1rem; border-top: 1px solid var(--line); }
.chat-form textarea, .lead-form input, .lead-form select, .lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .8rem .85rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
.quick-prompts { display: flex; flex-wrap: wrap; gap: .55rem; padding: 0 1rem 1rem; }
.quick-prompts button, .chat-form button, .lead-form button {
  border: 0;
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  font: inherit;
  font-weight: 850;
  padding: .76rem .9rem;
  cursor: pointer;
}
.quick-prompts button { background: #e9f6ff; color: #0b4f67; }
.lead-form { display: grid; gap: 1rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.consent-line { display: flex; gap: .7rem; align-items: flex-start; color: var(--muted); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 2rem min(5vw, 4.5rem);
  background: #07111f;
  color: #c7d5e8;
}
.footer a { color: #fff; }
.helper-line { margin-top: 1.2rem; font-weight: 850; }
.small-helper { font-size: .94rem; }
.marketplace-band {
  border-top: 1px solid var(--line);
}
.marketplace-controls {
  display: grid;
  gap: .75rem;
  margin-bottom: 1.25rem;
}
.marketplace-controls label {
  color: #22334a;
  font-weight: 850;
}
.marketplace-controls input {
  width: 100%;
  min-height: 3rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .8rem .92rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.filter-row {
  display: flex;
  gap: .55rem;
  flex-wrap: wrap;
}
.filter-row button {
  min-height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #eef8ff;
  color: #0b4f67;
  font: inherit;
  font-weight: 850;
  padding: .58rem .76rem;
  cursor: pointer;
}
.filter-row button.is-active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.marketplace-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.category-tile {
  min-height: 13.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f6fbff);
  padding: 1rem;
  text-decoration: none;
  box-shadow: 0 12px 34px rgba(9, 22, 42, .06);
}
.category-tile strong {
  color: #0d1b2d;
  line-height: 1.15;
}
.category-tile span:last-child {
  color: var(--muted);
  font-size: .95rem;
}
.category-icon {
  width: 2.55rem;
  height: 2.55rem;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #d9fff3;
  color: #084935;
  font-weight: 950;
  font-size: .82rem;
}
.workflow-showcase-grid {
  display: grid;
  grid-template-columns: minmax(280px, .95fr) minmax(0, 1.05fr);
  gap: min(5vw, 4rem);
  align-items: center;
}
.workflow-showcase-grid img {
  width: min(100%, 42rem);
  margin: 0 auto;
  filter: drop-shadow(0 32px 70px rgba(0,0,0,.28));
}
.workflow-callouts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
}
.workflow-callouts article {
  min-height: 6rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  padding: .9rem;
}
.workflow-callouts strong {
  display: block;
  color: var(--cyan);
  font-size: 1rem;
  margin-bottom: .35rem;
}
.workflow-callouts span {
  color: #d7e5f8;
}
.workflow-card-art {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #07111f;
}
.simple-buyer-flow {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.simple-buyer-flow .loop-step {
  border-color: var(--line);
  background: #f7fbff;
  color: #15304c;
}
.is-filter-hidden {
  display: none !important;
}

@media (max-width: 980px) {
  .site-header { align-items: flex-start; }
  .nav { justify-content: flex-end; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .marketplace-hero {
    min-height: auto;
    padding-top: 4rem;
    padding-bottom: 15rem;
  }
  .marketplace-hero-art {
    width: min(34rem, 78vw);
    right: 50%;
    transform: translateX(50%);
    bottom: -7rem;
    opacity: .72;
  }
  .marketplace-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workflow-showcase-grid { grid-template-columns: 1fr; }
  .workflow-callouts { grid-template-columns: 1fr 1fr; }
  .product-detail-hero,
  .product-fact-grid,
  .service-menu { grid-template-columns: 1fr; }
  .grid, .grid.two, .grid.four, .form-grid { grid-template-columns: 1fr; }
  .router-form { grid-template-columns: 1fr 1fr; }
  .offer-list { grid-template-columns: 1fr; }
  .loop-diagram, .loop-diagram.buyer-flow, .simple-buyer-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  h1 { max-width: none; }
}

@media (max-width: 620px) {
  .site-header { position: static; }
  .brand-logo { height: 2.7rem; }
  .nav { gap: .65rem; font-size: .86rem; }
  .hero, .section { padding-left: 1.1rem; padding-right: 1.1rem; }
  .marketplace-hero { padding-left: 1.1rem; padding-right: 1.1rem; }
  .marketplace-category-grid { grid-template-columns: 1fr; }
  .workflow-callouts { grid-template-columns: 1fr; }
  .router-form { grid-template-columns: 1fr; }
  .chat-form { grid-template-columns: 1fr; }
  .message { max-width: 100%; }
}
