
:root {
  --tf-bg: #f7f7fb;
  --tf-card: #ffffff;
  --tf-text: #151827;
  --tf-muted: #62697a;
  --tf-border: #e8e9f1;
  --tf-accent: #5c5cff;
  --tf-accent-2: #00a88f;
  --tf-soft: #eef0ff;
  --tf-soft-green: #eaf8f3;
  --tf-warn: #fff7df;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; color: var(--tf-text); background: var(--tf-bg); line-height: 1.65; }
a { color: var(--tf-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
.site-header { background: rgba(255,255,255,.92); border-bottom: 1px solid var(--tf-border); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(10px); }
.site-header__inner { max-width: 1280px; min-height: 64px; margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.tf-site-brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; color: var(--tf-text); text-decoration: none; }
.tf-site-brand:hover { text-decoration: none; }
.tf-site-brand__logo { width: 36px; height: 36px; border-radius: 12px; flex: 0 0 auto; }
.tf-site-brand__copy { display: grid; line-height: 1.12; }
.tf-site-brand__copy strong { font-size: 15px; font-weight: 800; letter-spacing: -.03em; }
.tf-site-brand__copy span { margin-top: 3px; color: var(--tf-muted); font-size: 12px; font-weight: 500; }
.nav { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; font-size: 14px; }
.nav a { color: #475569; }
.nav a:hover { color: var(--tf-text); text-decoration: none; }
.site-header__actions { display: flex; align-items: center; gap: 12px; min-width: max-content; }
.nav__login { font-weight: 700; }
.site-header__cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 16px; background: #020617; padding: 10px 16px; color: #fff !important; font-weight: 800; white-space: nowrap; box-shadow: 0 10px 26px rgba(15, 23, 42, .12); }
.site-header__cta:hover { background: #1e293b; color: #fff !important; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 16px; border-radius: 14px; font-weight: 700; border: 1px solid var(--tf-border); color: var(--tf-text); background: #fff; }
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--tf-accent); color: #fff; border-color: var(--tf-accent); }
.btn--secondary { background: var(--tf-soft); color: var(--tf-accent); border-color: transparent; }
.btn--dark { background: #020617; color: #fff; border-color: #020617; }
.btn--dark:hover { background: #1e293b; }
.article-shell { max-width: 1120px; margin: 0 auto; padding: 32px 24px 72px; }
.breadcrumbs { font-size: 14px; color: var(--tf-muted); margin-bottom: 18px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 28px; align-items: center; margin-bottom: 34px; }
.hero__copy, .content-card, .cta-box, .note, .faq-item, .seo-box { background: var(--tf-card); border: 1px solid var(--tf-border); border-radius: 24px; box-shadow: 0 18px 45px rgba(24, 27, 45, .05); }
.hero__copy { padding: 32px; }
.hero__image { overflow: hidden; border-radius: 24px; border: 1px solid var(--tf-border); box-shadow: 0 18px 45px rgba(24, 27, 45, .08); background: #fff; }
.hero__image img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 11; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.badge { background: var(--tf-soft); color: var(--tf-accent); border-radius: 999px; padding: 5px 10px; font-size: 13px; font-weight: 700; }
.badge--green { background: var(--tf-soft-green); color: var(--tf-accent-2); }
h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.05; letter-spacing: -.05em; margin: 0 0 18px; }
h2 { font-size: clamp(25px, 3vw, 34px); line-height: 1.2; letter-spacing: -.035em; margin: 44px 0 16px; }
h3 { font-size: 22px; line-height: 1.25; letter-spacing: -.02em; margin: 28px 0 10px; }
h4 { font-size: 18px; margin: 20px 0 8px; }
p { margin: 0 0 16px; }
ul, ol { margin: 0 0 18px 20px; padding: 0; }
li { margin: 6px 0; }
.lead { font-size: 19px; color: #34394b; }
.meta-row { color: var(--tf-muted); font-size: 14px; display: flex; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 28px; align-items: start; }
.content-card { padding: 34px; }
.aside { position: sticky; top: 86px; display: grid; gap: 16px; }
.toc, .mini-cta { background: #fff; border: 1px solid var(--tf-border); border-radius: 20px; padding: 18px; }
.toc strong, .mini-cta strong { display: block; margin-bottom: 10px; }
.toc a, .mini-cta a:not(.btn) { display: block; padding: 6px 0; color: var(--tf-muted); font-size: 14px; }
.cta-box { margin: 28px 0; padding: 24px; background: linear-gradient(135deg, #f4f5ff, #ffffff 60%); }
.cta-box h2, .cta-box h3 { margin-top: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.note { padding: 18px 20px; margin: 22px 0; background: var(--tf-warn); box-shadow: none; }
.note--green { background: var(--tf-soft-green); }
.table-wrap { overflow-x: auto; margin: 18px 0 24px; border: 1px solid var(--tf-border); border-radius: 18px; }
table { width: 100%; border-collapse: collapse; background: #fff; min-width: 640px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--tf-border); vertical-align: top; }
th { background: #f3f4fb; font-size: 14px; }
tr:last-child td { border-bottom: 0; }
.figure { margin: 24px 0; }
.figure img { border-radius: 18px; border: 1px solid var(--tf-border); background: #fff; }
figcaption { color: var(--tf-muted); font-size: 13px; margin-top: 8px; }
.checklist { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin: 20px 0; }
.checklist div { background: #fff; border: 1px solid var(--tf-border); border-radius: 16px; padding: 14px 16px; }
.faq-item { padding: 20px; margin: 14px 0; box-shadow: none; }
.faq-item h3 { margin-top: 0; }
.seo-box { padding: 18px; margin-top: 24px; font-size: 14px; color: var(--tf-muted); box-shadow: none; }
.site-footer { border-top: 1px solid var(--tf-border); padding: 0 24px; color: var(--tf-muted); background: #fff; }
.site-footer__inner { max-width: 1120px; margin: 0 auto; padding: 34px 0; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(180px, .8fr) minmax(220px, .9fr); gap: 28px; }
.site-footer__brand-block p { max-width: 580px; margin: 14px 0 0; }
.site-footer__brand-row { display: flex; align-items: center; gap: 12px; color: var(--tf-text); }
.site-footer__brand-row strong { display: block; font-size: 15px; line-height: 1.2; }
.site-footer__brand-row span { display: block; margin-top: 3px; color: var(--tf-muted); font-size: 12px; }
.site-footer__logo { width: 36px; height: 36px; border-radius: 12px; flex: 0 0 auto; }
.site-footer__meta, .site-footer__developer { font-size: 14px; }
.site-footer a { color: #334155; text-decoration: underline; text-decoration-color: rgba(51, 65, 85, .25); text-underline-offset: 4px; }
.site-footer a:hover { color: var(--tf-accent); text-decoration-color: currentColor; }
.site-footer__nav { display: grid; align-content: start; gap: 8px; font-size: 14px; }
.site-footer__nav strong { display: block; margin-bottom: 4px; color: var(--tf-text); font-size: 15px; }
.site-footer__nav a { color: var(--tf-muted); text-decoration: none; }
.site-footer__nav a:hover { color: var(--tf-text); text-decoration: none; }
@media (max-width: 1120px) {
  .nav { display: none; }
}

@media (max-width: 900px) {
  .hero, .content-layout { grid-template-columns: 1fr; }
  .aside { position: static; }
  .checklist { grid-template-columns: 1fr; }
  .site-header__inner { align-items: center; }
  .tf-site-brand__copy span, .nav__login { display: none; }
}

@media (max-width: 520px) {
  .site-header__inner { padding-inline: 16px; }
  .site-header__cta { padding-inline: 12px; }
}

/* Static landing blog additions */
.tf-landing-bridge { margin: 0 0 34px; background: linear-gradient(135deg, #151827, #3134d8); color: #fff; border-radius: 28px; padding: 30px; box-shadow: 0 24px 70px rgba(37, 43, 84, .18); }
.tf-landing-bridge > .badge { display: inline-flex; width: auto; margin: 0 0 14px; background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.22); }
.tf-landing-bridge h2 { margin: 0 0 12px; color: #fff; }
.tf-landing-bridge p { color: rgba(255,255,255,.9); }
.tf-landing-bridge__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 22px 0; }
.tf-landing-bridge__card { border: 1px solid rgba(255,255,255,.18); border-radius: 20px; padding: 18px; background: rgba(255,255,255,.08); }
.tf-landing-bridge__card strong { display: block; margin-bottom: 8px; color: #fff; }
.tf-landing-bridge .btn--secondary { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.24); }
.tf-blog-sticky-cta { margin: 34px 0 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px; background: linear-gradient(135deg, #151827, #3134d8); color: #fff; border-radius: 24px; padding: 22px; box-shadow: 0 18px 45px rgba(24, 27, 45, .14); }
.tf-blog-sticky-cta strong { display: block; font-size: 20px; line-height: 1.25; margin-bottom: 4px; }
.tf-blog-sticky-cta p { margin: 0; color: rgba(255,255,255,.78); }
.tf-blog-sticky-cta .btn--secondary { background: #fff; color: #151827; }
.tf-blog-list-shell { max-width: 1120px; margin: 0 auto; padding: 34px 24px 72px; }
.tf-blog-hero { background: linear-gradient(135deg, #f4f5ff, #ffffff 62%); border: 1px solid var(--tf-border); border-radius: 30px; padding: 34px; box-shadow: 0 18px 45px rgba(24, 27, 45, .06); }
.tf-blog-hero h1 { max-width: 880px; }
.tf-blog-hero .lead { max-width: 820px; }
.tf-blog-filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.tf-blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.tf-blog-card { background: #fff; border: 1px solid var(--tf-border); border-radius: 24px; overflow: hidden; box-shadow: 0 18px 45px rgba(24, 27, 45, .05); display: flex; flex-direction: column; min-height: 100%; }
.tf-blog-card:hover { transform: translateY(-2px); box-shadow: 0 22px 54px rgba(24, 27, 45, .1); }
.tf-blog-card__image { aspect-ratio: 16 / 9; background: #eef0ff; overflow: hidden; }
.tf-blog-card__image img { width: 100%; height: 100%; object-fit: cover; }
.tf-blog-card__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tf-blog-card__meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--tf-muted); font-size: 13px; }
.tf-blog-card h2, .tf-blog-card h3 { margin: 0; font-size: 21px; line-height: 1.25; letter-spacing: -.02em; }
.tf-blog-card p { margin: 0; color: var(--tf-muted); }
.tf-blog-card__link { margin-top: auto; font-weight: 800; color: var(--tf-accent); }
.tf-blog-schedule { margin-top: 34px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.tf-blog-schedule__card { background: #fff; border: 1px solid var(--tf-border); border-radius: 24px; padding: 24px; box-shadow: 0 18px 45px rgba(24, 27, 45, .05); }
.tf-blog-schedule__card h2, .tf-blog-schedule__card h3 { margin-top: 0; }

.tf-blog-pagination { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; margin: 26px 0 0; }
.tf-blog-pagination a, .tf-blog-pagination span { min-width: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--tf-border); border-radius: 999px; padding: 10px 14px; background: #fff; color: var(--tf-text); font-weight: 800; text-decoration: none; }
.tf-blog-pagination a:hover { border-color: var(--tf-accent); color: var(--tf-accent); text-decoration: none; }
.tf-blog-pagination [aria-current="page"] { background: var(--tf-accent); border-color: var(--tf-accent); color: #fff; }
.tf-blog-pagination__ellipsis { min-width: auto; border-color: transparent !important; background: transparent !important; color: var(--tf-muted) !important; }
.tf-blog-pagination-note { margin-top: 12px; color: var(--tf-muted); text-align: center; font-size: 14px; }
.tf-import-conversion-shell { padding-top: 0; }

@media (max-width: 960px) {
  .tf-landing-bridge__grid, .tf-blog-grid, .tf-blog-schedule, .site-footer__inner { grid-template-columns: 1fr; }
  .tf-blog-sticky-cta { grid-template-columns: 1fr; }
}
