/*
Theme Name: Toolingo
Theme URI: https://stratgies.com
Author: Stratgies
Author URI: https://stratgies.com
Description: Premium, minimal theme for an online tools website. Built for the "Toolingo – All-in-One Online Tools" plugin: showcase tiles, sticky local navigation, a tool switcher strip, Ctrl+K quick switcher, smooth page transitions, instant prefetch and dark mode.
Version: 3.1.1
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: toolingo-theme
Copyright: 2026 Stratgies
Tags: one-column, custom-logo, custom-menu, dark-mode, accessibility-ready
*/


/* Self-hosted fonts (OFL). */
@font-face { font-family: "Inter"; src: url("assets/fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/inter-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("assets/fonts/inter-tight-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("assets/fonts/inter-tight-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("assets/fonts/inter-tight-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }

/* Layout idea: a quiet grey canvas with full-bleed showcase bands (black / grey / white),
   big tight headlines, and colour reserved for each tool category. Tokens are shared with the plugin. */
:root {
  --tk-bg: #f5f5f7; --tk-surface: #fff; --tk-surface-2: #f2f2f4; --tk-text: #1d1d1f; --tk-muted: #6e6e73;
  --tk-border: #d2d2d7; --tk-hair: rgba(0, 0, 0, .08); --tk-accent: #ff5a1f; --tk-accent-soft: #fff1ea;
  --tkt-tile-dark: #000; --tkt-tile-light: #f5f5f7; --tkt-tile-white: #fff;
  --tkt-on-dark: #f5f5f7; --tkt-on-dark-muted: #a1a1a6;
  --tkt-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Devanagari", "Kohinoor Devanagari", "Mangal", sans-serif;
  --tkt-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", "Noto Sans Devanagari", "Kohinoor Devanagari", sans-serif;
  --tkt-max: 1180px;
  --tkt-gnav-h: 48px;
  --tkt-ease: cubic-bezier(.25, .1, .25, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --tk-bg: #000; --tk-surface: #1c1c1e; --tk-surface-2: #2c2c2e; --tk-text: #f5f5f7; --tk-muted: #a1a1a6; --tk-border: #3a3a3c; --tk-hair: rgba(255, 255, 255, .1); --tk-accent-soft: #3a1e12; --tkt-tile-light: #161617; --tkt-tile-white: #1c1c1e; color-scheme: dark; }
}
:root[data-theme="dark"] { --tk-bg: #000; --tk-surface: #1c1c1e; --tk-surface-2: #2c2c2e; --tk-text: #f5f5f7; --tk-muted: #a1a1a6; --tk-border: #3a3a3c; --tk-hair: rgba(255, 255, 255, .1); --tk-accent-soft: #3a1e12; --tkt-tile-light: #161617; --tkt-tile-white: #1c1c1e; color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
body { margin: 0; background: var(--tk-bg); color: var(--tk-text); font-family: var(--tkt-font); font-size: 17px; line-height: 1.5; letter-spacing: -0.011em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--tk-accent); }
h1, h2, h3, h4 { font-family: var(--tkt-display); line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; }
.tk-wrap h2, .tk-wrap h3, .tk-wrap h4, .tk-modal h3 { font-family: var(--tkt-display); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 1000; padding: 10px 16px; background: var(--tk-surface); color: var(--tk-text); border-radius: 8px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--tk-accent) 50%, transparent); outline-offset: 2px; }
.tkt-center { text-align: center; }

.tkt-container { width: 100%; max-width: var(--tkt-max); margin: 0 auto; padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); }
.tkt-narrow { max-width: 960px; }

/* ------------------------------------------------------------ smooth page changes */

@view-transition { navigation: auto; }
.tkt-gnav { view-transition-name: tkt-gnav; }
.tkt-localnav { view-transition-name: tkt-localnav; }
.tk-chapter { view-transition-name: tkt-chapter; }
::view-transition-old(root) { animation: tkt-vt-out .2s var(--tkt-ease) both; }
::view-transition-new(root) { animation: tkt-vt-in .38s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes tkt-vt-out { to { opacity: 0; transform: scale(.995); } }
@keyframes tkt-vt-in { from { opacity: 0; transform: translateY(14px); } }
@keyframes tkt-rise { from { opacity: .001; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------ global nav */

.tkt-gnav { position: sticky; top: 0; z-index: 60; padding-top: env(safe-area-inset-top, 0px); color: #e8e8ed; }
/* The blur lives on a pseudo-element so the header does not trap the fixed mobile menu. */
.tkt-gnav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(22, 22, 23, .8); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px); }
.admin-bar .tkt-gnav { top: 32px; }
@media (max-width: 782px) { .admin-bar .tkt-gnav { top: 46px; } }
.tkt-gnav-inner { display: flex; align-items: center; gap: 12px; height: var(--tkt-gnav-h); max-width: var(--tkt-max); margin: 0 auto; padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(10px, env(safe-area-inset-right, 0px)); }
.tkt-brand { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; font-family: var(--tkt-display); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em; flex: none; }
.tkt-gnav .tkt-brand { color: #f5f5f7; }
.tkt-mark { flex: none; width: 26px; height: 26px; }
.tkt-logo { max-height: 30px; width: auto; }
.tkt-nav { flex: 1; display: flex; justify-content: center; }
.tkt-menu { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.tkt-menu a { display: block; padding: 6px 12px; border-radius: 8px; color: rgba(232, 232, 237, .82); text-decoration: none; font-size: .78rem; font-weight: 500; letter-spacing: 0; transition: color .2s; }
.tkt-menu a:hover, .tkt-menu .current-menu-item > a, .tkt-menu .current_page_item > a { color: #fff; }
.tkt-menu ul { display: none; }
.tkt-gnav-actions { display: flex; gap: 2px; flex: none; }
.tkt-icon-link { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 10px; background: transparent; color: rgba(232, 232, 237, .85); cursor: pointer; transition: color .2s, background .2s; }
.tkt-icon-link:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.tkt-moon { display: none; }
:root[data-theme="dark"] .tkt-sun { display: none; }
:root[data-theme="dark"] .tkt-moon { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .tkt-sun { display: none; } :root:not([data-theme]) .tkt-moon { display: block; } }
.tkt-nav-toggle { display: none; }
.tkt-nav-toggle path { transition: transform .3s var(--tkt-ease); transform-origin: center; }
.tkt-menu-open .tkt-burger-a { transform: translateY(3px) rotate(45deg); }
.tkt-menu-open .tkt-burger-b { transform: translateY(-3px) rotate(-45deg); }

@media (max-width: 900px) {
  .tkt-nav-toggle { display: inline-grid; }
  .tkt-gnav-actions { margin-left: auto; }
  .tkt-nav { position: fixed; inset: calc(var(--tkt-gnav-h) + env(safe-area-inset-top, 0px)) 0 0; display: block; padding: 18px max(28px, env(safe-area-inset-left, 0px)) 40px; background: #161617; visibility: hidden; opacity: 0; transition: opacity .3s var(--tkt-ease), visibility 0s .3s; overflow-y: auto; }
  .tkt-menu-open .tkt-nav { visibility: visible; opacity: 1; transition: opacity .3s var(--tkt-ease); }
  .tkt-menu-open { overflow: hidden; }
  .tkt-menu { flex-direction: column; gap: 0; }
  .tkt-menu a { padding: 10px 0; font-family: var(--tkt-display); font-size: 1.75rem; font-weight: 700; letter-spacing: -0.02em; color: #f5f5f7; transform: translateY(-8px); opacity: 0; transition: transform .4s var(--tkt-ease), opacity .4s var(--tkt-ease); }
  .tkt-menu-open .tkt-menu a { transform: none; opacity: 1; }
  .tkt-menu-open .tkt-menu li:nth-child(2) a { transition-delay: .03s; } .tkt-menu-open .tkt-menu li:nth-child(3) a { transition-delay: .06s; }
  .tkt-menu-open .tkt-menu li:nth-child(4) a { transition-delay: .09s; } .tkt-menu-open .tkt-menu li:nth-child(5) a { transition-delay: .12s; }
  .tkt-menu-open .tkt-menu li:nth-child(6) a { transition-delay: .15s; }
}

/* ------------------------------------------------------------ local nav (tool & category pages) */

.tkt-localnav { position: sticky; top: calc(var(--tkt-gnav-h) + env(safe-area-inset-top, 0px)); z-index: 55; background: color-mix(in srgb, var(--tk-bg) 78%, transparent); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.admin-bar .tkt-localnav { top: calc(var(--tkt-gnav-h) + 32px); }
.tkt-localnav.is-stuck { border-bottom-color: var(--tk-hair); }
.tkt-localnav-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 52px; max-width: var(--tkt-max); margin: 0 auto; padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); }
.tkt-localnav-title { color: var(--tk-text); text-decoration: none; font-family: var(--tkt-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tkt-localnav-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.tkt-localnav-link { color: var(--tk-text); text-decoration: none; font-size: .8rem; }
.tkt-localnav-link:hover { color: var(--cat); }
@media (max-width: 520px) { .tkt-localnav-link { display: none; } .tkt-localnav-title { font-size: 1.05rem; } }

/* ------------------------------------------------------------ pills */

.tkt-pills { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 22px; }
.tkt-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 22px; border-radius: 980px; border: 1px solid var(--cat, var(--tk-accent)); background: var(--cat, var(--tk-accent)); color: #fff; font: 500 1.02rem/1 var(--tkt-font); letter-spacing: -0.01em; text-decoration: none; cursor: pointer; transition: filter .2s, background .2s, color .2s, transform .15s; }
.tkt-pill:hover { filter: brightness(1.1); }
.tkt-pill:active { transform: scale(.97); }
.tkt-pill-ghost { background: transparent; color: var(--cat, var(--tk-accent)); }
.tkt-pill-ghost:hover { background: var(--cat, var(--tk-accent)); color: #fff; filter: none; }
.tkt-pill-sm { min-height: 30px; padding: 5px 14px; font-size: .8rem; }
.tkt-pill-sm .tk-kbd { border-color: rgba(255, 255, 255, .45); color: rgba(255, 255, 255, .9); font-size: .64rem; padding: 1px 5px; }
@media (max-width: 520px) { .tkt-pill-sm .tk-kbd { display: none; } }

/* category colours (shared with plugin) */
.tk-cat-pdf { --cat: var(--tk-pdf, #e5382f); } .tk-cat-image { --cat: var(--tk-image, #0a9a8b); } .tk-cat-media { --cat: var(--tk-media, #7a4ee0); }
.tk-cat-calc { --cat: var(--tk-calc, #d98a00); } .tk-cat-dev { --cat: var(--tk-dev, #2f6fe4); } .tk-cat-util { --cat: var(--tk-util, #e0457b); }

/* ------------------------------------------------------------ home: showcase bands */

.tkt-hero-tile { position: relative; display: flex; flex-direction: column; align-items: center; gap: 36px; padding: clamp(56px, 8vw, 92px) max(18px, env(safe-area-inset-right, 0px)) 0 max(18px, env(safe-area-inset-left, 0px)); overflow: hidden; text-align: center; border-bottom: 12px solid var(--tk-bg); }
.tkt-dark { background: var(--tkt-tile-dark); color: var(--tkt-on-dark); }
.tkt-light { background: var(--tkt-tile-light); color: var(--tk-text); }
.tkt-white { background: var(--tkt-tile-white); color: var(--tk-text); }
.tkt-tile-copy { max-width: 760px; }
.tkt-tile-copy > * { animation: tkt-rise .8s var(--tkt-ease) both; }
.tkt-tile-copy > *:nth-child(2) { animation-delay: .06s; } .tkt-tile-copy > *:nth-child(3) { animation-delay: .12s; } .tkt-tile-copy > *:nth-child(4) { animation-delay: .18s; }
.tkt-kicker { margin: 0 0 12px; font-size: .9rem; font-weight: 500; color: var(--cat); }
.tkt-hero-title { margin: 0; font-size: clamp(2.8rem, 7.4vw, 5rem); font-weight: 700; letter-spacing: -0.045em; }
.tkt-hero-sub { margin: 8px 0 0; font-family: var(--tkt-display); font-size: clamp(1.3rem, 2.8vw, 1.85rem); font-weight: 600; letter-spacing: -0.02em; }
.tkt-dark .tkt-hero-sub { color: var(--tkt-on-dark); }
.tkt-art { position: relative; width: min(100%, 760px); }

/* PDF document illustration */
.tkt-art-doc { display: grid; place-items: center; height: clamp(300px, 46vw, 430px); }
.tkt-art-doc::before { content: ""; position: absolute; inset: 20% 10% -30%; background: radial-gradient(closest-side, color-mix(in srgb, var(--cat) 55%, transparent), transparent); filter: blur(30px); opacity: .55; }
.tkt-doc { position: relative; width: min(78%, 360px); height: 100%; padding: 30px 28px; border-radius: 14px 14px 0 0; background: #fff; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7); transform: perspective(1200px) rotateX(8deg); transform-origin: bottom; animation: tkt-rise 1s .2s var(--tkt-ease) both; text-align: left; }
.tkt-doc-head { width: 46%; height: 16px; border-radius: 4px; background: #1d1d1f; margin-bottom: 22px; }
.tkt-doc-line { height: 9px; border-radius: 5px; background: #e3e3e8; margin: 0 0 14px; }
.w90 { width: 90%; } .w85 { width: 85%; } .w80 { width: 80%; } .w70 { width: 70%; } .w60 { width: 60%; }
.tkt-doc-hl { background: linear-gradient(90deg, #ffe066, #ffd43b); }
.tkt-doc-edit { display: inline-flex; align-items: center; margin: 2px 0 16px; padding: 4px 8px; border: 1.5px dashed var(--cat); border-radius: 6px; color: #1d1d1f; font: 600 .95rem/1 var(--tkt-font); }
.tkt-doc-edit i { width: 2px; height: 1em; margin-left: 3px; background: var(--cat); animation: tkt-caret 1s steps(1) infinite; }
@keyframes tkt-caret { 50% { opacity: 0; } }
.tkt-doc-sign { display: block; width: 62%; margin-top: 18px; color: #0b1f6b; }
.tkt-doc-sign path { stroke-dasharray: 520; stroke-dashoffset: 520; animation: tkt-sign 2.2s .9s var(--tkt-ease) forwards; }
@keyframes tkt-sign { to { stroke-dashoffset: 0; } }
.tkt-doc-lock { position: absolute; top: 14%; right: max(2%, calc(50% - 330px)); display: inline-flex; align-items: center; gap: 6px; padding: 9px 15px; border-radius: 980px; background: rgba(28, 28, 30, .78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff; font-size: .9rem; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), 0 10px 30px -10px rgba(0, 0, 0, .6); animation: tkt-rise .8s .6s var(--tkt-ease) both; }
.tkt-doc-lock svg { color: #30d158; }

/* waveform illustration */
.tkt-art-wave { display: flex; align-items: center; justify-content: center; gap: clamp(3px, .7vw, 6px); height: clamp(200px, 30vw, 300px); padding-bottom: 40px; }
.tkt-art-wave span { width: clamp(4px, 1vw, 9px); height: var(--h); border-radius: 99px; background: linear-gradient(180deg, color-mix(in srgb, var(--cat) 70%, #ff5ac8), var(--cat)); transform-origin: center; animation: tkt-wave 1.6s var(--d) ease-in-out infinite alternate; }
@keyframes tkt-wave { from { transform: scaleY(.55); } to { transform: scaleY(1); } }
.tkt-wave-tag { position: absolute; right: 10%; top: 8%; padding: 8px 14px; border-radius: 12px; background: var(--tk-text); color: var(--tk-bg); font: 700 1.05rem/1 var(--tkt-display); transform: rotate(6deg); }

/* format fan illustration */
.tkt-art-formats { height: clamp(220px, 32vw, 320px); }
.tkt-art-formats span { position: absolute; left: 50%; bottom: -40px; display: flex; justify-content: center; align-items: flex-start; padding-top: 22px; width: clamp(96px, 15vw, 140px); height: clamp(120px, 19vw, 176px); margin-left: calc(clamp(96px, 15vw, 140px) / -2); border-radius: 18px; color: #fff; font: 800 clamp(1.1rem, 2.4vw, 1.6rem)/1 var(--tkt-display); letter-spacing: -0.01em; background: hsl(calc(170 + var(--i) * 18) 70% calc(38% + var(--i) * 3%)); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .45); transform-origin: 50% 260%; transform: rotate(calc((var(--i) - 3) * 11deg)); animation: tkt-fan 1s calc(var(--i) * .05s) var(--tkt-ease) both; }
@keyframes tkt-fan { from { transform: rotate(0deg); opacity: 0; } }

/* tiles */
.tkt-tiles { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 0 12px 12px; background: var(--tk-bg); }
@media (min-width: 900px) { .tkt-tiles { grid-template-columns: 1fr 1fr; } }
.tkt-tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 24px; min-height: clamp(400px, 46vw, 560px); padding: clamp(40px, 5vw, 56px) 24px 0; overflow: hidden; text-align: center; text-decoration: none; }
.tkt-tile.tkt-light { background: var(--tkt-tile-white); }
.tkt-tile-text { display: flex; flex-direction: column; align-items: center; }
.tkt-tile-title { font-family: var(--tkt-display); font-size: clamp(2rem, 4.2vw, 2.8rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.08; }
.tkt-tile-sub { margin-top: 6px; font-size: clamp(1.05rem, 1.8vw, 1.3rem); }
.tkt-dark .tkt-tile-sub { color: var(--tkt-on-dark); }
.tkt-tile .tkt-pills { margin-top: 18px; }
.tkt-tile-art { position: relative; display: grid; place-items: center; width: clamp(180px, 24vw, 240px); aspect-ratio: 1; max-width: 100%; margin-bottom: -30px; border-radius: 30% 30% 0 0; color: #fff; background: linear-gradient(160deg, color-mix(in srgb, var(--cat) 75%, #fff), var(--cat) 60%, color-mix(in srgb, var(--cat) 70%, #000)); box-shadow: 0 40px 80px -30px var(--cat); transition: transform .6s var(--tkt-ease); }
.tkt-tile-art .tk-ico { width: 38%; height: 38%; stroke-width: 1.5; }
.tkt-tile:hover .tkt-tile-art { transform: translateY(-10px) scale(1.03); }
.tkt-tile:focus-visible { outline-offset: -4px; }
@supports (animation-timeline: view()) {
  .tkt-tile, .tkt-every .tk-card { animation: tkt-reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
  @keyframes tkt-reveal { from { opacity: .2; transform: translateY(40px) scale(.98); } }
}

/* every tool + why */
.tkt-every { padding: clamp(64px, 9vw, 112px) 0 40px; }
.tkt-display { margin: 0 0 12px; font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 700; letter-spacing: -0.045em; }
.tkt-lead { margin: 10px auto 0; max-width: 46ch; color: var(--tk-muted); font-size: clamp(1.05rem, 1.8vw, 1.3rem); line-height: 1.4; letter-spacing: -0.015em; }
.tkt-every .tkt-lead { margin-bottom: 36px; }
.tkt-every .tk-search { max-width: 720px; margin-inline: auto; }
.tkt-every .tk-tabs { justify-content: safe center; }
.tkt-why { padding: 72px 0 88px; background: var(--tkt-tile-white); }
.tkt-why-grid { display: grid; gap: 36px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); text-align: center; }
.tkt-why-grid .tk-ico { color: var(--tk-accent); }
.tkt-why-grid h3 { margin: 12px 0 8px; font-size: 1.5rem; }
.tkt-why-grid p { margin: 0 auto; max-width: 32ch; color: var(--tk-muted); }

/* ------------------------------------------------------------ tool & category pages */

.tk-chapter { background: var(--tk-bg); margin: 0; padding-top: 10px; }
.tkt-tool-hero { padding: clamp(28px, 5vw, 56px) 0 clamp(24px, 4vw, 40px); text-align: center; }
.tkt-tool-hero > .tkt-container > * { animation: tkt-rise .7s var(--tkt-ease) both; }
.tkt-tool-hero > .tkt-container > *:nth-child(2) { animation-delay: .05s; } .tkt-tool-hero > .tkt-container > *:nth-child(3) { animation-delay: .1s; }
.tkt-tool-ico { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 18px; border-radius: 20px; color: #fff; background: linear-gradient(160deg, color-mix(in srgb, var(--cat) 75%, #fff), var(--cat)); box-shadow: 0 14px 30px -14px var(--cat); }
.tkt-title { margin: 0; font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 700; letter-spacing: -0.045em; }
.tkt-tool-hero .tkt-lead { max-width: 52ch; }
.tkt-content { padding-bottom: 88px; }
.tkt-tool-content > .tk-wrap:first-child { margin-top: 0; }
.tkt-tool-content > p, .tkt-tool-content > h2, .tkt-tool-content > h3, .tkt-tool-content > ul, .tkt-tool-content > ol { max-width: 70ch; margin-inline: auto; }
.tkt-tool-content > h2 { margin-top: 64px; font-size: 2rem; text-align: center; }
.tkt-cat-hero { padding: clamp(36px, 6vw, 80px) 0 clamp(28px, 4vw, 48px); text-align: center; }
.tkt-eyebrow { margin: 0 0 10px; color: var(--cat); font-family: var(--tkt-display); font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 700; letter-spacing: -0.01em; }
.tkt-cat-hero .tkt-display { animation: tkt-rise .8s var(--tkt-ease) both; }
.tkt-page-hero { padding: clamp(40px, 6vw, 72px) 0 24px; text-align: center; }
.tkt-prose { font-size: 1.06rem; }
.tkt-prose h2 { margin-top: 2em; }
.tkt-prose img { border-radius: 16px; }
.tkt-featured { width: 100%; border-radius: 20px; margin-bottom: 24px; }
.tkt-notice { padding: 18px; border-radius: 16px; background: var(--tk-surface); }
.tkt-meta { margin: 0 0 6px; color: var(--tk-muted); font-size: .9rem; }

.tkt-posts { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.tkt-post-card { overflow: hidden; border-radius: 22px; background: var(--tk-surface); transition: transform .3s var(--tkt-ease); }
.tkt-post-card:hover { transform: translateY(-3px); }
.tkt-post-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.tkt-post-body { padding: 20px; }
.tkt-post-body h2 { margin: 4px 0 8px; font-size: 1.3rem; }
.tkt-post-body h2 a { color: var(--tk-text); text-decoration: none; }
.tkt-post-body p { margin: 0; color: var(--tk-muted); }
.nav-links { display: flex; gap: 8px; margin-top: 28px; justify-content: center; }
.page-numbers { padding: 8px 15px; border-radius: 980px; background: var(--tk-surface); color: var(--tk-text); text-decoration: none; }
.page-numbers.current { background: var(--tk-text); color: var(--tk-bg); }

/* ------------------------------------------------------------ footer */

.tkt-footer { padding: 28px 0 24px; background: var(--tk-bg); color: var(--tk-muted); font-size: .76rem; line-height: 1.5; border-top: 1px solid var(--tk-hair); }
.tkt-footer a { color: var(--tk-muted); text-decoration: none; }
.tkt-footer a:hover { color: var(--tk-text); text-decoration: underline; }
.tkt-footer-note { margin: 0 0 22px; padding-bottom: 18px; border-bottom: 1px solid var(--tk-hair); }
.tkt-footer-grid { display: grid; gap: 22px 18px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.tkt-footer-title { margin: 0 0 8px; font-family: var(--tkt-font); font-size: .78rem; font-weight: 600; letter-spacing: 0; }
.tkt-footer-title a { color: var(--tk-text); }
.tkt-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.tkt-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--tk-hair); }
.tkt-footer-bottom p { margin: 0; }
.tkt-footer-links { display: flex !important; flex-wrap: wrap; gap: 6px 14px !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  @view-transition { navigation: none; }
}

/* ------------------------------------------------------------ language */

.tkt-lang { display: inline-flex; align-items: center; height: 30px; padding: 0 10px; margin-right: 4px; border-radius: 980px; color: rgba(232, 232, 237, .9); font-size: .78rem; font-weight: 600; text-decoration: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); align-self: center; }
.tkt-lang:hover { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); }
.tkt-hi-link { display: inline-block; margin-top: 10px; font-size: 1rem; font-weight: 600; text-decoration: none; }
:lang(hi) h1, :lang(hi) h2, :lang(hi) h3 { letter-spacing: 0; line-height: 1.25; }
:lang(hi) .tkt-title, :lang(hi) .tkt-display { letter-spacing: -0.01em; }

/* ============================================================ v3.1: white menu bar, category home, footer credit */

:root { --tkt-nav-bg: rgba(255, 255, 255, .86); --tkt-nav-fg: #1d1d1f; --tkt-nav-muted: rgba(29, 29, 31, .72); --tkt-nav-line: rgba(0, 0, 0, .08); --tkt-nav-hover: rgba(0, 0, 0, .05); --tkt-nav-sheet: #fff; --tkt-card-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px -12px rgba(0, 0, 0, .12); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --tkt-nav-bg: rgba(22, 22, 23, .82); --tkt-nav-fg: #f5f5f7; --tkt-nav-muted: rgba(245, 245, 247, .72); --tkt-nav-line: rgba(255, 255, 255, .1); --tkt-nav-hover: rgba(255, 255, 255, .08); --tkt-nav-sheet: #161617; --tkt-card-shadow: 0 0 0 1px rgba(255, 255, 255, .06); } }
:root[data-theme="dark"] { --tkt-nav-bg: rgba(22, 22, 23, .82); --tkt-nav-fg: #f5f5f7; --tkt-nav-muted: rgba(245, 245, 247, .72); --tkt-nav-line: rgba(255, 255, 255, .1); --tkt-nav-hover: rgba(255, 255, 255, .08); --tkt-nav-sheet: #161617; --tkt-card-shadow: 0 0 0 1px rgba(255, 255, 255, .06); }

/* menu bar */
.tkt-gnav { color: var(--tkt-nav-fg); }
.tkt-gnav::before { background: var(--tkt-nav-bg); border-bottom: 1px solid var(--tkt-nav-line); }
.tkt-gnav .tkt-brand { color: var(--tkt-nav-fg); }
.tkt-menu a { color: var(--tkt-nav-muted); font-size: .82rem; position: relative; }
.tkt-menu a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--tk-accent); transform: scaleX(0); transition: transform .3s var(--tkt-ease); }
.tkt-menu a:hover, .tkt-menu .current-menu-item > a, .tkt-menu .current_page_item > a { color: var(--tkt-nav-fg); }
.tkt-menu a:hover::after, .tkt-menu .current-menu-item > a::after, .tkt-menu .current_page_item > a::after { transform: scaleX(1); }
.tkt-icon-link { color: var(--tkt-nav-muted); }
.tkt-icon-link:hover { color: var(--tkt-nav-fg); background: var(--tkt-nav-hover); }
.tkt-lang { color: var(--tkt-nav-fg); box-shadow: inset 0 0 0 1px var(--tkt-nav-line); transition: box-shadow .2s, background .2s; }
.tkt-lang:hover { color: var(--tkt-nav-fg); background: var(--tkt-nav-hover); box-shadow: inset 0 0 0 1px var(--tkt-nav-muted); }
@media (max-width: 900px) {
  .tkt-nav { background: var(--tkt-nav-sheet); }
  .tkt-menu a { color: var(--tkt-nav-fg); font-size: 1.75rem; }
  .tkt-menu a::after { display: none; }
}

/* home hero */
.tkt-home-hero { position: relative; overflow: hidden; padding: clamp(64px, 11vw, 132px) 0 clamp(40px, 6vw, 72px); text-align: center; }
.tkt-home-hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.tkt-home-hero-inner > * { animation: tkt-rise .8s var(--tkt-ease) both; }
.tkt-home-hero-inner > :nth-child(2) { animation-delay: .08s; } .tkt-home-hero-inner > :nth-child(3) { animation-delay: .16s; }
.tkt-home-hero-inner > :nth-child(4) { animation-delay: .24s; } .tkt-home-hero-inner > :nth-child(5) { animation-delay: .32s; }
.tkt-hero-glow { position: absolute; inset: 0; pointer-events: none; }
.tkt-hero-glow i { position: absolute; width: 42vmax; height: 42vmax; border-radius: 50%; filter: blur(70px); opacity: .22; animation: tkt-drift 18s ease-in-out infinite alternate; }
.tkt-hero-glow i:nth-child(1) { left: -12vmax; top: -18vmax; background: var(--tk-accent); }
.tkt-hero-glow i:nth-child(2) { right: -14vmax; top: -10vmax; background: var(--tk-media, #7c4dff); animation-duration: 22s; animation-delay: -6s; }
.tkt-hero-glow i:nth-child(3) { left: 30%; top: 30%; width: 30vmax; height: 30vmax; background: var(--tk-image, #00a88f); opacity: .14; animation-duration: 26s; animation-delay: -12s; }
@keyframes tkt-drift { to { transform: translate(6vmax, 4vmax) scale(1.12); } }
.tkt-home-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; padding: 7px 14px; border-radius: 980px; background: var(--tk-surface); box-shadow: var(--tkt-card-shadow); color: var(--tk-muted); font-size: .85rem; font-weight: 500; }
.tkt-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .5); animation: tkt-ping 2s ease-out infinite; }
@keyframes tkt-ping { 70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.tkt-home-title { margin: 0; font-size: clamp(2.5rem, 7vw, 4.75rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1.03; }
.tkt-grad { display: block; background: linear-gradient(90deg, var(--tk-accent), var(--tk-media, #7c4dff), var(--tk-image, #00a88f), var(--tk-accent)); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: tkt-shine 10s linear infinite; padding-bottom: .06em; }
@keyframes tkt-shine { to { background-position: 300% 0; } }
.tkt-home-sub { max-width: 34em; margin: 20px auto 30px; color: var(--tk-muted); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.tkt-home-search { display: flex; align-items: center; gap: 12px; width: min(100%, 560px); min-height: 58px; padding: 0 12px 0 20px; border: 1px solid var(--tk-hair); border-radius: 16px; background: var(--tk-surface); box-shadow: var(--tkt-card-shadow); color: var(--tk-muted); font: 400 1.02rem/1.3 var(--tkt-font); text-align: left; cursor: text; transition: box-shadow .3s var(--tkt-ease), transform .3s var(--tkt-ease), border-color .3s; }
.tkt-home-search span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tkt-home-search:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--tk-accent) 40%, transparent); box-shadow: 0 14px 40px -16px color-mix(in srgb, var(--tk-accent) 45%, transparent); }
.tkt-home-hero .tkt-hi-link { margin-top: 18px; }

/* category cards */
.tkt-cats { padding: clamp(64px, 9vw, 112px) 0 clamp(64px, 9vw, 104px); }
.tkt-cats .tkt-lead { margin-bottom: 40px; }
.tkt-cat-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.tkt-cat-card { --mx: 50%; --my: 0%; position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 26px 26px 24px; border-radius: 24px; background: var(--tk-surface); box-shadow: var(--tkt-card-shadow); color: var(--tk-text); text-decoration: none; overflow: hidden; transition: transform .45s var(--tkt-ease), box-shadow .45s var(--tkt-ease); }
.tkt-cat-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--cat) 14%, transparent), transparent 60%); opacity: 0; transition: opacity .4s; }
.tkt-cat-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--cat); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--tkt-ease); }
.tkt-cat-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px color-mix(in srgb, var(--cat) 55%, transparent), var(--tkt-card-shadow); }
.tkt-cat-card:hover::before { opacity: 1; }
.tkt-cat-card:hover::after, .tkt-cat-card:focus-visible::after { transform: scaleX(1); }
.tkt-cat-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.tkt-cat-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; color: #fff; background: linear-gradient(150deg, color-mix(in srgb, var(--cat) 70%, #fff), var(--cat)); box-shadow: 0 10px 22px -10px var(--cat); transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.tkt-cat-ico .tk-ico { width: 28px; height: 28px; }
.tkt-cat-card:hover .tkt-cat-ico { transform: rotate(-8deg) scale(1.08); }
.tkt-cat-count { padding: 5px 11px; border-radius: 980px; background: color-mix(in srgb, var(--cat) 12%, transparent); color: var(--cat); font-size: .8rem; font-weight: 600; }
.tkt-cat-name { font-family: var(--tkt-display); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; }
.tkt-cat-tag { font-weight: 600; color: var(--tk-text); }
.tkt-cat-desc { color: var(--tk-muted); font-size: .95rem; line-height: 1.5; }
.tkt-cat-go { margin-top: auto; padding-top: 14px; color: var(--cat); font-weight: 600; font-size: .95rem; }
.tkt-cat-go span { display: inline-block; transition: transform .35s var(--tkt-ease); }
.tkt-cat-card:hover .tkt-cat-go span { transform: translateX(5px); }
.tkt-cats-all { margin: 34px 0 0; text-align: center; }
.tkt-cats-all a { font-weight: 600; text-decoration: none; }
.tkt-cats-all a:hover { text-decoration: underline; }
:lang(hi) .tkt-cat-name { letter-spacing: 0; }
@supports (animation-timeline: view()) {
  .tkt-cat-card { animation: tkt-cat-in linear both; animation-timeline: view(); animation-range: entry calc(var(--i) * 2%) entry calc(40% + var(--i) * 2%); }
  @keyframes tkt-cat-in { from { opacity: 0; transform: translateY(46px) scale(.97); } }
}

/* footer credit */
.tkt-made { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--tk-hair); text-align: center; color: var(--tk-muted); font-size: .85rem; }
.tkt-made a { color: var(--tk-text); font-weight: 600; text-decoration: none; }
.tkt-made a:hover { color: var(--tk-accent); text-decoration: none; }
.tkt-heart { display: inline-block; color: #e5383b; animation: tkt-beat 1.6s ease-in-out infinite; }
@keyframes tkt-beat { 0%, 40%, 100% { transform: scale(1); } 15% { transform: scale(1.25); } 25% { transform: scale(.95); } }

@media (prefers-reduced-motion: reduce) {
  .tkt-hero-glow i, .tkt-grad, .tkt-dot, .tkt-heart { animation: none !important; }
}
