/* Public pages. Light by default, dark from the header button: colours only through the meaning
   tokens (--c-*, --m-*) in theme.css, which has the contrast notes. */
body.marketing { background: var(--m-page); }
.skip-link:focus { position: fixed; top: .5rem; left: .5rem; z-index: 2000; background: var(--tchq-cyan); color: var(--tchq-ink); padding: .5rem 1rem; border-radius: .5rem; }

/* Header and footer */
.site-header { border-bottom: 1px solid var(--c-line); background: var(--m-header-bg); position: sticky; top: 0; z-index: 1000; backdrop-filter: blur(6px); }
.site-header .navbar { padding: .75rem 0; }
.site-header .brand-logo { height: 30px; width: auto; }
.site-header .nav-link { color: var(--c-text); font-weight: 500; }
.site-header .nav-link:hover, .site-header .nav-link[aria-current="page"] { color: var(--c-accent); }
.site-header .navbar-toggler { border-color: var(--c-input-line); }
.theme-toggle { --bs-btn-color: var(--c-muted); --bs-btn-hover-color: var(--c-text); --bs-btn-hover-bg: var(--c-raised); --bs-btn-active-color: var(--c-text); --bs-btn-active-bg: var(--c-raised); --bs-btn-border-color: transparent; --bs-btn-hover-border-color: transparent; padding: .4rem .55rem; line-height: 1; }
.theme-toggle svg { display: block; }
[data-bs-theme="light"] .icon-sun, [data-bs-theme="dark"] .icon-moon { display: none; }
[data-bs-theme="light"] .logo-for-dark, [data-bs-theme="dark"] .logo-for-light { display: none !important; }
.site-footer { border-top: 1px solid var(--c-line); background: var(--m-footer); color: var(--c-muted); padding: 3rem 0 1.5rem; }
.site-footer .brand-logo { height: 28px; width: auto; margin-bottom: 1rem; }
.site-footer h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--c-text); font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4rem; }
.site-footer a { color: var(--c-muted); text-decoration: none; }
.site-footer a:hover { color: var(--c-accent); text-decoration: underline; }
.footer-legal { border-top: 1px solid var(--c-line); margin-top: 2rem; padding-top: 1.25rem; font-size: .875rem; }

/* Sections */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0; background: radial-gradient(ellipse at 80% 20%, var(--m-glow), transparent 60%); }
.hero h1, .page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.08; }
.eyebrow { color: var(--c-accent); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; margin-bottom: .75rem; }
.lede { font-size: 1.2rem; color: var(--c-muted); max-width: 42rem; }
.hero-note { color: var(--c-muted); margin-top: 1rem; font-size: .95rem; }
.page-hero { padding: clamp(2.5rem, 5vw, 4rem) 0 2rem; }
.band { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.band-alt { background: var(--m-band-alt); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.narrow { max-width: 52rem; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 1.5rem; letter-spacing: -.01em; }
.band h2:not(.section-title):not(.h5):not(.h4):not(.h6) { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 1rem; }
.cta-band { padding: clamp(3rem, 6vw, 5rem) 0; background: var(--m-cta-bg); border-top: 1px solid var(--c-line); }
.cta-band h2 { font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-band p { color: var(--c-muted); font-size: 1.1rem; }

/* Cards, lists, steps */
.feature { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: .9rem; padding: 1.4rem; box-shadow: var(--c-shadow); }
.band-alt .feature { background: var(--m-band-card); }
.feature h3, .feature h2 { font-size: 1.15rem; font-weight: 700; }
.feature p:last-child { margin-bottom: 0; color: var(--c-muted); }
.plain-list { padding-left: 1.2rem; }
.plain-list li { margin-bottom: .6rem; }
.plain-list li::marker { color: var(--c-accent); }
@media (min-width: 768px) { .columns-2 { columns: 2; column-gap: 3rem; } .columns-2 li { break-inside: avoid; } }
.steps { list-style: none; counter-reset: step; padding: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.steps li { counter-increment: step; background: var(--m-band-card); border: 1px solid var(--c-line); box-shadow: var(--c-shadow); border-radius: .9rem; padding: 1.4rem 1.4rem 1.4rem 4.2rem; position: relative; }
.steps li::before { content: counter(step); position: absolute; left: 1.2rem; top: 1.2rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--c-fill); color: var(--c-on-fill); font-weight: 800; display: grid; place-items: center; }
.steps h3 { font-size: 1.1rem; font-weight: 700; }
.steps p { color: var(--c-muted); margin: 0; }

/* Product screenshots */
.shot img { display: block; width: 100%; height: auto; border-radius: .9rem; border: 1px solid var(--c-line); box-shadow: var(--m-shot-shadow); }
.shot-phone img { max-width: 260px; margin: 0 auto; border-radius: 1.6rem; }
.shot figcaption { color: var(--c-muted); font-size: .875rem; margin-top: .6rem; text-align: center; }

/* Pricing */
.plan { background: var(--c-surface); border: 1px solid var(--c-line); box-shadow: var(--c-shadow); border-radius: 1rem; padding: 1.75rem; display: flex; flex-direction: column; }
.plan h2 { font-size: 1.4rem; font-weight: 800; margin-bottom: .25rem; }
.plan-limit { color: var(--c-accent); font-weight: 600; }
.plan-price { font-size: 1.1rem; margin-bottom: .25rem; }
.plan-price span { font-size: 2.6rem; font-weight: 800; letter-spacing: -.02em; }
.plan-annual { color: var(--c-muted); margin-bottom: 1.5rem; }
.faq dt { font-weight: 700; font-size: 1.1rem; margin-top: 1.4rem; }
.faq dd { color: var(--c-muted); margin: .35rem 0 0; }

/* Help and legal */
@media (min-width: 992px) { .help-nav { position: sticky; top: 5.5rem; } }
.help-topic h2 { margin-bottom: .75rem; }
.help-topic { scroll-margin-top: 5.5rem; }
.legal { max-width: 52rem; padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: 2rem; }
.legal h1 { font-weight: 800; font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.35rem; font-weight: 700; margin-top: 2.25rem; }
.legal h3 { font-size: 1.1rem; font-weight: 700; margin-top: 1.5rem; }
.legal .updated { color: var(--c-muted); }
.contact-email .btn { word-break: break-all; }
