/* Shared styles for public content pages (Why TFS Ventures, Contact, …)
   Matches the homepage: Inter, indigo→violet brand gradient, two-tone headings, reveal animations. */

.tfs-wp{ color:#0f172a; font-family:'Inter',sans-serif; overflow-x:hidden; }
.tfs-wp h1, .tfs-wp h2, .tfs-wp h3, .tfs-wp h4{ font-family:'Inter',sans-serif; color:#0f172a; }
.tfs-wp-container{ max-width:1180px; margin:0 auto; padding:0 20px; }
.tfs-wp-section{ padding:72px 0; }
.tfs-wp-soft{ background:#f8f8fc; }
.tfs-hl{ background:linear-gradient(90deg,#4f46e5,#7c3aed); -webkit-background-clip:text; background-clip:text; color:transparent; }
.tfs-wp-heading{ text-align:center; max-width:720px; margin:0 auto 44px; }
.tfs-wp-heading h2{ font-size:28px; font-weight:800; line-height:1.25; letter-spacing:-.5px; margin:0 0 10px; }
.tfs-wp-heading p{ font-size:15px; line-height:1.7; color:#64748b; margin:0; }

/* Hero */
.tfs-wp-hero{ position:relative; overflow:hidden; padding:80px 0 72px; text-align:center;
  background:radial-gradient(circle at 15% 20%, rgba(124,58,237,.10) 0, transparent 40%), radial-gradient(circle at 85% 80%, rgba(79,70,229,.10) 0, transparent 40%), linear-gradient(180deg,#f4f2ff 0%,#fbfaff 70%,#fff 100%); }
.tfs-wp-pill{ display:inline-flex; align-items:center; gap:6px; background:#ede9fe; color:#6d28d9; font-size:12.5px; font-weight:700; padding:7px 15px; border-radius:999px; margin-bottom:20px; }
.tfs-wp-hero h1{ font-size:clamp(34px,5vw,52px); font-weight:800; line-height:1.1; letter-spacing:-1px; margin:0 0 18px; }
.tfs-wp-hero .tfs-wp-tag{ font-size:clamp(18px,2vw,22px); font-weight:600; line-height:1.45; color:#1e293b; max-width:640px; margin:0 auto 16px; }
.tfs-wp-hero .tfs-wp-lead{ font-size:16px; line-height:1.8; color:#475569; max-width:720px; margin:0 auto 26px; }
.tfs-wp-actions{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }

/* Buttons */
.tfs-wp-btn{ position:relative; overflow:hidden; isolation:isolate; display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:13px 26px; border-radius:12px; font-weight:700; font-size:14px; text-decoration:none!important; border:0; cursor:pointer;
  transition:transform .25s ease, box-shadow .25s ease, background-size .4s ease, color .3s ease, border-color .3s ease; }
.tfs-wp-btn-primary{ background:#0c1530; color:#fff!important; }
.tfs-wp-btn-grad{ background:linear-gradient(135deg,#4f46e5,#7c3aed); color:#fff!important; }
.tfs-wp-btn-primary::after, .tfs-wp-btn-grad::after{ content:""; position:absolute; top:0; left:-80%; width:55%; height:100%; z-index:-1; pointer-events:none;
  background:linear-gradient(115deg, transparent 0%, rgba(255,255,255,.38) 50%, transparent 100%); transform:skewX(-18deg); transition:left .65s ease; }
.tfs-wp-btn-primary:hover::after, .tfs-wp-btn-grad:hover::after{ left:130%; }
.tfs-wp-btn-primary:hover, .tfs-wp-btn-grad:hover{ transform:translateY(-3px); box-shadow:0 14px 30px rgba(79,70,229,.32); }
.tfs-wp-btn-outline{ color:#0c1530!important; border:1.5px solid #d7dce5; background:linear-gradient(135deg,#4f46e5,#7c3aed) no-repeat 0 0 / 0% 100%, #fff; }
.tfs-wp-btn-outline:hover{ background-size:100% 100%; color:#fff!important; border-color:transparent; transform:translateY(-2px); box-shadow:0 12px 26px rgba(79,70,229,.28); }
.tfs-wp-btn:active{ transform:scale(.96); }
.tfs-wp-btn .tfs-arrow{ display:inline-block; transition:transform .25s ease; }
.tfs-wp-btn:hover .tfs-arrow{ transform:translateX(5px); }

/* CTA band */
.tfs-wp-cta{ background:linear-gradient(135deg,#4f46e5,#7c3aed); padding:64px 0; text-align:center; }
.tfs-wp .tfs-wp-cta h2{ color:#fff; font-size:28px; font-weight:800; letter-spacing:-.5px; margin:0 0 10px; }
.tfs-wp-cta p{ color:rgba(255,255,255,.82); font-size:15px; margin:0 0 26px; }
.tfs-wp-cta .tfs-wp-btn-primary{ background:#fff; color:#4f46e5!important; }
.tfs-wp-cta .tfs-wp-btn-primary::after{ background:linear-gradient(115deg, transparent 0%, rgba(124,58,237,.18) 50%, transparent 100%); }
.tfs-wp-cta .tfs-wp-btn-outline{ color:#fff!important; border-color:rgba(255,255,255,.5); background:linear-gradient(#fff,#fff) no-repeat 0 0 / 0% 100%, transparent; }
.tfs-wp-cta .tfs-wp-btn-outline:hover{ background-size:100% 100%; color:#4f46e5!important; border-color:#fff; }

/* Scroll reveal (elements are hidden only once JS adds .tfs-anim-ready) */
.tfs-anim-ready .tfs-anim:not(.in){ opacity:0; }
.tfs-anim-ready .tfs-anim.in{ animation:tfsRevealUp .8s cubic-bezier(.2,.7,.2,1) var(--d,0s) backwards; }
.tfs-anim-ready .tfs-anim.tfs-zoom.in{ animation-name:tfsRevealZoom; animation-duration:1s; }
@keyframes tfsRevealUp{ from{ opacity:0; transform:translateY(32px); } to{ opacity:1; transform:none; } }
@keyframes tfsRevealZoom{ from{ opacity:0; transform:scale(.88); } to{ opacity:1; transform:none; } }

/* Hero content plays on load with pure CSS so it never flashes */
.tfs-wp-hero .tfs-wp-pill, .tfs-wp-hero h1, .tfs-wp-hero .tfs-wp-tag, .tfs-wp-hero .tfs-wp-lead, .tfs-wp-hero .tfs-wp-motto, .tfs-wp-hero .tfs-wp-actions{ animation:tfsRevealUp .8s cubic-bezier(.2,.7,.2,1) backwards; }
.tfs-wp-hero h1{ animation-delay:.08s; }
.tfs-wp-hero .tfs-wp-tag{ animation-delay:.18s; }
.tfs-wp-hero .tfs-wp-lead{ animation-delay:.28s; }
.tfs-wp-hero .tfs-wp-motto{ animation-delay:.38s; }
.tfs-wp-hero .tfs-wp-actions{ animation-delay:.48s; }

/* ── Blog ── */
.tfs-bl-tools{ display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-bottom:28px; }
.tfs-bl-chips{ display:flex; gap:8px; flex-wrap:wrap; }
.tfs-bl-chip{ font:inherit; font-size:13px; font-weight:700; padding:8px 16px; border-radius:999px; border:0; background:#f1f1f7; color:#475569; cursor:pointer;
  transition:background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease; }
.tfs-bl-chip:hover{ background:#ede9fe; color:#4f46e5; transform:translateY(-2px); }
.tfs-bl-chip.active{ background:linear-gradient(135deg,#4f46e5,#7c3aed); color:#fff; box-shadow:0 8px 18px rgba(79,70,229,.3); }
.tfs-bl-search{ position:relative; width:100%; max-width:300px; }
.tfs-bl-search input{ width:100%; font:inherit; font-size:14px; padding:11px 14px 11px 40px; border-radius:12px; border:1.5px solid #e5e7f0; background:#fff; outline:none; transition:border-color .2s ease, box-shadow .2s ease; }
.tfs-bl-search input:focus{ border-color:#7c3aed; box-shadow:0 0 0 4px rgba(124,58,237,.12); }
.tfs-bl-search i{ position:absolute; left:14px; top:50%; transform:translateY(-50%); color:#94a3b8; }

.tfs-bl-card{ display:flex; flex-direction:column; background:#fff; border:1px solid #eef0f6; border-radius:18px; overflow:hidden; text-decoration:none!important; color:#0f172a;
  box-shadow:0 6px 18px rgba(15,23,42,.04); transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.tfs-bl-card:hover{ transform:translateY(-6px); box-shadow:0 18px 38px rgba(79,70,229,.14); border-color:#ddd6fe; color:#0f172a; }
.tfs-bl-img{ position:relative; aspect-ratio:16/10; overflow:hidden; background:linear-gradient(135deg,#ede9fe,#e0f2fe); }
.tfs-bl-img img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .6s ease; }
.tfs-bl-card:hover .tfs-bl-img img{ transform:scale(1.05); }
.tfs-bl-tag{ display:inline-block; font-size:11px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; color:#6d28d9; background:#ede9fe; padding:4px 10px; border-radius:999px; }
.tfs-bl-img .tfs-bl-tag{ position:absolute; top:14px; left:14px; background:rgba(255,255,255,.92); }
.tfs-bl-body{ flex:1; display:flex; flex-direction:column; padding:20px; }
.tfs-bl-body h3{ font-size:17px; font-weight:800; line-height:1.4; margin:0 0 10px; transition:color .2s ease; }
.tfs-bl-card:hover .tfs-bl-body h3{ color:#4f46e5; }
.tfs-bl-body p{ font-size:14px; line-height:1.65; color:#64748b; margin:0 0 16px; }
.tfs-bl-meta{ margin-top:auto; display:flex; align-items:center; gap:14px; font-size:12.5px; color:#94a3b8; }
.tfs-bl-meta i{ margin-right:4px; }
.tfs-bl-more{ margin-left:auto; color:#4f46e5; font-weight:700; }
.tfs-bl-more .tfs-arrow{ display:inline-block; transition:transform .25s ease; }
.tfs-bl-card:hover .tfs-bl-more .tfs-arrow{ transform:translateX(5px); }

.tfs-bl-featured{ display:grid; grid-template-columns:1.15fr 1fr; margin-bottom:28px; }
.tfs-bl-featured .tfs-bl-img{ aspect-ratio:auto; min-height:320px; }
.tfs-bl-featured .tfs-bl-body{ padding:36px; justify-content:center; }
.tfs-bl-featured .tfs-bl-body h3{ font-size:26px; letter-spacing:-.4px; }
.tfs-bl-featured .tfs-bl-body p{ font-size:15px; }
.tfs-bl-featured .tfs-bl-meta{ margin-top:8px; }
.tfs-bl-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.tfs-bl-empty{ display:none; text-align:center; padding:48px 20px; color:#64748b; background:#fff; border:1px dashed #ddd6fe; border-radius:18px; }
.tfs-bl-empty i{ display:block; font-size:30px; color:#a78bfa; margin-bottom:10px; }

/* Article */
.tfs-art-hero{ padding:64px 0 40px; text-align:center; background:linear-gradient(180deg,#f4f2ff 0%,#fbfaff 70%,#fff 100%); }
.tfs-art-back{ display:inline-flex; align-items:center; gap:6px; font-size:13.5px; font-weight:700; color:#4f46e5; text-decoration:none!important; margin-bottom:18px; }
.tfs-art-back i{ transition:transform .25s ease; }
.tfs-art-back:hover i{ transform:translateX(-4px); }
.tfs-art-hero h1{ font-size:clamp(28px,4vw,44px); font-weight:800; line-height:1.15; letter-spacing:-.8px; max-width:820px; margin:14px auto 16px; }
.tfs-art-meta{ display:flex; justify-content:center; align-items:center; gap:18px; flex-wrap:wrap; font-size:13.5px; color:#64748b; }
.tfs-art-meta i{ color:#7c3aed; margin-right:5px; }
.tfs-art-cover{ max-width:980px; margin:0 auto; border-radius:22px; overflow:hidden; aspect-ratio:16/8; box-shadow:0 24px 60px rgba(79,70,229,.14); background:#ede9fe; }
.tfs-art-cover img{ width:100%; height:100%; object-fit:cover; display:block; }
.tfs-art-wrap{ max-width:760px; margin:0 auto; }
.tfs-prose{ font-size:17px; line-height:1.85; color:#334155; }
.tfs-prose p, .tfs-prose li{ color:#334155; } /* style.css greys out every <p> site-wide */
.tfs-prose p{ margin:0 0 22px; }
.tfs-prose blockquote p{ color:inherit; }
.tfs-prose h2{ font-size:23px; font-weight:800; letter-spacing:-.3px; color:#0f172a; margin:38px 0 12px; }
.tfs-prose strong{ color:#0f172a; }
.tfs-prose ul{ margin:0 0 22px; padding-left:0; list-style:none; }
.tfs-prose li{ position:relative; padding-left:28px; margin-bottom:10px; }
.tfs-prose li::before{ content:""; position:absolute; left:6px; top:.72em; width:8px; height:8px; border-radius:50%; background:linear-gradient(135deg,#4f46e5,#7c3aed); }
.tfs-prose blockquote{ margin:30px 0; padding:22px 26px; border-radius:16px; background:#f5f3ff; border-left:4px solid #7c3aed; font-size:19px; font-weight:600; line-height:1.6; color:#312e81; }
.tfs-art-share{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; padding:22px 0; margin-top:14px; border-top:1px solid #eef0f6; border-bottom:1px solid #eef0f6; }
.tfs-art-share span{ font-size:14px; font-weight:700; color:#1e293b; margin-right:4px; }
.tfs-art-share a, .tfs-art-share button{ width:42px; height:42px; border-radius:12px; display:inline-flex; align-items:center; justify-content:center; background:#fff; border:1px solid #e5e7f0; color:#4f46e5; font-size:17px;
  cursor:pointer; text-decoration:none!important; transition:transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease; }
.tfs-art-share a:hover, .tfs-art-share button:hover{ transform:translateY(-3px); background:linear-gradient(135deg,#4f46e5,#7c3aed); color:#fff; border-color:transparent; }
.tfs-art-copied{ font-size:13px; color:#059669; font-weight:700; opacity:0; transition:opacity .2s ease; }
.tfs-art-copied.show{ opacity:1; }
.tfs-read-progress{ position:fixed; top:0; left:0; height:3px; width:100%; transform-origin:0 50%; transform:scaleX(0); background:linear-gradient(90deg,#4f46e5,#7c3aed,#c026d3); z-index:2000; pointer-events:none; }

/* ── Legal pages ── */
.tfs-legal-hero{ padding-bottom:56px; }
.tfs-legal-date{ display:inline-flex; align-items:center; gap:7px; font-size:13px; font-weight:600; color:#475569; background:#fff; border:1px solid #e9e5fb; padding:8px 14px; border-radius:999px; box-shadow:0 6px 16px rgba(79,70,229,.06); }
.tfs-legal-date i{ color:#7c3aed; }
.tfs-legal-main{ padding-top:8px; }
.tfs-legal-grid{ display:grid; grid-template-columns:280px minmax(0,1fr); gap:28px; align-items:start; }
.tfs-legal-side{ position:sticky; top:20px; display:flex; flex-direction:column; gap:16px; }
.tfs-legal-card{ background:#fff; border:1px solid #eef0f6; border-radius:18px; box-shadow:0 6px 18px rgba(15,23,42,.04); }
.tfs-legal-toc{ padding:18px 14px; }
.tfs-legal-toc summary{ list-style:none; display:flex; align-items:center; justify-content:space-between; font-size:12px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:#6d28d9; padding:0 8px 10px; cursor:default; }
.tfs-legal-toc summary::-webkit-details-marker{ display:none; }
.tfs-legal-toc summary i{ display:none; transition:transform .25s ease; }
.tfs-legal-toc nav{ display:flex; flex-direction:column; gap:2px; max-height:calc(100vh - 260px); overflow:auto; }
.tfs-legal-toc nav a{ display:block; font-size:13.5px; line-height:1.4; color:#475569; padding:8px 10px 8px 14px; border-radius:10px; border-left:3px solid transparent; text-decoration:none!important;
  transition:background .2s ease, color .2s ease, border-color .2s ease; }
.tfs-legal-toc nav a:hover{ background:#f5f3ff; color:#4f46e5; }
.tfs-legal-toc nav a.active{ background:#f5f3ff; color:#4f46e5; font-weight:700; border-left-color:#7c3aed; }
.tfs-legal-others{ padding:18px 14px; display:flex; flex-direction:column; gap:2px; }
.tfs-legal-others strong{ font-size:12px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:#6d28d9; padding:0 8px 10px; }
.tfs-legal-others a{ display:flex; align-items:center; gap:10px; font-size:13.5px; color:#475569; padding:8px 10px; border-radius:10px; text-decoration:none!important; transition:background .2s ease, color .2s ease; }
.tfs-legal-others a i{ width:16px; text-align:center; color:#a78bfa; }
.tfs-legal-others a:hover{ background:#f5f3ff; color:#4f46e5; }
.tfs-legal-others a.active{ background:linear-gradient(135deg,#4f46e5,#7c3aed); color:#fff; font-weight:700; }
.tfs-legal-others a.active i{ color:#fff; }
.tfs-legal-body{ padding:40px 44px; }
.tfs-legal-body.tfs-prose{ font-size:15.5px; line-height:1.8; }
.tfs-legal-sec{ scroll-margin-top:24px; padding-bottom:10px; }
.tfs-legal-sec + .tfs-legal-sec{ border-top:1px solid #f1f1f7; padding-top:26px; }
.tfs-legal-body.tfs-prose h2{ font-size:20px; margin:0 0 14px; }
.tfs-legal-body.tfs-prose h3{ font-size:16px; font-weight:800; color:#312e81; margin:22px 0 10px; scroll-margin-top:24px; }
.tfs-legal-body.tfs-prose a{ color:#4f46e5; font-weight:600; }
@media(max-width:991px){
  .tfs-legal-grid{ grid-template-columns:1fr; }
  .tfs-legal-side{ position:static; }
  .tfs-legal-toc summary{ cursor:pointer; padding-bottom:0; }
  .tfs-legal-toc[open] summary{ padding-bottom:10px; }
  .tfs-legal-toc summary i{ display:inline-block; }
  .tfs-legal-toc[open] summary i{ transform:rotate(180deg); }
  .tfs-legal-toc nav{ max-height:none; }
  .tfs-legal-others{ display:none; }
}
@media(max-width:575px){ .tfs-legal-body{ padding:26px 20px; } }

@media(max-width:991px){
  .tfs-bl-grid{ grid-template-columns:repeat(2,1fr); }
  .tfs-bl-featured{ grid-template-columns:1fr; }
  .tfs-bl-featured .tfs-bl-img{ min-height:0; aspect-ratio:16/9; }
}
@media(max-width:575px){
  .tfs-bl-grid{ grid-template-columns:1fr; }
  .tfs-bl-search{ max-width:none; }
  .tfs-bl-featured .tfs-bl-body{ padding:22px; }
  .tfs-bl-featured .tfs-bl-body h3{ font-size:21px; }
  .tfs-prose{ font-size:16px; }
  .tfs-art-cover{ border-radius:16px; aspect-ratio:16/10; }
}

@media(max-width:575px){
  .tfs-wp-section{ padding:56px 0; }
  .tfs-wp-hero{ padding:56px 0; }
  .tfs-wp-heading h2, .tfs-wp .tfs-wp-cta h2{ font-size:24px; }
}
@media (prefers-reduced-motion: reduce){
  .tfs-anim-ready .tfs-anim:not(.in){ opacity:1; }
  .tfs-anim-ready .tfs-anim.in, .tfs-wp-hero *{ animation:none; }
  .tfs-wp-btn-primary::after, .tfs-wp-btn-grad::after{ display:none; }
}
