/* Tablink Brand System v1 — R04. Tokens reusable; components currently homepage only. */
:root{
 --tb-bg:#080f20;--tb-surface:#0e192d;--tb-card:#152238;--tb-raised:#1a2940;
 --tb-ink:#f3f7ff;--tb-muted:#b5c5dc;--tb-line:#2c405d;--tb-accent:#91bcff;
 --tb-primary:#2464d9;--tb-primary-hover:#1b54bf;--tb-primary-ink:#fff;--tb-glow:rgba(43,108,238,.25);
 --tb-shadow:0 18px 56px rgba(0,0,0,.22);--tb-soft-shadow:0 8px 28px rgba(0,0,0,.12);
 --tb-radius:22px;--tb-button-radius:13px;--tb-gap:clamp(32px,5vw,76px);
 --tb-motion:220ms cubic-bezier(.2,.7,.25,1);--tb-focus:#83b7ff;
}
body[data-theme-style="light"]{
 --tb-bg:#f6f8fc;--tb-surface:#edf2fa;--tb-card:#fff;--tb-raised:#f7f9fd;
 --tb-ink:#13233d;--tb-muted:#435875;--tb-line:#cfdbec;--tb-accent:#2055af;
 --tb-primary:#225dc7;--tb-primary-hover:#174da9;--tb-primary-ink:#fff;--tb-glow:rgba(58,120,230,.15);
 --tb-shadow:0 18px 56px rgba(38,70,119,.11);--tb-soft-shadow:0 8px 28px rgba(38,70,119,.08);--tb-focus:#2055af;
}
body .tl-r04 .tl-hero,body .tl-r04 .tl-template-intro,body .tl-r04 .tl-product-showcase,body .tl-r04 .tl-sale-pro,body .tl-r04 .tl-sale-pricing,body .tl-r04 .tl-home-faq,body .tl-r04 .tl-r02-final{
 --tl-bg:var(--tb-bg);--tl-bg2:var(--tb-surface);--tl-card:var(--tb-card);--tl-ink:var(--tb-ink);
 --tl-muted:var(--tb-muted);--tl-line:var(--tb-line);--tl-accent:var(--tb-accent);--tl-primary:var(--tb-primary);--tl-primary-ink:var(--tb-primary-ink);
 color:var(--tb-ink);
}
.tl-r04 .container{max-width:1250px}
.tl-r04 .tl-hero{position:relative;isolation:isolate;overflow:hidden;background:var(--tb-bg);padding:clamp(34px,5vw,70px) 0}
.tl-r04 .tl-hero::before{content:"";position:absolute;z-index:-1;inset:-30% -8%;pointer-events:none;background:radial-gradient(ellipse at 77% 45%,var(--tb-glow),transparent 46%),radial-gradient(ellipse at 5% 0%,var(--tb-glow),transparent 36%);animation:tb-r04-glow 3.4s ease-out both}
.tl-r04 .tl-hero-grid{grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);gap:clamp(24px,4vw,62px);align-items:center}
.tl-r04 .tl-hero-badge{margin-bottom:14px;font-size:14px;letter-spacing:.045em}
.tl-r04 .tl-hero-title{font-size:clamp(40px,4.8vw,70px);line-height:1.065;letter-spacing:-.045em;font-weight:760;margin:0 0 20px}
.tl-r04 .tl-hero-title span{color:var(--tb-accent)}
.tl-r04 .tl-hero-copy{font-size:clamp(19px,1.65vw,23px);line-height:1.46;max-width:590px}
.tl-r04 .tl-hero-actions{gap:12px;align-items:stretch}
.tl-r04 :is(.tl-hero-primary,.tl-hero-secondary,.tl-template-cta,.tl-product-actions a,.tl-sale-pay-cta,.tl-r04-dialog-live){min-height:54px;border-radius:var(--tb-button-radius)!important;font-size:17px!important;font-weight:750;line-height:1.25;transition:background var(--tb-motion),box-shadow var(--tb-motion),transform var(--tb-motion),border-color var(--tb-motion);text-decoration:none!important}
.tl-r04 :is(.tl-hero-primary,.tl-template-cta,.tl-product-action-primary,.tl-sale-pay-cta,.tl-r04-dialog-live){background:var(--tb-primary)!important;color:var(--tb-primary-ink)!important;border:1px solid transparent;box-shadow:0 8px 22px var(--tb-glow)!important}
.tl-r04 :is(.tl-hero-primary,.tl-template-cta,.tl-product-action-primary,.tl-sale-pay-cta,.tl-r04-dialog-live):hover{background:var(--tb-primary-hover)!important;filter:none;transform:translateY(-2px)}
.tl-r04 :is(.tl-hero-secondary,.tl-product-action-secondary){background:var(--tb-card);border:1px solid var(--tb-line);color:var(--tb-ink)!important}
.tl-r04 :is(a,button,summary):focus-visible{outline:3px solid var(--tb-focus)!important;outline-offset:3px}
.tl-r04 .tl-hero-features{margin:26px 0 0;gap:12px;max-width:560px}
.tl-r04 .tl-hero-features li{font-size:16px;line-height:1.3;padding-left:12px}
.tl-r04 .tl-hero-features strong{font-size:29px;line-height:1.25}
.tl-r04 .tl-r03-visual{background:linear-gradient(145deg,var(--tb-card),var(--tb-surface));border:1px solid var(--tb-line);box-shadow:var(--tb-shadow);border-radius:28px;padding:22px 18px 17px}
.tl-r04 .tl-hero-visual-label{font-size:15px;margin-bottom:17px}
.tl-r04 .tl-r03-phones{max-width:490px;gap:18px;align-items:center}
.tl-r04 .tl-r03-phone{border:5px solid #111827;border-radius:23px;box-shadow:0 16px 32px rgba(0,0,0,.23);animation:tb-r04-rise .65s ease-out backwards;transition:transform var(--tb-motion),box-shadow var(--tb-motion)}
.tl-r04 .tl-r03-phone-second{margin-top:26px;animation-delay:.12s}
.tl-r04 .tl-r03-phone:hover{transform:translateY(-5px)}
.tl-r04 .tl-r03-phone img{aspect-ratio:390/630;object-fit:cover;object-position:top}
.tl-r04 .tl-r03-phone-bottom{font-size:15px;padding:9px 3px}
.tl-r04 .tl-hero-visual-foot{font-size:15px;margin:14px 0 0}
.tl-r04 .tl-r02-gallery{padding:var(--tb-gap) 0;background:var(--tb-surface)}
.tl-r04 .tl-r02-gallery-head{margin-bottom:26px;align-items:center;gap:18px}
.tl-r04 :is(.tl-template-intro h2,.tl-product-head h2,.tl-sale-heading,.tl-home-faq-head h2,.tl-r02-final h2){font-size:clamp(32px,3.5vw,48px);letter-spacing:-.038em;line-height:1.13;font-weight:750}
.tl-r04 .tl-r02-gallery-head p{font-size:19px}
.tl-r04 .tl-r02-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;text-align:left;align-items:stretch}
.tl-r04 .tl-r02-template{min-width:0;display:flex;flex-direction:column;border:1px solid var(--tb-line);border-radius:var(--tb-radius);background:var(--tb-card);box-shadow:var(--tb-soft-shadow);overflow:hidden;transition:transform var(--tb-motion),box-shadow var(--tb-motion),border-color var(--tb-motion)}
.tl-r04 .tl-r02-template:hover{border-color:var(--tb-accent);box-shadow:var(--tb-shadow);transform:translateY(-4px)}
.tl-r04 .tl-r02-shot{position:relative;display:block;aspect-ratio:390/720;max-width:390px;width:100%;height:auto;margin:0 auto;background:var(--tb-raised);overflow:hidden;border-radius:0;isolation:isolate}
.tl-r04 .tl-r02-shot img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;transition:transform 360ms cubic-bezier(.2,.7,.25,1)}
.tl-r04 .tl-r04-zoom{position:absolute;z-index:1;right:10px;bottom:10px;display:inline-flex;align-items:center;gap:7px;min-height:42px;padding:9px 13px;border:1px solid rgba(255,255,255,.35);border-radius:999px;background:rgba(8,15,32,.92);color:#fff;font-size:14px;font-weight:700;box-shadow:0 3px 12px #0003}
.tl-r04 .tl-r02-shot:hover img{transform:scale(1.018)}
.tl-r04 .tl-r02-template-body{padding:18px 20px 20px;display:flex;flex-direction:column;flex:1}
.tl-r04 .tl-r02-template-body h3{font-size:22px;font-weight:750;line-height:1.25;margin:0 0 5px}
.tl-r04 .tl-r02-template-body p{font-size:16px;line-height:1.4;margin:0 0 14px}
.tl-r04 .tl-r02-example-link{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;min-height:48px;padding:11px 14px;background:var(--tb-raised);border:1px solid var(--tb-line);border-radius:var(--tb-button-radius);font-size:16px;font-weight:750;color:var(--tb-ink)!important;text-decoration:none;transition:background var(--tb-motion),border-color var(--tb-motion)}
.tl-r04 .tl-r02-example-link:hover{border-color:var(--tb-accent);color:var(--tb-accent)!important}
.tl-r04 .tl-r02-gallery-foot{margin:24px 0 0!important;font-size:16px!important}
.tl-r04 .tl-product-showcase,.tl-r04 .tl-sale-pricing,.tl-r04 .tl-r02-final{padding:var(--tb-gap) 0;background:var(--tb-bg)}
.tl-r04 .tl-product-grid{gap:16px}
.tl-r04 .tl-product-card{border-radius:var(--tb-radius);background:var(--tb-card);box-shadow:var(--tb-soft-shadow);padding:20px;border-color:var(--tb-line);transition:transform var(--tb-motion),border-color var(--tb-motion)}
.tl-r04 .tl-product-card:hover{transform:translateY(-3px);border-color:var(--tb-accent)}
.tl-r04 .tl-product-icon{color:var(--tb-accent);background:var(--tb-raised);border:1px solid var(--tb-line);width:46px;height:46px;border-radius:13px}
.tl-r04 .tl-product-card h3{font-size:21px;line-height:1.3}
.tl-r04 .tl-sale-pro{background:var(--tb-surface)!important;padding:0}
.tl-r04 .tl-sale-pro .container{padding-top:var(--tb-gap)!important;padding-bottom:var(--tb-gap)!important}
.tl-r04 .tl-sale-pro .card1{border-color:var(--tb-line)!important;border-radius:16px!important;background:var(--tb-card)!important}
.tl-r04 .tl-sale-pricing .tl-r02-plans{max-width:1000px;gap:20px;align-items:stretch}
.tl-r04 .tl-r02-free,.tl-r04 .tl-r02-paid{border-radius:var(--tb-radius);padding:26px;background:var(--tb-card);box-shadow:var(--tb-soft-shadow)}
.tl-r04 .tl-r02-paid{border:2px solid var(--tb-accent);box-shadow:var(--tb-shadow)}
.tl-r04 .tl-plan-name{font-size:21px}.tl-r04 .tl-plan-price{font-size:clamp(42px,5vw,58px)}
.tl-r04 .tl-home-faq{background:var(--tb-surface);padding:var(--tb-gap) 0}
.tl-r04 .tl-home-faq-item{border-radius:16px;background:var(--tb-card)}
.tl-r04 .tl-home-faq-item summary{font-size:19px;font-weight:700}
.tl-r04 .tl-r02-final .container{padding-top:34px;padding-bottom:34px;border:1px solid var(--tb-line);border-radius:var(--tb-radius);background:var(--tb-card);max-width:1190px}
.tl-r04 .tl-r04-dialog{position:fixed;inset:0;margin:auto;padding:0;border:1px solid var(--tb-line);border-radius:var(--tb-radius);background:var(--tb-card);color:var(--tb-ink);width:min(95vw,880px);max-width:none;max-height:94vh;max-height:94dvh;overflow:auto;box-shadow:var(--tb-shadow)}
.tl-r04 .tl-r04-dialog::backdrop{background:rgba(3,8,20,.78);backdrop-filter:blur(5px)}
.tl-r04 .tl-r04-dialog[open]{animation:tb-r04-dialog .22s ease-out}
.tl-r04 .tl-r04-dialog-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 18px;background:var(--tb-card);border-bottom:1px solid var(--tb-line)}
.tl-r04 .tl-r04-dialog-head h2{font-size:23px;font-weight:750;line-height:1.25;margin:0;color:var(--tb-ink)}
.tl-r04 .tl-r04-dialog-close{width:46px;height:46px;flex:0 0 46px;display:grid;place-items:center;border:1px solid var(--tb-line);border-radius:12px;background:var(--tb-raised);color:var(--tb-ink);font-size:25px;cursor:pointer}
.tl-r04 .tl-r04-dialog-body{padding:18px;display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,.85fr);align-items:center;gap:24px}
.tl-r04 .tl-r04-dialog-image{display:block;width:min(100%,390px);height:auto;aspect-ratio:390/720;object-fit:contain;border-radius:13px;margin:auto;border:1px solid var(--tb-line)}
.tl-r04 .tl-r04-dialog-copy p{font-size:18px;line-height:1.5;color:var(--tb-muted);margin:0 0 18px}
.tl-r04 .tl-r04-dialog-live{display:flex;align-items:center;justify-content:center;padding:12px 18px;gap:10px;width:100%}
body.tl-r04-dialog-lock{overflow:hidden}
.tl-r04 .tl-r04-enter{animation:tb-r04-rise .52s ease-out backwards}
@keyframes tb-r04-rise{from{opacity:.55;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
@keyframes tb-r04-glow{from{opacity:.65;transform:translate(-2%,2%)}to{opacity:1;transform:translate(0,0)}}
@keyframes tb-r04-dialog{from{opacity:.7;transform:translateY(10px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:991px){.tl-r04 .tl-hero-title{font-size:clamp(37px,5vw,50px)}.tl-r04 .tl-hero-grid{gap:24px}.tl-r04 .tl-r03-visual{padding:14px}.tl-r04 .tl-r03-phones{gap:10px}.tl-r04 .tl-r02-gallery-grid{gap:14px}.tl-r04 .tl-r02-template-body{padding:14px}.tl-r04 .tl-r02-template-body h3{font-size:19px}}
@media(max-width:767px){
 .tl-r04 .tl-hero{padding:26px 0 24px}.tl-r04 .tl-hero-grid{grid-template-columns:1fr;gap:18px}.tl-r04 .tl-hero-title{font-size:clamp(34px,8.8vw,44px);margin-bottom:12px}.tl-r04 .tl-hero-badge{font-size:13px;margin-bottom:9px}.tl-r04 .tl-hero-copy{font-size:18px;line-height:1.38;margin-bottom:16px}
 .tl-r04 .tl-hero-actions{gap:8px}.tl-r04 .tl-hero-actions a{flex:1 1 133px;padding:10px 9px;font-size:16px!important;min-height:50px}
 .tl-r04 .tl-hero-features{gap:6px;margin-top:14px}.tl-r04 .tl-hero-features li{font-size:15px;padding-left:7px}.tl-r04 .tl-hero-features li:first-child{padding-left:0}.tl-r04 .tl-hero-features strong{font-size:25px}
 .tl-r04 .tl-r03-visual{padding:12px;border-radius:20px}.tl-r04 .tl-r03-phones{max-width:300px;gap:11px}.tl-r04 .tl-r03-phone{border-width:4px;border-radius:16px}.tl-r04 .tl-r03-phone img{aspect-ratio:390/580}.tl-r04 .tl-r03-phone-bottom{font-size:13px;padding:6px 1px}.tl-r04 .tl-r03-phone-second{margin-top:12px}.tl-r04 .tl-hero-visual-label{margin-bottom:10px;font-size:14px}.tl-r04 .tl-hero-visual-foot{margin-top:9px;font-size:14px}
 .tl-r04 .tl-r02-gallery-head{align-items:flex-start;gap:12px;margin-bottom:16px}.tl-r04 .tl-r02-gallery-head p{font-size:17px}
 .tl-r04 .tl-r02-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .tl-r04 .tl-r02-template{border-radius:15px}.tl-r04 .tl-r02-template-body{padding:11px 10px}.tl-r04 .tl-r02-template-body h3{font-size:18px;overflow-wrap:anywhere}.tl-r04 .tl-r02-template-body p{font-size:15px;margin-bottom:10px}.tl-r04 .tl-r02-example-link{font-size:15px;padding:9px 8px;min-height:48px}.tl-r04 .tl-r04-zoom{right:6px;bottom:6px;padding:8px 9px;min-height:36px;font-size:13px;gap:5px}
 .tl-r04 .tl-product-grid{gap:10px}.tl-r04 .tl-product-card{padding:14px;border-radius:16px}.tl-r04 .tl-product-card h3{font-size:18px}.tl-r04 .tl-product-icon{width:40px;height:40px}
 .tl-r04 .tl-r02-free,.tl-r04 .tl-r02-paid{padding:19px}.tl-r04 .tl-sale-pricing .tl-r02-plans{gap:14px}.tl-r04 .tl-home-faq-item summary{font-size:17px}
 .tl-r04 .tl-r02-final .container{max-width:calc(100% - 24px);padding:25px 12px}
 .tl-r04 .tl-r04-dialog{width:calc(100% - 16px);max-height:94dvh;border-radius:16px}.tl-r04 .tl-r04-dialog-head{padding:10px 12px}.tl-r04 .tl-r04-dialog-head h2{font-size:19px}.tl-r04 .tl-r04-dialog-body{padding:12px;grid-template-columns:1fr;gap:14px}.tl-r04 .tl-r04-dialog-image{width:min(100%,300px)}.tl-r04 .tl-r04-dialog-copy p{font-size:16px;margin-bottom:10px}
}
@media(max-width:359px){.tl-r04 .tl-r02-template-body h3{font-size:16px}.tl-r04 .tl-r02-example-link{font-size:14px}.tl-r04 .tl-hero-actions a{flex-basis:100%}.tl-r04 .tl-r04-zoom{font-size:12px;min-height:32px}.tl-r04 .tl-hero-features li{font-size:14px}}
@media(prefers-reduced-motion:reduce){.tl-r04 *,.tl-r04 *::before,.tl-r04 *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
