/* legal/keenklick/layout.css
 * Layout components for KeenKlick — keenk-prefixed classes.
 * Loaded alongside base.css and brand.css on every page. */

/* ─── Hero (index page) ─── */
.keenkHero {
  background: #2a1205;
  position: relative;
  overflow: hidden;
  padding: 0;
}
.keenkHeroBand {
  display: flex;
  align-items: stretch;
  min-height: 480px;
}
.keenkHeroText {
  flex: 1 1 480px;
  padding: 4rem 3rem 4rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.keenkEyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fb923c;
  margin-bottom: 1rem;
  display: block;
}
.keenkHeroText h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin: 0 0 1.25rem;
  text-wrap: balance;
}
.keenkHeroSub {
  font-size: 1.05rem;
  color: #ead7bc;
  line-height: 1.7;
  margin: 0 0 2rem;
  max-width: 420px;
}
.keenkPricePill {
  display: inline-block;
  align-self: flex-start;
  background: #ea580c;
  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;
}
.keenkHeroCtas { display: flex; gap: 1rem; flex-wrap: wrap; }
.keenkBtnPrimary {
  display: inline-block;
  background: #ea580c;
  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;
}
.keenkBtnPrimary:hover { background: #c2410c; }
.keenkBtnGhost {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.25);
  color: #ead7bc;
  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;
}
.keenkBtnGhost:hover { border-color: rgba(255,255,255,0.6); color: #fff; }

/* Geometric panel (right side of hero) */
.keenkHeroPanel {
  flex: 0 0 400px;
  background: #ea580c;
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 3rem 3rem 5rem;
}
.keenkPhoneMock {
  width: 160px;
  height: 280px;
  background: #2a1205;
  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);
}
.keenkPhoneNotch {
  width: 60px;
  height: 8px;
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
  margin: 12px auto 0;
}
.keenkPhoneScreen {
  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;
}
.keenkPlayCircle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ea580c;
  display: flex;
  align-items: center;
  justify-content: center;
}
.keenkPlayCircle::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;
}
.keenkPhoneBars {
  width: 100%;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.keenkPhoneBar {
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
}
.keenkPhoneBar:nth-child(1) { width: 80%; }
.keenkPhoneBar:nth-child(2) { width: 60%; }

/* ─── Trust bar ─── */
.keenkTrustBar {
  background: #fff;
  border-bottom: 1px solid #ead7bc;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.keenkTrustItem {
  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 #f5e9d8;
}
.keenkTrustItem:last-child { border-right: none; }
.keenkTrustItem .keenkTrustIcon { font-size: 1.1rem; }

/* ─── Feature rows ─── */
.keenkFeatureSection {
  padding: 4rem 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.keenkFeatureSection > h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: #2a1205;
  margin: 0 0 3rem;
  text-align: center;
}
.keenkFeatureRow {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid #f5e9d8;
}
.keenkFeatureRow:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.keenkFeatureRowReverse { flex-direction: row-reverse; }
.keenkFeatIconWrap {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 24px;
  background: #faf4ea;
  border: 2px solid #ead7bc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}
.keenkFeatText { flex: 1; }
.keenkFeatText h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #2a1205;
  margin: 0 0 0.6rem;
}
.keenkFeatText p {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.75;
  margin: 0;
  max-width: 480px;
}

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

/* ─── Pricing block ─── */
.keenkPricingSection {
  padding: 4rem 2.5rem;
  background: #faf4ea;
  text-align: center;
}
.keenkPricingBlock {
  display: inline-block;
  background: #fff;
  border: 2px solid #ead7bc;
  border-radius: 20px;
  padding: 2.5rem 3rem;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 8px 32px rgba(234,88,12,0.08);
}
.keenkPricingBlock h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ea580c;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 1.25rem;
}
.keenkPriceAmount {
  font-size: 4rem;
  font-weight: 900;
  color: #2a1205;
  line-height: 1;
  margin: 0 0 0.25rem;
}
.keenkPriceSub {
  font-size: 0.9rem;
  color: #9ca3af;
  margin: 0 0 2rem;
}
.keenkPriceChecks {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  text-align: left;
}
.keenkPriceChecks li {
  font-size: 0.925rem;
  color: #374151;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f5e9d8;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.keenkPriceChecks li:last-child { border-bottom: none; }
.keenkPriceChecks li::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ea580c;
  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) ─── */
.keenkPageHero {
  background: linear-gradient(135deg, #2a1205 0%, #7c2d12 100%);
  color: #fff;
  padding: 3rem 2.5rem 2.5rem;
}
.keenkPageHero h1 {
  font-size: 2rem;
  font-weight: 800;
  margin: 0;
  color: #fff;
  max-width: 1100px;
}
.keenkPageHero p {
  font-size: 1rem;
  opacity: 0.8;
  margin: 0.6rem 0 0;
  max-width: 560px;
  line-height: 1.6;
  color: #ead7bc;
}

/* ─── Inline anchor nav (legal pages) ─── */
.keenkAnchorNav {
  background: #fff;
  border-bottom: 1px solid #f5e9d8;
  padding: 0.85rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
}
.keenkAnchorNav span {
  color: #9ca3af;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.72rem;
  margin-right: 0.25rem;
}
.keenkAnchorNav 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;
}
.keenkAnchorNav a:hover { border-color: #ea580c; color: #ea580c; }

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

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

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

/* ─── Footer (3-column) ─── */
.keenkSiteFooter {
  background: var(--footer-bg);
  color: var(--footer-fg);
  padding: 3rem 2.5rem 1.5rem;
}
.keenkFooterGrid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto 2.5rem;
}
.keenkFooterBrand .keenkFooterLogo {
  display: block;
  width: 48px;
  height: 48px;
  background-image: var(--logo-url);
  background-size: contain;
  background-repeat: no-repeat;
  margin-bottom: 0.75rem;
}
.keenkFooterBrand .keenkBrandTitle {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}
.keenkFooterBrand .keenkTagline {
  font-size: 0.82rem;
  color: #fdba74;
  margin-bottom: 1rem;
  line-height: 1.6;
}
.keenkFooterBrand .keenkDisclosure {
  font-size: 0.78rem;
  color: #fb923c;
  line-height: 1.6;
  border-left: 3px solid #ea580c;
  padding-left: 0.75rem;
}
.keenkFooterCol h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin: 0 0 1rem;
}
.keenkFooterCol ul { list-style: none; margin: 0; padding: 0; }
.keenkFooterCol ul li { margin-bottom: 0.55rem; }
.keenkFooterCol ul li a {
  color: #fdba74;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.15s ease;
}
.keenkFooterCol ul li a:hover { color: #ead7bc; }
.keenkFooterContact p {
  font-size: 0.875rem;
  color: #fdba74;
  margin: 0 0 0.5rem;
  line-height: 1.6;
}
.keenkFooterContact a { color: #fb923c; text-decoration: none; }
.keenkFooterContact a:hover { text-decoration: underline; }
.keenkFooterBottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.keenkFooterBottom p { font-size: 0.78rem; color: #6b7280; margin: 0 0 0.3rem; }
.keenkFooterBottom a { color: #fdba74; text-decoration: none; }
.keenkFooterBottom a:hover { color: #ead7bc; }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .keenkHeroBand { flex-direction: column; }
  .keenkHeroPanel {
    clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%);
    flex: 0 0 260px;
    padding: 2rem;
    justify-content: center;
  }
  .keenkHeroText { padding: 2.5rem 1.5rem 2rem; }
  .keenkHeroText h1 { font-size: 2rem; }
  .keenkFeatureRow { flex-direction: column !important; gap: 1.5rem; }
  .keenkFooterGrid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 580px) {
  .keenkTrustBar { flex-direction: column; align-items: flex-start; }
  .keenkTrustItem { border-right: none; border-bottom: 1px solid #f5e9d8; width: 100%; }
  .keenkTrustItem:last-child { border-bottom: none; }
  .keenkHeroText h1 { font-size: 1.7rem; }
  .keenkFooterGrid { grid-template-columns: 1fr; gap: 1.75rem; }
  .keenkSiteFooter { padding: 2.5rem 1.25rem 1.25rem; }
  .keenkPricingBlock { padding: 2rem 1.5rem; }
  .keenkFeatureSection { padding: 2.5rem 1.25rem; }
  .keenkStepsSection { padding: 2.5rem 1.25rem; }
  .keenkAnchorNav { padding: 0.85rem 1.25rem; }
}

/* ─── Contact page ─── */
.keenkContactGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}
.keenkContactBlock {
  background: #fff;
  border: 1px solid #ead7bc;
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
}
.keenkContactBlock h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #2a1205;
  margin: 0 0 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.keenkContactBlock p {
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.7;
  margin: 0 0 0.6rem;
}
.keenkContactBlock p:last-child { margin-bottom: 0; }
.keenkEmailBtn {
  display: inline-block;
  margin-top: 0.75rem;
  background: #ea580c;
  color: #fff !important;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.15s ease;
}
.keenkEmailBtn:hover { background: #c2410c; color: #fff !important; }
.keenkAddrLine {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin-bottom: 0.7rem;
}
.keenkAddrLine .keenkAddrIcon { font-size: 1.15rem; flex-shrink: 0; margin-top: 0.05rem; }
.keenkAddrLine .keenkAddrText { font-size: 0.875rem; color: #374151; line-height: 1.6; }
.keenkAddrLine .keenkAddrText strong { color: #2a1205; display: block; }
.keenkRefundNote {
  background: #faf4ea;
  border-left: 4px solid #ea580c;
  border-radius: 0 10px 10px 0;
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: #7c2d12;
  line-height: 1.7;
  margin: 1.5rem 0 0;
}
@media (max-width: 680px) {
  .keenkContactGrid { grid-template-columns: 1fr; }
}

/* ─── Sitemap page ─── */
.keenkSitemapList { list-style: none; margin: 0; padding: 0; }
.keenkSitemapList li {
  padding: 1.1rem 0;
  border-bottom: 1px solid #ead7bc;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.keenkSitemapList li:last-child { border-bottom: none; }
.keenkSitemapList a {
  font-size: 1rem;
  font-weight: 700;
  color: #ea580c;
  text-decoration: none;
  flex-shrink: 0;
  min-width: 180px;
}
.keenkSitemapList a:hover { text-decoration: underline; }
.keenkSitemapList .keenkSitemapDesc {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.6;
}
