*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --trade-brown: #A0622B;
  --trade-brown-dark: #6B3E18;
  --portal-blue: #1F4A86;
  --portal-blue-soft: #EDF3FF;
  --portal-red: #A51E1E;
  --portal-bg: #F4F6FB;
  --portal-line: #DDE3EF;
  --portal-muted: #5C677D;
  --forge-black: #1E1C1A;
  --charcoal: #2E2B27;
  --warm-gray: #766d63;
  --bone: #FAF8F4;
  --stone: #F2EDE6;
  --surface: #FFFFFF;
  --border: #DDD4C8;
  --shadow: 0 20px 60px rgba(30, 28, 26, 0.10);
  --shadow-soft: 0 12px 30px rgba(30, 28, 26, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 12px;
  font-size: 16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--forge-black);
  background: var(--bone);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.container { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }

.top-band {
  background: var(--forge-black);
  color: #e7d5c3;
  font-size: 13px;
  text-align: center;
  padding: 9px 18px;
  letter-spacing: .02em;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 244, .94);
  border-bottom: 1px solid rgba(221, 212, 200, .85);
  backdrop-filter: blur(18px);
}

.nav-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.wordmark { display: flex; align-items: center; text-decoration: none; }
.wordmark-logo { width: min(330px, 46vw); height: auto; }

.links { display: flex; align-items: center; gap: 28px; }
.links a { text-decoration: none; color: #544b43; font-size: 15px; font-weight: 700; }
.links a:hover { color: var(--trade-brown); }
.nav-cta {
  background: var(--trade-brown);
  color: #fff !important;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 18px rgba(160, 98, 43, .18);
}

.section { padding: 92px 0; }
.section-tinted { background: var(--stone); }

.kicker {
  color: var(--trade-brown);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

h1, h2, h3 {
  font-family: 'Oswald', Impact, sans-serif;
  color: var(--forge-black);
  letter-spacing: .005em;
  line-height: .98;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.85rem, 5.2vw, 5rem); max-width: 12.5ch; margin-bottom: 24px; }
h2 { font-size: clamp(2.2rem, 4vw, 4.3rem); margin-bottom: 18px; }
h3 { font-size: 1.55rem; margin-bottom: 12px; }
p { color: #5e554d; font-size: 1.08rem; line-height: 1.7; }

.hero-shell {
  position: relative;
  overflow: hidden;
  padding: 92px 0 104px;
  background:
    radial-gradient(circle at 82% 18%, rgba(193, 122, 58, .13), transparent 28%),
    linear-gradient(180deg, #fffdf9 0%, var(--bone) 52%, #f3ece3 100%);
}

.hero-shell::before {
  content: '';
  position: absolute;
  inset: auto -10% -34% -10%;
  height: 54%;
  background: var(--forge-black);
  transform: skewY(-3deg);
  transform-origin: left top;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(420px, 1.06fr);
  gap: 58px;
  align-items: center;
}

.hero-lead { max-width: 640px; color: #4d443d; font-size: 1.32rem; line-height: 1.58; margin-bottom: 30px; }
.row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 28px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--trade-brown);
  border-radius: var(--radius-md);
  background: var(--trade-brown);
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(160, 98, 43, .18);
}
.btn:hover { background: var(--trade-brown-dark); border-color: var(--trade-brown-dark); }
.btn.secondary { background: #fff; color: var(--forge-black); border-color: var(--border); box-shadow: none; }
.btn.secondary:hover { background: var(--stone); border-color: #cfc3b5; }

.proof-strip { display: flex; flex-wrap: wrap; gap: 10px; }
.proof-strip span {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,.76);
  color: #574e46;
  padding: 8px 13px;
  font-weight: 800;
  font-size: 14px;
}

/* Marketing mockup styled to match current B2B app */
.portal-card {
  background: var(--portal-bg);
  border: 1px solid var(--portal-line);
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(20, 42, 94, 0.10);
  overflow: hidden;
  font-family: Inter, 'Source Sans 3', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 14px 16px;
  background: #fff;
  border-bottom: 1px solid var(--portal-line);
}
.demo-brand { display: grid; gap: 4px; min-width: 190px; }
.demo-brand img { width: 150px; max-height: 40px; object-fit: contain; object-position: left center; mix-blend-mode: multiply; }
.demo-brand strong { color: var(--portal-red); font-size: 12px; line-height: 1.1; }
.demo-brand span { color: #46546b; font-size: 12px; line-height: 1.15; }
.app-user-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.brand-picker, .theme-pill, .signout-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}
.brand-picker { gap: 8px; padding: 0 12px; border: 1px solid var(--portal-line); background: #fff; color: #121a2a; }
.brand-picker span { color: #7b8798; text-transform: uppercase; letter-spacing: .1em; font-size: 10px; }
.brand-picker b { border-radius: 999px; padding: 5px 7px; color: #5a2323; background: #f2dddd; font-size: 10px; }
.brand-picker strong { font-size: 12px; }
.brand-picker em { border-radius: 999px; padding: 4px 8px; color: #4f6a12; background: #e3f2c6; font-style: normal; }
.theme-pill { padding: 0 13px; border: 1px solid #c8d7f4; background: #fff; color: #121a2a; }
.signout-pill { padding: 0 13px; background: var(--portal-red); color: #fff; }
.app-nav {
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 9px 12px 7px;
  background: #fff;
  border-bottom: 1px solid var(--portal-line);
  color: var(--portal-muted);
  font-size: 9px;
  font-weight: 900;
  overflow: hidden;
}
.app-nav strong,
.app-nav span {
  white-space: nowrap;
  flex: 0 0 auto;
}
.app-nav strong { color: var(--portal-red); box-shadow: inset 0 -2px 0 var(--portal-red); padding-bottom: 7px; }
.app-nav button { margin-left: auto; flex: 0 0 auto; border: 0; border-radius: 8px; background: var(--portal-red); color: #fff; padding: 7px 8px; font-weight: 900; font-size: 10px; white-space: nowrap; }
.portal-main { padding: 14px; background: var(--portal-bg); }
.portal-welcome { color: var(--portal-red); font-size: 18px; font-weight: 900; margin: 4px 0 1px; }
.portal-subhead { color: #121a2a; font-size: 15px; font-weight: 900; margin-bottom: 10px; }
.report-panel-head span, .report-row span {
  display: block;
  color: #7b8798;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 10px;
  font-weight: 900;
  margin-bottom: 6px;
}
.metric-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 12px; }
.metric-row div { border: 1px solid var(--portal-line); border-radius: 13px; background: #f8fbff; padding: 12px; }
.metric-row span { display: block; color: #66748a; text-transform: uppercase; letter-spacing: .08em; font-size: 10px; font-weight: 900; }
.metric-row strong { display: block; color: #101828; font-size: 22px; line-height: 1.1; }
.lifestyle-preview {
  border: 1px solid var(--portal-line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  height: 188px;
}
.lifestyle-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.mock-workspace { display: grid; grid-template-columns: 1fr .92fr; gap: 12px; }
.catalog-preview, .report-panel { border: 1px solid var(--portal-line); border-radius: 16px; background: #fff; padding: 14px; }
.search-bar { min-height: 42px; display: flex; align-items: center; border: 1px solid #c8d7f4; border-radius: 13px; color: #6a7890; padding: 0 12px; font-size: 13px; margin-bottom: 12px; }
.generic-product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.generic-product-grid article { border: 1px solid var(--portal-line); border-radius: 14px; overflow: hidden; background: #fff; }
.generic-product-grid i { display: block; position: relative; aspect-ratio: 1 / .72; background: linear-gradient(135deg, #f2eee7, #d9e4dc); overflow: hidden; }
.generic-product-grid i::before, .generic-product-grid i::after { content: ''; position: absolute; display: block; }
.product-pack::before { width: 42%; height: 52%; left: 29%; top: 24%; border-radius: 10px 10px 7px 7px; background: #174234; box-shadow: inset 0 -12px 0 rgba(0,0,0,.12); }
.product-pack::after { width: 22%; height: 18%; left: 39%; top: 12%; border: 5px solid #b86634; border-bottom: 0; border-radius: 14px 14px 0 0; }
.product-boot::before { width: 58%; height: 28%; left: 22%; top: 47%; border-radius: 32px 28px 12px 12px; background: #563421; transform: rotate(-7deg); }
.product-boot::after { width: 38%; height: 30%; left: 28%; top: 27%; border-radius: 10px 10px 4px 4px; background: #7a4a2e; transform: rotate(-7deg); }
.product-flask::before { width: 34%; height: 50%; left: 33%; top: 25%; border-radius: 13px; background: #b86634; box-shadow: inset 0 0 0 7px rgba(255,255,255,.2); }
.product-flask::after { width: 18%; height: 10%; left: 41%; top: 16%; border-radius: 5px; background: #174234; }
.generic-product-grid strong { display: block; color: #101828; line-height: 1.15; padding: 10px 10px 4px; font-size: 13px; }
.generic-product-grid span { display: block; color: var(--portal-muted); padding: 0 10px 10px; font-size: 11px; }
.report-panel-head { display: grid; margin-bottom: 8px; }
.report-panel-head strong { color: #101828; font-size: 16px; }
.report-row { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 9px 0; border-top: 1px solid #edf1f7; }
.report-row span { margin: 0; }
.report-row b { color: #121a2a; font-size: 13px; text-align: right; }

.split { display: grid; grid-template-columns: .85fr 1fr; gap: 70px; align-items: start; }
.split p { font-size: 1.28rem; color: #554b43; }
.feature-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.feature-card, .audience-grid article, .steps-grid article, .pricing-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.84);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}
.feature-card span { color: var(--trade-brown); font-weight: 900; font-size: 13px; letter-spacing: .12em; }
.feature-card h3 { margin-top: 14px; font-size: 1.35rem; }
.feature-card p, .audience-grid p, .steps-grid p, .pricing-card p, .pricing-card li { font-size: 1rem; color: #625950; }
.section-heading { max-width: 780px; margin: 0 auto 42px; text-align: center; }
.align-left { margin-left: 0; text-align: left; }
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.audience-grid span, .pricing-card > span {
  color: var(--trade-brown);
  display: block;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 12px;
}
.process-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 54px; }
.steps-grid { display: grid; gap: 14px; }
.steps-grid span { display: block; color: var(--trade-brown); font-size: 13px; font-weight: 900; margin-bottom: 10px; }
.fit-section { background: var(--forge-black); }
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.fit-section h2, .fit-section p { color: #fff; }
.fit-section p { color: rgba(255,255,255,.68); }
.fit-list { display: grid; gap: 12px; }
.fit-list div { border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: rgba(255,255,255,.05); padding: 22px; }
.fit-list strong { display: block; color: #fff; margin-bottom: 6px; font-size: 18px; }
.fit-list span { color: rgba(255,255,255,.65); }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.pricing-card { display: flex; flex-direction: column; }
.pricing-card.featured { border: 2px solid var(--trade-brown); transform: translateY(-8px); }
.pricing-card h3 { font-size: 1.18rem; line-height: 1.08; }
.price { margin: 18px 0 10px; display: flex; align-items: baseline; gap: 6px; }
.price strong { font-family: 'Oswald', Impact, sans-serif; font-size: 3rem; line-height: 1; }
.price em { color: var(--warm-gray); font-style: normal; }
.annual-save {
  display: block;
  color: var(--trade-brown);
  font-size: .88rem;
  font-weight: 800;
  line-height: 1.35;
  margin: -2px 0 12px;
}
.pricing-card ul { list-style: none; display: grid; gap: 8px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }
.pricing-card li { display: flex; gap: 8px; line-height: 1.35; }
.pricing-card li::before { content: '✓'; color: var(--trade-brown); font-weight: 900; }
.pricing-footnote { text-align: center; margin-top: 28px; }
.pricing-footnote strong { color: var(--forge-black); }
.cta-section { background: linear-gradient(135deg, #2E2B27, #1E1C1A); }
.cta-card { display: grid; grid-template-columns: 1fr auto; gap: 54px; align-items: center; }
.cta-section h2 { color: #fff; }
.cta-section p { color: rgba(255,255,255,.68); max-width: 620px; }
.cta-actions { display: grid; gap: 12px; min-width: 230px; }
.cta-actions .btn.secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.2); }
.cta-actions .btn.secondary:hover { background: rgba(255,255,255,.08); }
.footer { padding: 28px 0; background: var(--bone); border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--warm-gray); font-size: 14px; }
.footer img { width: 240px; }

@media (max-width: 1100px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 980px) {
  .links { gap: 16px; }
  .hero-grid, .split, .process-grid, .fit-grid, .cta-card { grid-template-columns: 1fr; }
  .hero-shell::before { display: none; }
  .feature-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: 1fr; }
  .portal-body { grid-template-columns: 1fr; }
  .mock-workspace { grid-template-columns: 1fr; }
  .metric-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .container { width: min(100% - 32px, 1160px); }
  .top-band { font-size: 12px; }
  .nav-inner { min-height: auto; padding: 16px 0; align-items: flex-start; flex-direction: column; }
  .wordmark-logo { width: min(330px, 100%); }
  .links { width: 100%; overflow-x: auto; padding-bottom: 2px; gap: 18px; }
  .links a { white-space: nowrap; font-size: 14px; }
  .hero-shell { padding: 58px 0 68px; }
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2.2rem; }
  .hero-lead { font-size: 1.12rem; }
  .section { padding: 64px 0; }
  .portal-card { display: none; }
  .feature-grid, .pricing-grid, .metric-row, .generic-product-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
