/* legal/telechargeables/layout.css
 * Layout components for Telechargeables — telc-prefixed classes.
 * Loaded alongside base.css and brand.css on every page. */

/* ─── Hero (index page) ─── */
.telcHero {
  background: #1c0606;
  position: relative;
  overflow: hidden;
  padding: 0;
}
.telcHeroBand {
  display: flex;
  align-items: stretch;
  min-height: 480px;
}
.telcHeroText {
  flex: 1 1 480px;
  padding: 4rem 3rem 4rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.telcEyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #f87171;
  margin-bottom: 1rem;
  display: block;
}
.telcHeroText h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin: 0 0 1.25rem;
  text-wrap: balance;
}
.telcHeroSub {
  font-size: 1.05rem;
  color: #fecaca;
  line-height: 1.7;
  margin: 0 0 2rem;
  max-width: 420px;
}
.telcPricePill {
  display: inline-block;
  align-self: flex-start;
  background: #dc2626;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  border-radius: 99px;
  margin-bottom: 1.75rem;
  letter-spacing: 0.02em;
}
.telcHeroCtas { display: flex; gap: 1rem; flex-wrap: wrap; }
.telcBtnPrimary {
  display: inline-block;
  background: #dc2626;
  color: #fff;
  padding: 0.7rem 1.75rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.15s ease;
}
.telcBtnPrimary:hover { background: #b91c1c; }
.telcBtnGhost {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.25);
  color: #fecaca;
  padding: 0.7rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.telcBtnGhost:hover { border-color: rgba(255,255,255,0.6); color: #fff; }

/* Geometric panel (right side of hero) */
.telcHeroPanel {
  flex: 0 0 400px;
  background: #dc2626;
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 3rem 3rem 5rem;
}
.telcPhoneMock {
  width: 160px;
  height: 280px;
  background: #1c0606;
  border-radius: 22px;
  border: 3px solid rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0,0,0,0.4);
}
.telcPhoneNotch {
  width: 60px;
  height: 8px;
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
  margin: 12px auto 0;
}
.telcPhoneScreen {
  margin: 12px 10px;
  height: 200px;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.telcPlayCircle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #dc2626;
  display: flex;
  align-items: center;
  justify-content: center;
}
.telcPlayCircle::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 8px 16px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}
.telcPhoneBars {
  width: 100%;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.telcPhoneBar {
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
}
.telcPhoneBar:nth-child(1) { width: 80%; }
.telcPhoneBar:nth-child(2) { width: 60%; }

/* ─── Trust bar ─── */
.telcTrustBar {
  background: #fff;
  border-bottom: 1px solid #fecaca;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.telcTrustItem {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  border-right: 1px solid #fee2e2;
}
.telcTrustItem:last-child { border-right: none; }
.telcTrustItem .telcTrustIcon { font-size: 1.1rem; }

/* ─── Feature rows ─── */
.telcFeatureSection {
  padding: 4rem 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.telcFeatureSection > h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: #1c0606;
  margin: 0 0 3rem;
  text-align: center;
}
.telcFeatureRow {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid #fee2e2;
}
.telcFeatureRow:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.telcFeatureRowReverse { flex-direction: row-reverse; }
.telcFeatIconWrap {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 24px;
  background: #fff1f2;
  border: 2px solid #fecaca;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}
.telcFeatText { flex: 1; }
.telcFeatText h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #1c0606;
  margin: 0 0 0.6rem;
}
.telcFeatText p {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.75;
  margin: 0;
  max-width: 480px;
}

/* ─── How it works — vertical steps ─── */
.telcStepsSection {
  background: #fff;
  padding: 4rem 2.5rem;
  border-top: 1px solid #fee2e2;
  border-bottom: 1px solid #fee2e2;
}
.telcStepsInner {
  max-width: 760px;
  margin: 0 auto;
}
.telcStepsInner > h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: #1c0606;
  margin: 0 0 3rem;
  text-align: center;
}
.telcStepsList {
  position: relative;
  padding-left: 2rem;
}
.telcStepsList::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: #fee2e2;
}
.telcStepItem {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  position: relative;
}
.telcStepItem:last-child { margin-bottom: 0; }
.telcStepMarker {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #dc2626;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.telcStepContent { padding-top: 0.5rem; }
.telcStepContent h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1c0606;
  margin: 0 0 0.35rem;
}
.telcStepContent p {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.65;
  margin: 0;
}

/* ─── Pricing block ─── */
.telcPricingSection {
  padding: 4rem 2.5rem;
  background: #fff1f2;
  text-align: center;
}
.telcPricingBlock {
  display: inline-block;
  background: #fff;
  border: 2px solid #fecaca;
  border-radius: 20px;
  padding: 2.5rem 3rem;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 8px 32px rgba(220,38,38,0.08);
}
.telcPricingBlock h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #dc2626;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 1.25rem;
}
.telcPriceAmount {
  font-size: 4rem;
  font-weight: 900;
  color: #1c0606;
  line-height: 1;
  margin: 0 0 0.25rem;
}
.telcPriceSub {
  font-size: 0.9rem;
  color: #9ca3af;
  margin: 0 0 2rem;
}
.telcPriceChecks {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  text-align: left;
}
.telcPriceChecks li {
  font-size: 0.925rem;
  color: #374151;
  padding: 0.5rem 0;
  border-bottom: 1px solid #fee2e2;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.telcPriceChecks li:last-child { border-bottom: none; }
.telcPriceChecks li::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #dc2626;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4 9 L7.5 12.5 L14 6' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ─── Page hero (inner pages) ─── */
.telcPageHero {
  background: linear-gradient(135deg, #1c0606 0%, #7f1d1d 100%);
  color: #fff;
  padding: 3rem 2.5rem 2.5rem;
}
.telcPageHero h1 {
  font-size: 2rem;
  font-weight: 800;
  margin: 0;
  color: #fff;
  max-width: 1100px;
}
.telcPageHero p {
  font-size: 1rem;
  opacity: 0.8;
  margin: 0.6rem 0 0;
  max-width: 560px;
  line-height: 1.6;
  color: #fecaca;
}

/* ─── Inline anchor nav (legal pages) ─── */
.telcAnchorNav {
  background: #fff;
  border-bottom: 1px solid #fee2e2;
  padding: 0.85rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
}
.telcAnchorNav span {
  color: #9ca3af;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.72rem;
  margin-right: 0.25rem;
}
.telcAnchorNav a {
  color: #6b7280;
  text-decoration: none;
  padding: 0.3rem 0.75rem;
  border-radius: 99px;
  border: 1px solid #e5e7eb;
  transition: border-color 0.12s, color 0.12s;
  white-space: nowrap;
}
.telcAnchorNav a:hover { border-color: #dc2626; color: #dc2626; }

/* ─── Legal content ─── */
.telcLegalContent {
  max-width: 820px;
  margin: 3rem auto;
  padding: 0 2rem;
}
.telcLegalContent h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1c0606;
  margin: 2.5rem 0 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid #fee2e2;
}
.telcLegalContent h2:first-child { margin-top: 0; border-top: none; }
.telcLegalContent p, .telcLegalContent li {
  font-size: 0.925rem;
  color: #374151;
  line-height: 1.8;
  margin: 0 0 0.85rem;
}
.telcLegalContent ul, .telcLegalContent ol {
  padding-left: 1.4rem;
  margin: 0 0 1rem;
}
.telcLegalContent a { color: #dc2626; }

/* ─── General content area ─── */
.telcContent {
  max-width: 820px;
  margin: 3rem auto;
  padding: 0 2rem;
}
.telcContent h1 { font-size: 1.8rem; font-weight: 800; color: #1c0606; margin: 0 0 1rem; }
.telcContent h2 { font-size: 1.2rem; font-weight: 700; color: #1c0606; margin: 2rem 0 0.6rem; }
.telcContent p, .telcContent li { font-size: 0.925rem; color: #374151; line-height: 1.8; margin: 0 0 0.85rem; }
.telcContent ul, .telcContent ol { padding-left: 1.3rem; margin: 0 0 1rem; }
.telcContent a { color: #dc2626; }

/* ─── Highlight cards (about, contact) ─── */
.telcHighlightCards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin: 2.5rem 0;
}
.telcHighlightCard {
  background: #fff;
  border: 1px solid #fecaca;
  border-radius: 14px;
  padding: 1.5rem;
  text-align: center;
}
.telcHighlightCard .icon { font-size: 2rem; display: block; margin-bottom: 0.5rem; }
.telcHighlightCard h3 { font-size: 1rem; font-weight: 700; color: #1c0606; margin: 0 0 0.35rem; }
.telcHighlightCard p { font-size: 0.85rem; color: #6b7280; margin: 0; }

/* ─── Footer (3-column) ─── */
.telcSiteFooter {
  background: var(--footer-bg);
  color: var(--footer-fg);
  padding: 3rem 2.5rem 1.5rem;
}
.telcFooterGrid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto 2.5rem;
}
.telcFooterBrand .telcFooterLogo {
  display: block;
  width: 48px;
  height: 48px;
  background-image: var(--logo-url);
  background-size: contain;
  background-repeat: no-repeat;
  margin-bottom: 0.75rem;
}
.telcFooterBrand .telcBrandTitle {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}
.telcFooterBrand .telcTagline {
  font-size: 0.82rem;
  color: #fca5a5;
  margin-bottom: 1rem;
  line-height: 1.6;
}
.telcFooterBrand .telcDisclosure {
  font-size: 0.78rem;
  color: #f87171;
  line-height: 1.6;
  border-left: 3px solid #dc2626;
  padding-left: 0.75rem;
}
.telcFooterCol h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin: 0 0 1rem;
}
.telcFooterCol ul { list-style: none; margin: 0; padding: 0; }
.telcFooterCol ul li { margin-bottom: 0.55rem; }
.telcFooterCol ul li a {
  color: #fca5a5;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.15s ease;
}
.telcFooterCol ul li a:hover { color: #fecaca; }
.telcFooterContact p {
  font-size: 0.875rem;
  color: #fca5a5;
  margin: 0 0 0.5rem;
  line-height: 1.6;
}
.telcFooterContact a { color: #f87171; text-decoration: none; }
.telcFooterContact a:hover { text-decoration: underline; }
.telcFooterBottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.telcFooterBottom p { font-size: 0.78rem; color: #6b7280; margin: 0 0 0.3rem; }
.telcFooterBottom a { color: #fca5a5; text-decoration: none; }
.telcFooterBottom a:hover { color: #fecaca; }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .telcHeroBand { flex-direction: column; }
  .telcHeroPanel {
    clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%);
    flex: 0 0 260px;
    padding: 2rem;
    justify-content: center;
  }
  .telcHeroText { padding: 2.5rem 1.5rem 2rem; }
  .telcHeroText h1 { font-size: 2rem; }
  .telcFeatureRow { flex-direction: column !important; gap: 1.5rem; }
  .telcFooterGrid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 580px) {
  .telcTrustBar { flex-direction: column; align-items: flex-start; }
  .telcTrustItem { border-right: none; border-bottom: 1px solid #fee2e2; width: 100%; }
  .telcTrustItem:last-child { border-bottom: none; }
  .telcHeroText h1 { font-size: 1.7rem; }
  .telcFooterGrid { grid-template-columns: 1fr; gap: 1.75rem; }
  .telcSiteFooter { padding: 2.5rem 1.25rem 1.25rem; }
  .telcPricingBlock { padding: 2rem 1.5rem; }
  .telcFeatureSection { padding: 2.5rem 1.25rem; }
  .telcStepsSection { padding: 2.5rem 1.25rem; }
  .telcAnchorNav { padding: 0.85rem 1.25rem; }
}
