/*
 * TrackSure 2.0 site design system — matches the 2.0 admin prototype (teal + slate, Inter).
 * Everything is scoped under .ts2 so the older templates keep their styles until rebuilt.
 */
:root {
  --ts-teal-900: #134E4A; --ts-teal-800: #115E59; --ts-teal-700: #0F766E; --ts-teal-600: #0D9488;
  --ts-teal-100: #CCFBF1; --ts-teal-50: #F0FDFA;
  --ts-ink: #0F172A; --ts-ink-2: #334155; --ts-muted: #475569; --ts-faint: #64748B;
  --ts-line: #E2E8F0; --ts-line-2: #CBD5E1; --ts-bg: #F8FAFC; --ts-card: #FFFFFF;
  --ts-amber: #F59E0B; --ts-amber-50: #FFFBEB; --ts-green: #15803D; --ts-green-50: #DCFCE7;
  --ts-red: #B91C1C; --ts-radius: 14px; --ts-radius-sm: 10px;
  --ts-shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 24px rgba(15, 23, 42, .06);
  --ts-max: 1160px;
}
.ts2 { font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ts-ink); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; font-feature-settings: "cv11" 1; }
.ts2 *, .ts2 *::before, .ts2 *::after { box-sizing: border-box; }
.ts2 a { color: var(--ts-teal-700); }
.ts2 a:hover { color: var(--ts-teal-800); }
.ts2 :focus-visible { outline: 3px solid var(--ts-teal-600); outline-offset: 2px; border-radius: 6px; }
.ts2 img { max-width: 100%; height: auto; }
.ts-wrap { width: 100%; max-width: var(--ts-max); margin: 0 auto; padding: 0 20px; }
.ts-section { padding: 88px 0; }
.ts-section--tight { padding: 56px 0; }
.ts-section--soft { background: var(--ts-bg); border-top: 1px solid var(--ts-line); border-bottom: 1px solid var(--ts-line); }
.ts-section--dark { background: var(--ts-ink); color: #E2E8F0; }
.ts-section--dark h2, .ts-section--dark h3 { color: #fff; }
.ts-eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ts-teal-700); margin-bottom: 12px; }
.ts2 h1, .ts2 h2, .ts2 h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; color: var(--ts-ink); }
.ts2 h1 { font-size: clamp(36px, 5.2vw, 60px); font-weight: 800; }
.ts2 h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
.ts2 h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.ts-lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ts-muted); max-width: 680px; }
.ts-center { text-align: center; }
.ts-center .ts-lead { margin-left: auto; margin-right: auto; }
.ts-head { margin-bottom: 48px; }
.ts-head p { margin: 14px 0 0; }

/* Buttons */
.ts-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 700; font-size: 16px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.ts-btn:hover { transform: translateY(-1px); }
.ts-btn--primary { background: var(--ts-teal-700); color: #fff !important; }
.ts-btn--primary:hover { background: var(--ts-teal-800); }
.ts-btn--ghost { background: #fff; color: var(--ts-ink) !important; border-color: var(--ts-line-2); }
.ts-btn--ghost:hover { border-color: var(--ts-ink); }
.ts-btn--amber { background: var(--ts-amber); color: var(--ts-ink) !important; }
.ts-btn--sm { min-height: 40px; padding: 0 16px; font-size: 15px; border-radius: 10px; }
.ts-btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ts-microcopy { font-size: 14px; color: var(--ts-faint); margin-top: 12px; }

/* Black Friday bar */
.ts-bf { background: var(--ts-ink); color: #fff; font-size: 15px; }
.ts-bf .ts-wrap { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: center; min-height: 44px; padding-top: 6px; padding-bottom: 6px; text-align: center; }
.ts-bf strong { color: #FCD34D; }
.ts-bf a { color: #fff; font-weight: 700; }

/* Nav */
.ts-nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--ts-line); }
.admin-bar .ts-nav { top: 32px; }
.ts-nav .ts-wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.ts-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--ts-ink) !important; text-decoration: none; letter-spacing: -.02em; }
.ts-logo-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--ts-teal-700); display: inline-flex; align-items: center; justify-content: center; }
.ts-logo img { max-height: 34px; width: auto; }
.ts-menu { display: flex; gap: 4px; margin-left: 8px; }
.ts-menu a, .ts-menu button { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 8px; color: var(--ts-ink-2); text-decoration: none; font-weight: 600; font-size: 15px; background: none; border: 0; font-family: inherit; cursor: pointer; }
.ts-menu a:hover, .ts-menu button:hover, .ts-menu a[aria-current="page"] { background: var(--ts-teal-50); color: var(--ts-teal-800); }
.ts-drop { position: relative; }
/* The panel starts right under the button and its padding-top is the visual gap, so the
   pointer never leaves the menu on the way down to an item. */
.ts-drop-panel { display: none; position: absolute; top: 100%; left: -12px; padding-top: 10px; min-width: 300px; z-index: 60; }
.ts-drop-panel::before { content: ""; position: absolute; top: 10px; right: 0; bottom: 0; left: 0; background: #fff; border: 1px solid var(--ts-line); border-radius: 14px; box-shadow: 0 18px 40px rgba(15, 23, 42, .14); z-index: -1; }
.ts-drop:focus-within .ts-drop-panel, .ts-drop.is-open .ts-drop-panel { display: block; }
@media (hover: hover) { .ts-drop:hover .ts-drop-panel { display: block; } }
.ts-drop > button { display: inline-flex; align-items: center; gap: 4px; }
.ts-drop-caret { font-size: 11px; transition: transform .15s; }
.ts-drop.is-open .ts-drop-caret { transform: rotate(180deg); }
@media (hover: hover) { .ts-drop:hover .ts-drop-caret { transform: rotate(180deg); } }
.ts-drop-title { display: block; padding: 14px 18px 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ts-faint); }
.ts-menu .ts-drop-panel a { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: auto; margin: 0 6px; padding: 10px 12px; border-radius: 10px; text-decoration: none; }
.ts-menu .ts-drop-panel a:last-child { margin-bottom: 6px; }
.ts-menu .ts-drop-panel a strong { color: var(--ts-ink); font-size: 15px; font-weight: 650; }
.ts-menu .ts-drop-panel a span { color: var(--ts-muted); font-size: 13px; font-weight: 400; }
.ts-menu .ts-drop-panel a:hover, .ts-menu .ts-drop-panel a:focus-visible, .ts-menu .ts-drop-panel a[aria-current] { background: var(--ts-teal-50); }
.ts-menu .ts-drop-panel a:hover strong { color: var(--ts-teal-800); }
.ts-mobile-label { display: block; padding: 12px 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ts-faint); }
.ts-mobile .ts-mobile-sub { padding-left: 14px; }
.ts-nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.ts-burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--ts-line-2); background: #fff; align-items: center; justify-content: center; cursor: pointer; }
.ts-mobile { display: none; border-top: 1px solid var(--ts-line); padding: 12px 20px 20px; }
.ts-mobile a { display: block; padding: 12px 4px; font-weight: 600; color: var(--ts-ink); text-decoration: none; border-bottom: 1px solid var(--ts-line); }
.ts-mobile.is-open { display: block; }
@media (max-width: 960px) {
  .ts-menu, .ts-nav-cta .ts-hide-sm { display: none; }
  .ts-burger { display: inline-flex; }
  .ts-nav-cta { margin-left: 0; }
}

/* Hero */
.ts-hero { padding: 72px 0 64px; background: radial-gradient(1200px 500px at 85% -10%, var(--ts-teal-50), transparent 60%), #fff; }
.ts-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.ts-hero h1 { margin-bottom: 20px; }
.ts-hero h1 em { font-style: normal; color: var(--ts-teal-700); }
.ts-hero .ts-lead { margin: 0 0 28px; }
.ts-checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; }
.ts-checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ts-ink-2); }
.ts-checks li::before { content: ""; flex: 0 0 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--ts-teal-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='5 13 10 18 19 7'/%3E%3C/svg%3E") center/12px no-repeat; }
@media (max-width: 960px) { .ts-hero-grid { grid-template-columns: 1fr; gap: 40px; } .ts-hero { padding-top: 48px; } }

/* The "proof" card: one sale, followed to each platform */
.ts-proof { background: #fff; border: 1px solid var(--ts-line); border-radius: 18px; box-shadow: var(--ts-shadow); overflow: hidden; }
.ts-proof-top { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--ts-line); background: var(--ts-bg); font-size: 13px; color: var(--ts-faint); }
.ts-proof-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ts-line-2); }
.ts-proof-body { padding: 22px; display: grid; gap: 16px; }
.ts-proof-sale { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ts-proof-sale strong { font-size: 28px; letter-spacing: -.02em; }
.ts-proof-sale span { color: var(--ts-faint); font-size: 14px; }
.ts-proof-row { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--ts-line); border-radius: 12px; font-size: 15px; }
.ts-proof-row b { font-weight: 700; }
.ts-tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.ts-tag--ok { background: var(--ts-green-50); color: var(--ts-green); }
.ts-tag--teal { background: var(--ts-teal-50); color: var(--ts-teal-800); }
.ts-tag--muted { background: #F1F5F9; color: var(--ts-muted); }
.ts-tag--pro { background: var(--ts-ink); color: #fff; }
.ts-tag--soon { background: var(--ts-amber-50); color: #92400E; }
.ts-proof-note { font-size: 13.5px; color: var(--ts-muted); background: var(--ts-teal-50); border-radius: 10px; padding: 10px 12px; }

/* Cards & grids */
.ts-grid { display: grid; gap: 20px; }
.ts-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ts-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ts-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .ts-grid--3, .ts-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ts-grid--2, .ts-grid--3, .ts-grid--4 { grid-template-columns: 1fr; } }
.ts-card { background: var(--ts-card); border: 1px solid var(--ts-line); border-radius: var(--ts-radius); padding: 26px; }
.ts-card h3 { margin-bottom: 8px; }
.ts-card p { margin: 0; color: var(--ts-muted); }
.ts-card--accent { border-color: var(--ts-teal-700); box-shadow: 0 0 0 1px var(--ts-teal-700) inset; }
.ts-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--ts-teal-50); color: var(--ts-teal-700); display: inline-flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; }
.ts-step-n { width: 36px; height: 36px; border-radius: 50%; background: var(--ts-teal-700); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 14px; }

/* Problem / comparison */
.ts-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .ts-split { grid-template-columns: 1fr; } }
.ts-flow { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.ts-flow li { padding: 10px 12px; border-radius: 10px; background: var(--ts-bg); font-size: 15px; color: var(--ts-ink-2); }
.ts-flow li.is-bad { background: #FEF2F2; color: var(--ts-red); font-weight: 700; }
.ts-flow li.is-good { background: var(--ts-green-50); color: var(--ts-green); font-weight: 700; }

/* Tables */
.ts-table-wrap { overflow-x: auto; border: 1px solid var(--ts-line); border-radius: var(--ts-radius); background: #fff; }
.ts-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.ts-table th, .ts-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--ts-line); vertical-align: top; }
.ts-table thead th { background: var(--ts-bg); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--ts-muted); }
.ts-table tbody tr:last-child td { border-bottom: 0; }
.ts-table .is-us { background: var(--ts-teal-50); }
.ts-yes { color: var(--ts-green); font-weight: 700; }
.ts-no { color: var(--ts-faint); }

/* Pricing */
.ts-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 920px; margin: 0 auto; }
@media (max-width: 760px) { .ts-plans { grid-template-columns: 1fr; } }
.ts-plan { position: relative; background: #fff; border: 1px solid var(--ts-line); border-radius: 18px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.ts-plan--pro { border: 2px solid var(--ts-teal-700); box-shadow: var(--ts-shadow); }
.ts-plan-badge { position: absolute; top: -13px; left: 28px; background: var(--ts-amber); color: var(--ts-ink); font-weight: 800; font-size: 12.5px; padding: 4px 12px; border-radius: 999px; letter-spacing: .02em; }
.ts-price { display: flex; align-items: baseline; gap: 10px; }
.ts-price strong { font-size: 52px; letter-spacing: -.03em; line-height: 1; }
.ts-price s { color: var(--ts-faint); font-size: 20px; }
.ts-price span { color: var(--ts-muted); }
.ts-plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ts-plan li { display: flex; gap: 10px; color: var(--ts-ink-2); font-size: 15.5px; }
.ts-plan li::before { content: "✓"; color: var(--ts-teal-700); font-weight: 800; }
.ts-plan li.is-soon::before { content: "•"; color: var(--ts-amber); }
.ts-plan .ts-btn { width: 100%; margin-top: auto; }

/* Testimonials */
.ts-quote { margin: 0; }
.ts-quote blockquote { margin: 0 0 14px; font-size: 17px; color: var(--ts-ink); font-weight: 600; }
.ts-quote figcaption { font-size: 14px; color: var(--ts-faint); }
.ts-stars { color: var(--ts-amber); letter-spacing: 2px; margin-bottom: 10px; }

/* FAQ */
.ts-faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.ts-faq details { background: #fff; border: 1px solid var(--ts-line); border-radius: 12px; padding: 0 20px; }
.ts-faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
.ts-faq summary::-webkit-details-marker { display: none; }
.ts-faq summary::after { content: "+"; color: var(--ts-teal-700); font-size: 22px; line-height: 1; }
.ts-faq details[open] summary::after { content: "–"; }
.ts-faq details p { margin: 0 0 18px; color: var(--ts-muted); }

/* CTA band */
.ts-cta { background: linear-gradient(135deg, var(--ts-teal-800), var(--ts-teal-700)); color: #fff; border-radius: 22px; padding: 56px 40px; text-align: center; }
.ts-cta h2 { color: #fff; }
.ts-cta p { color: #CCFBF1; max-width: 620px; margin: 14px auto 28px; font-size: 18px; }
.ts-cta .ts-btn-row { justify-content: center; }
.ts-cta .ts-btn--ghost { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .5); }

/* Logos strip */
.ts-logos { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.ts-logos span { padding: 8px 14px; border: 1px solid var(--ts-line); border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--ts-ink-2); background: #fff; }

/* Footer */
.ts-footer { background: var(--ts-ink); color: #94A3B8; padding: 64px 0 28px; font-size: 15px; }
.ts-footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
@media (max-width: 860px) { .ts-footer-grid { grid-template-columns: 1fr 1fr; } }
.ts-footer h4 { color: #fff; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 14px; }
.ts-footer a { display: block; color: #CBD5E1; text-decoration: none; padding: 4px 0; }
.ts-footer a:hover { color: #fff; }
.ts-footer .ts-logo { color: #fff !important; }
.ts-footer-bottom { border-top: 1px solid #1E293B; margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }

@media (prefers-reduced-motion: reduce) { .ts2 * { transition: none !important; } .ts-btn:hover { transform: none; } }

/* Small screens: the proof card's rows wrap instead of running off the card. */
@media (max-width: 520px) {
  .ts-proof-row { grid-template-columns: 1fr; gap: 6px; }
  .ts-proof-row .ts-tag { justify-self: start; }
  .ts-proof-sale { flex-wrap: wrap; }
  .ts-proof-body { padding: 16px; }
  .ts-section { padding: 64px 0; }
  .ts-cta { padding: 40px 22px; }
  .ts-plan { padding: 26px 22px; }
}

/* ---- 2.0 pages: screenshots, video, roadmap, changelog, compare ---- */
.ts2 .ts-shot { margin: 0; border: 1px solid var(--ts-line); border-radius: var(--ts-radius); background: var(--ts-card); box-shadow: var(--ts-shadow); overflow: hidden; }
.ts2 .ts-shot img { display: block; width: 100%; height: auto; }
.ts2 .ts-shot figcaption { padding: 12px 16px; font-size: 14px; color: var(--ts-muted); border-top: 1px solid var(--ts-line); background: var(--ts-bg); }
.ts2 .ts-shot--tall { max-height: 640px; overflow-y: auto; }
.ts2 .ts-showcase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 48px; align-items: center; }
.ts2 .ts-showcase + .ts-showcase { margin-top: 72px; }
.ts2 .ts-showcase--flip { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.ts2 .ts-showcase--flip > :first-child { order: 2; }
.ts2 .ts-showcase h3 { font-size: 26px; line-height: 1.25; margin: 0 0 12px; color: var(--ts-ink); }
.ts2 .ts-showcase p { color: var(--ts-muted); margin: 0 0 14px; }
.ts2 .ts-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--ts-radius); overflow: hidden; box-shadow: var(--ts-shadow); background: var(--ts-ink); }
.ts2 .ts-video-btn, .ts2 .ts-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ts2 .ts-video-btn { cursor: pointer; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 14px; color: #fff; }
.ts2 .ts-video-btn::before { content: ""; position: absolute; inset: 0; background: rgba(15, 23, 42, .45); }
.ts2 .ts-video-play { position: relative; width: 72px; height: 72px; border-radius: 50%; background: var(--ts-teal-700); display: flex; align-items: center; justify-content: center; font-size: 26px; padding-left: 5px; }
.ts2 .ts-video-title { position: relative; font-weight: 600; }
.ts2 .ts-road { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.ts2 .ts-road-col > h2 { font-size: 20px; margin: 0 0 4px; }
.ts2 .ts-road-col > p { margin: 0 0 16px; color: var(--ts-muted); font-size: 14px; }
.ts2 .ts-road-item { background: var(--ts-card); border: 1px solid var(--ts-line); border-radius: var(--ts-radius-sm); padding: 16px; margin-bottom: 12px; }
.ts2 .ts-road-item h3 { font-size: 16px; margin: 0 0 6px; display: flex; gap: 8px; justify-content: space-between; align-items: start; }
.ts2 .ts-road-item p { margin: 0; color: var(--ts-muted); font-size: 14px; }
.ts2 .ts-road-col--next .ts-road-item { border-left: 3px solid var(--ts-teal-700); }
.ts2 .ts-road-col--exploring .ts-road-item { background: var(--ts-bg); }
.ts2 .ts-log { max-width: 780px; margin: 0 auto; }
.ts2 .ts-log-entry { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 32px 0; border-top: 1px solid var(--ts-line); }
.ts2 .ts-log-entry h2 { font-size: 22px; margin: 0 0 12px; }
.ts2 .ts-log-meta strong { display: block; font-size: 20px; color: var(--ts-ink); }
.ts2 .ts-log-meta span { color: var(--ts-faint); font-size: 14px; }
.ts2 .ts-log-entry ul { margin: 0; padding-left: 20px; color: var(--ts-ink-2); }
.ts2 .ts-log-entry li { margin-bottom: 8px; }
.ts2 .ts-cmp td:nth-child(3) { font-weight: 600; color: var(--ts-ink); }
.ts2 .ts-cmp th:nth-child(3) { color: var(--ts-teal-700); }
.ts2 .ts-source { font-size: 13px; color: var(--ts-faint); margin-top: 14px; }
.ts2 .ts-source a { color: inherit; }
.ts2 .ts-not { background: var(--ts-amber-50); border: 1px solid #FDE68A; border-radius: var(--ts-radius); padding: 24px 28px; }
.ts2 .ts-not h2 { font-size: 22px; margin: 0 0 10px; }
.ts2 .ts-not ul { margin: 0; padding-left: 20px; color: var(--ts-ink-2); }
.ts2 .ts-diagram { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 14px; align-items: center; }
.ts2 .ts-diagram .ts-card { text-align: center; }
.ts2 .ts-arrow { font-size: 26px; color: var(--ts-teal-700); text-align: center; }
@media (max-width: 900px) {
  .ts2 .ts-showcase, .ts2 .ts-showcase--flip, .ts2 .ts-road { grid-template-columns: 1fr; gap: 28px; }
  .ts2 .ts-showcase--flip > :first-child { order: 0; }
  .ts2 .ts-diagram { grid-template-columns: 1fr; }
  .ts2 .ts-arrow { transform: rotate(90deg); }
}
@media (max-width: 520px) {
  .ts2 .ts-log-entry { grid-template-columns: 1fr; gap: 8px; }
}

/* ---- Older templates (blog, posts, docs, legal, 404) in the 2.0 look ----
   These templates keep their markup; this layer gives their shared classes the new
   colours and type so every page reads as one site. */
.ts2 .page-hero { background: linear-gradient(180deg, var(--ts-teal-50), #fff); color: var(--ts-ink); padding: 72px 0 48px; text-align: center; }
.ts2 .page-hero::before, .ts2 .page-hero::after { display: none; }
.ts2 .page-hero h1 { color: var(--ts-ink); font-size: clamp(32px, 4.2vw, 48px); line-height: 1.12; letter-spacing: -.02em; margin: 14px auto 12px; max-width: 900px; }
.ts2 .page-hero h1 .highlight, .ts2 .highlight { color: var(--ts-teal-700); background: none; -webkit-text-fill-color: currentColor; }
.ts2 .page-hero p { color: var(--ts-muted); font-size: 18px; max-width: 680px; margin: 0 auto; }
.ts2 .page-hero .ts-breadcrumbs, .ts2 .page-hero .ts-breadcrumbs a { color: var(--ts-faint); }
.ts2 .ts-breadcrumbs [aria-current="page"] { color: var(--ts-ink-2); font-weight: 600; }
.ts2 .section-badge, .ts2 .section-badge-light { display: inline-block; background: var(--ts-teal-50); color: var(--ts-teal-800); border: 1px solid var(--ts-teal-100); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 600; letter-spacing: .02em; text-transform: none; }
.ts2 .container { max-width: var(--ts-max); }
.ts2 .page-section { padding: 56px 0; background: #fff; }
.ts2 .btn-primary, .ts2 a.btn-primary { background: var(--ts-teal-700); color: #fff; border-radius: var(--ts-radius-sm); box-shadow: none; }
.ts2 .btn-primary:hover { background: var(--ts-teal-800); color: #fff; }
.ts2 .cta-box { background: var(--ts-teal-50); border: 1px solid var(--ts-teal-100); color: var(--ts-ink); border-radius: var(--ts-radius); }
.ts2 .cta-box h3, .ts2 .cta-box p { color: var(--ts-ink); }

/* Blog cards */
.ts2 .ts-blog-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ts2 .ts-blog-card { background: var(--ts-card); border: 1px solid var(--ts-line); border-radius: var(--ts-radius); overflow: hidden; box-shadow: var(--ts-shadow); display: flex; flex-direction: column; }
.ts2 .ts-blog-card__image img { width: 100%; height: 190px; object-fit: cover; display: block; }
.ts2 .ts-blog-card__placeholder { height: 190px; background: var(--ts-teal-50); display: flex; align-items: center; justify-content: center; color: var(--ts-teal-700); font-size: 34px; }
.ts2 .ts-blog-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.ts2 .ts-blog-card__cat { color: var(--ts-teal-700); font-size: 13px; font-weight: 600; text-decoration: none; }
.ts2 .ts-blog-card__title { font-size: 19px; line-height: 1.3; margin: 0; }
.ts2 .ts-blog-card__title a { color: var(--ts-ink); text-decoration: none; }
.ts2 .ts-blog-card__title a:hover { color: var(--ts-teal-700); }
.ts2 .ts-blog-card__excerpt { color: var(--ts-muted); font-size: 15px; margin: 0; }
.ts2 .ts-blog-card__meta { color: var(--ts-faint); font-size: 13px; display: flex; gap: 14px; margin-top: auto; }

/* Single post */
.ts2 .ts-post-meta { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; color: var(--ts-faint); font-size: 14px; }
.ts2 .ts-post-featured__img { border-radius: var(--ts-radius); width: 100%; height: auto; }
.ts2 .ts-single-content { max-width: 720px; margin: 0 auto; font-size: 18px; line-height: 1.75; color: var(--ts-ink-2); }
.ts2 .ts-single-content h2 { font-size: 28px; line-height: 1.25; margin: 2em 0 .6em; color: var(--ts-ink); }
.ts2 .ts-single-content h3 { font-size: 22px; margin: 1.6em 0 .5em; color: var(--ts-ink); }
.ts2 .ts-single-content a { color: var(--ts-teal-700); }
.ts2 .ts-single-content img { border-radius: var(--ts-radius-sm); max-width: 100%; height: auto; }
.ts2 .ts-single-content blockquote { border-left: 3px solid var(--ts-teal-700); margin: 1.5em 0; padding: .2em 0 .2em 1.2em; color: var(--ts-muted); }
.ts2 .ts-single-content table { width: 100%; border-collapse: collapse; font-size: 16px; }
.ts2 .ts-single-content th, .ts2 .ts-single-content td { border-bottom: 1px solid var(--ts-line); padding: 10px 8px; text-align: left; }
.ts2 .ts-post-tags .container, .ts2 .ts-post-nav .container { max-width: 720px; }
.ts2 .ts-post-tags a { display: inline-block; background: var(--ts-bg); border: 1px solid var(--ts-line); border-radius: 999px; padding: 3px 10px; margin: 0 6px 6px 0; font-size: 13px; color: var(--ts-ink-2); text-decoration: none; }
.ts2 .ts-post-nav .container { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; padding-bottom: 24px; border-top: 1px solid var(--ts-line); }
.ts2 .ts-post-nav__link { text-decoration: none; display: flex; flex-direction: column; gap: 4px; max-width: 48%; }
.ts2 .ts-post-nav__label { color: var(--ts-faint); font-size: 13px; }
.ts2 .ts-post-nav__title { color: var(--ts-ink); font-weight: 600; }
.ts2 .ts-post-nav__next { text-align: right; margin-left: auto; }

/* Docs */
.ts2 .ts-docs-search-hero input { background: #fff; color: var(--ts-ink); border: 1px solid var(--ts-line-2); }
.ts2 .ts-docs-card { background: var(--ts-card); border: 1px solid var(--ts-line); border-radius: var(--ts-radius); box-shadow: none; }
.ts2 .ts-docs-link, .ts2 .ts-docs-nav-group a { color: var(--ts-teal-700); }
.ts2 .ts-docs-callout-tip { background: var(--ts-teal-50); border-color: var(--ts-teal-100); }
.ts2 .ts-docs-callout-info { background: var(--ts-bg); border-color: var(--ts-line); }
.ts2 .ts-docs-event-tag { background: var(--ts-bg); color: var(--ts-ink-2); border: 1px solid var(--ts-line); }

@media (max-width: 900px) {
  .ts2 .ts-blog-cards { grid-template-columns: 1fr; }
  .ts2 .page-hero { padding: 48px 0 32px; }
}
.ts2 .ts-docs-search-hero input::placeholder { color: var(--ts-faint); opacity: 1; }
.ts2 .ts-docs-search-hero input { padding-left: 44px; }
.ts-prose p { margin: 0 0 16px; }
.ts-prose h2 { margin: 0 0 14px; }
/* Account: sign-in screen and the customer portal */
.ts-account-login { background: linear-gradient(180deg, var(--ts-teal-50), #fff 60%); padding: 64px 0 88px; }
.ts-account-grid { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 420px); gap: 48px; justify-content: center; align-items: start; }
.ts-account-form { padding: 36px; }
.ts-account-form h1 { font-size: 30px; margin: 8px 0 6px; }
.ts-account-form .ts-muted { color: var(--ts-muted); margin: 0 0 22px; }
.ts-account-form form p { margin: 0 0 16px; }
.ts-account-form label { display: block; font-weight: 600; font-size: 14px; color: var(--ts-ink-2); margin-bottom: 6px; }
.ts-account-form input[type="text"], .ts-account-form input[type="password"] { width: 100%; box-sizing: border-box; padding: 12px 14px; font-size: 16px; border: 1px solid var(--ts-line-2); border-radius: 10px; background: #fff; color: var(--ts-ink); }
.ts-account-form input[type="text"]:focus, .ts-account-form input[type="password"]:focus { outline: none; border-color: var(--ts-teal-700); box-shadow: 0 0 0 3px var(--ts-teal-100); }
.ts-account-form .login-remember label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.ts-account-form input[type="submit"] { width: 100%; padding: 13px 18px; font-size: 16px; font-weight: 700; color: #fff; background: var(--ts-teal-700); border: 0; border-radius: 10px; cursor: pointer; }
.ts-account-form input[type="submit"]:hover { background: var(--ts-teal-800); }
.ts-account-links { margin: 4px 0 0; font-size: 14px; }
.ts-account-note { margin: 18px 0 0; padding: 12px 14px; font-size: 14px; color: var(--ts-ink-2); background: var(--ts-bg); border: 1px solid var(--ts-line); border-radius: 10px; }
.ts-account-side { padding-top: 12px; }
.ts-account-side h2 { font-size: 22px; margin: 0 0 16px; }
.ts-account-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
.ts-account-list li { display: grid; gap: 2px; padding: 14px 16px 14px 46px; position: relative; background: #fff; border: 1px solid var(--ts-line); border-radius: 12px; }
.ts-account-list li::before { content: "✓"; position: absolute; left: 14px; top: 14px; width: 22px; height: 22px; border-radius: 6px; background: var(--ts-teal-700); color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.ts-account-list strong { color: var(--ts-ink); }
.ts-account-list span { color: var(--ts-muted); font-size: 14px; }
.ts-account-help p { margin: 0 0 10px; font-size: 14.5px; color: var(--ts-ink-2); }
.ts-account-head { background: linear-gradient(180deg, var(--ts-teal-50), #fff); padding: 48px 0 24px; border-bottom: 1px solid var(--ts-line); }
.ts-account-head h1 { font-size: clamp(30px, 3.6vw, 42px); margin: 6px 0 6px; }
.ts-account-head p { color: var(--ts-muted); margin: 0 0 18px; }
.ts-account-quick { display: flex; flex-wrap: wrap; gap: 8px; }
.ts-account-quick a { padding: 8px 14px; border: 1px solid var(--ts-line); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; color: var(--ts-ink-2); text-decoration: none; }
.ts-account-quick a:hover { border-color: var(--ts-teal-700); color: var(--ts-teal-800); }
.ts-account-portal { background: #fff; border: 1px solid var(--ts-line); border-radius: 16px; padding: 24px; box-shadow: var(--ts-shadow); }
.ts-account-portal a { color: var(--ts-teal-700); }
@media (max-width: 860px) {
  .ts-account-grid { grid-template-columns: 1fr; gap: 28px; }
  .ts-account-form { padding: 24px; }
  .ts-account-portal { padding: 12px; }
}

/* About */
.ts-about-hero { padding-bottom: 48px; }
.ts-about-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
.ts-about-hero h1 { font-size: clamp(34px, 4.2vw, 50px); margin: 10px 0 16px; }
.ts-about-hero .ts-lead { margin: 0 0 24px; }
.ts2 .ts-about-facts { padding: 0; border-top: 1px solid var(--ts-line); border-bottom: 1px solid var(--ts-line); background: #fff; }
.ts-about-facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ts-about-facts li { padding: 26px 20px; display: grid; gap: 4px; border-left: 1px solid var(--ts-line); }
.ts-about-facts li:first-child { border-left: 0; }
.ts-about-facts strong { font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: var(--ts-teal-800); }
.ts-about-facts span { font-size: 14px; color: var(--ts-muted); }
.ts-about-story { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.ts-about-story h2 { font-size: clamp(26px, 3vw, 34px); margin: 8px 0 16px; }
.ts-about-causes { border-top: 4px solid var(--ts-teal-700); }
.ts-about-causes h3 { margin-top: 0; }
.ts-about-causes ul { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 8px; color: var(--ts-ink-2); }
.ts-about-rules .ts-card { position: relative; padding-left: 76px; }
.ts-about-rule-n { position: absolute; left: 24px; top: 24px; width: 36px; height: 36px; border-radius: 10px; background: var(--ts-teal-700); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.ts-about-rules h3 { margin-top: 2px; }
.ts-about-timeline { list-style: none; margin: 0 auto 24px; padding: 0; max-width: 760px; display: grid; gap: 0; }
.ts-about-timeline li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--ts-line); }
.ts-about-timeline time { color: var(--ts-faint); font-size: 14px; font-weight: 600; padding-top: 2px; }
.ts-about-timeline strong { display: block; color: var(--ts-ink); }
.ts-about-timeline span { color: var(--ts-muted); }
@media (max-width: 900px) {
  .ts-about-hero__grid, .ts-about-story { grid-template-columns: 1fr; gap: 32px; }
  .ts-about-facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ts-about-facts li:nth-child(3) { border-left: 0; }
  .ts-about-facts li { border-top: 1px solid var(--ts-line); }
  .ts-about-timeline li { grid-template-columns: 1fr; gap: 4px; }
}

/* ── Product page (FluentCart): picture beside a sticky buy box, description below ── */
.ts2 .ts-product-section { padding-top: 40px; }
.ts2 .ts-single-content.ts-product { max-width: 1100px; font-size: 17px; }
.ts2 .ts-product .fct-single-product-page { margin-bottom: 56px; }
.ts2 .ts-product .fct-single-product-page-row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: start; }
.ts2 .ts-product .fct-product-gallery-wrapper { width: auto; max-width: none; border: 1px solid var(--ts-line); border-radius: var(--ts-radius); overflow: hidden; background: var(--ts-card); box-shadow: var(--ts-shadow); }
.ts2 .ts-product .fct-product-gallery-wrapper img { display: block; width: 100%; height: auto; border-radius: 0; }
/* FluentCart draws the main image in a 1:1 box with object-fit: cover, which cuts a wide picture down to its middle. Show it whole. */
.ts2 .ts-product .fct-product-gallery-thumb { aspect-ratio: auto; height: auto; }
.ts2 .ts-product .fct-product-gallery-thumb img { height: auto; aspect-ratio: auto; object-fit: contain; }
.ts2 .ts-product .fct-product-summary { position: sticky; top: 96px; width: auto; max-width: none; padding: 28px; border: 1px solid var(--ts-line); border-radius: var(--ts-radius); background: var(--ts-card); box-shadow: var(--ts-shadow); }
.ts2 .ts-product .fct-product-title h1 { font-size: 34px; line-height: 1.15; margin: 0 0 10px; color: var(--ts-ink); }
.ts2 .ts-product .fct-product-excerpt p { font-size: 16px; line-height: 1.6; color: var(--ts-muted); margin: 0 0 18px; }
.ts2 .ts-product .fct-product-prices { display: none; }
.ts2 .ts-product .fct-product-item-price { font-size: 40px; font-weight: 800; color: var(--ts-ink); line-height: 1.1; margin: 4px 0 0; }
.ts2 .ts-product .fct-compare-price { margin-right: 10px; }
.ts2 .ts-product .fct-compare-price del { font-size: 20px; font-weight: 600; color: var(--ts-faint); vertical-align: middle; }
.ts2 .ts-product .fct-product-variants { margin: 16px 0; }
.ts2 .ts-product .fct-product-variant-item { border: 2px solid var(--ts-teal-700); border-radius: var(--ts-radius-sm); background: var(--ts-teal-50); padding: 10px 14px; }
.ts2 .ts-product .fct-product-variant-image { display: none; }
.ts2 .ts-product .fct-product-variant-title { font-weight: 700; color: var(--ts-teal-900); }
/* One licence per order: the quantity box and the cart only add steps. */
.ts2 .ts-product .fct-product-quantity-container,
.ts2 .ts-product .fluent-cart-add-to-cart-button { display: none; }
.ts2 .ts-product .fct-product-buttons-wrap { display: block; margin-top: 18px; }
.ts2 .ts-product .fluent-cart-direct-checkout-button { display: block; width: 100%; padding: 16px 20px; border-radius: var(--ts-radius-sm); background: var(--ts-teal-700); color: #fff; font-size: 18px; font-weight: 700; text-align: center; text-decoration: none; border: 0; }
.ts2 .ts-product .fluent-cart-direct-checkout-button:hover,
.ts2 .ts-product .fluent-cart-direct-checkout-button:focus-visible { background: var(--ts-teal-800); color: #fff; }
.ts2 .ts-product .ts-pro-desc { max-width: 820px; margin: 0 auto; }
.ts2 .ts-product .fct-product-reviews-section { max-width: 820px; margin: 48px auto 0; }
@media (max-width: 900px) {
  .ts2 .ts-product .fct-single-product-page-row { grid-template-columns: 1fr; gap: 24px; }
  .ts2 .ts-product .fct-product-summary { position: static; }
  .ts2 .ts-product .fct-product-gallery-wrapper { order: 2; }
}

/* ── Checkout and receipt (FluentCart) ── */
.ts2 .ts-checkout-head { padding: 40px 0 8px; }
.ts2 .ts-checkout-head h1 { font-size: 34px; margin: 0 0 14px; color: var(--ts-ink); }
.ts2 .ts-checkout-sub { max-width: 720px; color: var(--ts-muted); margin: 0; }
.ts2 .ts-checkout-trust { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; margin: 0; padding: 0; color: var(--ts-ink-2); font-size: 15px; }
.ts2 .ts-checkout-trust li { display: inline-flex; align-items: center; gap: 8px; }
.ts2 .ts-checkout-trust i { color: var(--ts-teal-700); font-size: 18px; }
.ts2 .ts-checkout-body { padding: 24px 0 72px; }
.ts2 .ts-checkout-body .fluent-cart-checkout-page { max-width: none; }
.ts2 .ts-checkout-foot { margin: 28px 0 0; font-size: 14px; color: var(--ts-muted); }
.ts2 .ts-checkout-foot a { color: var(--ts-teal-700); }
/* The Paddle button is the only checkout button: make it look like one, in the brand colour.
   FluentCart writes its blue styles inline on the element, so these have to be !important. */
.ts2 .ts-checkout #paddle-pay-button { display: block !important; width: 100% !important; min-height: 54px; padding: 14px 20px !important; border: 0 !important; border-radius: var(--ts-radius-sm) !important; background: var(--ts-teal-700) !important; color: #fff !important; font-size: 18px !important; font-weight: 700 !important; box-shadow: 0 6px 16px rgba(15, 118, 110, .22); }
.ts2 .ts-checkout #paddle-pay-button:hover,
.ts2 .ts-checkout #paddle-pay-button:focus-visible { background: var(--ts-teal-800) !important; }
.ts2 .ts-checkout #paddle-pay-button[disabled] { opacity: .7; cursor: progress !important; }
/* Prices are before tax; Paddle adds VAT or sales tax for the buyer's country on the next step. */
.ts2 .ts-checkout .fct_summary_items_total { flex-wrap: wrap; }
.ts2 .ts-checkout .fct_summary_items_total::after { content: "Plus VAT or sales tax where it applies, added by Paddle on the next step for your country."; flex-basis: 100%; margin-top: 6px; font-size: 13px; font-weight: 400; color: var(--ts-muted); }
.ts2 .ts-product .fct-product-item-price::after { content: "+ VAT or sales tax where it applies"; display: block; margin-top: 6px; font-size: 14px; font-weight: 500; color: var(--ts-muted); }
/* The order summary thumbnail is a wide picture in a square box. */
.ts2 .ts-checkout .fct_summary_items_list img,
.ts2 .ts-checkout [class*="line_item"] img { object-fit: contain; background: var(--ts-teal-50); }
