/* TradeHub marketing site — warm off-white, near-black type, electric blue, wide display headings. */
:root { --bg: #f4f2ed; --bg2: #ebe8e1; --ink: #141414; --ink2: #3e3e3b; --muted: #77756f; --line: #dcd8cf; --blue: #3550d8; --blue-d: #2a42bd; --dark: #121212; --cream: #f4f2ed; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.w { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
h1, h2, h3 { font-family: Archivo, Inter, sans-serif; font-stretch: 112%; letter-spacing: -.02em; margin: 0; }
h2 { font-size: clamp(30px, 4vw, 52px); line-height: 1.02; font-weight: 800; margin-bottom: 18px; }
h3 { font-size: 21px; font-weight: 700; margin-bottom: 8px; }
p { margin: 0 0 14px; }
.mono, .eyebrow { font: 500 12px/1.4 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.eyebrow { color: #d9d6cf; }
.eyebrow.dark { color: var(--muted); }

/* Nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 30; transition: background .25s, box-shadow .25s; }
.nav .w { display: flex; align-items: center; gap: 26px; height: 78px; }
.nav.solid, body:not(:has(.hero)) .nav { background: rgba(244, 242, 237, .94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: Archivo, sans-serif; font-stretch: 115%; font-weight: 800; font-size: 21px; color: var(--cream); }
.nav.solid .brand, body:not(:has(.hero)) .nav .brand { color: var(--ink); }
.brand .th-mark { width: 32px; height: 32px; flex: none; }
.brand .th-word { font-weight: 400; }
.brand .th-word b { font-weight: 800; }
.links { display: flex; gap: 22px; }
.links a { text-decoration: none; font-size: 15px; font-weight: 500; color: rgba(244, 242, 237, .85); }
.nav.solid .links a, body:not(:has(.hero)) .nav .links a { color: var(--ink2); }
.links a:hover, .links a[aria-current] { color: var(--blue) !important; }
.sp { flex: 1; }
.signin { text-decoration: none; font-weight: 500; font-size: 15px; color: rgba(244, 242, 237, .85); }
.nav.solid .signin, body:not(:has(.hero)) .signin { color: var(--ink2); }
.burger { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; }
.burger span { display: block; height: 2px; margin: 7px 8px; background: currentColor; color: var(--cream); }
.nav.solid .burger span, body:not(:has(.hero)) .burger span { color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 6px; background: var(--blue); color: #fff; font: 600 15px/1 Inter, sans-serif; text-decoration: none; border: 1px solid var(--blue); cursor: pointer; white-space: nowrap; transition: background .15s, transform .15s; }
.btn:hover { background: var(--blue-d); transform: translateY(-1px); }
.btn.big { padding: 16px 24px; font-size: 16px; }
.btn.block { width: 100%; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost-light { background: transparent; color: var(--cream); border-color: rgba(244, 242, 237, .5); }
.row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero */
.hero { background: radial-gradient(1200px 600px at 75% 20%, #2a2c33 0%, var(--dark) 60%); color: var(--cream); padding: 150px 0 90px; overflow: hidden; }
.hero h1 { font-size: clamp(54px, 11vw, 158px); line-height: .88; font-weight: 900; font-stretch: 125%; letter-spacing: -.035em; word-spacing: .14em; text-transform: uppercase; margin-bottom: 30px; }
.hero-row { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.lead { font-size: 20px; color: rgba(244, 242, 237, .82); max-width: 560px; margin: 0; }
.lead.dark { color: var(--ink2); }
.hero-shots { position: relative; margin-top: 60px; }
.shot { margin: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45), 0 0 0 1px rgba(0, 0, 0, .06); background: #fff; }
.hero-shots .desk { width: 86%; }
.shot img, .shot video { display: block; width: 100%; height: auto; }
.voices { padding: 110px 0; background: var(--bg2); }
.voices h2 { font: 800 clamp(34px, 4.4vw, 56px)/1 Archivo, sans-serif; font-stretch: 115%; letter-spacing: -.01em; margin: 10px 0 40px; }
.voice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.voice { margin: 0; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.voice blockquote { margin: 0; font: 500 19px/1.45 Inter, sans-serif; color: var(--ink); flex: 1; }
.voice figcaption { display: flex; flex-direction: column; gap: 3px; font-size: 14px; color: var(--muted); }
.voice figcaption b { color: var(--ink); font-weight: 600; }
.stars { color: #e9a400; letter-spacing: 2px; font-size: 16px; }
.stars i { font-style: normal; color: var(--line); }
.hero-shots .phone, .phones .phone { width: 250px; border-radius: 30px; border: 8px solid #0b0b0b; }
.hero-shots .phone { position: absolute; right: 0; bottom: -30px; }

/* Sections */
section { padding: 110px 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.statement .muted-h { color: var(--ink); }
.statement .muted-h span { color: var(--muted); }
.statement p { font-size: 19px; color: var(--ink2); }
.who { padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.who .w { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.who .mono { margin: 0; }
.who-list { flex: 1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.who-list a { font-family: Archivo, sans-serif; font-stretch: 110%; font-weight: 600; font-size: 22px; text-decoration: none; }
.who-list a:hover { color: var(--blue); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px; }
.pillar, .fcard { border-top: 1px solid var(--line); padding-top: 26px; }
.ic { width: 46px; height: 46px; border-radius: 10px; background: var(--bg2); display: grid; place-items: center; margin-bottom: 20px; }
.ic svg { width: 24px; height: 24px; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pillar p, .fcard p { color: var(--ink2); font-size: 16px; }
.feature { padding: 80px 0; }
.feature p { color: var(--ink2); font-size: 18px; }
.feature.flip .split > div:first-child { order: 2; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; }
.ticks li { position: relative; padding: 7px 0 7px 28px; border-top: 1px solid var(--line); font-size: 16px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 12px; height: 6px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }

/* Stat block */
.stat { padding: 40px 0 110px; }
.stat-in { display: grid; grid-template-columns: 1fr 1fr; }
.stat-a { background: var(--blue); color: #fff; padding: 46px; border-radius: 4px 0 0 4px; }
.stat-a .mono { color: rgba(255, 255, 255, .75); }
.stat-a b { display: block; font: 900 clamp(64px, 9vw, 120px)/1 Archivo, sans-serif; font-stretch: 120%; letter-spacing: -.04em; }
.stat-a span { font-size: 18px; }
.stat-b { background: var(--bg2); padding: 46px; border-radius: 0 4px 4px 0; }
.stat-b ul { list-style: none; padding: 0; margin: 0; columns: 2; }
.stat-b li { padding: 6px 0; color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(53, 80, 216, .5); }

.dual .phones { display: flex; justify-content: center; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font: 600 20px/1.3 Archivo, sans-serif; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 26px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--ink2); max-width: 760px; }
.faq h2 { margin-bottom: 30px; }

/* CTA band + footer */
.band { padding: 0; }
.band.dark { background: var(--dark); color: var(--cream); }
.band-in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: end; padding: 110px 28px; }
.band h2 { font-size: clamp(40px, 6vw, 84px); text-transform: uppercase; font-weight: 900; font-stretch: 122%; letter-spacing: -.03em; word-spacing: .12em; line-height: .92; }
.band p { color: rgba(244, 242, 237, .78); font-size: 18px; }
.band:not(.dark) p { color: var(--ink2); }
.band:not(.dark) .btn.ghost { color: var(--ink); }
.band.dark .btn.ghost { color: var(--cream); border-color: rgba(244, 242, 237, .5); }
.foot { background: #0c0c0c; color: #a9a69f; padding: 70px 0 30px; font-size: 15px; }
.foot .w { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.foot h4 { color: var(--cream); font: 500 12px "JetBrains Mono", monospace; letter-spacing: .12em; text-transform: uppercase; margin: 6px 0 14px; }
.foot a { display: block; text-decoration: none; padding: 3px 0; }
.foot a:hover { color: var(--cream); }
.foot .brand { margin-bottom: 14px; }
.foot .legal { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 22px; border-top: 1px solid #262626; font-size: 13px; }
.float { position: fixed; right: 22px; bottom: 22px; z-index: 25; display: inline-flex; gap: 10px; align-items: center; padding: 13px 20px; border-radius: 99px; background: var(--blue); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; box-shadow: 0 12px 30px -8px rgba(53, 80, 216, .6); opacity: 0; transform: translateY(12px); transition: .3s; pointer-events: none; }
.float.show { opacity: 1; transform: none; pointer-events: auto; }
.float svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2; }

/* Inner pages */
.page-head { padding: 170px 0 70px; }
.page-head h1 { font-size: clamp(48px, 9vw, 120px); line-height: .9; font-weight: 900; font-stretch: 122%; text-transform: uppercase; letter-spacing: -.035em; word-spacing: .14em; margin-bottom: 22px; }
.flist { padding-top: 20px; }
.fcard .ticks li { font-size: 15px; }
.gallery .mono { margin-top: 10px; }
.price-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: start; }
.price { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: 6px; padding: 40px; }
.price b { display: block; font: 900 84px/1 Archivo, sans-serif; font-stretch: 118%; letter-spacing: -.04em; margin: 6px 0 14px; }
.price b small { font: 500 18px Inter, sans-serif; letter-spacing: 0; color: var(--muted); margin-left: 6px; }
.price .small { font-size: 14px; color: var(--muted); margin-top: 10px; }
.price-side h3 { margin-top: 26px; }
.price-side p { color: var(--ink2); }
.form { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 30px; }
.form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 14px; }
.form input, .form select, .form textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 13px; font: 16px Inter, sans-serif; border: 1px solid #cfcbc1; border-radius: 6px; background: #fff; color: var(--ink); }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .btn { margin-top: 6px; }
.err { color: #b42318; }
.ok { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue); padding: 30px; border-radius: 8px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

@media (max-width: 960px) {
  .links, .signin { display: none; }
  .burger { display: block; }
  .nav.open .links { display: flex; flex-direction: column; position: absolute; top: 78px; left: 0; right: 0; background: var(--bg); padding: 16px 28px 24px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .3); }
  .nav.open .links a { color: var(--ink) !important; font-size: 18px; padding: 8px 0; }
  .nav .btn { display: none; }
  .hero-row, .split, .stat-in, .band-in, .price-grid { grid-template-columns: 1fr; gap: 34px; }
  .grid3, .grid2 { grid-template-columns: 1fr; }
  .feature.flip .split > div:first-child { order: 0; }
  .hero-shots .desk { width: 100%; }
  .hero-shots .phone { width: 150px; border-width: 5px; border-radius: 20px; right: -6px; bottom: -40px; }
  .stat-a, .stat-b { border-radius: 4px; }
  .stat-b ul { columns: 1; }
  .foot .w { grid-template-columns: 1fr 1fr; }
  .foot .legal { flex-direction: column; }
  section { padding: 80px 0; }
  .w { padding: 0 18px; }
  .form .two { grid-template-columns: 1fr; }
}
.feature .phones { display: flex; justify-content: center; }

/* Visitor chat */
.chat-btn { position: fixed; left: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: var(--cream); border: 0; border-radius: 999px; padding: 12px 18px; font: 600 14px Inter, sans-serif; cursor: pointer; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); }
.chat-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.chat { position: fixed; left: 20px; bottom: 80px; z-index: 61; width: min(380px, calc(100vw - 32px)); max-height: min(560px, calc(100vh - 120px)); background: var(--bg); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); display: flex; flex-direction: column; overflow: hidden; }
.chat[hidden] { display: none; }
.chat header { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; background: var(--ink); color: var(--cream); font-family: Inter, sans-serif; }
.chat header button { background: none; border: 0; color: inherit; font-size: 22px; cursor: pointer; line-height: 1; }
.chat-log { flex: 1; overflow: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; font: 14px/1.45 Inter, sans-serif; }
.cm { max-width: 85%; padding: 9px 12px; border-radius: 12px; white-space: pre-wrap; } .cm.a { background: var(--bg2); align-self: flex-start; } .cm.u { background: var(--blue); color: #fff; align-self: flex-end; }
.cm.typing { color: var(--muted); }
.chat form { display: flex; gap: 6px; padding: 10px; border-top: 1px solid var(--line); } .chat input { flex: 1; border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px; font: 14px Inter, sans-serif; background: #fff; }
.chat form button { background: var(--blue); color: #fff; border: 0; border-radius: 8px; padding: 0 14px; font: 600 14px Inter, sans-serif; cursor: pointer; }
.chat-note { margin: 0; padding: 0 12px 10px; font: 11.5px Inter, sans-serif; color: var(--muted); } .chat-note a { color: inherit; }
@media (max-width: 960px) { .chat-btn span { display: none; } .chat-btn { padding: 12px; } }

/* Pricing tiers */
.iv { display: inline-flex; margin-top: 26px; border: 1px solid rgba(20,20,20,.18); border-radius: 999px; padding: 4px; background: #fff; }
.iv button { border: 0; background: none; padding: 9px 18px; border-radius: 999px; font: 600 14px Inter, sans-serif; cursor: pointer; color: var(--ink2); } .iv button.on { background: var(--ink); color: var(--cream); }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.tier { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px; display: flex; flex-direction: column; gap: 10px; }
.tier.popular { border: 2px solid var(--blue); box-shadow: 0 30px 60px -30px rgba(53,80,216,.45); }
.tier .pop { position: absolute; top: -13px; left: 26px; background: var(--blue); color: #fff; font: 700 12px Inter, sans-serif; padding: 4px 12px; border-radius: 999px; }
.tier .amt { font: 800 52px/1 Archivo, sans-serif; font-stretch: 110%; } .tier .amt small { font: 500 15px Inter, sans-serif; color: var(--muted); margin-left: 6px; }
.tier .ticks { margin-top: 8px; } .tier .btn.ghost { color: var(--ink); border-color: var(--ink); }
.compare { width: 100%; border-collapse: collapse; margin: 60px 0 20px; font: 15px Inter, sans-serif; background: #fff; border-radius: 14px; overflow: hidden; }
.compare th, .compare td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: center; } .compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { font: 800 16px Archivo, sans-serif; background: var(--bg2); } .compare .yes { color: var(--blue); font-weight: 800; } .compare .no { color: var(--line); }
.price-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 30px 0 80px; } .price-notes h3 { font: 700 18px Archivo, sans-serif; margin: 0 0 6px; } .price-notes p { color: var(--ink2); margin: 0; }
@media (max-width: 960px) { .tiers, .price-notes { grid-template-columns: 1fr; } .compare { font-size: 13px; } .compare th, .compare td { padding: 10px 8px; } }

.legal { padding: 20px 0 100px; } .prose { max-width: 760px; font: 17px/1.7 Inter, sans-serif; color: var(--ink2); } .prose h2 { font: 800 24px Archivo, sans-serif; color: var(--ink); margin: 36px 0 10px; } .prose ul { padding-left: 20px; } .prose li { margin: 6px 0; } .prose a { color: var(--blue); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; margin: 14px 0; } .prose th, .prose td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--line, #e3e0d8); } .prose th { font-weight: 700; color: var(--ink); }
@media (max-width: 640px) { .prose table, .prose tbody, .prose tr, .prose td { display: block; width: 100%; } .prose thead { display: none; } .prose tr { padding: 10px 0; border-bottom: 1px solid var(--line, #e3e0d8); } .prose td { border: 0; padding: 2px 0; } .prose td:first-child { font-weight: 700; color: var(--ink); } }
