/* ============================================================
   The Tidy Scribe — brand layer on top of the licensed landing-page template
   Palette: Scribe Teal #244946 · Soft Teal #2F5D5A · Sage #87A08B
            Marigold #BE8A3E · Cream #F3EEE6 · Ink #3A3733
            Stone #6B655C · Linen #DAD3C8
   ============================================================ */

/* ----- brand lockup (mark + live Bitter wordmark) ----- */
.ts-brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.ts-brand img { height: 34px; width: auto; display: block; }
.ts-brand .ts-wordmark { font-family: 'Bitter', serif; font-weight: 800; font-size: 24px; line-height: 1; letter-spacing: .2px; color: #fff; white-space: nowrap; }
.ts-brand.ts-brand-dark .ts-wordmark { color: #244946; }
.dtr-responsive-header .ts-brand img { height: 30px; }
.dtr-responsive-header .ts-brand .ts-wordmark { font-size: 21px; }
#dtr-footer .ts-brand .ts-wordmark { color: #F3EEE6; }

/* ----- nav CTA ----- */
.sf-menu .ts-nav-cta a.nav-link { background-color: #BE8A3E; color: #3A3733 !important; border-radius: 999px; padding: 8px 20px !important; margin-left: 14px; font-weight: 700; }
.sf-menu .ts-nav-cta a.nav-link:hover { background-color: #A87732; color: #22312E !important; }

/* ----- buttons in brand ----- */
.btn-teal { background-color: #244946; border-color: #244946; color: #fff; }
.btn-teal:hover { background-color: #2F5D5A; border-color: #2F5D5A; color: #fff; }
.btn-outline-teal { background-color: transparent; border-color: #244946; color: #244946; }
.btn-outline-teal:hover { background-color: #E8EFE9; border-color: #244946; color: #244946; }
.btn-cream { background-color: #F3EEE6; border-color: #F3EEE6; color: #244946; }
.btn-cream:hover { background-color: #fff; border-color: #fff; color: #244946; }

/* ----- eyebrow labels ----- */
.ts-eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: #BE8A3E; margin-bottom: 14px; }
.color-white .ts-eyebrow { color: #BE8A3E; }

/* ----- hero ----- */
.ts-hero-copy { max-width: 560px; }
.ts-hero-copy h1 { font-size: 46px; line-height: 1.16; margin-bottom: 22px; }
.ts-hero-copy .ts-lede { font-size: 19px; line-height: 1.65; }
.ts-stat-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.ts-chip { background-color: #E8EFE9; border: 1px solid #87A08B; color: #3A3733; border-radius: 999px; padding: 7px 16px; font-size: 15px; line-height: 1.3; }
.ts-chip strong { color: #244946; font-weight: 700; }
.ts-btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.ts-btn-row .dtr-btn { padding: 16px 34px; font-size: 17px; }

/* ----- problem section ----- */
.ts-problem-card { background-color: #F3EEE6; border: 1px solid #DAD3C8; border-radius: 14px; padding: 30px 32px; margin-top: 30px; }
.ts-problem-card h3 { font-size: 21px; margin-bottom: 14px; }
.ts-problem-list { list-style: none; margin: 0; padding: 0; }
.ts-problem-list li { position: relative; padding: 7px 0 7px 28px; border-bottom: 1px solid #DAD3C8; line-height: 1.5; }
.ts-problem-list li:last-child { border-bottom: none; }
.ts-problem-list li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 9px; height: 9px; border-radius: 50%; background-color: #87A08B; }

/* ----- video ----- */
.ts-video-wrap { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background-color: #244946; box-shadow: 0 24px 50px rgba(36, 73, 70, .22); }
.ts-video-wrap video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
@media (prefers-reduced-motion: reduce) {
  .ts-video-wrap video { display: none; }
  .ts-video-wrap { background-image: url(../video/care-loop-poster.jpg); background-size: cover; background-position: center; }
}

/* ----- dark teal feature band (fillable) ----- */
.ts-bignums { display: flex; flex-wrap: wrap; gap: 24px; margin: 36px 0 44px; }
.ts-bignum { flex: 1 1 260px; border: 1px solid rgba(135, 160, 139, .45); border-radius: 14px; padding: 24px 28px; }
.ts-bignum .n { font-family: 'Bitter', serif; font-weight: 800; font-size: 52px; line-height: 1; color: #EDC979; }
.ts-bignum .lbl { color: rgba(255,255,255,.75); margin-top: 8px; line-height: 1.45; }
.ts-photo { border-radius: 14px; width: 100%; height: auto; display: block; }
.ts-photo-frame { border: 1px solid #DAD3C8; border-radius: 14px; padding: 8px; background: #fff; margin-top: 18px; }
.ts-photo-frame img { border-radius: 9px; width: 100%; display: block; }

/* ----- what's inside ----- */
.ts-stats-strip { background-color: #E8EFE9; border: 1px solid #87A08B; border-radius: 999px; padding: 13px 30px; text-align: center; font-size: 17px; color: #3A3733; margin: 6px auto 46px; max-width: 860px; }
.ts-stats-strip strong { font-family: 'Bitter', serif; color: #244946; font-weight: 800; }
.ts-stats-strip .sep { color: #87A08B; margin: 0 12px; font-weight: 700; }
.ts-inside-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 44px; }
.ts-inside-item { display: flex; gap: 16px; padding: 15px 0; border-bottom: 1px solid #DAD3C8; }
.ts-inside-item .idx { font-family: 'Bitter', serif; font-weight: 800; font-size: 21px; color: #BE8A3E; line-height: 1.25; min-width: 38px; }
.ts-inside-item h4 { font-size: 18px; margin-bottom: 3px; }
.ts-inside-item p { font-size: 15.5px; line-height: 1.5; color: #6B655C; margin: 0; }
.ts-family-layer { background-color: #E8EFE9; border-radius: 14px; padding: 30px 34px; margin-top: 40px; }
.ts-family-layer h3 { font-size: 22px; margin-bottom: 10px; }
.ts-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.ts-gallery figure { margin: 0; }
.ts-gallery img { width: 100%; border-radius: 10px; border: 1px solid #B9AE9C; box-shadow: 0 12px 26px rgba(58,55,51,.16); background-color: #fff; display: block; cursor: zoom-in; }
.ts-gallery-hint { text-align: center; color: #6B655C; font-size: 15.5px; margin: 40px auto 18px; }
.ts-gallery figcaption { font-size: 14px; color: #6B655C; text-align: center; margin-top: 8px; }
@media (max-width: 767px) {
  /* mobile: compact two-column grid of section titles, no description wall */
  .ts-inside-grid { grid-template-columns: 1fr 1fr; gap: 2px 20px; }
  .ts-inside-item { padding: 10px 0; gap: 10px; align-items: baseline; }
  .ts-inside-item .idx { font-size: 16px; min-width: 27px; }
  .ts-inside-item h4 { font-size: 15.5px; margin: 0; line-height: 1.3; }
  .ts-inside-item p { display: none; }
  .ts-gallery { grid-template-columns: repeat(2, 1fr); }
  .ts-stats-strip { border-radius: 18px; }
}

/* ----- steps (how it works) ----- */
.ts-step { display: flex; gap: 20px; margin-bottom: 30px; }
.ts-step:last-child { margin-bottom: 0; }
.ts-step .num { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 50%; background-color: #BE8A3E; color: #3A3733; font-family: 'Bitter', serif; font-weight: 800; font-size: 23px; display: flex; align-items: center; justify-content: center; }
.ts-step h3 { font-size: 21px; margin-bottom: 5px; }
.ts-step p { margin: 0; line-height: 1.55; }

/* ----- pricing ----- */
.ts-price-line { display: flex; align-items: baseline; gap: 14px; margin: 8px 0 4px; }
.ts-price { font-family: 'Bitter', serif; font-weight: 800; font-size: 44px; color: #244946; line-height: 1; }
.ts-price-note { color: #6B655C; font-size: 15px; }
.ts-feature-list { list-style: none; margin: 18px 0 24px; padding: 0; }
.ts-feature-list li { position: relative; padding: 5px 0 5px 28px; line-height: 1.5; border-bottom: 1px solid #DAD3C8; }
.ts-feature-list li:last-child { border-bottom: none; }
.ts-feature-list li::before { content: ""; position: absolute; left: 3px; top: 13px; width: 10px; height: 6px; border-left: 3px solid #87A08B; border-bottom: 3px solid #87A08B; transform: rotate(-45deg); }
.ts-pricing-featured { outline: 2px solid #BE8A3E; position: relative; }
.ts-badge { position: absolute; top: -15px; right: 26px; background-color: #BE8A3E; color: #3A3733; font-weight: 700; font-size: 13.5px; letter-spacing: 1px; text-transform: uppercase; padding: 5px 16px; border-radius: 999px; z-index: 5; }
.ts-also { font-size: 15px; margin-top: 12px; color: #6B655C; }
.ts-also a { color: #2F5D5A; text-decoration: underline; }

/* ----- FAQ accordion ----- */
.ts-faq { max-width: 820px; margin: 0 auto; }
.ts-faq details { border-bottom: 1px solid #DAD3C8; padding: 6px 0; }
.ts-faq summary { font-family: 'Bitter', serif; font-weight: 700; font-size: 19px; color: #244946; cursor: pointer; padding: 13px 34px 13px 0; position: relative; list-style: none; line-height: 1.4; }
.ts-faq summary::-webkit-details-marker { display: none; }
.ts-faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 26px; color: #87A08B; font-family: 'Quattrocento Sans', sans-serif; font-weight: 700; }
.ts-faq details[open ] summary::after { content: "–"; }
.ts-faq details p { margin: 0 0 16px; line-height: 1.6; max-width: 720px; }

/* ----- CTA band ----- */
.ts-cta-band h2 { font-size: 38px; line-height: 1.2; }

/* ----- disclaimer ----- */
.ts-disclaimer { font-size: 15.5px; line-height: 1.65; color: #6B655C; max-width: 820px; }

/* ----- footer tidy-ups ----- */
#dtr-footer .dtr-footer-main { padding-left: 15px; padding-right: 15px; max-width: 1200px; margin: 0 auto; }
.ts-fineprint { border-top: 1px solid rgba(255,255,255,.14); margin-top: 26px; padding-top: 20px; font-size: 14px; color: rgba(255,255,255,.6); }

/* ----- section rhythm helpers ----- */
.ts-bg-cream { background-color: #F3EEE6; }
.ts-bg-sagetint { background-color: #E8EFE9; }
.ts-img-cover { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; display: block; }
@media (max-width: 991px) {
  .ts-hero-copy h1 { font-size: 36px; }
  .ts-cta-band h2 { font-size: 30px; }
}

/* ----- fixes found in screenshot QC ----- */
/* pricing card art is a square product graphic: show it whole, never cropped */
.dtr-pricing-img { background-size: contain; background-position: center center; background-color: #F3EEE6; }
/* cream button inside .color-white sections must keep its Ink/Teal label */
.color-white a.btn-cream, .ts-cta-band a.btn-cream { color: #244946 !important; }
.color-white a.btn-cream:hover, .ts-cta-band a.btn-cream:hover { color: #244946 !important; }
/* testimonial placeholder avatars: initials discs (template ships blank avatar files) */
.ts-avatar { width: 70px; height: 70px; border-radius: 50%; background-color: #87A08B; color: #244946; font-family: 'Bitter', serif; font-weight: 800; font-size: 27px; display: flex; align-items: center; justify-content: center; }

/* ----- fix pass, Nov 25 2026 (Gemini revised + Grok live reviews) ----- */
/* nav: scrollspy paints the in-view link marigold via color.css (.dtr-menu-light .active);
   in the desktop header that left one link a different color from its siblings.
   Keep every desktop nav link white; the template's active underline still shows. */
#dtr-header-global .sf-menu > li > a.active { color: #fff; }

/* hero free-sample button: filled and weighted so the sample path reads as a
   real second option, while the solid teal buy button stays primary */
.btn-sample { background-color: #fff; border: 2px solid #244946; color: #244946; font-weight: 700; box-shadow: 0 8px 20px rgba(36,73,70,.18); }
.btn-sample:hover { background-color: #F3EEE6; border-color: #244946; color: #244946; }

/* pricing reassurance line under the buy buttons */
.ts-reassure { font-size: 14.5px; color: #6B655C; line-height: 1.55; margin: 14px 0 0; max-width: 420px; }

/* ----- scenarios (solid teal band; replaced the photo testimonial slider) ----- */
.ts-scenarios { background-color: #244946; }
.ts-scenarios h2 { color: #F3EEE6; }
.ts-scenarios .dtr-section-heading p { color: rgba(243,238,230,.85); line-height: 1.6; }
.ts-scenario-card { background-color: #2F5D5A; border: 1px solid rgba(135,160,139,.45); border-radius: 14px; padding: 30px 28px; height: 100%; }
.ts-scenario-card h3 { color: #F3EEE6; font-size: 21px; margin-bottom: 10px; }
.ts-scenario-card p { color: rgba(255,255,255,.87); line-height: 1.6; margin: 0; }
.ts-scenario-num { width: 46px; height: 46px; border-radius: 50%; background-color: #BE8A3E; color: #3A3733; font-family: 'Bitter', serif; font-weight: 800; font-size: 20px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }

/* ----- sample page lightbox ----- */
.ts-lightbox { position: fixed; inset: 0; z-index: 2000; background-color: rgba(32,42,40,.93); display: none; align-items: center; justify-content: center; padding: 24px; }
.ts-lightbox.open { display: flex; }
.ts-lightbox img { max-width: min(92vw, 720px); max-height: 92vh; border-radius: 6px; box-shadow: 0 30px 80px rgba(0,0,0,.5); background-color: #fff; }
.ts-lightbox-close { position: absolute; top: 14px; right: 24px; background: none; border: none; color: #F3EEE6; font-size: 42px; line-height: 1; cursor: pointer; padding: 6px 10px; }
