/*
  StoreHarmony — the TradeX landing pages (2026-10-20): TradeX for Suppliers
  (web/supply/) and the TradeX home page for producers (web/tradex/). One look
  for both: a dark hero with the product drawn in HTML, sections on white and
  soft grey, cards, a worked example, questions and a closing band.

  Loaded as /sh/app/shell/landing.css, written from the root because both
  pages also show at a bare web address. No outside fonts. Light and dark
  follow the device.
*/
:root {
  --ink: #14171F; --ink2: #464C59; --muted: #6B7180;
  --bg: #FFFFFF; --soft: #F4F6F9; --card: #FFFFFF; --line: rgba(20,23,31,.10); --line2: rgba(20,23,31,.18);
  --brand: #2456E6; --brand-ink: #1B41AD; --tint: #E8EEFD;
  --sun: #F2591E; --sun-tint: #FDEDE5; --leaf: #5E8A1E; --leaf-tint: #ECF4DE;
  --night: #14171F; --night2: #1D2230; --on-night: #F3F4F7; --on-night2: #B7BDCB;
  --shadow: 0 1px 2px rgba(20,23,31,.06), 0 8px 24px rgba(20,23,31,.08);
  --shadow-lg: 0 24px 60px rgba(8,12,24,.35);
  --r: 14px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #EEF0F4; --ink2: #BCC2CF; --muted: #8E95A4;
    --bg: #0F1218; --soft: #151922; --card: #1A1F2A; --line: rgba(238,240,244,.10); --line2: rgba(238,240,244,.20);
    --brand: #6F92F2; --brand-ink: #A3B9F7; --tint: #1E2A47;
    --sun: #F58A5E; --sun-tint: #3A2219; --leaf: #A6CF6A; --leaf-tint: #1F2B14;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; }
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-ink); }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px;
       padding: 0 24px; border-radius: 12px; font-weight: 650; font-size: 16px; text-decoration: none;
       border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, background .15s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--brand); color: #fff; }
.btn.primary:hover { background: #1D4BD0; }
.btn.sun { background: var(--sun); color: #fff; }
.btn.sun:hover { filter: brightness(.95); }
.btn.line { background: transparent; color: var(--on-night); border-color: rgba(243,244,247,.28); }
.btn.line:hover { border-color: rgba(243,244,247,.55); }
.btn.ghost { background: var(--soft); color: var(--ink); border-color: var(--line); }
.btn svg { width: 18px; height: 18px; }

/* ---------- hero ---------- */
.hero { background:
          radial-gradient(1200px 500px at 85% -10%, rgba(36,86,230,.35), transparent 60%),
          radial-gradient(800px 400px at -10% 110%, rgba(242,89,30,.18), transparent 60%),
          linear-gradient(180deg, var(--night2), var(--night));
        color: var(--on-night); overflow: hidden; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px;
       padding-top: calc(16px + env(safe-area-inset-top)); padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--on-night); text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand b { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.brand b span { color: #8FAAF5; }
.brand small { display: block; font-size: 11.5px; color: var(--on-night2); font-weight: 600; letter-spacing: .02em; margin-top: -2px; }
.nav-links { display: none; gap: 26px; }
.nav-links a { color: var(--on-night2); text-decoration: none; font-size: 14.5px; font-weight: 600; }
.nav-links a:hover { color: var(--on-night); }
.nav-cta { display: flex; gap: 8px; }
.nav-cta .btn { min-height: 40px; padding: 0 14px; font-size: 14.5px; border-radius: 10px; }
.nav-cta .btn.reg { display: none; }
@media (min-width: 900px) { .nav-links { display: flex; } }
@media (min-width: 560px) { .nav-cta .btn.reg { display: inline-flex; } }

.hero-grid { display: grid; gap: 40px; padding: 28px 0 56px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); padding: 48px 0 88px; gap: 56px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .03em;
           color: #C9D6FB; background: rgba(36,86,230,.22); border: 1px solid rgba(143,170,245,.35);
           padding: 6px 12px; border-radius: 999px; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: #7CC24A; box-shadow: 0 0 0 4px rgba(124,194,74,.2); }
.hero h1 { font-size: clamp(34px, 6.2vw, 58px); font-weight: 800; margin-top: 18px; }
.hero h1 em { font-style: normal; color: #FFB08F; }
.hero .lead { font-size: clamp(16.5px, 2vw, 19px); color: #D3D8E3; margin-top: 18px; max-width: 34em; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-actions .btn { min-height: 54px; font-size: 16.5px; }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; padding: 0; list-style: none; }
.ticks li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: #D3D8E3; font-weight: 550; }
.ticks svg { width: 18px; height: 18px; flex: none; color: #8FD05A; }
@media (max-width: 479px) { .hero-actions .btn { flex: 1 1 100%; } }

/* the dashboard picture, drawn in HTML */
.shot { position: relative; }
.window { background: #FFFFFF; color: #14171F; border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden;
          border: 1px solid rgba(255,255,255,.12); font-size: 13px; }
.window-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #ECEEF2; border-bottom: 1px solid #DFE2E8; }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D3D6DD; }
.window-bar span { margin-left: 10px; font-size: 11.5px; color: #6B7180; background: #FFF; padding: 3px 10px; border-radius: 6px;
                   flex: 1; max-width: 260px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.app-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: #23262C; color: #F3F4F7; }
.app-head b { font-size: 13.5px; }
.app-head small { display: block; color: #A9AFBC; font-size: 11px; }
.app-head .av { width: 28px; height: 28px; border-radius: 50%; background: #2456E6; color: #fff; font-weight: 700; font-size: 11px;
                display: grid; place-items: center; }
.app-body { padding: 16px; background: #F4F5F7; display: grid; gap: 12px; }
.app-title { font-weight: 800; font-size: 16px; letter-spacing: -0.01em; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { background: #FFF; border: 1px solid #E3E6EC; border-radius: 12px; padding: 10px 12px; }
.tile .k { font-size: 11px; color: #6B7180; font-weight: 600; }
.tile .v { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; margin-top: 2px; white-space: nowrap; }
.tile .n { font-size: 10.5px; color: #6B7180; }
.tile.hi { background: #EAF4DF; border-color: #CFE4B5; }
.tile.hi .v { color: #2F5A0E; }
.rows { background: #FFF; border: 1px solid #E3E6EC; border-radius: 12px; overflow: hidden; }
.rows .r { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; padding: 9px 12px; border-top: 1px solid #EEF0F3; align-items: center; }
.rows .r:first-child { border-top: 0; font-size: 10.5px; color: #6B7180; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.rows .r span:nth-child(2), .rows .r span:nth-child(3) { text-align: right; font-variant-numeric: tabular-nums; }
.rows small { display: block; color: #8A90A0; font-size: 10.5px; }
.toast { position: absolute; right: -6px; bottom: -44px; background: #FFF; color: #14171F; border-radius: 14px; box-shadow: var(--shadow-lg);
         padding: 12px 14px; display: flex; gap: 10px; align-items: center; max-width: 270px; border: 1px solid #E3E6EC; }
.toast .ic { width: 34px; height: 34px; border-radius: 10px; background: #EAF4DF; color: #2F5A0E; display: grid; place-items: center; flex: none; }
.toast .ic svg { width: 18px; height: 18px; }
.toast b { display: block; font-size: 13px; }
.toast span { display: block; font-size: 11.5px; line-height: 1.4; color: #6B7180; }
@media (max-width: 479px) { .toast { right: 8px; bottom: -48px; } .tile .v { font-size: 15.5px; } }
.shot-note { font-size: 12px; color: var(--on-night2); margin-top: 40px; text-align: center; }

/* ---------- sections ---------- */
section { padding: 72px 0; }
section.soft { background: var(--soft); }
.kicker { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-ink); }
.h2 { font-size: clamp(28px, 4.2vw, 42px); font-weight: 800; margin-top: 10px; max-width: 20em; }
.sub { color: var(--ink2); font-size: 17.5px; margin-top: 14px; max-width: 40em; }
.head-c { text-align: center; } .head-c .h2, .head-c .sub { margin-left: auto; margin-right: auto; }

/* what you can supply */
.supply-strip { padding: 26px 0; border-bottom: 1px solid var(--line); }
.strip { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; }
.strip .lbl { font-size: 13.5px; color: var(--muted); font-weight: 650; margin-right: 6px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--soft);
        border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink); }
.pill svg { width: 16px; height: 16px; color: var(--brand); }

/* steps */
.steps { display: grid; gap: 16px; margin-top: 40px; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px;
        box-shadow: var(--shadow); counter-increment: s; }
.step::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
                background: var(--brand); color: #fff; font-weight: 800; font-size: 17px; margin-bottom: 16px; }
.step h3 { font-size: 18.5px; }
.step p { color: var(--ink2); font-size: 15px; margin-top: 8px; }
.step .eg { margin-top: 14px; font-size: 13.5px; color: var(--muted); border-top: 1px dashed var(--line2); padding-top: 12px; }

/* benefits */
.grid3 { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 700px) { .grid3 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1000px) { .grid3 { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.feat .ic { width: 46px; height: 46px; border-radius: 13px; background: var(--tint); color: var(--brand); display: grid; place-items: center; }
.feat .ic svg { width: 24px; height: 24px; }
.feat .ic.sun { background: var(--sun-tint); color: var(--sun); }
.feat .ic.leaf { background: var(--leaf-tint); color: var(--leaf); }
.feat h3 { font-size: 18.5px; margin-top: 16px; }
.feat p { color: var(--ink2); font-size: 15px; margin-top: 8px; }

/* split: makers */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 64px; } }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; font-size: 16px; color: var(--ink2); }
.checks li b { color: var(--ink); }
.checks svg { width: 22px; height: 22px; color: var(--leaf); margin-top: 2px; }
.art { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: var(--shadow); }
.art text { font-family: var(--font); }
.art svg { display: block; width: 100%; height: auto; }
.art-tall { display: none !important; }
@media (max-width: 559px) { .art { padding: 14px 10px; } .art-wide { display: none !important; } .art-tall { display: block !important; } }

/* money */
.money { display: grid; gap: 32px; margin-top: 40px; align-items: start; }
@media (min-width: 960px) { .money { grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: 56px; } }
.ledger { background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.ledger-head { padding: 18px 22px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.ledger-head b { font-size: 17px; }
.ledger-head span { font-size: 13px; color: var(--muted); }
.ledger .ln { display: flex; justify-content: space-between; gap: 16px; padding: 14px 22px; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.ledger .ln span:last-child { font-variant-numeric: tabular-nums; font-weight: 650; white-space: nowrap; }
.ledger .ln small { display: block; color: var(--muted); font-size: 13px; }
.ledger .ln.total { background: var(--leaf-tint); border-bottom: 0; font-size: 17px; }
.ledger .ln.total span { font-weight: 800; color: var(--leaf); }
.points { display: grid; gap: 18px; }
.point { display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.point .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--tint); color: var(--brand); display: grid; place-items: center; }
.point .ic svg { width: 22px; height: 22px; }
.point h3 { font-size: 17.5px; }
.point p { color: var(--ink2); font-size: 15px; margin-top: 4px; }

/* devices */
.devices { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 760px) { .devices { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.dev { border: 1px solid var(--line); border-radius: var(--r); padding: 22px; background: var(--card); }
.dev b { display: block; font-size: 17px; }
.dev span { display: block; color: var(--ink2); font-size: 15px; margin-top: 6px; }

/* faq */
.faq { max-width: 820px; margin: 36px auto 0; display: grid; gap: 10px; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
details[open] { box-shadow: var(--shadow); }
summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; font-size: 16.5px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 22px; font-weight: 500; color: var(--brand); line-height: 1; flex: none; }
details[open] summary::after { content: "\2212"; }
details p { color: var(--ink2); padding: 0 0 18px; font-size: 15.5px; }

/* closing */
.closing { background: linear-gradient(135deg, #1B41AD, #2456E6 55%, #3B6BF0); color: #fff; border-radius: 24px; padding: 48px 28px;
           text-align: center; position: relative; overflow: hidden; }
.closing h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.closing p { color: #DCE5FD; font-size: 17.5px; margin: 14px auto 0; max-width: 34em; }
.closing .hero-actions { justify-content: center; }
.closing .btn.white { background: #fff; color: #1B41AD; }
.closing .btn.line { color: #fff; border-color: rgba(255,255,255,.45); }

footer { padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); margin-top: 72px; }
.foot { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted); }
.foot a { color: var(--ink2); text-decoration: none; font-weight: 600; margin-right: 18px; }
.foot a:hover { color: var(--brand-ink); }
.foot .brand b { color: var(--ink); } .foot .brand b span { color: var(--brand); }
.foot .brand small { color: var(--muted); }

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