
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family:'PT Sans','Helvetica Neue',Arial,sans-serif;
  background:#ffffff;
  color:#1f2937;
  font-size:16px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
a{color:#0c4a6e;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px;transition:color .14s}
a:hover{color:#075985}
img{max-width:100%;height:auto;display:block}
h1,h2,h3,h4,h5,h6{
  font-family:'PT Sans','Helvetica Neue',Arial,sans-serif;
  font-weight:700;
  color:#0c4a6e;
  line-height:1.25;
  letter-spacing:-.005em;
}
strong{font-weight:700;color:#1f2937}

.tfl-skip{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.tfl-skip:focus{position:static;width:auto;height:auto;background:#fbbf24;color:#1f2937;padding:8px 16px;display:inline-block}

/* ===== TOP BAR — info strip ===== */
.tfl-top{background:#0c4a6e;color:#e0f2fe;font-size:13px;font-weight:400}
.tfl-top-inner{max-width:1180px;margin:0 auto;padding:8px 24px;display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}
.tfl-top-left{display:flex;gap:18px;align-items:center;color:#bae6fd}
.tfl-top-left span{display:inline-flex;align-items:center;gap:6px}
.tfl-top-right{color:#fde68a;font-weight:700;letter-spacing:.03em}

/* ===== HEADER ===== */
.tfl-header{background:#ffffff;border-bottom:1px solid #e5e7eb;position:sticky;top:0;z-index:50}
.tfl-header-inner{max-width:1180px;margin:0 auto;padding:18px 24px;display:flex;justify-content:space-between;align-items:center;gap:32px}
.tfl-logo{display:flex;align-items:center;gap:14px;text-decoration:none}
.tfl-logo-mark{width:44px;height:44px;flex-shrink:0;display:flex;align-items:center;justify-content:center;background:#0c4a6e;border-radius:6px;position:relative}
.tfl-logo-mark::after{content:"";position:absolute;top:4px;right:4px;width:8px;height:8px;background:#fbbf24;border-radius:1px}
.tfl-logo-mark svg{width:24px;height:24px;color:#ffffff}
.tfl-logo-text{display:flex;flex-direction:column;line-height:1.1}
.tfl-logo-name{font-size:22px;font-weight:700;color:#0c4a6e;letter-spacing:-.01em}
.tfl-logo-sub{font-size:11px;color:#6b7280;margin-top:3px;letter-spacing:.08em;text-transform:uppercase;font-weight:400}
.tfl-header-right{display:flex;align-items:center;gap:24px}
.tfl-phone-block{text-align:right}
.tfl-phone-num{font-size:18px;color:#0c4a6e;font-weight:700;line-height:1.2;display:block;text-decoration:none}
.tfl-phone-num:hover{color:#0c4a6e}
.tfl-phone-sub{font-size:11px;color:#6b7280;display:block;margin-top:2px}

/* ===== NAV ===== */
.tfl-nav{background:#f3f4f6;border-bottom:1px solid #e5e7eb}
.tfl-nav-inner{max-width:1180px;margin:0 auto;padding:0 24px;display:flex;flex-wrap:wrap;gap:0;overflow-x:auto}
.tfl-nav a{
  font-size:14px;
  color:#1f2937;
  padding:13px 18px;
  display:block;
  border-right:1px solid #e5e7eb;
  text-decoration:none;
  font-weight:400;
  white-space:nowrap;
  transition:background .14s,color .14s;
  position:relative;
}
.tfl-nav a:first-child{border-left:1px solid #e5e7eb}
.tfl-nav a:hover{background:#e5e7eb;color:#0c4a6e}
.tfl-nav a.active{background:#ffffff;color:#0c4a6e;font-weight:700;box-shadow:inset 0 -2px 0 #fbbf24}

/* ===== BREADCRUMB ===== */
.tfl-bread{background:#ffffff;border-bottom:1px solid #f3f4f6;font-size:13px}
.tfl-bread-inner{max-width:1180px;margin:0 auto;padding:14px 24px;color:#6b7280}
.tfl-bread a{color:#0c4a6e;text-decoration:none}
.tfl-bread a:hover{text-decoration:underline}
.tfl-bread .sep{margin:0 8px;color:#9ca3af}

/* ===== HERO (HOME) ===== */
.tfl-hero{background:linear-gradient(180deg,#ffffff 0%,#f9fafb 100%);border-bottom:1px solid #e5e7eb;padding:54px 0 50px}
.tfl-hero-inner{max-width:1180px;margin:0 auto;padding:0 24px;display:grid;grid-template-columns:1.4fr 1fr;gap:48px;align-items:center}
.tfl-hero-tag{display:inline-flex;align-items:center;gap:8px;background:#fef3c7;color:#92400e;border:1px solid #fde68a;padding:6px 12px;border-radius:4px;font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;margin-bottom:18px}
.tfl-hero h1{font-size:clamp(28px,3.6vw,42px);line-height:1.15;color:#0c4a6e;margin-bottom:18px;font-weight:700}
.tfl-hero h1 .accent{position:relative;display:inline-block;color:#1f2937}
.tfl-hero h1 .accent::after{content:"";position:absolute;left:0;right:0;bottom:2px;height:8px;background:#fbbf24;opacity:.45;z-index:-1}
.tfl-hero-sub{font-size:17px;color:#374151;margin-bottom:26px;max-width:560px;line-height:1.6}
.tfl-hero-search{display:flex;gap:0;margin-bottom:24px;max-width:560px;border:2px solid #0c4a6e;border-radius:6px;overflow:hidden;background:#fff}
.tfl-hero-search input{flex:1;border:0;padding:13px 16px;font-size:15px;font-family:inherit;color:#1f2937;outline:none;background:transparent}
.tfl-hero-search button{background:#0c4a6e;color:#ffffff;border:0;padding:0 22px;font-size:14px;font-weight:700;cursor:pointer;letter-spacing:.03em;transition:background .14s}
.tfl-hero-search button:hover{background:#075985}
.tfl-hero-meta{display:flex;gap:24px;font-size:13px;color:#6b7280;flex-wrap:wrap}
.tfl-hero-meta strong{color:#0c4a6e;font-weight:700;font-size:15px;display:block}

.tfl-hero-aside{background:#ffffff;border:1px solid #e5e7eb;border-radius:8px;padding:24px;box-shadow:0 1px 3px rgba(15,23,42,.05),0 8px 24px rgba(15,23,42,.05)}
.tfl-hero-aside h3{font-size:14px;color:#0c4a6e;margin-bottom:14px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;display:flex;align-items:center;gap:8px}
.tfl-hero-aside h3::before{content:"";width:14px;height:2px;background:#fbbf24;display:inline-block}
.tfl-hero-aside ol{list-style:none;counter-reset:popular;padding:0}
.tfl-hero-aside ol li{counter-increment:popular;padding:9px 0;border-bottom:1px dashed #e5e7eb;display:flex;align-items:baseline;gap:10px;font-size:14px;line-height:1.45}
.tfl-hero-aside ol li:last-child{border-bottom:0}
.tfl-hero-aside ol li::before{content:counter(popular,decimal-leading-zero);font-size:11px;font-weight:700;color:#fbbf24;font-family:'PT Sans',sans-serif;letter-spacing:.05em;flex-shrink:0}
.tfl-hero-aside ol li a{color:#1f2937;text-decoration:none;flex:1}
.tfl-hero-aside ol li a:hover{color:#0c4a6e;text-decoration:underline}

/* ===== SECTION GENERIC ===== */
.tfl-section{padding:56px 0;background:#ffffff}
.tfl-section.tfl-section-grey{background:#f9fafb;border-top:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb}
.tfl-container{max-width:1180px;margin:0 auto;padding:0 24px}
.tfl-section-head{margin-bottom:32px;max-width:760px}
.tfl-section-head .tfl-eyebrow{font-size:12px;font-weight:700;color:#fbbf24;letter-spacing:.12em;text-transform:uppercase;margin-bottom:10px;display:block}
.tfl-section h2{font-size:clamp(24px,2.6vw,32px);margin-bottom:12px;line-height:1.2}
.tfl-section-head p{font-size:16px;color:#4b5563;line-height:1.65}

/* ===== CATEGORY GRID (home) ===== */
.tfl-cats{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px}
.tfl-cat{background:#ffffff;border:1px solid #e5e7eb;border-radius:8px;padding:24px 22px;text-decoration:none;color:#1f2937;display:block;transition:all .18s;position:relative;overflow:hidden}
.tfl-cat::before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:#fbbf24;opacity:0;transition:opacity .18s}
.tfl-cat:hover{border-color:#0c4a6e;transform:translateY(-2px);box-shadow:0 8px 24px rgba(12,74,110,.08)}
.tfl-cat:hover::before{opacity:1}
.tfl-cat-icon{width:44px;height:44px;background:#e0f2fe;border-radius:6px;display:flex;align-items:center;justify-content:center;margin-bottom:16px;color:#0c4a6e}
.tfl-cat-icon svg{width:24px;height:24px}
.tfl-cat h3{font-size:17px;color:#0c4a6e;margin-bottom:8px;font-weight:700;line-height:1.3}
.tfl-cat p{font-size:13.5px;color:#6b7280;line-height:1.5;margin-bottom:14px}
.tfl-cat-count{font-size:12px;color:#fbbf24;font-weight:700;letter-spacing:.05em;text-transform:uppercase;display:inline-flex;align-items:center;gap:6px}
.tfl-cat-count::after{content:"→";font-size:14px}

/* ===== DOC LIST (category page) ===== */
.tfl-doclist{display:flex;flex-direction:column;gap:0;border:1px solid #e5e7eb;border-radius:8px;overflow:hidden;background:#fff}
.tfl-docrow{display:flex;align-items:flex-start;gap:18px;padding:22px 24px;border-bottom:1px solid #f3f4f6;text-decoration:none;color:#1f2937;transition:background .14s}
.tfl-docrow:last-child{border-bottom:0}
.tfl-docrow:hover{background:#f9fafb}
.tfl-docrow-num{font-size:13px;color:#fbbf24;font-weight:700;font-family:'PT Sans';letter-spacing:.06em;min-width:34px;padding-top:3px}
.tfl-docrow-body{flex:1}
.tfl-docrow h3{font-size:17px;color:#0c4a6e;margin-bottom:5px;font-weight:700;line-height:1.3}
.tfl-docrow-label{font-size:12px;color:#6b7280;font-style:italic;margin-bottom:8px}
.tfl-docrow-snip{font-size:14px;color:#4b5563;line-height:1.55}
.tfl-docrow-arrow{color:#0c4a6e;font-size:18px;flex-shrink:0;padding-top:3px;font-weight:700}

/* ===== DOCUMENT PAGE ===== */
.tfl-doc{padding:48px 0;background:#fff}
.tfl-doc-grid{display:grid;grid-template-columns:1fr 280px;gap:48px;max-width:1180px;margin:0 auto;padding:0 24px}
.tfl-doc-main h1{font-size:clamp(26px,3vw,36px);line-height:1.2;margin-bottom:12px}
.tfl-doc-label{display:inline-block;background:#f3f4f6;color:#0c4a6e;border:1px solid #e5e7eb;padding:6px 14px;border-radius:4px;font-size:13px;font-weight:700;margin-bottom:24px;letter-spacing:.02em}
.tfl-doc-intro{font-size:17px;color:#374151;line-height:1.7;margin-bottom:32px;padding:20px 24px;background:#fef9c3;border-left:4px solid #fbbf24;border-radius:0 6px 6px 0}
.tfl-doc-section{margin-bottom:36px}
.tfl-doc-section h2{font-size:22px;color:#0c4a6e;margin-bottom:14px;padding-bottom:10px;border-bottom:2px solid #f3f4f6;font-weight:700;display:flex;align-items:center;gap:10px}
.tfl-doc-section h2 .tfl-step-num{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;background:#0c4a6e;color:#fff;font-size:13px;border-radius:50%;font-weight:700}
.tfl-doc-section p{font-size:15.5px;color:#374151;line-height:1.7;margin-bottom:12px}
.tfl-doc-section ul,.tfl-doc-section ol{margin:12px 0 12px 8px;padding-left:24px}
.tfl-doc-section ul li,.tfl-doc-section ol li{margin-bottom:8px;font-size:15.5px;color:#374151;line-height:1.65}
.tfl-doc-section ul{list-style:none;padding-left:0}
.tfl-doc-section ul li{padding-left:28px;position:relative}
.tfl-doc-section ul li::before{content:"";position:absolute;left:0;top:9px;width:14px;height:14px;background:#fbbf24;clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);opacity:.7}
.tfl-doc-section.tfl-doc-needed ul li::before{background:#0c4a6e;clip-path:polygon(20% 50%,40% 70%,80% 30%,75% 25%,40% 60%,25% 45%)}

.tfl-doc-meta{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:32px}
.tfl-doc-meta-card{background:#f9fafb;border:1px solid #e5e7eb;border-radius:6px;padding:18px 20px}
.tfl-doc-meta-card h4{font-size:11px;color:#fbbf24;letter-spacing:.1em;text-transform:uppercase;margin-bottom:8px;font-weight:700;display:flex;align-items:center;gap:6px}
.tfl-doc-meta-card h4::before{content:"";width:10px;height:10px;background:#fbbf24;display:inline-block;clip-path:polygon(50% 0,100% 38%,82% 100%,18% 100%,0 38%)}
.tfl-doc-meta-card p{font-size:14.5px;color:#1f2937;margin:0;line-height:1.55}

.tfl-template-box{background:#f3f4f6;border:1px dashed #94a3b8;border-radius:6px;padding:22px 24px;margin-bottom:32px;text-align:center}
.tfl-template-box .icon{width:54px;height:54px;margin:0 auto 12px;background:#e0f2fe;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#0c4a6e}
.tfl-template-box .icon svg{width:30px;height:30px}
.tfl-template-box h4{font-size:17px;color:#0c4a6e;margin-bottom:6px;font-weight:700}
.tfl-template-box p{font-size:14px;color:#6b7280;max-width:420px;margin:0 auto;line-height:1.55}

.tfl-faq-item{border:1px solid #e5e7eb;border-radius:6px;margin-bottom:10px;background:#fff;overflow:hidden}
.tfl-faq-q{padding:16px 22px;font-weight:700;color:#0c4a6e;font-size:15.5px;cursor:pointer;list-style:none;position:relative;padding-right:50px;line-height:1.45}
.tfl-faq-q::-webkit-details-marker{display:none}
.tfl-faq-q::after{content:"+";position:absolute;right:20px;top:50%;transform:translateY(-50%);font-size:22px;color:#fbbf24;font-weight:700;line-height:1;transition:transform .2s}
details[open] .tfl-faq-q::after{content:"−";transform:translateY(-50%) rotate(0)}
.tfl-faq-a{padding:0 22px 18px;color:#374151;font-size:14.5px;line-height:1.65}

.tfl-doc-aside{position:sticky;top:120px;align-self:start}
.tfl-doc-aside-block{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:20px 22px;margin-bottom:18px}
.tfl-doc-aside-block h4{font-size:13px;color:#0c4a6e;margin-bottom:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;padding-bottom:10px;border-bottom:1px solid #e5e7eb}
.tfl-doc-aside-block ul{list-style:none;padding:0}
.tfl-doc-aside-block ul li{margin-bottom:8px;font-size:13.5px;line-height:1.5}
.tfl-doc-aside-block ul li a{color:#1f2937;text-decoration:none;display:block;padding:4px 0 4px 16px;position:relative;transition:color .14s}
.tfl-doc-aside-block ul li a::before{content:"›";position:absolute;left:0;top:4px;color:#fbbf24;font-weight:700}
.tfl-doc-aside-block ul li a:hover{color:#0c4a6e}

/* ===== HowTo / step list ===== */
.tfl-howto{counter-reset:howto;background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:6px 0;margin-bottom:32px}
.tfl-howto li{counter-increment:howto;padding:20px 28px 20px 84px;border-bottom:1px solid #f3f4f6;position:relative;list-style:none}
.tfl-howto li:last-child{border-bottom:0}
.tfl-howto li::before{content:counter(howto);position:absolute;left:24px;top:22px;width:42px;height:42px;background:#0c4a6e;color:#fff;font-size:18px;font-weight:700;border-radius:50%;display:flex;align-items:center;justify-content:center}
.tfl-howto li::after{content:"";position:absolute;left:43px;top:64px;width:4px;height:calc(100% - 62px);background:#fbbf24;opacity:.5}
.tfl-howto li:last-child::after{display:none}
.tfl-howto li h3{color:#0c4a6e;margin-bottom:6px;font-size:17px;font-weight:700}
.tfl-howto li p{color:#374151;font-size:15px;line-height:1.65;margin:0}

/* ===== FAQ page ===== */
.tfl-faq-page{max-width:840px;margin:0 auto}
.tfl-faq-page .tfl-faq-item{margin-bottom:12px}

/* ===== CONTACTS ===== */
.tfl-contacts-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px}
.tfl-contact-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:28px 30px}
.tfl-contact-card h3{font-size:17px;color:#0c4a6e;margin-bottom:18px;font-weight:700;padding-bottom:10px;border-bottom:2px solid #fbbf24;display:inline-block}
.tfl-contact-row{display:flex;gap:12px;padding:10px 0;border-bottom:1px dashed #f3f4f6;font-size:14.5px}
.tfl-contact-row:last-child{border-bottom:0}
.tfl-contact-row b{color:#6b7280;font-weight:400;min-width:110px;font-size:12px;letter-spacing:.04em;text-transform:uppercase;padding-top:2px}
.tfl-contact-row span{color:#1f2937;flex:1}

/* ===== FOOTER ===== */
.tfl-footer{background:#0c4a6e;color:#cbd5e1;padding:48px 0 24px;margin-top:60px}
.tfl-footer-inner{max-width:1180px;margin:0 auto;padding:0 24px;display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:36px}
.tfl-footer h4{color:#fbbf24;font-size:13px;letter-spacing:.08em;text-transform:uppercase;margin-bottom:14px;font-weight:700}
.tfl-footer-brand{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.tfl-footer-brand .mark{width:36px;height:36px;background:#fbbf24;border-radius:6px;display:flex;align-items:center;justify-content:center;color:#0c4a6e;font-size:16px;font-weight:700}
.tfl-footer-brand .name{color:#fff;font-size:17px;font-weight:700}
.tfl-footer-tag{font-size:13.5px;color:#94a3b8;line-height:1.6;margin-bottom:14px}
.tfl-footer ul{list-style:none;padding:0}
.tfl-footer ul li{margin-bottom:8px;font-size:14px}
.tfl-footer ul li a{color:#cbd5e1;text-decoration:none}
.tfl-footer ul li a:hover{color:#fbbf24;text-decoration:underline}
.tfl-footer-bottom{max-width:1180px;margin:30px auto 0;padding:18px 24px 0;border-top:1px solid #1e5b80;display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#94a3b8;flex-wrap:wrap;gap:10px}

/* ===== RESPONSIVE ===== */
@media (max-width:900px){
  .tfl-hero-inner{grid-template-columns:1fr;gap:32px}
  .tfl-doc-grid{grid-template-columns:1fr;gap:28px}
  .tfl-doc-aside{position:static}
  .tfl-contacts-grid{grid-template-columns:1fr}
  .tfl-footer-inner{grid-template-columns:1fr 1fr;gap:24px}
  .tfl-doc-meta{grid-template-columns:1fr}
}
@media (max-width:640px){
  .tfl-header-inner{flex-direction:column;gap:14px;align-items:flex-start}
  .tfl-header-right{width:100%;justify-content:flex-start}
  .tfl-top-inner{font-size:12px}
  .tfl-howto li{padding:18px 20px 18px 70px}
  .tfl-howto li::before{left:18px;width:36px;height:36px;font-size:16px}
  .tfl-howto li::after{left:34px;top:56px}
  .tfl-footer-inner{grid-template-columns:1fr}
  .tfl-cats{grid-template-columns:1fr}
  .tfl-section{padding:40px 0}
  .tfl-hero{padding:40px 0}
}
