/* GTM-6: the offer band, timeline, vertical cards, pricing block, honesty block, status chips
   and booking panel. Shared by the homepage (dark hero + light sections, --ink2/--teal tokens)
   and every ms-* subpage (--ink-2/--brand tokens in styles.css). Every color reads BOTH token
   families through a fallback so the same class works unmodified on either page family.
   Brand teal (#0c6b62) is not a page variable on either family (home's --teal is marine), so it
   is declared locally as --cfo-brand and used only for the offer band / first-job accents. */
:root{
  --cfo-brand: #0c6b62;
  --cfo-brand-2: #0f8174;
  --cfo-brand-soft: #dcefeb;
}
/* Dark theme (ms-* subpages only, [data-theme] is never set on the homepage):
   the fixed brand teal is tuned for a light card and drops under 4.5:1 read as
   text on a dark card/background, so it gets a lighter dark-mode reading. */
[data-theme="dark"]{
  --cfo-brand: #3fcdb8;
  --cfo-brand-2: #5ee0cc;
  --cfo-brand-soft: rgba(63,205,184,0.14);
}
.cfo-ink{ color: var(--ink-2, var(--ink2, #425062)); }
.cfo-section{ padding: clamp(56px,8vw,96px) 0; }

/* ---------- offer band ---------- */
.cfo-offer{
  background: var(--card, #fff);
  border: 1px solid var(--border, var(--rule, #d4e0ec));
  border-left: 6px solid var(--cfo-brand);
  border-radius: 18px;
  padding: clamp(24px,4vw,40px);
  display: grid;
  grid-template-columns: minmax(0,1.35fr) minmax(0,1fr);
  gap: clamp(20px,4vw,40px);
  align-items: center;
  color: var(--ink, #101a26);
}
.cfo-offer .cfo-eyebrow{
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cfo-brand-2); display:block; margin: 0 0 10px;
}
.cfo-offer h2{ font-size: clamp(1.5rem,3vw,2.1rem); line-height:1.18; letter-spacing:-.02em; margin:0 0 14px; font-weight:600; }
.cfo-offer .cfo-body{ color: var(--ink-2, var(--ink2, #425062)); font-size: 15.5px; line-height:1.65; margin: 0 0 16px; max-width: 46em; }
.cfo-price{ font-size: clamp(1.5rem,2.6vw,2rem); font-weight: 700; letter-spacing:-.02em; color: var(--cfo-brand); margin: 0 0 14px; }
.cfo-day30-line{ font-size: 14.5px; color: var(--ink, #101a26); background: var(--surf, rgba(12,107,98,.06)); border-radius: 10px; padding: 10px 14px; margin: 0 0 14px; max-width: 46em; }
.cfo-fine{ font-size: 13px; color: var(--ink-3, var(--ink3, #7b8798)); margin: 0 0 18px; max-width: 46em; }
.cfo-offer .cfo-cta-wrap{ display:flex; }
.cfo-offer-aside{ background: var(--surf, #e3ebf4); border-radius: 14px; padding: 22px; }
@media (max-width: 760px){
  .cfo-offer{ grid-template-columns: 1fr; }
}

/* ---------- free first job ---------- */
.cfo-firstjob{
  background: var(--cfo-brand-soft);
  border: 1px solid rgba(12,107,98,.24);
  border-radius: 18px;
  padding: clamp(24px,4vw,40px);
  color: var(--ink, #101a26);
}
.cfo-firstjob .cfo-eyebrow{ font-family:'JetBrains Mono',ui-monospace,monospace; font-size:11.5px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color: var(--cfo-brand); display:block; margin:0 0 10px; }
.cfo-firstjob h2{ font-size: clamp(1.4rem,2.8vw,1.9rem); line-height:1.2; letter-spacing:-.02em; margin:0 0 14px; font-weight:600; max-width: 24em; }
.cfo-firstjob p{ color: var(--ink-2, var(--ink2, #425062)); font-size:15.5px; line-height:1.65; margin:0 0 14px; max-width: 48em; }
.cfo-firstjob ul{ list-style:none; margin:0 0 16px; padding:0; display:grid; gap:10px; }
.cfo-firstjob li{ display:flex; gap:10px; align-items:flex-start; color: var(--ink, #101a26); font-size:15px; }
.cfo-firstjob li::before{ content:""; width:7px; height:7px; margin-top:7px; border-radius:50%; background: var(--cfo-brand); flex:none; }
.cfo-firstjob .cfo-capacity{ font-size:13px; color: var(--ink-3, var(--ink3, #7b8798)); margin: 12px 0 18px; }

/* ---------- 14-day timeline ---------- */
.cfo-timeline{ margin-top: 40px; display:grid; grid-template-columns: repeat(5,1fr); gap: 0; border-top:1px solid var(--border, var(--rule,#d4e0ec)); }
.cfo-stop{ padding: 22px 18px 0 0; border-right: 1px solid var(--border, var(--rule,#d4e0ec)); position:relative; }
.cfo-stop:last-child{ border-right:0; }
.cfo-stop::before{ content:""; position:absolute; top:-6px; left:0; width:11px; height:11px; border-radius:50%; background: var(--surf,#e3ebf4); border:2px solid var(--marine, var(--teal,#2563a8)); }
.cfo-stop.cfo-day14::before{ background: var(--marine, var(--teal,#2563a8)); }
.cfo-stop.cfo-day30::before{ background: var(--cfo-brand); border-color: var(--cfo-brand); }
.cfo-stop .cfo-stop-label{ font-family:'JetBrains Mono',ui-monospace,monospace; font-size:11px; letter-spacing:.1em; text-transform:uppercase; color: var(--cfo-brand); display:block; margin-bottom:8px; }
.cfo-stop p{ color: var(--ink-2, var(--ink2, #425062)); font-size:14px; line-height:1.55; margin:0; padding-right:12px; }
.cfo-timeline-caveat{ margin-top:24px; font-size:13px; color: var(--ink-2, var(--ink2, #425062)); max-width:56em; }
@media (max-width: 760px){
  .cfo-timeline{ grid-template-columns: 1fr; }
  .cfo-stop{ border-right:0; border-left:2px solid var(--border, var(--rule,#d4e0ec)); padding:0 0 22px 20px; margin-left:5px; }
  .cfo-stop::before{ left:-6px; top:0; }
}

/* ---------- what we won't claim ---------- */
.cfo-honest{ margin-top: 32px; background: var(--surf, rgba(255,255,255,.05)); border: 1px solid var(--border, var(--rule,#d4e0ec)); border-radius: 18px; padding: 26px 28px; max-width: 52em; }
.cfo-honest .cfo-tag{ font-family:'JetBrains Mono',ui-monospace,monospace; font-size:10.5px; letter-spacing:.15em; text-transform:uppercase; color: var(--cfo-brand-2); display:block; margin-bottom:12px; }
.cfo-honest ul{ margin:0; padding:0; list-style:none; display:grid; gap:10px; }
.cfo-honest li{ font-size:14.5px; line-height:1.55; color: var(--ink-2, var(--ink2, #425062)); padding-left:18px; position:relative; }
.cfo-honest li::before{ content:"–"; position:absolute; left:0; color: var(--ink-3, var(--ink3, #7b8798)); }

/* ---------- status chips ---------- */
.cfo-status{ display:inline-flex; align-items:center; gap:6px; font-size:11.5px; font-weight:600; letter-spacing:.02em; padding:4px 10px; border-radius:999px; white-space:nowrap; }
.cfo-status::before{ content:""; width:6px; height:6px; border-radius:50%; flex:none; }
.cfo-status.live{ background: var(--good-soft,#dcefe1); color: var(--good,#1f7a4d); }
.cfo-status.live::before{ background: var(--good,#1f7a4d); }
.cfo-status.pilot{ background: var(--info-soft, #dce9f6); color: var(--info, #2563a8); }
.cfo-status.pilot::before{ background: var(--info, #2563a8); }
.cfo-status.soon{ background: var(--warn-soft,#f8ead0); color: var(--warn,#9a6212); }
.cfo-status.soon::before{ background: var(--warn,#9a6212); }

/* ---------- vertical cards ---------- */
.cfo-cards{ margin-top: 40px; display:grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
a.cfo-card{
  display:block; background: var(--card,#fff); border: 1px solid var(--border, var(--rule,#d4e0ec));
  border-radius: 16px; padding: 24px; color: inherit; text-decoration:none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
a.cfo-card:hover, a.cfo-card:focus-visible{ transform: translateY(-3px); border-color: var(--cfo-brand-2); box-shadow: 0 14px 40px rgba(12,107,98,.14); }
a.cfo-card:focus-visible{ outline: 2px solid var(--cfo-brand-2); outline-offset: 3px; }
.cfo-card h3{ font-size: 1.1rem; font-weight:600; margin: 12px 0 8px; letter-spacing:-.01em; }
.cfo-card p{ font-size: 14px; color: var(--ink-2, var(--ink2, #425062)); margin: 0 0 12px; }
.cfo-card .cfo-card-cta{ font-size: 13px; font-weight:600; color: var(--cfo-brand-2); }
@media (max-width: 760px){ .cfo-cards{ grid-template-columns: 1fr; } }

/* ---------- pricing block ---------- */
.cfo-pricing{ margin-top: 36px; display:grid; grid-template-columns: minmax(0,1fr) minmax(0,1.4fr); gap: 32px; align-items:start; }
.cfo-price-card{ background: var(--cfo-brand); color: #fff; border-radius: 18px; padding: 28px; }
.cfo-price-card .cfo-price-num{ font-size: 2.4rem; font-weight:700; letter-spacing:-.02em; }
.cfo-price-card .cfo-price-unit{ font-size: 14px; opacity:.85; margin-top:4px; }
.cfo-price-card ul{ list-style:none; margin: 18px 0 0; padding:0; display:grid; gap:9px; }
.cfo-price-card li{ font-size:13.5px; display:flex; gap:8px; }
.cfo-price-card li::before{ content:"✓"; flex:none; }
.cfo-faqs{ display:grid; gap:0; }
.cfo-faqs details{ border-bottom: 1px solid var(--border, var(--rule,#d4e0ec)); padding: 14px 0; }
.cfo-faqs summary{ cursor:pointer; font-weight:600; font-size:15px; color: var(--ink,#101a26); }
.cfo-faqs summary::marker{ color: var(--cfo-brand-2); }
.cfo-faqs p{ margin: 10px 0 0; color: var(--ink-2, var(--ink2, #425062)); font-size:14.5px; line-height:1.6; }
@media (max-width: 760px){ .cfo-pricing{ grid-template-columns: 1fr; } }

/* ---------- booking panel ---------- */
.cfo-book-panel{ background: var(--surf, #e3ebf4); border: 1px solid var(--border, var(--rule,#d4e0ec)); border-radius: 16px; padding: 26px 28px; margin: 0 0 28px; max-width: 640px; }
.cfo-book-panel[hidden]{ display:none; }
.cfo-book-panel .cfo-eyebrow{ font-family:'JetBrains Mono',ui-monospace,monospace; font-size:11px; letter-spacing:.14em; text-transform:uppercase; color: var(--cfo-brand-2); display:block; margin:0 0 8px; }
.cfo-book-panel h2{ font-size:1.35rem; margin:0 0 10px; }
.cfo-book-panel p{ color: var(--ink-2, var(--ink2, #425062)); font-size:14.5px; margin:0 0 16px; }

/* ---------- dental status note ---------- */
.cfo-status-note{ font-size: 14px; color: var(--ink-2, rgba(var(--dkt,218,230,242),.72)); background: rgba(12,107,98,.08); border-left: 3px solid var(--cfo-brand); border-radius: 8px; padding: 12px 16px; margin: 20px 0; max-width: 46em; }
.cfo-status-note strong{ color: var(--ink, #101a26); }

/* data-book targets get a minimum tap target */
[data-book]{ min-height: 44px; }
