/* /01-assets/css/91-tech-clarity.css (2026-11-10, v3): Tech Clarity(TM) pages — the hub (/tech-clarity.php) and the
   Tech Help booking page (/tech-help.php). Loaded by header.php on those pages only.
   The pages use the site's own explainer-page styles (main.resources-page: sections, container, card, hero panel, support-card,
   item cards). This file adds the Tech Clarity logo colors and the pages' few layouts.
   v3: colors now match the Tech Clarity logo — plum (was navy var(--tc-plum)), magenta (was teal var(--tc-magenta)), logo gold (was var(--tc-gold)).
   Reading text stays black. Status colors (light yellow / light red / green) are never brand colors. */

.tech-clarity-page {
  --tc-plum: #4A0A44;      /* "Tech" in the logo: headings, dark bands */
  --tc-magenta: #AA0562;   /* "Clarity" in the logo: labels, tagline, buttons, accents */
  --tc-berry: #78004E;     /* monitor + circle in the logo: borders, hover */
  --tc-gold: #DC960E;      /* rays, line and diamond in the logo: thin lines only */
}

.tech-clarity-page .section-eyebrow { color: var(--tc-magenta) !important; }
.tech-clarity-page h1, .tech-clarity-page .home-section-head h2, .tech-clarity-page .support-card h3, .tc-book__text h3 { color: var(--tc-plum); }
.tech-clarity-page .home-section-head p, .tech-clarity-page .support-card p, .tc-panel > p, .tc-book__text p { color: #000; }

/* top of the page */
.tc-hero__panel { grid-template-columns: 1fr !important; border-top: 4px solid var(--tc-gold); }
.tc-hero__brand { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 800; color: var(--tc-plum); font-size: 1.15rem; }
.tc-hero__line { margin: 2px 0 14px; font-style: italic; font-size: 0.9rem; color: #000; }
.tc-hero h1 { margin: 0 0 12px; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.05; }
.tc-hero__text > p { color: #000; font-size: 1.08rem; line-height: 1.65; max-width: 680px; }
.tc-hero__tagline { margin: 12px 0 0; font-style: italic; font-size: 1.35rem !important; color: var(--tc-magenta) !important; }
.tc-hero .cta-row { justify-content: flex-start; }

/* cards written in Website Hubs with "## " */
.tc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 6px 0 0; }

/* workshop dates */
.tc-events { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin: 0 0 8px; }
.tc-event { gap: 4px !important; }
.tc-event__date { font-size: 1.3rem !important; font-weight: 900; color: var(--tc-plum) !important; }
.tc-event--invite { background: #ffffff !important; border-style: dashed !important; }

/* books: the Library's own cards side by side; "About this book" opens underneath each one */
.tc-books { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; align-items: start; }
.tc-book { min-width: 0; }
.tc-book__card .item-grid { display: block !important; margin: 0 !important; }
.tc-book__about { margin-top: 10px; border: 1px solid #d9e2f1; border-radius: 16px; background: #ffffff; }
.tc-book__about summary { cursor: pointer; padding: 10px 14px; font-weight: 800; color: var(--tc-plum); font-size: 0.92rem; list-style: none; }
.tc-book__about summary::-webkit-details-marker { display: none; }
.tc-book__about summary::after { content: "+"; float: right; color: var(--tc-magenta); font-weight: 900; }
.tc-book__about[open] summary::after { content: "–"; }
.tc-book__text { padding: 0 14px 12px; }
.tc-book__text p { margin: 0 0 10px; font-size: 0.95rem; line-height: 1.65; color: #000; }

/* the story (why we do this): easy reading width */
.tc-section--story .tc-panel > p { max-width: 760px; font-size: 1.08rem; line-height: 1.8; color: #000; margin: 0 0 16px; }
.tc-section--story .tc-panel > p:last-child { font-style: italic; color: var(--tc-plum); font-weight: 700; }

/* questions people ask: open one at a time */
.tc-faqs { display: grid; gap: 10px; max-width: 860px; }
.tc-faq { border: 1px solid #d9e2f1; border-radius: 18px; background: #f8fafc; }
.tc-faq summary { cursor: pointer; padding: 16px 20px; font-weight: 800; font-size: 1.05rem; color: var(--tc-plum); list-style: none; }
.tc-faq summary::-webkit-details-marker { display: none; }
.tc-faq summary::after { content: "+"; float: right; color: var(--tc-magenta); font-weight: 900; font-size: 1.2rem; }
.tc-faq[open] summary::after { content: "–"; }
.tc-faq__body { padding: 0 20px 14px; }
.tc-faq__body p { margin: 0 0 10px; color: #000; line-height: 1.7; }

/* questions */
.tc-contact { background: var(--tc-plum); text-align: center; padding: 48px 0 !important; }
.tc-contact h2, .tc-contact p, .tc-contact a { color: #ffffff; }
.tc-contact h2 { margin: 0 0 8px; }
.tc-contact a { font-weight: 800; }
.tc-contact__fine { font-style: italic; font-size: 0.9rem; opacity: 0.9; }

/* buttons: magenta, plum on hover */
.tech-clarity-page .btn-primary,
.tech-clarity-page .button-primary {
  background: var(--tc-magenta) !important;
  border-color: var(--tc-magenta) !important;
  color: #ffffff !important;
}
.tech-clarity-page .btn-primary:hover,
.tech-clarity-page .button-primary:hover {
  background: var(--tc-plum) !important;
  border-color: var(--tc-plum) !important;
}
.tech-clarity-page .btn-secondary,
.tech-clarity-page .button-secondary {
  background: transparent !important;
  border-color: var(--tc-magenta) !important;
  color: var(--tc-magenta) !important;
}
.tech-clarity-page .btn-secondary:hover,
.tech-clarity-page .button-secondary:hover {
  background: rgba(170, 5, 98, 0.08) !important;
}
.tc-contact .btn-secondary,
.tc-contact .button-secondary { border-color: #ffffff !important; color: #ffffff !important; }

@media (max-width: 760px) {
  .tc-books { grid-template-columns: 1fr; }
}

/* ---------- Tech Help booking page (/tech-help.php, 2026-11-10). Large, calm, easy to tap. Reading text black. ---------- */
.tech-help-page { color: #000; }
.th-wrap { width: min(1080px, calc(100% - 36px)); margin: 0 auto; }
.th-narrow { width: min(820px, calc(100% - 36px)); }
.th-hero { padding: 54px 0 34px; border-bottom: 4px solid var(--tc-gold); background: #fff; }
.th-hero h1 { margin: 6px 0 12px; color: var(--tc-plum); font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.08; }
.th-lead { max-width: 760px; font-size: 1.15rem; line-height: 1.7; color: #000; }
.th-section { padding: 34px 0; }
.th-section--soft { background: #fbf6fa; }
.th-step { margin: 26px 0 12px; color: var(--tc-plum); font-size: 1.45rem; }
.th-help, .th-small { color: #000; }
.th-small { display: block; font-size: 0.95rem; margin-top: 6px; }
.th-zip { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.th-zip label { font-weight: 800; font-size: 1.1rem; }
.th-zip input { width: 9em; font-size: 1.25rem; padding: 12px 14px; border: 2px solid #c9b3c6; border-radius: 12px; color: #000; background: #fff; }
.th-form input[type="text"], .th-form input:not([type]), .th-form input[type="email"], .th-form input[type="tel"], .th-form input[type="date"], .th-form input[type="time"], .th-form select, .th-form textarea {
  box-sizing: border-box; width: 100%; min-height: 48px; padding: 11px 13px; border: 1.5px solid #c9b3c6; border-radius: 10px; font: inherit; font-size: 1.05rem; color: #000; background: #fff; }
.th-form label, .th-label { display: block; margin: 0 0 6px; font-weight: 800; color: #000; }
.th-group { margin: 0 0 18px; padding: 0; border: 0; }
.th-group legend { margin-bottom: 10px; font-weight: 800; font-size: 1.1rem; color: var(--tc-magenta); }
.th-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.th-card { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border: 2px solid #e2d3df; border-radius: 16px; background: #fff; cursor: pointer; font-weight: 400 !important; }
.th-card input[type="radio"] { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--tc-magenta); flex: none; }
.th-card:has(input:checked) { border-color: var(--tc-magenta); box-shadow: 0 0 0 3px rgba(170, 5, 98, 0.15); }
.th-card__body { display: grid; gap: 4px; }
.th-card__name { font-weight: 800; font-size: 1.12rem; color: var(--tc-plum); }
.th-card__price { font-weight: 800; color: #000; }
.th-card__text { color: #000; line-height: 1.5; }
.th-card__small { font-size: 0.92rem; color: #000; font-style: italic; }
.th-card__hours { margin-top: 6px; font-weight: 700; }
.th-card__hours select { margin-top: 4px; }
.th-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-bottom: 14px; }
.th-field { display: grid; gap: 6px; margin-bottom: 12px; }
.th-check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 700; margin: 10px 0; }
.th-check input { width: 22px; height: 22px; accent-color: var(--tc-magenta); }
.th-box { margin: 0 0 18px; padding: 18px 20px; border: 1px solid #e2d3df; border-radius: 16px; background: #fff; }
.th-box h2 { margin: 0 0 8px; color: var(--tc-plum); }
.th-box p { margin: 0 0 8px; color: #000; line-height: 1.6; }
.th-box--note { border-left: 6px solid var(--tc-gold); }
.th-box--ok { border-color: rgba(47, 111, 78, 0.35); background: #f2faf5; }   /* status: green = done */
.th-box--error { border-color: rgba(180, 35, 24, 0.35); background: #fdecec; } /* status: light red = problem */
.th-submit { font-size: 1.15rem; padding: 14px 28px; }
.th-hp { position: absolute !important; left: -99999px !important; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) { .th-hero { padding: 36px 0 24px; } .th-zip input { width: 100%; } .th-submit { width: 100%; } }

/* Shared consent boxes (00-core/consent.php), Tech Help look. 2026-11-10 */
.tech-help-page .mbs-consent { border: 1px solid #e3d3df; border-radius: 12px; padding: 14px 16px; margin: 18px 0 8px; background: #fff; color: #000; }
.tech-help-page .mbs-consent legend { font-weight: 800; padding: 0 6px; color: var(--tc-plum); }
.tech-help-page .mbs-consent__option { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; font-weight: 400; }
.tech-help-page .mbs-consent__option input { width: 22px; height: 22px; flex: 0 0 22px; margin-top: 2px; accent-color: var(--tc-magenta); }
.tech-help-page .mbs-consent__fine { font-size: 0.9rem; margin: 10px 0 0; color: #000; }
.tech-help-page .mbs-consent__fine a { color: var(--tc-berry); }

/* Fill-in boxes stay white with black text, even when a phone or computer is set to dark mode. 2026-11-10 */
.tech-help-page { color-scheme: light; }

/* 2026-11-12 (Lori): "When works for you?" one tidy row per choice: label | day | time. Phones: label, day and time each on its own line. */
.th-when { display: grid; gap: 12px; max-width: 760px; margin: 6px 0 16px; }
.th-when__row { display: grid; grid-template-columns: 210px minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: center;
  padding: 12px 14px; border: 1px solid #e2d3df; border-radius: 12px; background: #fff; }
.th-when__label { font-weight: 800; color: #000; font-size: 1.05rem; }
.th-when__label small { font-weight: 400; font-size: 0.9rem; }
.th-form .th-when input[type="date"], .th-form .th-when select { font-size: 1.1rem; min-height: 50px; }
@media (max-width: 640px) {
  .th-when__row { grid-template-columns: 1fr; gap: 10px; }   /* phones: label, then day, then time, each full width */
}

