/* ---------------------------------------------------------------------------
   site-chrome.css — the one header + footer, for every page.

   Everything is namespaced .tlc-* so it cannot collide with blog.css, the
   contact page's inline styles, or Framer's generated classes.

   Tokens are lifted verbatim from the Framer nav/footer components so the
   static chrome is pixel-identical to what the site shipped before:
     bar / footer background   rgb(29, 12, 2)
     bar shadow               rgba(0, 0, 0, .08) 0 5px 10px
     nav hover pill           rgba(255, 106, 25, .3)   (Framer's hover variant)
     CTA                      rgb(206, 79, 12), radius 12, 0 2px 8px rgba(0,0,0,.25)
     logo tagline             rgb(0, 133, 138)
     mobile breakpoint        809.98px
--------------------------------------------------------------------------- */

.tlc-header,
.tlc-footer {
  --tlc-bg: rgb(29, 12, 2);
  --tlc-ink: #fff;
  --tlc-orange: #ff6a19;
  --tlc-orange-deep: rgb(206, 79, 12);
  --tlc-hover-pill: rgba(255, 106, 25, .3);
  --tlc-teal: rgb(0, 133, 138);
  --tlc-muted: #6f6f78;
  --tlc-rule: rgba(255, 255, 255, .08);
  --tlc-maxw: 1240px;
  font-family: 'Geist', 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.tlc-header *,
.tlc-footer * { box-sizing: border-box; }

/* Framer still ships its own nav/footer inside #main until those components are
   deleted from the layout template. Hide them so the page never shows two.
   Once they're deleted in Framer these selectors simply match nothing — this
   rule is safe to leave in place permanently. !important is required because
   React writes inline styles onto both elements. */
#main nav[data-framer-name],
#main footer[data-framer-name] { display: none !important; }

/* The sticky header is ~108px tall (~85px on mobile); without an offset,
   jumping to /#pricing etc. hides the section heading underneath it. */
#hero, #benefits, #home, #solutions, #pricing, #faq, #process,
#benefit-1, #benefit-2, #benefit-3, #trusted-by, #feature {
  scroll-margin-top: 120px;
}
@media (max-width: 809.98px) {
  #hero, #benefits, #home, #solutions, #pricing, #faq, #process,
  #benefit-1, #benefit-2, #benefit-3, #trusted-by, #feature {
    scroll-margin-top: 96px;
  }
}

/* ============================== HEADER ============================== */

.tlc-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--tlc-bg);
  box-shadow: rgba(0, 0, 0, .08) 0 5px 10px 0;
}

.tlc-bar {
  max-width: var(--tlc-maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
}

/* ---- logo lockup ---- */
.tlc-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  text-decoration: none;
}
.tlc-logo-icon { width: 69px; height: 61px; object-fit: contain; flex: none; display: block; }
.tlc-logo-sep  { width: 4px;  height: 22px; flex: none; display: block; }
.tlc-logo-stack { display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.tlc-logo-word { width: 168px; height: 28px; object-fit: contain; display: block; }
.tlc-logo-tag {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -.06em;
  line-height: 1;
  color: var(--tlc-teal);
  white-space: nowrap;
}

/* ---- primary nav ---- */
.tlc-nav { display: flex; align-items: center; gap: 0; }
.tlc-nav a {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 12px;
  color: var(--tlc-ink);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.04em;
  white-space: nowrap;
  background-color: transparent;
  transition: background-color .2s cubic-bezier(.44, 0, .56, 1);
}
.tlc-nav a:hover,
.tlc-nav a:focus-visible { background-color: var(--tlc-hover-pill); }

/* ---- CTA ---- */
.tlc-cta {
  flex: none;
  padding: 12px 20px;
  border-radius: 12px;
  background: var(--tlc-orange-deep);
  box-shadow: rgba(0, 0, 0, .25) 0 2px 8px 0;
  color: var(--tlc-ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.04em;
  white-space: nowrap;
  transition: filter .15s, transform .12s;
}
.tlc-cta:hover { filter: brightness(1.08); transform: translateY(-1px); }

/* ---- hamburger ---- */
.tlc-menu {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  flex: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  cursor: pointer;
}
.tlc-menu span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--tlc-ink);
  transition: transform .2s, opacity .2s;
}
.tlc-menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tlc-menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.tlc-menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- drawer ---- */
.tlc-drawer { display: none; }
.tlc-drawer[hidden] { display: none; }

@media (max-width: 809.98px) {
  .tlc-bar { padding: 16px 18px; }
  .tlc-logo-icon { width: 60px; height: 53px; }
  .tlc-logo-word { width: 140px; height: 23px; }
  .tlc-nav,
  .tlc-header .tlc-bar .tlc-cta { display: none; }
  .tlc-menu { display: flex; }

  .tlc-drawer:not([hidden]) {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px;
    background: var(--tlc-bg);
    border-top: 1px solid var(--tlc-rule);
  }
  .tlc-drawer a {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    text-align: center;
    color: var(--tlc-ink);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -.04em;
    background-color: transparent;
    transition: background-color .2s cubic-bezier(.44, 0, .56, 1);
  }
  .tlc-drawer a:hover,
  .tlc-drawer a:focus-visible { background-color: var(--tlc-hover-pill); }
  .tlc-drawer .tlc-cta {
    display: block;
    margin-top: 10px;
    text-align: center;
    background: var(--tlc-orange-deep);
  }
}

/* ============================== FOOTER ============================== */

.tlc-footer {
  background: var(--tlc-bg);
  border-top: 1px solid var(--tlc-rule);
  padding: 32px 0 18px;
}
.tlc-footer-inner { max-width: var(--tlc-maxw); margin: 0 auto; padding: 0 24px; }

/* Brand block + FOUR content columns. The brand is its own (wider) track and
   is not counted as one of the four. */
.tlc-footer-grid {
  display: grid;
  /* Measured minimums, not guesses. Longest address line is 243px at 16px
     Geist; + 18px icon + 10px gap = 271px, so Contact floors at 280px.
     The brand only needs its 140px logo. Without these floors the address
     wrapped mid-company-name on desktop. */
  grid-template-columns:
    minmax(170px, 0.95fr)
    minmax(140px, 0.9fr)
    minmax(105px, 0.7fr)
    minmax(185px, 1.15fr)
    minmax(280px, 1.2fr);
  gap: 30px;
  margin-bottom: 22px;
}

.tlc-brand { display: flex; flex-direction: column; align-items: flex-start; }
.tlc-brand-icon { width: 104px; height: auto; margin-bottom: 8px; }
.tlc-brand-word { height: 24px; width: auto; margin-bottom: 6px; }
.tlc-brand-tag {
  display: block;
  color: var(--tlc-teal);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -.04em;
  white-space: nowrap;
  margin-bottom: 4px;
}

.tlc-socials { display: flex; gap: 16px; margin-top: 12px; }
.tlc-socials a { display: inline-flex; }
.tlc-socials svg { width: 26px; height: 26px; display: block; transition: fill .15s, stroke .15s; }
.tlc-socials .tlc-soc-fill { fill: var(--tlc-orange); }
.tlc-socials .tlc-soc-stroke { stroke: var(--tlc-orange); }
.tlc-socials .tlc-soc-dot { fill: var(--tlc-orange); }
.tlc-socials a:hover .tlc-soc-fill,
.tlc-socials a:hover .tlc-soc-dot { fill: var(--tlc-ink); }
.tlc-socials a:hover .tlc-soc-stroke { stroke: var(--tlc-ink); }

.tlc-col h4 {
  position: relative;
  padding-left: 14px;
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 700;
  color: var(--tlc-ink);
  letter-spacing: -.01em;
}
.tlc-col h4::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 4px;
  border-radius: 2px;
  background: var(--tlc-orange);
}
.tlc-col a {
  display: block;
  padding: 4px 0;
  color: var(--tlc-ink);
  text-decoration: none;
  font-size: 16px;
  transition: color .15s;
}
.tlc-col a:hover { color: var(--tlc-orange); }

.tlc-contact p { margin: 0 0 10px; color: var(--tlc-ink); font-size: 16px; }
.tlc-addr {
  display: flex;
  align-items: flex-start;
  color: var(--tlc-ink);
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 8px;
}
/* Default paint lives on the SVG as a presentation attribute (stroke="#ff6a19")
   so it renders in every engine. CSS still wins over presentation attributes in
   browsers, which is what makes the hover states below work.

   Spacing uses margin-right, not the parent's `gap`: `gap` on an inline-flex
   container is unevenly supported, and it left the phone glyph 3px from the
   "(" while the pin sat 13px from the address. Measured: with margin-right:10px
   both glyphs land ~13px from their text (pin 13.0px, phone 12.8px) — the same
   optical single space. */
.tlc-ico {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 4px;
  margin-right: 10px;
  transition: stroke .15s;
}
.tlc-phone:hover .tlc-ico { stroke: var(--tlc-ink); }
.tlc-phone {
  display: inline-flex;
  align-items: center;
  padding: 3px 0;
  color: var(--tlc-ink);
  text-decoration: none;
  font-size: 16px;
  transition: color .15s;
}
.tlc-phone .tlc-ico { margin-top: 0; }
.tlc-phone:hover { color: var(--tlc-orange); }

.tlc-footer-bottom {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding-top: 16px;
  border-top: 1px solid var(--tlc-rule);
}
.tlc-copy { color: var(--tlc-muted); font-size: 13.5px; text-align: center; }
.tlc-badges {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-30%);
  display: flex;
  align-items: center;
  gap: 12px;
}
.tlc-badges img { height: 34px; width: auto; display: block; }

@media (max-width: 1100px) {
  /* brand becomes a full-width row; the four columns fold to 2x2.
     Flexbox (not grid spans) so the fold behaves identically everywhere. */
  .tlc-footer-grid { display: flex; flex-wrap: wrap; gap: 28px; }
  .tlc-brand { flex: 1 1 100%; }
  .tlc-col { flex: 1 1 42%; min-width: 0; }
}

@media (max-width: 809.98px) {
  .tlc-footer { padding: 26px 0 16px; }
  .tlc-footer-inner { padding: 0 18px; }
  /* plain block stack: identical to a 1-column flex, maximally compatible */
  .tlc-footer-grid { display: block; margin-bottom: 0; }
  .tlc-footer-grid > * { margin-bottom: 20px; }
  .tlc-col { flex: none; }
  .tlc-brand-icon { width: 92px; margin-bottom: 8px; }
  .tlc-brand-word { height: 22px; }
  .tlc-socials { gap: 20px; margin-top: 12px; }
  .tlc-col h4 { font-size: 16px; margin: 0 0 8px; }
  .tlc-col a { padding: 4px 0; font-size: 15px; }
  .tlc-contact p { font-size: 15px; margin: 0 0 8px; }
  .tlc-footer-bottom { flex-direction: column; gap: 10px; padding-top: 14px; }
  .tlc-copy { font-size: 12.5px; }
  .tlc-badges { position: static; transform: none; justify-content: center; gap: 10px; }
  .tlc-badges img { height: 28px; }
}
