/* TrueCore Hosting — shared stylesheet
   Include this on every page. Page-specific styles go in assets/<page>.css */

:root {
  --bg:#0a0a0a; --bg2:#111; --bg3:#161616;
  --border:#1e1e1e; --text:#e2e2e2; --muted:#777; --dim:#444;
  --accent:#e07b39; --accent-h:#f08d4a; --accentH:#f08d4a;
  --ok:#3dbe5e; --bad:#e04040; --warn:#f0b429;
  --r:8px; --radius:8px;
}
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }

/* ── Nav ────────────────────────────────────────────────────────────── */
nav { position: sticky; top: 0; z-index: 100; background: rgba(10,10,10,0.9); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); padding: 0 5%; display: flex; align-items: center; height: 54px; }
.nav-brand { font-weight: 900; font-size: 16px; color: var(--accent); letter-spacing: -0.02em; text-decoration: none; flex-shrink: 0; display: flex; align-items: center; gap: 7px; }
.nav-logo { width: 11px; height: 16px; flex-shrink: 0; }
.nav-links { display: flex; gap: 4px; margin-left: 28px; }
.nav-links a { font-size: 13px; font-weight: 500; color: var(--muted); text-decoration: none; padding: 5px 11px; border-radius: 5px; transition: color .12s, background .12s; }
.nav-links a:hover { color: var(--text); background: var(--bg3); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-signin { font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; padding: 6px 13px; border-radius: 6px; border: 1px solid var(--border); transition: color .12s, border-color .12s, background .12s; }
.nav-signin:hover { color: var(--text); border-color: #444; background: var(--bg3); }
.nav-cta { background: var(--accent); color: #fff; font-weight: 800; font-size: 13px; padding: 7px 16px; border-radius: 6px; text-decoration: none; transition: background .12s; }
.nav-cta:hover { background: var(--accent-h); }
.nav-demo { font-size: 13px; font-weight: 600; color: var(--accent); text-decoration: none; padding: 6px 13px; border-radius: 6px; border: 1px solid var(--accent); transition: color .12s, border-color .12s, background .12s; }
.nav-demo:hover { background: var(--accent); color: #fff; }
.theme-toggle, .font-toggle { background: none; border: 1px solid var(--border); color: var(--muted); cursor: pointer; font-size: 13px; padding: 5px 9px; border-radius: 6px; line-height: 1; transition: color .12s, border-color .12s; font-family: inherit; }
.theme-toggle:hover, .font-toggle:hover { color: var(--text); border-color: var(--dim); }

/* ── Light theme ────────────────────────────────────────────────────── */
[data-theme="light"] { --bg:#fff; --bg2:#f5f5f5; --bg3:#ebebeb; --border:#d4d4d4; --text:#111; --muted:#555; --dim:#999; }
[data-theme="light"] nav { background: rgba(255,255,255,.92); }

/* ── Font size ──────────────────────────────────────────────────────── */
[data-fontsize="large"]  body { zoom: 1.15; }
[data-fontsize="larger"] body { zoom: 1.30; }

/* ── Footer ─────────────────────────────────────────────────────────── */
footer { padding: 28px 5%; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.footer-brand { font-size: 13px; font-weight: 900; color: var(--accent); }
.footer-links { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-links a { font-size: 12px; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 11px; color: var(--dim); width: 100%; }

@media (max-width: 480px) { .nav-links { display: none; } }

/* ── Page content blocks (shared across all pages) ────────────────────────────
   Hero, sections, features, compare, buttons, check lists. Identical to the
   homepage definitions in index.css — kept here so any page that loads only
   tc.css (work/support/culture and any future content page) gets the same
   visual language without needing per-page CSS for these primitives. */

.hero { padding: 84px 5% 60px; text-align: center; }
.eyebrow { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); background: rgba(224,123,57,.1); border: 1px solid rgba(224,123,57,.25); border-radius: 20px; padding: 4px 14px; margin-bottom: 22px; }
.hero h1 { font-size: clamp(32px,6vw,58px); font-weight: 900; line-height: 1.07; letter-spacing: -.03em; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub { font-size: clamp(14px,2vw,17px); color: var(--muted); max-width: 520px; margin: 0 auto 32px; line-height: 1.65; }
.hero-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.btn-primary { background: var(--accent); color: #fff; font-weight: 700; font-size: 14px; padding: 12px 26px; border-radius: 8px; text-decoration: none; display: inline-block; transition: background .12s; }
.btn-primary:hover { background: var(--accent-h); }
.btn-ghost { color: var(--text); font-weight: 600; font-size: 14px; padding: 12px 26px; border-radius: 8px; text-decoration: none; display: inline-block; border: 1px solid var(--border); transition: border-color .12s, color .12s; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.section { padding: 64px 5%; }
.section-inner { max-width: 1080px; margin: 0 auto; }
.section-alt { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.label { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.heading { font-size: clamp(22px,3.5vw,36px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 12px; }
.heading em { font-style: normal; color: var(--accent); }
.subtext { font-size: 15px; color: var(--muted); max-width: 720px; margin-bottom: 24px; line-height: 1.65; }
.subtext a { color: var(--accent); text-decoration: none; }
.subtext a:hover { text-decoration: underline; }

.features { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
@media (max-width: 720px) { .features { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .features { grid-template-columns: 1fr; } .hero { padding: 56px 5% 40px; } }
.feat { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--r); padding: 18px; }
.feat h3 { font-size: 14px; font-weight: 700; margin-bottom: 5px; }
.feat p { font-size: 13px; color: var(--muted); line-height: 1.55; }
.feat p + p { margin-top: 8px; }
.feat code { font-family: 'SFMono-Regular', Consolas, monospace; font-size: 12px; color: var(--text); background: var(--bg3); padding: 1px 5px; border-radius: 3px; }
.feat a { color: var(--accent); text-decoration: none; }
.feat a:hover { text-decoration: underline; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 600px) { .compare { grid-template-columns: 1fr; } }
.compare-col h3 { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.check-list li { font-size: 13px; color: var(--muted); padding-left: 20px; position: relative; line-height: 1.5; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.check-list.bad li::before { content: '✗'; color: var(--bad); }
