/* =====================================================================
   SHEIKH MARKET HUB LIMITED — Connected Commerce Solutions
   Marketplace / commerce-platform theme.
   Brand navy + amber, extended with bright marketplace category accents.
   Space Grotesk (display) + Mulish (body). Hand-authored. WCAG 2.2 AA / AODA.
   Class vocabulary is native to this build (mkt-*, tile-*, lane-*, listing-*).
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand base (carried from original identity) */
  --navy-900: #071c28;
  --navy-800: #0b2c40;
  --navy-700: #0e3a54;
  --navy-600: #134a67;
  --steel-600: #1c6188;
  --steel-500: #2b7ba6;
  --steel-300: #7fb4d0;
  --sky-100:  #e6f1f7;

  --amber-600: #b9781a;
  --amber-500: #e0a334;
  --amber-400: #f0be5e;
  --amber-100: #fbeccb;

  /* Extended marketplace category accents (energetic blocks) */
  --tile-coral:  #f2603f;
  --tile-violet: #6d5ae0;
  --tile-teal:   #0fa79a;
  --tile-blue:   #2b7ba6;
  --tile-pink:   #e0568f;
  --tile-green:  #3a9d63;
  --tile-gold:   #e0a334;
  --tile-indigo: #3d5bd0;

  /* Neutrals / canvas */
  --canvas:     #f4f7f9;
  --canvas-2:   #eaf1f6;
  --surface:    #ffffff;
  --ink:        #0d2130;
  --ink-soft:   #45596a;
  --ink-mute:   #6f8291;
  --line:       #dde7ee;
  --line-strong:#c6d6e0;
  --on-dark:    #eaf3f8;
  --on-dark-mute:#a7c4d5;

  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Mulish", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1200px;
  --wrap-narrow: 780px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(11,44,64,.06), 0 3px 10px rgba(11,44,64,.06);
  --shadow-md: 0 10px 30px -14px rgba(11,44,64,.28);
  --shadow-lg: 0 30px 70px -30px rgba(11,44,64,.42);
  --pad-y: clamp(3.5rem, 6.5vw, 6.5rem);
  --ease: cubic-bezier(.2,.7,.3,1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, .97rem + .18vw, 1.07rem);
  line-height: 1.6;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--steel-600); text-underline-offset: 3px; }
a:hover { color: var(--navy-700); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--navy-800);
  margin: 0 0 .5em;
}
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.15em; }
strong { font-weight: 700; color: var(--navy-700); }
:focus-visible { outline: 3px solid var(--amber-500); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.wrap-narrow { max-width: var(--wrap-narrow); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--navy-800); color: #fff; padding: .7rem 1.1rem;
  border-radius: var(--r-sm); font-weight: 700; transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Buttons / pills ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  padding: .72rem 1.25rem; border-radius: var(--r-pill);
  border: 2px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .15s var(--ease), background .15s, box-shadow .2s, color .15s;
  line-height: 1;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--amber-500); color: var(--navy-900); box-shadow: 0 10px 24px -12px rgba(224,163,52,.8); }
.btn-primary:hover { background: var(--amber-400); color: var(--navy-900); }
.btn-navy { background: var(--navy-700); color: #fff; }
.btn-navy:hover { background: var(--navy-800); color: #fff; }
.btn-outline { border-color: var(--line-strong); color: var(--navy-700); background: var(--surface); }
.btn-outline:hover { border-color: var(--navy-700); color: var(--navy-800); background: var(--surface); }
.btn-ghost-light { border-color: rgba(255,255,255,.4); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-lg { padding: .9rem 1.6rem; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

.tag {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-display); font-weight: 600; font-size: .72rem;
  letter-spacing: .04em; text-transform: uppercase;
  padding: .32rem .7rem; border-radius: var(--r-pill);
  background: var(--sky-100); color: var(--steel-600);
}
.eyebrow {
  font-family: var(--font-display); font-weight: 600; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--amber-600);
  margin: 0 0 .7rem;
}

/* ---------- Header (marketplace bar) ---------- */
.mkt-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.mkt-bar {
  display: flex; align-items: center; gap: 1rem;
  min-height: 72px; padding-block: .6rem;
}
.mkt-logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; flex: 0 0 auto; }
.mkt-logo img { width: 40px; height: 40px; }
.mkt-logo .n { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; color: var(--navy-800); line-height: 1; letter-spacing: -.02em; }
.mkt-logo .t { display: block; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--amber-600); font-weight: 700; margin-top: 3px; }

/* browse-categories affordance (search-bar styled) */
.mkt-browse {
  flex: 1 1 auto; max-width: 420px;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .6rem .9rem; border-radius: var(--r-pill);
  background: var(--canvas-2); border: 1.5px solid var(--line);
  color: var(--ink-soft); font-weight: 600; text-decoration: none;
  font-size: .92rem; transition: border-color .15s, background .15s;
}
.mkt-browse:hover { border-color: var(--steel-300); background: #fff; color: var(--navy-700); }
.mkt-browse svg { width: 18px; height: 18px; color: var(--steel-500); flex: 0 0 auto; }
.mkt-browse .chev { margin-left: auto; color: var(--ink-mute); }

.mkt-nav { display: flex; align-items: center; gap: .3rem; }
.mkt-nav a {
  font-family: var(--font-display); font-weight: 600; font-size: .92rem;
  color: var(--navy-700); text-decoration: none; padding: .5rem .7rem;
  border-radius: var(--r-sm);
}
.mkt-nav a:hover { background: var(--canvas-2); }
.mkt-nav a[aria-current="page"] { color: var(--amber-600); }

.mkt-actions { display: flex; align-items: center; gap: .6rem; margin-left: auto; flex: 0 0 auto; }

.mkt-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px;
  align-items: center; justify-content: center;
  background: var(--canvas-2); border: 1.5px solid var(--line);
  border-radius: var(--r-sm); color: var(--navy-700); cursor: pointer;
}
.mkt-toggle svg { width: 24px; height: 24px; }
.mkt-toggle .icon-close { display: none; }
.mkt-toggle[aria-expanded="true"] .icon-open { display: none; }
.mkt-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Hero (marketplace) ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 88% -8%, rgba(43,123,166,.22), transparent 60%),
    radial-gradient(700px 360px at 4% 108%, rgba(224,163,52,.18), transparent 55%),
    linear-gradient(180deg, var(--navy-800), var(--navy-900));
  color: var(--on-dark);
  padding-top: clamp(2.6rem, 5vw, 4rem);
  padding-bottom: clamp(2.6rem, 5vw, 4rem);
}
.hero h1 { color: #fff; font-size: clamp(2.1rem, 5.4vw, 3.5rem); letter-spacing: -.03em; }
.hero .lead { color: var(--on-dark-mute); font-size: clamp(1.05rem, 1.4vw, 1.22rem); max-width: 40ch; }
.hero-top { display: grid; gap: clamp(1.6rem, 4vw, 3rem); grid-template-columns: 1.05fr .95fr; align-items: center; }
.hero-eyebrow { color: var(--amber-400); }
.hero-stats-inline { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.6rem; }
.hero-stats-inline div { line-height: 1.15; }
.hero-stats-inline b { display: block; font-family: var(--font-display); font-size: 1.5rem; color: #fff; }
.hero-stats-inline span { font-size: .82rem; color: var(--on-dark-mute); }

/* hexagon network motif panel */
.hero-network { position: relative; display: grid; place-items: center; min-height: 300px; }
.hero-network .net-svg { width: 100%; max-width: 440px; height: auto; filter: drop-shadow(0 24px 50px rgba(0,0,0,.4)); }
.net-node-label {
  font-family: var(--font-display); font-weight: 600; font-size: 9.5px;
  fill: var(--on-dark); letter-spacing: .02em;
}

/* category tile grid inside hero */
.hero-tiles { margin-top: clamp(2rem, 4vw, 3rem); }
.hero-tiles h2 { color: #fff; font-size: 1.02rem; font-weight: 600; letter-spacing: .02em; margin-bottom: .9rem; opacity: .9; }

.tile-grid {
  display: grid; gap: .9rem;
  grid-template-columns: repeat(4, 1fr);
}
.tile {
  position: relative; display: flex; flex-direction: column; gap: .55rem;
  padding: 1.05rem 1rem 1.1rem; border-radius: var(--r-md);
  text-decoration: none; color: #fff; min-height: 120px;
  background: var(--tile-blue); overflow: hidden;
  transition: transform .18s var(--ease), box-shadow .2s;
  isolation: isolate;
}
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(150deg, rgba(255,255,255,.16), rgba(0,0,0,.14));
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: #fff; }
.tile .ic { width: 30px; height: 30px; color: #fff; }
.tile .tt { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; line-height: 1.15; }
.tile .ts { font-size: .8rem; color: rgba(255,255,255,.85); line-height: 1.35; }
.tile .arr { position: absolute; right: .9rem; top: 1rem; opacity: .0; transition: opacity .2s, transform .2s; }
.tile:hover .arr { opacity: 1; transform: translateX(2px); }

.t-coral  { background: var(--tile-coral); }
.t-violet { background: var(--tile-violet); }
.t-teal   { background: var(--tile-teal); }
.t-blue   { background: var(--tile-blue); }
.t-pink   { background: var(--tile-pink); }
.t-green  { background: var(--tile-green); }
.t-gold   { background: var(--tile-gold); color: var(--navy-900); }
.t-gold .ts { color: rgba(8,34,48,.78); }
.t-gold .ic { color: var(--navy-900); }
.t-indigo { background: var(--tile-indigo); }

/* ---------- Generic section shells ---------- */
.section { padding-block: var(--pad-y); }
.section-surface { background: var(--surface); }
.section-canvas  { background: var(--canvas); }
.section-tint    { background: var(--canvas-2); }
.section-navy {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(43,123,166,.25), transparent 60%),
    linear-gradient(180deg, var(--navy-700), var(--navy-900));
  color: var(--on-dark);
}
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .eyebrow { color: var(--amber-400); }

.sec-head { max-width: 62ch; margin-bottom: clamp(1.8rem, 3.5vw, 2.8rem); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.sec-head p { color: var(--ink-soft); font-size: 1.08rem; }
.section-navy .sec-head p { color: var(--on-dark-mute); }
.lead { font-size: 1.12rem; color: var(--ink-soft); }

/* ---------- Category catalog grid (full section) ---------- */
.catalog-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
}
.cat-card {
  display: flex; flex-direction: column; gap: .55rem;
  padding: 1.4rem 1.3rem; border-radius: var(--r-md);
  text-decoration: none; background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .18s var(--ease), box-shadow .2s, border-color .2s;
  min-height: 168px;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--steel-300); }
.cat-badge {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; color: #fff; margin-bottom: .3rem;
}
.cat-badge svg { width: 26px; height: 26px; }
.cat-card h3 { font-size: 1.12rem; margin: 0; color: var(--navy-800); }
.cat-card p { margin: 0; font-size: .92rem; color: var(--ink-soft); line-height: 1.45; }
.cat-card .go { margin-top: auto; font-family: var(--font-display); font-weight: 600; font-size: .84rem; color: var(--steel-600); display: inline-flex; align-items: center; gap: .3rem; }
.cat-card:hover .go { color: var(--amber-600); }

/* accent map for badges */
.a-coral { background: var(--tile-coral); }
.a-violet{ background: var(--tile-violet); }
.a-teal  { background: var(--tile-teal); }
.a-blue  { background: var(--tile-blue); }
.a-pink  { background: var(--tile-pink); }
.a-green { background: var(--tile-green); }
.a-gold  { background: var(--tile-gold); color: var(--navy-900); }
.a-indigo{ background: var(--tile-indigo); }

/* ---------- Two-sided lanes (Source & Stock | List & Sell) ---------- */
.lanes { display: grid; gap: 1.4rem; grid-template-columns: 1fr 1fr; }
.lane {
  border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.3rem);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
.lane-buyer { border-top: 5px solid var(--tile-blue); }
.lane-seller { border-top: 5px solid var(--tile-coral); }
.lane-tag {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-display); font-weight: 700; font-size: .78rem;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .35rem .8rem; border-radius: var(--r-pill); margin-bottom: .9rem;
}
.lane-buyer .lane-tag { background: rgba(43,123,166,.12); color: var(--steel-600); }
.lane-seller .lane-tag { background: rgba(242,96,63,.12); color: var(--tile-coral); }
.lane h3 { font-size: 1.4rem; }
.lane > p { color: var(--ink-soft); }
.lane-steps { list-style: none; margin: 1.2rem 0 0; padding: 0; counter-reset: step; }
.lane-steps li { position: relative; padding: 0 0 1.15rem 3rem; }
.lane-steps li:last-child { padding-bottom: 0; }
.lane-steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 2.1rem; height: 2.1rem;
  display: grid; place-items: center; border-radius: 50%;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem; color: #fff;
}
.lane-buyer .lane-steps li::before { background: var(--tile-blue); }
.lane-seller .lane-steps li::before { background: var(--tile-coral); }
.lane-steps li:not(:last-child)::after {
  content: ""; position: absolute; left: calc(1.05rem - 1px); top: 2.1rem; bottom: .35rem;
  width: 2px; background: var(--line-strong);
}
.lane-steps b { display: block; font-family: var(--font-display); font-size: 1rem; color: var(--navy-800); margin-bottom: .15rem; }
.lane-steps span { color: var(--ink-soft); font-size: .95rem; }

/* ---------- Vendor / segment wall (chips) ---------- */
.wall {
  display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center;
}
.wall-chip {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .7rem 1.15rem; border-radius: var(--r-pill);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  color: var(--on-dark); font-family: var(--font-display); font-weight: 600; font-size: .95rem;
}
.wall-chip svg { width: 20px; height: 20px; color: var(--amber-400); }
.wall-dot { width: 8px; height: 8px; border-radius: 50%; }

/* ---------- Listing cards (featured segments) ---------- */
.listing-grid { display: grid; gap: 1.3rem; grid-template-columns: repeat(3, 1fr); }
.listing {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .18s var(--ease), box-shadow .2s;
}
.listing:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.listing-media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.listing-media img { width: 100%; height: 100%; object-fit: cover; }
.listing-tags { position: absolute; left: .8rem; bottom: .8rem; display: flex; gap: .4rem; flex-wrap: wrap; }
.listing-tags .tag { background: rgba(13,33,48,.82); color: #fff; backdrop-filter: blur(2px); }
.listing-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.listing-body h3 { font-size: 1.16rem; margin: 0; }
.listing-body p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* ---------- Metrics band ---------- */
.metrics { display: grid; gap: 1rem; grid-template-columns: repeat(4, 1fr); }
.metric {
  padding: 1.5rem 1.3rem; border-radius: var(--r-md);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
}
.metric .m-n { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 4vw, 2.7rem); color: var(--amber-400); line-height: 1; letter-spacing: -.02em; }
.metric .m-l { margin-top: .6rem; color: var(--on-dark-mute); font-size: .92rem; }

/* ---------- Split (image + copy) generic ---------- */
.duo { display: grid; gap: clamp(1.5rem, 4vw, 3rem); grid-template-columns: 1fr 1fr; align-items: center; }
.duo.rev .duo-media { order: -1; }
.duo-media img { border-radius: var(--r-lg); box-shadow: var(--shadow-md); width: 100%; }
.frame { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.checks { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: .8rem; }
.checks li { display: flex; gap: .7rem; align-items: flex-start; }
.checks svg { flex: 0 0 auto; width: 22px; height: 22px; color: #fff; background: var(--tile-green); border-radius: 50%; padding: 4px; margin-top: 2px; }
.checks span { color: var(--ink-soft); }
.section-navy .checks span { color: var(--on-dark-mute); }

/* ---------- Seller onboarding CTA ---------- */
.seller-cta {
  border-radius: var(--r-lg); overflow: hidden; position: relative;
  background:
    radial-gradient(600px 300px at 12% 0%, rgba(224,163,52,.28), transparent 60%),
    linear-gradient(135deg, var(--tile-coral), #c8452b 62%, var(--amber-600));
  color: #fff; padding: clamp(2.2rem, 5vw, 3.8rem);
  display: grid; gap: 1.4rem; grid-template-columns: 1.4fr .9fr; align-items: center;
}
.seller-cta h2 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
.seller-cta p { color: rgba(255,255,255,.92); font-size: 1.08rem; margin: 0; }
.seller-cta .btn-row { justify-content: flex-end; }
.seller-cta .btn-primary { background: #fff; color: var(--navy-900); }
.seller-cta .btn-primary:hover { background: var(--amber-100); }

/* ---------- Big CTA band (navy) ---------- */
.callout { text-align: center; }
.callout h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.callout p { margin-inline: auto; }

/* ---------- Page header (interior) ---------- */
.page-head {
  background:
    radial-gradient(700px 320px at 92% -20%, rgba(43,123,166,.22), transparent 60%),
    linear-gradient(180deg, var(--navy-700), var(--navy-800));
  color: var(--on-dark); padding-block: clamp(2.6rem, 5vw, 4.2rem);
}
.page-head h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.1rem); }
.page-head .lead { color: var(--on-dark-mute); max-width: 56ch; }
.page-head .eyebrow { color: var(--amber-400); }

/* ---------- Founder / leader block ---------- */
.leader { display: grid; gap: clamp(1.5rem, 4vw, 2.6rem); grid-template-columns: .9fr 1.1fr; align-items: start; }
.leader-card {
  background: var(--navy-800); color: var(--on-dark);
  border-radius: var(--r-lg); padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.leader-card::before {
  content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(224,163,52,.35), transparent 70%);
}
.leader-card h3 { color: #fff; }
.leader-card p { color: var(--on-dark-mute); }
.leader-role {
  display: inline-flex; font-family: var(--font-display); font-weight: 700; font-size: .78rem;
  letter-spacing: .06em; text-transform: uppercase; color: var(--navy-900);
  background: var(--amber-500); padding: .35rem .8rem; border-radius: var(--r-pill); margin-bottom: 1rem;
}
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.2rem 0 0; padding: 0; }
.chips li { font-size: .82rem; font-weight: 600; padding: .35rem .75rem; border-radius: var(--r-pill); background: rgba(255,255,255,.1); color: var(--on-dark); }
.pull {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  line-height: 1.32; color: var(--navy-800); border: 0; margin: 0; padding: 0;
  border-left: 4px solid var(--amber-500); padding-left: 1.2rem;
}
.cite { color: var(--ink-mute); font-weight: 600; font-size: .92rem; margin-top: 1rem; }

/* ---------- Value cards (about) ---------- */
.value-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(3, 1fr); }
.value {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.5rem 1.4rem; box-shadow: var(--shadow-sm); position: relative;
}
.value .vx { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--amber-500); display: block; margin-bottom: .3rem; }
.value h3 { font-size: 1.1rem; }
.value p { margin: 0; color: var(--ink-soft); font-size: .94rem; }

/* mission/vision blocks */
.mv-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr 1fr; }
.mv {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.2rem); box-shadow: var(--shadow-sm);
}
.mv .cat-badge { margin-bottom: .9rem; }

/* company facts */
.facts { display: grid; gap: 1rem; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 1.4rem 1.3rem; border-radius: var(--r-md); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.fact .f-n { font-family: var(--font-display); font-weight: 700; color: var(--amber-400); font-size: 1.4rem; line-height: 1.1; }
.fact .f-l { color: var(--on-dark-mute); font-size: .88rem; margin-top: .5rem; }

/* ---------- Pricing ---------- */
.plans { display: grid; gap: 1.3rem; grid-template-columns: repeat(3, 1fr); align-items: start; }
.plan {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.6rem, 3vw, 2.1rem); box-shadow: var(--shadow-sm); position: relative;
  display: flex; flex-direction: column;
}
.plan-featured { border: 2px solid var(--amber-500); box-shadow: var(--shadow-md); }
.plan-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--amber-500); color: var(--navy-900);
  font-family: var(--font-display); font-weight: 700; font-size: .72rem; letter-spacing: .05em;
  text-transform: uppercase; padding: .3rem .9rem; border-radius: var(--r-pill);
}
.plan h3 { font-size: 1.35rem; margin-bottom: .2rem; }
.plan-sub { color: var(--ink-mute); font-size: .92rem; margin-bottom: 1rem; }
.plan-price { display: flex; align-items: baseline; gap: .4rem; margin-bottom: 1.2rem; }
.plan-price .amt { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; color: var(--navy-800); letter-spacing: -.02em; }
.plan-price .per { color: var(--ink-mute); font-size: .9rem; }
.plan-list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .7rem; }
.plan-list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; color: var(--ink-soft); }
.plan-list svg { flex: 0 0 auto; width: 20px; height: 20px; color: #fff; background: var(--tile-green); border-radius: 50%; padding: 3px; margin-top: 1px; }
.plan .btn { margin-top: auto; justify-content: center; }

/* ---------- Media banner ---------- */
.banner {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  min-height: 340px; display: flex; align-items: flex-end;
  color: #fff; box-shadow: var(--shadow-md);
}
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner-inner {
  position: relative; padding: clamp(1.6rem, 4vw, 2.8rem); max-width: 640px;
  background: linear-gradient(90deg, rgba(7,28,40,.9) 40%, rgba(7,28,40,.35));
  width: 100%;
}
.banner-inner h2 { color: #fff; }
.banner-inner .eyebrow { color: var(--amber-400); }
.banner-inner p { color: rgba(255,255,255,.9); }
.banner-inner .lead { color: rgba(255,255,255,.92); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: clamp(1.6rem, 4vw, 3rem); grid-template-columns: .95fr 1.05fr; align-items: start; }
.detail { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.detail:last-of-type { border-bottom: 0; }
.detail .di { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 12px; background: var(--sky-100); color: var(--steel-600); display: grid; place-items: center; }
.detail .di svg { width: 22px; height: 22px; }
.detail h3 { font-size: 1rem; margin: 0 0 .15rem; }
.detail p { margin: 0; color: var(--ink-soft); }
.form-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.2rem); box-shadow: var(--shadow-md);
}
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--navy-800); margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: .75rem .85rem; border-radius: var(--r-sm);
  border: 1.5px solid var(--line-strong); background: var(--canvas);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--steel-500); background: #fff;
  box-shadow: 0 0 0 3px rgba(43,123,166,.18);
}
.form-note { color: var(--ink-mute); font-size: .92rem; }

/* ---------- Legal / prose ---------- */
.prose { max-width: 74ch; }
.prose h2 { font-size: 1.4rem; margin-top: 2rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose a { color: var(--steel-600); font-weight: 600; }
.legal-meta { color: var(--ink-mute); font-size: .9rem; }

/* ---------- Footer ---------- */
.mkt-footer { background: var(--navy-900); color: var(--on-dark-mute); padding-top: clamp(3rem, 5vw, 4.5rem); }
.foot-top { display: grid; gap: 2rem; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; padding-bottom: 2.5rem; }
.foot-brand .mkt-logo .n { color: #fff; }
.foot-blurb { margin-top: 1rem; max-width: 34ch; font-size: .95rem; color: var(--on-dark-mute); }
.foot-col h4 { color: #fff; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.foot-col a { color: var(--on-dark-mute); text-decoration: none; font-size: .95rem; }
.foot-col a:hover { color: #fff; }
.foot-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.foot-contact li { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; }
.foot-contact svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--amber-400); margin-top: 3px; }
.foot-contact a { color: var(--on-dark-mute); text-decoration: none; }
.foot-contact a:hover { color: #fff; }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
}
.foot-legal { font-size: .82rem; color: var(--on-dark-mute); max-width: 78ch; margin: 0; }
.foot-links { display: flex; gap: 1.2rem; }
.foot-links a { color: var(--on-dark-mute); text-decoration: none; font-size: .85rem; }
.foot-links a:hover { color: #fff; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics, .facts { grid-template-columns: repeat(2, 1fr); }
  .listing-grid, .value-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .mkt-browse { display: none; }
  .mkt-nav, .mkt-actions .btn-outline { display: none; }
  .mkt-toggle { display: inline-flex; }
  .mkt-actions { margin-left: 0; }
  .mkt-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: .2rem;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: .8rem clamp(1.1rem,4vw,2rem) 1.2rem; box-shadow: var(--shadow-md);
  }
  .mkt-nav[data-open="true"] { display: flex; }
  .mkt-nav a { padding: .8rem .6rem; font-size: 1rem; }
  .hero-top { grid-template-columns: 1fr; }
  .hero-network { order: -1; min-height: 220px; }
  .lanes, .mv-grid, .seller-cta, .leader, .duo, .contact-grid { grid-template-columns: 1fr; }
  .duo.rev .duo-media { order: 0; }
  .plans { grid-template-columns: 1fr; }
  .seller-cta .btn-row { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .tile-grid { grid-template-columns: 1fr 1fr; }
  .catalog-grid, .listing-grid, .value-grid, .metrics, .facts { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; }
  .hero-stats-inline { gap: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .tile, .cat-card, .listing { transition: none; }
}
