/* =========================================================
   Technova v2 — Mobile-first B2B redesign layer
   Loaded AFTER css/style.css. Everything here uses a "tn-"
   prefix and its own --tn-* tokens, so it never touches the
   classes/variables the existing product pages depend on.
   Primary color matches the Technova logo's teal/light-blue
   (per user preference — kept over a plain dark navy). Yellow
   = CTA / price emphasis only. Red = warnings / not-recommended
   only. Whitespace over gradients.
   ========================================================= */

:root {
  --tn-navy-900: #045a72;
  --tn-navy-800: #076a86;
  --tn-navy-700: #0a8fab;
  --tn-navy-600: #17b3ae;
  --tn-navy-100: #e6f9f7;
  --tn-navy-50: #f4fbfb;
  --tn-ink: #16232f;
  --tn-ink-soft: #5b6b7a;
  --tn-border: #e3e9f1;
  --tn-white: #ffffff;
  --tn-yellow: #f5b400;
  --tn-yellow-deep: #c98e00;
  --tn-yellow-pale: #fff6de;
  --tn-red: #c0392b;
  --tn-red-pale: #fdecea;
  --tn-green: #1f9d55;
  --tn-radius: 14px;
  --tn-radius-lg: 20px;
  --tn-shadow: 0 8px 24px rgba(4, 90, 114, 0.10);
  --tn-shadow-sm: 0 3px 12px rgba(4, 90, 114, 0.07);
  --tn-bottom-nav-h: 62px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --tn-ink: #eaf0f7; --tn-ink-soft: #a9b8c8; --tn-border: #1f2f42;
    --tn-white: #0f1e30; --tn-navy-50: #0c1a2b; --tn-navy-100: #12233b;
  }
}

body.tn-v2 { background: var(--tn-white); }
body.tn-has-bottom-nav { padding-bottom: calc(var(--tn-bottom-nav-h) + env(safe-area-inset-bottom, 0px)); }

/* Headings inherit color by default (dark ink on light sections via body,
   white on .tn-hero / .tn-final-cta / .tn-footer via their own rules below) —
   deliberately NOT forcing a color here, since that would override the
   inherited white heading color inside dark sections. */

/* ---------- Buttons ---------- */
.tn-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 10px; font-weight: 700; font-size: 15px;
  border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  font-family: var(--font-display);
}
.tn-btn-primary { background: var(--tn-yellow); color: var(--tn-navy-900); box-shadow: var(--tn-shadow-sm); }
.tn-btn-primary:hover { background: var(--tn-yellow-deep); transform: translateY(-1px); }
.tn-btn-outline { border-color: var(--tn-navy-700); color: var(--tn-navy-700); background: var(--tn-white); }
.tn-btn-outline:hover { background: var(--tn-navy-100); }
.tn-btn-ghost { background: transparent; color: var(--tn-ink-soft); border-color: var(--tn-border); }
.tn-btn-ghost:hover { background: var(--tn-navy-50); }
.tn-btn-wa { background: #25d366; color: #fff; }
.tn-btn-wa:hover { transform: translateY(-1px); }
.tn-btn-lg { padding: 15px 30px; font-size: 16px; }
.tn-btn-block { width: 100%; }
.tn-btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- Top utility bar ---------- */
.tn-topbar { background: var(--tn-navy-900); color: #cdd9e8; font-size: 12.5px; padding: 8px 0; }
.tn-topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tn-topbar a { color: #cdd9e8; display: inline-flex; align-items: center; gap: 5px; }
.tn-topbar a:hover { color: #fff; }
.tn-topbar-left { display: flex; gap: 16px; flex-wrap: wrap; }
.tn-topbar-right { display: flex; align-items: center; gap: 14px; }
.tn-lang-toggle { display: flex; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; overflow: hidden; }
.tn-lang-toggle button { background: none; border: none; color: #cdd9e8; font-size: 12px; font-weight: 700; padding: 4px 10px; cursor: pointer; }
.tn-lang-toggle button.active { background: var(--tn-yellow); color: var(--tn-navy-900); }
@media (max-width: 640px) { .tn-topbar-left { display: none; } }

/* ---------- Shop platform badges (Shopee / Lazada / TikTok) ---------- */
.tn-shop-badges { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tn-shop-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; color: #fff !important; font-weight: 800; font-size: 12.5px; line-height: 1.2; white-space: nowrap; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease; }
.tn-shop-badge svg { width: 15px; height: 15px; flex-shrink: 0; }
.tn-shop-badge:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(0,0,0,.22); opacity: .92; color: #fff; }
.tn-shop-badge-shopee { background: #EE4D2D; }
.tn-shop-badge-lazada { background: #0F146D; }
.tn-shop-badge-tiktok { background: #010101; }
.tn-shop-badge-lg { padding: 9px 16px; font-size: 13.5px; border-radius: 999px; }
.tn-shop-badge-lg svg { width: 17px; height: 17px; }
@media (max-width: 480px) { .tn-topbar-right .tn-shop-badge span:last-child { display: none; } .tn-topbar-right .tn-shop-badge { padding: 6px; } }

/* ---------- Header ---------- */
.tn-header { background: var(--tn-white); border-bottom: 1px solid var(--tn-border); position: sticky; top: 0; z-index: 40; }
.tn-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.tn-brand { display: flex; align-items: center; gap: 10px; }
.tn-brand img { height: 36px; }
.tn-brand-text { font-family: var(--font-display); line-height: 1.15; }
.tn-brand-text .name { font-weight: 800; font-size: 16px; color: var(--tn-navy-900); letter-spacing: .01em; }
.tn-brand-text .sub { font-size: 10.5px; font-weight: 600; color: var(--tn-ink-soft); letter-spacing: .04em; }
.tn-nav { display: none; }
.tn-nav ul { display: flex; gap: 4px; align-items: center; }
.tn-nav a { display: inline-block; padding: 9px 12px; border-radius: 8px; font-weight: 600; font-size: 14.5px; color: var(--tn-ink); }
.tn-nav a:hover { background: var(--tn-navy-100); color: var(--tn-navy-700); }
.tn-header-cta { display: none; align-items: center; gap: 10px; }
.tn-hamburger { display: inline-flex; background: none; border: none; padding: 6px; cursor: pointer; color: var(--tn-navy-900); }
@media (min-width: 900px) {
  .tn-nav { display: block; }
  .tn-header-cta { display: flex; }
  .tn-hamburger { display: none; }
}

/* ---------- Mobile slide-out nav (reuses .mobile-nav open/close JS from main.js) ---------- */
.tn-mobile-nav { position: fixed; inset: 0; background: var(--tn-white); z-index: 90; transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; padding: 18px 20px 40px; }
.tn-mobile-nav.open { transform: translateX(0); }
.tn-mobile-nav-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.tn-mobile-nav ul li { border-bottom: 1px solid var(--tn-border); }
.tn-mobile-nav ul li > a { display: block; padding: 14px 2px; font-weight: 700; color: var(--tn-ink); }
.tn-mobile-nav .sub-list { display: none; padding: 0 0 10px 12px; }
.tn-mobile-nav li.mob-expanded .sub-list { display: block; }
.tn-mobile-nav .sub-list a { display: block; padding: 8px 0; font-size: 14px; color: var(--tn-ink-soft); font-weight: 500; }
.tn-mobile-nav-cta { margin-top: 20px; display: grid; gap: 10px; }

/* ---------- Bottom mobile nav ---------- */
.tn-bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--tn-white); border-top: 1px solid var(--tn-border);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -4px 16px rgba(4,90,114,.08);
}
.tn-bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 8px 2px; color: var(--tn-ink-soft); font-size: 10.5px; font-weight: 700; }
.tn-bottom-nav a .icon-svg svg { width: 20px; height: 20px; }
.tn-bottom-nav a.active { color: var(--tn-navy-700); }
.tn-bottom-nav a.tn-bottom-nav-wa { color: var(--tn-green); }
@media (min-width: 900px) { .tn-bottom-nav { display: none; } body.tn-has-bottom-nav { padding-bottom: 0; } }

/* ---------- Hero ---------- */
.tn-hero { position: relative; background: var(--tn-navy-900); color: #fff; padding: 40px 0 36px; overflow: hidden; }
.tn-hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--tn-navy-900); }
.tn-hero-media.is-hidden { display: none; }
.tn-hero-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.tn-hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(6,34,48,.92) 0%, rgba(6,34,48,.8) 45%, rgba(6,34,48,.58) 100%); }
.tn-hero .container { position: relative; z-index: 1; display: grid; gap: 22px; }
.tn-hero-badge { display: inline-block; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 5px 14px; font-size: 12px; font-weight: 700; margin-bottom: 14px; }
.tn-hero h1 { font-size: clamp(26px, 6vw, 40px); font-weight: 800; line-height: 1.25; letter-spacing: -.01em; margin-bottom: 14px; }
.tn-hero h1 .accent { color: var(--tn-yellow); }
.tn-hero .lead { font-size: 15.5px; color: #d7e1ee; max-width: 560px; margin-bottom: 16px; line-height: 1.6; }
.tn-hero .biz-line { font-size: 13.5px; font-weight: 700; color: var(--tn-yellow); margin-bottom: 22px; }
.tn-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) {
  .tn-hero { padding: 64px 0; }
  .tn-hero .container { grid-template-columns: 1fr; max-width: 760px; }
}

/* ---------- Section shells ---------- */
.tn-section { padding: 44px 0; }
.tn-section-alt { background: var(--tn-navy-50); }
.tn-section-head { margin-bottom: 26px; }
.tn-section-head.center { text-align: center; max-width: 640px; margin-left: auto; margin-right: auto; }
.tn-eyebrow { display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: .06em; color: var(--tn-navy-700); text-transform: uppercase; margin-bottom: 8px; }
.tn-section-head h2 { font-size: clamp(22px, 4.4vw, 30px); font-weight: 800; margin-bottom: 8px; letter-spacing: -.01em; }
.tn-section-head p { color: var(--tn-ink-soft); font-size: 15px; line-height: 1.6; }

/* ---------- Industry cards ---------- */
.tn-industry-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px) { .tn-industry-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .tn-industry-grid { grid-template-columns: repeat(4, 1fr); } }
.tn-industry-card { background: var(--tn-white); border: 1px solid var(--tn-border); border-radius: var(--tn-radius); overflow: hidden; box-shadow: var(--tn-shadow-sm); display: flex; flex-direction: column; }
.tn-industry-card-img { aspect-ratio: 16/10; overflow: hidden; background: var(--tn-navy-100); }
.tn-industry-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; }
.tn-industry-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tn-industry-card-body h3 { font-size: 16px; font-weight: 800; }
.tn-industry-card-q { font-size: 13px; color: var(--tn-ink-soft); line-height: 1.5; flex: 1; }
.tn-card-cta { margin-top: 4px; font-size: 13.5px; font-weight: 700; color: var(--tn-navy-700); }
.tn-card-cta:hover { text-decoration: underline; }
.tn-card-cta-soon { color: var(--tn-ink-soft); }

/* ---------- Solution Finder ---------- */
.tn-finder-card { background: var(--tn-white); border: 1px solid var(--tn-border); border-radius: var(--tn-radius-lg); box-shadow: var(--tn-shadow); padding: 22px 18px; max-width: 560px; margin: 0 auto; }
.tn-finder-progress { height: 5px; background: var(--tn-navy-100); border-radius: 999px; overflow: hidden; margin-bottom: 18px; }
.tn-finder-progress-bar { height: 100%; background: var(--tn-yellow); transition: width .25s ease; }
.tn-finder-question { font-size: 17px; font-weight: 800; color: var(--tn-ink); margin-bottom: 16px; line-height: 1.4; }
.tn-finder-options { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.tn-chip { border: 1.5px solid var(--tn-border); background: var(--tn-white); color: var(--tn-ink); padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; cursor: pointer; }
.tn-chip.active { border-color: var(--tn-navy-700); background: var(--tn-navy-700); color: #fff; }
.tn-chip-multi.active { border-color: var(--tn-yellow-deep); background: var(--tn-yellow); color: var(--tn-navy-900); }
.tn-finder-input { width: 100%; padding: 13px 14px; border: 1.5px solid var(--tn-border); border-radius: 10px; font-size: 15px; font-family: inherit; }
.tn-finder-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; gap: 10px; flex-wrap: wrap; }
.tn-finder-result-tag { font-size: 12.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--tn-navy-700); margin-bottom: 10px; }
.tn-result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.tn-result-item { background: var(--tn-navy-50); border-radius: 10px; padding: 12px; }
.tn-result-wide { grid-column: 1 / -1; }
.tn-result-label { font-size: 11.5px; color: var(--tn-ink-soft); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.tn-result-value { font-size: 15px; font-weight: 800; color: var(--tn-ink); }
.tn-result-reason { font-size: 13.5px; color: var(--tn-ink-soft); line-height: 1.6; margin-bottom: 12px; }
.tn-pending-tag { display: inline-block; background: var(--tn-yellow-pale); color: var(--tn-yellow-deep); font-size: 10.5px; font-weight: 800; padding: 2px 7px; border-radius: 999px; margin-left: 4px; }

/* ---------- Product category cards (horizontal carousel) ---------- */
.tn-carousel { position: relative; }
.tn-product-grid { display: flex; overflow-x: auto; gap: 12px; scroll-snap-type: x proximity; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; padding: 10px 6px 16px; margin: -10px -6px -10px; scrollbar-width: thin; }
.tn-product-grid::-webkit-scrollbar { height: 6px; }
.tn-product-grid::-webkit-scrollbar-thumb { background: var(--tn-border); border-radius: 999px; }
.tn-product-card, .tn-product-card-multi { flex: 0 0 auto; width: 148px; scroll-snap-align: start; }
@media (min-width: 640px) { .tn-product-card, .tn-product-card-multi { width: 178px; } }
@media (min-width: 1024px) { .tn-product-card, .tn-product-card-multi { width: 198px; } }
.tn-carousel-btn { display: none; position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; background: var(--tn-white); border: 1px solid var(--tn-border); box-shadow: var(--tn-shadow); align-items: center; justify-content: center; cursor: pointer; z-index: 2; color: var(--tn-navy-800); padding: 0; }
.tn-carousel-btn .icon-svg { width: 18px; height: 18px; }
.tn-carousel-btn:hover { background: var(--tn-navy-100); }
.tn-carousel-prev { left: -8px; }
.tn-carousel-next { right: -8px; }
@media (min-width: 900px) { .tn-carousel-btn { display: flex; } }
.tn-product-card { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; background: var(--tn-white); border: 1px solid var(--tn-border); border-radius: var(--tn-radius); padding: 16px 14px; box-shadow: var(--tn-shadow-sm); }
.tn-product-card .tn-icon-wrap { width: 40px; height: 40px; border-radius: 10px; background: var(--tn-navy-100); display: flex; align-items: center; justify-content: center; color: var(--tn-navy-700); }
.tn-product-card h4 { font-size: 14px; font-weight: 800; line-height: 1.3; }
.tn-product-card span.tn-soon { font-size: 11px; color: var(--tn-ink-soft); font-weight: 600; }
.tn-product-card-multi { cursor: default; }
.tn-product-link { font-size: 12.5px; font-weight: 700; color: var(--tn-navy-700); text-decoration: none; }
.tn-product-link:hover { text-decoration: underline; }
.tn-card-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.tn-card-chips a { font-size: 11.5px; font-weight: 700; color: var(--tn-navy-800); background: var(--tn-navy-100); border-radius: 999px; padding: 4px 10px; text-decoration: none; white-space: nowrap; }
.tn-card-chips a:hover { background: var(--tn-yellow-pale); color: var(--tn-yellow-deep); }

/* ---------- Comparison tables ---------- */
.tn-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--tn-border); border-radius: var(--tn-radius); }
.tn-compare-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 560px; }
.tn-compare-table th { background: var(--tn-navy-900); color: #fff; text-align: left; padding: 11px 14px; font-weight: 700; white-space: nowrap; }
.tn-compare-table td { padding: 11px 14px; border-top: 1px solid var(--tn-border); vertical-align: top; color: var(--tn-ink); }
.tn-compare-table tr:nth-child(even) td { background: var(--tn-navy-50); }
.tn-td-name { font-weight: 800; white-space: nowrap; }
.tn-table-note { font-size: 12.5px; color: var(--tn-ink-soft); margin-top: 10px; line-height: 1.5; }

/* ---------- Tier cards (方案 A/B/C) ---------- */
.tn-tier-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 768px) { .tn-tier-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
.tn-tier-card { border: 1.5px solid var(--tn-border); border-radius: var(--tn-radius); padding: 18px; background: var(--tn-white); }
.tn-tier-card .tn-tier-badge { display: inline-block; background: var(--tn-navy-700); color: #fff; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.tn-tier-card h4 { font-size: 16.5px; font-weight: 800; margin-bottom: 8px; }
.tn-tier-card ul { display: grid; gap: 6px; margin: 10px 0; }
.tn-tier-card ul li { font-size: 13.5px; color: var(--tn-ink-soft); padding-left: 18px; position: relative; line-height: 1.5; }
.tn-tier-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--tn-green); font-weight: 800; }
.tn-tier-limit { font-size: 12.5px; color: var(--tn-ink-soft); background: var(--tn-navy-50); border-radius: 8px; padding: 8px 10px; margin-top: 10px; }

/* ---------- Warning / notice boxes ---------- */
.tn-warn { border-radius: 10px; padding: 14px 16px; margin: 14px 0; border: 1.5px solid; }
.tn-warn-title { font-weight: 800; font-size: 13.5px; margin-bottom: 4px; display: flex; align-items: center; gap: 6px; }
.tn-warn-body { font-size: 13.5px; line-height: 1.6; }
.tn-warn-warn { background: var(--tn-yellow-pale); border-color: #f0d78a; color: #7a5a00; }
.tn-warn-stop { background: var(--tn-red-pale); border-color: #f2c1bb; color: var(--tn-red); }
.tn-warn-info { background: var(--tn-navy-100); border-color: #cfdcf0; color: var(--tn-navy-800); }

/* ---------- Stats row ---------- */
.tn-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .tn-stats { grid-template-columns: repeat(4, 1fr); } }
.tn-stat { text-align: center; background: var(--tn-white); border: 1px solid var(--tn-border); border-radius: var(--tn-radius); padding: 18px 10px; }
.tn-stat .num { font-size: 24px; font-weight: 800; color: var(--tn-navy-700); }
.tn-stat .lbl { font-size: 12.5px; color: var(--tn-ink-soft); margin-top: 4px; }

/* ---------- Feature / "Why Technova" list ---------- */
.tn-feature-grid { display: grid; grid-template-columns: 1fr; gap: 12px; align-items: start; }
@media (min-width: 768px) { .tn-feature-grid { grid-template-columns: repeat(3, 1fr); } }
.tn-feature-card { background: var(--tn-white); border: 1px solid var(--tn-border); border-radius: var(--tn-radius); padding: 18px; }
.tn-map-embed { margin-top: 10px; border-radius: calc(var(--tn-radius) - 4px); overflow: hidden; border: 1px solid var(--tn-border); }
.tn-map-embed iframe { width: 100%; height: 170px; display: block; }
.tn-feature-card .tn-icon-wrap { width: 38px; height: 38px; border-radius: 10px; background: var(--tn-yellow-pale); color: var(--tn-yellow-deep); display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.tn-feature-card h4 { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.tn-feature-card p { font-size: 13.5px; color: var(--tn-ink-soft); line-height: 1.6; }

/* ---------- FAQ (scoped tweak over shared .faq-item) ---------- */
.tn-faq .faq-item { border-bottom: 1px solid var(--tn-border); }
.tn-faq .faq-q { font-size: 15px; color: var(--tn-ink); }
.tn-faq .faq-q .plus { color: var(--tn-navy-700); }
.tn-faq .faq-a { color: var(--tn-ink-soft); }

/* ---------- Tutorial Videos ---------- */
.tn-tut-filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 28px; }
.tn-tut-filter-btn { font-size: 12.5px; font-weight: 700; color: var(--tn-navy-800); background: var(--tn-navy-100); border: 1px solid transparent; border-radius: 999px; padding: 7px 14px; cursor: pointer; }
.tn-tut-filter-btn.active { background: var(--tn-navy-900); color: #fff; }
.tn-tut-group { margin-bottom: 26px; }
.tn-tut-group-title { font-size: 14.5px; font-weight: 800; color: var(--tn-navy-800); margin-bottom: 12px; padding-left: 2px; border-left: 3px solid var(--tn-yellow); padding-left: 10px; }
.tn-tut-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .tn-tut-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .tn-tut-grid { grid-template-columns: repeat(4, 1fr); } }
.tn-tut-card { display: block; background: var(--tn-white); border: 1px solid var(--tn-border); border-radius: var(--tn-radius); overflow: hidden; box-shadow: var(--tn-shadow-sm); }
.tn-tut-thumb { position: relative; display: block; width: 100%; aspect-ratio: 16/9; background: var(--tn-navy-100); overflow: hidden; border: none; padding: 0; margin: 0; cursor: pointer; }
.tn-tut-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tn-tut-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(4,90,114,.12); transition: background .15s ease; }
.tn-tut-thumb:hover .tn-tut-play { background: rgba(4,90,114,.28); }
.tn-tut-play .icon-svg { width: 40px; height: 40px; color: #fff; filter: drop-shadow(0 2px 6px rgba(0,0,0,.45)); }
.tn-tut-iframe { display: block; width: 100%; aspect-ratio: 16/9; border: none; }
.tn-tut-title { display: block; font-size: 12.5px; font-weight: 700; color: var(--tn-ink); line-height: 1.4; padding: 10px 12px 4px; }
.tn-tut-yt-link { display: block; font-size: 11px; font-weight: 600; color: var(--tn-navy-700); text-decoration: none; padding: 0 12px 10px; }
.tn-tut-yt-link:hover { text-decoration: underline; }
.tn-tut-more { text-align: center; font-size: 13px; color: var(--tn-ink-soft); margin-top: 8px; }
.tn-tut-more a { color: var(--tn-navy-700); font-weight: 700; text-decoration: none; margin-left: 4px; }
.tn-tut-more a:hover { text-decoration: underline; }

/* ---------- Final CTA band ---------- */
.tn-final-cta { background: var(--tn-navy-900); color: #fff; border-radius: var(--tn-radius-lg); padding: 34px 22px; text-align: center; }
.tn-final-cta h2 { color: #fff; font-size: clamp(20px, 4vw, 26px); font-weight: 800; margin-bottom: 8px; }
.tn-final-cta p { color: #cdd9e8; font-size: 14.5px; margin-bottom: 20px; }
.tn-final-cta .tn-hero-cta { justify-content: center; }

/* ---------- Footer ---------- */
.tn-footer { background: var(--tn-navy-900); color: #b9c8db; padding: 40px 0 18px; }
.tn-footer h4 { color: #fff; font-size: 14px; font-weight: 800; margin-bottom: 12px; }
.tn-footer a { color: #b9c8db; }
.tn-footer a:hover { color: #fff; }
.tn-footer-grid { display: grid; grid-template-columns: 1fr; gap: 28px; margin-bottom: 26px; }
@media (min-width: 768px) { .tn-footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.tn-footer-grid ul li { margin-bottom: 8px; font-size: 13.5px; }
.tn-footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; font-size: 12px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; color: #8fa1b8; }

/* ---------- Industry page specific ---------- */
.tn-breadcrumb { font-size: 12.5px; color: #b9c8db; margin-bottom: 10px; }
.tn-breadcrumb a { color: #b9c8db; } .tn-breadcrumb a:hover { text-decoration: underline; }
.tn-risk-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.tn-risk-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--tn-navy-50); border: 1px solid var(--tn-border); border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 700; color: var(--tn-ink); }
.tn-risk-chip .icon-svg svg { width: 16px; height: 16px; color: var(--tn-navy-700); }
.tn-checklist { display: grid; gap: 8px; }
.tn-checklist li { display: flex; gap: 10px; font-size: 14px; color: var(--tn-ink); align-items: flex-start; }
.tn-checklist li .icon-svg { flex-shrink: 0; margin-top: 2px; color: var(--tn-navy-700); }
.tn-poster-box { border: 1.5px dashed var(--tn-border); border-radius: var(--tn-radius); padding: 20px; text-align: center; background: var(--tn-navy-50); }
.tn-poster-box p { font-size: 13.5px; color: var(--tn-ink-soft); margin-bottom: 12px; }

/* ---------- Lightbox (reuse-safe: same mechanism as main site) ---------- */
.tn-v2 .lightbox-overlay img { border-radius: 10px; }
