/* legal/getboldy/layout.css
 * Layout components for Getboldy — boldy-prefixed classes.
 * Loaded alongside base.css and brand.css on every page. */

/* ─── Shared tokens ─── */
:root {
  --boldy-accent:      #0d9488;
  --boldy-accent-dark: #0f766e;
  --boldy-dark:        #042f2e;
  --boldy-mid:         #134e4a;
  --boldy-light:       #2dd4bf;
  --boldy-tint:        #ccfbf1;
  --boldy-pale:        #f0fdfa;
  --boldy-radius:      12px;
}

/* ─── Hero (index page) — centered with CSS book graphic ─── */
.boldyHero {
  background: linear-gradient(145deg, #042f2e 0%, #0f766e 55%, #0d9488 100%);
  padding: 5rem 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.boldyHero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 55% at 50% 100%, rgba(13,148,136,0.35) 0%, transparent 70%);
  pointer-events: none;
}
.boldyHeroContent {
  max-width: 640px;
  position: relative;
  z-index: 2;
}
.boldyEyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: #2dd4bf;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 99px;
  margin-bottom: 1.25rem;
}
.boldyHeroContent h1 {
  font-size: 2.9rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.12;
  margin: 0 0 1.1rem;
  text-wrap: balance;
}
.boldyHeroSub {
  color: #99f6e4;
  font-size: 1.1rem;
  line-height: 1.65;
  margin: 0 0 1.75rem;
}
.boldyPricePill {
  display: inline-block;
  align-self: flex-start;
  background: rgba(255,255,255,0.18);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  border-radius: 99px;
  border: 1px solid rgba(255,255,255,0.3);
  margin-bottom: 1.75rem;
  letter-spacing: 0.02em;
  backdrop-filter: blur(4px);
}
.boldyHeroCtas {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}
.boldyBtnPrimary {
  display: inline-block;
  background: #ffffff;
  color: #0f766e;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.18s, transform 0.15s;
}
.boldyBtnPrimary:hover { background: #f0fdfa; transform: translateY(-1px); }
.boldyBtnGhost {
  display: inline-block;
  background: transparent;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,0.45);
  text-decoration: none;
  transition: border-color 0.18s, background 0.18s;
}
.boldyBtnGhost:hover { border-color: #ffffff; background: rgba(255,255,255,0.08); }

/* CSS open-book graphic */
.boldyBookMock {
  position: relative;
  z-index: 2;
  width: 220px;
  height: 160px;
  flex-shrink: 0;
}
.boldyBookLeft {
  position: absolute;
  top: 0; left: 0;
  width: 104px; height: 148px;
  background: #ffffff;
  border-radius: 4px 0 0 4px;
  box-shadow: -4px 4px 20px rgba(0,0,0,0.35);
  overflow: hidden;
}
.boldyBookRight {
  position: absolute;
  top: 0; left: 112px;
  width: 104px; height: 148px;
  background: #f0fdfa;
  border-radius: 0 4px 4px 0;
  box-shadow: 4px 4px 20px rgba(0,0,0,0.25);
  overflow: hidden;
}
.boldyBookSpine {
  position: absolute;
  top: 0; left: 104px;
  width: 8px; height: 148px;
  background: linear-gradient(180deg, #0d9488 0%, #0f766e 100%);
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.boldyBookLine {
  display: block;
  height: 5px;
  background: #ccfbf1;
  border-radius: 3px;
  margin: 14px 12px 0;
}
.boldyBookLine:nth-child(2) { margin-top: 8px; width: 70%; }
.boldyBookLine:nth-child(3) { margin-top: 8px; }
.boldyBookLine:nth-child(4) { margin-top: 8px; width: 55%; }
.boldyBookLine:nth-child(5) { margin-top: 8px; }
.boldyBookLine:nth-child(6) { margin-top: 8px; width: 80%; }
.boldyBookLine:nth-child(7) { margin-top: 8px; width: 40%; }
.boldyBookLineR {
  display: block;
  height: 5px;
  background: #99f6e4;
  border-radius: 3px;
  margin: 14px 12px 0;
}
.boldyBookLineR:nth-child(2) { margin-top: 8px; }
.boldyBookLineR:nth-child(3) { margin-top: 8px; width: 65%; }
.boldyBookLineR:nth-child(4) { margin-top: 8px; }
.boldyBookLineR:nth-child(5) { margin-top: 8px; width: 75%; }
.boldyBookLineR:nth-child(6) { margin-top: 8px; width: 50%; }
.boldyBookLineR:nth-child(7) { margin-top: 8px; }
.boldyBookShadow {
  position: absolute;
  bottom: -16px; left: 20px;
  width: 176px; height: 24px;
  background: rgba(0,0,0,0.22);
  border-radius: 50%;
  filter: blur(8px);
}

/* ─── Trust bar ─── */
.boldyTrustBar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  background: #042f2e;
  padding: 0;
}
.boldyTrustItem {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.75rem;
  color: #99f6e4;
  font-size: 0.85rem;
  font-weight: 600;
  border-right: 1px solid #134e4a;
}
.boldyTrustItem:last-child { border-right: none; }
.boldyTrustItem .icon { font-size: 1.1rem; }

/* ─── Feature card grid (3-col) ─── */
.boldyFeatureSection {
  padding: 4.5rem 2rem;
  background: #ffffff;
}
.boldyFeatureSection > h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  color: #042f2e;
  margin: 0 0 0.5rem;
}
.boldyFeatureSection > p.boldySubhead {
  text-align: center;
  color: #134e4a;
  font-size: 1rem;
  margin: 0 0 2.5rem;
}
.boldyFeatureGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1020px;
  margin: 0 auto;
}
.boldyFeatureCard {
  background: #f0fdfa;
  border: 1px solid #ccfbf1;
  border-radius: var(--boldy-radius);
  padding: 1.75rem 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.boldyFeatureCard:hover {
  box-shadow: 0 6px 24px rgba(13,148,136,0.12);
  transform: translateY(-2px);
}
.boldyFeatureCard .icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.85rem;
}
.boldyFeatureCard h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #042f2e;
  margin: 0 0 0.5rem;
}
.boldyFeatureCard p {
  font-size: 0.9rem;
  color: #134e4a;
  line-height: 1.6;
  margin: 0;
}

/* ─── How it works — horizontal stepper ─── */
.boldyStepsSection {
  padding: 4rem 2rem;
  background: #f0fdfa;
}
.boldyStepsSection > h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  color: #042f2e;
  margin: 0 0 3rem;
}
.boldyStepRow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 840px;
  margin: 0 auto;
  position: relative;
}
.boldyStepItem {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  position: relative;
}
.boldyStepItem + .boldyStepItem::before {
  content: '';
  position: absolute;
  top: 20px;
  right: 50%;
  left: -50%;
  height: 2px;
  background: #0d9488;
  opacity: 0.35;
}
.boldyStepNum {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #0d9488;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.boldyStepItem h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #042f2e;
  margin: 0 0 0.4rem;
}
.boldyStepItem p {
  font-size: 0.85rem;
  color: #134e4a;
  line-height: 1.55;
  margin: 0;
  padding: 0 0.5rem;
}

/* ─── Pricing spotlight ─── */
.boldyPricingSection {
  padding: 4.5rem 2rem;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.boldyPricingSection > h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  color: #042f2e;
  margin: 0 0 2rem;
}
.boldyPricingSpotlight {
  max-width: 460px;
  width: 100%;
  background: #042f2e;
  color: #f0fdfa;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.boldyPricingSpotlight::before {
  content: '';
  position: absolute;
  top: -40px; left: -40px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(13,148,136,0.4) 0%, transparent 70%);
  pointer-events: none;
}
.boldyPricingSpotlight::after {
  content: '';
  position: absolute;
  bottom: -40px; right: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(45,212,191,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.boldyPriceBadge {
  display: inline-block;
  background: #0d9488;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 99px;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}
.boldyPriceAmount {
  font-size: 3.5rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.35rem;
  position: relative;
  z-index: 1;
}
.boldyPriceSub {
  font-size: 0.9rem;
  color: #99f6e4;
  margin-bottom: 1.75rem;
  position: relative;
  z-index: 1;
}
.boldyPriceChecks {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  text-align: left;
  display: inline-block;
  position: relative;
  z-index: 1;
}
.boldyPriceChecks li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #ccfbf1;
  margin-bottom: 0.6rem;
  line-height: 1.4;
}
.boldyPriceChecks li::before {
  content: '✓';
  color: #2dd4bf;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 0.05em;
}
.boldyPricingSpotlight .boldyBtnPrimary {
  position: relative;
  z-index: 1;
  display: inline-block;
}

/* ─── Inner-page hero (non-index pages) ─── */
.boldyPageHero {
  background: linear-gradient(135deg, #042f2e 0%, #134e4a 100%);
  padding: 3rem 2rem 2.5rem;
  text-align: center;
}
.boldyPageHero h1 {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.4rem;
  text-wrap: balance;
}
.boldyPageHero p {
  color: #99f6e4;
  font-size: 0.95rem;
  margin: 0;
}

/* ─── Anchor pill nav (legal pages) ─── */
.boldyAnchorNav {
  background: #f0fdfa;
  border-bottom: 1px solid #ccfbf1;
  padding: 0.85rem 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.boldyAnchorNav span {
  font-size: 0.8rem;
  font-weight: 600;
  color: #134e4a;
  margin-right: 0.25rem;
  flex-shrink: 0;
}
.boldyAnchorNav a {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #0f766e;
  background: #ccfbf1;
  padding: 0.3rem 0.8rem;
  border-radius: 99px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.boldyAnchorNav a:hover { background: #0d9488; color: #fff; }

/* ─── Legal content area ─── */
.boldyLegalContent {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}
.boldyLegalContent h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #042f2e;
  margin: 2.25rem 0 0.6rem;
  padding-top: 0.5rem;
  border-top: 1px solid #ccfbf1;
}
.boldyLegalContent h2:first-of-type { border-top: none; margin-top: 0.5rem; }
.boldyLegalContent p { line-height: 1.75; color: #134e4a; }
.boldyLegalContent ul { padding-left: 1.25rem; }
.boldyLegalContent ul li { line-height: 1.7; color: #134e4a; margin-bottom: 0.4rem; }
.boldyLegalContent a { color: #0d9488; }
.boldyLegalContent a:hover { text-decoration: underline; }

/* ─── Generic content area (about, sitemap) ─── */
.boldyContent {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}
.boldyContent h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #042f2e;
  margin: 2rem 0 0.75rem;
}
.boldyContent p { line-height: 1.75; color: #134e4a; }
.boldyContent a { color: #0d9488; }

/* ─── Highlight cards (about page) ─── */
.boldyHighlightCards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}
.boldyHighlightCard {
  background: #f0fdfa;
  border: 1px solid #ccfbf1;
  border-radius: var(--boldy-radius);
  padding: 1.5rem;
}
.boldyHighlightCard .icon {
  font-size: 1.75rem;
  display: block;
  margin-bottom: 0.6rem;
}
.boldyHighlightCard h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #042f2e;
  margin: 0 0 0.4rem;
}
.boldyHighlightCard p {
  font-size: 0.88rem;
  color: #134e4a;
  line-height: 1.6;
  margin: 0;
}

/* ─── Footer — 2-column ─── */
.boldySiteFooter {
  background: #042f2e;
  color: #99f6e4;
  padding: 3rem 2rem 1.5rem;
}
.boldyFooterGrid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto 2rem;
}
.boldyFooterBrand .boldyFooterLogo {
  display: block;
  width: 48px; height: 48px;
  background: var(--logo-url, none) center/contain no-repeat;
  margin-bottom: 1rem;
}
.boldyBrandTitle {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.4rem;
}
.boldyTagline {
  font-size: 0.88rem;
  color: #99f6e4;
  line-height: 1.55;
  margin-bottom: 0.6rem;
}
.boldyDisclosure {
  font-size: 0.78rem;
  color: #5eead4;
  line-height: 1.5;
}
.boldyFooterCol h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2dd4bf;
  margin: 0 0 0.85rem;
}
.boldyFooterCol ul {
  list-style: none;
  margin: 0; padding: 0;
}
.boldyFooterCol ul li { margin-bottom: 0.5rem; }
.boldyFooterCol ul li a {
  color: #99f6e4;
  text-decoration: none;
  font-size: 0.88rem;
}
.boldyFooterCol ul li a:hover { color: #ffffff; text-decoration: underline; }
.boldyFooterCol p {
  font-size: 0.85rem;
  color: #99f6e4;
  line-height: 1.6;
  margin: 0 0 0.75rem;
}
.boldyFooterCol a {
  color: #2dd4bf;
  text-decoration: none;
  font-size: 0.85rem;
}
.boldyFooterCol a:hover { text-decoration: underline; }
.boldyFooterBottom {
  border-top: 1px solid #134e4a;
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: 900px;
  margin: 0 auto;
}
.boldyFooterBottom p {
  font-size: 0.8rem;
  color: #5eead4;
  margin: 0;
}
.boldyFooterBottom a {
  color: #5eead4;
  text-decoration: none;
  font-size: 0.8rem;
}
.boldyFooterBottom a:hover { color: #ffffff; }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .boldyFeatureGrid { grid-template-columns: repeat(2, 1fr); }
  .boldyStepRow { flex-direction: column; align-items: center; gap: 1.75rem; }
  .boldyStepItem + .boldyStepItem::before { display: none; }
  .boldyFooterGrid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 620px) {
  .boldyHeroContent h1 { font-size: 2rem; }
  .boldyFeatureGrid { grid-template-columns: 1fr; }
  .boldyHighlightCards { grid-template-columns: 1fr; }
  .boldyTrustBar { flex-direction: column; align-items: flex-start; }
  .boldyTrustItem { border-right: none; border-bottom: 1px solid #134e4a; width: 100%; }
  .boldyTrustItem:last-child { border-bottom: none; }
  .boldyPricingSpotlight { padding: 2rem 1.25rem; }
  .boldySiteFooter { padding: 2.5rem 1.25rem 1.25rem; }
  .boldyAnchorNav { padding: 0.85rem 1.25rem; }
  .boldyLegalContent { padding: 2rem 1.25rem 3rem; }
  .boldyContent { padding: 2rem 1.25rem 3rem; }
  .boldyFooterBottom { flex-direction: column; align-items: flex-start; }
}
