/* =============================================
   TimersTech — Dark Design System
   Timing & sport-services software
   Fonts: Archivo / Archivo Expanded / JetBrains Mono
   ============================================= */

/* ---------- Design tokens ---------- */
:root {
    /* new design tokens */
    --tt-bg: #0a0c0f;
    --tt-bg2: #0c0f14;
    --tt-panel: #10141a;
    --tt-panel-lr: #13100e;
    --tt-line: #181c22;
    --tt-line2: #1f2530;
    --tt-line-lr: #2a211b;
    --tt-lime: #ccff00;
    --tt-lime-dark: #b3e600;
    --tt-orange: #ff4d17;
    --tt-orange2: #ff6a3c;
    --tt-white: #fff;
    --tt-muted: #a8aeb6;
    --tt-muted2: #9aa0a8;
    --tt-text: #cfd3d8;
    --tt-dim: #6b7280;
    --tt-dim2: #5d636b;
    --tt-light-bg: #f4f3ee;
    --tt-light-ink: #16181d;
    --tt-light-muted: #56534b;
    --tt-sans: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --tt-exp: 'Archivo Expanded', 'Archivo', sans-serif;
    --tt-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
    --tt-wrap: 1200px;

    /* legacy variables re-pointed to the dark theme so existing
       (secondary) pages re-theme automatically */
    --color-primary: #ccff00;
    --color-primary-dark: #b3e600;
    --color-primary-light: #d8ff4d;
    --color-primary-bg: rgba(204, 255, 0, 0.1);
    --color-secondary: #ffffff;
    --color-accent: #ff4d17;
    --color-success: #46e08a;
    --color-success-bg: rgba(70, 224, 138, 0.12);
    --color-danger: #ff7a7a;
    --color-danger-bg: rgba(255, 122, 122, 0.12);
    --color-warning: #ffd23f;
    --color-warning-bg: rgba(255, 210, 63, 0.12);
    --color-info: #36c6f4;
    --color-info-bg: rgba(54, 198, 244, 0.12);
    --color-text: #cfd3d8;
    --color-text-secondary: #9aa0a8;
    --color-text-muted: #6b7280;
    --color-bg: #0a0c0f;
    --color-bg-alt: #0c0f14;
    --color-bg-dark: #08090c;
    --color-border: #1f2530;
    --color-border-light: #181c22;
    --font-sans: var(--tt-sans);
    --font-mono: var(--tt-mono);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 18px 44px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 28px 70px rgba(0, 0, 0, 0.55);
    --radius-sm: 6px;
    --radius-md: 9px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --max-width: 1200px;
    --header-height: 68px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--tt-sans);
    font-size: 16px;
    line-height: 1.5;
    color: var(--tt-white);
    background: var(--tt-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, video, svg { max-width: 100%; }
img, video { height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; color: var(--tt-white); }

/* ---------- Utilities ---------- */
.tt-wrap, .container { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }
.tt-eyebrow { font-family: var(--tt-mono); font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; }
.text-center { text-align: center; }
.text-muted { color: var(--tt-muted2); }
.text-small { font-size: 0.875rem; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; }
.hidden { display: none !important; }

/* ---------- Buttons ---------- */
.tt-btn {
    font-family: var(--tt-sans);
    font-weight: 700;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease;
    white-space: nowrap;
}
.tt-btn:hover { transform: translateY(-1px); }
.tt-btn--lime { background: var(--tt-lime); color: var(--tt-bg); }
.tt-btn--lime:hover { background: var(--tt-lime-dark); color: var(--tt-bg); }
.tt-btn--orange { background: var(--tt-orange); color: #fff; }
.tt-btn--orange:hover { filter: brightness(1.08); color: #fff; }
.tt-btn--ghost { border: 1px solid #2a2f37; color: #fff; font-weight: 600; background: transparent; }
.tt-btn--ghost:hover { border-color: #3a414c; color: #fff; }

/* ---------- Header ---------- */
.tt-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 12, 15, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--tt-line);
}
.tt-header-inner {
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.tt-logo { display: flex; align-items: center; gap: 11px; }
.tt-logo-mark {
    width: 30px; height: 30px; border-radius: 6px;
    background: var(--tt-lime);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.tt-logo-mark i {
    width: 13px; height: 13px;
    border: 2.5px solid var(--tt-bg);
    border-radius: 50%;
    position: relative;
    display: block;
}
.tt-logo-mark i::after {
    content: ""; position: absolute;
    width: 2px; height: 5px; background: var(--tt-bg);
    left: 3.5px; top: 1px;
}
.tt-logo-word { font-family: var(--tt-exp); font-weight: 800; font-size: 18px; letter-spacing: -0.3px; color: #fff; }
.tt-logo-word span { color: var(--tt-dim); }
.tt-nav { display: flex; align-items: center; gap: 30px; font-family: var(--tt-mono); font-size: 12px; letter-spacing: 1.5px; }
.tt-nav a { color: var(--tt-muted2); }
.tt-nav a:hover { color: #fff; }
.tt-nav a.is-active { color: #fff; }
.tt-nav a.is-active.is-lr { color: var(--tt-orange2); }
.tt-header-actions { display: flex; align-items: center; gap: 12px; }
.tt-header .tt-btn,
.tt-header-actions .tt-btn {
    font-family: var(--tt-mono); font-size: 12px; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase;
    padding: 10px 18px; border-radius: 6px;
}
.tt-header-actions .tt-btn--ghost { font-weight: 400; padding: 9px 16px; color: var(--tt-text); }

/* mobile toggle */
.tt-mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.tt-mobile-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: all 0.3s; }

/* ---------- Hero ---------- */
.tt-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--tt-line); }
.tt-hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 159px, #11151b 159px 160px); opacity: 0.55; }
.tt-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 25%, rgba(204, 255, 0, 0.10) 0%, transparent 55%); }
.tt-hero.is-lr::after { background: radial-gradient(ellipse at 80% 25%, rgba(255, 77, 23, 0.12) 0%, transparent 55%); }
.tt-hero-grid { position: relative; padding: 74px 32px 80px; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.tt-hero-grid.is-even { grid-template-columns: 1fr 1fr; padding: 64px 32px 72px; }
.tt-flag { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; }
.tt-flag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--tt-lime); box-shadow: 0 0 10px var(--tt-lime); }
.tt-flag.is-lr .dot { background: var(--tt-orange); box-shadow: 0 0 10px var(--tt-orange); }
.tt-flag .tt-eyebrow { color: var(--tt-lime); }
.tt-flag.is-lr .tt-eyebrow { color: var(--tt-orange2); }
.tt-h1 { font-family: var(--tt-exp); font-weight: 800; font-size: 66px; line-height: 0.97; letter-spacing: -1.8px; margin-bottom: 24px; color: #fff; }
.tt-h1--sm { font-size: 58px; line-height: 0.97; letter-spacing: -1.5px; margin-bottom: 18px; }
.tt-lede { font-size: 18px; line-height: 1.62; color: var(--tt-muted); max-width: 480px; margin-bottom: 34px; }
.tt-lede strong { color: #fff; font-weight: 600; }
.tt-hero-cta { display: flex; align-items: center; gap: 14px; margin-bottom: 40px; flex-wrap: wrap; }
.tt-hero-cta .tt-btn { font-size: 15px; padding: 15px 28px; }
.tt-hero-cta .tt-btn--ghost { padding: 15px 24px; }
.tt-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.tt-stat-k { font-family: var(--tt-mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--tt-dim2); }
.tt-stat-v { font-family: var(--tt-mono); font-size: 13px; letter-spacing: 1px; color: var(--tt-text); margin-top: 7px; }
.tt-hero-meta { display: flex; align-items: center; gap: 20px; font-family: var(--tt-mono); font-size: 12px; color: var(--tt-dim); flex-wrap: wrap; }
.tt-hero-meta .sep { color: #2a2f37; }
.tt-hero-meta strong { font-size: 15px; }

/* hero pill badges (product banners) */
.tt-pill { font-family: var(--tt-mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; padding: 5px 11px; border-radius: 5px; font-weight: 700; }
.tt-pill--lime { color: var(--tt-bg); background: var(--tt-lime); }
.tt-pill--orange { color: #fff; background: var(--tt-orange); }
.tt-pill--ghost { color: var(--tt-muted2); border: 1px solid #2a2f37; font-weight: 400; letter-spacing: 1px; }

/* ---------- Hero showcase (animated / static board) ---------- */
.tt-show-cap { font-family: var(--tt-mono); font-size: 10px; letter-spacing: 2px; color: var(--tt-dim2); margin-bottom: 10px; }
.tt-show-frame { position: relative; }
.tt-show-tabs { display: flex; justify-content: center; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.tt-show-tab { font-family: var(--tt-mono); font-size: 9.5px; letter-spacing: 1.5px; padding: 6px 12px; border-radius: 20px; border: 1px solid #2a2f37; color: var(--tt-dim2); background: transparent; transition: all 0.3s; }
.tt-show-tab.is-on { border-color: var(--tt-lime); color: var(--tt-lime); background: rgba(204, 255, 0, 0.08); }

/* static results board (no-JS fallback / product banner mock) */
.tt-mock { background: var(--tt-bg); border: 1px solid #232932; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-xl); }
.tt-mock-top { display: flex; align-items: center; justify-content: space-between; padding: 13px 18px; border-bottom: 1px solid #232932; }
.tt-mock-top .ev { font-family: var(--tt-mono); font-size: 11px; letter-spacing: 1px; color: var(--tt-text); }
.tt-live { display: flex; align-items: center; gap: 6px; font-family: var(--tt-mono); font-size: 10px; font-weight: 700; letter-spacing: 1.5px; color: #ff4d4d; }
.tt-live .dot { width: 6px; height: 6px; border-radius: 50%; background: #ff4d4d; animation: ttPulse 1.4s infinite; }
.tt-mock-rows { padding: 4px 0; }
.tt-mrow { display: grid; grid-template-columns: 36px 1fr 92px; gap: 8px; padding: 12px 18px; align-items: center; }
.tt-mrow .rk { font-family: var(--tt-exp); font-weight: 700; font-size: 17px; color: var(--tt-dim); }
.tt-mrow .nm { font-size: 14px; color: var(--tt-text); }
.tt-mrow .tv { font-family: var(--tt-mono); font-size: 14px; color: var(--tt-text); text-align: right; }
.tt-mrow.is-win { background: rgba(204, 255, 0, 0.08); border-left: 3px solid var(--tt-lime); }
.tt-mrow.is-win .rk { font-weight: 800; font-size: 19px; color: var(--tt-lime); }
.tt-mrow.is-win .nm { font-weight: 600; color: #fff; }
.tt-mrow.is-win .tv { font-weight: 700; color: var(--tt-lime); }
.tt-mock-foot { display: flex; align-items: center; justify-content: space-between; padding: 11px 18px; border-top: 1px solid #232932; background: var(--tt-bg2); }
.tt-mock-foot span { font-family: var(--tt-mono); font-size: 10px; letter-spacing: 1px; color: var(--tt-dim2); }

/* live-replay console mock */
.tt-mock--lr { background: #000; border: 1px solid var(--tt-line-lr); }
.tt-mock--lr .tt-mock-top { background: #100c0a; border-bottom-color: var(--tt-line-lr); }
.tt-mock--lr .tt-live { color: #ff4d4d; }
.tt-cams { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--tt-line-lr); }
.tt-cam { position: relative; height: 104px; }
.tt-cam span { position: absolute; top: 8px; left: 10px; font-family: var(--tt-mono); font-size: 10px; font-weight: 700; letter-spacing: 1px; color: var(--tt-muted2); display: flex; align-items: center; gap: 5px; }
.tt-cam.is-live span { color: var(--tt-orange2); }
.tt-cam.is-live span .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--tt-orange); }
.tt-cam:nth-child(1) { background: linear-gradient(120deg, #2a1c14, #0c0f14); }
.tt-cam:nth-child(2) { background: linear-gradient(120deg, #1a1f28, #0c0f14); }
.tt-cam:nth-child(3) { background: linear-gradient(120deg, #161b22, #0c0f14); }
.tt-cam:nth-child(4) { background: linear-gradient(120deg, #1a1410, #0c0f14); }
.tt-scrub { padding: 14px 18px; background: var(--tt-bg2); }
.tt-scrub-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; }
.tt-scrub-top .tc { font-family: var(--tt-mono); font-size: 13px; color: #fff; }
.tt-scrub-top .sm { font-family: var(--tt-mono); font-size: 10px; color: var(--tt-orange2); background: rgba(255, 77, 23, 0.14); padding: 3px 9px; border-radius: 4px; }
.tt-scrub-bar { height: 6px; background: #1b1714; border-radius: 3px; position: relative; }
.tt-scrub-bar .fill { width: 48%; height: 100%; background: var(--tt-orange); border-radius: 3px; }
.tt-scrub-bar .knob { position: absolute; left: 48%; top: -3px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transform: translateX(-50%); box-shadow: 0 0 0 3px rgba(255, 77, 23, 0.3); }

/* ---------- Trust strip ---------- */
.tt-trust { background: var(--tt-bg2); border-bottom: 1px solid var(--tt-line); }
.tt-trust-grid { padding: 26px 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tt-trust--row .tt-trust-grid { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; padding: 24px 32px; }
.tt-trust-item { display: flex; align-items: center; gap: 12px; }
.tt-trust-item svg { flex: none; }
.tt-trust-item span { font-size: 13px; color: var(--tt-text); line-height: 1.3; }
.tt-trust-item strong { color: #fff; font-weight: 600; }
.tt-trust-item small { color: var(--tt-dim); font-size: 13px; }

/* ---------- Section heads ---------- */
.tt-section { max-width: var(--tt-wrap); margin: 0 auto; padding: 84px 32px; }
.tt-sec-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 46px; flex-wrap: wrap; gap: 16px; }
.tt-sec-head .tt-eyebrow { color: var(--tt-dim); margin-bottom: 12px; }
.tt-h2 { font-family: var(--tt-exp); font-weight: 800; font-size: 40px; letter-spacing: -1px; color: #fff; }
.tt-h2--sm { font-size: 34px; letter-spacing: -0.8px; }
.tt-lead-center { text-align: center; max-width: 600px; margin: 0 auto 50px; }
.tt-lead-center .tt-eyebrow { margin-bottom: 14px; color: var(--tt-lime); }
.tt-lead-center.is-lr .tt-eyebrow { color: var(--tt-orange2); }
.tt-lead-center p { font-size: 16px; color: var(--tt-muted); margin-top: 12px; }
.tt-lead-center p strong { color: #fff; font-weight: 600; }

/* ---------- Home products ---------- */
.tt-products { max-width: var(--tt-wrap); margin: 0 auto; padding: 88px 32px 40px; }
.tt-product { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; border-radius: 18px; padding: 48px; margin-bottom: 32px; }
.tt-product--rv { background: var(--tt-panel); border: 1px solid var(--tt-line2); }
.tt-product--lr { background: var(--tt-panel-lr); border: 1px solid var(--tt-line-lr); margin-bottom: 0; }
.tt-badge { font-family: var(--tt-exp); font-weight: 800; font-size: 15px; padding: 4px 10px; border-radius: 5px; }
.tt-badge--lime { color: var(--tt-bg); background: var(--tt-lime); }
.tt-badge--orange { color: #fff; background: var(--tt-orange); }
.tt-product-tag { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.tt-product-tag .tt-eyebrow { letter-spacing: 2px; }
.tt-product h3 { font-family: var(--tt-exp); font-weight: 800; font-size: 38px; letter-spacing: -0.8px; margin-bottom: 12px; }
.tt-product > div > p { font-size: 16px; line-height: 1.62; color: var(--tt-muted); margin-bottom: 24px; }
.tt-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin-bottom: 28px; }
.tt-feats div { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--tt-text); }
.tt-feats .mk { color: var(--tt-lime); }
.tt-product--lr .tt-feats .mk { color: var(--tt-orange2); }
.tt-buyrow { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.tt-buyrow .tt-btn { font-size: 15px; padding: 14px 26px; }
.tt-price { font-family: var(--tt-mono); font-size: 13px; color: var(--tt-dim); }
.tt-price b { color: #fff; font-size: 18px; }

/* ---------- Why (light) ---------- */
.tt-why { background: var(--tt-light-bg); color: var(--tt-light-ink); margin-top: 48px; }
.tt-why-inner { max-width: var(--tt-wrap); margin: 0 auto; padding: 84px 32px; }
.tt-why-lead { max-width: 640px; margin-bottom: 54px; }
.tt-why-lead .tt-eyebrow { color: var(--tt-orange); margin-bottom: 14px; }
.tt-why-lead h2 { font-family: var(--tt-exp); font-weight: 800; font-size: 40px; letter-spacing: -1px; color: var(--tt-light-ink); margin-bottom: 14px; line-height: 1.02; }
.tt-why-lead p { font-size: 17px; line-height: 1.6; color: var(--tt-light-muted); }
.tt-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.tt-why-grid svg { margin-bottom: 16px; }
.tt-why-grid h4 { font-family: var(--tt-exp); font-weight: 700; font-size: 18px; color: var(--tt-light-ink); margin-bottom: 8px; }
.tt-why-grid p { font-size: 14px; line-height: 1.55; color: var(--tt-light-muted); }

/* ---------- Quick-start / generic CTA ---------- */
.tt-cta { position: relative; overflow: hidden; border-top: 1px solid var(--tt-line); }
.tt-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(204, 255, 0, 0.10), transparent 60%); }
.tt-cta.is-lr::before { background: radial-gradient(ellipse at 50% 0%, rgba(255, 77, 23, 0.10), transparent 60%); }
.tt-cta-inner { position: relative; max-width: 820px; margin: 0 auto; padding: 90px 32px; text-align: center; }
.tt-cta-inner.is-narrow { max-width: 760px; padding: 84px 32px; }
.tt-cta-inner .tt-eyebrow { color: var(--tt-lime); margin-bottom: 18px; }
.tt-cta-inner h2 { font-family: var(--tt-exp); font-weight: 800; font-size: 46px; letter-spacing: -1.2px; margin-bottom: 18px; line-height: 1; }
.tt-cta-inner.is-narrow h2 { font-size: 42px; }
.tt-cta-inner p { font-size: 18px; line-height: 1.6; color: var(--tt-muted); max-width: 560px; margin: 0 auto 30px; }
.tt-chips { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 38px; }
.tt-chip { display: flex; align-items: center; gap: 9px; font-family: var(--tt-mono); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--tt-text); border: 1px solid #2a2f37; border-radius: 20px; padding: 8px 14px; }
.tt-chip .mk { color: var(--tt-lime); }
.tt-cta-btns { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.tt-cta-btns .tt-btn { font-size: 16px; padding: 16px 32px; }
.tt-cta-btns .tt-btn--ghost { padding: 16px 28px; }

/* ---------- Product page: features ---------- */
.tt-feature-head { max-width: 600px; margin-bottom: 50px; }
.tt-feature-head .tt-eyebrow { color: var(--tt-lime); margin-bottom: 14px; }
.tt-feature-head.is-lr .tt-eyebrow { color: var(--tt-orange2); }
.tt-feature-head h2 { font-family: var(--tt-exp); font-weight: 800; font-size: 38px; letter-spacing: -1px; line-height: 1.04; }
.tt-feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tt-feature-card { background: var(--tt-panel); border: 1px solid var(--tt-line2); border-radius: 13px; padding: 26px; }
.is-lr .tt-feature-card, .tt-feature-card.is-lr { background: var(--tt-panel-lr); border-color: var(--tt-line-lr); }
.tt-feature-ic { width: 44px; height: 44px; border-radius: 10px; background: rgba(204, 255, 0, 0.1); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.is-lr .tt-feature-ic, .tt-feature-card.is-lr .tt-feature-ic { background: rgba(255, 77, 23, 0.12); }
.tt-feature-card h4 { font-family: var(--tt-exp); font-weight: 700; font-size: 16px; color: #fff; margin-bottom: 8px; }
.tt-feature-card p { font-size: 13.5px; line-height: 1.55; color: var(--tt-muted2); }

/* ---------- Product page: gallery ---------- */
.tt-gallery { background: var(--tt-bg2); border-top: 1px solid var(--tt-line); border-bottom: 1px solid var(--tt-line); }
.tt-gallery-inner { max-width: var(--tt-wrap); margin: 0 auto; padding: 80px 32px; }
.tt-gallery-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 36px; flex-wrap: wrap; gap: 12px; }
.tt-gallery-head .tt-eyebrow { color: var(--tt-lime); margin-bottom: 12px; }
.tt-gallery-head.is-lr .tt-eyebrow { color: var(--tt-orange2); }
.tt-gallery-head .note { font-family: var(--tt-mono); font-size: 11px; color: var(--tt-dim2); letter-spacing: 1px; }
.tt-gallery-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; }
.tt-gallery-main { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid #232932; height: 430px; background: var(--tt-panel); }
.is-lr .tt-gallery-main { border-color: var(--tt-line-lr); background: var(--tt-panel-lr); }
.tt-gallery-main .overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.tt-play { width: 68px; height: 68px; border-radius: 50%; background: rgba(204, 255, 0, 0.92); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4); }
.is-lr .tt-play { background: rgba(255, 77, 23, 0.95); }
.tt-play-label { font-family: var(--tt-mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #fff; background: rgba(10, 12, 15, 0.6); padding: 5px 12px; border-radius: 20px; }
.tt-gallery-side { display: grid; grid-template-rows: 1fr 1fr; gap: 20px; }
.tt-gallery-shot { border-radius: 14px; height: 205px; background: var(--tt-panel); border: 1px solid #232932; display: flex; align-items: center; justify-content: center; font-family: var(--tt-mono); font-size: 11px; letter-spacing: 1px; color: var(--tt-dim2); }
.is-lr .tt-gallery-shot { background: var(--tt-panel-lr); border-color: var(--tt-line-lr); }
.tt-builtfor { margin-top: 48px; }
.tt-builtfor .lbl { font-family: var(--tt-mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--tt-dim); margin-bottom: 16px; }
.tt-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tt-tag { font-size: 13px; color: var(--tt-text); background: var(--tt-panel); border: 1px solid #232932; padding: 8px 16px; border-radius: 20px; }
.is-lr .tt-tag { background: var(--tt-panel-lr); border-color: var(--tt-line-lr); }

/* ---------- Pricing ---------- */
.tt-pricing { max-width: var(--tt-wrap); margin: 0 auto; padding: 84px 32px; }
.tt-price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.tt-price-grid.is-single { max-width: 440px; margin: 0 auto; grid-template-columns: 1fr; }
.tt-price-card { position: relative; background: var(--tt-panel); border: 1px solid var(--tt-line2); border-radius: 16px; padding: 32px; }
.tt-price-card--lr { background: var(--tt-panel-lr); border-color: var(--tt-line-lr); }
.tt-price-card.is-pop { border: 2px solid var(--tt-lime); box-shadow: 0 18px 50px rgba(204, 255, 0, 0.08); }
.tt-price-card.is-pop--lr { border: 2px solid var(--tt-orange); box-shadow: 0 18px 50px rgba(255, 77, 23, 0.1); padding: 40px; }
.tt-price-pop { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); font-family: var(--tt-mono); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--tt-bg); background: var(--tt-lime); padding: 5px 16px; border-radius: 20px; }
.tt-price-name { font-family: var(--tt-mono); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--tt-muted2); margin-bottom: 14px; }
.tt-price-name.is-pop { color: var(--tt-lime); }
.tt-price-name.is-lr { color: var(--tt-orange2); }
.tt-price-amt { display: flex; align-items: baseline; gap: 9px; margin-bottom: 6px; }
.tt-price-amt .num { font-family: var(--tt-exp); font-weight: 800; font-size: 46px; color: #fff; }
.tt-price-amt .num--lg { font-size: 52px; }
.tt-price-amt .was { font-family: var(--tt-exp); font-weight: 700; font-size: 22px; color: var(--tt-dim2); text-decoration: line-through; }
.tt-price-intro { font-size: 13px; color: var(--tt-lime); margin-bottom: 4px; }
.tt-price-sub { font-size: 13px; color: var(--tt-dim); margin-bottom: 24px; }
.tt-price-card .tt-btn, .tt-price-buy { display: flex; width: 100%; text-align: center; justify-content: center; font-weight: 700; font-size: 14px; padding: 13px; border-radius: 8px; margin-bottom: 24px; }
.tt-price-list { display: flex; flex-direction: column; gap: 11px; }
.tt-price-list.is-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 24px; }
.tt-price-list div { display: flex; gap: 9px; font-size: 13.5px; color: var(--tt-text); }
.tt-price-list .mk { color: var(--tt-lime); flex-shrink: 0; }
.tt-price-card--lr .tt-price-list .mk { color: var(--tt-orange2); }
.tt-price-list div.is-strong { color: #fff; font-weight: 600; }
.tt-price-secure { text-align: center; margin-top: 28px; font-family: var(--tt-mono); font-size: 12px; letter-spacing: 1px; color: var(--tt-dim); }
.tt-price-notes { max-width: 760px; margin: 22px auto 0; font-size: 11.5px; line-height: 1.6; color: var(--tt-dim2); }
.tt-price-notes p { margin-bottom: 7px; }
.tt-price-notes .hl { color: var(--tt-muted2); }
.tt-price-notes strong { color: var(--tt-muted2); font-weight: 600; }
.tt-price-tag { font-family: var(--tt-mono); font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--tt-lime); border: 1px solid rgba(204, 255, 0, 0.3); padding: 3px 8px; border-radius: 4px; }

/* ---------- System requirements ---------- */
.tt-sysreq { background: var(--tt-bg2); border-top: 1px solid var(--tt-line); }
.tt-sysreq-inner { max-width: var(--tt-wrap); margin: 0 auto; padding: 64px 32px; }
.tt-sysreq-inner .tt-eyebrow { color: var(--tt-dim); margin-bottom: 24px; }
.tt-sysreq-grid { display: grid; gap: 16px; }
.tt-sysreq-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
.tt-sysreq-grid.cols-6 { grid-template-columns: repeat(6, 1fr); }
.tt-sysreq-item { background: var(--tt-panel); border: 1px solid var(--tt-line2); border-radius: 11px; padding: 20px; }
.is-lr .tt-sysreq-item { background: var(--tt-panel-lr); border-color: var(--tt-line-lr); }
.tt-sysreq-item .k { font-family: var(--tt-mono); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--tt-dim2); margin-bottom: 6px; }
.tt-sysreq-item .v { font-size: 14px; font-weight: 600; color: #fff; }

/* ---------- FAQ accordion ---------- */
.tt-faq { max-width: 820px; margin: 0 auto; padding: 84px 32px; }
.tt-faq-head { text-align: center; margin-bottom: 46px; }
.tt-faq-head .tt-eyebrow { color: var(--tt-lime); margin-bottom: 14px; }
.tt-faq-head.is-lr .tt-eyebrow { color: var(--tt-orange2); }
.tt-faq-head h2 { font-family: var(--tt-exp); font-weight: 800; font-size: 36px; letter-spacing: -1px; }
.tt-faq-item { border: 1px solid #232932; border-radius: 11px; margin-bottom: 10px; overflow: hidden; background: var(--tt-panel); }
.is-lr .tt-faq-item { border-color: var(--tt-line-lr); background: var(--tt-panel-lr); }
.tt-faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; background: none; border: none; cursor: pointer; text-align: left; font-family: var(--tt-sans); font-size: 15px; font-weight: 600; color: #fff; }
.tt-faq-sign { font-family: var(--tt-mono); font-size: 22px; line-height: 1; color: var(--tt-lime); flex-shrink: 0; margin-left: 16px; transition: transform 0.2s; }
.is-lr .tt-faq-sign { color: var(--tt-orange2); }
.tt-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.tt-faq-a-inner { padding: 0 22px 18px; font-size: 14px; line-height: 1.65; color: var(--tt-muted); border-top: 1px solid #232932; padding-top: 16px; }
.is-lr .tt-faq-a-inner { border-top-color: var(--tt-line-lr); }

/* ---------- Support page ---------- */
.tt-page-head { position: relative; overflow: hidden; border-bottom: 1px solid var(--tt-line); }
.tt-page-head::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(204, 255, 0, 0.09), transparent 60%); }
.tt-page-head-inner { position: relative; max-width: 760px; margin: 0 auto; padding: 72px 32px 60px; text-align: center; }
.tt-page-head .tt-flag { display: inline-flex; justify-content: center; margin-bottom: 20px; }
.tt-page-head h1 { font-family: var(--tt-exp); font-weight: 800; font-size: 54px; line-height: 0.98; letter-spacing: -1.5px; margin-bottom: 18px; }
.tt-page-head p { font-size: 18px; line-height: 1.6; color: var(--tt-muted); max-width: 520px; margin: 0 auto; }
.tt-channels { max-width: var(--tt-wrap); margin: 0 auto; padding: 72px 32px 40px; }
.tt-channel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tt-channel { background: var(--tt-panel); border: 1px solid var(--tt-line2); border-radius: 18px; padding: 36px; display: flex; flex-direction: column; }
.tt-channel-ic { width: 54px; height: 54px; border-radius: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.tt-channel-ic.wa { background: rgba(37, 211, 102, 0.12); }
.tt-channel-ic.em { background: rgba(204, 255, 0, 0.1); }
.tt-channel-ic.fm { background: rgba(255, 77, 23, 0.12); }
.tt-channel h3 { font-family: var(--tt-exp); font-weight: 700; font-size: 21px; color: #fff; margin-bottom: 8px; }
.tt-channel > p { font-size: 14px; line-height: 1.6; color: var(--tt-muted2); margin-bottom: 8px; }
.tt-channel .meta { font-family: var(--tt-mono); font-size: 12px; margin-bottom: 24px; }
.tt-channel .meta.wa { color: #25D366; }
.tt-channel .meta.em { color: var(--tt-lime); }
.tt-channel .meta.fm { color: var(--tt-orange2); }
.tt-channel-btn { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 9px; font-family: var(--tt-sans); font-weight: 700; font-size: 14px; padding: 14px; border-radius: 9px; }
.tt-channel-btn.wa { background: #25D366; color: #fff; }
.tt-channel-btn.em { background: var(--tt-lime); color: var(--tt-bg); }
.tt-channel-btn.fm { background: var(--tt-orange); color: #fff; }

.tt-contact { background: var(--tt-bg2); border-top: 1px solid var(--tt-line); border-bottom: 1px solid var(--tt-line); margin-top: 32px; }
.tt-contact-inner { max-width: 1100px; margin: 0 auto; padding: 80px 32px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.tt-contact .tt-eyebrow { color: var(--tt-orange2); margin-bottom: 14px; }
.tt-contact h2 { font-family: var(--tt-exp); font-weight: 800; font-size: 34px; letter-spacing: -0.8px; margin-bottom: 28px; }
.tt-field { margin-bottom: 16px; }
.tt-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.tt-label { display: block; font-family: var(--tt-mono); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--tt-muted2); margin-bottom: 7px; }
.tt-input { width: 100%; box-sizing: border-box; padding: 13px 15px; background: var(--tt-panel); border: 1px solid #232932; border-radius: 9px; color: #fff; font-family: var(--tt-sans); font-size: 14px; line-height: 1.5; }
.tt-input::placeholder { color: var(--tt-dim2); }
.tt-input:focus { outline: none; border-color: var(--tt-lime); box-shadow: 0 0 0 3px rgba(204, 255, 0, 0.12); }
textarea.tt-input { min-height: 140px; resize: vertical; }
.tt-form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.tt-form-actions button { font-family: var(--tt-sans); font-weight: 700; font-size: 15px; color: #fff; padding: 15px 30px; background: var(--tt-orange); border: none; border-radius: 9px; cursor: pointer; }
.tt-form-actions span { font-size: 12px; color: var(--tt-dim2); }
.tt-side { display: flex; flex-direction: column; gap: 16px; }
.tt-side-card { background: var(--tt-panel); border: 1px solid var(--tt-line2); border-radius: 14px; padding: 26px; }
.tt-side-card .lbl { font-family: var(--tt-mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--tt-muted2); margin-bottom: 16px; }
.tt-side-row { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid #1c212a; }
.tt-side-row:last-child { border-bottom: none; }
.tt-side-row span:first-child { font-size: 14px; color: var(--tt-text); }
.tt-side-row span:last-child { font-family: var(--tt-mono); font-size: 13px; color: #fff; }
.tt-side-link { display: flex; align-items: center; justify-content: space-between; font-size: 14px; color: var(--tt-text); padding: 10px 0; border-top: 1px solid #1c212a; }
.tt-side-note { background: rgba(37, 211, 102, 0.06); border: 1px solid rgba(37, 211, 102, 0.25); border-radius: 14px; padding: 22px; display: flex; align-items: center; gap: 14px; }
.tt-side-note svg { flex-shrink: 0; }
.tt-side-note .t { font-size: 14px; font-weight: 600; color: #fff; }
.tt-side-note a { font-family: var(--tt-mono); font-size: 12px; color: #25D366; }
.tt-sent { background: var(--tt-panel); border: 1px solid var(--tt-line2); border-radius: 16px; padding: 40px; text-align: center; }
.tt-sent .ic { width: 64px; height: 64px; border-radius: 50%; background: rgba(204, 255, 0, 0.12); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.tt-sent h3 { font-family: var(--tt-exp); font-weight: 700; font-size: 24px; margin-bottom: 10px; }
.tt-sent p { font-size: 15px; line-height: 1.6; color: var(--tt-muted); max-width: 380px; margin: 0 auto; }

/* ---------- Footer ---------- */
.tt-footer { background: #08090c; border-top: 1px solid var(--tt-line); }
.tt-footer-inner { max-width: var(--tt-wrap); margin: 0 auto; padding: 64px 32px 0; }
.tt-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--tt-line); }
.tt-footer-grid p { font-size: 14px; line-height: 1.7; color: var(--tt-dim); max-width: 300px; margin-bottom: 18px; }
.tt-footer-note { font-family: var(--tt-mono); font-size: 11px; letter-spacing: 1px; color: var(--tt-dim2); }
.tt-footer h4 { font-family: var(--tt-mono); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.tt-footer-grid a { display: block; font-size: 14px; color: var(--tt-muted2); padding: 5px 0; }
.tt-footer-grid a:hover { color: #fff; }
.tt-footer-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.tt-footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; flex-wrap: wrap; gap: 10px; }
.tt-footer-bottom span { font-size: 13px; color: var(--tt-dim2); }
.tt-footer-bottom .mono { font-family: var(--tt-mono); font-size: 11px; letter-spacing: 1px; }

/* ---------- WhatsApp bubble ---------- */
.whatsapp-bubble {
    position: fixed; bottom: 24px; right: 24px; z-index: 900;
    width: 58px; height: 58px; border-radius: 50%;
    background: #25D366;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transition: transform 0.3s ease;
}
.whatsapp-bubble:hover { transform: scale(1.08); }
.whatsapp-bubble svg { width: 32px; height: 32px; fill: #fff; }
.whatsapp-tooltip {
    position: absolute; right: 72px; top: 50%; transform: translateY(-50%);
    background: var(--tt-panel); color: #fff; padding: 8px 16px; border-radius: 9px;
    font-size: 0.8125rem; font-weight: 500; white-space: nowrap;
    border: 1px solid var(--tt-line2);
    opacity: 0; visibility: hidden; transition: all 0.2s;
}
.whatsapp-bubble:hover .whatsapp-tooltip { opacity: 1; visibility: visible; }

/* ---------- Scroll to top ---------- */
.scroll-top {
    position: fixed; bottom: 94px; right: 28px;
    width: 44px; height: 44px;
    background: var(--tt-panel); color: #fff;
    border: 1px solid var(--tt-line2); border-radius: 50%;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all 0.3s; z-index: 899;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--tt-lime); color: var(--tt-bg); }

@keyframes ttPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes ttFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* =============================================
   Legacy compatibility — dark-theme the secondary
   pages (checkout, trial, legal, about, KB, FAQ,
   comparison, pricing, 404) that still use the old
   utility classes. Restyle, don't rebuild.
   ============================================= */
.section { padding: 72px 0; }
.section-alt { background: var(--tt-bg2); }
.section-dark { background: var(--tt-bg-dark); color: #fff; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-header h2 { font-family: var(--tt-exp); letter-spacing: -0.5px; margin-bottom: 12px; }
.section-header p { color: var(--tt-muted2); font-size: 1.0625rem; }

a:hover { color: var(--tt-lime); }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 26px; font-family: var(--tt-sans); font-size: 0.9375rem; font-weight: 700;
    line-height: 1; border-radius: 7px; border: 1px solid transparent; cursor: pointer;
    transition: all 0.2s ease; white-space: nowrap;
}
.btn-primary { background: var(--tt-lime); color: var(--tt-bg); border-color: var(--tt-lime); }
.btn-primary:hover { background: var(--tt-lime-dark); color: var(--tt-bg); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: #fff; border-color: #2a2f37; }
.btn-secondary:hover { border-color: #3a414c; color: #fff; }
.btn-white { background: #fff; color: var(--tt-bg); border-color: #fff; }
.btn-white:hover { background: #e8ebf0; color: var(--tt-bg); }
.btn-success { background: #25D366; color: #fff; border-color: #25D366; }
.btn-success:hover { filter: brightness(1.06); color: #fff; }
.btn-lg { padding: 16px 34px; font-size: 1.0625rem; }
.btn-sm { padding: 9px 18px; font-size: 0.8125rem; }
.btn-block { width: 100%; }

.alert { padding: 14px 20px; border-radius: 9px; margin-bottom: 20px; font-size: 0.9375rem; font-weight: 500; display: flex; align-items: center; gap: 10px; border: 1px solid; }
.alert-success { background: var(--color-success-bg); color: #8af0b6; border-color: rgba(70, 224, 138, 0.3); }
.alert-error { background: var(--color-danger-bg); color: #ffb3b3; border-color: rgba(255, 122, 122, 0.3); }
.alert-warning { background: var(--color-warning-bg); color: #ffe28a; border-color: rgba(255, 210, 63, 0.3); }
.alert-info { background: var(--color-info-bg); color: #9be1fb; border-color: rgba(54, 198, 244, 0.3); }

/* page header (legacy) */
.page-header { position: relative; background: var(--tt-bg2); border-bottom: 1px solid var(--tt-line); padding: 64px 0; text-align: center; }
.page-header h1 { font-family: var(--tt-exp); color: #fff; margin-bottom: 12px; font-size: clamp(1.9rem, 4vw, 2.75rem); letter-spacing: -1px; }
.page-header p { color: var(--tt-muted); font-size: 1.0625rem; max-width: 600px; margin: 0 auto; }

/* dark cards / panels for legacy components */
.product-card, .feature-item, .pricing-card, .support-card, .kb-category,
.kb-article-content, .trial-form-wrapper, .success-card, .stat-item,
.sys-req-item, .admin-card {
    background: var(--tt-panel);
    border: 1px solid var(--tt-line2);
    color: var(--tt-text);
}
.product-card h3, .feature-item h4, .pricing-card h3, .support-card h3,
.kb-category h3, .kb-article-content h3, .success-card h2 { color: #fff; }
.product-card p, .feature-item p, .support-card p, .pricing-card .description,
.kb-article-content p, .kb-article-link, .sys-req-item .value { color: var(--tt-muted2); }
.product-card:hover, .feature-item:hover, .support-card:hover, .kb-category:hover { border-color: var(--tt-line2); box-shadow: var(--shadow-md); }
.product-card::before { background: var(--tt-lime); }

.product-card-icon, .feature-icon, .support-card-icon { background: rgba(204, 255, 0, 0.1); color: var(--tt-lime); }
.product-card .tagline { color: var(--tt-lime); }
.product-card .features-mini li, .pricing-features li { color: var(--tt-muted2); border-color: var(--tt-line); }
.product-card .features-mini li::before, .pricing-features li::before { color: var(--tt-lime); }
.product-card-price { color: var(--tt-dim); }
.product-card-price strong { color: #fff; }

.pricing-card { border-width: 1px; }
.pricing-card.highlighted { border: 2px solid var(--tt-lime); box-shadow: 0 18px 50px rgba(204, 255, 0, 0.08); transform: none; }
.pricing-badge { background: var(--tt-lime); color: var(--tt-bg); }
.pricing-card .price { color: #fff; font-family: var(--tt-exp); }
.pricing-card .price .period { color: var(--tt-muted2); }

.pricing-tabs { background: var(--tt-panel); }
.pricing-tab { color: var(--tt-muted2); }
.pricing-tab.active { background: var(--tt-bg); color: var(--tt-lime); }

/* forms (legacy) */
.form-label { color: var(--tt-text); }
.form-input, .form-textarea, .form-select {
    background: var(--tt-panel); border: 1px solid #232932; color: #fff;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--tt-dim2); }
.form-input:focus, .form-textarea:focus, .form-select:focus {
    border-color: var(--tt-lime); box-shadow: 0 0 0 3px rgba(204, 255, 0, 0.12);
}
.form-select option { background: var(--tt-panel); color: #fff; }

/* ---------- Checkout page (scoped: calm sage palette + restored form structure) ---------- */
.checkout-page {
    --co-accent: #a7b486;
    --co-accent-dark: #94a26f;
    --co-accent-ink: #2b3315;
    --co-panel: #141a21;
    --co-field-bg: #0e1319;
    --co-line: #232a33;
    --co-field-line: #2a323c;
    --co-text: #e7eaee;
    --co-muted: #9aa3ad;
    --co-dim: #6b7480;
}
.checkout-page .page-header { background: var(--co-panel); border-bottom-color: var(--co-line); padding: 32px 0; }
.checkout-page .page-header h1 { font-size: clamp(1.55rem, 3vw, 2rem); margin-bottom: 6px; letter-spacing: -0.5px; }
.checkout-page .page-header p { font-size: 0.9375rem; }
.checkout-page .section { padding-top: 32px; padding-bottom: 56px; }
.checkout-page .checkout-grid {
    display: grid; grid-template-columns: 0.9fr 1.35fr; gap: 26px;
    align-items: start; max-width: 960px; margin: 0 auto;
}
.checkout-page .checkout-aside {
    display: flex; flex-direction: column; gap: 16px;
    position: sticky; top: 96px;
}
.checkout-page .checkout-main {
    background: var(--co-panel); border: 1px solid var(--co-line);
    border-radius: 14px; padding: 30px;
}
.checkout-summary {
    background: #11161c; border: 1px solid var(--co-line);
    border-radius: 10px; padding: 18px 20px;
}
.checkout-summary h3 {
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1.2px;
    font-weight: 600; color: var(--co-muted); margin-bottom: 14px;
}
.checkout-summary .co-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.checkout-summary .co-item { color: var(--co-text); font-size: 0.9375rem; }
.checkout-summary .co-price { color: #fff; font-weight: 600; white-space: nowrap; }
.checkout-summary .co-divider { border: none; border-top: 1px solid var(--co-line); margin: 14px 0; }
.checkout-summary .co-total-label { color: #fff; font-size: 1.0625rem; font-weight: 700; }
.checkout-summary .co-total-price { color: var(--co-accent); font-size: 1.0625rem; font-weight: 700; white-space: nowrap; }
.checkout-page .form-group { margin-bottom: 18px; }
.checkout-page .form-label {
    display: block; margin-bottom: 7px;
    font-size: 0.875rem; font-weight: 500; color: var(--co-muted);
}
.checkout-page .co-req { color: var(--co-accent); margin-left: 1px; }
.checkout-page .form-input {
    width: 100%; height: 46px; padding: 0 14px;
    background: var(--co-field-bg); border: 1px solid var(--co-field-line);
    border-radius: 9px; color: var(--co-text); font-size: 0.9375rem;
    font-family: var(--tt-sans);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.checkout-page .form-input::placeholder { color: var(--co-dim); }
.checkout-page .form-input:focus {
    outline: none; border-color: var(--co-accent);
    box-shadow: 0 0 0 3px rgba(167, 180, 134, 0.18);
}
.checkout-page .form-group small,
.checkout-page .form-group .text-muted {
    display: block; margin-top: 6px; font-size: 0.8125rem; color: var(--co-dim);
}
.checkout-page .btn-primary {
    margin-top: 6px;
    background: var(--co-accent); border-color: var(--co-accent); color: var(--co-accent-ink);
    box-shadow: 0 6px 18px rgba(167, 180, 134, 0.22);
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
}
.checkout-page .btn-primary:hover:not(:disabled) {
    background: var(--co-accent-dark); border-color: var(--co-accent-dark);
    color: var(--co-accent-ink); transform: translateY(-1px);
}
/* Dull / inactive until a valid full name and email are entered */
.checkout-page .btn-primary:disabled {
    background: rgba(167, 180, 134, 0.14); border-color: rgba(167, 180, 134, 0.22);
    color: var(--co-dim); box-shadow: none; cursor: not-allowed; transform: none;
}
.checkout-page .checkout-guarantee {
    display: flex; align-items: flex-start; gap: 12px;
    background: rgba(167, 180, 134, 0.08); border: 1px solid rgba(167, 180, 134, 0.25);
    border-radius: 10px; padding: 14px 16px;
}
.checkout-page .co-guarantee-icon {
    flex: none; width: 24px; height: 24px; border-radius: 50%;
    background: var(--co-accent); color: var(--co-accent-ink);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8125rem; font-weight: 700; line-height: 1; margin-top: 1px;
}
.checkout-page .checkout-guarantee strong { display: block; color: var(--co-text); font-size: 0.9375rem; font-weight: 600; margin-bottom: 2px; }
.checkout-page .checkout-guarantee > div span { color: var(--co-muted); font-size: 0.8125rem; line-height: 1.5; }
@media (max-width: 860px) {
    .checkout-page .checkout-grid { grid-template-columns: 1fr; gap: 20px; max-width: 540px; }
    .checkout-page .checkout-aside { position: static; }
}

/* tables (legacy comparison) */
.comparison-table {
    width: 100%; border-collapse: separate; border-spacing: 0;
    background: var(--tt-panel); border: 1px solid var(--tt-line2);
    border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-md);
    font-size: 0.9375rem;
}
.comparison-table th, .comparison-table td {
    padding: 15px 22px; text-align: center; vertical-align: middle;
    border-bottom: 1px solid var(--tt-line);
}
.comparison-table th:first-child, .comparison-table td:first-child { text-align: left; }
.comparison-table thead th {
    background: var(--tt-bg2); color: #fff;
    font-size: 0.8125rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.6px; white-space: nowrap; border-bottom: 1px solid var(--tt-line2);
}
.comparison-table thead th:nth-child(2) { color: var(--tt-lime); }
.comparison-table tbody td { color: var(--tt-muted2); }
.comparison-table tbody td:first-child { color: #fff; font-weight: 500; }
.comparison-table tbody td:nth-child(2) { background: rgba(204, 255, 0, 0.045); }
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table tbody tr:hover td { background: rgba(255, 255, 255, 0.02); }
.comparison-table tbody tr:hover td:nth-child(2) { background: rgba(204, 255, 0, 0.07); }
.comparison-table .winner { color: var(--tt-lime); font-weight: 600; }
.cta-section .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* about (legacy) */
.about-avatar { background: linear-gradient(135deg, var(--tt-lime), var(--tt-lime-dark)); color: var(--tt-bg); }
.stat-number { color: var(--tt-lime); }
.stat-label { color: var(--tt-muted2); }

/* use-case tags (legacy) */
.use-case-tag { background: rgba(204, 255, 0, 0.1); color: var(--tt-lime); }
.sys-req-item .label { color: var(--tt-dim2); }

/* product hero (legacy) */
.product-hero-img { background: linear-gradient(135deg, #11151b, var(--tt-panel)); }

/* hero (legacy) — used by trial / older pages */
.hero { background: var(--tt-bg2); color: #fff; padding: 72px 0; border-bottom: 1px solid var(--tt-line); }
.hero h1 { color: #fff; }
.hero h1 .highlight { color: var(--tt-lime); }
.hero p { color: var(--tt-muted); }
.hero-badge { background: rgba(204, 255, 0, 0.1); color: var(--tt-lime); border: 1px solid rgba(204, 255, 0, 0.3); }

/* cta section (legacy) */
.cta-section { background: var(--tt-bg2); border-top: 1px solid var(--tt-line); color: #fff; padding: 80px 0; text-align: center; }
.cta-section h2 { color: #fff; font-family: var(--tt-exp); }
.cta-section p { color: var(--tt-muted); }

/* trust bar (legacy) */
.trust-bar { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; padding: 36px 0; }
.trust-item { color: var(--tt-text); font-weight: 500; display: flex; align-items: center; gap: 10px; }
.trust-item .trust-icon { color: var(--tt-lime); font-size: 1.25rem; }

/* license display / success (legacy) */
.license-display { background: var(--tt-bg2); border: 1px solid var(--tt-line2); color: var(--tt-lime); }
.success-icon { background: rgba(70, 224, 138, 0.12); color: var(--color-success); }

/* legacy site-header / nav fallback (in case any page still renders it) */
.site-header { background: rgba(10, 12, 15, 0.88); border-bottom: 1px solid var(--tt-line); }

.animate-in { animation: ttFade 0.6s ease forwards; }

/* ---------- Restored structural styles for legacy components (geometry only; dark colors already themed above) ---------- */

/* Grids */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 32px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; align-items: start; }
.kb-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.sys-req { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.about-hero { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.product-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 60px 0; }

/* Product cards */
.product-card { border-radius: var(--radius-xl); padding: 36px; position: relative; overflow: hidden; transition: all 0.3s ease; }
.product-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; transform: scaleX(0); transition: transform 0.3s ease; }
.product-card:hover::before { transform: scaleX(1); }
.product-card-icon { width: 56px; height: 56px; border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.product-card .features-mini { list-style: none; margin-bottom: 24px; }
.product-card .features-mini li { padding: 6px 0; font-size: 0.9375rem; display: flex; align-items: center; gap: 8px; }
.product-card .features-mini li::before { content: '\2713'; font-weight: 700; flex-shrink: 0; }
.product-card-price { font-size: 0.9375rem; margin-bottom: 20px; }
.product-card-price strong { font-size: 1.5rem; }

/* Feature items */
.feature-item { padding: 28px; border-radius: var(--radius-lg); transition: all 0.2s; }
.feature-icon { width: 44px; height: 44px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feature-item h4 { margin-bottom: 8px; font-size: 1.0625rem; }
.feature-item p { font-size: 0.9375rem; }

/* Pricing */
.pricing-tabs-wrapper { text-align: center; }
.pricing-tabs { display: inline-flex; justify-content: center; gap: 4px; margin-bottom: 48px; border-radius: var(--radius-lg); padding: 4px; }
.pricing-tab { padding: 10px 24px; border-radius: var(--radius-md); font-weight: 600; font-size: 0.9375rem; cursor: pointer; transition: all 0.2s; border: none; background: transparent; font-family: inherit; }
.pricing-tab.active { box-shadow: var(--shadow-sm); }
.pricing-card { border-radius: var(--radius-xl); padding: 36px; position: relative; transition: all 0.3s ease; }
.pricing-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.pricing-card .description { font-size: 0.9375rem; margin-bottom: 24px; }
.pricing-card .price { font-size: 2.75rem; font-weight: 800; margin: 16px 0 4px; }
.pricing-card .price .currency { font-size: 1.25rem; vertical-align: super; }
.pricing-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 6px 20px; border-radius: 999px; font-size: 0.8125rem; font-weight: 700; white-space: nowrap; }
.pricing-features { list-style: none; margin-bottom: 28px; }
.pricing-features li { padding: 8px 0; font-size: 0.9375rem; display: flex; align-items: flex-start; gap: 10px; border-bottom: 1px solid var(--tt-line); }
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before { content: '\2713'; font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* FAQ (legacy accordion) */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--tt-line2); border-radius: var(--radius-md); margin-bottom: 8px; overflow: hidden; transition: border-color 0.2s; }
.faq-item:hover { border-color: var(--tt-lime); }
.faq-question { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 18px 24px; text-align: left; background: none; border: none; cursor: pointer; font-family: inherit; font-weight: 600; font-size: 0.9375rem; color: var(--tt-white); transition: color 0.2s; }
.faq-question .icon { flex-shrink: 0; font-size: 1.25rem; color: var(--tt-lime); transition: transform 0.3s; }
.faq-item.open .faq-question .icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer-inner { padding: 0 24px 18px; font-size: 0.9375rem; line-height: 1.7; color: var(--tt-muted2); }
.faq-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.faq-tab { padding: 8px 20px; border-radius: 999px; border: 1px solid var(--tt-line2); background: transparent; color: var(--tt-muted2); font-family: inherit; font-size: 0.875rem; font-weight: 500; cursor: pointer; transition: all 0.2s; }
.faq-tab:hover:not(.active) { border-color: var(--tt-lime); color: var(--tt-white); }
.faq-tab.active { background: var(--tt-lime); color: var(--tt-bg); border-color: var(--tt-lime); }

/* Knowledge base */
.kb-category { border-radius: var(--radius-lg); padding: 28px; transition: border-color 0.2s; }
.kb-category h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.kb-article-link { display: block; padding: 12px 0; border-bottom: 1px solid var(--tt-line); font-size: 0.9375rem; transition: color 0.2s; }
.kb-article-link:last-child { border-bottom: none; }
.kb-article-link:hover { color: var(--tt-lime); }
.kb-article-link .excerpt { display: block; font-size: 0.8125rem; margin-top: 2px; color: var(--tt-dim); }
.kb-article { max-width: 800px; margin: 0 auto; }
.kb-article-content { border-radius: var(--radius-lg); padding: 40px; }
.kb-article-content h3 { margin: 28px 0 12px; }
.kb-article-content p { margin-bottom: 16px; }
.kb-article-content ul, .kb-article-content ol { margin: 0 0 16px 22px; }
.kb-article-content li { margin-bottom: 6px; }

/* About */
.about-avatar { width: 120px; height: 120px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 3rem; margin-bottom: 20px; }
.stat-item { text-align: center; padding: 24px; border-radius: var(--radius-lg); }
.stat-number { display: block; font-size: 2.5rem; font-weight: 800; }
.stat-label { font-size: 0.875rem; }

/* Product detail */
.product-hero-content .tagline { font-weight: 600; font-size: 1.125rem; margin-bottom: 20px; color: var(--tt-lime); }
.product-hero-img { display: flex; align-items: center; justify-content: center; min-height: 360px; padding: 40px; border-radius: var(--radius-xl); text-align: center; }
.product-hero-img .placeholder-screen { width: 100%; max-width: 400px; padding: 20px; border-radius: var(--radius-lg); background: #0f172a; font-family: var(--font-mono); font-size: 0.75rem; text-align: left; box-shadow: var(--shadow-xl); }
.use-cases { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.use-case-tag { padding: 6px 14px; border-radius: 999px; font-size: 0.8125rem; font-weight: 500; }
.sys-req-item { padding: 20px; border-radius: var(--radius-md); }
.sys-req-item .label { font-size: 0.8125rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }
.sys-req-item .value { font-weight: 600; margin-top: 4px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 999px; font-size: 0.875rem; font-weight: 600; margin-bottom: 24px; }

/* Success / license */
.success-card { max-width: 560px; margin: 40px auto; padding: 48px; border-radius: var(--radius-xl); text-align: center; box-shadow: var(--shadow-lg); }
.success-icon { width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; font-size: 2rem; }
.license-display { margin: 20px 0; padding: 16px; border-radius: var(--radius-md); font-family: var(--font-mono); font-size: 1.125rem; font-weight: 700; letter-spacing: 2px; word-break: break-all; }

/* Forms (global geometry; the checkout page overrides these with its own scoped rules) */
.form-group { margin-bottom: 20px; }
.form-label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.875rem; }
.form-input, .form-textarea, .form-select { width: 100%; padding: 12px 16px; border-radius: var(--radius-md); font-family: var(--tt-sans); font-size: 0.9375rem; transition: border-color 0.2s, box-shadow 0.2s; }
.form-textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.trial-form-wrapper { max-width: 480px; margin: 0 auto; padding: 40px; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }

/* Long-form legal / content prose (privacy, terms) */
.content-prose { max-width: 800px; }
.content-prose h2 { font-size: 1.25rem; font-weight: 700; margin: 32px 0 12px; }
.content-prose h2:first-child { margin-top: 0; }
.content-prose p { margin-bottom: 16px; line-height: 1.7; color: var(--tt-text); }
.content-prose ul, .content-prose ol { margin: 0 0 16px 22px; line-height: 1.7; color: var(--tt-text); }
.content-prose li { margin-bottom: 6px; }
.content-prose a { color: var(--tt-lime); }

/* Responsive collapse for the restored fixed-column grids */
@media (max-width: 860px) {
    .about-hero, .product-hero { grid-template-columns: 1fr; gap: 36px; }
    .about-stats { grid-template-columns: 1fr; }
    .success-card { padding: 32px; }
    .kb-article-content { padding: 28px; }
    .trial-form-wrapper { padding: 28px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
    .tt-hero-grid, .tt-hero-grid.is-even, .tt-product { grid-template-columns: 1fr; }
    .tt-trust-grid, .tt-why-grid, .tt-feature-grid { grid-template-columns: repeat(2, 1fr); }
    .tt-price-grid, .tt-channel-grid, .tt-sysreq-grid.cols-5, .tt-sysreq-grid.cols-6 { grid-template-columns: repeat(2, 1fr); }
    .tt-footer-grid { grid-template-columns: 1fr 1fr; }
    .tt-contact-inner { grid-template-columns: 1fr; gap: 36px; }
    .tt-product--lr > div:first-child { order: 2; }
    .tt-h1 { font-size: 48px; }
    .tt-nav { display: none; }
    .tt-nav.open {
        display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
        position: absolute; top: var(--header-height); left: 0; right: 0;
        background: var(--tt-bg); border-bottom: 1px solid var(--tt-line);
        padding: 22px 32px;
    }
    .tt-mobile-toggle { display: block; }
}

@media (max-width: 640px) {
    .tt-wrap, .container { padding: 0 20px; }
    .tt-trust-grid, .tt-why-grid, .tt-footer-grid, .tt-feature-grid,
    .tt-price-grid, .tt-channel-grid, .tt-gallery-grid,
    .tt-sysreq-grid.cols-5, .tt-sysreq-grid.cols-6, .tt-field-row { grid-template-columns: 1fr; }
    .tt-h1 { font-size: 38px; }
    .tt-h2, .tt-cta-inner h2, .tt-why-lead h2, .tt-page-head h1 { font-size: 30px; }
    .tt-hero-grid, .tt-products, .tt-section, .tt-pricing, .tt-faq { padding-left: 20px; padding-right: 20px; }
    .tt-product { padding: 28px; }
    .tt-header-actions .tt-btn--ghost { display: none; }
    .footer-grid, .form-row { grid-template-columns: 1fr; }
}
