/* =========================================================
   Label Brands Inc. — Landing Page (1:1 with Figma)
   BEM class naming · Pure CSS · Responsive at ≤1024, ≤768
   ========================================================= */

/* ---------- Tokens (from Figma palette) ---------- */
:root {
  --c-white:      #FFFFFF;
  --c-ink:        #111318;
  --c-navy:       #0B1220;
  --c-red:        #FF3131;
  --c-blue:       #12709E;
  --c-slate:      #5A6472;
  --c-muted:      #6B7280;
  --c-muted-2:    #C8CFDA;   /* labels on dark */
  --c-muted-3:    #9EA8B8;   /* footer muted */
  --c-line:       #D8DCE3;
  --c-line-dark:  #212938;   /* footer divider */
  --c-card-bg:    #F5F7FB;
  --c-soft-blue:  #F0F6FC;

  --radius-card:  20px;
  --radius-lg:    24px;
  --radius-pill:  999px;

  --pad-x:        96px;      /* section horizontal padding at 1440 */
  --pad-y:        96px;
  --max-w:        1440px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--c-ink);
  background: var(--c-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, p, ul, ol, blockquote, figure {
  margin: 0;
  padding: 0;
}

ul, ol { list-style: none; }

a { color: inherit; text-decoration: none; }

button { font: inherit; cursor: pointer; }

img, svg { display: block; max-width: 100%; }

/* ---------- Shared elements ---------- */
.eyebrow {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.20em;
  margin: 0;
}
.eyebrow--red { color: var(--c-red); }

.section-title {
  font-weight: 800;
  font-size: 44px;
  line-height: 1.10;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  margin: 0;
}

.section-sub {
  font-size: 17px;
  line-height: 1.60;
  color: var(--c-muted);
  margin: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: var(--c-ink);
  color: var(--c-white);
}
.btn--primary:hover { background: #000; }

.btn--ghost {
  background: transparent;
  color: var(--c-ink);
  border: 1px solid var(--c-line);
}
.btn--ghost:hover { border-color: var(--c-ink); }

.btn--light {
  background: var(--c-white);
  color: var(--c-navy);
  padding: 18px 32px;
}

.btn--outline-dark {
  background: transparent;
  color: var(--c-white);
  border: 1px solid #40495A;
  padding: 18px 32px;
  font-weight: 500;
}
.btn--outline-dark:hover { border-color: var(--c-white); }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-line);
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 22px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav__logo-mark { width: 52px; height: 40px; flex-shrink: 0; }
.nav__wordmark { display: inline-flex; flex-direction: column; gap: 2px; }
.nav__brand-name {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.06em;
  color: var(--c-ink);
  line-height: 1;
}
.nav__brand-sub {
  font-weight: 500;
  font-size: 9px;
  letter-spacing: 0.10em;
  color: var(--c-muted);
  line-height: 1;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__link {
  font-weight: 500;
  font-size: 14px;
  color: var(--c-ink);
  transition: color .15s ease;
}
.nav__link:hover { color: var(--c-blue); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  background: var(--c-ink);
  color: var(--c-white);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  transition: transform .15s ease, background .15s ease;
}
.nav__cta:hover { background: #000; transform: translateY(-1px); }

/* Hamburger (hidden on desktop) */
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--c-line);
  border-radius: 8px;
  background: var(--c-white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav__toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--c-ink);
  transition: transform .25s ease, opacity .25s ease;
}

/* =========================================================
   HERO
   ========================================================= */
.hero { background: var(--c-white); }
.hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--pad-y) var(--pad-x);
  display: flex;
  align-items: center;
  gap: 56px;
}
.hero__copy { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 24px; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--c-red);
  margin: 0;
}
.hero__eyebrow-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-red);
}

.hero__title {
  font-weight: 800;
  font-size: 68px;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero__title-line { display: block; }
.hero__title-line--ink  { color: var(--c-ink); }
.hero__title-line--blue { color: var(--c-blue); }

.hero__sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--c-muted);
}

.hero__ctas {
  display: flex;
  gap: 16px;
  padding-top: 16px;
  flex-wrap: wrap;
}

.hero__visual {
  flex: 0 0 520px;
  width: 520px;
  height: 480px;
  background: var(--c-soft-blue);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 48px;
}
.hero__mark { width: 320px; height: 240px; }
.hero__badge {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.20em;
  color: var(--c-muted);
  margin: 0;
}

/* =========================================================
   PILLARS
   ========================================================= */
.pillars {
  background: var(--c-white);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--pad-y) var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
}
.pillars__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}
.pillars__title, .pillars__sub { text-align: center; max-width: 900px; }
.pillars__sub { max-width: 820px; }

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}

/* ---------- Card (shared) ---------- */
.card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 36px 32px;
  border-radius: var(--radius-card);
}
.card--pillar {
  background: var(--c-card-bg);
}
.card__top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.card__num {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--c-muted);
}
.card__stripe {
  display: block;
  width: 40px;
  height: 3px;
  border-radius: 2px;
}
.card__stripe--red   { background: var(--c-red); }
.card__stripe--blue  { background: var(--c-blue); }
.card__stripe--slate { background: var(--c-slate); }

.card__badge {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  margin: 0;
}
.card__badge--red   { color: var(--c-red); }
.card__badge--blue  { color: var(--c-blue); }
.card__badge--slate { color: var(--c-slate); }

.card__title {
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.01em;
  color: var(--c-ink);
  margin: 0;
}
.card__title--sm { font-size: 24px; }

.card__body {
  font-size: 15px;
  line-height: 1.60;
  color: var(--c-slate);
  margin: 0;
}
.card--product .card__body { font-size: 14px; }

/* =========================================================
   STATS
   ========================================================= */
.stats {
  background: var(--c-white);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px var(--pad-x) var(--pad-y);
}
.stats__bar {
  background: var(--c-navy);
  border-radius: 20px;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stats__cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
}
.stats__num {
  font-weight: 800;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--c-white);
  text-align: center;
}
.stats__label {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--c-muted-2);
  text-align: center;
}

/* =========================================================
   SCOUTAFI
   ========================================================= */
.scoutafi {
  background: var(--c-soft-blue);
  padding: var(--pad-y) var(--pad-x);
}
.scoutafi__header,
.scoutafi__grid,
.scoutafi__ctas {
  max-width: calc(var(--max-w) - (var(--pad-x) * 2));
  margin-left: auto;
  margin-right: auto;
}
.scoutafi__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}
.scoutafi__title, .scoutafi__sub { text-align: center; max-width: 900px; }
.scoutafi__sub { max-width: 820px; }

.scoutafi__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.card--product {
  background: var(--c-white);
  border: 1px solid var(--c-line);
}

.stat-pill {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px;
  background: var(--c-card-bg);
  border-radius: 12px;
}
.stat-pill__num {
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--c-blue);
}
.stat-pill__label {
  font-weight: 500;
  font-size: 12px;
  color: var(--c-muted);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 13px;
  color: var(--c-ink);
}
.feature-list__dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-red);
  flex-shrink: 0;
}

.scoutafi__ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.scoutafi__link {
  font-weight: 600;
  font-size: 15px;
  color: var(--c-blue);
}
.scoutafi__link:hover { text-decoration: underline; }

/* =========================================================
   WHAT WE BRING
   ========================================================= */
.bring { background: var(--c-white); }
.bring__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--pad-y) var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.bring__header {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.bring__title { font-size: 44px; }
.bring__sub { font-size: 17px; }

.bring__list {
  display: flex;
  flex-direction: column;
}
.bring__item {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--c-line);
  align-items: flex-start;
}
.bring__item:first-child { border-top: 1px solid var(--c-line); }
.bring__num {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  flex-shrink: 0;
  padding-top: 2px;
}
.bring__num--red  { color: var(--c-red); }
.bring__num--blue { color: var(--c-blue); }

.bring__text { display: flex; flex-direction: column; gap: 6px; }
.bring__item-title {
  font-weight: 700;
  font-size: 18px;
  color: var(--c-ink);
  margin: 0;
}
.bring__item-body {
  font-size: 14px;
  line-height: 1.60;
  color: var(--c-slate);
  margin: 0;
}

/* =========================================================
   TRUSTED
   ========================================================= */
.trusted {
  background: var(--c-white);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--pad-y) var(--pad-x);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.trusted__eyebrow { letter-spacing: 0.24em; }
.trusted__quote {
  max-width: 1000px;
  text-align: center;
  font-weight: 600;
  font-size: 32px;
  line-height: 1.40;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  margin: 0;
}
.trusted__attribution {
  display: flex;
  align-items: center;
  gap: 16px;
}
.trusted__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-card-bg);
}
.trusted__attr-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.trusted__attr-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--c-ink);
}
.trusted__attr-source {
  font-weight: 500;
  font-size: 13px;
  color: var(--c-muted);
}

/* =========================================================
   FAQ
   ========================================================= */
.faq { background: var(--c-card-bg); }
.faq__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--pad-y) var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.faq__header { display: flex; flex-direction: column; gap: 20px; }
.faq__title { font-size: 40px; line-height: 1.15; }
.faq__sub   { font-size: 16px; }

.faq__list { display: flex; flex-direction: column; }
.faq__item {
  padding: 24px 0;
  border-bottom: 1px solid var(--c-line);
}
.faq__item:first-child { border-top: 1px solid var(--c-line); }

.faq__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 700;
  font-size: 18px;
  color: var(--c-ink);
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__icon {
  width: 22px;
  height: 22px;
  position: relative;
  flex-shrink: 0;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: var(--c-muted);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.faq__icon::before { width: 14px; height: 2px; }
.faq__icon::after  { width: 2px;  height: 14px; transition: transform .25s ease; }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) scaleY(0); }

.faq__a {
  padding-top: 10px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--c-slate);
  margin: 0;
}

/* =========================================================
   CTA
   ========================================================= */
.cta {
  background: var(--c-white);
  padding: var(--pad-y) var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
}
.cta__card {
  background: var(--c-navy);
  border-radius: var(--radius-lg);
  padding: 72px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.cta__title {
  font-weight: 800;
  font-size: 42px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--c-white);
  text-align: center;
  max-width: 900px;
  margin: 0;
}
.cta__sub {
  font-size: 16px;
  line-height: 1.60;
  color: var(--c-muted-2);
  text-align: center;
  max-width: 760px;
  margin: 0;
}
.cta__buttons {
  display: flex;
  gap: 16px;
  padding-top: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--c-navy);
  color: var(--c-white);
}
.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 72px var(--pad-x) 48px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.footer__columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 64px;
}
.footer__col { display: flex; flex-direction: column; gap: 20px; }
.footer__col--brand { gap: 20px; }

.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer__logo-mark { width: 52px; height: 40px; flex-shrink: 0; }
.footer__wordmark { display: flex; flex-direction: column; gap: 2px; }
.footer__brand-name {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.06em;
  color: var(--c-white);
}
.footer__brand-sub {
  font-weight: 500;
  font-size: 9px;
  letter-spacing: 0.10em;
  color: var(--c-muted-3);
}
.footer__tagline {
  font-size: 14px;
  line-height: 1.60;
  color: var(--c-muted-3);
  margin: 0;
}

.footer__heading {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--c-red);
  margin: 0;
}
.footer__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__list li {
  font-size: 14px;
  line-height: 1.55;
  color: var(--c-white);
}

.footer__divider {
  height: 1px;
  background: var(--c-line-dark);
  width: 100%;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__copy {
  font-size: 13px;
  color: var(--c-muted-3);
  margin: 0;
}
.footer__legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__legal li {
  font-weight: 500;
  font-size: 13px;
  color: var(--c-muted-3);
}

/* =========================================================
   RESPONSIVE — TABLET (max-width: 1024px)
   ========================================================= */
@media (max-width: 1024px) {
  :root { --pad-x: 48px; --pad-y: 72px; }

  /* NAV — hamburger */
  .nav__toggle { display: inline-flex; }

  .nav__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--c-white);
    border-bottom: 1px solid var(--c-line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 var(--pad-x);
    max-height: 0;
    overflow: hidden;
    transition: max-height .30s ease, padding .30s ease;
  }
  .nav__menu.is-open {
    max-height: 480px;
    padding: 16px var(--pad-x) 24px;
  }
  .nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav__link {
    display: block;
    padding: 16px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--c-line);
  }
  .nav__cta {
    margin-top: 20px;
    justify-content: center;
    padding: 14px 20px;
  }

  /* HERO */
  .hero__inner { flex-direction: column; align-items: stretch; gap: 40px; }
  .hero__title { font-size: 56px; }
  .hero__visual { width: 100%; flex: 0 0 auto; height: 400px; }

  /* PILLARS */
  .pillars__grid { grid-template-columns: 1fr 1fr; }
  .pillars__grid > *:last-child { grid-column: 1 / -1; }
  .section-title { font-size: 36px; }
  .pillars__title { font-size: 36px; }

  /* STATS */
  .stats__bar { grid-template-columns: 1fr 1fr; gap: 32px 0; padding: 40px 24px; }
  .stats__num { font-size: 48px; }

  /* SCOUTAFI */
  .scoutafi__title { font-size: 36px; }
  .scoutafi__grid { grid-template-columns: 1fr; gap: 20px; }

  /* BRING */
  .bring__inner { grid-template-columns: 1fr; gap: 48px; }
  .bring__title { font-size: 36px; }

  /* TRUSTED */
  .trusted__quote { font-size: 26px; }

  /* FAQ */
  .faq__inner { grid-template-columns: 1fr; gap: 40px; }
  .faq__title { font-size: 34px; }

  /* CTA */
  .cta__card { padding: 56px 40px; }
  .cta__title { font-size: 34px; }

  /* FOOTER */
  .footer__columns { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer__col--brand { grid-column: 1 / -1; }
}

/* =========================================================
   RESPONSIVE — MOBILE (max-width: 768px)
   ========================================================= */
@media (max-width: 768px) {
  :root { --pad-x: 20px; --pad-y: 56px; --radius-lg: 20px; }

  .nav__inner { padding: 16px var(--pad-x); gap: 16px; }
  .nav__brand-name { font-size: 14px; }
  .nav__brand-sub  { font-size: 8px; }
  .nav__logo-mark  { width: 44px; height: 34px; }

  /* HERO */
  .hero__title { font-size: 40px; }
  .hero__sub   { font-size: 16px; }
  .hero__visual { height: 300px; padding: 32px; }
  .hero__mark   { width: 220px; height: 160px; }
  .hero__ctas   { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { justify-content: center; }

  /* PILLARS */
  .pillars { gap: 32px; }
  .pillars__grid { grid-template-columns: 1fr; }
  .pillars__grid > *:last-child { grid-column: auto; }
  .section-title, .pillars__title { font-size: 28px; }
  .card { padding: 28px 24px; }
  .card__title { font-size: 24px; }

  /* STATS */
  .stats__bar { grid-template-columns: 1fr; gap: 28px 0; padding: 36px 16px; border-radius: 16px; }
  .stats__num { font-size: 44px; }

  /* SCOUTAFI */
  .scoutafi__title { font-size: 28px; }
  .scoutafi__ctas { flex-direction: column; }
  .scoutafi__ctas .btn { width: 100%; justify-content: center; }

  /* BRING */
  .bring__title { font-size: 28px; }
  .bring__item { flex-direction: column; gap: 8px; }

  /* TRUSTED */
  .trusted { gap: 24px; }
  .trusted__quote { font-size: 20px; line-height: 1.45; }

  /* FAQ */
  .faq__title { font-size: 26px; }
  .faq__q     { font-size: 16px; }

  /* CTA */
  .cta__card { padding: 40px 24px; }
  .cta__title { font-size: 26px; }
  .cta__sub   { font-size: 15px; }
  .cta__buttons { flex-direction: column; align-items: stretch; }
  .cta__buttons .btn { justify-content: center; }

  /* FOOTER */
  .footer__inner { padding: 48px var(--pad-x) 32px; gap: 32px; }
  .footer__columns { grid-template-columns: 1fr; gap: 32px; }
  .footer__col--brand { grid-column: auto; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer__legal { gap: 16px; }
}
