/* TradeMentor — public site (mobile-first) */
.tm-site { background: #fff; }
.tm-container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 16px; }
.tm-narrow { max-width: 860px; }
.tm-accent { color: var(--tm-green); }
.tm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.tm-card { background: #fff; border: 1px solid var(--tm-line); border-radius: var(--tm-radius); box-shadow: var(--tm-shadow); padding: 1.25rem; }
.tm-grid-2 { display: grid; gap: 0 1rem; }

/* Announcement bar */
.tm-announce { background: var(--tm-green); color: #fff; font-size: .88rem; }
.tm-announce-inner { display: flex; align-items: center; gap: .6rem; padding-top: .55rem; padding-bottom: .55rem; }
.tm-announce-inner p { flex: 1; min-width: 0; }
.tm-announce-close { background: none; border: 0; color: #fff; cursor: pointer; padding: .25rem; display: inline-flex; }

/* Brand */
.tm-brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; font-size: 1.35rem; letter-spacing: -.01em; color: var(--tm-ink); }
.tm-brand-mark { color: var(--tm-green); display: inline-flex; }
.tm-brand-mark .ic { width: 34px; height: 34px; }
.tm-brand-accent { color: var(--tm-green); }
.tm-brand-img { max-height: 40px; width: auto; }
.tm-brand-light { color: #fff; }

/* Header */
.tm-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--tm-line-2); }
.tm-header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 1rem; }
.tm-nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--tm-line); border-radius: var(--tm-radius-sm); background: #fff; cursor: pointer; }
.tm-nav-toggle .tm-nav-close { display: none; }
.tm-header.is-open .tm-nav-toggle .tm-nav-open { display: none; }
.tm-header.is-open .tm-nav-toggle .tm-nav-close { display: block; }
.tm-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--tm-line); box-shadow: 0 16px 30px rgba(15, 23, 42, .08); padding: .5rem 16px 1rem; }
.tm-header.is-open .tm-nav { display: block; }
.tm-nav-list { list-style: none; margin: 0; padding: 0; }
.tm-nav-link { display: block; padding: .8rem .25rem; font-weight: 500; color: var(--tm-ink-2); border-bottom: 1px solid var(--tm-line-2); }
.tm-nav-link:hover { color: var(--tm-green); }
.tm-nav-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: 1rem; }

/* Hero */
.tm-hero { position: relative; color: #fff; background: radial-gradient(120% 90% at 85% 10%, rgba(242, 166, 72, .18), transparent 55%), linear-gradient(115deg, #08121f 0%, #0c1a2c 55%, #10243a 100%); overflow: hidden; }
.tm-hero::before { content: ""; position: absolute; inset: 0; background: url("../img/hero-candles.svg") center / cover no-repeat; opacity: .9; pointer-events: none; }
.tm-hero-grid { position: relative; display: grid; gap: 2rem; padding-top: 2.25rem; padding-bottom: 2.5rem; }
.tm-hero-eyebrow { font-size: .78rem; letter-spacing: .18em; font-weight: 500; color: #cbd5e1; text-transform: uppercase; margin-bottom: .9rem; }
.tm-hero-title { font-size: clamp(2.2rem, 8.5vw, 4.1rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.05; }
.tm-hero-title .tm-accent { display: block; color: var(--tm-green-light); }
.tm-hero-text { margin-top: 1.1rem; font-size: 1.05rem; color: #dbe3ee; max-width: 34rem; line-height: 1.6; }
.tm-hero-points { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; }
.tm-hero-point { display: flex; align-items: center; gap: .7rem; font-size: .92rem; line-height: 1.35; color: #e2e8f0; }
.tm-hero-point-icon { width: 50px; height: 50px; flex: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(20, 161, 80, .14); border: 1px solid rgba(44, 207, 110, .45); color: var(--tm-green-light); }
.tm-hero-media { display: grid; gap: .9rem; align-content: start; }

/* Video */
.tm-video { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: linear-gradient(135deg, #13253b, #0a1525); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.tm-video-el, .tm-video-poster, .tm-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; background: #000; }
.tm-video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%; border: 3px solid #fff; background: rgba(0, 0, 0, .35); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: transform .2s, background .2s; backdrop-filter: blur(2px); }
.tm-video-play .ic { width: 32px; height: 32px; margin-left: 4px; }
.tm-video-play:hover { transform: translate(-50%, -50%) scale(1.07); background: rgba(20, 161, 80, .75); }
.tm-video-play.is-static { cursor: default; }
.tm-video.is-empty::before { content: ""; position: absolute; inset: 0; background: url("../img/hero-candles.svg") center / cover no-repeat; opacity: .6; }
.tm-video-empty { position: absolute; left: 0; right: 0; bottom: 1rem; text-align: center; font-size: .9rem; color: #cbd5e1; padding: 0 1rem; }
.tm-video.is-playing .tm-video-play, .tm-video.is-playing .tm-video-poster { display: none; }

.tm-video-cta { display: flex; align-items: center; gap: .85rem; padding: .85rem 1rem; border-radius: 14px; background: var(--tm-green); color: #fff; box-shadow: 0 10px 30px rgba(20, 161, 80, .35); transition: background .15s, transform .15s; }
.tm-video-cta:hover { background: var(--tm-green-dark); transform: translateY(-1px); }
.tm-video-cta-icon { width: 42px; height: 42px; flex: none; border-radius: 50%; background: rgba(255, 255, 255, .18); display: inline-flex; align-items: center; justify-content: center; }
.tm-video-cta-text { flex: 1; min-width: 0; display: grid; line-height: 1.3; }
.tm-video-cta-text strong { font-size: 1.02rem; }
.tm-video-cta-text small { font-size: .82rem; opacity: .9; }
.tm-video-cta-arrow { transition: transform .15s; }
.tm-video-cta:hover .tm-video-cta-arrow { transform: translateX(3px); }


/* Video label, caption, compact hero and standalone video section */
.tm-video-label { position: absolute; z-index: 1; left: 50%; top: calc(50% + 52px); transform: translateX(-50%); padding: .3rem .8rem; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; font-size: .85rem; font-weight: 500; white-space: nowrap; pointer-events: none; }
.tm-video.is-playing .tm-video-label { display: none; }
.tm-video-caption { color: #cbd5e1; font-size: .9rem; line-height: 1.5; }
.tm-hero-grid.is-compact .tm-hero-media { align-content: end; }
.tm-video-section { position: relative; padding: 3rem 0; color: #fff; background: linear-gradient(115deg, #08121f 0%, #0c1a2c 55%, #10243a 100%); overflow: hidden; }
.tm-video-section::before { content: ""; position: absolute; inset: 0; background: url("../img/hero-candles.svg") center / cover no-repeat; opacity: .5; pointer-events: none; }
.tm-video-section-grid { position: relative; display: grid; gap: 1.75rem; align-items: center; }
.tm-video-section-copy { display: grid; gap: 1rem; justify-items: start; }
.tm-video-section-title { font-size: clamp(1.8rem, 6vw, 2.8rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.tm-video-section-title .tm-accent { color: var(--tm-green-light); }
.tm-video-section-text { color: #cbd5e1; font-size: 1.02rem; max-width: 34rem; }
.tm-video-section-btn { background: var(--tm-secondary); }
.tm-video-section-btn:hover { background: var(--tm-secondary-dark); }

/* Sections */
.tm-section { padding: 3.25rem 0; }
.tm-section-tint, .tm-plans-section { background: #f4f8fb; }
.tm-section-head { text-align: center; max-width: 760px; margin: 0 auto 2rem; }
.tm-section-head.is-left { text-align: left; margin-left: 0; }
.tm-eyebrow { font-size: .82rem; letter-spacing: .16em; font-weight: 500; color: var(--tm-ink-2); text-transform: uppercase; margin-bottom: .55rem; }
.tm-section-title { font-size: clamp(1.7rem, 5.5vw, 2.35rem); font-weight: 700; letter-spacing: -.02em; }
.tm-section-sub { margin-top: .6rem; color: var(--tm-ink-2); }

/* Plans */
.tm-plans-section { padding-top: 2.25rem; }
.tm-plans-grid { display: grid; gap: 1rem; }
.tm-plan { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-line); border-radius: 16px; padding: 1.25rem; box-shadow: var(--tm-shadow); background-image: linear-gradient(180deg, color-mix(in srgb, var(--c-soft) 45%, #fff), #fff 40%); }
.tm-plan.is-featured { border-width: 2px; border-color: var(--c); }
.tm-plan-head { display: flex; align-items: center; gap: 1rem; }
.tm-plan-icon { width: 56px; height: 56px; flex: none; border-radius: 50%; background: var(--c); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.tm-plan-icon .ic { width: 26px; height: 26px; }
.tm-plan-name { font-size: 1.35rem; font-weight: 700; }
.tm-plan-tagline { font-size: .88rem; color: var(--tm-ink-2); }
.tm-plan-price { text-align: center; margin: 1.1rem 0 1rem; }
.tm-plan-amount { font-size: 2.1rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.tm-plan-period { font-size: 1rem; font-weight: 400; color: var(--tm-ink-2); letter-spacing: 0; }
.tm-plan-sub { color: var(--tm-ink-2); font-size: .95rem; margin-top: .35rem; }
.tm-plan-features { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: .45rem; flex: 1; align-content: start; }
.tm-plan-features li { display: flex; align-items: flex-start; gap: .6rem; font-size: .95rem; color: var(--tm-ink-2); }
.tm-plan-features .ic { color: var(--c); margin-top: .12rem; width: 1.05em; height: 1.05em; stroke-width: 2.6; }
.tm-plan-cta { margin-top: auto; }

/* Feature strip */
.tm-strip { list-style: none; margin: 1.5rem 0 0; padding: 1rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .75rem; background: #fff; border-radius: 16px; box-shadow: var(--tm-shadow); }
.tm-strip-item { display: flex; align-items: center; gap: .65rem; font-size: .88rem; line-height: 1.3; color: var(--tm-ink-2); min-width: 0; }
.tm-strip-icon { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--c); color: #fff; display: inline-flex; align-items: center; justify-content: center; }

/* About */
.tm-about { display: grid; gap: 2rem; align-items: center; }
.tm-about-text { display: grid; gap: 1rem; color: var(--tm-ink-2); }
.tm-about-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.tm-about-card { padding: 1.25rem; border-radius: var(--tm-radius); background: #fff; border: 1px solid var(--tm-line); box-shadow: var(--tm-shadow); }
.tm-about-card h3 { font-size: 1.1rem; margin: .8rem 0 .35rem; }
.tm-about-card p { color: var(--tm-ink-2); font-size: .93rem; }
.tm-about-icon, .tm-step-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--c-soft); color: var(--c); display: inline-flex; align-items: center; justify-content: center; }

/* Steps */
.tm-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: step; }
.tm-step { position: relative; padding: 1.5rem 1.25rem 1.25rem; background: #fff; border-radius: var(--tm-radius); border: 1px solid var(--tm-line); box-shadow: var(--tm-shadow); }
.tm-step-num { position: absolute; top: 1rem; right: 1.1rem; font-size: 2.2rem; font-weight: 800; color: var(--c-soft); line-height: 1; }
.tm-step h3 { font-size: 1.1rem; margin: .9rem 0 .35rem; }
.tm-step p { color: var(--tm-ink-2); font-size: .93rem; }

/* Results */
.tm-stats { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.tm-stat { padding: 1.25rem 1rem; text-align: center; border-radius: var(--tm-radius); background: var(--c-soft); border: 1px solid var(--c-line); }
.tm-stat strong { display: block; font-size: 1.9rem; font-weight: 800; color: var(--c-dark); letter-spacing: -.02em; }
.tm-stat span { font-size: .9rem; color: var(--tm-ink-2); }
.tm-testimonials { display: grid; gap: 1rem; }
.tm-testimonial { position: relative; margin: 0; padding: 1.4rem; border-radius: var(--tm-radius); background: #fff; border: 1px solid var(--tm-line); box-shadow: var(--tm-shadow); display: grid; gap: .8rem; }
.tm-testimonial-quote { position: absolute; top: 1.1rem; right: 1.2rem; width: 30px; height: 30px; color: var(--tm-green-soft); }
.tm-testimonial blockquote { margin: 0; color: var(--tm-ink-2); }
.tm-testimonial figcaption { display: flex; align-items: center; gap: .7rem; }
.tm-testimonial figcaption small { display: block; color: var(--tm-muted); font-size: .82rem; }
.tm-stars { display: flex; gap: .15rem; color: #cbd5e1; }
.tm-stars .ic { width: 18px; height: 18px; }
.tm-stars .is-on { color: #f5a524; fill: #f5a524; }
.tm-avatar { width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--tm-green-soft); color: var(--tm-green-dark); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }

/* Contact */
.tm-contact { display: grid; gap: 2rem; }
.tm-contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.tm-contact-list li { display: flex; align-items: center; gap: .8rem; color: var(--tm-ink-2); word-break: break-word; }
.tm-contact-icon { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--tm-green-soft); color: var(--tm-green); display: inline-flex; align-items: center; justify-content: center; }

/* Footer */
.tm-footer { background: var(--tm-navy); color: #b6c2d2; padding-top: 3rem; font-size: .93rem; }
.tm-footer-grid { display: grid; gap: 2rem; padding-bottom: 2rem; }
.tm-footer-about p { margin-top: 1rem; max-width: 26rem; }
.tm-footer-title { color: #fff; font-size: 1rem; margin-bottom: .9rem; }
.tm-footer-links, .tm-footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.tm-footer-links a:hover, .tm-footer-contact a:hover { color: #fff; }
.tm-footer-contact li { display: flex; gap: .6rem; align-items: flex-start; word-break: break-word; }
.tm-footer-contact .ic { margin-top: .15rem; color: var(--tm-green-light); }
.tm-disclaimer { font-size: .8rem; line-height: 1.6; padding: 1rem 0; border-top: 1px solid rgba(255, 255, 255, .08); color: #8696ab; }
.tm-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 1.1rem 0; font-size: .85rem; color: #8696ab; }

/* Inner pages */
.tm-page-hero { background: linear-gradient(115deg, #08121f, #10243a); color: #fff; padding: 2.25rem 0; position: relative; overflow: hidden; }
.tm-page-hero::before { content: ""; position: absolute; inset: 0; background: url("../img/hero-candles.svg") center / cover no-repeat; opacity: .5; }
.tm-page-hero .tm-container { position: relative; }
.tm-page-hero h1 { font-size: clamp(1.7rem, 6vw, 2.5rem); }
.tm-page-hero p { color: #cbd5e1; margin-top: .4rem; }
.tm-crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .85rem; color: #94a3b8; margin-bottom: .6rem; }
.tm-crumbs a:hover { color: #fff; }
.tm-page-body { padding: 2rem 0 3.5rem; background: #f4f8fb; }
.tm-prose { color: var(--tm-ink-2); line-height: 1.75; }
.tm-prose h2, .tm-prose h3 { color: var(--tm-ink); margin: 1.6rem 0 .6rem; }
.tm-prose p, .tm-prose ul, .tm-prose ol { margin: 0 0 1rem; }
.tm-prose a { color: var(--tm-green); text-decoration: underline; }
.tm-prose h4 { color: var(--tm-ink); margin: 1.2rem 0 .4rem; }
.tm-prose blockquote { margin: 0 0 1rem; padding: .6rem 1rem; border-left: 3px solid var(--tm-line); background: #f8fafc; }
.tm-prose img { max-width: 100%; height: auto; border-radius: 8px; }
.tm-prose hr { border: 0; border-top: 1px solid var(--tm-line); margin: 1.5rem 0; }
.tm-prose pre { margin: 0 0 1rem; padding: .8rem 1rem; border-radius: 8px; background: #0f172a; color: #e2e8f0; overflow-x: auto; font-size: .85rem; }
.tm-prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; }
.tm-prose table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 0 0 1rem; }
.tm-prose th, .tm-prose td { border: 1px solid var(--tm-line); padding: .5rem .7rem; text-align: left; vertical-align: top; }
.tm-prose th { background: #f8fafc; color: var(--tm-ink); font-weight: 600; }

/* Checkout */
.tm-checkout { display: grid; gap: 1.25rem; align-items: start; }
.tm-summary { position: relative; }
.tm-summary-plan { display: flex; align-items: center; gap: .9rem; padding-bottom: 1rem; border-bottom: 1px dashed var(--tm-line); }
.tm-summary-rows { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .55rem; font-size: .95rem; }
.tm-summary-rows li { display: flex; justify-content: space-between; gap: 1rem; color: var(--tm-ink-2); }
.tm-summary-rows .is-discount { color: var(--tm-green-dark); }
.tm-summary-rows .is-total { padding-top: .7rem; border-top: 1px solid var(--tm-line); font-weight: 700; font-size: 1.15rem; color: var(--tm-ink); }
.tm-summary-features { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .4rem; font-size: .9rem; color: var(--tm-ink-2); }
.tm-summary-features li { display: flex; gap: .5rem; }
.tm-summary-features .ic { color: var(--c); width: 1em; height: 1em; margin-top: .2rem; }
.tm-step-title { font-size: 1.15rem; margin-bottom: 1rem; display: flex; align-items: center; gap: .55rem; }
.tm-step-badge { width: 28px; height: 28px; border-radius: 50%; background: var(--tm-green); color: #fff; font-size: .85rem; display: inline-flex; align-items: center; justify-content: center; }
.tm-promo { display: flex; gap: .5rem; }
.tm-promo .tm-input { flex: 1; min-width: 0; text-transform: uppercase; }
.tm-secure { display: flex; align-items: center; justify-content: center; gap: .4rem; margin-top: .9rem; font-size: .82rem; color: var(--tm-muted); }
.tm-plan-switch { display: grid; gap: .6rem; }
.tm-plan-option { display: flex; align-items: center; gap: .75rem; padding: .8rem .9rem; border: 1px solid var(--tm-line); border-radius: 12px; background: #fff; }
.tm-plan-option.is-current { border-color: var(--c); background: var(--c-soft); }
.tm-plan-option-icon { width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--c); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.tm-plan-option-name { flex: 1; min-width: 0; font-weight: 600; }
.tm-plan-option-name small { display: block; font-weight: 400; color: var(--tm-muted); font-size: .8rem; }
.tm-plan-option-price { font-weight: 700; }

/* Payment / result */
.tm-result { max-width: 560px; margin: 0 auto; text-align: center; }
.tm-result-icon { width: 76px; height: 76px; margin: 0 auto 1rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--c-soft); color: var(--c); }
.tm-result-icon .ic { width: 40px; height: 40px; }
.tm-result h1 { font-size: 1.6rem; }
.tm-result-text { color: var(--tm-ink-2); margin: .5rem 0 1.5rem; }
.tm-result-actions { display: grid; gap: .6rem; margin-top: 1.25rem; }
.tm-kv { list-style: none; margin: 1.25rem 0 0; padding: 0; text-align: left; display: grid; gap: .5rem; font-size: .93rem; }
.tm-kv li { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .5rem; border-bottom: 1px solid var(--tm-line-2); }
.tm-kv span { color: var(--tm-muted); }
.tm-kv strong { text-align: right; word-break: break-word; }
.tm-test-banner { display: flex; gap: .5rem; align-items: flex-start; text-align: left; }

/* Auth */
.tm-auth { min-height: calc(100vh - 64px); display: grid; place-items: center; padding: 2rem 16px; background: #f4f8fb; }
.tm-auth-card { width: 100%; max-width: 440px; }
.tm-auth-card h1 { font-size: 1.6rem; margin-bottom: .35rem; }
.tm-auth-sub { color: var(--tm-muted); margin-bottom: 1.5rem; }
.tm-auth-alt { text-align: center; margin-top: 1.25rem; color: var(--tm-muted); font-size: .93rem; }
.tm-auth-alt a { color: var(--tm-green); font-weight: 600; }

/* Account */
.tm-account { display: grid; gap: 1rem; }
.tm-sub { display: grid; gap: 1rem; }
.tm-sub-head { display: flex; align-items: center; gap: .9rem; }
.tm-sub-head > div { flex: 1; min-width: 0; }
.tm-sub-head h3 { font-size: 1.15rem; }
.tm-sub-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.tm-sub-meta div { background: var(--tm-bg); border-radius: 10px; padding: .7rem .8rem; }
.tm-sub-meta span { display: block; font-size: .78rem; color: var(--tm-muted); }
.tm-sub-meta strong { font-size: .95rem; }
.tm-sub-actions { display: grid; gap: .6rem; }
.tm-status { display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .65rem; border-radius: 999px; font-size: .78rem; font-weight: 600; }
.tm-status-active, .tm-status-paid { background: var(--tm-green-soft); color: var(--tm-green-dark); }
.tm-status-expired, .tm-status-failed, .tm-status-cancelled { background: var(--tm-red-soft); color: var(--tm-red); }
.tm-status-pending { background: var(--tm-orange-soft); color: #b45d04; }
.tm-empty { text-align: center; padding: 2.5rem 1rem; color: var(--tm-muted); }
.tm-empty .ic { width: 44px; height: 44px; margin: 0 auto .75rem; color: #cbd5e1; }
.tm-table-wrap { overflow-x: auto; }
.tm-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 520px; }
.tm-table th, .tm-table td { text-align: left; padding: .7rem .6rem; border-bottom: 1px solid var(--tm-line-2); white-space: nowrap; }
.tm-table th { color: var(--tm-muted); font-weight: 500; font-size: .82rem; }

/* ---------- ≥ 640px ---------- */
@media (min-width: 640px) {
  .tm-container { padding: 0 24px; }
  .tm-grid-2 { grid-template-columns: 1fr 1fr; }
  .tm-plans-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tm-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 1.25rem 1.5rem; }
  .tm-about-cards, .tm-steps, .tm-testimonials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tm-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tm-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tm-sub-meta { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tm-sub-actions, .tm-result-actions { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
  .tm-card { padding: 1.6rem; }
}

/* ---------- ≥ 1024px ---------- */
@media (min-width: 1024px) {
  .tm-header-inner { min-height: 72px; }
  .tm-nav-toggle { display: none; }
  .tm-nav { display: flex; flex: 1; align-items: center; justify-content: space-between; position: static; padding: 0; border: 0; box-shadow: none; background: transparent; margin-left: 2.5rem; }
  .tm-nav-list { display: flex; gap: 1.9rem; margin: 0 auto; }
  .tm-nav-link { padding: .4rem 0; border: 0; color: var(--tm-ink); font-size: .95rem; }
  .tm-nav-actions { display: flex; margin: 0; gap: .9rem; }
  .tm-nav-actions .tm-btn { min-width: 90px; }
  .tm-nav-actions .tm-btn-primary { min-width: 124px; }

  .tm-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: 3rem; padding-top: 2rem; padding-bottom: 2rem; }
  .tm-hero-points { grid-template-columns: repeat(3, max-content); gap: 1.8rem; }
  .tm-hero-grid.is-compact { padding-top: 3rem; padding-bottom: 3rem; }
  .tm-video-section { padding: 4.5rem 0; }
  .tm-video-section-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 3rem; }

  .tm-section { padding: 4.5rem 0; }
  .tm-plans-section { padding-top: 2.1rem; padding-bottom: 1.5rem; }
  .tm-plans-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
  .tm-strip { grid-template-columns: repeat(6, minmax(0, 1fr)); padding: 1.25rem 2rem; }
  .tm-about { grid-template-columns: 1fr 1.1fr; gap: 3rem; }
  .tm-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tm-testimonials { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tm-contact { grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
  .tm-footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }
  .tm-checkout { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1.5rem; }
  .tm-summary { position: sticky; top: 92px; }
  .tm-account { grid-template-columns: 280px minmax(0, 1fr); align-items: start; gap: 1.5rem; }
}

@media (min-width: 1280px) {
  .tm-plan { padding: 1.4rem 1.4rem 1.25rem; }
}

/* Utilities */
.tm-mt { margin-top: 1rem; }
.tm-small { font-size: .88rem; }
.tm-stack { display: grid; gap: 1rem; min-width: 0; }
.tm-divider { padding-bottom: 1.25rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--tm-line); }
.tm-row-between { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.tm-checkout form + .tm-hint, .tm-card > .tm-hint + form, .tm-summary form.tm-field { margin-top: 1rem; }
.tm-card .tm-kv + .tm-field, .tm-card .tm-kv + .tm-check { margin-top: 1.25rem; }
.tm-check + .tm-btn, .tm-check + .tm-error + .tm-btn, form .tm-check ~ button[type="submit"] { margin-top: 1.25rem; }
.tm-plan-switch-wrap { margin-top: 1.25rem; }
.tm-empty .tm-btn { margin-top: 1rem; }
.tm-test-banner { margin-top: 1.25rem; }

/* Page preview bar */
.tm-preview-bar { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .6rem 16px; background: var(--tm-orange-soft); color: #9a5203; font-size: .88rem; font-weight: 500; text-align: center; }

/* Coming soon / maintenance */
.tm-soon { background: var(--tm-navy); color: #fff; }
.tm-soon-main { position: relative; min-height: 100vh; display: grid; place-items: center; padding: 2rem 16px; background: radial-gradient(120% 90% at 85% 10%, rgba(242, 166, 72, .16), transparent 55%), linear-gradient(115deg, #08121f 0%, #0c1a2c 55%, #10243a 100%); overflow: hidden; }
.tm-soon-main::before { content: ""; position: absolute; inset: 0; background: url("../img/hero-candles.svg") center / cover no-repeat; opacity: .6; pointer-events: none; }
.tm-soon-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .25; }
.tm-soon-card { position: relative; width: 100%; max-width: 640px; display: grid; gap: 1rem; justify-items: center; text-align: center; }
.tm-soon-title { font-size: clamp(2.2rem, 9vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; margin-top: 1rem; }
.tm-soon-sub { color: var(--tm-green-light); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; }
.tm-soon-body { color: #cbd5e1; }
.tm-soon-body h2, .tm-soon-body h3 { color: #fff; }
.tm-soon-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.tm-soon-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.tm-soon-outline:hover { border-color: #fff; }
.tm-soon-ghost { color: #cbd5e1; }
.tm-soon-ghost:hover { background: rgba(255, 255, 255, .08); }

/* Announcement bar link & public announcement */
.tm-announce-link { color: #fff; font-weight: 600; text-decoration: underline; margin-left: .3rem; }
.tm-announce-img { width: 100%; max-height: 380px; object-fit: cover; border-radius: 12px; margin-bottom: 1.25rem; }
.tm-announce-lead { font-size: 1.1rem; color: var(--tm-ink); margin-bottom: 1rem; }

/* Two-step login */
.tm-code-input { font-size: 1.6rem; letter-spacing: .5em; text-align: center; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.tm-link-btn { background: none; border: 0; padding: 0; color: var(--tm-green); font-weight: 600; cursor: pointer; font-size: .93rem; }
.tm-link-btn:hover { text-decoration: underline; }

/* Hero banner image and buttons */
.tm-hero-banner { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tm-hero.has-banner::before { background: linear-gradient(90deg, rgba(8, 18, 31, .94) 0%, rgba(8, 18, 31, .78) 45%, rgba(8, 18, 31, .35) 100%); opacity: 1; }
.tm-hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.tm-hero-btn-alt { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .35); color: #fff; }
.tm-hero-btn-alt:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }

/* Dark theme (Settings → Website → Website Theme) */
.tm-theme-dark { background: #0b1422; color: #e2e8f0; --tm-ink: #f1f5f9; --tm-ink-2: #cbd5e1; --tm-muted: #94a3b8; --tm-line: #22324a; --tm-line-2: #1a283c; --tm-bg: #101c2e; }
.tm-theme-dark .tm-header, .tm-theme-dark .tm-nav { background: #0e1a2b; border-color: #1a283c; }
.tm-theme-dark .tm-nav-link { color: #e2e8f0; }
.tm-theme-dark .tm-brand { color: #fff; }
.tm-theme-dark .tm-nav-toggle, .tm-theme-dark .tm-btn-outline { background: transparent; color: #e2e8f0; border-color: #33465f; }
.tm-theme-dark .tm-section-tint, .tm-theme-dark .tm-plans-section, .tm-theme-dark .tm-page-body, .tm-theme-dark .tm-auth { background: #0e1a2b; }
.tm-theme-dark .tm-card, .tm-theme-dark .tm-plan, .tm-theme-dark .tm-strip, .tm-theme-dark .tm-about-card, .tm-theme-dark .tm-step, .tm-theme-dark .tm-testimonial, .tm-theme-dark .tm-faq, .tm-theme-dark .tm-plan-option { background: #13233a; border-color: #22324a; box-shadow: none; }
.tm-theme-dark .tm-plan { background-image: none; }
.tm-theme-dark .tm-input, .tm-theme-dark .tm-select, .tm-theme-dark .tm-textarea { background: #0e1a2b; border-color: #33465f; color: #f1f5f9; }
.tm-theme-dark .tm-kv li { border-color: #22324a; }

/* Checkout payment method choice */
.tm-pay-options { border: 0; padding: 0; margin: 0 0 1rem; display: grid; gap: .55rem; }
.tm-pay-options legend { margin-bottom: .55rem; }
.tm-pay-option { display: flex; align-items: center; gap: .7rem; padding: .7rem .85rem; border: 1px solid var(--tm-line); border-radius: 12px; cursor: pointer; font-weight: 500; }
.tm-pay-option:has(input:checked) { border-color: var(--tm-green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tm-green) 18%, transparent); }
.tm-pay-option input { width: 18px; height: 18px; accent-color: var(--tm-green); flex: none; }
@media (min-width: 640px) {
  .tm-pay-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tm-pay-options legend { grid-column: 1 / -1; }
}

/* Manual / offline payment */
.tm-manual-pay { text-align: left; display: grid; gap: 1rem; margin-top: 1.25rem; }
.tm-manual-steps { white-space: pre-line; padding: 1rem; border-radius: 12px; background: var(--tm-line-2); font-size: .92rem; overflow-wrap: anywhere; }
.tm-manual-form { display: grid; gap: .25rem; }

/* 2FA fallback: security questions */
.tm-auth-questions { margin-top: 1.25rem; border-top: 1px solid var(--tm-line); padding-top: 1rem; }
.tm-auth-questions summary { cursor: pointer; color: var(--tm-green); font-weight: 500; font-size: .9rem; }
.tm-auth-questions form { margin-top: 1rem; }
.tm-avatar-photo { object-fit: cover; padding: 0; }
